]> git.ipfire.org Git - thirdparty/gcc.git/blob - Makefile.in
[arm] fix bootstrap failure due to uninitialized warning
[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 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
202 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
203 LD="$(LD)"; export LD; \
204 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
205 NM="$(NM)"; export NM; \
206 RANLIB="$(RANLIB)"; export RANLIB; \
207 WINDRES="$(WINDRES)"; export WINDRES; \
208 WINDMC="$(WINDMC)"; export WINDMC; \
209 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
210 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
211 OTOOL="$(OTOOL)"; export OTOOL; \
212 READELF="$(READELF)"; export READELF; \
213 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
214 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
215 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
216 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
217 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
218 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
219 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
220 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
221 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
222 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
223 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
224 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
225 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
226 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
227 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
228 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
229 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
230 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
231 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
232 @if gcc-bootstrap
233 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
234 @endif gcc-bootstrap
235 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
236
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX='$(CXX)'; export CXX; \
239 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
240 @if target-libstdc++-v3-bootstrap
241 # Override the above if we're bootstrapping C++.
242 POSTSTAGE1_CXX_EXPORT = \
243 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
244 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
245 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
247 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
248 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
249 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
250 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
251 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
252 export CXX; \
253 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
254 @endif target-libstdc++-v3-bootstrap
255
256 # Similar, for later GCC stages.
257 POSTSTAGE1_HOST_EXPORTS = \
258 $(HOST_EXPORTS) \
259 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
260 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
261 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
262 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
263 $(POSTSTAGE1_CXX_EXPORT) \
264 $(LTO_EXPORTS) \
265 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
266 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
267 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
268 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
269 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
270 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
271 export GDC; \
272 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
273 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
274 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
275 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
276
277 # Target libraries are put under this directory:
278 TARGET_SUBDIR = @target_subdir@
279 # This is set by the configure script to the arguments to use when configuring
280 # directories built for the target.
281 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
282 # This is the list of variables to export in the environment when
283 # configuring subdirectories for the target system.
284 BASE_TARGET_EXPORTS = \
285 $(BASE_EXPORTS) \
286 AR="$(AR_FOR_TARGET)"; export AR; \
287 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
288 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
289 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
290 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
291 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
292 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
293 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
294 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
295 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
296 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
297 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
298 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
299 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
300 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
301 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
302 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
303 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
304 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
305 READELF="$(READELF_FOR_TARGET)"; export READELF; \
306 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
307 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
308 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
309 @if gcc-bootstrap
310 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
311 @endif gcc-bootstrap
312 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
313 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
314
315 RAW_CXX_TARGET_EXPORTS = \
316 $(BASE_TARGET_EXPORTS) \
317 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
318 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
319
320 NORMAL_TARGET_EXPORTS = \
321 $(BASE_TARGET_EXPORTS) \
322 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
323
324 # Where to find GMP
325 HOST_GMPLIBS = @gmplibs@
326 HOST_GMPINC = @gmpinc@
327
328 # Where to find isl
329 HOST_ISLLIBS = @isllibs@
330 HOST_ISLINC = @islinc@
331
332 # Where to find libelf
333 HOST_LIBELFLIBS = @libelflibs@
334 HOST_LIBELFINC = @libelfinc@
335
336 # ----------------------------------------------
337 # Programs producing files for the BUILD machine
338 # ----------------------------------------------
339
340 SHELL = @SHELL@
341
342 # pwd command to use. Allow user to override default by setting PWDCMD in
343 # the environment to account for automounters. The make variable must not
344 # be called PWDCMD, otherwise the value set here is passed to make
345 # subprocesses and overrides the setting from the user's environment.
346 # Don't use PWD since it is a common shell environment variable and we
347 # don't want to corrupt it.
348 PWD_COMMAND = $${PWDCMD-pwd}
349
350 # compilers to use to create programs which must be run in the build
351 # environment.
352 AR_FOR_BUILD = @AR_FOR_BUILD@
353 AS_FOR_BUILD = @AS_FOR_BUILD@
354 CC_FOR_BUILD = @CC_FOR_BUILD@
355 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
356 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
357 CXX_FOR_BUILD = @CXX_FOR_BUILD@
358 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
359 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
360 GOC_FOR_BUILD = @GOC_FOR_BUILD@
361 GDC_FOR_BUILD = @GDC_FOR_BUILD@
362 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
363 LD_FOR_BUILD = @LD_FOR_BUILD@
364 NM_FOR_BUILD = @NM_FOR_BUILD@
365 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
366 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
367 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
368
369 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
370 # here so that they can be overridden by Makefile fragments.
371 BUILD_PREFIX = @BUILD_PREFIX@
372 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
373
374 # Flags to pass to stage2 and later makes. They are defined
375 # here so that they can be overridden by Makefile fragments.
376 BOOT_CFLAGS= -g -O2
377 BOOT_LDFLAGS=
378 BOOT_ADAFLAGS= -gnatpg
379
380 AWK = @AWK@
381 SED = @SED@
382 BISON = @BISON@
383 YACC = @YACC@
384 FLEX = @FLEX@
385 LEX = @LEX@
386 M4 = @M4@
387 MAKEINFO = @MAKEINFO@
388 EXPECT = @EXPECT@
389 RUNTEST = @RUNTEST@
390
391 AUTO_PROFILE = gcc-auto-profile -c 10000000
392
393 # This just becomes part of the MAKEINFO definition passed down to
394 # sub-makes. It lets flags be given on the command line while still
395 # using the makeinfo from the object tree.
396 # (Default to avoid splitting info files by setting the threshold high.)
397 MAKEINFOFLAGS = --split-size=5000000
398
399 # ---------------------------------------------
400 # Programs producing files for the HOST machine
401 # ---------------------------------------------
402
403 AS = @AS@
404 AR = @AR@
405 AR_FLAGS = rc
406 CC = @CC@
407 CXX = @CXX@
408 DLLTOOL = @DLLTOOL@
409 LD = @LD@
410 LIPO = @LIPO@
411 NM = @NM@
412 OBJDUMP = @OBJDUMP@
413 OTOOL = @OTOOL@
414 RANLIB = @RANLIB@
415 READELF = @READELF@
416 STRIP = @STRIP@
417 WINDRES = @WINDRES@
418 WINDMC = @WINDMC@
419
420 GDC = @GDC@
421 GNATBIND = @GNATBIND@
422 GNATMAKE = @GNATMAKE@
423
424 CFLAGS = @CFLAGS@
425 LDFLAGS = @LDFLAGS@
426 LIBCFLAGS = $(CFLAGS)
427 CXXFLAGS = @CXXFLAGS@
428 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
429 GOCFLAGS = $(CFLAGS)
430 GDCFLAGS = $(CFLAGS)
431
432 CREATE_GCOV = create_gcov
433
434 TFLAGS =
435
436 # Defaults for all stages; some are overridden below.
437
438 STAGE_CFLAGS = $(BOOT_CFLAGS)
439 STAGE_TFLAGS = $(TFLAGS)
440 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
441
442
443 # Defaults for stage 1; some are overridden below.
444 STAGE1_CFLAGS = $(STAGE_CFLAGS)
445 STAGE1_CXXFLAGS = $(CXXFLAGS)
446 @if target-libstdc++-v3-bootstrap
447 # Override the above if we're bootstrapping C++.
448 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
449 @endif target-libstdc++-v3-bootstrap
450 STAGE1_TFLAGS = $(STAGE_TFLAGS)
451 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
452
453 # Defaults for stage 2; some are overridden below.
454 STAGE2_CFLAGS = $(STAGE_CFLAGS)
455 STAGE2_CXXFLAGS = $(CXXFLAGS)
456 @if target-libstdc++-v3-bootstrap
457 # Override the above if we're bootstrapping C++.
458 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
459 @endif target-libstdc++-v3-bootstrap
460 STAGE2_TFLAGS = $(STAGE_TFLAGS)
461 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
462
463 # Defaults for stage 3; some are overridden below.
464 STAGE3_CFLAGS = $(STAGE_CFLAGS)
465 STAGE3_CXXFLAGS = $(CXXFLAGS)
466 @if target-libstdc++-v3-bootstrap
467 # Override the above if we're bootstrapping C++.
468 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
469 @endif target-libstdc++-v3-bootstrap
470 STAGE3_TFLAGS = $(STAGE_TFLAGS)
471 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
472
473 # Defaults for stage 4; some are overridden below.
474 STAGE4_CFLAGS = $(STAGE_CFLAGS)
475 STAGE4_CXXFLAGS = $(CXXFLAGS)
476 @if target-libstdc++-v3-bootstrap
477 # Override the above if we're bootstrapping C++.
478 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
479 @endif target-libstdc++-v3-bootstrap
480 STAGE4_TFLAGS = $(STAGE_TFLAGS)
481 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
482
483 # Defaults for stage profile; some are overridden below.
484 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
485 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
486 @if target-libstdc++-v3-bootstrap
487 # Override the above if we're bootstrapping C++.
488 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
489 @endif target-libstdc++-v3-bootstrap
490 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
491 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
492
493 # Defaults for stage train; some are overridden below.
494 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
495 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
496 @if target-libstdc++-v3-bootstrap
497 # Override the above if we're bootstrapping C++.
498 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
499 @endif target-libstdc++-v3-bootstrap
500 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
501 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
502
503 # Defaults for stage feedback; some are overridden below.
504 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
505 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
506 @if target-libstdc++-v3-bootstrap
507 # Override the above if we're bootstrapping C++.
508 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
509 @endif target-libstdc++-v3-bootstrap
510 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
511 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
512
513 # Defaults for stage autoprofile; some are overridden below.
514 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
515 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
516 @if target-libstdc++-v3-bootstrap
517 # Override the above if we're bootstrapping C++.
518 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
519 @endif target-libstdc++-v3-bootstrap
520 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
521 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
522
523 # Defaults for stage autofeedback; some are overridden below.
524 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
525 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
526 @if target-libstdc++-v3-bootstrap
527 # Override the above if we're bootstrapping C++.
528 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
529 @endif target-libstdc++-v3-bootstrap
530 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
531 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
532
533
534 # By default, C and C++ are the only stage1 languages, because they are the
535 # only ones we require to build with the bootstrap compiler, and also the
536 # only ones useful for building stage2.
537
538 STAGE1_CFLAGS = @stage1_cflags@
539 STAGE1_CHECKING = @stage1_checking@
540 STAGE1_LANGUAGES = @stage1_languages@
541 # * We force-disable intermodule optimizations, even if
542 # --enable-intermodule was passed, since the installed compiler
543 # probably can't handle them. Luckily, autoconf always respects
544 # the last argument when conflicting --enable arguments are passed.
545 # * Likewise, we force-disable coverage flags, since the installed
546 # compiler probably has never heard of them.
547 # * We also disable -Wformat, since older GCCs don't understand newer %s.
548 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
549 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
550 --disable-build-format-warnings
551
552 # When using the slow stage1 compiler disable IL verification and forcefully
553 # enable it when using the stage2 compiler instead. As we later compare
554 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
555 # checking when building all target libraries for release builds.
556 STAGE1_TFLAGS += -fno-checking
557 STAGE2_CFLAGS += -fno-checking
558 STAGE2_TFLAGS += -fno-checking
559 STAGE3_CFLAGS += -fchecking=1
560 STAGE3_TFLAGS += -fchecking=1
561
562 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
563 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
564
565 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
566 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
567
568 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
569 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
570
571 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
572 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
573
574 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
575 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
576
577 do-compare = @do_compare@
578 do-compare3 = $(do-compare)
579
580 # -----------------------------------------------
581 # Programs producing files for the TARGET machine
582 # -----------------------------------------------
583
584 AR_FOR_TARGET=@AR_FOR_TARGET@
585 AS_FOR_TARGET=@AS_FOR_TARGET@
586 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
587
588 # If GCC_FOR_TARGET is not overriden on the command line, then this
589 # variable is passed down to the gcc Makefile, where it is used to
590 # build libgcc2.a. We define it here so that it can itself be
591 # overridden on the command line.
592 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
593 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
594 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
595 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
596 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
597 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
598 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
599 LD_FOR_TARGET=@LD_FOR_TARGET@
600
601 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
602 NM_FOR_TARGET=@NM_FOR_TARGET@
603 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
604 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
605 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
606 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
607 READELF_FOR_TARGET=@READELF_FOR_TARGET@
608 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
609 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
610 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
611
612 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
613 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
614 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
615
616 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
617 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
618
619 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
620 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
621 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
622 GOCFLAGS_FOR_TARGET = -O2 -g
623 GDCFLAGS_FOR_TARGET = -O2 -g
624
625 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
626 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
627 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
628
629 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
630
631 # ------------------------------------
632 # Miscellaneous targets and flag lists
633 # ------------------------------------
634
635 # The first rule in the file had better be this one. Don't put any above it.
636 # This lives here to allow makefile fragments to contain dependencies.
637 all:
638
639 #### host and target specific makefile fragments come in here.
640 @target_makefile_frag@
641 @alphaieee_frag@
642 @ospace_frag@
643 @host_makefile_frag@
644 ###
645
646 # This is the list of directories that may be needed in RPATH_ENVVAR
647 # so that programs built for the target machine work.
648 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)
649
650 @if target-libstdc++-v3
651 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
652 @endif target-libstdc++-v3
653
654 @if target-libsanitizer
655 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
656 @endif target-libsanitizer
657
658 @if target-libvtv
659 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
660 @endif target-libvtv
661
662 @if target-liboffloadmic
663 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
664 @endif target-liboffloadmic
665
666 @if target-libssp
667 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
668 @endif target-libssp
669
670 @if target-libphobos
671 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
672 @endif target-libphobos
673
674 @if target-libgomp
675 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
676 @endif target-libgomp
677
678 @if target-libitm
679 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
680 @endif target-libitm
681
682 @if target-libatomic
683 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
684 @endif target-libatomic
685
686
687
688 # This is the list of directories that may be needed in RPATH_ENVVAR
689 # so that programs built for the host machine work.
690 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
691
692 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
693 @if gcc
694 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
695 @endif gcc
696
697
698 @if gmp
699 HOST_LIB_PATH_gmp = \
700 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
701 @endif gmp
702
703 @if mpfr
704 HOST_LIB_PATH_mpfr = \
705 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
706 @endif mpfr
707
708 @if mpc
709 HOST_LIB_PATH_mpc = \
710 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
711 @endif mpc
712
713 @if isl
714 HOST_LIB_PATH_isl = \
715 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
716 @endif isl
717
718 @if libelf
719 HOST_LIB_PATH_libelf = \
720 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
721 @endif libelf
722
723
724 CXX_FOR_TARGET_FLAG_TO_PASS = \
725 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
726 @if target-libstdc++-v3
727 # CXX_FOR_TARGET is tricky to get right for target libs that require a
728 # functional C++ compiler. When we recurse, if we expand
729 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
730 # libstdc++ include flags from the script. Instead, we get an
731 # -funconfigured-* word, so that we'll get errors if this invalid C++
732 # command line is used for anything, but also so that we can use the
733 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
734 # don't pass it on, sub-make will use the default definition, that
735 # re-expands it at the time of use, so we'll get it right when we need
736 # it. One potential exception is the expansion of CXX_FOR_TARGET
737 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
738 # really work, for C++ host programs can't depend on the current-stage
739 # C++ target library.
740 CXX_FOR_TARGET_FLAG_TO_PASS = \
741 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
742 @endif target-libstdc++-v3
743
744 # Flags to pass down to all sub-makes. STAGE*FLAGS,
745 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
746 # overrideable (for a bootstrap build stage1 also builds gcc.info).
747 BASE_FLAGS_TO_PASS = \
748 "DESTDIR=$(DESTDIR)" \
749 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
750 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
751 "bindir=$(bindir)" \
752 "datadir=$(datadir)" \
753 "exec_prefix=$(exec_prefix)" \
754 "includedir=$(includedir)" \
755 "datarootdir=$(datarootdir)" \
756 "docdir=$(docdir)" \
757 "infodir=$(infodir)" \
758 "pdfdir=$(pdfdir)" \
759 "htmldir=$(htmldir)" \
760 "libdir=$(libdir)" \
761 "libexecdir=$(libexecdir)" \
762 "lispdir=$(lispdir)" \
763 "localstatedir=$(localstatedir)" \
764 "mandir=$(mandir)" \
765 "oldincludedir=$(oldincludedir)" \
766 "prefix=$(prefix)" \
767 "sbindir=$(sbindir)" \
768 "sharedstatedir=$(sharedstatedir)" \
769 "sysconfdir=$(sysconfdir)" \
770 "tooldir=$(tooldir)" \
771 "build_tooldir=$(build_tooldir)" \
772 "target_alias=$(target_alias)" \
773 "AWK=$(AWK)" \
774 "BISON=$(BISON)" \
775 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
776 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
777 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
778 "EXPECT=$(EXPECT)" \
779 "FLEX=$(FLEX)" \
780 "INSTALL=$(INSTALL)" \
781 "INSTALL_DATA=$(INSTALL_DATA)" \
782 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
783 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
784 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
785 "LEX=$(LEX)" \
786 "M4=$(M4)" \
787 "MAKE=$(MAKE)" \
788 "RUNTEST=$(RUNTEST)" \
789 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
790 "SED=$(SED)" \
791 "SHELL=$(SHELL)" \
792 "YACC=$(YACC)" \
793 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
794 "ADA_CFLAGS=$(ADA_CFLAGS)" \
795 "AR_FLAGS=$(AR_FLAGS)" \
796 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
797 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
798 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
799 "CFLAGS=$(CFLAGS)" \
800 "CXXFLAGS=$(CXXFLAGS)" \
801 "LDFLAGS=$(LDFLAGS)" \
802 "LIBCFLAGS=$(LIBCFLAGS)" \
803 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
804 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
805 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
806 "GNATBIND=$(GNATBIND)" \
807 "GNATMAKE=$(GNATMAKE)" \
808 "GDC=$(GDC)" \
809 "GDCFLAGS=$(GDCFLAGS)" \
810 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
811 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
812 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
813 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
814 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
815 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
816 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
817 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
818 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
819 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
820 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
821 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
822 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
823 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
824 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
825 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
826 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
827 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
828 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
829 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
830 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
831 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
832 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
833 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
834 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
835 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
836 "BUILD_CONFIG=$(BUILD_CONFIG)" \
837 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
838 "LEAN=$(LEAN)" \
839 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
840 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
841 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
842 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
843 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
844 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
845 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
846 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
847 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
848 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
849 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
850 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
851 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
852 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
853 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
854 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
855 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
856 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
857 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
858 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
859 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
860 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
861 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
862 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
863 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
864 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
865 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
866 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
867 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
868 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
869 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
870 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
871 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
872 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
873 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
874 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
875 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
876 "TFLAGS=$(TFLAGS)" \
877 "CONFIG_SHELL=$(SHELL)" \
878 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
879 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
880
881 # We leave this in just in case, but it is not needed anymore.
882 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
883
884 # Flags to pass down to most sub-makes, in which we're building with
885 # the host environment.
886 EXTRA_HOST_FLAGS = \
887 'AR=$(AR)' \
888 'AS=$(AS)' \
889 'CC=$(CC)' \
890 'CXX=$(CXX)' \
891 'DLLTOOL=$(DLLTOOL)' \
892 'GFORTRAN=$(GFORTRAN)' \
893 'GOC=$(GOC)' \
894 'GDC=$(GDC)' \
895 'LD=$(LD)' \
896 'LIPO=$(LIPO)' \
897 'NM=$(NM)' \
898 'OBJDUMP=$(OBJDUMP)' \
899 'OTOOL=$(OTOOL)' \
900 'RANLIB=$(RANLIB)' \
901 'READELF=$(READELF)' \
902 'STRIP=$(STRIP)' \
903 'WINDRES=$(WINDRES)' \
904 'WINDMC=$(WINDMC)' \
905 'CREATE_GCOV=$(CREATE_GCOV)'
906
907 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
908
909 # Flags to pass to stage1 or when not bootstrapping.
910
911 STAGE1_FLAGS_TO_PASS = \
912 LDFLAGS="$${LDFLAGS}" \
913 HOST_LIBS="$${HOST_LIBS}"
914
915 # Flags to pass to stage2 and later makes.
916
917 POSTSTAGE1_FLAGS_TO_PASS = \
918 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
919 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
920 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
921 GNATBIND="$${GNATBIND}" \
922 LDFLAGS="$${LDFLAGS}" \
923 HOST_LIBS="$${HOST_LIBS}" \
924 $(LTO_FLAGS_TO_PASS) \
925 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
926
927 @if gcc-bootstrap
928 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
929 $(POSTSTAGE1_HOST_EXPORTS) \
930 fi;
931
932 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
933 @endif gcc-bootstrap
934
935 # Flags to pass down to makes which are built with the target environment.
936 # The double $ decreases the length of the command line; those variables
937 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
938 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
939 # so we expand them here.
940 EXTRA_TARGET_FLAGS = \
941 'AR=$$(AR_FOR_TARGET)' \
942 'AS=$(COMPILER_AS_FOR_TARGET)' \
943 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
944 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
945 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
946 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
947 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
948 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
949 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
950 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
951 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
952 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
953 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
954 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
955 'LD=$(COMPILER_LD_FOR_TARGET)' \
956 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
957 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
958 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
959 'NM=$(COMPILER_NM_FOR_TARGET)' \
960 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
961 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
962 'RANLIB=$$(RANLIB_FOR_TARGET)' \
963 'READELF=$$(READELF_FOR_TARGET)' \
964 'WINDRES=$$(WINDRES_FOR_TARGET)' \
965 'WINDMC=$$(WINDMC_FOR_TARGET)' \
966 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
967 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
968 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
969 "TFLAGS=$$TFLAGS"
970
971 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
972
973 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
974 # unfortunately needs the native compiler and the target ar and
975 # ranlib.
976 # If any variables are added here, they must be added to do-*, below.
977 # The BUILD_* variables are a special case, which are used for the gcc
978 # cross-building scheme.
979 EXTRA_GCC_FLAGS = \
980 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
981 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
982 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
983
984 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
985
986 @if gcc
987 BUILD_CONFIG = @BUILD_CONFIG@
988 ifneq ($(BUILD_CONFIG),)
989 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
990 endif
991 @endif gcc
992
993 .PHONY: configure-host
994 configure-host: \
995 maybe-configure-bfd \
996 maybe-configure-opcodes \
997 maybe-configure-binutils \
998 maybe-configure-bison \
999 maybe-configure-cgen \
1000 maybe-configure-dejagnu \
1001 maybe-configure-etc \
1002 maybe-configure-fastjar \
1003 maybe-configure-fixincludes \
1004 maybe-configure-flex \
1005 maybe-configure-gas \
1006 maybe-configure-gcc \
1007 maybe-configure-gmp \
1008 maybe-configure-mpfr \
1009 maybe-configure-mpc \
1010 maybe-configure-isl \
1011 maybe-configure-libelf \
1012 maybe-configure-gold \
1013 maybe-configure-gprof \
1014 maybe-configure-intl \
1015 maybe-configure-tcl \
1016 maybe-configure-itcl \
1017 maybe-configure-ld \
1018 maybe-configure-libbacktrace \
1019 maybe-configure-libcpp \
1020 maybe-configure-libdecnumber \
1021 maybe-configure-libgui \
1022 maybe-configure-libiberty \
1023 maybe-configure-libiberty-linker-plugin \
1024 maybe-configure-libiconv \
1025 maybe-configure-m4 \
1026 maybe-configure-readline \
1027 maybe-configure-sid \
1028 maybe-configure-sim \
1029 maybe-configure-texinfo \
1030 maybe-configure-zlib \
1031 maybe-configure-gnulib \
1032 maybe-configure-gdb \
1033 maybe-configure-expect \
1034 maybe-configure-guile \
1035 maybe-configure-tk \
1036 maybe-configure-libtermcap \
1037 maybe-configure-utils \
1038 maybe-configure-gnattools \
1039 maybe-configure-lto-plugin \
1040 maybe-configure-libcc1 \
1041 maybe-configure-gotools \
1042 maybe-configure-libctf
1043 .PHONY: configure-target
1044 configure-target: \
1045 maybe-configure-target-libstdc++-v3 \
1046 maybe-configure-target-libsanitizer \
1047 maybe-configure-target-libvtv \
1048 maybe-configure-target-liboffloadmic \
1049 maybe-configure-target-libssp \
1050 maybe-configure-target-newlib \
1051 maybe-configure-target-libgcc \
1052 maybe-configure-target-libbacktrace \
1053 maybe-configure-target-libquadmath \
1054 maybe-configure-target-libgfortran \
1055 maybe-configure-target-libobjc \
1056 maybe-configure-target-libgo \
1057 maybe-configure-target-libhsail-rt \
1058 maybe-configure-target-libphobos \
1059 maybe-configure-target-libtermcap \
1060 maybe-configure-target-winsup \
1061 maybe-configure-target-libgloss \
1062 maybe-configure-target-libffi \
1063 maybe-configure-target-zlib \
1064 maybe-configure-target-rda \
1065 maybe-configure-target-libada \
1066 maybe-configure-target-libgomp \
1067 maybe-configure-target-libitm \
1068 maybe-configure-target-libatomic
1069
1070 # The target built for a native non-bootstrap build.
1071 .PHONY: all
1072 all:
1073 @if gcc-bootstrap
1074 [ -f stage_final ] || echo stage3 > stage_final
1075 @r=`${PWD_COMMAND}`; export r; \
1076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1077 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1078 @endif gcc-bootstrap
1079 @: $(MAKE); $(unstage)
1080 @r=`${PWD_COMMAND}`; export r; \
1081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1082 @if gcc-bootstrap
1083 if [ -f stage_last ]; then \
1084 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1085 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1086 else \
1087 @endif gcc-bootstrap
1088 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1089 @if gcc-bootstrap
1090 ; \
1091 fi \
1092 @endif gcc-bootstrap
1093 && :
1094
1095 .PHONY: all-build
1096
1097 all-build: maybe-all-build-libiberty
1098 all-build: maybe-all-build-bison
1099 all-build: maybe-all-build-flex
1100 all-build: maybe-all-build-m4
1101 all-build: maybe-all-build-texinfo
1102 all-build: maybe-all-build-fixincludes
1103 all-build: maybe-all-build-libcpp
1104
1105 .PHONY: all-host
1106
1107 @if bfd-no-bootstrap
1108 all-host: maybe-all-bfd
1109 @endif bfd-no-bootstrap
1110 @if opcodes-no-bootstrap
1111 all-host: maybe-all-opcodes
1112 @endif opcodes-no-bootstrap
1113 @if binutils-no-bootstrap
1114 all-host: maybe-all-binutils
1115 @endif binutils-no-bootstrap
1116 all-host: maybe-all-bison
1117 all-host: maybe-all-cgen
1118 all-host: maybe-all-dejagnu
1119 all-host: maybe-all-etc
1120 all-host: maybe-all-fastjar
1121 @if fixincludes-no-bootstrap
1122 all-host: maybe-all-fixincludes
1123 @endif fixincludes-no-bootstrap
1124 all-host: maybe-all-flex
1125 @if gas-no-bootstrap
1126 all-host: maybe-all-gas
1127 @endif gas-no-bootstrap
1128 @if gcc-no-bootstrap
1129 all-host: maybe-all-gcc
1130 @endif gcc-no-bootstrap
1131 @if gmp-no-bootstrap
1132 all-host: maybe-all-gmp
1133 @endif gmp-no-bootstrap
1134 @if mpfr-no-bootstrap
1135 all-host: maybe-all-mpfr
1136 @endif mpfr-no-bootstrap
1137 @if mpc-no-bootstrap
1138 all-host: maybe-all-mpc
1139 @endif mpc-no-bootstrap
1140 @if isl-no-bootstrap
1141 all-host: maybe-all-isl
1142 @endif isl-no-bootstrap
1143 @if libelf-no-bootstrap
1144 all-host: maybe-all-libelf
1145 @endif libelf-no-bootstrap
1146 @if gold-no-bootstrap
1147 all-host: maybe-all-gold
1148 @endif gold-no-bootstrap
1149 all-host: maybe-all-gprof
1150 @if intl-no-bootstrap
1151 all-host: maybe-all-intl
1152 @endif intl-no-bootstrap
1153 all-host: maybe-all-tcl
1154 all-host: maybe-all-itcl
1155 @if ld-no-bootstrap
1156 all-host: maybe-all-ld
1157 @endif ld-no-bootstrap
1158 @if libbacktrace-no-bootstrap
1159 all-host: maybe-all-libbacktrace
1160 @endif libbacktrace-no-bootstrap
1161 @if libcpp-no-bootstrap
1162 all-host: maybe-all-libcpp
1163 @endif libcpp-no-bootstrap
1164 @if libdecnumber-no-bootstrap
1165 all-host: maybe-all-libdecnumber
1166 @endif libdecnumber-no-bootstrap
1167 all-host: maybe-all-libgui
1168 @if libiberty-no-bootstrap
1169 all-host: maybe-all-libiberty
1170 @endif libiberty-no-bootstrap
1171 @if libiberty-linker-plugin-no-bootstrap
1172 all-host: maybe-all-libiberty-linker-plugin
1173 @endif libiberty-linker-plugin-no-bootstrap
1174 @if libiconv-no-bootstrap
1175 all-host: maybe-all-libiconv
1176 @endif libiconv-no-bootstrap
1177 all-host: maybe-all-m4
1178 all-host: maybe-all-readline
1179 all-host: maybe-all-sid
1180 all-host: maybe-all-sim
1181 all-host: maybe-all-texinfo
1182 @if zlib-no-bootstrap
1183 all-host: maybe-all-zlib
1184 @endif zlib-no-bootstrap
1185 all-host: maybe-all-gnulib
1186 all-host: maybe-all-gdb
1187 all-host: maybe-all-expect
1188 all-host: maybe-all-guile
1189 all-host: maybe-all-tk
1190 all-host: maybe-all-libtermcap
1191 all-host: maybe-all-utils
1192 all-host: maybe-all-gnattools
1193 @if lto-plugin-no-bootstrap
1194 all-host: maybe-all-lto-plugin
1195 @endif lto-plugin-no-bootstrap
1196 all-host: maybe-all-libcc1
1197 all-host: maybe-all-gotools
1198 @if libctf-no-bootstrap
1199 all-host: maybe-all-libctf
1200 @endif libctf-no-bootstrap
1201
1202 .PHONY: all-target
1203
1204 @if target-libstdc++-v3-no-bootstrap
1205 all-target: maybe-all-target-libstdc++-v3
1206 @endif target-libstdc++-v3-no-bootstrap
1207 @if target-libsanitizer-no-bootstrap
1208 all-target: maybe-all-target-libsanitizer
1209 @endif target-libsanitizer-no-bootstrap
1210 @if target-libvtv-no-bootstrap
1211 all-target: maybe-all-target-libvtv
1212 @endif target-libvtv-no-bootstrap
1213 all-target: maybe-all-target-liboffloadmic
1214 all-target: maybe-all-target-libssp
1215 all-target: maybe-all-target-newlib
1216 @if target-libgcc-no-bootstrap
1217 all-target: maybe-all-target-libgcc
1218 @endif target-libgcc-no-bootstrap
1219 all-target: maybe-all-target-libbacktrace
1220 all-target: maybe-all-target-libquadmath
1221 all-target: maybe-all-target-libgfortran
1222 all-target: maybe-all-target-libobjc
1223 all-target: maybe-all-target-libgo
1224 all-target: maybe-all-target-libhsail-rt
1225 all-target: maybe-all-target-libphobos
1226 all-target: maybe-all-target-libtermcap
1227 all-target: maybe-all-target-winsup
1228 all-target: maybe-all-target-libgloss
1229 all-target: maybe-all-target-libffi
1230 all-target: maybe-all-target-zlib
1231 all-target: maybe-all-target-rda
1232 all-target: maybe-all-target-libada
1233 @if target-libgomp-no-bootstrap
1234 all-target: maybe-all-target-libgomp
1235 @endif target-libgomp-no-bootstrap
1236 all-target: maybe-all-target-libitm
1237 all-target: maybe-all-target-libatomic
1238
1239 # Do a target for all the subdirectories. A ``make do-X'' will do a
1240 # ``make X'' in all subdirectories (because, in general, there is a
1241 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1242 # but it may do additional work as well).
1243
1244 .PHONY: do-info
1245 do-info:
1246 @: $(MAKE); $(unstage)
1247 @r=`${PWD_COMMAND}`; export r; \
1248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1249 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1250 info-target
1251
1252
1253 .PHONY: info-host
1254
1255 info-host: maybe-info-bfd
1256 info-host: maybe-info-opcodes
1257 info-host: maybe-info-binutils
1258 info-host: maybe-info-bison
1259 info-host: maybe-info-cgen
1260 info-host: maybe-info-dejagnu
1261 info-host: maybe-info-etc
1262 info-host: maybe-info-fastjar
1263 info-host: maybe-info-fixincludes
1264 info-host: maybe-info-flex
1265 info-host: maybe-info-gas
1266 info-host: maybe-info-gcc
1267 info-host: maybe-info-gmp
1268 info-host: maybe-info-mpfr
1269 info-host: maybe-info-mpc
1270 info-host: maybe-info-isl
1271 info-host: maybe-info-libelf
1272 info-host: maybe-info-gold
1273 info-host: maybe-info-gprof
1274 info-host: maybe-info-intl
1275 info-host: maybe-info-tcl
1276 info-host: maybe-info-itcl
1277 info-host: maybe-info-ld
1278 info-host: maybe-info-libbacktrace
1279 info-host: maybe-info-libcpp
1280 info-host: maybe-info-libdecnumber
1281 info-host: maybe-info-libgui
1282 info-host: maybe-info-libiberty
1283 info-host: maybe-info-libiberty-linker-plugin
1284 info-host: maybe-info-libiconv
1285 info-host: maybe-info-m4
1286 info-host: maybe-info-readline
1287 info-host: maybe-info-sid
1288 info-host: maybe-info-sim
1289 info-host: maybe-info-texinfo
1290 info-host: maybe-info-zlib
1291 info-host: maybe-info-gnulib
1292 info-host: maybe-info-gdb
1293 info-host: maybe-info-expect
1294 info-host: maybe-info-guile
1295 info-host: maybe-info-tk
1296 info-host: maybe-info-libtermcap
1297 info-host: maybe-info-utils
1298 info-host: maybe-info-gnattools
1299 info-host: maybe-info-lto-plugin
1300 info-host: maybe-info-libcc1
1301 info-host: maybe-info-gotools
1302 info-host: maybe-info-libctf
1303
1304 .PHONY: info-target
1305
1306 info-target: maybe-info-target-libstdc++-v3
1307 info-target: maybe-info-target-libsanitizer
1308 info-target: maybe-info-target-libvtv
1309 info-target: maybe-info-target-liboffloadmic
1310 info-target: maybe-info-target-libssp
1311 info-target: maybe-info-target-newlib
1312 info-target: maybe-info-target-libgcc
1313 info-target: maybe-info-target-libbacktrace
1314 info-target: maybe-info-target-libquadmath
1315 info-target: maybe-info-target-libgfortran
1316 info-target: maybe-info-target-libobjc
1317 info-target: maybe-info-target-libgo
1318 info-target: maybe-info-target-libhsail-rt
1319 info-target: maybe-info-target-libphobos
1320 info-target: maybe-info-target-libtermcap
1321 info-target: maybe-info-target-winsup
1322 info-target: maybe-info-target-libgloss
1323 info-target: maybe-info-target-libffi
1324 info-target: maybe-info-target-zlib
1325 info-target: maybe-info-target-rda
1326 info-target: maybe-info-target-libada
1327 info-target: maybe-info-target-libgomp
1328 info-target: maybe-info-target-libitm
1329 info-target: maybe-info-target-libatomic
1330
1331 .PHONY: do-dvi
1332 do-dvi:
1333 @: $(MAKE); $(unstage)
1334 @r=`${PWD_COMMAND}`; export r; \
1335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1336 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1337 dvi-target
1338
1339
1340 .PHONY: dvi-host
1341
1342 dvi-host: maybe-dvi-bfd
1343 dvi-host: maybe-dvi-opcodes
1344 dvi-host: maybe-dvi-binutils
1345 dvi-host: maybe-dvi-bison
1346 dvi-host: maybe-dvi-cgen
1347 dvi-host: maybe-dvi-dejagnu
1348 dvi-host: maybe-dvi-etc
1349 dvi-host: maybe-dvi-fastjar
1350 dvi-host: maybe-dvi-fixincludes
1351 dvi-host: maybe-dvi-flex
1352 dvi-host: maybe-dvi-gas
1353 dvi-host: maybe-dvi-gcc
1354 dvi-host: maybe-dvi-gmp
1355 dvi-host: maybe-dvi-mpfr
1356 dvi-host: maybe-dvi-mpc
1357 dvi-host: maybe-dvi-isl
1358 dvi-host: maybe-dvi-libelf
1359 dvi-host: maybe-dvi-gold
1360 dvi-host: maybe-dvi-gprof
1361 dvi-host: maybe-dvi-intl
1362 dvi-host: maybe-dvi-tcl
1363 dvi-host: maybe-dvi-itcl
1364 dvi-host: maybe-dvi-ld
1365 dvi-host: maybe-dvi-libbacktrace
1366 dvi-host: maybe-dvi-libcpp
1367 dvi-host: maybe-dvi-libdecnumber
1368 dvi-host: maybe-dvi-libgui
1369 dvi-host: maybe-dvi-libiberty
1370 dvi-host: maybe-dvi-libiberty-linker-plugin
1371 dvi-host: maybe-dvi-libiconv
1372 dvi-host: maybe-dvi-m4
1373 dvi-host: maybe-dvi-readline
1374 dvi-host: maybe-dvi-sid
1375 dvi-host: maybe-dvi-sim
1376 dvi-host: maybe-dvi-texinfo
1377 dvi-host: maybe-dvi-zlib
1378 dvi-host: maybe-dvi-gnulib
1379 dvi-host: maybe-dvi-gdb
1380 dvi-host: maybe-dvi-expect
1381 dvi-host: maybe-dvi-guile
1382 dvi-host: maybe-dvi-tk
1383 dvi-host: maybe-dvi-libtermcap
1384 dvi-host: maybe-dvi-utils
1385 dvi-host: maybe-dvi-gnattools
1386 dvi-host: maybe-dvi-lto-plugin
1387 dvi-host: maybe-dvi-libcc1
1388 dvi-host: maybe-dvi-gotools
1389 dvi-host: maybe-dvi-libctf
1390
1391 .PHONY: dvi-target
1392
1393 dvi-target: maybe-dvi-target-libstdc++-v3
1394 dvi-target: maybe-dvi-target-libsanitizer
1395 dvi-target: maybe-dvi-target-libvtv
1396 dvi-target: maybe-dvi-target-liboffloadmic
1397 dvi-target: maybe-dvi-target-libssp
1398 dvi-target: maybe-dvi-target-newlib
1399 dvi-target: maybe-dvi-target-libgcc
1400 dvi-target: maybe-dvi-target-libbacktrace
1401 dvi-target: maybe-dvi-target-libquadmath
1402 dvi-target: maybe-dvi-target-libgfortran
1403 dvi-target: maybe-dvi-target-libobjc
1404 dvi-target: maybe-dvi-target-libgo
1405 dvi-target: maybe-dvi-target-libhsail-rt
1406 dvi-target: maybe-dvi-target-libphobos
1407 dvi-target: maybe-dvi-target-libtermcap
1408 dvi-target: maybe-dvi-target-winsup
1409 dvi-target: maybe-dvi-target-libgloss
1410 dvi-target: maybe-dvi-target-libffi
1411 dvi-target: maybe-dvi-target-zlib
1412 dvi-target: maybe-dvi-target-rda
1413 dvi-target: maybe-dvi-target-libada
1414 dvi-target: maybe-dvi-target-libgomp
1415 dvi-target: maybe-dvi-target-libitm
1416 dvi-target: maybe-dvi-target-libatomic
1417
1418 .PHONY: do-pdf
1419 do-pdf:
1420 @: $(MAKE); $(unstage)
1421 @r=`${PWD_COMMAND}`; export r; \
1422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1423 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1424 pdf-target
1425
1426
1427 .PHONY: pdf-host
1428
1429 pdf-host: maybe-pdf-bfd
1430 pdf-host: maybe-pdf-opcodes
1431 pdf-host: maybe-pdf-binutils
1432 pdf-host: maybe-pdf-bison
1433 pdf-host: maybe-pdf-cgen
1434 pdf-host: maybe-pdf-dejagnu
1435 pdf-host: maybe-pdf-etc
1436 pdf-host: maybe-pdf-fastjar
1437 pdf-host: maybe-pdf-fixincludes
1438 pdf-host: maybe-pdf-flex
1439 pdf-host: maybe-pdf-gas
1440 pdf-host: maybe-pdf-gcc
1441 pdf-host: maybe-pdf-gmp
1442 pdf-host: maybe-pdf-mpfr
1443 pdf-host: maybe-pdf-mpc
1444 pdf-host: maybe-pdf-isl
1445 pdf-host: maybe-pdf-libelf
1446 pdf-host: maybe-pdf-gold
1447 pdf-host: maybe-pdf-gprof
1448 pdf-host: maybe-pdf-intl
1449 pdf-host: maybe-pdf-tcl
1450 pdf-host: maybe-pdf-itcl
1451 pdf-host: maybe-pdf-ld
1452 pdf-host: maybe-pdf-libbacktrace
1453 pdf-host: maybe-pdf-libcpp
1454 pdf-host: maybe-pdf-libdecnumber
1455 pdf-host: maybe-pdf-libgui
1456 pdf-host: maybe-pdf-libiberty
1457 pdf-host: maybe-pdf-libiberty-linker-plugin
1458 pdf-host: maybe-pdf-libiconv
1459 pdf-host: maybe-pdf-m4
1460 pdf-host: maybe-pdf-readline
1461 pdf-host: maybe-pdf-sid
1462 pdf-host: maybe-pdf-sim
1463 pdf-host: maybe-pdf-texinfo
1464 pdf-host: maybe-pdf-zlib
1465 pdf-host: maybe-pdf-gnulib
1466 pdf-host: maybe-pdf-gdb
1467 pdf-host: maybe-pdf-expect
1468 pdf-host: maybe-pdf-guile
1469 pdf-host: maybe-pdf-tk
1470 pdf-host: maybe-pdf-libtermcap
1471 pdf-host: maybe-pdf-utils
1472 pdf-host: maybe-pdf-gnattools
1473 pdf-host: maybe-pdf-lto-plugin
1474 pdf-host: maybe-pdf-libcc1
1475 pdf-host: maybe-pdf-gotools
1476 pdf-host: maybe-pdf-libctf
1477
1478 .PHONY: pdf-target
1479
1480 pdf-target: maybe-pdf-target-libstdc++-v3
1481 pdf-target: maybe-pdf-target-libsanitizer
1482 pdf-target: maybe-pdf-target-libvtv
1483 pdf-target: maybe-pdf-target-liboffloadmic
1484 pdf-target: maybe-pdf-target-libssp
1485 pdf-target: maybe-pdf-target-newlib
1486 pdf-target: maybe-pdf-target-libgcc
1487 pdf-target: maybe-pdf-target-libbacktrace
1488 pdf-target: maybe-pdf-target-libquadmath
1489 pdf-target: maybe-pdf-target-libgfortran
1490 pdf-target: maybe-pdf-target-libobjc
1491 pdf-target: maybe-pdf-target-libgo
1492 pdf-target: maybe-pdf-target-libhsail-rt
1493 pdf-target: maybe-pdf-target-libphobos
1494 pdf-target: maybe-pdf-target-libtermcap
1495 pdf-target: maybe-pdf-target-winsup
1496 pdf-target: maybe-pdf-target-libgloss
1497 pdf-target: maybe-pdf-target-libffi
1498 pdf-target: maybe-pdf-target-zlib
1499 pdf-target: maybe-pdf-target-rda
1500 pdf-target: maybe-pdf-target-libada
1501 pdf-target: maybe-pdf-target-libgomp
1502 pdf-target: maybe-pdf-target-libitm
1503 pdf-target: maybe-pdf-target-libatomic
1504
1505 .PHONY: do-html
1506 do-html:
1507 @: $(MAKE); $(unstage)
1508 @r=`${PWD_COMMAND}`; export r; \
1509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1510 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1511 html-target
1512
1513
1514 .PHONY: html-host
1515
1516 html-host: maybe-html-bfd
1517 html-host: maybe-html-opcodes
1518 html-host: maybe-html-binutils
1519 html-host: maybe-html-bison
1520 html-host: maybe-html-cgen
1521 html-host: maybe-html-dejagnu
1522 html-host: maybe-html-etc
1523 html-host: maybe-html-fastjar
1524 html-host: maybe-html-fixincludes
1525 html-host: maybe-html-flex
1526 html-host: maybe-html-gas
1527 html-host: maybe-html-gcc
1528 html-host: maybe-html-gmp
1529 html-host: maybe-html-mpfr
1530 html-host: maybe-html-mpc
1531 html-host: maybe-html-isl
1532 html-host: maybe-html-libelf
1533 html-host: maybe-html-gold
1534 html-host: maybe-html-gprof
1535 html-host: maybe-html-intl
1536 html-host: maybe-html-tcl
1537 html-host: maybe-html-itcl
1538 html-host: maybe-html-ld
1539 html-host: maybe-html-libbacktrace
1540 html-host: maybe-html-libcpp
1541 html-host: maybe-html-libdecnumber
1542 html-host: maybe-html-libgui
1543 html-host: maybe-html-libiberty
1544 html-host: maybe-html-libiberty-linker-plugin
1545 html-host: maybe-html-libiconv
1546 html-host: maybe-html-m4
1547 html-host: maybe-html-readline
1548 html-host: maybe-html-sid
1549 html-host: maybe-html-sim
1550 html-host: maybe-html-texinfo
1551 html-host: maybe-html-zlib
1552 html-host: maybe-html-gnulib
1553 html-host: maybe-html-gdb
1554 html-host: maybe-html-expect
1555 html-host: maybe-html-guile
1556 html-host: maybe-html-tk
1557 html-host: maybe-html-libtermcap
1558 html-host: maybe-html-utils
1559 html-host: maybe-html-gnattools
1560 html-host: maybe-html-lto-plugin
1561 html-host: maybe-html-libcc1
1562 html-host: maybe-html-gotools
1563 html-host: maybe-html-libctf
1564
1565 .PHONY: html-target
1566
1567 html-target: maybe-html-target-libstdc++-v3
1568 html-target: maybe-html-target-libsanitizer
1569 html-target: maybe-html-target-libvtv
1570 html-target: maybe-html-target-liboffloadmic
1571 html-target: maybe-html-target-libssp
1572 html-target: maybe-html-target-newlib
1573 html-target: maybe-html-target-libgcc
1574 html-target: maybe-html-target-libbacktrace
1575 html-target: maybe-html-target-libquadmath
1576 html-target: maybe-html-target-libgfortran
1577 html-target: maybe-html-target-libobjc
1578 html-target: maybe-html-target-libgo
1579 html-target: maybe-html-target-libhsail-rt
1580 html-target: maybe-html-target-libphobos
1581 html-target: maybe-html-target-libtermcap
1582 html-target: maybe-html-target-winsup
1583 html-target: maybe-html-target-libgloss
1584 html-target: maybe-html-target-libffi
1585 html-target: maybe-html-target-zlib
1586 html-target: maybe-html-target-rda
1587 html-target: maybe-html-target-libada
1588 html-target: maybe-html-target-libgomp
1589 html-target: maybe-html-target-libitm
1590 html-target: maybe-html-target-libatomic
1591
1592 .PHONY: do-TAGS
1593 do-TAGS:
1594 @: $(MAKE); $(unstage)
1595 @r=`${PWD_COMMAND}`; export r; \
1596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1597 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1598 TAGS-target
1599
1600
1601 .PHONY: TAGS-host
1602
1603 TAGS-host: maybe-TAGS-bfd
1604 TAGS-host: maybe-TAGS-opcodes
1605 TAGS-host: maybe-TAGS-binutils
1606 TAGS-host: maybe-TAGS-bison
1607 TAGS-host: maybe-TAGS-cgen
1608 TAGS-host: maybe-TAGS-dejagnu
1609 TAGS-host: maybe-TAGS-etc
1610 TAGS-host: maybe-TAGS-fastjar
1611 TAGS-host: maybe-TAGS-fixincludes
1612 TAGS-host: maybe-TAGS-flex
1613 TAGS-host: maybe-TAGS-gas
1614 TAGS-host: maybe-TAGS-gcc
1615 TAGS-host: maybe-TAGS-gmp
1616 TAGS-host: maybe-TAGS-mpfr
1617 TAGS-host: maybe-TAGS-mpc
1618 TAGS-host: maybe-TAGS-isl
1619 TAGS-host: maybe-TAGS-libelf
1620 TAGS-host: maybe-TAGS-gold
1621 TAGS-host: maybe-TAGS-gprof
1622 TAGS-host: maybe-TAGS-intl
1623 TAGS-host: maybe-TAGS-tcl
1624 TAGS-host: maybe-TAGS-itcl
1625 TAGS-host: maybe-TAGS-ld
1626 TAGS-host: maybe-TAGS-libbacktrace
1627 TAGS-host: maybe-TAGS-libcpp
1628 TAGS-host: maybe-TAGS-libdecnumber
1629 TAGS-host: maybe-TAGS-libgui
1630 TAGS-host: maybe-TAGS-libiberty
1631 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1632 TAGS-host: maybe-TAGS-libiconv
1633 TAGS-host: maybe-TAGS-m4
1634 TAGS-host: maybe-TAGS-readline
1635 TAGS-host: maybe-TAGS-sid
1636 TAGS-host: maybe-TAGS-sim
1637 TAGS-host: maybe-TAGS-texinfo
1638 TAGS-host: maybe-TAGS-zlib
1639 TAGS-host: maybe-TAGS-gnulib
1640 TAGS-host: maybe-TAGS-gdb
1641 TAGS-host: maybe-TAGS-expect
1642 TAGS-host: maybe-TAGS-guile
1643 TAGS-host: maybe-TAGS-tk
1644 TAGS-host: maybe-TAGS-libtermcap
1645 TAGS-host: maybe-TAGS-utils
1646 TAGS-host: maybe-TAGS-gnattools
1647 TAGS-host: maybe-TAGS-lto-plugin
1648 TAGS-host: maybe-TAGS-libcc1
1649 TAGS-host: maybe-TAGS-gotools
1650 TAGS-host: maybe-TAGS-libctf
1651
1652 .PHONY: TAGS-target
1653
1654 TAGS-target: maybe-TAGS-target-libstdc++-v3
1655 TAGS-target: maybe-TAGS-target-libsanitizer
1656 TAGS-target: maybe-TAGS-target-libvtv
1657 TAGS-target: maybe-TAGS-target-liboffloadmic
1658 TAGS-target: maybe-TAGS-target-libssp
1659 TAGS-target: maybe-TAGS-target-newlib
1660 TAGS-target: maybe-TAGS-target-libgcc
1661 TAGS-target: maybe-TAGS-target-libbacktrace
1662 TAGS-target: maybe-TAGS-target-libquadmath
1663 TAGS-target: maybe-TAGS-target-libgfortran
1664 TAGS-target: maybe-TAGS-target-libobjc
1665 TAGS-target: maybe-TAGS-target-libgo
1666 TAGS-target: maybe-TAGS-target-libhsail-rt
1667 TAGS-target: maybe-TAGS-target-libphobos
1668 TAGS-target: maybe-TAGS-target-libtermcap
1669 TAGS-target: maybe-TAGS-target-winsup
1670 TAGS-target: maybe-TAGS-target-libgloss
1671 TAGS-target: maybe-TAGS-target-libffi
1672 TAGS-target: maybe-TAGS-target-zlib
1673 TAGS-target: maybe-TAGS-target-rda
1674 TAGS-target: maybe-TAGS-target-libada
1675 TAGS-target: maybe-TAGS-target-libgomp
1676 TAGS-target: maybe-TAGS-target-libitm
1677 TAGS-target: maybe-TAGS-target-libatomic
1678
1679 .PHONY: do-install-info
1680 do-install-info:
1681 @: $(MAKE); $(unstage)
1682 @r=`${PWD_COMMAND}`; export r; \
1683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1684 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1685 install-info-target
1686
1687
1688 .PHONY: install-info-host
1689
1690 install-info-host: maybe-install-info-bfd
1691 install-info-host: maybe-install-info-opcodes
1692 install-info-host: maybe-install-info-binutils
1693 install-info-host: maybe-install-info-bison
1694 install-info-host: maybe-install-info-cgen
1695 install-info-host: maybe-install-info-dejagnu
1696 install-info-host: maybe-install-info-etc
1697 install-info-host: maybe-install-info-fastjar
1698 install-info-host: maybe-install-info-fixincludes
1699 install-info-host: maybe-install-info-flex
1700 install-info-host: maybe-install-info-gas
1701 install-info-host: maybe-install-info-gcc
1702 install-info-host: maybe-install-info-gmp
1703 install-info-host: maybe-install-info-mpfr
1704 install-info-host: maybe-install-info-mpc
1705 install-info-host: maybe-install-info-isl
1706 install-info-host: maybe-install-info-libelf
1707 install-info-host: maybe-install-info-gold
1708 install-info-host: maybe-install-info-gprof
1709 install-info-host: maybe-install-info-intl
1710 install-info-host: maybe-install-info-tcl
1711 install-info-host: maybe-install-info-itcl
1712 install-info-host: maybe-install-info-ld
1713 install-info-host: maybe-install-info-libbacktrace
1714 install-info-host: maybe-install-info-libcpp
1715 install-info-host: maybe-install-info-libdecnumber
1716 install-info-host: maybe-install-info-libgui
1717 install-info-host: maybe-install-info-libiberty
1718 install-info-host: maybe-install-info-libiberty-linker-plugin
1719 install-info-host: maybe-install-info-libiconv
1720 install-info-host: maybe-install-info-m4
1721 install-info-host: maybe-install-info-readline
1722 install-info-host: maybe-install-info-sid
1723 install-info-host: maybe-install-info-sim
1724 install-info-host: maybe-install-info-texinfo
1725 install-info-host: maybe-install-info-zlib
1726 install-info-host: maybe-install-info-gnulib
1727 install-info-host: maybe-install-info-gdb
1728 install-info-host: maybe-install-info-expect
1729 install-info-host: maybe-install-info-guile
1730 install-info-host: maybe-install-info-tk
1731 install-info-host: maybe-install-info-libtermcap
1732 install-info-host: maybe-install-info-utils
1733 install-info-host: maybe-install-info-gnattools
1734 install-info-host: maybe-install-info-lto-plugin
1735 install-info-host: maybe-install-info-libcc1
1736 install-info-host: maybe-install-info-gotools
1737 install-info-host: maybe-install-info-libctf
1738
1739 .PHONY: install-info-target
1740
1741 install-info-target: maybe-install-info-target-libstdc++-v3
1742 install-info-target: maybe-install-info-target-libsanitizer
1743 install-info-target: maybe-install-info-target-libvtv
1744 install-info-target: maybe-install-info-target-liboffloadmic
1745 install-info-target: maybe-install-info-target-libssp
1746 install-info-target: maybe-install-info-target-newlib
1747 install-info-target: maybe-install-info-target-libgcc
1748 install-info-target: maybe-install-info-target-libbacktrace
1749 install-info-target: maybe-install-info-target-libquadmath
1750 install-info-target: maybe-install-info-target-libgfortran
1751 install-info-target: maybe-install-info-target-libobjc
1752 install-info-target: maybe-install-info-target-libgo
1753 install-info-target: maybe-install-info-target-libhsail-rt
1754 install-info-target: maybe-install-info-target-libphobos
1755 install-info-target: maybe-install-info-target-libtermcap
1756 install-info-target: maybe-install-info-target-winsup
1757 install-info-target: maybe-install-info-target-libgloss
1758 install-info-target: maybe-install-info-target-libffi
1759 install-info-target: maybe-install-info-target-zlib
1760 install-info-target: maybe-install-info-target-rda
1761 install-info-target: maybe-install-info-target-libada
1762 install-info-target: maybe-install-info-target-libgomp
1763 install-info-target: maybe-install-info-target-libitm
1764 install-info-target: maybe-install-info-target-libatomic
1765
1766 .PHONY: do-install-pdf
1767 do-install-pdf:
1768 @: $(MAKE); $(unstage)
1769 @r=`${PWD_COMMAND}`; export r; \
1770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1771 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1772 install-pdf-target
1773
1774
1775 .PHONY: install-pdf-host
1776
1777 install-pdf-host: maybe-install-pdf-bfd
1778 install-pdf-host: maybe-install-pdf-opcodes
1779 install-pdf-host: maybe-install-pdf-binutils
1780 install-pdf-host: maybe-install-pdf-bison
1781 install-pdf-host: maybe-install-pdf-cgen
1782 install-pdf-host: maybe-install-pdf-dejagnu
1783 install-pdf-host: maybe-install-pdf-etc
1784 install-pdf-host: maybe-install-pdf-fastjar
1785 install-pdf-host: maybe-install-pdf-fixincludes
1786 install-pdf-host: maybe-install-pdf-flex
1787 install-pdf-host: maybe-install-pdf-gas
1788 install-pdf-host: maybe-install-pdf-gcc
1789 install-pdf-host: maybe-install-pdf-gmp
1790 install-pdf-host: maybe-install-pdf-mpfr
1791 install-pdf-host: maybe-install-pdf-mpc
1792 install-pdf-host: maybe-install-pdf-isl
1793 install-pdf-host: maybe-install-pdf-libelf
1794 install-pdf-host: maybe-install-pdf-gold
1795 install-pdf-host: maybe-install-pdf-gprof
1796 install-pdf-host: maybe-install-pdf-intl
1797 install-pdf-host: maybe-install-pdf-tcl
1798 install-pdf-host: maybe-install-pdf-itcl
1799 install-pdf-host: maybe-install-pdf-ld
1800 install-pdf-host: maybe-install-pdf-libbacktrace
1801 install-pdf-host: maybe-install-pdf-libcpp
1802 install-pdf-host: maybe-install-pdf-libdecnumber
1803 install-pdf-host: maybe-install-pdf-libgui
1804 install-pdf-host: maybe-install-pdf-libiberty
1805 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1806 install-pdf-host: maybe-install-pdf-libiconv
1807 install-pdf-host: maybe-install-pdf-m4
1808 install-pdf-host: maybe-install-pdf-readline
1809 install-pdf-host: maybe-install-pdf-sid
1810 install-pdf-host: maybe-install-pdf-sim
1811 install-pdf-host: maybe-install-pdf-texinfo
1812 install-pdf-host: maybe-install-pdf-zlib
1813 install-pdf-host: maybe-install-pdf-gnulib
1814 install-pdf-host: maybe-install-pdf-gdb
1815 install-pdf-host: maybe-install-pdf-expect
1816 install-pdf-host: maybe-install-pdf-guile
1817 install-pdf-host: maybe-install-pdf-tk
1818 install-pdf-host: maybe-install-pdf-libtermcap
1819 install-pdf-host: maybe-install-pdf-utils
1820 install-pdf-host: maybe-install-pdf-gnattools
1821 install-pdf-host: maybe-install-pdf-lto-plugin
1822 install-pdf-host: maybe-install-pdf-libcc1
1823 install-pdf-host: maybe-install-pdf-gotools
1824 install-pdf-host: maybe-install-pdf-libctf
1825
1826 .PHONY: install-pdf-target
1827
1828 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1829 install-pdf-target: maybe-install-pdf-target-libsanitizer
1830 install-pdf-target: maybe-install-pdf-target-libvtv
1831 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1832 install-pdf-target: maybe-install-pdf-target-libssp
1833 install-pdf-target: maybe-install-pdf-target-newlib
1834 install-pdf-target: maybe-install-pdf-target-libgcc
1835 install-pdf-target: maybe-install-pdf-target-libbacktrace
1836 install-pdf-target: maybe-install-pdf-target-libquadmath
1837 install-pdf-target: maybe-install-pdf-target-libgfortran
1838 install-pdf-target: maybe-install-pdf-target-libobjc
1839 install-pdf-target: maybe-install-pdf-target-libgo
1840 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1841 install-pdf-target: maybe-install-pdf-target-libphobos
1842 install-pdf-target: maybe-install-pdf-target-libtermcap
1843 install-pdf-target: maybe-install-pdf-target-winsup
1844 install-pdf-target: maybe-install-pdf-target-libgloss
1845 install-pdf-target: maybe-install-pdf-target-libffi
1846 install-pdf-target: maybe-install-pdf-target-zlib
1847 install-pdf-target: maybe-install-pdf-target-rda
1848 install-pdf-target: maybe-install-pdf-target-libada
1849 install-pdf-target: maybe-install-pdf-target-libgomp
1850 install-pdf-target: maybe-install-pdf-target-libitm
1851 install-pdf-target: maybe-install-pdf-target-libatomic
1852
1853 .PHONY: do-install-html
1854 do-install-html:
1855 @: $(MAKE); $(unstage)
1856 @r=`${PWD_COMMAND}`; export r; \
1857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1858 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1859 install-html-target
1860
1861
1862 .PHONY: install-html-host
1863
1864 install-html-host: maybe-install-html-bfd
1865 install-html-host: maybe-install-html-opcodes
1866 install-html-host: maybe-install-html-binutils
1867 install-html-host: maybe-install-html-bison
1868 install-html-host: maybe-install-html-cgen
1869 install-html-host: maybe-install-html-dejagnu
1870 install-html-host: maybe-install-html-etc
1871 install-html-host: maybe-install-html-fastjar
1872 install-html-host: maybe-install-html-fixincludes
1873 install-html-host: maybe-install-html-flex
1874 install-html-host: maybe-install-html-gas
1875 install-html-host: maybe-install-html-gcc
1876 install-html-host: maybe-install-html-gmp
1877 install-html-host: maybe-install-html-mpfr
1878 install-html-host: maybe-install-html-mpc
1879 install-html-host: maybe-install-html-isl
1880 install-html-host: maybe-install-html-libelf
1881 install-html-host: maybe-install-html-gold
1882 install-html-host: maybe-install-html-gprof
1883 install-html-host: maybe-install-html-intl
1884 install-html-host: maybe-install-html-tcl
1885 install-html-host: maybe-install-html-itcl
1886 install-html-host: maybe-install-html-ld
1887 install-html-host: maybe-install-html-libbacktrace
1888 install-html-host: maybe-install-html-libcpp
1889 install-html-host: maybe-install-html-libdecnumber
1890 install-html-host: maybe-install-html-libgui
1891 install-html-host: maybe-install-html-libiberty
1892 install-html-host: maybe-install-html-libiberty-linker-plugin
1893 install-html-host: maybe-install-html-libiconv
1894 install-html-host: maybe-install-html-m4
1895 install-html-host: maybe-install-html-readline
1896 install-html-host: maybe-install-html-sid
1897 install-html-host: maybe-install-html-sim
1898 install-html-host: maybe-install-html-texinfo
1899 install-html-host: maybe-install-html-zlib
1900 install-html-host: maybe-install-html-gnulib
1901 install-html-host: maybe-install-html-gdb
1902 install-html-host: maybe-install-html-expect
1903 install-html-host: maybe-install-html-guile
1904 install-html-host: maybe-install-html-tk
1905 install-html-host: maybe-install-html-libtermcap
1906 install-html-host: maybe-install-html-utils
1907 install-html-host: maybe-install-html-gnattools
1908 install-html-host: maybe-install-html-lto-plugin
1909 install-html-host: maybe-install-html-libcc1
1910 install-html-host: maybe-install-html-gotools
1911 install-html-host: maybe-install-html-libctf
1912
1913 .PHONY: install-html-target
1914
1915 install-html-target: maybe-install-html-target-libstdc++-v3
1916 install-html-target: maybe-install-html-target-libsanitizer
1917 install-html-target: maybe-install-html-target-libvtv
1918 install-html-target: maybe-install-html-target-liboffloadmic
1919 install-html-target: maybe-install-html-target-libssp
1920 install-html-target: maybe-install-html-target-newlib
1921 install-html-target: maybe-install-html-target-libgcc
1922 install-html-target: maybe-install-html-target-libbacktrace
1923 install-html-target: maybe-install-html-target-libquadmath
1924 install-html-target: maybe-install-html-target-libgfortran
1925 install-html-target: maybe-install-html-target-libobjc
1926 install-html-target: maybe-install-html-target-libgo
1927 install-html-target: maybe-install-html-target-libhsail-rt
1928 install-html-target: maybe-install-html-target-libphobos
1929 install-html-target: maybe-install-html-target-libtermcap
1930 install-html-target: maybe-install-html-target-winsup
1931 install-html-target: maybe-install-html-target-libgloss
1932 install-html-target: maybe-install-html-target-libffi
1933 install-html-target: maybe-install-html-target-zlib
1934 install-html-target: maybe-install-html-target-rda
1935 install-html-target: maybe-install-html-target-libada
1936 install-html-target: maybe-install-html-target-libgomp
1937 install-html-target: maybe-install-html-target-libitm
1938 install-html-target: maybe-install-html-target-libatomic
1939
1940 .PHONY: do-installcheck
1941 do-installcheck:
1942 @: $(MAKE); $(unstage)
1943 @r=`${PWD_COMMAND}`; export r; \
1944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1945 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1946 installcheck-target
1947
1948
1949 .PHONY: installcheck-host
1950
1951 installcheck-host: maybe-installcheck-bfd
1952 installcheck-host: maybe-installcheck-opcodes
1953 installcheck-host: maybe-installcheck-binutils
1954 installcheck-host: maybe-installcheck-bison
1955 installcheck-host: maybe-installcheck-cgen
1956 installcheck-host: maybe-installcheck-dejagnu
1957 installcheck-host: maybe-installcheck-etc
1958 installcheck-host: maybe-installcheck-fastjar
1959 installcheck-host: maybe-installcheck-fixincludes
1960 installcheck-host: maybe-installcheck-flex
1961 installcheck-host: maybe-installcheck-gas
1962 installcheck-host: maybe-installcheck-gcc
1963 installcheck-host: maybe-installcheck-gmp
1964 installcheck-host: maybe-installcheck-mpfr
1965 installcheck-host: maybe-installcheck-mpc
1966 installcheck-host: maybe-installcheck-isl
1967 installcheck-host: maybe-installcheck-libelf
1968 installcheck-host: maybe-installcheck-gold
1969 installcheck-host: maybe-installcheck-gprof
1970 installcheck-host: maybe-installcheck-intl
1971 installcheck-host: maybe-installcheck-tcl
1972 installcheck-host: maybe-installcheck-itcl
1973 installcheck-host: maybe-installcheck-ld
1974 installcheck-host: maybe-installcheck-libbacktrace
1975 installcheck-host: maybe-installcheck-libcpp
1976 installcheck-host: maybe-installcheck-libdecnumber
1977 installcheck-host: maybe-installcheck-libgui
1978 installcheck-host: maybe-installcheck-libiberty
1979 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1980 installcheck-host: maybe-installcheck-libiconv
1981 installcheck-host: maybe-installcheck-m4
1982 installcheck-host: maybe-installcheck-readline
1983 installcheck-host: maybe-installcheck-sid
1984 installcheck-host: maybe-installcheck-sim
1985 installcheck-host: maybe-installcheck-texinfo
1986 installcheck-host: maybe-installcheck-zlib
1987 installcheck-host: maybe-installcheck-gnulib
1988 installcheck-host: maybe-installcheck-gdb
1989 installcheck-host: maybe-installcheck-expect
1990 installcheck-host: maybe-installcheck-guile
1991 installcheck-host: maybe-installcheck-tk
1992 installcheck-host: maybe-installcheck-libtermcap
1993 installcheck-host: maybe-installcheck-utils
1994 installcheck-host: maybe-installcheck-gnattools
1995 installcheck-host: maybe-installcheck-lto-plugin
1996 installcheck-host: maybe-installcheck-libcc1
1997 installcheck-host: maybe-installcheck-gotools
1998 installcheck-host: maybe-installcheck-libctf
1999
2000 .PHONY: installcheck-target
2001
2002 installcheck-target: maybe-installcheck-target-libstdc++-v3
2003 installcheck-target: maybe-installcheck-target-libsanitizer
2004 installcheck-target: maybe-installcheck-target-libvtv
2005 installcheck-target: maybe-installcheck-target-liboffloadmic
2006 installcheck-target: maybe-installcheck-target-libssp
2007 installcheck-target: maybe-installcheck-target-newlib
2008 installcheck-target: maybe-installcheck-target-libgcc
2009 installcheck-target: maybe-installcheck-target-libbacktrace
2010 installcheck-target: maybe-installcheck-target-libquadmath
2011 installcheck-target: maybe-installcheck-target-libgfortran
2012 installcheck-target: maybe-installcheck-target-libobjc
2013 installcheck-target: maybe-installcheck-target-libgo
2014 installcheck-target: maybe-installcheck-target-libhsail-rt
2015 installcheck-target: maybe-installcheck-target-libphobos
2016 installcheck-target: maybe-installcheck-target-libtermcap
2017 installcheck-target: maybe-installcheck-target-winsup
2018 installcheck-target: maybe-installcheck-target-libgloss
2019 installcheck-target: maybe-installcheck-target-libffi
2020 installcheck-target: maybe-installcheck-target-zlib
2021 installcheck-target: maybe-installcheck-target-rda
2022 installcheck-target: maybe-installcheck-target-libada
2023 installcheck-target: maybe-installcheck-target-libgomp
2024 installcheck-target: maybe-installcheck-target-libitm
2025 installcheck-target: maybe-installcheck-target-libatomic
2026
2027 .PHONY: do-mostlyclean
2028 do-mostlyclean:
2029 @: $(MAKE); $(unstage)
2030 @r=`${PWD_COMMAND}`; export r; \
2031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2032 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2033 mostlyclean-target
2034
2035
2036 .PHONY: mostlyclean-host
2037
2038 mostlyclean-host: maybe-mostlyclean-bfd
2039 mostlyclean-host: maybe-mostlyclean-opcodes
2040 mostlyclean-host: maybe-mostlyclean-binutils
2041 mostlyclean-host: maybe-mostlyclean-bison
2042 mostlyclean-host: maybe-mostlyclean-cgen
2043 mostlyclean-host: maybe-mostlyclean-dejagnu
2044 mostlyclean-host: maybe-mostlyclean-etc
2045 mostlyclean-host: maybe-mostlyclean-fastjar
2046 mostlyclean-host: maybe-mostlyclean-fixincludes
2047 mostlyclean-host: maybe-mostlyclean-flex
2048 mostlyclean-host: maybe-mostlyclean-gas
2049 mostlyclean-host: maybe-mostlyclean-gcc
2050 mostlyclean-host: maybe-mostlyclean-gmp
2051 mostlyclean-host: maybe-mostlyclean-mpfr
2052 mostlyclean-host: maybe-mostlyclean-mpc
2053 mostlyclean-host: maybe-mostlyclean-isl
2054 mostlyclean-host: maybe-mostlyclean-libelf
2055 mostlyclean-host: maybe-mostlyclean-gold
2056 mostlyclean-host: maybe-mostlyclean-gprof
2057 mostlyclean-host: maybe-mostlyclean-intl
2058 mostlyclean-host: maybe-mostlyclean-tcl
2059 mostlyclean-host: maybe-mostlyclean-itcl
2060 mostlyclean-host: maybe-mostlyclean-ld
2061 mostlyclean-host: maybe-mostlyclean-libbacktrace
2062 mostlyclean-host: maybe-mostlyclean-libcpp
2063 mostlyclean-host: maybe-mostlyclean-libdecnumber
2064 mostlyclean-host: maybe-mostlyclean-libgui
2065 mostlyclean-host: maybe-mostlyclean-libiberty
2066 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2067 mostlyclean-host: maybe-mostlyclean-libiconv
2068 mostlyclean-host: maybe-mostlyclean-m4
2069 mostlyclean-host: maybe-mostlyclean-readline
2070 mostlyclean-host: maybe-mostlyclean-sid
2071 mostlyclean-host: maybe-mostlyclean-sim
2072 mostlyclean-host: maybe-mostlyclean-texinfo
2073 mostlyclean-host: maybe-mostlyclean-zlib
2074 mostlyclean-host: maybe-mostlyclean-gnulib
2075 mostlyclean-host: maybe-mostlyclean-gdb
2076 mostlyclean-host: maybe-mostlyclean-expect
2077 mostlyclean-host: maybe-mostlyclean-guile
2078 mostlyclean-host: maybe-mostlyclean-tk
2079 mostlyclean-host: maybe-mostlyclean-libtermcap
2080 mostlyclean-host: maybe-mostlyclean-utils
2081 mostlyclean-host: maybe-mostlyclean-gnattools
2082 mostlyclean-host: maybe-mostlyclean-lto-plugin
2083 mostlyclean-host: maybe-mostlyclean-libcc1
2084 mostlyclean-host: maybe-mostlyclean-gotools
2085 mostlyclean-host: maybe-mostlyclean-libctf
2086
2087 .PHONY: mostlyclean-target
2088
2089 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2090 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2091 mostlyclean-target: maybe-mostlyclean-target-libvtv
2092 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2093 mostlyclean-target: maybe-mostlyclean-target-libssp
2094 mostlyclean-target: maybe-mostlyclean-target-newlib
2095 mostlyclean-target: maybe-mostlyclean-target-libgcc
2096 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2097 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2098 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2099 mostlyclean-target: maybe-mostlyclean-target-libobjc
2100 mostlyclean-target: maybe-mostlyclean-target-libgo
2101 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2102 mostlyclean-target: maybe-mostlyclean-target-libphobos
2103 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2104 mostlyclean-target: maybe-mostlyclean-target-winsup
2105 mostlyclean-target: maybe-mostlyclean-target-libgloss
2106 mostlyclean-target: maybe-mostlyclean-target-libffi
2107 mostlyclean-target: maybe-mostlyclean-target-zlib
2108 mostlyclean-target: maybe-mostlyclean-target-rda
2109 mostlyclean-target: maybe-mostlyclean-target-libada
2110 mostlyclean-target: maybe-mostlyclean-target-libgomp
2111 mostlyclean-target: maybe-mostlyclean-target-libitm
2112 mostlyclean-target: maybe-mostlyclean-target-libatomic
2113
2114 .PHONY: do-clean
2115 do-clean:
2116 @: $(MAKE); $(unstage)
2117 @r=`${PWD_COMMAND}`; export r; \
2118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2119 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2120 clean-target
2121
2122
2123 .PHONY: clean-host
2124
2125 clean-host: maybe-clean-bfd
2126 clean-host: maybe-clean-opcodes
2127 clean-host: maybe-clean-binutils
2128 clean-host: maybe-clean-bison
2129 clean-host: maybe-clean-cgen
2130 clean-host: maybe-clean-dejagnu
2131 clean-host: maybe-clean-etc
2132 clean-host: maybe-clean-fastjar
2133 clean-host: maybe-clean-fixincludes
2134 clean-host: maybe-clean-flex
2135 clean-host: maybe-clean-gas
2136 clean-host: maybe-clean-gcc
2137 clean-host: maybe-clean-gmp
2138 clean-host: maybe-clean-mpfr
2139 clean-host: maybe-clean-mpc
2140 clean-host: maybe-clean-isl
2141 clean-host: maybe-clean-libelf
2142 clean-host: maybe-clean-gold
2143 clean-host: maybe-clean-gprof
2144 clean-host: maybe-clean-intl
2145 clean-host: maybe-clean-tcl
2146 clean-host: maybe-clean-itcl
2147 clean-host: maybe-clean-ld
2148 clean-host: maybe-clean-libbacktrace
2149 clean-host: maybe-clean-libcpp
2150 clean-host: maybe-clean-libdecnumber
2151 clean-host: maybe-clean-libgui
2152 clean-host: maybe-clean-libiberty
2153 clean-host: maybe-clean-libiberty-linker-plugin
2154 clean-host: maybe-clean-libiconv
2155 clean-host: maybe-clean-m4
2156 clean-host: maybe-clean-readline
2157 clean-host: maybe-clean-sid
2158 clean-host: maybe-clean-sim
2159 clean-host: maybe-clean-texinfo
2160 clean-host: maybe-clean-zlib
2161 clean-host: maybe-clean-gnulib
2162 clean-host: maybe-clean-gdb
2163 clean-host: maybe-clean-expect
2164 clean-host: maybe-clean-guile
2165 clean-host: maybe-clean-tk
2166 clean-host: maybe-clean-libtermcap
2167 clean-host: maybe-clean-utils
2168 clean-host: maybe-clean-gnattools
2169 clean-host: maybe-clean-lto-plugin
2170 clean-host: maybe-clean-libcc1
2171 clean-host: maybe-clean-gotools
2172 clean-host: maybe-clean-libctf
2173
2174 .PHONY: clean-target
2175
2176 clean-target: maybe-clean-target-libstdc++-v3
2177 clean-target: maybe-clean-target-libsanitizer
2178 clean-target: maybe-clean-target-libvtv
2179 clean-target: maybe-clean-target-liboffloadmic
2180 clean-target: maybe-clean-target-libssp
2181 clean-target: maybe-clean-target-newlib
2182 clean-target: maybe-clean-target-libgcc
2183 clean-target: maybe-clean-target-libbacktrace
2184 clean-target: maybe-clean-target-libquadmath
2185 clean-target: maybe-clean-target-libgfortran
2186 clean-target: maybe-clean-target-libobjc
2187 clean-target: maybe-clean-target-libgo
2188 clean-target: maybe-clean-target-libhsail-rt
2189 clean-target: maybe-clean-target-libphobos
2190 clean-target: maybe-clean-target-libtermcap
2191 clean-target: maybe-clean-target-winsup
2192 clean-target: maybe-clean-target-libgloss
2193 clean-target: maybe-clean-target-libffi
2194 clean-target: maybe-clean-target-zlib
2195 clean-target: maybe-clean-target-rda
2196 clean-target: maybe-clean-target-libada
2197 clean-target: maybe-clean-target-libgomp
2198 clean-target: maybe-clean-target-libitm
2199 clean-target: maybe-clean-target-libatomic
2200
2201 .PHONY: do-distclean
2202 do-distclean:
2203 @: $(MAKE); $(unstage)
2204 @r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2206 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2207 distclean-target
2208
2209
2210 .PHONY: distclean-host
2211
2212 distclean-host: maybe-distclean-bfd
2213 distclean-host: maybe-distclean-opcodes
2214 distclean-host: maybe-distclean-binutils
2215 distclean-host: maybe-distclean-bison
2216 distclean-host: maybe-distclean-cgen
2217 distclean-host: maybe-distclean-dejagnu
2218 distclean-host: maybe-distclean-etc
2219 distclean-host: maybe-distclean-fastjar
2220 distclean-host: maybe-distclean-fixincludes
2221 distclean-host: maybe-distclean-flex
2222 distclean-host: maybe-distclean-gas
2223 distclean-host: maybe-distclean-gcc
2224 distclean-host: maybe-distclean-gmp
2225 distclean-host: maybe-distclean-mpfr
2226 distclean-host: maybe-distclean-mpc
2227 distclean-host: maybe-distclean-isl
2228 distclean-host: maybe-distclean-libelf
2229 distclean-host: maybe-distclean-gold
2230 distclean-host: maybe-distclean-gprof
2231 distclean-host: maybe-distclean-intl
2232 distclean-host: maybe-distclean-tcl
2233 distclean-host: maybe-distclean-itcl
2234 distclean-host: maybe-distclean-ld
2235 distclean-host: maybe-distclean-libbacktrace
2236 distclean-host: maybe-distclean-libcpp
2237 distclean-host: maybe-distclean-libdecnumber
2238 distclean-host: maybe-distclean-libgui
2239 distclean-host: maybe-distclean-libiberty
2240 distclean-host: maybe-distclean-libiberty-linker-plugin
2241 distclean-host: maybe-distclean-libiconv
2242 distclean-host: maybe-distclean-m4
2243 distclean-host: maybe-distclean-readline
2244 distclean-host: maybe-distclean-sid
2245 distclean-host: maybe-distclean-sim
2246 distclean-host: maybe-distclean-texinfo
2247 distclean-host: maybe-distclean-zlib
2248 distclean-host: maybe-distclean-gnulib
2249 distclean-host: maybe-distclean-gdb
2250 distclean-host: maybe-distclean-expect
2251 distclean-host: maybe-distclean-guile
2252 distclean-host: maybe-distclean-tk
2253 distclean-host: maybe-distclean-libtermcap
2254 distclean-host: maybe-distclean-utils
2255 distclean-host: maybe-distclean-gnattools
2256 distclean-host: maybe-distclean-lto-plugin
2257 distclean-host: maybe-distclean-libcc1
2258 distclean-host: maybe-distclean-gotools
2259 distclean-host: maybe-distclean-libctf
2260
2261 .PHONY: distclean-target
2262
2263 distclean-target: maybe-distclean-target-libstdc++-v3
2264 distclean-target: maybe-distclean-target-libsanitizer
2265 distclean-target: maybe-distclean-target-libvtv
2266 distclean-target: maybe-distclean-target-liboffloadmic
2267 distclean-target: maybe-distclean-target-libssp
2268 distclean-target: maybe-distclean-target-newlib
2269 distclean-target: maybe-distclean-target-libgcc
2270 distclean-target: maybe-distclean-target-libbacktrace
2271 distclean-target: maybe-distclean-target-libquadmath
2272 distclean-target: maybe-distclean-target-libgfortran
2273 distclean-target: maybe-distclean-target-libobjc
2274 distclean-target: maybe-distclean-target-libgo
2275 distclean-target: maybe-distclean-target-libhsail-rt
2276 distclean-target: maybe-distclean-target-libphobos
2277 distclean-target: maybe-distclean-target-libtermcap
2278 distclean-target: maybe-distclean-target-winsup
2279 distclean-target: maybe-distclean-target-libgloss
2280 distclean-target: maybe-distclean-target-libffi
2281 distclean-target: maybe-distclean-target-zlib
2282 distclean-target: maybe-distclean-target-rda
2283 distclean-target: maybe-distclean-target-libada
2284 distclean-target: maybe-distclean-target-libgomp
2285 distclean-target: maybe-distclean-target-libitm
2286 distclean-target: maybe-distclean-target-libatomic
2287
2288 .PHONY: do-maintainer-clean
2289 do-maintainer-clean:
2290 @: $(MAKE); $(unstage)
2291 @r=`${PWD_COMMAND}`; export r; \
2292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2293 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2294 maintainer-clean-target
2295
2296
2297 .PHONY: maintainer-clean-host
2298
2299 maintainer-clean-host: maybe-maintainer-clean-bfd
2300 maintainer-clean-host: maybe-maintainer-clean-opcodes
2301 maintainer-clean-host: maybe-maintainer-clean-binutils
2302 maintainer-clean-host: maybe-maintainer-clean-bison
2303 maintainer-clean-host: maybe-maintainer-clean-cgen
2304 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2305 maintainer-clean-host: maybe-maintainer-clean-etc
2306 maintainer-clean-host: maybe-maintainer-clean-fastjar
2307 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2308 maintainer-clean-host: maybe-maintainer-clean-flex
2309 maintainer-clean-host: maybe-maintainer-clean-gas
2310 maintainer-clean-host: maybe-maintainer-clean-gcc
2311 maintainer-clean-host: maybe-maintainer-clean-gmp
2312 maintainer-clean-host: maybe-maintainer-clean-mpfr
2313 maintainer-clean-host: maybe-maintainer-clean-mpc
2314 maintainer-clean-host: maybe-maintainer-clean-isl
2315 maintainer-clean-host: maybe-maintainer-clean-libelf
2316 maintainer-clean-host: maybe-maintainer-clean-gold
2317 maintainer-clean-host: maybe-maintainer-clean-gprof
2318 maintainer-clean-host: maybe-maintainer-clean-intl
2319 maintainer-clean-host: maybe-maintainer-clean-tcl
2320 maintainer-clean-host: maybe-maintainer-clean-itcl
2321 maintainer-clean-host: maybe-maintainer-clean-ld
2322 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2323 maintainer-clean-host: maybe-maintainer-clean-libcpp
2324 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2325 maintainer-clean-host: maybe-maintainer-clean-libgui
2326 maintainer-clean-host: maybe-maintainer-clean-libiberty
2327 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2328 maintainer-clean-host: maybe-maintainer-clean-libiconv
2329 maintainer-clean-host: maybe-maintainer-clean-m4
2330 maintainer-clean-host: maybe-maintainer-clean-readline
2331 maintainer-clean-host: maybe-maintainer-clean-sid
2332 maintainer-clean-host: maybe-maintainer-clean-sim
2333 maintainer-clean-host: maybe-maintainer-clean-texinfo
2334 maintainer-clean-host: maybe-maintainer-clean-zlib
2335 maintainer-clean-host: maybe-maintainer-clean-gnulib
2336 maintainer-clean-host: maybe-maintainer-clean-gdb
2337 maintainer-clean-host: maybe-maintainer-clean-expect
2338 maintainer-clean-host: maybe-maintainer-clean-guile
2339 maintainer-clean-host: maybe-maintainer-clean-tk
2340 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2341 maintainer-clean-host: maybe-maintainer-clean-utils
2342 maintainer-clean-host: maybe-maintainer-clean-gnattools
2343 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2344 maintainer-clean-host: maybe-maintainer-clean-libcc1
2345 maintainer-clean-host: maybe-maintainer-clean-gotools
2346 maintainer-clean-host: maybe-maintainer-clean-libctf
2347
2348 .PHONY: maintainer-clean-target
2349
2350 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2351 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2352 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2353 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2354 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2355 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2356 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2357 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2358 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2359 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2360 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2361 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2362 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2363 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2364 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2365 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2366 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2367 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2368 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2369 maintainer-clean-target: maybe-maintainer-clean-target-rda
2370 maintainer-clean-target: maybe-maintainer-clean-target-libada
2371 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2372 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2373 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2374
2375
2376 # Here are the targets which correspond to the do-X targets.
2377
2378 .PHONY: info installcheck dvi pdf html
2379 .PHONY: install-info install-pdf install-html
2380 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2381 .PHONY: local-clean local-distclean local-maintainer-clean
2382 info: do-info
2383 installcheck: do-installcheck
2384 dvi: do-dvi
2385 pdf: do-pdf
2386 html: do-html
2387
2388 # Make sure makeinfo is built before we do a `make info', if we're
2389 # in fact building texinfo.
2390 do-info: maybe-all-texinfo
2391
2392 install-info: do-install-info dir.info
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 if [ -f dir.info ]; then \
2395 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2396 else true; fi
2397
2398 install-pdf: do-install-pdf
2399
2400 install-html: do-install-html
2401
2402 local-clean:
2403 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2404
2405 local-distclean:
2406 -rm -f Makefile config.status config.cache mh-frag mt-frag
2407 -rm -f maybedep.tmp serdep.tmp stage_final
2408 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2409 rm -rf $(TARGET_SUBDIR); \
2410 else true; fi
2411 -rm -rf $(BUILD_SUBDIR)
2412 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2413 rm -rf $(HOST_SUBDIR); \
2414 else true; fi
2415 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2416 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2417 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2418 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2419 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2420 -rmdir texinfo zlib 2>/dev/null
2421 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2422
2423 local-maintainer-clean:
2424 @echo "This command is intended for maintainers to use;"
2425 @echo "it deletes files that may require special tools to rebuild."
2426
2427 clean: do-clean local-clean
2428 mostlyclean: do-mostlyclean local-clean
2429 distclean: do-distclean local-clean local-distclean
2430 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2431 maintainer-clean: local-distclean
2432 realclean: maintainer-clean
2433
2434 # Check target.
2435
2436 .PHONY: check do-check
2437 check: do-check
2438
2439 # Only include modules actually being configured and built.
2440 .PHONY: check-host
2441 check-host: \
2442 maybe-check-bfd \
2443 maybe-check-opcodes \
2444 maybe-check-binutils \
2445 maybe-check-bison \
2446 maybe-check-cgen \
2447 maybe-check-dejagnu \
2448 maybe-check-etc \
2449 maybe-check-fastjar \
2450 maybe-check-fixincludes \
2451 maybe-check-flex \
2452 maybe-check-gas \
2453 maybe-check-gcc \
2454 maybe-check-gmp \
2455 maybe-check-mpfr \
2456 maybe-check-mpc \
2457 maybe-check-isl \
2458 maybe-check-libelf \
2459 maybe-check-gold \
2460 maybe-check-gprof \
2461 maybe-check-intl \
2462 maybe-check-tcl \
2463 maybe-check-itcl \
2464 maybe-check-ld \
2465 maybe-check-libbacktrace \
2466 maybe-check-libcpp \
2467 maybe-check-libdecnumber \
2468 maybe-check-libgui \
2469 maybe-check-libiberty \
2470 maybe-check-libiberty-linker-plugin \
2471 maybe-check-libiconv \
2472 maybe-check-m4 \
2473 maybe-check-readline \
2474 maybe-check-sid \
2475 maybe-check-sim \
2476 maybe-check-texinfo \
2477 maybe-check-zlib \
2478 maybe-check-gnulib \
2479 maybe-check-gdb \
2480 maybe-check-expect \
2481 maybe-check-guile \
2482 maybe-check-tk \
2483 maybe-check-libtermcap \
2484 maybe-check-utils \
2485 maybe-check-gnattools \
2486 maybe-check-lto-plugin \
2487 maybe-check-libcc1 \
2488 maybe-check-gotools \
2489 maybe-check-libctf
2490
2491 .PHONY: check-target
2492 check-target: \
2493 maybe-check-target-libstdc++-v3 \
2494 maybe-check-target-libsanitizer \
2495 maybe-check-target-libvtv \
2496 maybe-check-target-liboffloadmic \
2497 maybe-check-target-libssp \
2498 maybe-check-target-newlib \
2499 maybe-check-target-libgcc \
2500 maybe-check-target-libbacktrace \
2501 maybe-check-target-libquadmath \
2502 maybe-check-target-libgfortran \
2503 maybe-check-target-libobjc \
2504 maybe-check-target-libgo \
2505 maybe-check-target-libhsail-rt \
2506 maybe-check-target-libphobos \
2507 maybe-check-target-libtermcap \
2508 maybe-check-target-winsup \
2509 maybe-check-target-libgloss \
2510 maybe-check-target-libffi \
2511 maybe-check-target-zlib \
2512 maybe-check-target-rda \
2513 maybe-check-target-libada \
2514 maybe-check-target-libgomp \
2515 maybe-check-target-libitm \
2516 maybe-check-target-libatomic
2517
2518 do-check:
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2523
2524 # Automated reporting of test results.
2525
2526 warning.log: build.log
2527 $(srcdir)/contrib/warn_summary build.log > $@
2528
2529 mail-report.log:
2530 if test x'$(BOOT_CFLAGS)' != x''; then \
2531 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2532 fi; \
2533 $(srcdir)/contrib/test_summary -t >$@
2534 chmod +x $@
2535 echo If you really want to send e-mail, run ./$@ now
2536
2537 mail-report-with-warnings.log: warning.log
2538 if test x'$(BOOT_CFLAGS)' != x''; then \
2539 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2540 fi; \
2541 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2542 chmod +x $@
2543 echo If you really want to send e-mail, run ./$@ now
2544
2545 # Local Vim config
2546
2547 $(srcdir)/.local.vimrc:
2548 $(LN_S) contrib/vimrc $@
2549
2550 $(srcdir)/.lvimrc:
2551 $(LN_S) contrib/vimrc $@
2552
2553 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2554
2555 .PHONY: vimrc
2556
2557 # clang-format config
2558
2559 $(srcdir)/.clang-format:
2560 $(LN_S) contrib/clang-format $@
2561
2562 clang-format: $(srcdir)/.clang-format
2563
2564 .PHONY: clang-format
2565
2566 # Installation targets.
2567
2568 .PHONY: install uninstall
2569 install:
2570 @: $(MAKE); $(unstage)
2571 @r=`${PWD_COMMAND}`; export r; \
2572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2574
2575 .PHONY: install-host-nogcc
2576 install-host-nogcc: \
2577 maybe-install-bfd \
2578 maybe-install-opcodes \
2579 maybe-install-binutils \
2580 maybe-install-bison \
2581 maybe-install-cgen \
2582 maybe-install-dejagnu \
2583 maybe-install-etc \
2584 maybe-install-fastjar \
2585 maybe-install-fixincludes \
2586 maybe-install-flex \
2587 maybe-install-gas \
2588 maybe-install-gmp \
2589 maybe-install-mpfr \
2590 maybe-install-mpc \
2591 maybe-install-isl \
2592 maybe-install-libelf \
2593 maybe-install-gold \
2594 maybe-install-gprof \
2595 maybe-install-intl \
2596 maybe-install-tcl \
2597 maybe-install-itcl \
2598 maybe-install-ld \
2599 maybe-install-libbacktrace \
2600 maybe-install-libcpp \
2601 maybe-install-libdecnumber \
2602 maybe-install-libgui \
2603 maybe-install-libiberty \
2604 maybe-install-libiberty-linker-plugin \
2605 maybe-install-libiconv \
2606 maybe-install-m4 \
2607 maybe-install-readline \
2608 maybe-install-sid \
2609 maybe-install-sim \
2610 maybe-install-texinfo \
2611 maybe-install-zlib \
2612 maybe-install-gnulib \
2613 maybe-install-gdb \
2614 maybe-install-expect \
2615 maybe-install-guile \
2616 maybe-install-tk \
2617 maybe-install-libtermcap \
2618 maybe-install-utils \
2619 maybe-install-gnattools \
2620 maybe-install-lto-plugin \
2621 maybe-install-libcc1 \
2622 maybe-install-gotools \
2623 maybe-install-libctf
2624
2625 .PHONY: install-host
2626 install-host: \
2627 maybe-install-bfd \
2628 maybe-install-opcodes \
2629 maybe-install-binutils \
2630 maybe-install-bison \
2631 maybe-install-cgen \
2632 maybe-install-dejagnu \
2633 maybe-install-etc \
2634 maybe-install-fastjar \
2635 maybe-install-fixincludes \
2636 maybe-install-flex \
2637 maybe-install-gas \
2638 maybe-install-gcc \
2639 maybe-install-gmp \
2640 maybe-install-mpfr \
2641 maybe-install-mpc \
2642 maybe-install-isl \
2643 maybe-install-libelf \
2644 maybe-install-gold \
2645 maybe-install-gprof \
2646 maybe-install-intl \
2647 maybe-install-tcl \
2648 maybe-install-itcl \
2649 maybe-install-ld \
2650 maybe-install-libbacktrace \
2651 maybe-install-libcpp \
2652 maybe-install-libdecnumber \
2653 maybe-install-libgui \
2654 maybe-install-libiberty \
2655 maybe-install-libiberty-linker-plugin \
2656 maybe-install-libiconv \
2657 maybe-install-m4 \
2658 maybe-install-readline \
2659 maybe-install-sid \
2660 maybe-install-sim \
2661 maybe-install-texinfo \
2662 maybe-install-zlib \
2663 maybe-install-gnulib \
2664 maybe-install-gdb \
2665 maybe-install-expect \
2666 maybe-install-guile \
2667 maybe-install-tk \
2668 maybe-install-libtermcap \
2669 maybe-install-utils \
2670 maybe-install-gnattools \
2671 maybe-install-lto-plugin \
2672 maybe-install-libcc1 \
2673 maybe-install-gotools \
2674 maybe-install-libctf
2675
2676 .PHONY: install-target
2677 install-target: \
2678 maybe-install-target-libstdc++-v3 \
2679 maybe-install-target-libsanitizer \
2680 maybe-install-target-libvtv \
2681 maybe-install-target-liboffloadmic \
2682 maybe-install-target-libssp \
2683 maybe-install-target-newlib \
2684 maybe-install-target-libgcc \
2685 maybe-install-target-libbacktrace \
2686 maybe-install-target-libquadmath \
2687 maybe-install-target-libgfortran \
2688 maybe-install-target-libobjc \
2689 maybe-install-target-libgo \
2690 maybe-install-target-libhsail-rt \
2691 maybe-install-target-libphobos \
2692 maybe-install-target-libtermcap \
2693 maybe-install-target-winsup \
2694 maybe-install-target-libgloss \
2695 maybe-install-target-libffi \
2696 maybe-install-target-zlib \
2697 maybe-install-target-rda \
2698 maybe-install-target-libada \
2699 maybe-install-target-libgomp \
2700 maybe-install-target-libitm \
2701 maybe-install-target-libatomic
2702
2703 uninstall:
2704 @echo "the uninstall target is not supported in this tree"
2705
2706 .PHONY: install.all
2707 install.all: install-no-fixedincludes
2708 @if [ -f ./gcc/Makefile ]; then \
2709 r=`${PWD_COMMAND}`; export r; \
2710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2711 $(HOST_EXPORTS) \
2712 (cd ./gcc && \
2713 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2714 else \
2715 true; \
2716 fi
2717
2718 # install-no-fixedincludes is used to allow the elaboration of binary packages
2719 # suitable for distribution, where we cannot include the fixed system header
2720 # files.
2721 .PHONY: install-no-fixedincludes
2722 install-no-fixedincludes: installdirs install-host-nogcc \
2723 install-target gcc-install-no-fixedincludes
2724
2725 .PHONY: install-strip
2726 install-strip:
2727 @: $(MAKE); $(unstage)
2728 @r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2731
2732 .PHONY: install-strip-host
2733 install-strip-host: \
2734 maybe-install-strip-bfd \
2735 maybe-install-strip-opcodes \
2736 maybe-install-strip-binutils \
2737 maybe-install-strip-bison \
2738 maybe-install-strip-cgen \
2739 maybe-install-strip-dejagnu \
2740 maybe-install-strip-etc \
2741 maybe-install-strip-fastjar \
2742 maybe-install-strip-fixincludes \
2743 maybe-install-strip-flex \
2744 maybe-install-strip-gas \
2745 maybe-install-strip-gcc \
2746 maybe-install-strip-gmp \
2747 maybe-install-strip-mpfr \
2748 maybe-install-strip-mpc \
2749 maybe-install-strip-isl \
2750 maybe-install-strip-libelf \
2751 maybe-install-strip-gold \
2752 maybe-install-strip-gprof \
2753 maybe-install-strip-intl \
2754 maybe-install-strip-tcl \
2755 maybe-install-strip-itcl \
2756 maybe-install-strip-ld \
2757 maybe-install-strip-libbacktrace \
2758 maybe-install-strip-libcpp \
2759 maybe-install-strip-libdecnumber \
2760 maybe-install-strip-libgui \
2761 maybe-install-strip-libiberty \
2762 maybe-install-strip-libiberty-linker-plugin \
2763 maybe-install-strip-libiconv \
2764 maybe-install-strip-m4 \
2765 maybe-install-strip-readline \
2766 maybe-install-strip-sid \
2767 maybe-install-strip-sim \
2768 maybe-install-strip-texinfo \
2769 maybe-install-strip-zlib \
2770 maybe-install-strip-gnulib \
2771 maybe-install-strip-gdb \
2772 maybe-install-strip-expect \
2773 maybe-install-strip-guile \
2774 maybe-install-strip-tk \
2775 maybe-install-strip-libtermcap \
2776 maybe-install-strip-utils \
2777 maybe-install-strip-gnattools \
2778 maybe-install-strip-lto-plugin \
2779 maybe-install-strip-libcc1 \
2780 maybe-install-strip-gotools \
2781 maybe-install-strip-libctf
2782
2783 .PHONY: install-strip-target
2784 install-strip-target: \
2785 maybe-install-strip-target-libstdc++-v3 \
2786 maybe-install-strip-target-libsanitizer \
2787 maybe-install-strip-target-libvtv \
2788 maybe-install-strip-target-liboffloadmic \
2789 maybe-install-strip-target-libssp \
2790 maybe-install-strip-target-newlib \
2791 maybe-install-strip-target-libgcc \
2792 maybe-install-strip-target-libbacktrace \
2793 maybe-install-strip-target-libquadmath \
2794 maybe-install-strip-target-libgfortran \
2795 maybe-install-strip-target-libobjc \
2796 maybe-install-strip-target-libgo \
2797 maybe-install-strip-target-libhsail-rt \
2798 maybe-install-strip-target-libphobos \
2799 maybe-install-strip-target-libtermcap \
2800 maybe-install-strip-target-winsup \
2801 maybe-install-strip-target-libgloss \
2802 maybe-install-strip-target-libffi \
2803 maybe-install-strip-target-zlib \
2804 maybe-install-strip-target-rda \
2805 maybe-install-strip-target-libada \
2806 maybe-install-strip-target-libgomp \
2807 maybe-install-strip-target-libitm \
2808 maybe-install-strip-target-libatomic
2809
2810
2811 ### other supporting targets
2812
2813 MAKEDIRS= \
2814 $(DESTDIR)$(prefix) \
2815 $(DESTDIR)$(exec_prefix)
2816 .PHONY: installdirs
2817 installdirs: mkinstalldirs
2818 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2819
2820 dir.info: do-install-info
2821 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2822 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2823 mv -f dir.info.new dir.info; \
2824 else true; \
2825 fi
2826
2827 dist:
2828 @echo "Building a full distribution of this tree isn't done"
2829 @echo "via 'make dist'. Check out the etc/ subdirectory"
2830
2831 etags tags: TAGS
2832
2833 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2834 # ability to use several tags files at once, so there is probably no need
2835 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2836 # (if we felt like it) have this Makefile write a piece of elisp which
2837 # the user could load to tell emacs19 where all the TAGS files we just
2838 # built are.
2839 TAGS: do-TAGS
2840
2841 # ------------------------------------
2842 # Macros for configure and all targets
2843 # ------------------------------------
2844
2845
2846
2847
2848
2849 # --------------------------------------
2850 # Modules which run on the build machine
2851 # --------------------------------------
2852
2853
2854 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2855 maybe-configure-build-libiberty:
2856 @if gcc-bootstrap
2857 configure-build-libiberty: stage_current
2858 @endif gcc-bootstrap
2859 @if build-libiberty
2860 maybe-configure-build-libiberty: configure-build-libiberty
2861 configure-build-libiberty:
2862 @: $(MAKE); $(unstage)
2863 @r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2866 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2867 $(BUILD_EXPORTS) \
2868 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2869 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2870 case $(srcdir) in \
2871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2872 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2874 esac; \
2875 module_srcdir=libiberty; \
2876 rm -f no-such-file || : ; \
2877 CONFIG_SITE=no-such-file $(SHELL) \
2878 $$s/$$module_srcdir/configure \
2879 --srcdir=$${topdir}/$$module_srcdir \
2880 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2881 --target=${target_alias} \
2882 || exit 1
2883 @endif build-libiberty
2884
2885
2886
2887
2888
2889 .PHONY: all-build-libiberty maybe-all-build-libiberty
2890 maybe-all-build-libiberty:
2891 @if gcc-bootstrap
2892 all-build-libiberty: stage_current
2893 @endif gcc-bootstrap
2894 @if build-libiberty
2895 TARGET-build-libiberty=all
2896 maybe-all-build-libiberty: all-build-libiberty
2897 all-build-libiberty: configure-build-libiberty
2898 @: $(MAKE); $(unstage)
2899 @r=`${PWD_COMMAND}`; export r; \
2900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 $(BUILD_EXPORTS) \
2902 (cd $(BUILD_SUBDIR)/libiberty && \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2904 $(TARGET-build-libiberty))
2905 @endif build-libiberty
2906
2907
2908
2909
2910
2911 .PHONY: configure-build-bison maybe-configure-build-bison
2912 maybe-configure-build-bison:
2913 @if gcc-bootstrap
2914 configure-build-bison: stage_current
2915 @endif gcc-bootstrap
2916 @if build-bison
2917 maybe-configure-build-bison: configure-build-bison
2918 configure-build-bison:
2919 @: $(MAKE); $(unstage)
2920 @r=`${PWD_COMMAND}`; export r; \
2921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2922 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2923 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2924 $(BUILD_EXPORTS) \
2925 echo Configuring in $(BUILD_SUBDIR)/bison; \
2926 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2927 case $(srcdir) in \
2928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2929 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2931 esac; \
2932 module_srcdir=bison; \
2933 rm -f no-such-file || : ; \
2934 CONFIG_SITE=no-such-file $(SHELL) \
2935 $$s/$$module_srcdir/configure \
2936 --srcdir=$${topdir}/$$module_srcdir \
2937 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2938 --target=${target_alias} \
2939 || exit 1
2940 @endif build-bison
2941
2942
2943
2944
2945
2946 .PHONY: all-build-bison maybe-all-build-bison
2947 maybe-all-build-bison:
2948 @if gcc-bootstrap
2949 all-build-bison: stage_current
2950 @endif gcc-bootstrap
2951 @if build-bison
2952 TARGET-build-bison=all
2953 maybe-all-build-bison: all-build-bison
2954 all-build-bison: configure-build-bison
2955 @: $(MAKE); $(unstage)
2956 @r=`${PWD_COMMAND}`; export r; \
2957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2958 $(BUILD_EXPORTS) \
2959 (cd $(BUILD_SUBDIR)/bison && \
2960 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2961 $(TARGET-build-bison))
2962 @endif build-bison
2963
2964
2965
2966
2967
2968 .PHONY: configure-build-flex maybe-configure-build-flex
2969 maybe-configure-build-flex:
2970 @if gcc-bootstrap
2971 configure-build-flex: stage_current
2972 @endif gcc-bootstrap
2973 @if build-flex
2974 maybe-configure-build-flex: configure-build-flex
2975 configure-build-flex:
2976 @: $(MAKE); $(unstage)
2977 @r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2980 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2981 $(BUILD_EXPORTS) \
2982 echo Configuring in $(BUILD_SUBDIR)/flex; \
2983 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2984 case $(srcdir) in \
2985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2986 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2988 esac; \
2989 module_srcdir=flex; \
2990 rm -f no-such-file || : ; \
2991 CONFIG_SITE=no-such-file $(SHELL) \
2992 $$s/$$module_srcdir/configure \
2993 --srcdir=$${topdir}/$$module_srcdir \
2994 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2995 --target=${target_alias} \
2996 || exit 1
2997 @endif build-flex
2998
2999
3000
3001
3002
3003 .PHONY: all-build-flex maybe-all-build-flex
3004 maybe-all-build-flex:
3005 @if gcc-bootstrap
3006 all-build-flex: stage_current
3007 @endif gcc-bootstrap
3008 @if build-flex
3009 TARGET-build-flex=all
3010 maybe-all-build-flex: all-build-flex
3011 all-build-flex: configure-build-flex
3012 @: $(MAKE); $(unstage)
3013 @r=`${PWD_COMMAND}`; export r; \
3014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3015 $(BUILD_EXPORTS) \
3016 (cd $(BUILD_SUBDIR)/flex && \
3017 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3018 $(TARGET-build-flex))
3019 @endif build-flex
3020
3021
3022
3023
3024
3025 .PHONY: configure-build-m4 maybe-configure-build-m4
3026 maybe-configure-build-m4:
3027 @if gcc-bootstrap
3028 configure-build-m4: stage_current
3029 @endif gcc-bootstrap
3030 @if build-m4
3031 maybe-configure-build-m4: configure-build-m4
3032 configure-build-m4:
3033 @: $(MAKE); $(unstage)
3034 @r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3037 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3038 $(BUILD_EXPORTS) \
3039 echo Configuring in $(BUILD_SUBDIR)/m4; \
3040 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3041 case $(srcdir) in \
3042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3043 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3045 esac; \
3046 module_srcdir=m4; \
3047 rm -f no-such-file || : ; \
3048 CONFIG_SITE=no-such-file $(SHELL) \
3049 $$s/$$module_srcdir/configure \
3050 --srcdir=$${topdir}/$$module_srcdir \
3051 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3052 --target=${target_alias} \
3053 || exit 1
3054 @endif build-m4
3055
3056
3057
3058
3059
3060 .PHONY: all-build-m4 maybe-all-build-m4
3061 maybe-all-build-m4:
3062 @if gcc-bootstrap
3063 all-build-m4: stage_current
3064 @endif gcc-bootstrap
3065 @if build-m4
3066 TARGET-build-m4=all
3067 maybe-all-build-m4: all-build-m4
3068 all-build-m4: configure-build-m4
3069 @: $(MAKE); $(unstage)
3070 @r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 $(BUILD_EXPORTS) \
3073 (cd $(BUILD_SUBDIR)/m4 && \
3074 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3075 $(TARGET-build-m4))
3076 @endif build-m4
3077
3078
3079
3080
3081
3082 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3083 maybe-configure-build-texinfo:
3084 @if gcc-bootstrap
3085 configure-build-texinfo: stage_current
3086 @endif gcc-bootstrap
3087 @if build-texinfo
3088 maybe-configure-build-texinfo: configure-build-texinfo
3089 configure-build-texinfo:
3090 @: $(MAKE); $(unstage)
3091 @r=`${PWD_COMMAND}`; export r; \
3092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3093 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3094 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3095 $(BUILD_EXPORTS) \
3096 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3097 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3098 case $(srcdir) in \
3099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3100 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3102 esac; \
3103 module_srcdir=texinfo; \
3104 rm -f no-such-file || : ; \
3105 CONFIG_SITE=no-such-file $(SHELL) \
3106 $$s/$$module_srcdir/configure \
3107 --srcdir=$${topdir}/$$module_srcdir \
3108 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3109 --target=${target_alias} \
3110 || exit 1
3111 @endif build-texinfo
3112
3113
3114
3115
3116
3117 .PHONY: all-build-texinfo maybe-all-build-texinfo
3118 maybe-all-build-texinfo:
3119 @if gcc-bootstrap
3120 all-build-texinfo: stage_current
3121 @endif gcc-bootstrap
3122 @if build-texinfo
3123 TARGET-build-texinfo=all
3124 maybe-all-build-texinfo: all-build-texinfo
3125 all-build-texinfo: configure-build-texinfo
3126 @: $(MAKE); $(unstage)
3127 @r=`${PWD_COMMAND}`; export r; \
3128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3129 $(BUILD_EXPORTS) \
3130 (cd $(BUILD_SUBDIR)/texinfo && \
3131 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3132 $(TARGET-build-texinfo))
3133 @endif build-texinfo
3134
3135
3136
3137
3138
3139 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3140 maybe-configure-build-fixincludes:
3141 @if gcc-bootstrap
3142 configure-build-fixincludes: stage_current
3143 @endif gcc-bootstrap
3144 @if build-fixincludes
3145 maybe-configure-build-fixincludes: configure-build-fixincludes
3146 configure-build-fixincludes:
3147 @: $(MAKE); $(unstage)
3148 @r=`${PWD_COMMAND}`; export r; \
3149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3150 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3151 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3152 $(BUILD_EXPORTS) \
3153 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3154 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3155 case $(srcdir) in \
3156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3157 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3159 esac; \
3160 module_srcdir=fixincludes; \
3161 rm -f no-such-file || : ; \
3162 CONFIG_SITE=no-such-file $(SHELL) \
3163 $$s/$$module_srcdir/configure \
3164 --srcdir=$${topdir}/$$module_srcdir \
3165 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3166 --target=${target_alias} \
3167 || exit 1
3168 @endif build-fixincludes
3169
3170
3171
3172
3173
3174 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3175 maybe-all-build-fixincludes:
3176 @if gcc-bootstrap
3177 all-build-fixincludes: stage_current
3178 @endif gcc-bootstrap
3179 @if build-fixincludes
3180 TARGET-build-fixincludes=all
3181 maybe-all-build-fixincludes: all-build-fixincludes
3182 all-build-fixincludes: configure-build-fixincludes
3183 @: $(MAKE); $(unstage)
3184 @r=`${PWD_COMMAND}`; export r; \
3185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3186 $(BUILD_EXPORTS) \
3187 (cd $(BUILD_SUBDIR)/fixincludes && \
3188 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3189 $(TARGET-build-fixincludes))
3190 @endif build-fixincludes
3191
3192
3193
3194
3195
3196 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3197 maybe-configure-build-libcpp:
3198 @if gcc-bootstrap
3199 configure-build-libcpp: stage_current
3200 @endif gcc-bootstrap
3201 @if build-libcpp
3202 maybe-configure-build-libcpp: configure-build-libcpp
3203 configure-build-libcpp:
3204 @: $(MAKE); $(unstage)
3205 @r=`${PWD_COMMAND}`; export r; \
3206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3207 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3208 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3209 $(BUILD_EXPORTS) \
3210 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3211 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3212 case $(srcdir) in \
3213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3214 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3216 esac; \
3217 module_srcdir=libcpp; \
3218 rm -f no-such-file || : ; \
3219 CONFIG_SITE=no-such-file $(SHELL) \
3220 $$s/$$module_srcdir/configure \
3221 --srcdir=$${topdir}/$$module_srcdir \
3222 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3223 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3224 || exit 1
3225 @endif build-libcpp
3226
3227
3228
3229
3230
3231 .PHONY: all-build-libcpp maybe-all-build-libcpp
3232 maybe-all-build-libcpp:
3233 @if gcc-bootstrap
3234 all-build-libcpp: stage_current
3235 @endif gcc-bootstrap
3236 @if build-libcpp
3237 TARGET-build-libcpp=all
3238 maybe-all-build-libcpp: all-build-libcpp
3239 all-build-libcpp: configure-build-libcpp
3240 @: $(MAKE); $(unstage)
3241 @r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 $(BUILD_EXPORTS) \
3244 (cd $(BUILD_SUBDIR)/libcpp && \
3245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3246 $(TARGET-build-libcpp))
3247 @endif build-libcpp
3248
3249
3250
3251
3252
3253 # --------------------------------------
3254 # Modules which run on the host machine
3255 # --------------------------------------
3256
3257
3258 .PHONY: configure-bfd maybe-configure-bfd
3259 maybe-configure-bfd:
3260 @if gcc-bootstrap
3261 configure-bfd: stage_current
3262 @endif gcc-bootstrap
3263 @if bfd
3264 maybe-configure-bfd: configure-bfd
3265 configure-bfd:
3266 @r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3268 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3270 $(HOST_EXPORTS) \
3271 echo Configuring in $(HOST_SUBDIR)/bfd; \
3272 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3273 case $(srcdir) in \
3274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3275 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3277 esac; \
3278 module_srcdir=bfd; \
3279 $(SHELL) \
3280 $$s/$$module_srcdir/configure \
3281 --srcdir=$${topdir}/$$module_srcdir \
3282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3283 --target=${target_alias} \
3284 || exit 1
3285 @endif bfd
3286
3287
3288
3289 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3290 maybe-configure-stage1-bfd:
3291 @if bfd-bootstrap
3292 maybe-configure-stage1-bfd: configure-stage1-bfd
3293 configure-stage1-bfd:
3294 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3296 @r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 TFLAGS="$(STAGE1_TFLAGS)"; \
3299 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3300 $(HOST_EXPORTS) \
3301 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3302 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3303 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3304 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3306 cd $(HOST_SUBDIR)/bfd || exit 1; \
3307 case $(srcdir) in \
3308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3309 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3311 esac; \
3312 module_srcdir=bfd; \
3313 $(SHELL) $$s/$$module_srcdir/configure \
3314 --srcdir=$${topdir}/$$module_srcdir \
3315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3316 --target=${target_alias} \
3317 \
3318 $(STAGE1_CONFIGURE_FLAGS)
3319 @endif bfd-bootstrap
3320
3321 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3322 maybe-configure-stage2-bfd:
3323 @if bfd-bootstrap
3324 maybe-configure-stage2-bfd: configure-stage2-bfd
3325 configure-stage2-bfd:
3326 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3328 @r=`${PWD_COMMAND}`; export r; \
3329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3330 TFLAGS="$(STAGE2_TFLAGS)"; \
3331 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3332 $(HOST_EXPORTS) \
3333 $(POSTSTAGE1_HOST_EXPORTS) \
3334 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3335 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3336 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3337 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3339 cd $(HOST_SUBDIR)/bfd || exit 1; \
3340 case $(srcdir) in \
3341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3342 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3344 esac; \
3345 module_srcdir=bfd; \
3346 $(SHELL) $$s/$$module_srcdir/configure \
3347 --srcdir=$${topdir}/$$module_srcdir \
3348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3349 --target=${target_alias} \
3350 --with-build-libsubdir=$(HOST_SUBDIR) \
3351 $(STAGE2_CONFIGURE_FLAGS)
3352 @endif bfd-bootstrap
3353
3354 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3355 maybe-configure-stage3-bfd:
3356 @if bfd-bootstrap
3357 maybe-configure-stage3-bfd: configure-stage3-bfd
3358 configure-stage3-bfd:
3359 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3361 @r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 TFLAGS="$(STAGE3_TFLAGS)"; \
3364 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3365 $(HOST_EXPORTS) \
3366 $(POSTSTAGE1_HOST_EXPORTS) \
3367 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3368 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3369 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3370 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3372 cd $(HOST_SUBDIR)/bfd || exit 1; \
3373 case $(srcdir) in \
3374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3375 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3377 esac; \
3378 module_srcdir=bfd; \
3379 $(SHELL) $$s/$$module_srcdir/configure \
3380 --srcdir=$${topdir}/$$module_srcdir \
3381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3382 --target=${target_alias} \
3383 --with-build-libsubdir=$(HOST_SUBDIR) \
3384 $(STAGE3_CONFIGURE_FLAGS)
3385 @endif bfd-bootstrap
3386
3387 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3388 maybe-configure-stage4-bfd:
3389 @if bfd-bootstrap
3390 maybe-configure-stage4-bfd: configure-stage4-bfd
3391 configure-stage4-bfd:
3392 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3393 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3394 @r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 TFLAGS="$(STAGE4_TFLAGS)"; \
3397 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3398 $(HOST_EXPORTS) \
3399 $(POSTSTAGE1_HOST_EXPORTS) \
3400 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3401 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3402 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3403 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3405 cd $(HOST_SUBDIR)/bfd || exit 1; \
3406 case $(srcdir) in \
3407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3408 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3410 esac; \
3411 module_srcdir=bfd; \
3412 $(SHELL) $$s/$$module_srcdir/configure \
3413 --srcdir=$${topdir}/$$module_srcdir \
3414 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3415 --target=${target_alias} \
3416 --with-build-libsubdir=$(HOST_SUBDIR) \
3417 $(STAGE4_CONFIGURE_FLAGS)
3418 @endif bfd-bootstrap
3419
3420 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3421 maybe-configure-stageprofile-bfd:
3422 @if bfd-bootstrap
3423 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3424 configure-stageprofile-bfd:
3425 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3427 @r=`${PWD_COMMAND}`; export r; \
3428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3429 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3430 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3431 $(HOST_EXPORTS) \
3432 $(POSTSTAGE1_HOST_EXPORTS) \
3433 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3434 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3435 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3436 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3438 cd $(HOST_SUBDIR)/bfd || exit 1; \
3439 case $(srcdir) in \
3440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3441 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3443 esac; \
3444 module_srcdir=bfd; \
3445 $(SHELL) $$s/$$module_srcdir/configure \
3446 --srcdir=$${topdir}/$$module_srcdir \
3447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3448 --target=${target_alias} \
3449 --with-build-libsubdir=$(HOST_SUBDIR) \
3450 $(STAGEprofile_CONFIGURE_FLAGS)
3451 @endif bfd-bootstrap
3452
3453 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3454 maybe-configure-stagetrain-bfd:
3455 @if bfd-bootstrap
3456 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3457 configure-stagetrain-bfd:
3458 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3459 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3460 @r=`${PWD_COMMAND}`; export r; \
3461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3462 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3463 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3464 $(HOST_EXPORTS) \
3465 $(POSTSTAGE1_HOST_EXPORTS) \
3466 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3467 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3468 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3469 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3471 cd $(HOST_SUBDIR)/bfd || exit 1; \
3472 case $(srcdir) in \
3473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3474 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3476 esac; \
3477 module_srcdir=bfd; \
3478 $(SHELL) $$s/$$module_srcdir/configure \
3479 --srcdir=$${topdir}/$$module_srcdir \
3480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3481 --target=${target_alias} \
3482 --with-build-libsubdir=$(HOST_SUBDIR) \
3483 $(STAGEtrain_CONFIGURE_FLAGS)
3484 @endif bfd-bootstrap
3485
3486 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3487 maybe-configure-stagefeedback-bfd:
3488 @if bfd-bootstrap
3489 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3490 configure-stagefeedback-bfd:
3491 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3493 @r=`${PWD_COMMAND}`; export r; \
3494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3495 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3496 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3497 $(HOST_EXPORTS) \
3498 $(POSTSTAGE1_HOST_EXPORTS) \
3499 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3500 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3501 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3502 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3504 cd $(HOST_SUBDIR)/bfd || exit 1; \
3505 case $(srcdir) in \
3506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3507 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3509 esac; \
3510 module_srcdir=bfd; \
3511 $(SHELL) $$s/$$module_srcdir/configure \
3512 --srcdir=$${topdir}/$$module_srcdir \
3513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3514 --target=${target_alias} \
3515 --with-build-libsubdir=$(HOST_SUBDIR) \
3516 $(STAGEfeedback_CONFIGURE_FLAGS)
3517 @endif bfd-bootstrap
3518
3519 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3520 maybe-configure-stageautoprofile-bfd:
3521 @if bfd-bootstrap
3522 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3523 configure-stageautoprofile-bfd:
3524 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3525 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3526 @r=`${PWD_COMMAND}`; export r; \
3527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3528 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3529 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3530 $(HOST_EXPORTS) \
3531 $(POSTSTAGE1_HOST_EXPORTS) \
3532 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3533 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3534 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3535 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3537 cd $(HOST_SUBDIR)/bfd || exit 1; \
3538 case $(srcdir) in \
3539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3540 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3542 esac; \
3543 module_srcdir=bfd; \
3544 $(SHELL) $$s/$$module_srcdir/configure \
3545 --srcdir=$${topdir}/$$module_srcdir \
3546 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3547 --target=${target_alias} \
3548 --with-build-libsubdir=$(HOST_SUBDIR) \
3549 $(STAGEautoprofile_CONFIGURE_FLAGS)
3550 @endif bfd-bootstrap
3551
3552 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3553 maybe-configure-stageautofeedback-bfd:
3554 @if bfd-bootstrap
3555 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3556 configure-stageautofeedback-bfd:
3557 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3559 @r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3562 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3563 $(HOST_EXPORTS) \
3564 $(POSTSTAGE1_HOST_EXPORTS) \
3565 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3566 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3567 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3568 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3570 cd $(HOST_SUBDIR)/bfd || exit 1; \
3571 case $(srcdir) in \
3572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3573 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3575 esac; \
3576 module_srcdir=bfd; \
3577 $(SHELL) $$s/$$module_srcdir/configure \
3578 --srcdir=$${topdir}/$$module_srcdir \
3579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3580 --target=${target_alias} \
3581 --with-build-libsubdir=$(HOST_SUBDIR) \
3582 $(STAGEautofeedback_CONFIGURE_FLAGS)
3583 @endif bfd-bootstrap
3584
3585
3586
3587
3588
3589 .PHONY: all-bfd maybe-all-bfd
3590 maybe-all-bfd:
3591 @if gcc-bootstrap
3592 all-bfd: stage_current
3593 @endif gcc-bootstrap
3594 @if bfd
3595 TARGET-bfd=all
3596 maybe-all-bfd: all-bfd
3597 all-bfd: configure-bfd
3598 @r=`${PWD_COMMAND}`; export r; \
3599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 $(HOST_EXPORTS) \
3601 (cd $(HOST_SUBDIR)/bfd && \
3602 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3603 $(TARGET-bfd))
3604 @endif bfd
3605
3606
3607
3608 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3609 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3610 maybe-all-stage1-bfd:
3611 maybe-clean-stage1-bfd:
3612 @if bfd-bootstrap
3613 maybe-all-stage1-bfd: all-stage1-bfd
3614 all-stage1: all-stage1-bfd
3615 TARGET-stage1-bfd = $(TARGET-bfd)
3616 all-stage1-bfd: configure-stage1-bfd
3617 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3618 @r=`${PWD_COMMAND}`; export r; \
3619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3620 TFLAGS="$(STAGE1_TFLAGS)"; \
3621 $(HOST_EXPORTS) \
3622 cd $(HOST_SUBDIR)/bfd && \
3623 \
3624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3625 CFLAGS="$(STAGE1_CFLAGS)" \
3626 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3627 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3628 LIBCFLAGS="$(LIBCFLAGS)" \
3629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3632 $(EXTRA_HOST_FLAGS) \
3633 $(STAGE1_FLAGS_TO_PASS) \
3634 TFLAGS="$(STAGE1_TFLAGS)" \
3635 $(TARGET-stage1-bfd)
3636
3637 maybe-clean-stage1-bfd: clean-stage1-bfd
3638 clean-stage1: clean-stage1-bfd
3639 clean-stage1-bfd:
3640 @if [ $(current_stage) = stage1 ]; then \
3641 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3642 else \
3643 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3644 $(MAKE) stage1-start; \
3645 fi; \
3646 cd $(HOST_SUBDIR)/bfd && \
3647 $(MAKE) $(EXTRA_HOST_FLAGS) \
3648 $(STAGE1_FLAGS_TO_PASS) clean
3649 @endif bfd-bootstrap
3650
3651
3652 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3653 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3654 maybe-all-stage2-bfd:
3655 maybe-clean-stage2-bfd:
3656 @if bfd-bootstrap
3657 maybe-all-stage2-bfd: all-stage2-bfd
3658 all-stage2: all-stage2-bfd
3659 TARGET-stage2-bfd = $(TARGET-bfd)
3660 all-stage2-bfd: configure-stage2-bfd
3661 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3662 @r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 TFLAGS="$(STAGE2_TFLAGS)"; \
3665 $(HOST_EXPORTS) \
3666 $(POSTSTAGE1_HOST_EXPORTS) \
3667 cd $(HOST_SUBDIR)/bfd && \
3668 \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3670 CFLAGS="$(STAGE2_CFLAGS)" \
3671 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3672 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3673 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3678 TFLAGS="$(STAGE2_TFLAGS)" \
3679 $(TARGET-stage2-bfd)
3680
3681 maybe-clean-stage2-bfd: clean-stage2-bfd
3682 clean-stage2: clean-stage2-bfd
3683 clean-stage2-bfd:
3684 @if [ $(current_stage) = stage2 ]; then \
3685 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3686 else \
3687 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3688 $(MAKE) stage2-start; \
3689 fi; \
3690 cd $(HOST_SUBDIR)/bfd && \
3691 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3692 @endif bfd-bootstrap
3693
3694
3695 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3696 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3697 maybe-all-stage3-bfd:
3698 maybe-clean-stage3-bfd:
3699 @if bfd-bootstrap
3700 maybe-all-stage3-bfd: all-stage3-bfd
3701 all-stage3: all-stage3-bfd
3702 TARGET-stage3-bfd = $(TARGET-bfd)
3703 all-stage3-bfd: configure-stage3-bfd
3704 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3705 @r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 TFLAGS="$(STAGE3_TFLAGS)"; \
3708 $(HOST_EXPORTS) \
3709 $(POSTSTAGE1_HOST_EXPORTS) \
3710 cd $(HOST_SUBDIR)/bfd && \
3711 \
3712 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3713 CFLAGS="$(STAGE3_CFLAGS)" \
3714 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3715 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3716 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3721 TFLAGS="$(STAGE3_TFLAGS)" \
3722 $(TARGET-stage3-bfd)
3723
3724 maybe-clean-stage3-bfd: clean-stage3-bfd
3725 clean-stage3: clean-stage3-bfd
3726 clean-stage3-bfd:
3727 @if [ $(current_stage) = stage3 ]; then \
3728 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3729 else \
3730 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3731 $(MAKE) stage3-start; \
3732 fi; \
3733 cd $(HOST_SUBDIR)/bfd && \
3734 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3735 @endif bfd-bootstrap
3736
3737
3738 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3739 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3740 maybe-all-stage4-bfd:
3741 maybe-clean-stage4-bfd:
3742 @if bfd-bootstrap
3743 maybe-all-stage4-bfd: all-stage4-bfd
3744 all-stage4: all-stage4-bfd
3745 TARGET-stage4-bfd = $(TARGET-bfd)
3746 all-stage4-bfd: configure-stage4-bfd
3747 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3748 @r=`${PWD_COMMAND}`; export r; \
3749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750 TFLAGS="$(STAGE4_TFLAGS)"; \
3751 $(HOST_EXPORTS) \
3752 $(POSTSTAGE1_HOST_EXPORTS) \
3753 cd $(HOST_SUBDIR)/bfd && \
3754 \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3756 CFLAGS="$(STAGE4_CFLAGS)" \
3757 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
3758 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3759 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3763 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3764 TFLAGS="$(STAGE4_TFLAGS)" \
3765 $(TARGET-stage4-bfd)
3766
3767 maybe-clean-stage4-bfd: clean-stage4-bfd
3768 clean-stage4: clean-stage4-bfd
3769 clean-stage4-bfd:
3770 @if [ $(current_stage) = stage4 ]; then \
3771 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3772 else \
3773 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3774 $(MAKE) stage4-start; \
3775 fi; \
3776 cd $(HOST_SUBDIR)/bfd && \
3777 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3778 @endif bfd-bootstrap
3779
3780
3781 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3782 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3783 maybe-all-stageprofile-bfd:
3784 maybe-clean-stageprofile-bfd:
3785 @if bfd-bootstrap
3786 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3787 all-stageprofile: all-stageprofile-bfd
3788 TARGET-stageprofile-bfd = $(TARGET-bfd)
3789 all-stageprofile-bfd: configure-stageprofile-bfd
3790 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3791 @r=`${PWD_COMMAND}`; export r; \
3792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3793 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3794 $(HOST_EXPORTS) \
3795 $(POSTSTAGE1_HOST_EXPORTS) \
3796 cd $(HOST_SUBDIR)/bfd && \
3797 \
3798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3799 CFLAGS="$(STAGEprofile_CFLAGS)" \
3800 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
3801 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3802 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3807 TFLAGS="$(STAGEprofile_TFLAGS)" \
3808 $(TARGET-stageprofile-bfd)
3809
3810 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3811 clean-stageprofile: clean-stageprofile-bfd
3812 clean-stageprofile-bfd:
3813 @if [ $(current_stage) = stageprofile ]; then \
3814 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3815 else \
3816 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3817 $(MAKE) stageprofile-start; \
3818 fi; \
3819 cd $(HOST_SUBDIR)/bfd && \
3820 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3821 @endif bfd-bootstrap
3822
3823
3824 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3825 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3826 maybe-all-stagetrain-bfd:
3827 maybe-clean-stagetrain-bfd:
3828 @if bfd-bootstrap
3829 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3830 all-stagetrain: all-stagetrain-bfd
3831 TARGET-stagetrain-bfd = $(TARGET-bfd)
3832 all-stagetrain-bfd: configure-stagetrain-bfd
3833 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3834 @r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3837 $(HOST_EXPORTS) \
3838 $(POSTSTAGE1_HOST_EXPORTS) \
3839 cd $(HOST_SUBDIR)/bfd && \
3840 \
3841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3842 CFLAGS="$(STAGEtrain_CFLAGS)" \
3843 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
3844 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3845 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3849 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3850 TFLAGS="$(STAGEtrain_TFLAGS)" \
3851 $(TARGET-stagetrain-bfd)
3852
3853 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3854 clean-stagetrain: clean-stagetrain-bfd
3855 clean-stagetrain-bfd:
3856 @if [ $(current_stage) = stagetrain ]; then \
3857 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3858 else \
3859 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3860 $(MAKE) stagetrain-start; \
3861 fi; \
3862 cd $(HOST_SUBDIR)/bfd && \
3863 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3864 @endif bfd-bootstrap
3865
3866
3867 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3868 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3869 maybe-all-stagefeedback-bfd:
3870 maybe-clean-stagefeedback-bfd:
3871 @if bfd-bootstrap
3872 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3873 all-stagefeedback: all-stagefeedback-bfd
3874 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3875 all-stagefeedback-bfd: configure-stagefeedback-bfd
3876 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3877 @r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3880 $(HOST_EXPORTS) \
3881 $(POSTSTAGE1_HOST_EXPORTS) \
3882 cd $(HOST_SUBDIR)/bfd && \
3883 \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3885 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3886 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
3887 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3888 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3892 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3893 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3894 $(TARGET-stagefeedback-bfd)
3895
3896 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3897 clean-stagefeedback: clean-stagefeedback-bfd
3898 clean-stagefeedback-bfd:
3899 @if [ $(current_stage) = stagefeedback ]; then \
3900 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3901 else \
3902 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3903 $(MAKE) stagefeedback-start; \
3904 fi; \
3905 cd $(HOST_SUBDIR)/bfd && \
3906 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3907 @endif bfd-bootstrap
3908
3909
3910 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3911 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3912 maybe-all-stageautoprofile-bfd:
3913 maybe-clean-stageautoprofile-bfd:
3914 @if bfd-bootstrap
3915 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3916 all-stageautoprofile: all-stageautoprofile-bfd
3917 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3918 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3919 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3920 @r=`${PWD_COMMAND}`; export r; \
3921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3922 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3923 $(HOST_EXPORTS) \
3924 $(POSTSTAGE1_HOST_EXPORTS) \
3925 cd $(HOST_SUBDIR)/bfd && \
3926 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3928 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3929 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
3930 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3931 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3936 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3937 $(TARGET-stageautoprofile-bfd)
3938
3939 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3940 clean-stageautoprofile: clean-stageautoprofile-bfd
3941 clean-stageautoprofile-bfd:
3942 @if [ $(current_stage) = stageautoprofile ]; then \
3943 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3944 else \
3945 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3946 $(MAKE) stageautoprofile-start; \
3947 fi; \
3948 cd $(HOST_SUBDIR)/bfd && \
3949 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3950 @endif bfd-bootstrap
3951
3952
3953 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3954 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3955 maybe-all-stageautofeedback-bfd:
3956 maybe-clean-stageautofeedback-bfd:
3957 @if bfd-bootstrap
3958 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3959 all-stageautofeedback: all-stageautofeedback-bfd
3960 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3961 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3962 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3963 @r=`${PWD_COMMAND}`; export r; \
3964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3965 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3966 $(HOST_EXPORTS) \
3967 $(POSTSTAGE1_HOST_EXPORTS) \
3968 cd $(HOST_SUBDIR)/bfd && \
3969 \
3970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3971 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3972 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
3973 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3974 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3978 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3979 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3980 $(TARGET-stageautofeedback-bfd)
3981
3982 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3983 clean-stageautofeedback: clean-stageautofeedback-bfd
3984 clean-stageautofeedback-bfd:
3985 @if [ $(current_stage) = stageautofeedback ]; then \
3986 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3987 else \
3988 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3989 $(MAKE) stageautofeedback-start; \
3990 fi; \
3991 cd $(HOST_SUBDIR)/bfd && \
3992 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3993 @endif bfd-bootstrap
3994
3995
3996
3997
3998
3999 .PHONY: check-bfd maybe-check-bfd
4000 maybe-check-bfd:
4001 @if bfd
4002 maybe-check-bfd: check-bfd
4003
4004 check-bfd:
4005 @: $(MAKE); $(unstage)
4006 @r=`${PWD_COMMAND}`; export r; \
4007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4009 (cd $(HOST_SUBDIR)/bfd && \
4010 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4011
4012 @endif bfd
4013
4014 .PHONY: install-bfd maybe-install-bfd
4015 maybe-install-bfd:
4016 @if bfd
4017 maybe-install-bfd: install-bfd
4018
4019 install-bfd: installdirs
4020 @: $(MAKE); $(unstage)
4021 @r=`${PWD_COMMAND}`; export r; \
4022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4023 $(HOST_EXPORTS) \
4024 (cd $(HOST_SUBDIR)/bfd && \
4025 $(MAKE) $(FLAGS_TO_PASS) install)
4026
4027 @endif bfd
4028
4029 .PHONY: install-strip-bfd maybe-install-strip-bfd
4030 maybe-install-strip-bfd:
4031 @if bfd
4032 maybe-install-strip-bfd: install-strip-bfd
4033
4034 install-strip-bfd: installdirs
4035 @: $(MAKE); $(unstage)
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(HOST_EXPORTS) \
4039 (cd $(HOST_SUBDIR)/bfd && \
4040 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4041
4042 @endif bfd
4043
4044 # Other targets (info, dvi, pdf, etc.)
4045
4046 .PHONY: maybe-info-bfd info-bfd
4047 maybe-info-bfd:
4048 @if bfd
4049 maybe-info-bfd: info-bfd
4050
4051 info-bfd: \
4052 configure-bfd
4053 @[ -f ./bfd/Makefile ] || exit 0; \
4054 r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 $(HOST_EXPORTS) \
4057 for flag in $(EXTRA_HOST_FLAGS) ; do \
4058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4059 done; \
4060 echo "Doing info in bfd"; \
4061 (cd $(HOST_SUBDIR)/bfd && \
4062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4064 "RANLIB=$${RANLIB}" \
4065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4066 info) \
4067 || exit 1
4068
4069 @endif bfd
4070
4071 .PHONY: maybe-dvi-bfd dvi-bfd
4072 maybe-dvi-bfd:
4073 @if bfd
4074 maybe-dvi-bfd: dvi-bfd
4075
4076 dvi-bfd: \
4077 configure-bfd
4078 @[ -f ./bfd/Makefile ] || exit 0; \
4079 r=`${PWD_COMMAND}`; export r; \
4080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4081 $(HOST_EXPORTS) \
4082 for flag in $(EXTRA_HOST_FLAGS) ; do \
4083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4084 done; \
4085 echo "Doing dvi in bfd"; \
4086 (cd $(HOST_SUBDIR)/bfd && \
4087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4089 "RANLIB=$${RANLIB}" \
4090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4091 dvi) \
4092 || exit 1
4093
4094 @endif bfd
4095
4096 .PHONY: maybe-pdf-bfd pdf-bfd
4097 maybe-pdf-bfd:
4098 @if bfd
4099 maybe-pdf-bfd: pdf-bfd
4100
4101 pdf-bfd: \
4102 configure-bfd
4103 @[ -f ./bfd/Makefile ] || exit 0; \
4104 r=`${PWD_COMMAND}`; export r; \
4105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4106 $(HOST_EXPORTS) \
4107 for flag in $(EXTRA_HOST_FLAGS) ; do \
4108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4109 done; \
4110 echo "Doing pdf in bfd"; \
4111 (cd $(HOST_SUBDIR)/bfd && \
4112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4114 "RANLIB=$${RANLIB}" \
4115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4116 pdf) \
4117 || exit 1
4118
4119 @endif bfd
4120
4121 .PHONY: maybe-html-bfd html-bfd
4122 maybe-html-bfd:
4123 @if bfd
4124 maybe-html-bfd: html-bfd
4125
4126 html-bfd: \
4127 configure-bfd
4128 @[ -f ./bfd/Makefile ] || exit 0; \
4129 r=`${PWD_COMMAND}`; export r; \
4130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4131 $(HOST_EXPORTS) \
4132 for flag in $(EXTRA_HOST_FLAGS) ; do \
4133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4134 done; \
4135 echo "Doing html in bfd"; \
4136 (cd $(HOST_SUBDIR)/bfd && \
4137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4139 "RANLIB=$${RANLIB}" \
4140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4141 html) \
4142 || exit 1
4143
4144 @endif bfd
4145
4146 .PHONY: maybe-TAGS-bfd TAGS-bfd
4147 maybe-TAGS-bfd:
4148 @if bfd
4149 maybe-TAGS-bfd: TAGS-bfd
4150
4151 TAGS-bfd: \
4152 configure-bfd
4153 @[ -f ./bfd/Makefile ] || exit 0; \
4154 r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156 $(HOST_EXPORTS) \
4157 for flag in $(EXTRA_HOST_FLAGS) ; do \
4158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4159 done; \
4160 echo "Doing TAGS in bfd"; \
4161 (cd $(HOST_SUBDIR)/bfd && \
4162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4164 "RANLIB=$${RANLIB}" \
4165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4166 TAGS) \
4167 || exit 1
4168
4169 @endif bfd
4170
4171 .PHONY: maybe-install-info-bfd install-info-bfd
4172 maybe-install-info-bfd:
4173 @if bfd
4174 maybe-install-info-bfd: install-info-bfd
4175
4176 install-info-bfd: \
4177 configure-bfd \
4178 info-bfd
4179 @[ -f ./bfd/Makefile ] || exit 0; \
4180 r=`${PWD_COMMAND}`; export r; \
4181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4182 $(HOST_EXPORTS) \
4183 for flag in $(EXTRA_HOST_FLAGS) ; do \
4184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4185 done; \
4186 echo "Doing install-info in bfd"; \
4187 (cd $(HOST_SUBDIR)/bfd && \
4188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4190 "RANLIB=$${RANLIB}" \
4191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4192 install-info) \
4193 || exit 1
4194
4195 @endif bfd
4196
4197 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4198 maybe-install-pdf-bfd:
4199 @if bfd
4200 maybe-install-pdf-bfd: install-pdf-bfd
4201
4202 install-pdf-bfd: \
4203 configure-bfd \
4204 pdf-bfd
4205 @[ -f ./bfd/Makefile ] || exit 0; \
4206 r=`${PWD_COMMAND}`; export r; \
4207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 $(HOST_EXPORTS) \
4209 for flag in $(EXTRA_HOST_FLAGS) ; do \
4210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4211 done; \
4212 echo "Doing install-pdf in bfd"; \
4213 (cd $(HOST_SUBDIR)/bfd && \
4214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4216 "RANLIB=$${RANLIB}" \
4217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4218 install-pdf) \
4219 || exit 1
4220
4221 @endif bfd
4222
4223 .PHONY: maybe-install-html-bfd install-html-bfd
4224 maybe-install-html-bfd:
4225 @if bfd
4226 maybe-install-html-bfd: install-html-bfd
4227
4228 install-html-bfd: \
4229 configure-bfd \
4230 html-bfd
4231 @[ -f ./bfd/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 $(HOST_EXPORTS) \
4235 for flag in $(EXTRA_HOST_FLAGS) ; do \
4236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 done; \
4238 echo "Doing install-html in bfd"; \
4239 (cd $(HOST_SUBDIR)/bfd && \
4240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4242 "RANLIB=$${RANLIB}" \
4243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4244 install-html) \
4245 || exit 1
4246
4247 @endif bfd
4248
4249 .PHONY: maybe-installcheck-bfd installcheck-bfd
4250 maybe-installcheck-bfd:
4251 @if bfd
4252 maybe-installcheck-bfd: installcheck-bfd
4253
4254 installcheck-bfd: \
4255 configure-bfd
4256 @[ -f ./bfd/Makefile ] || exit 0; \
4257 r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259 $(HOST_EXPORTS) \
4260 for flag in $(EXTRA_HOST_FLAGS) ; do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262 done; \
4263 echo "Doing installcheck in bfd"; \
4264 (cd $(HOST_SUBDIR)/bfd && \
4265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267 "RANLIB=$${RANLIB}" \
4268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4269 installcheck) \
4270 || exit 1
4271
4272 @endif bfd
4273
4274 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4275 maybe-mostlyclean-bfd:
4276 @if bfd
4277 maybe-mostlyclean-bfd: mostlyclean-bfd
4278
4279 mostlyclean-bfd:
4280 @[ -f ./bfd/Makefile ] || exit 0; \
4281 r=`${PWD_COMMAND}`; export r; \
4282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4283 $(HOST_EXPORTS) \
4284 for flag in $(EXTRA_HOST_FLAGS) ; do \
4285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4286 done; \
4287 echo "Doing mostlyclean in bfd"; \
4288 (cd $(HOST_SUBDIR)/bfd && \
4289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4291 "RANLIB=$${RANLIB}" \
4292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4293 mostlyclean) \
4294 || exit 1
4295
4296 @endif bfd
4297
4298 .PHONY: maybe-clean-bfd clean-bfd
4299 maybe-clean-bfd:
4300 @if bfd
4301 maybe-clean-bfd: clean-bfd
4302
4303 clean-bfd:
4304 @[ -f ./bfd/Makefile ] || exit 0; \
4305 r=`${PWD_COMMAND}`; export r; \
4306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4307 $(HOST_EXPORTS) \
4308 for flag in $(EXTRA_HOST_FLAGS) ; do \
4309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4310 done; \
4311 echo "Doing clean in bfd"; \
4312 (cd $(HOST_SUBDIR)/bfd && \
4313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4315 "RANLIB=$${RANLIB}" \
4316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4317 clean) \
4318 || exit 1
4319
4320 @endif bfd
4321
4322 .PHONY: maybe-distclean-bfd distclean-bfd
4323 maybe-distclean-bfd:
4324 @if bfd
4325 maybe-distclean-bfd: distclean-bfd
4326
4327 distclean-bfd:
4328 @[ -f ./bfd/Makefile ] || exit 0; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(HOST_EXPORTS) \
4332 for flag in $(EXTRA_HOST_FLAGS) ; do \
4333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4334 done; \
4335 echo "Doing distclean in bfd"; \
4336 (cd $(HOST_SUBDIR)/bfd && \
4337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4339 "RANLIB=$${RANLIB}" \
4340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4341 distclean) \
4342 || exit 1
4343
4344 @endif bfd
4345
4346 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4347 maybe-maintainer-clean-bfd:
4348 @if bfd
4349 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4350
4351 maintainer-clean-bfd:
4352 @[ -f ./bfd/Makefile ] || exit 0; \
4353 r=`${PWD_COMMAND}`; export r; \
4354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4355 $(HOST_EXPORTS) \
4356 for flag in $(EXTRA_HOST_FLAGS) ; do \
4357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4358 done; \
4359 echo "Doing maintainer-clean in bfd"; \
4360 (cd $(HOST_SUBDIR)/bfd && \
4361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4363 "RANLIB=$${RANLIB}" \
4364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4365 maintainer-clean) \
4366 || exit 1
4367
4368 @endif bfd
4369
4370
4371
4372 .PHONY: configure-opcodes maybe-configure-opcodes
4373 maybe-configure-opcodes:
4374 @if gcc-bootstrap
4375 configure-opcodes: stage_current
4376 @endif gcc-bootstrap
4377 @if opcodes
4378 maybe-configure-opcodes: configure-opcodes
4379 configure-opcodes:
4380 @r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4382 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4384 $(HOST_EXPORTS) \
4385 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4386 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4387 case $(srcdir) in \
4388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4389 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4391 esac; \
4392 module_srcdir=opcodes; \
4393 $(SHELL) \
4394 $$s/$$module_srcdir/configure \
4395 --srcdir=$${topdir}/$$module_srcdir \
4396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4397 --target=${target_alias} \
4398 || exit 1
4399 @endif opcodes
4400
4401
4402
4403 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4404 maybe-configure-stage1-opcodes:
4405 @if opcodes-bootstrap
4406 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4407 configure-stage1-opcodes:
4408 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4410 @r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 TFLAGS="$(STAGE1_TFLAGS)"; \
4413 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4414 $(HOST_EXPORTS) \
4415 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4416 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4417 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4418 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4420 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4421 case $(srcdir) in \
4422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4423 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4425 esac; \
4426 module_srcdir=opcodes; \
4427 $(SHELL) $$s/$$module_srcdir/configure \
4428 --srcdir=$${topdir}/$$module_srcdir \
4429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4430 --target=${target_alias} \
4431 \
4432 $(STAGE1_CONFIGURE_FLAGS)
4433 @endif opcodes-bootstrap
4434
4435 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4436 maybe-configure-stage2-opcodes:
4437 @if opcodes-bootstrap
4438 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4439 configure-stage2-opcodes:
4440 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4442 @r=`${PWD_COMMAND}`; export r; \
4443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4444 TFLAGS="$(STAGE2_TFLAGS)"; \
4445 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4446 $(HOST_EXPORTS) \
4447 $(POSTSTAGE1_HOST_EXPORTS) \
4448 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4449 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4450 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4451 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4453 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4454 case $(srcdir) in \
4455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4456 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4458 esac; \
4459 module_srcdir=opcodes; \
4460 $(SHELL) $$s/$$module_srcdir/configure \
4461 --srcdir=$${topdir}/$$module_srcdir \
4462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4463 --target=${target_alias} \
4464 --with-build-libsubdir=$(HOST_SUBDIR) \
4465 $(STAGE2_CONFIGURE_FLAGS)
4466 @endif opcodes-bootstrap
4467
4468 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4469 maybe-configure-stage3-opcodes:
4470 @if opcodes-bootstrap
4471 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4472 configure-stage3-opcodes:
4473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4475 @r=`${PWD_COMMAND}`; export r; \
4476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4477 TFLAGS="$(STAGE3_TFLAGS)"; \
4478 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4479 $(HOST_EXPORTS) \
4480 $(POSTSTAGE1_HOST_EXPORTS) \
4481 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4482 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4483 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4484 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4486 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4487 case $(srcdir) in \
4488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4489 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4491 esac; \
4492 module_srcdir=opcodes; \
4493 $(SHELL) $$s/$$module_srcdir/configure \
4494 --srcdir=$${topdir}/$$module_srcdir \
4495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4496 --target=${target_alias} \
4497 --with-build-libsubdir=$(HOST_SUBDIR) \
4498 $(STAGE3_CONFIGURE_FLAGS)
4499 @endif opcodes-bootstrap
4500
4501 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4502 maybe-configure-stage4-opcodes:
4503 @if opcodes-bootstrap
4504 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4505 configure-stage4-opcodes:
4506 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4508 @r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4510 TFLAGS="$(STAGE4_TFLAGS)"; \
4511 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4512 $(HOST_EXPORTS) \
4513 $(POSTSTAGE1_HOST_EXPORTS) \
4514 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4515 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4516 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4517 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4519 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4520 case $(srcdir) in \
4521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4522 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4524 esac; \
4525 module_srcdir=opcodes; \
4526 $(SHELL) $$s/$$module_srcdir/configure \
4527 --srcdir=$${topdir}/$$module_srcdir \
4528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4529 --target=${target_alias} \
4530 --with-build-libsubdir=$(HOST_SUBDIR) \
4531 $(STAGE4_CONFIGURE_FLAGS)
4532 @endif opcodes-bootstrap
4533
4534 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4535 maybe-configure-stageprofile-opcodes:
4536 @if opcodes-bootstrap
4537 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4538 configure-stageprofile-opcodes:
4539 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4541 @r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4544 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4545 $(HOST_EXPORTS) \
4546 $(POSTSTAGE1_HOST_EXPORTS) \
4547 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4548 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4549 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4550 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4552 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4553 case $(srcdir) in \
4554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4555 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4557 esac; \
4558 module_srcdir=opcodes; \
4559 $(SHELL) $$s/$$module_srcdir/configure \
4560 --srcdir=$${topdir}/$$module_srcdir \
4561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4562 --target=${target_alias} \
4563 --with-build-libsubdir=$(HOST_SUBDIR) \
4564 $(STAGEprofile_CONFIGURE_FLAGS)
4565 @endif opcodes-bootstrap
4566
4567 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4568 maybe-configure-stagetrain-opcodes:
4569 @if opcodes-bootstrap
4570 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4571 configure-stagetrain-opcodes:
4572 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4574 @r=`${PWD_COMMAND}`; export r; \
4575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4576 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4577 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4578 $(HOST_EXPORTS) \
4579 $(POSTSTAGE1_HOST_EXPORTS) \
4580 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4581 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4582 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4583 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4585 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4586 case $(srcdir) in \
4587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4588 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4590 esac; \
4591 module_srcdir=opcodes; \
4592 $(SHELL) $$s/$$module_srcdir/configure \
4593 --srcdir=$${topdir}/$$module_srcdir \
4594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4595 --target=${target_alias} \
4596 --with-build-libsubdir=$(HOST_SUBDIR) \
4597 $(STAGEtrain_CONFIGURE_FLAGS)
4598 @endif opcodes-bootstrap
4599
4600 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4601 maybe-configure-stagefeedback-opcodes:
4602 @if opcodes-bootstrap
4603 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4604 configure-stagefeedback-opcodes:
4605 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4607 @r=`${PWD_COMMAND}`; export r; \
4608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4609 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4610 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4611 $(HOST_EXPORTS) \
4612 $(POSTSTAGE1_HOST_EXPORTS) \
4613 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4614 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4615 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4616 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4618 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4619 case $(srcdir) in \
4620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4621 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4623 esac; \
4624 module_srcdir=opcodes; \
4625 $(SHELL) $$s/$$module_srcdir/configure \
4626 --srcdir=$${topdir}/$$module_srcdir \
4627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4628 --target=${target_alias} \
4629 --with-build-libsubdir=$(HOST_SUBDIR) \
4630 $(STAGEfeedback_CONFIGURE_FLAGS)
4631 @endif opcodes-bootstrap
4632
4633 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4634 maybe-configure-stageautoprofile-opcodes:
4635 @if opcodes-bootstrap
4636 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4637 configure-stageautoprofile-opcodes:
4638 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4640 @r=`${PWD_COMMAND}`; export r; \
4641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4642 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4643 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4644 $(HOST_EXPORTS) \
4645 $(POSTSTAGE1_HOST_EXPORTS) \
4646 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4647 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4648 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4649 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4651 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4652 case $(srcdir) in \
4653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4654 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4656 esac; \
4657 module_srcdir=opcodes; \
4658 $(SHELL) $$s/$$module_srcdir/configure \
4659 --srcdir=$${topdir}/$$module_srcdir \
4660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4661 --target=${target_alias} \
4662 --with-build-libsubdir=$(HOST_SUBDIR) \
4663 $(STAGEautoprofile_CONFIGURE_FLAGS)
4664 @endif opcodes-bootstrap
4665
4666 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4667 maybe-configure-stageautofeedback-opcodes:
4668 @if opcodes-bootstrap
4669 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4670 configure-stageautofeedback-opcodes:
4671 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4673 @r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4676 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4677 $(HOST_EXPORTS) \
4678 $(POSTSTAGE1_HOST_EXPORTS) \
4679 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4680 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4681 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4682 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4684 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4685 case $(srcdir) in \
4686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4687 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4689 esac; \
4690 module_srcdir=opcodes; \
4691 $(SHELL) $$s/$$module_srcdir/configure \
4692 --srcdir=$${topdir}/$$module_srcdir \
4693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4694 --target=${target_alias} \
4695 --with-build-libsubdir=$(HOST_SUBDIR) \
4696 $(STAGEautofeedback_CONFIGURE_FLAGS)
4697 @endif opcodes-bootstrap
4698
4699
4700
4701
4702
4703 .PHONY: all-opcodes maybe-all-opcodes
4704 maybe-all-opcodes:
4705 @if gcc-bootstrap
4706 all-opcodes: stage_current
4707 @endif gcc-bootstrap
4708 @if opcodes
4709 TARGET-opcodes=all
4710 maybe-all-opcodes: all-opcodes
4711 all-opcodes: configure-opcodes
4712 @r=`${PWD_COMMAND}`; export r; \
4713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714 $(HOST_EXPORTS) \
4715 (cd $(HOST_SUBDIR)/opcodes && \
4716 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4717 $(TARGET-opcodes))
4718 @endif opcodes
4719
4720
4721
4722 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4723 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4724 maybe-all-stage1-opcodes:
4725 maybe-clean-stage1-opcodes:
4726 @if opcodes-bootstrap
4727 maybe-all-stage1-opcodes: all-stage1-opcodes
4728 all-stage1: all-stage1-opcodes
4729 TARGET-stage1-opcodes = $(TARGET-opcodes)
4730 all-stage1-opcodes: configure-stage1-opcodes
4731 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4732 @r=`${PWD_COMMAND}`; export r; \
4733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4734 TFLAGS="$(STAGE1_TFLAGS)"; \
4735 $(HOST_EXPORTS) \
4736 cd $(HOST_SUBDIR)/opcodes && \
4737 \
4738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4739 CFLAGS="$(STAGE1_CFLAGS)" \
4740 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
4741 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4742 LIBCFLAGS="$(LIBCFLAGS)" \
4743 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4744 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4745 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4746 $(EXTRA_HOST_FLAGS) \
4747 $(STAGE1_FLAGS_TO_PASS) \
4748 TFLAGS="$(STAGE1_TFLAGS)" \
4749 $(TARGET-stage1-opcodes)
4750
4751 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4752 clean-stage1: clean-stage1-opcodes
4753 clean-stage1-opcodes:
4754 @if [ $(current_stage) = stage1 ]; then \
4755 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4756 else \
4757 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4758 $(MAKE) stage1-start; \
4759 fi; \
4760 cd $(HOST_SUBDIR)/opcodes && \
4761 $(MAKE) $(EXTRA_HOST_FLAGS) \
4762 $(STAGE1_FLAGS_TO_PASS) clean
4763 @endif opcodes-bootstrap
4764
4765
4766 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4767 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4768 maybe-all-stage2-opcodes:
4769 maybe-clean-stage2-opcodes:
4770 @if opcodes-bootstrap
4771 maybe-all-stage2-opcodes: all-stage2-opcodes
4772 all-stage2: all-stage2-opcodes
4773 TARGET-stage2-opcodes = $(TARGET-opcodes)
4774 all-stage2-opcodes: configure-stage2-opcodes
4775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4776 @r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 TFLAGS="$(STAGE2_TFLAGS)"; \
4779 $(HOST_EXPORTS) \
4780 $(POSTSTAGE1_HOST_EXPORTS) \
4781 cd $(HOST_SUBDIR)/opcodes && \
4782 \
4783 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4784 CFLAGS="$(STAGE2_CFLAGS)" \
4785 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
4786 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4787 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4791 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4792 TFLAGS="$(STAGE2_TFLAGS)" \
4793 $(TARGET-stage2-opcodes)
4794
4795 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4796 clean-stage2: clean-stage2-opcodes
4797 clean-stage2-opcodes:
4798 @if [ $(current_stage) = stage2 ]; then \
4799 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4800 else \
4801 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4802 $(MAKE) stage2-start; \
4803 fi; \
4804 cd $(HOST_SUBDIR)/opcodes && \
4805 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4806 @endif opcodes-bootstrap
4807
4808
4809 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4810 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4811 maybe-all-stage3-opcodes:
4812 maybe-clean-stage3-opcodes:
4813 @if opcodes-bootstrap
4814 maybe-all-stage3-opcodes: all-stage3-opcodes
4815 all-stage3: all-stage3-opcodes
4816 TARGET-stage3-opcodes = $(TARGET-opcodes)
4817 all-stage3-opcodes: configure-stage3-opcodes
4818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4819 @r=`${PWD_COMMAND}`; export r; \
4820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4821 TFLAGS="$(STAGE3_TFLAGS)"; \
4822 $(HOST_EXPORTS) \
4823 $(POSTSTAGE1_HOST_EXPORTS) \
4824 cd $(HOST_SUBDIR)/opcodes && \
4825 \
4826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4827 CFLAGS="$(STAGE3_CFLAGS)" \
4828 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
4829 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4830 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4834 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4835 TFLAGS="$(STAGE3_TFLAGS)" \
4836 $(TARGET-stage3-opcodes)
4837
4838 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4839 clean-stage3: clean-stage3-opcodes
4840 clean-stage3-opcodes:
4841 @if [ $(current_stage) = stage3 ]; then \
4842 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4843 else \
4844 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4845 $(MAKE) stage3-start; \
4846 fi; \
4847 cd $(HOST_SUBDIR)/opcodes && \
4848 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4849 @endif opcodes-bootstrap
4850
4851
4852 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4853 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4854 maybe-all-stage4-opcodes:
4855 maybe-clean-stage4-opcodes:
4856 @if opcodes-bootstrap
4857 maybe-all-stage4-opcodes: all-stage4-opcodes
4858 all-stage4: all-stage4-opcodes
4859 TARGET-stage4-opcodes = $(TARGET-opcodes)
4860 all-stage4-opcodes: configure-stage4-opcodes
4861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4862 @r=`${PWD_COMMAND}`; export r; \
4863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864 TFLAGS="$(STAGE4_TFLAGS)"; \
4865 $(HOST_EXPORTS) \
4866 $(POSTSTAGE1_HOST_EXPORTS) \
4867 cd $(HOST_SUBDIR)/opcodes && \
4868 \
4869 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4870 CFLAGS="$(STAGE4_CFLAGS)" \
4871 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4872 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4873 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4874 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4875 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4876 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4877 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4878 TFLAGS="$(STAGE4_TFLAGS)" \
4879 $(TARGET-stage4-opcodes)
4880
4881 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4882 clean-stage4: clean-stage4-opcodes
4883 clean-stage4-opcodes:
4884 @if [ $(current_stage) = stage4 ]; then \
4885 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4886 else \
4887 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4888 $(MAKE) stage4-start; \
4889 fi; \
4890 cd $(HOST_SUBDIR)/opcodes && \
4891 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4892 @endif opcodes-bootstrap
4893
4894
4895 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4896 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4897 maybe-all-stageprofile-opcodes:
4898 maybe-clean-stageprofile-opcodes:
4899 @if opcodes-bootstrap
4900 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4901 all-stageprofile: all-stageprofile-opcodes
4902 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4903 all-stageprofile-opcodes: configure-stageprofile-opcodes
4904 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4905 @r=`${PWD_COMMAND}`; export r; \
4906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4907 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4908 $(HOST_EXPORTS) \
4909 $(POSTSTAGE1_HOST_EXPORTS) \
4910 cd $(HOST_SUBDIR)/opcodes && \
4911 \
4912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4913 CFLAGS="$(STAGEprofile_CFLAGS)" \
4914 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4915 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4916 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4920 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4921 TFLAGS="$(STAGEprofile_TFLAGS)" \
4922 $(TARGET-stageprofile-opcodes)
4923
4924 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4925 clean-stageprofile: clean-stageprofile-opcodes
4926 clean-stageprofile-opcodes:
4927 @if [ $(current_stage) = stageprofile ]; then \
4928 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4929 else \
4930 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4931 $(MAKE) stageprofile-start; \
4932 fi; \
4933 cd $(HOST_SUBDIR)/opcodes && \
4934 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4935 @endif opcodes-bootstrap
4936
4937
4938 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4939 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4940 maybe-all-stagetrain-opcodes:
4941 maybe-clean-stagetrain-opcodes:
4942 @if opcodes-bootstrap
4943 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4944 all-stagetrain: all-stagetrain-opcodes
4945 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4946 all-stagetrain-opcodes: configure-stagetrain-opcodes
4947 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4948 @r=`${PWD_COMMAND}`; export r; \
4949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4950 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4951 $(HOST_EXPORTS) \
4952 $(POSTSTAGE1_HOST_EXPORTS) \
4953 cd $(HOST_SUBDIR)/opcodes && \
4954 \
4955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4956 CFLAGS="$(STAGEtrain_CFLAGS)" \
4957 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4958 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4959 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4960 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4961 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4962 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4963 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4964 TFLAGS="$(STAGEtrain_TFLAGS)" \
4965 $(TARGET-stagetrain-opcodes)
4966
4967 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4968 clean-stagetrain: clean-stagetrain-opcodes
4969 clean-stagetrain-opcodes:
4970 @if [ $(current_stage) = stagetrain ]; then \
4971 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4972 else \
4973 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4974 $(MAKE) stagetrain-start; \
4975 fi; \
4976 cd $(HOST_SUBDIR)/opcodes && \
4977 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4978 @endif opcodes-bootstrap
4979
4980
4981 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4982 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4983 maybe-all-stagefeedback-opcodes:
4984 maybe-clean-stagefeedback-opcodes:
4985 @if opcodes-bootstrap
4986 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4987 all-stagefeedback: all-stagefeedback-opcodes
4988 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4989 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4990 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4991 @r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4993 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4994 $(HOST_EXPORTS) \
4995 $(POSTSTAGE1_HOST_EXPORTS) \
4996 cd $(HOST_SUBDIR)/opcodes && \
4997 \
4998 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4999 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5000 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5001 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5002 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5006 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5007 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5008 $(TARGET-stagefeedback-opcodes)
5009
5010 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5011 clean-stagefeedback: clean-stagefeedback-opcodes
5012 clean-stagefeedback-opcodes:
5013 @if [ $(current_stage) = stagefeedback ]; then \
5014 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5015 else \
5016 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5017 $(MAKE) stagefeedback-start; \
5018 fi; \
5019 cd $(HOST_SUBDIR)/opcodes && \
5020 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5021 @endif opcodes-bootstrap
5022
5023
5024 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5025 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5026 maybe-all-stageautoprofile-opcodes:
5027 maybe-clean-stageautoprofile-opcodes:
5028 @if opcodes-bootstrap
5029 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5030 all-stageautoprofile: all-stageautoprofile-opcodes
5031 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5032 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5033 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5034 @r=`${PWD_COMMAND}`; export r; \
5035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5036 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5037 $(HOST_EXPORTS) \
5038 $(POSTSTAGE1_HOST_EXPORTS) \
5039 cd $(HOST_SUBDIR)/opcodes && \
5040 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5041 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5042 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5043 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5044 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5045 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5046 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5047 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5048 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5049 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5050 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5051 $(TARGET-stageautoprofile-opcodes)
5052
5053 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5054 clean-stageautoprofile: clean-stageautoprofile-opcodes
5055 clean-stageautoprofile-opcodes:
5056 @if [ $(current_stage) = stageautoprofile ]; then \
5057 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5058 else \
5059 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5060 $(MAKE) stageautoprofile-start; \
5061 fi; \
5062 cd $(HOST_SUBDIR)/opcodes && \
5063 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5064 @endif opcodes-bootstrap
5065
5066
5067 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5068 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5069 maybe-all-stageautofeedback-opcodes:
5070 maybe-clean-stageautofeedback-opcodes:
5071 @if opcodes-bootstrap
5072 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5073 all-stageautofeedback: all-stageautofeedback-opcodes
5074 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5075 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5076 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5077 @r=`${PWD_COMMAND}`; export r; \
5078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5080 $(HOST_EXPORTS) \
5081 $(POSTSTAGE1_HOST_EXPORTS) \
5082 cd $(HOST_SUBDIR)/opcodes && \
5083 \
5084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5085 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5086 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5087 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5088 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5089 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5090 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5091 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5092 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5093 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5094 $(TARGET-stageautofeedback-opcodes)
5095
5096 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5097 clean-stageautofeedback: clean-stageautofeedback-opcodes
5098 clean-stageautofeedback-opcodes:
5099 @if [ $(current_stage) = stageautofeedback ]; then \
5100 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5101 else \
5102 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5103 $(MAKE) stageautofeedback-start; \
5104 fi; \
5105 cd $(HOST_SUBDIR)/opcodes && \
5106 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5107 @endif opcodes-bootstrap
5108
5109
5110
5111
5112
5113 .PHONY: check-opcodes maybe-check-opcodes
5114 maybe-check-opcodes:
5115 @if opcodes
5116 maybe-check-opcodes: check-opcodes
5117
5118 check-opcodes:
5119 @: $(MAKE); $(unstage)
5120 @r=`${PWD_COMMAND}`; export r; \
5121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5123 (cd $(HOST_SUBDIR)/opcodes && \
5124 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5125
5126 @endif opcodes
5127
5128 .PHONY: install-opcodes maybe-install-opcodes
5129 maybe-install-opcodes:
5130 @if opcodes
5131 maybe-install-opcodes: install-opcodes
5132
5133 install-opcodes: installdirs
5134 @: $(MAKE); $(unstage)
5135 @r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 $(HOST_EXPORTS) \
5138 (cd $(HOST_SUBDIR)/opcodes && \
5139 $(MAKE) $(FLAGS_TO_PASS) install)
5140
5141 @endif opcodes
5142
5143 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5144 maybe-install-strip-opcodes:
5145 @if opcodes
5146 maybe-install-strip-opcodes: install-strip-opcodes
5147
5148 install-strip-opcodes: installdirs
5149 @: $(MAKE); $(unstage)
5150 @r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 (cd $(HOST_SUBDIR)/opcodes && \
5154 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5155
5156 @endif opcodes
5157
5158 # Other targets (info, dvi, pdf, etc.)
5159
5160 .PHONY: maybe-info-opcodes info-opcodes
5161 maybe-info-opcodes:
5162 @if opcodes
5163 maybe-info-opcodes: info-opcodes
5164
5165 info-opcodes: \
5166 configure-opcodes
5167 @[ -f ./opcodes/Makefile ] || exit 0; \
5168 r=`${PWD_COMMAND}`; export r; \
5169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5170 $(HOST_EXPORTS) \
5171 for flag in $(EXTRA_HOST_FLAGS) ; do \
5172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5173 done; \
5174 echo "Doing info in opcodes"; \
5175 (cd $(HOST_SUBDIR)/opcodes && \
5176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5178 "RANLIB=$${RANLIB}" \
5179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5180 info) \
5181 || exit 1
5182
5183 @endif opcodes
5184
5185 .PHONY: maybe-dvi-opcodes dvi-opcodes
5186 maybe-dvi-opcodes:
5187 @if opcodes
5188 maybe-dvi-opcodes: dvi-opcodes
5189
5190 dvi-opcodes: \
5191 configure-opcodes
5192 @[ -f ./opcodes/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 $(HOST_EXPORTS) \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5198 done; \
5199 echo "Doing dvi in opcodes"; \
5200 (cd $(HOST_SUBDIR)/opcodes && \
5201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5203 "RANLIB=$${RANLIB}" \
5204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5205 dvi) \
5206 || exit 1
5207
5208 @endif opcodes
5209
5210 .PHONY: maybe-pdf-opcodes pdf-opcodes
5211 maybe-pdf-opcodes:
5212 @if opcodes
5213 maybe-pdf-opcodes: pdf-opcodes
5214
5215 pdf-opcodes: \
5216 configure-opcodes
5217 @[ -f ./opcodes/Makefile ] || exit 0; \
5218 r=`${PWD_COMMAND}`; export r; \
5219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5220 $(HOST_EXPORTS) \
5221 for flag in $(EXTRA_HOST_FLAGS) ; do \
5222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5223 done; \
5224 echo "Doing pdf in opcodes"; \
5225 (cd $(HOST_SUBDIR)/opcodes && \
5226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5228 "RANLIB=$${RANLIB}" \
5229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5230 pdf) \
5231 || exit 1
5232
5233 @endif opcodes
5234
5235 .PHONY: maybe-html-opcodes html-opcodes
5236 maybe-html-opcodes:
5237 @if opcodes
5238 maybe-html-opcodes: html-opcodes
5239
5240 html-opcodes: \
5241 configure-opcodes
5242 @[ -f ./opcodes/Makefile ] || exit 0; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 for flag in $(EXTRA_HOST_FLAGS) ; do \
5247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5248 done; \
5249 echo "Doing html in opcodes"; \
5250 (cd $(HOST_SUBDIR)/opcodes && \
5251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5253 "RANLIB=$${RANLIB}" \
5254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5255 html) \
5256 || exit 1
5257
5258 @endif opcodes
5259
5260 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5261 maybe-TAGS-opcodes:
5262 @if opcodes
5263 maybe-TAGS-opcodes: TAGS-opcodes
5264
5265 TAGS-opcodes: \
5266 configure-opcodes
5267 @[ -f ./opcodes/Makefile ] || exit 0; \
5268 r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 $(HOST_EXPORTS) \
5271 for flag in $(EXTRA_HOST_FLAGS) ; do \
5272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 done; \
5274 echo "Doing TAGS in opcodes"; \
5275 (cd $(HOST_SUBDIR)/opcodes && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5278 "RANLIB=$${RANLIB}" \
5279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5280 TAGS) \
5281 || exit 1
5282
5283 @endif opcodes
5284
5285 .PHONY: maybe-install-info-opcodes install-info-opcodes
5286 maybe-install-info-opcodes:
5287 @if opcodes
5288 maybe-install-info-opcodes: install-info-opcodes
5289
5290 install-info-opcodes: \
5291 configure-opcodes \
5292 info-opcodes
5293 @[ -f ./opcodes/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(HOST_EXPORTS) \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299 done; \
5300 echo "Doing install-info in opcodes"; \
5301 (cd $(HOST_SUBDIR)/opcodes && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5306 install-info) \
5307 || exit 1
5308
5309 @endif opcodes
5310
5311 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5312 maybe-install-pdf-opcodes:
5313 @if opcodes
5314 maybe-install-pdf-opcodes: install-pdf-opcodes
5315
5316 install-pdf-opcodes: \
5317 configure-opcodes \
5318 pdf-opcodes
5319 @[ -f ./opcodes/Makefile ] || exit 0; \
5320 r=`${PWD_COMMAND}`; export r; \
5321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5322 $(HOST_EXPORTS) \
5323 for flag in $(EXTRA_HOST_FLAGS) ; do \
5324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 done; \
5326 echo "Doing install-pdf in opcodes"; \
5327 (cd $(HOST_SUBDIR)/opcodes && \
5328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5330 "RANLIB=$${RANLIB}" \
5331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5332 install-pdf) \
5333 || exit 1
5334
5335 @endif opcodes
5336
5337 .PHONY: maybe-install-html-opcodes install-html-opcodes
5338 maybe-install-html-opcodes:
5339 @if opcodes
5340 maybe-install-html-opcodes: install-html-opcodes
5341
5342 install-html-opcodes: \
5343 configure-opcodes \
5344 html-opcodes
5345 @[ -f ./opcodes/Makefile ] || exit 0; \
5346 r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 $(HOST_EXPORTS) \
5349 for flag in $(EXTRA_HOST_FLAGS) ; do \
5350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 done; \
5352 echo "Doing install-html in opcodes"; \
5353 (cd $(HOST_SUBDIR)/opcodes && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5356 "RANLIB=$${RANLIB}" \
5357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5358 install-html) \
5359 || exit 1
5360
5361 @endif opcodes
5362
5363 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5364 maybe-installcheck-opcodes:
5365 @if opcodes
5366 maybe-installcheck-opcodes: installcheck-opcodes
5367
5368 installcheck-opcodes: \
5369 configure-opcodes
5370 @[ -f ./opcodes/Makefile ] || exit 0; \
5371 r=`${PWD_COMMAND}`; export r; \
5372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5373 $(HOST_EXPORTS) \
5374 for flag in $(EXTRA_HOST_FLAGS) ; do \
5375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5376 done; \
5377 echo "Doing installcheck in opcodes"; \
5378 (cd $(HOST_SUBDIR)/opcodes && \
5379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5381 "RANLIB=$${RANLIB}" \
5382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5383 installcheck) \
5384 || exit 1
5385
5386 @endif opcodes
5387
5388 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5389 maybe-mostlyclean-opcodes:
5390 @if opcodes
5391 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5392
5393 mostlyclean-opcodes:
5394 @[ -f ./opcodes/Makefile ] || exit 0; \
5395 r=`${PWD_COMMAND}`; export r; \
5396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5397 $(HOST_EXPORTS) \
5398 for flag in $(EXTRA_HOST_FLAGS) ; do \
5399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5400 done; \
5401 echo "Doing mostlyclean in opcodes"; \
5402 (cd $(HOST_SUBDIR)/opcodes && \
5403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5405 "RANLIB=$${RANLIB}" \
5406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5407 mostlyclean) \
5408 || exit 1
5409
5410 @endif opcodes
5411
5412 .PHONY: maybe-clean-opcodes clean-opcodes
5413 maybe-clean-opcodes:
5414 @if opcodes
5415 maybe-clean-opcodes: clean-opcodes
5416
5417 clean-opcodes:
5418 @[ -f ./opcodes/Makefile ] || exit 0; \
5419 r=`${PWD_COMMAND}`; export r; \
5420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5421 $(HOST_EXPORTS) \
5422 for flag in $(EXTRA_HOST_FLAGS) ; do \
5423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5424 done; \
5425 echo "Doing clean in opcodes"; \
5426 (cd $(HOST_SUBDIR)/opcodes && \
5427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5429 "RANLIB=$${RANLIB}" \
5430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5431 clean) \
5432 || exit 1
5433
5434 @endif opcodes
5435
5436 .PHONY: maybe-distclean-opcodes distclean-opcodes
5437 maybe-distclean-opcodes:
5438 @if opcodes
5439 maybe-distclean-opcodes: distclean-opcodes
5440
5441 distclean-opcodes:
5442 @[ -f ./opcodes/Makefile ] || exit 0; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 for flag in $(EXTRA_HOST_FLAGS) ; do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 done; \
5449 echo "Doing distclean in opcodes"; \
5450 (cd $(HOST_SUBDIR)/opcodes && \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5455 distclean) \
5456 || exit 1
5457
5458 @endif opcodes
5459
5460 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5461 maybe-maintainer-clean-opcodes:
5462 @if opcodes
5463 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5464
5465 maintainer-clean-opcodes:
5466 @[ -f ./opcodes/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 $(HOST_EXPORTS) \
5470 for flag in $(EXTRA_HOST_FLAGS) ; do \
5471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5472 done; \
5473 echo "Doing maintainer-clean in opcodes"; \
5474 (cd $(HOST_SUBDIR)/opcodes && \
5475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477 "RANLIB=$${RANLIB}" \
5478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5479 maintainer-clean) \
5480 || exit 1
5481
5482 @endif opcodes
5483
5484
5485
5486 .PHONY: configure-binutils maybe-configure-binutils
5487 maybe-configure-binutils:
5488 @if gcc-bootstrap
5489 configure-binutils: stage_current
5490 @endif gcc-bootstrap
5491 @if binutils
5492 maybe-configure-binutils: configure-binutils
5493 configure-binutils:
5494 @r=`${PWD_COMMAND}`; export r; \
5495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5496 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5498 $(HOST_EXPORTS) \
5499 echo Configuring in $(HOST_SUBDIR)/binutils; \
5500 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5501 case $(srcdir) in \
5502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5503 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5505 esac; \
5506 module_srcdir=binutils; \
5507 $(SHELL) \
5508 $$s/$$module_srcdir/configure \
5509 --srcdir=$${topdir}/$$module_srcdir \
5510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5511 --target=${target_alias} \
5512 || exit 1
5513 @endif binutils
5514
5515
5516
5517 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5518 maybe-configure-stage1-binutils:
5519 @if binutils-bootstrap
5520 maybe-configure-stage1-binutils: configure-stage1-binutils
5521 configure-stage1-binutils:
5522 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5524 @r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 TFLAGS="$(STAGE1_TFLAGS)"; \
5527 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5528 $(HOST_EXPORTS) \
5529 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5530 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5531 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5532 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5534 cd $(HOST_SUBDIR)/binutils || exit 1; \
5535 case $(srcdir) in \
5536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5537 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5539 esac; \
5540 module_srcdir=binutils; \
5541 $(SHELL) $$s/$$module_srcdir/configure \
5542 --srcdir=$${topdir}/$$module_srcdir \
5543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5544 --target=${target_alias} \
5545 \
5546 $(STAGE1_CONFIGURE_FLAGS)
5547 @endif binutils-bootstrap
5548
5549 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5550 maybe-configure-stage2-binutils:
5551 @if binutils-bootstrap
5552 maybe-configure-stage2-binutils: configure-stage2-binutils
5553 configure-stage2-binutils:
5554 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5556 @r=`${PWD_COMMAND}`; export r; \
5557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5558 TFLAGS="$(STAGE2_TFLAGS)"; \
5559 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5560 $(HOST_EXPORTS) \
5561 $(POSTSTAGE1_HOST_EXPORTS) \
5562 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5563 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5564 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5565 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5567 cd $(HOST_SUBDIR)/binutils || exit 1; \
5568 case $(srcdir) in \
5569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5570 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5572 esac; \
5573 module_srcdir=binutils; \
5574 $(SHELL) $$s/$$module_srcdir/configure \
5575 --srcdir=$${topdir}/$$module_srcdir \
5576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5577 --target=${target_alias} \
5578 --with-build-libsubdir=$(HOST_SUBDIR) \
5579 $(STAGE2_CONFIGURE_FLAGS)
5580 @endif binutils-bootstrap
5581
5582 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5583 maybe-configure-stage3-binutils:
5584 @if binutils-bootstrap
5585 maybe-configure-stage3-binutils: configure-stage3-binutils
5586 configure-stage3-binutils:
5587 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5589 @r=`${PWD_COMMAND}`; export r; \
5590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5591 TFLAGS="$(STAGE3_TFLAGS)"; \
5592 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5593 $(HOST_EXPORTS) \
5594 $(POSTSTAGE1_HOST_EXPORTS) \
5595 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5596 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5597 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5598 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5600 cd $(HOST_SUBDIR)/binutils || exit 1; \
5601 case $(srcdir) in \
5602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5603 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5605 esac; \
5606 module_srcdir=binutils; \
5607 $(SHELL) $$s/$$module_srcdir/configure \
5608 --srcdir=$${topdir}/$$module_srcdir \
5609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5610 --target=${target_alias} \
5611 --with-build-libsubdir=$(HOST_SUBDIR) \
5612 $(STAGE3_CONFIGURE_FLAGS)
5613 @endif binutils-bootstrap
5614
5615 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5616 maybe-configure-stage4-binutils:
5617 @if binutils-bootstrap
5618 maybe-configure-stage4-binutils: configure-stage4-binutils
5619 configure-stage4-binutils:
5620 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5622 @r=`${PWD_COMMAND}`; export r; \
5623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 TFLAGS="$(STAGE4_TFLAGS)"; \
5625 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5626 $(HOST_EXPORTS) \
5627 $(POSTSTAGE1_HOST_EXPORTS) \
5628 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5629 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5630 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5631 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5633 cd $(HOST_SUBDIR)/binutils || exit 1; \
5634 case $(srcdir) in \
5635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5636 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5638 esac; \
5639 module_srcdir=binutils; \
5640 $(SHELL) $$s/$$module_srcdir/configure \
5641 --srcdir=$${topdir}/$$module_srcdir \
5642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5643 --target=${target_alias} \
5644 --with-build-libsubdir=$(HOST_SUBDIR) \
5645 $(STAGE4_CONFIGURE_FLAGS)
5646 @endif binutils-bootstrap
5647
5648 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5649 maybe-configure-stageprofile-binutils:
5650 @if binutils-bootstrap
5651 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5652 configure-stageprofile-binutils:
5653 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5655 @r=`${PWD_COMMAND}`; export r; \
5656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5657 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5658 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5659 $(HOST_EXPORTS) \
5660 $(POSTSTAGE1_HOST_EXPORTS) \
5661 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5662 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5663 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5664 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5666 cd $(HOST_SUBDIR)/binutils || exit 1; \
5667 case $(srcdir) in \
5668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5669 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5671 esac; \
5672 module_srcdir=binutils; \
5673 $(SHELL) $$s/$$module_srcdir/configure \
5674 --srcdir=$${topdir}/$$module_srcdir \
5675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5676 --target=${target_alias} \
5677 --with-build-libsubdir=$(HOST_SUBDIR) \
5678 $(STAGEprofile_CONFIGURE_FLAGS)
5679 @endif binutils-bootstrap
5680
5681 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5682 maybe-configure-stagetrain-binutils:
5683 @if binutils-bootstrap
5684 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5685 configure-stagetrain-binutils:
5686 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5687 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5688 @r=`${PWD_COMMAND}`; export r; \
5689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5691 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5692 $(HOST_EXPORTS) \
5693 $(POSTSTAGE1_HOST_EXPORTS) \
5694 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5695 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5696 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5697 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5698 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5699 cd $(HOST_SUBDIR)/binutils || exit 1; \
5700 case $(srcdir) in \
5701 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5702 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5703 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5704 esac; \
5705 module_srcdir=binutils; \
5706 $(SHELL) $$s/$$module_srcdir/configure \
5707 --srcdir=$${topdir}/$$module_srcdir \
5708 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5709 --target=${target_alias} \
5710 --with-build-libsubdir=$(HOST_SUBDIR) \
5711 $(STAGEtrain_CONFIGURE_FLAGS)
5712 @endif binutils-bootstrap
5713
5714 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5715 maybe-configure-stagefeedback-binutils:
5716 @if binutils-bootstrap
5717 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5718 configure-stagefeedback-binutils:
5719 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5721 @r=`${PWD_COMMAND}`; export r; \
5722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5724 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5725 $(HOST_EXPORTS) \
5726 $(POSTSTAGE1_HOST_EXPORTS) \
5727 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5728 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5729 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5730 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5732 cd $(HOST_SUBDIR)/binutils || exit 1; \
5733 case $(srcdir) in \
5734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5735 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5737 esac; \
5738 module_srcdir=binutils; \
5739 $(SHELL) $$s/$$module_srcdir/configure \
5740 --srcdir=$${topdir}/$$module_srcdir \
5741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5742 --target=${target_alias} \
5743 --with-build-libsubdir=$(HOST_SUBDIR) \
5744 $(STAGEfeedback_CONFIGURE_FLAGS)
5745 @endif binutils-bootstrap
5746
5747 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5748 maybe-configure-stageautoprofile-binutils:
5749 @if binutils-bootstrap
5750 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5751 configure-stageautoprofile-binutils:
5752 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5754 @r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5757 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5758 $(HOST_EXPORTS) \
5759 $(POSTSTAGE1_HOST_EXPORTS) \
5760 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5761 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5762 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5763 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5765 cd $(HOST_SUBDIR)/binutils || exit 1; \
5766 case $(srcdir) in \
5767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5768 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5770 esac; \
5771 module_srcdir=binutils; \
5772 $(SHELL) $$s/$$module_srcdir/configure \
5773 --srcdir=$${topdir}/$$module_srcdir \
5774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5775 --target=${target_alias} \
5776 --with-build-libsubdir=$(HOST_SUBDIR) \
5777 $(STAGEautoprofile_CONFIGURE_FLAGS)
5778 @endif binutils-bootstrap
5779
5780 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5781 maybe-configure-stageautofeedback-binutils:
5782 @if binutils-bootstrap
5783 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5784 configure-stageautofeedback-binutils:
5785 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5787 @r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5789 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5790 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5791 $(HOST_EXPORTS) \
5792 $(POSTSTAGE1_HOST_EXPORTS) \
5793 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5794 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5795 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5796 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5798 cd $(HOST_SUBDIR)/binutils || exit 1; \
5799 case $(srcdir) in \
5800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5801 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5803 esac; \
5804 module_srcdir=binutils; \
5805 $(SHELL) $$s/$$module_srcdir/configure \
5806 --srcdir=$${topdir}/$$module_srcdir \
5807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5808 --target=${target_alias} \
5809 --with-build-libsubdir=$(HOST_SUBDIR) \
5810 $(STAGEautofeedback_CONFIGURE_FLAGS)
5811 @endif binutils-bootstrap
5812
5813
5814
5815
5816
5817 .PHONY: all-binutils maybe-all-binutils
5818 maybe-all-binutils:
5819 @if gcc-bootstrap
5820 all-binutils: stage_current
5821 @endif gcc-bootstrap
5822 @if binutils
5823 TARGET-binutils=all
5824 maybe-all-binutils: all-binutils
5825 all-binutils: configure-binutils
5826 @r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(HOST_EXPORTS) \
5829 (cd $(HOST_SUBDIR)/binutils && \
5830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5831 $(TARGET-binutils))
5832 @endif binutils
5833
5834
5835
5836 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5837 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5838 maybe-all-stage1-binutils:
5839 maybe-clean-stage1-binutils:
5840 @if binutils-bootstrap
5841 maybe-all-stage1-binutils: all-stage1-binutils
5842 all-stage1: all-stage1-binutils
5843 TARGET-stage1-binutils = $(TARGET-binutils)
5844 all-stage1-binutils: configure-stage1-binutils
5845 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5846 @r=`${PWD_COMMAND}`; export r; \
5847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5848 TFLAGS="$(STAGE1_TFLAGS)"; \
5849 $(HOST_EXPORTS) \
5850 cd $(HOST_SUBDIR)/binutils && \
5851 \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5853 CFLAGS="$(STAGE1_CFLAGS)" \
5854 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5855 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5856 LIBCFLAGS="$(LIBCFLAGS)" \
5857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5860 $(EXTRA_HOST_FLAGS) \
5861 $(STAGE1_FLAGS_TO_PASS) \
5862 TFLAGS="$(STAGE1_TFLAGS)" \
5863 $(TARGET-stage1-binutils)
5864
5865 maybe-clean-stage1-binutils: clean-stage1-binutils
5866 clean-stage1: clean-stage1-binutils
5867 clean-stage1-binutils:
5868 @if [ $(current_stage) = stage1 ]; then \
5869 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5870 else \
5871 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5872 $(MAKE) stage1-start; \
5873 fi; \
5874 cd $(HOST_SUBDIR)/binutils && \
5875 $(MAKE) $(EXTRA_HOST_FLAGS) \
5876 $(STAGE1_FLAGS_TO_PASS) clean
5877 @endif binutils-bootstrap
5878
5879
5880 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5881 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5882 maybe-all-stage2-binutils:
5883 maybe-clean-stage2-binutils:
5884 @if binutils-bootstrap
5885 maybe-all-stage2-binutils: all-stage2-binutils
5886 all-stage2: all-stage2-binutils
5887 TARGET-stage2-binutils = $(TARGET-binutils)
5888 all-stage2-binutils: configure-stage2-binutils
5889 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5890 @r=`${PWD_COMMAND}`; export r; \
5891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5892 TFLAGS="$(STAGE2_TFLAGS)"; \
5893 $(HOST_EXPORTS) \
5894 $(POSTSTAGE1_HOST_EXPORTS) \
5895 cd $(HOST_SUBDIR)/binutils && \
5896 \
5897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5898 CFLAGS="$(STAGE2_CFLAGS)" \
5899 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5900 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5901 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5905 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5906 TFLAGS="$(STAGE2_TFLAGS)" \
5907 $(TARGET-stage2-binutils)
5908
5909 maybe-clean-stage2-binutils: clean-stage2-binutils
5910 clean-stage2: clean-stage2-binutils
5911 clean-stage2-binutils:
5912 @if [ $(current_stage) = stage2 ]; then \
5913 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5914 else \
5915 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5916 $(MAKE) stage2-start; \
5917 fi; \
5918 cd $(HOST_SUBDIR)/binutils && \
5919 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5920 @endif binutils-bootstrap
5921
5922
5923 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5924 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5925 maybe-all-stage3-binutils:
5926 maybe-clean-stage3-binutils:
5927 @if binutils-bootstrap
5928 maybe-all-stage3-binutils: all-stage3-binutils
5929 all-stage3: all-stage3-binutils
5930 TARGET-stage3-binutils = $(TARGET-binutils)
5931 all-stage3-binutils: configure-stage3-binutils
5932 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5933 @r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 TFLAGS="$(STAGE3_TFLAGS)"; \
5936 $(HOST_EXPORTS) \
5937 $(POSTSTAGE1_HOST_EXPORTS) \
5938 cd $(HOST_SUBDIR)/binutils && \
5939 \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5941 CFLAGS="$(STAGE3_CFLAGS)" \
5942 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5943 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5944 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5945 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5946 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5947 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5948 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5949 TFLAGS="$(STAGE3_TFLAGS)" \
5950 $(TARGET-stage3-binutils)
5951
5952 maybe-clean-stage3-binutils: clean-stage3-binutils
5953 clean-stage3: clean-stage3-binutils
5954 clean-stage3-binutils:
5955 @if [ $(current_stage) = stage3 ]; then \
5956 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5957 else \
5958 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5959 $(MAKE) stage3-start; \
5960 fi; \
5961 cd $(HOST_SUBDIR)/binutils && \
5962 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5963 @endif binutils-bootstrap
5964
5965
5966 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5967 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5968 maybe-all-stage4-binutils:
5969 maybe-clean-stage4-binutils:
5970 @if binutils-bootstrap
5971 maybe-all-stage4-binutils: all-stage4-binutils
5972 all-stage4: all-stage4-binutils
5973 TARGET-stage4-binutils = $(TARGET-binutils)
5974 all-stage4-binutils: configure-stage4-binutils
5975 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5976 @r=`${PWD_COMMAND}`; export r; \
5977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5978 TFLAGS="$(STAGE4_TFLAGS)"; \
5979 $(HOST_EXPORTS) \
5980 $(POSTSTAGE1_HOST_EXPORTS) \
5981 cd $(HOST_SUBDIR)/binutils && \
5982 \
5983 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5984 CFLAGS="$(STAGE4_CFLAGS)" \
5985 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5986 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5987 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5992 TFLAGS="$(STAGE4_TFLAGS)" \
5993 $(TARGET-stage4-binutils)
5994
5995 maybe-clean-stage4-binutils: clean-stage4-binutils
5996 clean-stage4: clean-stage4-binutils
5997 clean-stage4-binutils:
5998 @if [ $(current_stage) = stage4 ]; then \
5999 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6000 else \
6001 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6002 $(MAKE) stage4-start; \
6003 fi; \
6004 cd $(HOST_SUBDIR)/binutils && \
6005 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6006 @endif binutils-bootstrap
6007
6008
6009 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6010 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6011 maybe-all-stageprofile-binutils:
6012 maybe-clean-stageprofile-binutils:
6013 @if binutils-bootstrap
6014 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6015 all-stageprofile: all-stageprofile-binutils
6016 TARGET-stageprofile-binutils = $(TARGET-binutils)
6017 all-stageprofile-binutils: configure-stageprofile-binutils
6018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6019 @r=`${PWD_COMMAND}`; export r; \
6020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6022 $(HOST_EXPORTS) \
6023 $(POSTSTAGE1_HOST_EXPORTS) \
6024 cd $(HOST_SUBDIR)/binutils && \
6025 \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6027 CFLAGS="$(STAGEprofile_CFLAGS)" \
6028 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6029 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6030 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6035 TFLAGS="$(STAGEprofile_TFLAGS)" \
6036 $(TARGET-stageprofile-binutils)
6037
6038 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6039 clean-stageprofile: clean-stageprofile-binutils
6040 clean-stageprofile-binutils:
6041 @if [ $(current_stage) = stageprofile ]; then \
6042 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6043 else \
6044 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6045 $(MAKE) stageprofile-start; \
6046 fi; \
6047 cd $(HOST_SUBDIR)/binutils && \
6048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6049 @endif binutils-bootstrap
6050
6051
6052 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6053 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6054 maybe-all-stagetrain-binutils:
6055 maybe-clean-stagetrain-binutils:
6056 @if binutils-bootstrap
6057 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6058 all-stagetrain: all-stagetrain-binutils
6059 TARGET-stagetrain-binutils = $(TARGET-binutils)
6060 all-stagetrain-binutils: configure-stagetrain-binutils
6061 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6062 @r=`${PWD_COMMAND}`; export r; \
6063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6064 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6065 $(HOST_EXPORTS) \
6066 $(POSTSTAGE1_HOST_EXPORTS) \
6067 cd $(HOST_SUBDIR)/binutils && \
6068 \
6069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6070 CFLAGS="$(STAGEtrain_CFLAGS)" \
6071 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6072 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6073 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6074 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6075 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6076 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6077 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6078 TFLAGS="$(STAGEtrain_TFLAGS)" \
6079 $(TARGET-stagetrain-binutils)
6080
6081 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6082 clean-stagetrain: clean-stagetrain-binutils
6083 clean-stagetrain-binutils:
6084 @if [ $(current_stage) = stagetrain ]; then \
6085 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6086 else \
6087 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6088 $(MAKE) stagetrain-start; \
6089 fi; \
6090 cd $(HOST_SUBDIR)/binutils && \
6091 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6092 @endif binutils-bootstrap
6093
6094
6095 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6096 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6097 maybe-all-stagefeedback-binutils:
6098 maybe-clean-stagefeedback-binutils:
6099 @if binutils-bootstrap
6100 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6101 all-stagefeedback: all-stagefeedback-binutils
6102 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6103 all-stagefeedback-binutils: configure-stagefeedback-binutils
6104 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6105 @r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6108 $(HOST_EXPORTS) \
6109 $(POSTSTAGE1_HOST_EXPORTS) \
6110 cd $(HOST_SUBDIR)/binutils && \
6111 \
6112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6113 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6114 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6115 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6116 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6121 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6122 $(TARGET-stagefeedback-binutils)
6123
6124 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6125 clean-stagefeedback: clean-stagefeedback-binutils
6126 clean-stagefeedback-binutils:
6127 @if [ $(current_stage) = stagefeedback ]; then \
6128 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6129 else \
6130 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6131 $(MAKE) stagefeedback-start; \
6132 fi; \
6133 cd $(HOST_SUBDIR)/binutils && \
6134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6135 @endif binutils-bootstrap
6136
6137
6138 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6139 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6140 maybe-all-stageautoprofile-binutils:
6141 maybe-clean-stageautoprofile-binutils:
6142 @if binutils-bootstrap
6143 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6144 all-stageautoprofile: all-stageautoprofile-binutils
6145 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6146 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6147 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6148 @r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6151 $(HOST_EXPORTS) \
6152 $(POSTSTAGE1_HOST_EXPORTS) \
6153 cd $(HOST_SUBDIR)/binutils && \
6154 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6156 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6157 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6158 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6159 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6164 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6165 $(TARGET-stageautoprofile-binutils)
6166
6167 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6168 clean-stageautoprofile: clean-stageautoprofile-binutils
6169 clean-stageautoprofile-binutils:
6170 @if [ $(current_stage) = stageautoprofile ]; then \
6171 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6172 else \
6173 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6174 $(MAKE) stageautoprofile-start; \
6175 fi; \
6176 cd $(HOST_SUBDIR)/binutils && \
6177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6178 @endif binutils-bootstrap
6179
6180
6181 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6182 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6183 maybe-all-stageautofeedback-binutils:
6184 maybe-clean-stageautofeedback-binutils:
6185 @if binutils-bootstrap
6186 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6187 all-stageautofeedback: all-stageautofeedback-binutils
6188 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6189 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6190 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6191 @r=`${PWD_COMMAND}`; export r; \
6192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6193 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6194 $(HOST_EXPORTS) \
6195 $(POSTSTAGE1_HOST_EXPORTS) \
6196 cd $(HOST_SUBDIR)/binutils && \
6197 \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6199 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6200 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6201 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6202 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6207 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6208 $(TARGET-stageautofeedback-binutils)
6209
6210 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6211 clean-stageautofeedback: clean-stageautofeedback-binutils
6212 clean-stageautofeedback-binutils:
6213 @if [ $(current_stage) = stageautofeedback ]; then \
6214 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6215 else \
6216 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6217 $(MAKE) stageautofeedback-start; \
6218 fi; \
6219 cd $(HOST_SUBDIR)/binutils && \
6220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6221 @endif binutils-bootstrap
6222
6223
6224
6225
6226
6227 .PHONY: check-binutils maybe-check-binutils
6228 maybe-check-binutils:
6229 @if binutils
6230 maybe-check-binutils: check-binutils
6231
6232 check-binutils:
6233 @: $(MAKE); $(unstage)
6234 @r=`${PWD_COMMAND}`; export r; \
6235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6236 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6237 (cd $(HOST_SUBDIR)/binutils && \
6238 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6239
6240 @endif binutils
6241
6242 .PHONY: install-binutils maybe-install-binutils
6243 maybe-install-binutils:
6244 @if binutils
6245 maybe-install-binutils: install-binutils
6246
6247 install-binutils: installdirs
6248 @: $(MAKE); $(unstage)
6249 @r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 (cd $(HOST_SUBDIR)/binutils && \
6253 $(MAKE) $(FLAGS_TO_PASS) install)
6254
6255 @endif binutils
6256
6257 .PHONY: install-strip-binutils maybe-install-strip-binutils
6258 maybe-install-strip-binutils:
6259 @if binutils
6260 maybe-install-strip-binutils: install-strip-binutils
6261
6262 install-strip-binutils: installdirs
6263 @: $(MAKE); $(unstage)
6264 @r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(HOST_EXPORTS) \
6267 (cd $(HOST_SUBDIR)/binutils && \
6268 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6269
6270 @endif binutils
6271
6272 # Other targets (info, dvi, pdf, etc.)
6273
6274 .PHONY: maybe-info-binutils info-binutils
6275 maybe-info-binutils:
6276 @if binutils
6277 maybe-info-binutils: info-binutils
6278
6279 info-binutils: \
6280 configure-binutils
6281 @[ -f ./binutils/Makefile ] || exit 0; \
6282 r=`${PWD_COMMAND}`; export r; \
6283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6284 $(HOST_EXPORTS) \
6285 for flag in $(EXTRA_HOST_FLAGS) ; do \
6286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6287 done; \
6288 echo "Doing info in binutils"; \
6289 (cd $(HOST_SUBDIR)/binutils && \
6290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6292 "RANLIB=$${RANLIB}" \
6293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6294 info) \
6295 || exit 1
6296
6297 @endif binutils
6298
6299 .PHONY: maybe-dvi-binutils dvi-binutils
6300 maybe-dvi-binutils:
6301 @if binutils
6302 maybe-dvi-binutils: dvi-binutils
6303
6304 dvi-binutils: \
6305 configure-binutils
6306 @[ -f ./binutils/Makefile ] || exit 0; \
6307 r=`${PWD_COMMAND}`; export r; \
6308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6309 $(HOST_EXPORTS) \
6310 for flag in $(EXTRA_HOST_FLAGS) ; do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312 done; \
6313 echo "Doing dvi in binutils"; \
6314 (cd $(HOST_SUBDIR)/binutils && \
6315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317 "RANLIB=$${RANLIB}" \
6318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6319 dvi) \
6320 || exit 1
6321
6322 @endif binutils
6323
6324 .PHONY: maybe-pdf-binutils pdf-binutils
6325 maybe-pdf-binutils:
6326 @if binutils
6327 maybe-pdf-binutils: pdf-binutils
6328
6329 pdf-binutils: \
6330 configure-binutils
6331 @[ -f ./binutils/Makefile ] || exit 0; \
6332 r=`${PWD_COMMAND}`; export r; \
6333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6334 $(HOST_EXPORTS) \
6335 for flag in $(EXTRA_HOST_FLAGS) ; do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337 done; \
6338 echo "Doing pdf in binutils"; \
6339 (cd $(HOST_SUBDIR)/binutils && \
6340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342 "RANLIB=$${RANLIB}" \
6343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6344 pdf) \
6345 || exit 1
6346
6347 @endif binutils
6348
6349 .PHONY: maybe-html-binutils html-binutils
6350 maybe-html-binutils:
6351 @if binutils
6352 maybe-html-binutils: html-binutils
6353
6354 html-binutils: \
6355 configure-binutils
6356 @[ -f ./binutils/Makefile ] || exit 0; \
6357 r=`${PWD_COMMAND}`; export r; \
6358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6359 $(HOST_EXPORTS) \
6360 for flag in $(EXTRA_HOST_FLAGS) ; do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 done; \
6363 echo "Doing html in binutils"; \
6364 (cd $(HOST_SUBDIR)/binutils && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6369 html) \
6370 || exit 1
6371
6372 @endif binutils
6373
6374 .PHONY: maybe-TAGS-binutils TAGS-binutils
6375 maybe-TAGS-binutils:
6376 @if binutils
6377 maybe-TAGS-binutils: TAGS-binutils
6378
6379 TAGS-binutils: \
6380 configure-binutils
6381 @[ -f ./binutils/Makefile ] || exit 0; \
6382 r=`${PWD_COMMAND}`; export r; \
6383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6384 $(HOST_EXPORTS) \
6385 for flag in $(EXTRA_HOST_FLAGS) ; do \
6386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6387 done; \
6388 echo "Doing TAGS in binutils"; \
6389 (cd $(HOST_SUBDIR)/binutils && \
6390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6392 "RANLIB=$${RANLIB}" \
6393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6394 TAGS) \
6395 || exit 1
6396
6397 @endif binutils
6398
6399 .PHONY: maybe-install-info-binutils install-info-binutils
6400 maybe-install-info-binutils:
6401 @if binutils
6402 maybe-install-info-binutils: install-info-binutils
6403
6404 install-info-binutils: \
6405 configure-binutils \
6406 info-binutils
6407 @[ -f ./binutils/Makefile ] || exit 0; \
6408 r=`${PWD_COMMAND}`; export r; \
6409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 $(HOST_EXPORTS) \
6411 for flag in $(EXTRA_HOST_FLAGS) ; do \
6412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6413 done; \
6414 echo "Doing install-info in binutils"; \
6415 (cd $(HOST_SUBDIR)/binutils && \
6416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6418 "RANLIB=$${RANLIB}" \
6419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6420 install-info) \
6421 || exit 1
6422
6423 @endif binutils
6424
6425 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6426 maybe-install-pdf-binutils:
6427 @if binutils
6428 maybe-install-pdf-binutils: install-pdf-binutils
6429
6430 install-pdf-binutils: \
6431 configure-binutils \
6432 pdf-binutils
6433 @[ -f ./binutils/Makefile ] || exit 0; \
6434 r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6436 $(HOST_EXPORTS) \
6437 for flag in $(EXTRA_HOST_FLAGS) ; do \
6438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6439 done; \
6440 echo "Doing install-pdf in binutils"; \
6441 (cd $(HOST_SUBDIR)/binutils && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6444 "RANLIB=$${RANLIB}" \
6445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6446 install-pdf) \
6447 || exit 1
6448
6449 @endif binutils
6450
6451 .PHONY: maybe-install-html-binutils install-html-binutils
6452 maybe-install-html-binutils:
6453 @if binutils
6454 maybe-install-html-binutils: install-html-binutils
6455
6456 install-html-binutils: \
6457 configure-binutils \
6458 html-binutils
6459 @[ -f ./binutils/Makefile ] || exit 0; \
6460 r=`${PWD_COMMAND}`; export r; \
6461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6462 $(HOST_EXPORTS) \
6463 for flag in $(EXTRA_HOST_FLAGS) ; do \
6464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6465 done; \
6466 echo "Doing install-html in binutils"; \
6467 (cd $(HOST_SUBDIR)/binutils && \
6468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6470 "RANLIB=$${RANLIB}" \
6471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6472 install-html) \
6473 || exit 1
6474
6475 @endif binutils
6476
6477 .PHONY: maybe-installcheck-binutils installcheck-binutils
6478 maybe-installcheck-binutils:
6479 @if binutils
6480 maybe-installcheck-binutils: installcheck-binutils
6481
6482 installcheck-binutils: \
6483 configure-binutils
6484 @[ -f ./binutils/Makefile ] || exit 0; \
6485 r=`${PWD_COMMAND}`; export r; \
6486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6487 $(HOST_EXPORTS) \
6488 for flag in $(EXTRA_HOST_FLAGS) ; do \
6489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6490 done; \
6491 echo "Doing installcheck in binutils"; \
6492 (cd $(HOST_SUBDIR)/binutils && \
6493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6495 "RANLIB=$${RANLIB}" \
6496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6497 installcheck) \
6498 || exit 1
6499
6500 @endif binutils
6501
6502 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6503 maybe-mostlyclean-binutils:
6504 @if binutils
6505 maybe-mostlyclean-binutils: mostlyclean-binutils
6506
6507 mostlyclean-binutils:
6508 @[ -f ./binutils/Makefile ] || exit 0; \
6509 r=`${PWD_COMMAND}`; export r; \
6510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6511 $(HOST_EXPORTS) \
6512 for flag in $(EXTRA_HOST_FLAGS) ; do \
6513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6514 done; \
6515 echo "Doing mostlyclean in binutils"; \
6516 (cd $(HOST_SUBDIR)/binutils && \
6517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6519 "RANLIB=$${RANLIB}" \
6520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6521 mostlyclean) \
6522 || exit 1
6523
6524 @endif binutils
6525
6526 .PHONY: maybe-clean-binutils clean-binutils
6527 maybe-clean-binutils:
6528 @if binutils
6529 maybe-clean-binutils: clean-binutils
6530
6531 clean-binutils:
6532 @[ -f ./binutils/Makefile ] || exit 0; \
6533 r=`${PWD_COMMAND}`; export r; \
6534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 $(HOST_EXPORTS) \
6536 for flag in $(EXTRA_HOST_FLAGS) ; do \
6537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6538 done; \
6539 echo "Doing clean in binutils"; \
6540 (cd $(HOST_SUBDIR)/binutils && \
6541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6543 "RANLIB=$${RANLIB}" \
6544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6545 clean) \
6546 || exit 1
6547
6548 @endif binutils
6549
6550 .PHONY: maybe-distclean-binutils distclean-binutils
6551 maybe-distclean-binutils:
6552 @if binutils
6553 maybe-distclean-binutils: distclean-binutils
6554
6555 distclean-binutils:
6556 @[ -f ./binutils/Makefile ] || exit 0; \
6557 r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(HOST_EXPORTS) \
6560 for flag in $(EXTRA_HOST_FLAGS) ; do \
6561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6562 done; \
6563 echo "Doing distclean in binutils"; \
6564 (cd $(HOST_SUBDIR)/binutils && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6567 "RANLIB=$${RANLIB}" \
6568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6569 distclean) \
6570 || exit 1
6571
6572 @endif binutils
6573
6574 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6575 maybe-maintainer-clean-binutils:
6576 @if binutils
6577 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6578
6579 maintainer-clean-binutils:
6580 @[ -f ./binutils/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing maintainer-clean in binutils"; \
6588 (cd $(HOST_SUBDIR)/binutils && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6593 maintainer-clean) \
6594 || exit 1
6595
6596 @endif binutils
6597
6598
6599
6600 .PHONY: configure-bison maybe-configure-bison
6601 maybe-configure-bison:
6602 @if gcc-bootstrap
6603 configure-bison: stage_current
6604 @endif gcc-bootstrap
6605 @if bison
6606 maybe-configure-bison: configure-bison
6607 configure-bison:
6608 @: $(MAKE); $(unstage)
6609 @r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6613 $(HOST_EXPORTS) \
6614 echo Configuring in $(HOST_SUBDIR)/bison; \
6615 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6616 case $(srcdir) in \
6617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6618 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6620 esac; \
6621 module_srcdir=bison; \
6622 $(SHELL) \
6623 $$s/$$module_srcdir/configure \
6624 --srcdir=$${topdir}/$$module_srcdir \
6625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6626 --target=${target_alias} \
6627 || exit 1
6628 @endif bison
6629
6630
6631
6632
6633
6634 .PHONY: all-bison maybe-all-bison
6635 maybe-all-bison:
6636 @if gcc-bootstrap
6637 all-bison: stage_current
6638 @endif gcc-bootstrap
6639 @if bison
6640 TARGET-bison=all
6641 maybe-all-bison: all-bison
6642 all-bison: configure-bison
6643 @: $(MAKE); $(unstage)
6644 @r=`${PWD_COMMAND}`; export r; \
6645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6646 $(HOST_EXPORTS) \
6647 (cd $(HOST_SUBDIR)/bison && \
6648 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6649 $(TARGET-bison))
6650 @endif bison
6651
6652
6653
6654
6655 .PHONY: check-bison maybe-check-bison
6656 maybe-check-bison:
6657 @if bison
6658 maybe-check-bison: check-bison
6659
6660 # This module is only tested in a native toolchain.
6661 check-bison:
6662 @: $(MAKE); $(unstage)
6663 @if [ '$(host)' = '$(target)' ]; then \
6664 r=`${PWD_COMMAND}`; export r; \
6665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6666 $(HOST_EXPORTS) \
6667 (cd $(HOST_SUBDIR)/bison && \
6668 $(MAKE) $(FLAGS_TO_PASS) check)
6669 fi
6670
6671 @endif bison
6672
6673 .PHONY: install-bison maybe-install-bison
6674 maybe-install-bison:
6675 @if bison
6676 maybe-install-bison: install-bison
6677
6678 install-bison: installdirs
6679 @: $(MAKE); $(unstage)
6680 @r=`${PWD_COMMAND}`; export r; \
6681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6682 $(HOST_EXPORTS) \
6683 (cd $(HOST_SUBDIR)/bison && \
6684 $(MAKE) $(FLAGS_TO_PASS) install)
6685
6686 @endif bison
6687
6688 .PHONY: install-strip-bison maybe-install-strip-bison
6689 maybe-install-strip-bison:
6690 @if bison
6691 maybe-install-strip-bison: install-strip-bison
6692
6693 install-strip-bison: installdirs
6694 @: $(MAKE); $(unstage)
6695 @r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(HOST_EXPORTS) \
6698 (cd $(HOST_SUBDIR)/bison && \
6699 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6700
6701 @endif bison
6702
6703 # Other targets (info, dvi, pdf, etc.)
6704
6705 .PHONY: maybe-info-bison info-bison
6706 maybe-info-bison:
6707 @if bison
6708 maybe-info-bison: info-bison
6709
6710 info-bison: \
6711 configure-bison
6712 @: $(MAKE); $(unstage)
6713 @[ -f ./bison/Makefile ] || exit 0; \
6714 r=`${PWD_COMMAND}`; export r; \
6715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6716 $(HOST_EXPORTS) \
6717 for flag in $(EXTRA_HOST_FLAGS) ; do \
6718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6719 done; \
6720 echo "Doing info in bison"; \
6721 (cd $(HOST_SUBDIR)/bison && \
6722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724 "RANLIB=$${RANLIB}" \
6725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6726 info) \
6727 || exit 1
6728
6729 @endif bison
6730
6731 .PHONY: maybe-dvi-bison dvi-bison
6732 maybe-dvi-bison:
6733 @if bison
6734 maybe-dvi-bison: dvi-bison
6735
6736 dvi-bison: \
6737 configure-bison
6738 @: $(MAKE); $(unstage)
6739 @[ -f ./bison/Makefile ] || exit 0; \
6740 r=`${PWD_COMMAND}`; export r; \
6741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6742 $(HOST_EXPORTS) \
6743 for flag in $(EXTRA_HOST_FLAGS) ; do \
6744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6745 done; \
6746 echo "Doing dvi in bison"; \
6747 (cd $(HOST_SUBDIR)/bison && \
6748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6750 "RANLIB=$${RANLIB}" \
6751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6752 dvi) \
6753 || exit 1
6754
6755 @endif bison
6756
6757 .PHONY: maybe-pdf-bison pdf-bison
6758 maybe-pdf-bison:
6759 @if bison
6760 maybe-pdf-bison: pdf-bison
6761
6762 pdf-bison: \
6763 configure-bison
6764 @: $(MAKE); $(unstage)
6765 @[ -f ./bison/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6768 $(HOST_EXPORTS) \
6769 for flag in $(EXTRA_HOST_FLAGS) ; do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6771 done; \
6772 echo "Doing pdf in bison"; \
6773 (cd $(HOST_SUBDIR)/bison && \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6778 pdf) \
6779 || exit 1
6780
6781 @endif bison
6782
6783 .PHONY: maybe-html-bison html-bison
6784 maybe-html-bison:
6785 @if bison
6786 maybe-html-bison: html-bison
6787
6788 html-bison: \
6789 configure-bison
6790 @: $(MAKE); $(unstage)
6791 @[ -f ./bison/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(HOST_EXPORTS) \
6795 for flag in $(EXTRA_HOST_FLAGS) ; do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing html in bison"; \
6799 (cd $(HOST_SUBDIR)/bison && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6804 html) \
6805 || exit 1
6806
6807 @endif bison
6808
6809 .PHONY: maybe-TAGS-bison TAGS-bison
6810 maybe-TAGS-bison:
6811 @if bison
6812 maybe-TAGS-bison: TAGS-bison
6813
6814 TAGS-bison: \
6815 configure-bison
6816 @: $(MAKE); $(unstage)
6817 @[ -f ./bison/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(HOST_EXPORTS) \
6821 for flag in $(EXTRA_HOST_FLAGS) ; do \
6822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6823 done; \
6824 echo "Doing TAGS in bison"; \
6825 (cd $(HOST_SUBDIR)/bison && \
6826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828 "RANLIB=$${RANLIB}" \
6829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6830 TAGS) \
6831 || exit 1
6832
6833 @endif bison
6834
6835 .PHONY: maybe-install-info-bison install-info-bison
6836 maybe-install-info-bison:
6837 @if bison
6838 maybe-install-info-bison: install-info-bison
6839
6840 install-info-bison: \
6841 configure-bison \
6842 info-bison
6843 @: $(MAKE); $(unstage)
6844 @[ -f ./bison/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing install-info in bison"; \
6852 (cd $(HOST_SUBDIR)/bison && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6857 install-info) \
6858 || exit 1
6859
6860 @endif bison
6861
6862 .PHONY: maybe-install-pdf-bison install-pdf-bison
6863 maybe-install-pdf-bison:
6864 @if bison
6865 maybe-install-pdf-bison: install-pdf-bison
6866
6867 install-pdf-bison: \
6868 configure-bison \
6869 pdf-bison
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./bison/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing install-pdf in bison"; \
6879 (cd $(HOST_SUBDIR)/bison && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6884 install-pdf) \
6885 || exit 1
6886
6887 @endif bison
6888
6889 .PHONY: maybe-install-html-bison install-html-bison
6890 maybe-install-html-bison:
6891 @if bison
6892 maybe-install-html-bison: install-html-bison
6893
6894 install-html-bison: \
6895 configure-bison \
6896 html-bison
6897 @: $(MAKE); $(unstage)
6898 @[ -f ./bison/Makefile ] || exit 0; \
6899 r=`${PWD_COMMAND}`; export r; \
6900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6901 $(HOST_EXPORTS) \
6902 for flag in $(EXTRA_HOST_FLAGS) ; do \
6903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6904 done; \
6905 echo "Doing install-html in bison"; \
6906 (cd $(HOST_SUBDIR)/bison && \
6907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6909 "RANLIB=$${RANLIB}" \
6910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6911 install-html) \
6912 || exit 1
6913
6914 @endif bison
6915
6916 .PHONY: maybe-installcheck-bison installcheck-bison
6917 maybe-installcheck-bison:
6918 @if bison
6919 maybe-installcheck-bison: installcheck-bison
6920
6921 installcheck-bison: \
6922 configure-bison
6923 @: $(MAKE); $(unstage)
6924 @[ -f ./bison/Makefile ] || exit 0; \
6925 r=`${PWD_COMMAND}`; export r; \
6926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6927 $(HOST_EXPORTS) \
6928 for flag in $(EXTRA_HOST_FLAGS) ; do \
6929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6930 done; \
6931 echo "Doing installcheck in bison"; \
6932 (cd $(HOST_SUBDIR)/bison && \
6933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6935 "RANLIB=$${RANLIB}" \
6936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6937 installcheck) \
6938 || exit 1
6939
6940 @endif bison
6941
6942 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6943 maybe-mostlyclean-bison:
6944 @if bison
6945 maybe-mostlyclean-bison: mostlyclean-bison
6946
6947 mostlyclean-bison:
6948 @: $(MAKE); $(unstage)
6949 @[ -f ./bison/Makefile ] || exit 0; \
6950 r=`${PWD_COMMAND}`; export r; \
6951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6952 $(HOST_EXPORTS) \
6953 for flag in $(EXTRA_HOST_FLAGS) ; do \
6954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6955 done; \
6956 echo "Doing mostlyclean in bison"; \
6957 (cd $(HOST_SUBDIR)/bison && \
6958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6960 "RANLIB=$${RANLIB}" \
6961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6962 mostlyclean) \
6963 || exit 1
6964
6965 @endif bison
6966
6967 .PHONY: maybe-clean-bison clean-bison
6968 maybe-clean-bison:
6969 @if bison
6970 maybe-clean-bison: clean-bison
6971
6972 clean-bison:
6973 @: $(MAKE); $(unstage)
6974 @[ -f ./bison/Makefile ] || exit 0; \
6975 r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6977 $(HOST_EXPORTS) \
6978 for flag in $(EXTRA_HOST_FLAGS) ; do \
6979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6980 done; \
6981 echo "Doing clean in bison"; \
6982 (cd $(HOST_SUBDIR)/bison && \
6983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6985 "RANLIB=$${RANLIB}" \
6986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6987 clean) \
6988 || exit 1
6989
6990 @endif bison
6991
6992 .PHONY: maybe-distclean-bison distclean-bison
6993 maybe-distclean-bison:
6994 @if bison
6995 maybe-distclean-bison: distclean-bison
6996
6997 distclean-bison:
6998 @: $(MAKE); $(unstage)
6999 @[ -f ./bison/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(HOST_EXPORTS) \
7003 for flag in $(EXTRA_HOST_FLAGS) ; do \
7004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7005 done; \
7006 echo "Doing distclean in bison"; \
7007 (cd $(HOST_SUBDIR)/bison && \
7008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010 "RANLIB=$${RANLIB}" \
7011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7012 distclean) \
7013 || exit 1
7014
7015 @endif bison
7016
7017 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7018 maybe-maintainer-clean-bison:
7019 @if bison
7020 maybe-maintainer-clean-bison: maintainer-clean-bison
7021
7022 maintainer-clean-bison:
7023 @: $(MAKE); $(unstage)
7024 @[ -f ./bison/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing maintainer-clean in bison"; \
7032 (cd $(HOST_SUBDIR)/bison && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7037 maintainer-clean) \
7038 || exit 1
7039
7040 @endif bison
7041
7042
7043
7044 .PHONY: configure-cgen maybe-configure-cgen
7045 maybe-configure-cgen:
7046 @if gcc-bootstrap
7047 configure-cgen: stage_current
7048 @endif gcc-bootstrap
7049 @if cgen
7050 maybe-configure-cgen: configure-cgen
7051 configure-cgen:
7052 @: $(MAKE); $(unstage)
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7057 $(HOST_EXPORTS) \
7058 echo Configuring in $(HOST_SUBDIR)/cgen; \
7059 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7060 case $(srcdir) in \
7061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7062 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7064 esac; \
7065 module_srcdir=cgen; \
7066 $(SHELL) \
7067 $$s/$$module_srcdir/configure \
7068 --srcdir=$${topdir}/$$module_srcdir \
7069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7070 --target=${target_alias} \
7071 || exit 1
7072 @endif cgen
7073
7074
7075
7076
7077
7078 .PHONY: all-cgen maybe-all-cgen
7079 maybe-all-cgen:
7080 @if gcc-bootstrap
7081 all-cgen: stage_current
7082 @endif gcc-bootstrap
7083 @if cgen
7084 TARGET-cgen=all
7085 maybe-all-cgen: all-cgen
7086 all-cgen: configure-cgen
7087 @: $(MAKE); $(unstage)
7088 @r=`${PWD_COMMAND}`; export r; \
7089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7090 $(HOST_EXPORTS) \
7091 (cd $(HOST_SUBDIR)/cgen && \
7092 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7093 $(TARGET-cgen))
7094 @endif cgen
7095
7096
7097
7098
7099 .PHONY: check-cgen maybe-check-cgen
7100 maybe-check-cgen:
7101 @if cgen
7102 maybe-check-cgen: check-cgen
7103
7104 check-cgen:
7105 @: $(MAKE); $(unstage)
7106 @r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(HOST_EXPORTS) \
7109 (cd $(HOST_SUBDIR)/cgen && \
7110 $(MAKE) $(FLAGS_TO_PASS) check)
7111
7112 @endif cgen
7113
7114 .PHONY: install-cgen maybe-install-cgen
7115 maybe-install-cgen:
7116 @if cgen
7117 maybe-install-cgen: install-cgen
7118
7119 install-cgen: installdirs
7120 @: $(MAKE); $(unstage)
7121 @r=`${PWD_COMMAND}`; export r; \
7122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 $(HOST_EXPORTS) \
7124 (cd $(HOST_SUBDIR)/cgen && \
7125 $(MAKE) $(FLAGS_TO_PASS) install)
7126
7127 @endif cgen
7128
7129 .PHONY: install-strip-cgen maybe-install-strip-cgen
7130 maybe-install-strip-cgen:
7131 @if cgen
7132 maybe-install-strip-cgen: install-strip-cgen
7133
7134 install-strip-cgen: installdirs
7135 @: $(MAKE); $(unstage)
7136 @r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 (cd $(HOST_SUBDIR)/cgen && \
7140 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7141
7142 @endif cgen
7143
7144 # Other targets (info, dvi, pdf, etc.)
7145
7146 .PHONY: maybe-info-cgen info-cgen
7147 maybe-info-cgen:
7148 @if cgen
7149 maybe-info-cgen: info-cgen
7150
7151 info-cgen: \
7152 configure-cgen
7153 @: $(MAKE); $(unstage)
7154 @[ -f ./cgen/Makefile ] || exit 0; \
7155 r=`${PWD_COMMAND}`; export r; \
7156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7157 $(HOST_EXPORTS) \
7158 for flag in $(EXTRA_HOST_FLAGS) ; do \
7159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7160 done; \
7161 echo "Doing info in cgen"; \
7162 (cd $(HOST_SUBDIR)/cgen && \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165 "RANLIB=$${RANLIB}" \
7166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7167 info) \
7168 || exit 1
7169
7170 @endif cgen
7171
7172 .PHONY: maybe-dvi-cgen dvi-cgen
7173 maybe-dvi-cgen:
7174 @if cgen
7175 maybe-dvi-cgen: dvi-cgen
7176
7177 dvi-cgen: \
7178 configure-cgen
7179 @: $(MAKE); $(unstage)
7180 @[ -f ./cgen/Makefile ] || exit 0; \
7181 r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(HOST_EXPORTS) \
7184 for flag in $(EXTRA_HOST_FLAGS) ; do \
7185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186 done; \
7187 echo "Doing dvi in cgen"; \
7188 (cd $(HOST_SUBDIR)/cgen && \
7189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191 "RANLIB=$${RANLIB}" \
7192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7193 dvi) \
7194 || exit 1
7195
7196 @endif cgen
7197
7198 .PHONY: maybe-pdf-cgen pdf-cgen
7199 maybe-pdf-cgen:
7200 @if cgen
7201 maybe-pdf-cgen: pdf-cgen
7202
7203 pdf-cgen: \
7204 configure-cgen
7205 @: $(MAKE); $(unstage)
7206 @[ -f ./cgen/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing pdf in cgen"; \
7214 (cd $(HOST_SUBDIR)/cgen && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7219 pdf) \
7220 || exit 1
7221
7222 @endif cgen
7223
7224 .PHONY: maybe-html-cgen html-cgen
7225 maybe-html-cgen:
7226 @if cgen
7227 maybe-html-cgen: html-cgen
7228
7229 html-cgen: \
7230 configure-cgen
7231 @: $(MAKE); $(unstage)
7232 @[ -f ./cgen/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 $(HOST_EXPORTS) \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 done; \
7239 echo "Doing html in cgen"; \
7240 (cd $(HOST_SUBDIR)/cgen && \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7245 html) \
7246 || exit 1
7247
7248 @endif cgen
7249
7250 .PHONY: maybe-TAGS-cgen TAGS-cgen
7251 maybe-TAGS-cgen:
7252 @if cgen
7253 maybe-TAGS-cgen: TAGS-cgen
7254
7255 TAGS-cgen: \
7256 configure-cgen
7257 @: $(MAKE); $(unstage)
7258 @[ -f ./cgen/Makefile ] || exit 0; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 $(HOST_EXPORTS) \
7262 for flag in $(EXTRA_HOST_FLAGS) ; do \
7263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7264 done; \
7265 echo "Doing TAGS in cgen"; \
7266 (cd $(HOST_SUBDIR)/cgen && \
7267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269 "RANLIB=$${RANLIB}" \
7270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7271 TAGS) \
7272 || exit 1
7273
7274 @endif cgen
7275
7276 .PHONY: maybe-install-info-cgen install-info-cgen
7277 maybe-install-info-cgen:
7278 @if cgen
7279 maybe-install-info-cgen: install-info-cgen
7280
7281 install-info-cgen: \
7282 configure-cgen \
7283 info-cgen
7284 @: $(MAKE); $(unstage)
7285 @[ -f ./cgen/Makefile ] || exit 0; \
7286 r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(HOST_EXPORTS) \
7289 for flag in $(EXTRA_HOST_FLAGS) ; do \
7290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7291 done; \
7292 echo "Doing install-info in cgen"; \
7293 (cd $(HOST_SUBDIR)/cgen && \
7294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7296 "RANLIB=$${RANLIB}" \
7297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7298 install-info) \
7299 || exit 1
7300
7301 @endif cgen
7302
7303 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7304 maybe-install-pdf-cgen:
7305 @if cgen
7306 maybe-install-pdf-cgen: install-pdf-cgen
7307
7308 install-pdf-cgen: \
7309 configure-cgen \
7310 pdf-cgen
7311 @: $(MAKE); $(unstage)
7312 @[ -f ./cgen/Makefile ] || exit 0; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(HOST_EXPORTS) \
7316 for flag in $(EXTRA_HOST_FLAGS) ; do \
7317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7318 done; \
7319 echo "Doing install-pdf in cgen"; \
7320 (cd $(HOST_SUBDIR)/cgen && \
7321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7323 "RANLIB=$${RANLIB}" \
7324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7325 install-pdf) \
7326 || exit 1
7327
7328 @endif cgen
7329
7330 .PHONY: maybe-install-html-cgen install-html-cgen
7331 maybe-install-html-cgen:
7332 @if cgen
7333 maybe-install-html-cgen: install-html-cgen
7334
7335 install-html-cgen: \
7336 configure-cgen \
7337 html-cgen
7338 @: $(MAKE); $(unstage)
7339 @[ -f ./cgen/Makefile ] || exit 0; \
7340 r=`${PWD_COMMAND}`; export r; \
7341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 $(HOST_EXPORTS) \
7343 for flag in $(EXTRA_HOST_FLAGS) ; do \
7344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7345 done; \
7346 echo "Doing install-html in cgen"; \
7347 (cd $(HOST_SUBDIR)/cgen && \
7348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7350 "RANLIB=$${RANLIB}" \
7351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7352 install-html) \
7353 || exit 1
7354
7355 @endif cgen
7356
7357 .PHONY: maybe-installcheck-cgen installcheck-cgen
7358 maybe-installcheck-cgen:
7359 @if cgen
7360 maybe-installcheck-cgen: installcheck-cgen
7361
7362 installcheck-cgen: \
7363 configure-cgen
7364 @: $(MAKE); $(unstage)
7365 @[ -f ./cgen/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(HOST_EXPORTS) \
7369 for flag in $(EXTRA_HOST_FLAGS) ; do \
7370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7371 done; \
7372 echo "Doing installcheck in cgen"; \
7373 (cd $(HOST_SUBDIR)/cgen && \
7374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7376 "RANLIB=$${RANLIB}" \
7377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7378 installcheck) \
7379 || exit 1
7380
7381 @endif cgen
7382
7383 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7384 maybe-mostlyclean-cgen:
7385 @if cgen
7386 maybe-mostlyclean-cgen: mostlyclean-cgen
7387
7388 mostlyclean-cgen:
7389 @: $(MAKE); $(unstage)
7390 @[ -f ./cgen/Makefile ] || exit 0; \
7391 r=`${PWD_COMMAND}`; export r; \
7392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7393 $(HOST_EXPORTS) \
7394 for flag in $(EXTRA_HOST_FLAGS) ; do \
7395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7396 done; \
7397 echo "Doing mostlyclean in cgen"; \
7398 (cd $(HOST_SUBDIR)/cgen && \
7399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7401 "RANLIB=$${RANLIB}" \
7402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7403 mostlyclean) \
7404 || exit 1
7405
7406 @endif cgen
7407
7408 .PHONY: maybe-clean-cgen clean-cgen
7409 maybe-clean-cgen:
7410 @if cgen
7411 maybe-clean-cgen: clean-cgen
7412
7413 clean-cgen:
7414 @: $(MAKE); $(unstage)
7415 @[ -f ./cgen/Makefile ] || exit 0; \
7416 r=`${PWD_COMMAND}`; export r; \
7417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7418 $(HOST_EXPORTS) \
7419 for flag in $(EXTRA_HOST_FLAGS) ; do \
7420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7421 done; \
7422 echo "Doing clean in cgen"; \
7423 (cd $(HOST_SUBDIR)/cgen && \
7424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7426 "RANLIB=$${RANLIB}" \
7427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7428 clean) \
7429 || exit 1
7430
7431 @endif cgen
7432
7433 .PHONY: maybe-distclean-cgen distclean-cgen
7434 maybe-distclean-cgen:
7435 @if cgen
7436 maybe-distclean-cgen: distclean-cgen
7437
7438 distclean-cgen:
7439 @: $(MAKE); $(unstage)
7440 @[ -f ./cgen/Makefile ] || exit 0; \
7441 r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing distclean in cgen"; \
7448 (cd $(HOST_SUBDIR)/cgen && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7453 distclean) \
7454 || exit 1
7455
7456 @endif cgen
7457
7458 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7459 maybe-maintainer-clean-cgen:
7460 @if cgen
7461 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7462
7463 maintainer-clean-cgen:
7464 @: $(MAKE); $(unstage)
7465 @[ -f ./cgen/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(HOST_EXPORTS) \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7471 done; \
7472 echo "Doing maintainer-clean in cgen"; \
7473 (cd $(HOST_SUBDIR)/cgen && \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7478 maintainer-clean) \
7479 || exit 1
7480
7481 @endif cgen
7482
7483
7484
7485 .PHONY: configure-dejagnu maybe-configure-dejagnu
7486 maybe-configure-dejagnu:
7487 @if gcc-bootstrap
7488 configure-dejagnu: stage_current
7489 @endif gcc-bootstrap
7490 @if dejagnu
7491 maybe-configure-dejagnu: configure-dejagnu
7492 configure-dejagnu:
7493 @: $(MAKE); $(unstage)
7494 @r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7498 $(HOST_EXPORTS) \
7499 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7500 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7501 case $(srcdir) in \
7502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7503 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7505 esac; \
7506 module_srcdir=dejagnu; \
7507 $(SHELL) \
7508 $$s/$$module_srcdir/configure \
7509 --srcdir=$${topdir}/$$module_srcdir \
7510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7511 --target=${target_alias} \
7512 || exit 1
7513 @endif dejagnu
7514
7515
7516
7517
7518
7519 .PHONY: all-dejagnu maybe-all-dejagnu
7520 maybe-all-dejagnu:
7521 @if gcc-bootstrap
7522 all-dejagnu: stage_current
7523 @endif gcc-bootstrap
7524 @if dejagnu
7525 TARGET-dejagnu=all
7526 maybe-all-dejagnu: all-dejagnu
7527 all-dejagnu: configure-dejagnu
7528 @: $(MAKE); $(unstage)
7529 @r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 $(HOST_EXPORTS) \
7532 (cd $(HOST_SUBDIR)/dejagnu && \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7534 $(TARGET-dejagnu))
7535 @endif dejagnu
7536
7537
7538
7539
7540 .PHONY: check-dejagnu maybe-check-dejagnu
7541 maybe-check-dejagnu:
7542 @if dejagnu
7543 maybe-check-dejagnu: check-dejagnu
7544
7545 check-dejagnu:
7546 @: $(MAKE); $(unstage)
7547 @r=`${PWD_COMMAND}`; export r; \
7548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7549 $(HOST_EXPORTS) \
7550 (cd $(HOST_SUBDIR)/dejagnu && \
7551 $(MAKE) $(FLAGS_TO_PASS) check)
7552
7553 @endif dejagnu
7554
7555 .PHONY: install-dejagnu maybe-install-dejagnu
7556 maybe-install-dejagnu:
7557 @if dejagnu
7558 maybe-install-dejagnu: install-dejagnu
7559
7560 install-dejagnu: installdirs
7561 @: $(MAKE); $(unstage)
7562 @r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(HOST_EXPORTS) \
7565 (cd $(HOST_SUBDIR)/dejagnu && \
7566 $(MAKE) $(FLAGS_TO_PASS) install)
7567
7568 @endif dejagnu
7569
7570 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7571 maybe-install-strip-dejagnu:
7572 @if dejagnu
7573 maybe-install-strip-dejagnu: install-strip-dejagnu
7574
7575 install-strip-dejagnu: installdirs
7576 @: $(MAKE); $(unstage)
7577 @r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579 $(HOST_EXPORTS) \
7580 (cd $(HOST_SUBDIR)/dejagnu && \
7581 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7582
7583 @endif dejagnu
7584
7585 # Other targets (info, dvi, pdf, etc.)
7586
7587 .PHONY: maybe-info-dejagnu info-dejagnu
7588 maybe-info-dejagnu:
7589 @if dejagnu
7590 maybe-info-dejagnu: info-dejagnu
7591
7592 info-dejagnu: \
7593 configure-dejagnu
7594 @: $(MAKE); $(unstage)
7595 @[ -f ./dejagnu/Makefile ] || exit 0; \
7596 r=`${PWD_COMMAND}`; export r; \
7597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7598 $(HOST_EXPORTS) \
7599 for flag in $(EXTRA_HOST_FLAGS) ; do \
7600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7601 done; \
7602 echo "Doing info in dejagnu"; \
7603 (cd $(HOST_SUBDIR)/dejagnu && \
7604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7606 "RANLIB=$${RANLIB}" \
7607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7608 info) \
7609 || exit 1
7610
7611 @endif dejagnu
7612
7613 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7614 maybe-dvi-dejagnu:
7615 @if dejagnu
7616 maybe-dvi-dejagnu: dvi-dejagnu
7617
7618 dvi-dejagnu: \
7619 configure-dejagnu
7620 @: $(MAKE); $(unstage)
7621 @[ -f ./dejagnu/Makefile ] || exit 0; \
7622 r=`${PWD_COMMAND}`; export r; \
7623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7624 $(HOST_EXPORTS) \
7625 for flag in $(EXTRA_HOST_FLAGS) ; do \
7626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7627 done; \
7628 echo "Doing dvi in dejagnu"; \
7629 (cd $(HOST_SUBDIR)/dejagnu && \
7630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7632 "RANLIB=$${RANLIB}" \
7633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7634 dvi) \
7635 || exit 1
7636
7637 @endif dejagnu
7638
7639 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7640 maybe-pdf-dejagnu:
7641 @if dejagnu
7642 maybe-pdf-dejagnu: pdf-dejagnu
7643
7644 pdf-dejagnu: \
7645 configure-dejagnu
7646 @: $(MAKE); $(unstage)
7647 @[ -f ./dejagnu/Makefile ] || exit 0; \
7648 r=`${PWD_COMMAND}`; export r; \
7649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7650 $(HOST_EXPORTS) \
7651 for flag in $(EXTRA_HOST_FLAGS) ; do \
7652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7653 done; \
7654 echo "Doing pdf in dejagnu"; \
7655 (cd $(HOST_SUBDIR)/dejagnu && \
7656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7658 "RANLIB=$${RANLIB}" \
7659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7660 pdf) \
7661 || exit 1
7662
7663 @endif dejagnu
7664
7665 .PHONY: maybe-html-dejagnu html-dejagnu
7666 maybe-html-dejagnu:
7667 @if dejagnu
7668 maybe-html-dejagnu: html-dejagnu
7669
7670 html-dejagnu: \
7671 configure-dejagnu
7672 @: $(MAKE); $(unstage)
7673 @[ -f ./dejagnu/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing html in dejagnu"; \
7681 (cd $(HOST_SUBDIR)/dejagnu && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 html) \
7687 || exit 1
7688
7689 @endif dejagnu
7690
7691 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7692 maybe-TAGS-dejagnu:
7693 @if dejagnu
7694 maybe-TAGS-dejagnu: TAGS-dejagnu
7695
7696 TAGS-dejagnu: \
7697 configure-dejagnu
7698 @: $(MAKE); $(unstage)
7699 @[ -f ./dejagnu/Makefile ] || exit 0; \
7700 r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702 $(HOST_EXPORTS) \
7703 for flag in $(EXTRA_HOST_FLAGS) ; do \
7704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7705 done; \
7706 echo "Doing TAGS in dejagnu"; \
7707 (cd $(HOST_SUBDIR)/dejagnu && \
7708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7710 "RANLIB=$${RANLIB}" \
7711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7712 TAGS) \
7713 || exit 1
7714
7715 @endif dejagnu
7716
7717 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7718 maybe-install-info-dejagnu:
7719 @if dejagnu
7720 maybe-install-info-dejagnu: install-info-dejagnu
7721
7722 install-info-dejagnu: \
7723 configure-dejagnu \
7724 info-dejagnu
7725 @: $(MAKE); $(unstage)
7726 @[ -f ./dejagnu/Makefile ] || exit 0; \
7727 r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS) ; do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing install-info in dejagnu"; \
7734 (cd $(HOST_SUBDIR)/dejagnu && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7739 install-info) \
7740 || exit 1
7741
7742 @endif dejagnu
7743
7744 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7745 maybe-install-pdf-dejagnu:
7746 @if dejagnu
7747 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7748
7749 install-pdf-dejagnu: \
7750 configure-dejagnu \
7751 pdf-dejagnu
7752 @: $(MAKE); $(unstage)
7753 @[ -f ./dejagnu/Makefile ] || exit 0; \
7754 r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 $(HOST_EXPORTS) \
7757 for flag in $(EXTRA_HOST_FLAGS) ; do \
7758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759 done; \
7760 echo "Doing install-pdf in dejagnu"; \
7761 (cd $(HOST_SUBDIR)/dejagnu && \
7762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764 "RANLIB=$${RANLIB}" \
7765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7766 install-pdf) \
7767 || exit 1
7768
7769 @endif dejagnu
7770
7771 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7772 maybe-install-html-dejagnu:
7773 @if dejagnu
7774 maybe-install-html-dejagnu: install-html-dejagnu
7775
7776 install-html-dejagnu: \
7777 configure-dejagnu \
7778 html-dejagnu
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./dejagnu/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing install-html in dejagnu"; \
7788 (cd $(HOST_SUBDIR)/dejagnu && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7793 install-html) \
7794 || exit 1
7795
7796 @endif dejagnu
7797
7798 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7799 maybe-installcheck-dejagnu:
7800 @if dejagnu
7801 maybe-installcheck-dejagnu: installcheck-dejagnu
7802
7803 installcheck-dejagnu: \
7804 configure-dejagnu
7805 @: $(MAKE); $(unstage)
7806 @[ -f ./dejagnu/Makefile ] || exit 0; \
7807 r=`${PWD_COMMAND}`; export r; \
7808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7809 $(HOST_EXPORTS) \
7810 for flag in $(EXTRA_HOST_FLAGS) ; do \
7811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7812 done; \
7813 echo "Doing installcheck in dejagnu"; \
7814 (cd $(HOST_SUBDIR)/dejagnu && \
7815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7817 "RANLIB=$${RANLIB}" \
7818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7819 installcheck) \
7820 || exit 1
7821
7822 @endif dejagnu
7823
7824 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7825 maybe-mostlyclean-dejagnu:
7826 @if dejagnu
7827 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7828
7829 mostlyclean-dejagnu:
7830 @: $(MAKE); $(unstage)
7831 @[ -f ./dejagnu/Makefile ] || exit 0; \
7832 r=`${PWD_COMMAND}`; export r; \
7833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7834 $(HOST_EXPORTS) \
7835 for flag in $(EXTRA_HOST_FLAGS) ; do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7837 done; \
7838 echo "Doing mostlyclean in dejagnu"; \
7839 (cd $(HOST_SUBDIR)/dejagnu && \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7844 mostlyclean) \
7845 || exit 1
7846
7847 @endif dejagnu
7848
7849 .PHONY: maybe-clean-dejagnu clean-dejagnu
7850 maybe-clean-dejagnu:
7851 @if dejagnu
7852 maybe-clean-dejagnu: clean-dejagnu
7853
7854 clean-dejagnu:
7855 @: $(MAKE); $(unstage)
7856 @[ -f ./dejagnu/Makefile ] || exit 0; \
7857 r=`${PWD_COMMAND}`; export r; \
7858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7859 $(HOST_EXPORTS) \
7860 for flag in $(EXTRA_HOST_FLAGS) ; do \
7861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7862 done; \
7863 echo "Doing clean in dejagnu"; \
7864 (cd $(HOST_SUBDIR)/dejagnu && \
7865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867 "RANLIB=$${RANLIB}" \
7868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7869 clean) \
7870 || exit 1
7871
7872 @endif dejagnu
7873
7874 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7875 maybe-distclean-dejagnu:
7876 @if dejagnu
7877 maybe-distclean-dejagnu: distclean-dejagnu
7878
7879 distclean-dejagnu:
7880 @: $(MAKE); $(unstage)
7881 @[ -f ./dejagnu/Makefile ] || exit 0; \
7882 r=`${PWD_COMMAND}`; export r; \
7883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 $(HOST_EXPORTS) \
7885 for flag in $(EXTRA_HOST_FLAGS) ; do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 done; \
7888 echo "Doing distclean in dejagnu"; \
7889 (cd $(HOST_SUBDIR)/dejagnu && \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7894 distclean) \
7895 || exit 1
7896
7897 @endif dejagnu
7898
7899 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7900 maybe-maintainer-clean-dejagnu:
7901 @if dejagnu
7902 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7903
7904 maintainer-clean-dejagnu:
7905 @: $(MAKE); $(unstage)
7906 @[ -f ./dejagnu/Makefile ] || exit 0; \
7907 r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS) ; do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing maintainer-clean in dejagnu"; \
7914 (cd $(HOST_SUBDIR)/dejagnu && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7919 maintainer-clean) \
7920 || exit 1
7921
7922 @endif dejagnu
7923
7924
7925
7926 .PHONY: configure-etc maybe-configure-etc
7927 maybe-configure-etc:
7928 @if gcc-bootstrap
7929 configure-etc: stage_current
7930 @endif gcc-bootstrap
7931 @if etc
7932 maybe-configure-etc: configure-etc
7933 configure-etc:
7934 @: $(MAKE); $(unstage)
7935 @r=`${PWD_COMMAND}`; export r; \
7936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7937 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7939 $(HOST_EXPORTS) \
7940 echo Configuring in $(HOST_SUBDIR)/etc; \
7941 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7942 case $(srcdir) in \
7943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7944 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7946 esac; \
7947 module_srcdir=etc; \
7948 $(SHELL) \
7949 $$s/$$module_srcdir/configure \
7950 --srcdir=$${topdir}/$$module_srcdir \
7951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7952 --target=${target_alias} \
7953 || exit 1
7954 @endif etc
7955
7956
7957
7958
7959
7960 .PHONY: all-etc maybe-all-etc
7961 maybe-all-etc:
7962 @if gcc-bootstrap
7963 all-etc: stage_current
7964 @endif gcc-bootstrap
7965 @if etc
7966 TARGET-etc=all
7967 maybe-all-etc: all-etc
7968 all-etc: configure-etc
7969 @: $(MAKE); $(unstage)
7970 @r=`${PWD_COMMAND}`; export r; \
7971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7972 $(HOST_EXPORTS) \
7973 (cd $(HOST_SUBDIR)/etc && \
7974 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7975 $(TARGET-etc))
7976 @endif etc
7977
7978
7979
7980
7981 .PHONY: check-etc maybe-check-etc
7982 maybe-check-etc:
7983 @if etc
7984 maybe-check-etc: check-etc
7985
7986 check-etc:
7987 @: $(MAKE); $(unstage)
7988 @r=`${PWD_COMMAND}`; export r; \
7989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7990 $(HOST_EXPORTS) \
7991 (cd $(HOST_SUBDIR)/etc && \
7992 $(MAKE) $(FLAGS_TO_PASS) check)
7993
7994 @endif etc
7995
7996 .PHONY: install-etc maybe-install-etc
7997 maybe-install-etc:
7998 @if etc
7999 maybe-install-etc: install-etc
8000
8001 install-etc: installdirs
8002 @: $(MAKE); $(unstage)
8003 @r=`${PWD_COMMAND}`; export r; \
8004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8005 $(HOST_EXPORTS) \
8006 (cd $(HOST_SUBDIR)/etc && \
8007 $(MAKE) $(FLAGS_TO_PASS) install)
8008
8009 @endif etc
8010
8011 .PHONY: install-strip-etc maybe-install-strip-etc
8012 maybe-install-strip-etc:
8013 @if etc
8014 maybe-install-strip-etc: install-strip-etc
8015
8016 install-strip-etc: installdirs
8017 @: $(MAKE); $(unstage)
8018 @r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 (cd $(HOST_SUBDIR)/etc && \
8022 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8023
8024 @endif etc
8025
8026 # Other targets (info, dvi, pdf, etc.)
8027
8028 .PHONY: maybe-info-etc info-etc
8029 maybe-info-etc:
8030 @if etc
8031 maybe-info-etc: info-etc
8032
8033 info-etc: \
8034 configure-etc
8035 @: $(MAKE); $(unstage)
8036 @[ -f ./etc/Makefile ] || exit 0; \
8037 r=`${PWD_COMMAND}`; export r; \
8038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8039 $(HOST_EXPORTS) \
8040 for flag in $(EXTRA_HOST_FLAGS) ; do \
8041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8042 done; \
8043 echo "Doing info in etc"; \
8044 (cd $(HOST_SUBDIR)/etc && \
8045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8047 "RANLIB=$${RANLIB}" \
8048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8049 info) \
8050 || exit 1
8051
8052 @endif etc
8053
8054 .PHONY: maybe-dvi-etc dvi-etc
8055 maybe-dvi-etc:
8056 @if etc
8057 maybe-dvi-etc: dvi-etc
8058
8059 dvi-etc: \
8060 configure-etc
8061 @: $(MAKE); $(unstage)
8062 @[ -f ./etc/Makefile ] || exit 0; \
8063 r=`${PWD_COMMAND}`; export r; \
8064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8065 $(HOST_EXPORTS) \
8066 for flag in $(EXTRA_HOST_FLAGS) ; do \
8067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8068 done; \
8069 echo "Doing dvi in etc"; \
8070 (cd $(HOST_SUBDIR)/etc && \
8071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8073 "RANLIB=$${RANLIB}" \
8074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8075 dvi) \
8076 || exit 1
8077
8078 @endif etc
8079
8080 .PHONY: maybe-pdf-etc pdf-etc
8081 maybe-pdf-etc:
8082 @if etc
8083 maybe-pdf-etc: pdf-etc
8084
8085 pdf-etc: \
8086 configure-etc
8087 @: $(MAKE); $(unstage)
8088 @[ -f ./etc/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091 $(HOST_EXPORTS) \
8092 for flag in $(EXTRA_HOST_FLAGS) ; do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8094 done; \
8095 echo "Doing pdf in etc"; \
8096 (cd $(HOST_SUBDIR)/etc && \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8101 pdf) \
8102 || exit 1
8103
8104 @endif etc
8105
8106 .PHONY: maybe-html-etc html-etc
8107 maybe-html-etc:
8108 @if etc
8109 maybe-html-etc: html-etc
8110
8111 html-etc: \
8112 configure-etc
8113 @: $(MAKE); $(unstage)
8114 @[ -f ./etc/Makefile ] || exit 0; \
8115 r=`${PWD_COMMAND}`; export r; \
8116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8117 $(HOST_EXPORTS) \
8118 for flag in $(EXTRA_HOST_FLAGS) ; do \
8119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8120 done; \
8121 echo "Doing html in etc"; \
8122 (cd $(HOST_SUBDIR)/etc && \
8123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8125 "RANLIB=$${RANLIB}" \
8126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8127 html) \
8128 || exit 1
8129
8130 @endif etc
8131
8132 .PHONY: maybe-TAGS-etc TAGS-etc
8133 maybe-TAGS-etc:
8134 @if etc
8135 maybe-TAGS-etc: TAGS-etc
8136
8137 TAGS-etc: \
8138 configure-etc
8139 @: $(MAKE); $(unstage)
8140 @[ -f ./etc/Makefile ] || exit 0; \
8141 r=`${PWD_COMMAND}`; export r; \
8142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8143 $(HOST_EXPORTS) \
8144 for flag in $(EXTRA_HOST_FLAGS) ; do \
8145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8146 done; \
8147 echo "Doing TAGS in etc"; \
8148 (cd $(HOST_SUBDIR)/etc && \
8149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8151 "RANLIB=$${RANLIB}" \
8152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8153 TAGS) \
8154 || exit 1
8155
8156 @endif etc
8157
8158 .PHONY: maybe-install-info-etc install-info-etc
8159 maybe-install-info-etc:
8160 @if etc
8161 maybe-install-info-etc: install-info-etc
8162
8163 install-info-etc: \
8164 configure-etc \
8165 info-etc
8166 @: $(MAKE); $(unstage)
8167 @[ -f ./etc/Makefile ] || exit 0; \
8168 r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170 $(HOST_EXPORTS) \
8171 for flag in $(EXTRA_HOST_FLAGS) ; do \
8172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8173 done; \
8174 echo "Doing install-info in etc"; \
8175 (cd $(HOST_SUBDIR)/etc && \
8176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8178 "RANLIB=$${RANLIB}" \
8179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8180 install-info) \
8181 || exit 1
8182
8183 @endif etc
8184
8185 .PHONY: maybe-install-pdf-etc install-pdf-etc
8186 maybe-install-pdf-etc:
8187 @if etc
8188 maybe-install-pdf-etc: install-pdf-etc
8189
8190 install-pdf-etc: \
8191 configure-etc \
8192 pdf-etc
8193 @: $(MAKE); $(unstage)
8194 @[ -f ./etc/Makefile ] || exit 0; \
8195 r=`${PWD_COMMAND}`; export r; \
8196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8197 $(HOST_EXPORTS) \
8198 for flag in $(EXTRA_HOST_FLAGS) ; do \
8199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8200 done; \
8201 echo "Doing install-pdf in etc"; \
8202 (cd $(HOST_SUBDIR)/etc && \
8203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8205 "RANLIB=$${RANLIB}" \
8206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8207 install-pdf) \
8208 || exit 1
8209
8210 @endif etc
8211
8212 .PHONY: maybe-install-html-etc install-html-etc
8213 maybe-install-html-etc:
8214 @if etc
8215 maybe-install-html-etc: install-html-etc
8216
8217 install-html-etc: \
8218 configure-etc \
8219 html-etc
8220 @: $(MAKE); $(unstage)
8221 @[ -f ./etc/Makefile ] || exit 0; \
8222 r=`${PWD_COMMAND}`; export r; \
8223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8224 $(HOST_EXPORTS) \
8225 for flag in $(EXTRA_HOST_FLAGS) ; do \
8226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8227 done; \
8228 echo "Doing install-html in etc"; \
8229 (cd $(HOST_SUBDIR)/etc && \
8230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8232 "RANLIB=$${RANLIB}" \
8233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8234 install-html) \
8235 || exit 1
8236
8237 @endif etc
8238
8239 .PHONY: maybe-installcheck-etc installcheck-etc
8240 maybe-installcheck-etc:
8241 @if etc
8242 maybe-installcheck-etc: installcheck-etc
8243
8244 installcheck-etc: \
8245 configure-etc
8246 @: $(MAKE); $(unstage)
8247 @[ -f ./etc/Makefile ] || exit 0; \
8248 r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(HOST_EXPORTS) \
8251 for flag in $(EXTRA_HOST_FLAGS) ; do \
8252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8253 done; \
8254 echo "Doing installcheck in etc"; \
8255 (cd $(HOST_SUBDIR)/etc && \
8256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8258 "RANLIB=$${RANLIB}" \
8259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8260 installcheck) \
8261 || exit 1
8262
8263 @endif etc
8264
8265 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8266 maybe-mostlyclean-etc:
8267 @if etc
8268 maybe-mostlyclean-etc: mostlyclean-etc
8269
8270 mostlyclean-etc:
8271 @: $(MAKE); $(unstage)
8272 @[ -f ./etc/Makefile ] || exit 0; \
8273 r=`${PWD_COMMAND}`; export r; \
8274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 $(HOST_EXPORTS) \
8276 for flag in $(EXTRA_HOST_FLAGS) ; do \
8277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8278 done; \
8279 echo "Doing mostlyclean in etc"; \
8280 (cd $(HOST_SUBDIR)/etc && \
8281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8283 "RANLIB=$${RANLIB}" \
8284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8285 mostlyclean) \
8286 || exit 1
8287
8288 @endif etc
8289
8290 .PHONY: maybe-clean-etc clean-etc
8291 maybe-clean-etc:
8292 @if etc
8293 maybe-clean-etc: clean-etc
8294
8295 clean-etc:
8296 @: $(MAKE); $(unstage)
8297 @[ -f ./etc/Makefile ] || exit 0; \
8298 r=`${PWD_COMMAND}`; export r; \
8299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 $(HOST_EXPORTS) \
8301 for flag in $(EXTRA_HOST_FLAGS) ; do \
8302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8303 done; \
8304 echo "Doing clean in etc"; \
8305 (cd $(HOST_SUBDIR)/etc && \
8306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8308 "RANLIB=$${RANLIB}" \
8309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8310 clean) \
8311 || exit 1
8312
8313 @endif etc
8314
8315 .PHONY: maybe-distclean-etc distclean-etc
8316 maybe-distclean-etc:
8317 @if etc
8318 maybe-distclean-etc: distclean-etc
8319
8320 distclean-etc:
8321 @: $(MAKE); $(unstage)
8322 @[ -f ./etc/Makefile ] || exit 0; \
8323 r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(HOST_EXPORTS) \
8326 for flag in $(EXTRA_HOST_FLAGS) ; do \
8327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8328 done; \
8329 echo "Doing distclean in etc"; \
8330 (cd $(HOST_SUBDIR)/etc && \
8331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333 "RANLIB=$${RANLIB}" \
8334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8335 distclean) \
8336 || exit 1
8337
8338 @endif etc
8339
8340 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8341 maybe-maintainer-clean-etc:
8342 @if etc
8343 maybe-maintainer-clean-etc: maintainer-clean-etc
8344
8345 maintainer-clean-etc:
8346 @: $(MAKE); $(unstage)
8347 @[ -f ./etc/Makefile ] || exit 0; \
8348 r=`${PWD_COMMAND}`; export r; \
8349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8350 $(HOST_EXPORTS) \
8351 for flag in $(EXTRA_HOST_FLAGS) ; do \
8352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8353 done; \
8354 echo "Doing maintainer-clean in etc"; \
8355 (cd $(HOST_SUBDIR)/etc && \
8356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8358 "RANLIB=$${RANLIB}" \
8359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8360 maintainer-clean) \
8361 || exit 1
8362
8363 @endif etc
8364
8365
8366
8367 .PHONY: configure-fastjar maybe-configure-fastjar
8368 maybe-configure-fastjar:
8369 @if gcc-bootstrap
8370 configure-fastjar: stage_current
8371 @endif gcc-bootstrap
8372 @if fastjar
8373 maybe-configure-fastjar: configure-fastjar
8374 configure-fastjar:
8375 @: $(MAKE); $(unstage)
8376 @r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8380 $(HOST_EXPORTS) \
8381 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8382 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8383 case $(srcdir) in \
8384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8385 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8387 esac; \
8388 module_srcdir=fastjar; \
8389 $(SHELL) \
8390 $$s/$$module_srcdir/configure \
8391 --srcdir=$${topdir}/$$module_srcdir \
8392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8393 --target=${target_alias} \
8394 || exit 1
8395 @endif fastjar
8396
8397
8398
8399
8400
8401 .PHONY: all-fastjar maybe-all-fastjar
8402 maybe-all-fastjar:
8403 @if gcc-bootstrap
8404 all-fastjar: stage_current
8405 @endif gcc-bootstrap
8406 @if fastjar
8407 TARGET-fastjar=all
8408 maybe-all-fastjar: all-fastjar
8409 all-fastjar: configure-fastjar
8410 @: $(MAKE); $(unstage)
8411 @r=`${PWD_COMMAND}`; export r; \
8412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8413 $(HOST_EXPORTS) \
8414 (cd $(HOST_SUBDIR)/fastjar && \
8415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8416 $(TARGET-fastjar))
8417 @endif fastjar
8418
8419
8420
8421
8422 .PHONY: check-fastjar maybe-check-fastjar
8423 maybe-check-fastjar:
8424 @if fastjar
8425 maybe-check-fastjar: check-fastjar
8426
8427 # This module is only tested in a native toolchain.
8428 check-fastjar:
8429 @: $(MAKE); $(unstage)
8430 @if [ '$(host)' = '$(target)' ]; then \
8431 r=`${PWD_COMMAND}`; export r; \
8432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8433 $(HOST_EXPORTS) \
8434 (cd $(HOST_SUBDIR)/fastjar && \
8435 $(MAKE) $(FLAGS_TO_PASS) check)
8436 fi
8437
8438 @endif fastjar
8439
8440 .PHONY: install-fastjar maybe-install-fastjar
8441 maybe-install-fastjar:
8442 @if fastjar
8443 maybe-install-fastjar: install-fastjar
8444
8445 install-fastjar: installdirs
8446 @: $(MAKE); $(unstage)
8447 @r=`${PWD_COMMAND}`; export r; \
8448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8449 $(HOST_EXPORTS) \
8450 (cd $(HOST_SUBDIR)/fastjar && \
8451 $(MAKE) $(FLAGS_TO_PASS) install)
8452
8453 @endif fastjar
8454
8455 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8456 maybe-install-strip-fastjar:
8457 @if fastjar
8458 maybe-install-strip-fastjar: install-strip-fastjar
8459
8460 install-strip-fastjar: installdirs
8461 @: $(MAKE); $(unstage)
8462 @r=`${PWD_COMMAND}`; export r; \
8463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8464 $(HOST_EXPORTS) \
8465 (cd $(HOST_SUBDIR)/fastjar && \
8466 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8467
8468 @endif fastjar
8469
8470 # Other targets (info, dvi, pdf, etc.)
8471
8472 .PHONY: maybe-info-fastjar info-fastjar
8473 maybe-info-fastjar:
8474 @if fastjar
8475 maybe-info-fastjar: info-fastjar
8476
8477 info-fastjar: \
8478 configure-fastjar
8479 @: $(MAKE); $(unstage)
8480 @[ -f ./fastjar/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 $(HOST_EXPORTS) \
8484 for flag in $(EXTRA_HOST_FLAGS) ; do \
8485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8486 done; \
8487 echo "Doing info in fastjar"; \
8488 (cd $(HOST_SUBDIR)/fastjar && \
8489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8491 "RANLIB=$${RANLIB}" \
8492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8493 info) \
8494 || exit 1
8495
8496 @endif fastjar
8497
8498 .PHONY: maybe-dvi-fastjar dvi-fastjar
8499 maybe-dvi-fastjar:
8500 @if fastjar
8501 maybe-dvi-fastjar: dvi-fastjar
8502
8503 dvi-fastjar: \
8504 configure-fastjar
8505 @: $(MAKE); $(unstage)
8506 @[ -f ./fastjar/Makefile ] || exit 0; \
8507 r=`${PWD_COMMAND}`; export r; \
8508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8509 $(HOST_EXPORTS) \
8510 for flag in $(EXTRA_HOST_FLAGS) ; do \
8511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8512 done; \
8513 echo "Doing dvi in fastjar"; \
8514 (cd $(HOST_SUBDIR)/fastjar && \
8515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8517 "RANLIB=$${RANLIB}" \
8518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8519 dvi) \
8520 || exit 1
8521
8522 @endif fastjar
8523
8524 .PHONY: maybe-pdf-fastjar pdf-fastjar
8525 maybe-pdf-fastjar:
8526 @if fastjar
8527 maybe-pdf-fastjar: pdf-fastjar
8528
8529 pdf-fastjar: \
8530 configure-fastjar
8531 @: $(MAKE); $(unstage)
8532 @[ -f ./fastjar/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 $(HOST_EXPORTS) \
8536 for flag in $(EXTRA_HOST_FLAGS) ; do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 done; \
8539 echo "Doing pdf in fastjar"; \
8540 (cd $(HOST_SUBDIR)/fastjar && \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8545 pdf) \
8546 || exit 1
8547
8548 @endif fastjar
8549
8550 .PHONY: maybe-html-fastjar html-fastjar
8551 maybe-html-fastjar:
8552 @if fastjar
8553 maybe-html-fastjar: html-fastjar
8554
8555 html-fastjar: \
8556 configure-fastjar
8557 @: $(MAKE); $(unstage)
8558 @[ -f ./fastjar/Makefile ] || exit 0; \
8559 r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 $(HOST_EXPORTS) \
8562 for flag in $(EXTRA_HOST_FLAGS) ; do \
8563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 done; \
8565 echo "Doing html in fastjar"; \
8566 (cd $(HOST_SUBDIR)/fastjar && \
8567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8569 "RANLIB=$${RANLIB}" \
8570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8571 html) \
8572 || exit 1
8573
8574 @endif fastjar
8575
8576 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8577 maybe-TAGS-fastjar:
8578 @if fastjar
8579 maybe-TAGS-fastjar: TAGS-fastjar
8580
8581 TAGS-fastjar: \
8582 configure-fastjar
8583 @: $(MAKE); $(unstage)
8584 @[ -f ./fastjar/Makefile ] || exit 0; \
8585 r=`${PWD_COMMAND}`; export r; \
8586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8587 $(HOST_EXPORTS) \
8588 for flag in $(EXTRA_HOST_FLAGS) ; do \
8589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8590 done; \
8591 echo "Doing TAGS in fastjar"; \
8592 (cd $(HOST_SUBDIR)/fastjar && \
8593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8595 "RANLIB=$${RANLIB}" \
8596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8597 TAGS) \
8598 || exit 1
8599
8600 @endif fastjar
8601
8602 .PHONY: maybe-install-info-fastjar install-info-fastjar
8603 maybe-install-info-fastjar:
8604 @if fastjar
8605 maybe-install-info-fastjar: install-info-fastjar
8606
8607 install-info-fastjar: \
8608 configure-fastjar \
8609 info-fastjar
8610 @: $(MAKE); $(unstage)
8611 @[ -f ./fastjar/Makefile ] || exit 0; \
8612 r=`${PWD_COMMAND}`; export r; \
8613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8614 $(HOST_EXPORTS) \
8615 for flag in $(EXTRA_HOST_FLAGS) ; do \
8616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8617 done; \
8618 echo "Doing install-info in fastjar"; \
8619 (cd $(HOST_SUBDIR)/fastjar && \
8620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8622 "RANLIB=$${RANLIB}" \
8623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8624 install-info) \
8625 || exit 1
8626
8627 @endif fastjar
8628
8629 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8630 maybe-install-pdf-fastjar:
8631 @if fastjar
8632 maybe-install-pdf-fastjar: install-pdf-fastjar
8633
8634 install-pdf-fastjar: \
8635 configure-fastjar \
8636 pdf-fastjar
8637 @: $(MAKE); $(unstage)
8638 @[ -f ./fastjar/Makefile ] || exit 0; \
8639 r=`${PWD_COMMAND}`; export r; \
8640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641 $(HOST_EXPORTS) \
8642 for flag in $(EXTRA_HOST_FLAGS) ; do \
8643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8644 done; \
8645 echo "Doing install-pdf in fastjar"; \
8646 (cd $(HOST_SUBDIR)/fastjar && \
8647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8649 "RANLIB=$${RANLIB}" \
8650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8651 install-pdf) \
8652 || exit 1
8653
8654 @endif fastjar
8655
8656 .PHONY: maybe-install-html-fastjar install-html-fastjar
8657 maybe-install-html-fastjar:
8658 @if fastjar
8659 maybe-install-html-fastjar: install-html-fastjar
8660
8661 install-html-fastjar: \
8662 configure-fastjar \
8663 html-fastjar
8664 @: $(MAKE); $(unstage)
8665 @[ -f ./fastjar/Makefile ] || exit 0; \
8666 r=`${PWD_COMMAND}`; export r; \
8667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8668 $(HOST_EXPORTS) \
8669 for flag in $(EXTRA_HOST_FLAGS) ; do \
8670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8671 done; \
8672 echo "Doing install-html in fastjar"; \
8673 (cd $(HOST_SUBDIR)/fastjar && \
8674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8676 "RANLIB=$${RANLIB}" \
8677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8678 install-html) \
8679 || exit 1
8680
8681 @endif fastjar
8682
8683 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8684 maybe-installcheck-fastjar:
8685 @if fastjar
8686 maybe-installcheck-fastjar: installcheck-fastjar
8687
8688 installcheck-fastjar: \
8689 configure-fastjar
8690 @: $(MAKE); $(unstage)
8691 @[ -f ./fastjar/Makefile ] || exit 0; \
8692 r=`${PWD_COMMAND}`; export r; \
8693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8694 $(HOST_EXPORTS) \
8695 for flag in $(EXTRA_HOST_FLAGS) ; do \
8696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8697 done; \
8698 echo "Doing installcheck in fastjar"; \
8699 (cd $(HOST_SUBDIR)/fastjar && \
8700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8702 "RANLIB=$${RANLIB}" \
8703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8704 installcheck) \
8705 || exit 1
8706
8707 @endif fastjar
8708
8709 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8710 maybe-mostlyclean-fastjar:
8711 @if fastjar
8712 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8713
8714 mostlyclean-fastjar:
8715 @: $(MAKE); $(unstage)
8716 @[ -f ./fastjar/Makefile ] || exit 0; \
8717 r=`${PWD_COMMAND}`; export r; \
8718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8719 $(HOST_EXPORTS) \
8720 for flag in $(EXTRA_HOST_FLAGS) ; do \
8721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8722 done; \
8723 echo "Doing mostlyclean in fastjar"; \
8724 (cd $(HOST_SUBDIR)/fastjar && \
8725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8727 "RANLIB=$${RANLIB}" \
8728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8729 mostlyclean) \
8730 || exit 1
8731
8732 @endif fastjar
8733
8734 .PHONY: maybe-clean-fastjar clean-fastjar
8735 maybe-clean-fastjar:
8736 @if fastjar
8737 maybe-clean-fastjar: clean-fastjar
8738
8739 clean-fastjar:
8740 @: $(MAKE); $(unstage)
8741 @[ -f ./fastjar/Makefile ] || exit 0; \
8742 r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 $(HOST_EXPORTS) \
8745 for flag in $(EXTRA_HOST_FLAGS) ; do \
8746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8747 done; \
8748 echo "Doing clean in fastjar"; \
8749 (cd $(HOST_SUBDIR)/fastjar && \
8750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8752 "RANLIB=$${RANLIB}" \
8753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8754 clean) \
8755 || exit 1
8756
8757 @endif fastjar
8758
8759 .PHONY: maybe-distclean-fastjar distclean-fastjar
8760 maybe-distclean-fastjar:
8761 @if fastjar
8762 maybe-distclean-fastjar: distclean-fastjar
8763
8764 distclean-fastjar:
8765 @: $(MAKE); $(unstage)
8766 @[ -f ./fastjar/Makefile ] || exit 0; \
8767 r=`${PWD_COMMAND}`; export r; \
8768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 $(HOST_EXPORTS) \
8770 for flag in $(EXTRA_HOST_FLAGS) ; do \
8771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8772 done; \
8773 echo "Doing distclean in fastjar"; \
8774 (cd $(HOST_SUBDIR)/fastjar && \
8775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8777 "RANLIB=$${RANLIB}" \
8778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8779 distclean) \
8780 || exit 1
8781
8782 @endif fastjar
8783
8784 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8785 maybe-maintainer-clean-fastjar:
8786 @if fastjar
8787 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8788
8789 maintainer-clean-fastjar:
8790 @: $(MAKE); $(unstage)
8791 @[ -f ./fastjar/Makefile ] || exit 0; \
8792 r=`${PWD_COMMAND}`; export r; \
8793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8794 $(HOST_EXPORTS) \
8795 for flag in $(EXTRA_HOST_FLAGS) ; do \
8796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8797 done; \
8798 echo "Doing maintainer-clean in fastjar"; \
8799 (cd $(HOST_SUBDIR)/fastjar && \
8800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8802 "RANLIB=$${RANLIB}" \
8803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8804 maintainer-clean) \
8805 || exit 1
8806
8807 @endif fastjar
8808
8809
8810
8811 .PHONY: configure-fixincludes maybe-configure-fixincludes
8812 maybe-configure-fixincludes:
8813 @if gcc-bootstrap
8814 configure-fixincludes: stage_current
8815 @endif gcc-bootstrap
8816 @if fixincludes
8817 maybe-configure-fixincludes: configure-fixincludes
8818 configure-fixincludes:
8819 @r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8823 $(HOST_EXPORTS) \
8824 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8825 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8826 case $(srcdir) in \
8827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8828 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8830 esac; \
8831 module_srcdir=fixincludes; \
8832 $(SHELL) \
8833 $$s/$$module_srcdir/configure \
8834 --srcdir=$${topdir}/$$module_srcdir \
8835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8836 --target=${target_alias} \
8837 || exit 1
8838 @endif fixincludes
8839
8840
8841
8842 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8843 maybe-configure-stage1-fixincludes:
8844 @if fixincludes-bootstrap
8845 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8846 configure-stage1-fixincludes:
8847 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8849 @r=`${PWD_COMMAND}`; export r; \
8850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8851 TFLAGS="$(STAGE1_TFLAGS)"; \
8852 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8853 $(HOST_EXPORTS) \
8854 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8855 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8856 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8857 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8859 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8860 case $(srcdir) in \
8861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8862 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8864 esac; \
8865 module_srcdir=fixincludes; \
8866 $(SHELL) $$s/$$module_srcdir/configure \
8867 --srcdir=$${topdir}/$$module_srcdir \
8868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8869 --target=${target_alias} \
8870 \
8871 $(STAGE1_CONFIGURE_FLAGS)
8872 @endif fixincludes-bootstrap
8873
8874 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8875 maybe-configure-stage2-fixincludes:
8876 @if fixincludes-bootstrap
8877 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8878 configure-stage2-fixincludes:
8879 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8881 @r=`${PWD_COMMAND}`; export r; \
8882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8883 TFLAGS="$(STAGE2_TFLAGS)"; \
8884 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8885 $(HOST_EXPORTS) \
8886 $(POSTSTAGE1_HOST_EXPORTS) \
8887 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8888 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8889 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8890 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8892 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8893 case $(srcdir) in \
8894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8895 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8897 esac; \
8898 module_srcdir=fixincludes; \
8899 $(SHELL) $$s/$$module_srcdir/configure \
8900 --srcdir=$${topdir}/$$module_srcdir \
8901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8902 --target=${target_alias} \
8903 --with-build-libsubdir=$(HOST_SUBDIR) \
8904 $(STAGE2_CONFIGURE_FLAGS)
8905 @endif fixincludes-bootstrap
8906
8907 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8908 maybe-configure-stage3-fixincludes:
8909 @if fixincludes-bootstrap
8910 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8911 configure-stage3-fixincludes:
8912 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8914 @r=`${PWD_COMMAND}`; export r; \
8915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8916 TFLAGS="$(STAGE3_TFLAGS)"; \
8917 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8918 $(HOST_EXPORTS) \
8919 $(POSTSTAGE1_HOST_EXPORTS) \
8920 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8921 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8922 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8923 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8925 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8926 case $(srcdir) in \
8927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8928 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8930 esac; \
8931 module_srcdir=fixincludes; \
8932 $(SHELL) $$s/$$module_srcdir/configure \
8933 --srcdir=$${topdir}/$$module_srcdir \
8934 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8935 --target=${target_alias} \
8936 --with-build-libsubdir=$(HOST_SUBDIR) \
8937 $(STAGE3_CONFIGURE_FLAGS)
8938 @endif fixincludes-bootstrap
8939
8940 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8941 maybe-configure-stage4-fixincludes:
8942 @if fixincludes-bootstrap
8943 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8944 configure-stage4-fixincludes:
8945 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8947 @r=`${PWD_COMMAND}`; export r; \
8948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8949 TFLAGS="$(STAGE4_TFLAGS)"; \
8950 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8951 $(HOST_EXPORTS) \
8952 $(POSTSTAGE1_HOST_EXPORTS) \
8953 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8954 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8955 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8956 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8958 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8959 case $(srcdir) in \
8960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8961 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8963 esac; \
8964 module_srcdir=fixincludes; \
8965 $(SHELL) $$s/$$module_srcdir/configure \
8966 --srcdir=$${topdir}/$$module_srcdir \
8967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8968 --target=${target_alias} \
8969 --with-build-libsubdir=$(HOST_SUBDIR) \
8970 $(STAGE4_CONFIGURE_FLAGS)
8971 @endif fixincludes-bootstrap
8972
8973 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8974 maybe-configure-stageprofile-fixincludes:
8975 @if fixincludes-bootstrap
8976 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8977 configure-stageprofile-fixincludes:
8978 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8979 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8980 @r=`${PWD_COMMAND}`; export r; \
8981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8983 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8984 $(HOST_EXPORTS) \
8985 $(POSTSTAGE1_HOST_EXPORTS) \
8986 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8987 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8988 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8989 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8991 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8992 case $(srcdir) in \
8993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8994 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8996 esac; \
8997 module_srcdir=fixincludes; \
8998 $(SHELL) $$s/$$module_srcdir/configure \
8999 --srcdir=$${topdir}/$$module_srcdir \
9000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9001 --target=${target_alias} \
9002 --with-build-libsubdir=$(HOST_SUBDIR) \
9003 $(STAGEprofile_CONFIGURE_FLAGS)
9004 @endif fixincludes-bootstrap
9005
9006 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9007 maybe-configure-stagetrain-fixincludes:
9008 @if fixincludes-bootstrap
9009 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9010 configure-stagetrain-fixincludes:
9011 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9013 @r=`${PWD_COMMAND}`; export r; \
9014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9016 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9017 $(HOST_EXPORTS) \
9018 $(POSTSTAGE1_HOST_EXPORTS) \
9019 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9020 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9021 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9022 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9024 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9025 case $(srcdir) in \
9026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9027 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9029 esac; \
9030 module_srcdir=fixincludes; \
9031 $(SHELL) $$s/$$module_srcdir/configure \
9032 --srcdir=$${topdir}/$$module_srcdir \
9033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9034 --target=${target_alias} \
9035 --with-build-libsubdir=$(HOST_SUBDIR) \
9036 $(STAGEtrain_CONFIGURE_FLAGS)
9037 @endif fixincludes-bootstrap
9038
9039 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9040 maybe-configure-stagefeedback-fixincludes:
9041 @if fixincludes-bootstrap
9042 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9043 configure-stagefeedback-fixincludes:
9044 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9046 @r=`${PWD_COMMAND}`; export r; \
9047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9049 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9050 $(HOST_EXPORTS) \
9051 $(POSTSTAGE1_HOST_EXPORTS) \
9052 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9054 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9055 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9057 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9058 case $(srcdir) in \
9059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9060 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9062 esac; \
9063 module_srcdir=fixincludes; \
9064 $(SHELL) $$s/$$module_srcdir/configure \
9065 --srcdir=$${topdir}/$$module_srcdir \
9066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9067 --target=${target_alias} \
9068 --with-build-libsubdir=$(HOST_SUBDIR) \
9069 $(STAGEfeedback_CONFIGURE_FLAGS)
9070 @endif fixincludes-bootstrap
9071
9072 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9073 maybe-configure-stageautoprofile-fixincludes:
9074 @if fixincludes-bootstrap
9075 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9076 configure-stageautoprofile-fixincludes:
9077 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9079 @r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9082 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9083 $(HOST_EXPORTS) \
9084 $(POSTSTAGE1_HOST_EXPORTS) \
9085 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9086 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9087 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9088 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9090 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9091 case $(srcdir) in \
9092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9093 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9095 esac; \
9096 module_srcdir=fixincludes; \
9097 $(SHELL) $$s/$$module_srcdir/configure \
9098 --srcdir=$${topdir}/$$module_srcdir \
9099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9100 --target=${target_alias} \
9101 --with-build-libsubdir=$(HOST_SUBDIR) \
9102 $(STAGEautoprofile_CONFIGURE_FLAGS)
9103 @endif fixincludes-bootstrap
9104
9105 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9106 maybe-configure-stageautofeedback-fixincludes:
9107 @if fixincludes-bootstrap
9108 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9109 configure-stageautofeedback-fixincludes:
9110 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9112 @r=`${PWD_COMMAND}`; export r; \
9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9114 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9115 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9116 $(HOST_EXPORTS) \
9117 $(POSTSTAGE1_HOST_EXPORTS) \
9118 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9119 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9120 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9121 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9123 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9124 case $(srcdir) in \
9125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9126 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9128 esac; \
9129 module_srcdir=fixincludes; \
9130 $(SHELL) $$s/$$module_srcdir/configure \
9131 --srcdir=$${topdir}/$$module_srcdir \
9132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9133 --target=${target_alias} \
9134 --with-build-libsubdir=$(HOST_SUBDIR) \
9135 $(STAGEautofeedback_CONFIGURE_FLAGS)
9136 @endif fixincludes-bootstrap
9137
9138
9139
9140
9141
9142 .PHONY: all-fixincludes maybe-all-fixincludes
9143 maybe-all-fixincludes:
9144 @if gcc-bootstrap
9145 all-fixincludes: stage_current
9146 @endif gcc-bootstrap
9147 @if fixincludes
9148 TARGET-fixincludes=all
9149 maybe-all-fixincludes: all-fixincludes
9150 all-fixincludes: configure-fixincludes
9151 @r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153 $(HOST_EXPORTS) \
9154 (cd $(HOST_SUBDIR)/fixincludes && \
9155 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9156 $(TARGET-fixincludes))
9157 @endif fixincludes
9158
9159
9160
9161 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9162 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9163 maybe-all-stage1-fixincludes:
9164 maybe-clean-stage1-fixincludes:
9165 @if fixincludes-bootstrap
9166 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9167 all-stage1: all-stage1-fixincludes
9168 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9169 all-stage1-fixincludes: configure-stage1-fixincludes
9170 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9171 @r=`${PWD_COMMAND}`; export r; \
9172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9173 TFLAGS="$(STAGE1_TFLAGS)"; \
9174 $(HOST_EXPORTS) \
9175 cd $(HOST_SUBDIR)/fixincludes && \
9176 \
9177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9178 CFLAGS="$(STAGE1_CFLAGS)" \
9179 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9180 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9181 LIBCFLAGS="$(LIBCFLAGS)" \
9182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9185 $(EXTRA_HOST_FLAGS) \
9186 $(STAGE1_FLAGS_TO_PASS) \
9187 TFLAGS="$(STAGE1_TFLAGS)" \
9188 $(TARGET-stage1-fixincludes)
9189
9190 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9191 clean-stage1: clean-stage1-fixincludes
9192 clean-stage1-fixincludes:
9193 @if [ $(current_stage) = stage1 ]; then \
9194 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9195 else \
9196 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9197 $(MAKE) stage1-start; \
9198 fi; \
9199 cd $(HOST_SUBDIR)/fixincludes && \
9200 $(MAKE) $(EXTRA_HOST_FLAGS) \
9201 $(STAGE1_FLAGS_TO_PASS) clean
9202 @endif fixincludes-bootstrap
9203
9204
9205 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9206 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9207 maybe-all-stage2-fixincludes:
9208 maybe-clean-stage2-fixincludes:
9209 @if fixincludes-bootstrap
9210 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9211 all-stage2: all-stage2-fixincludes
9212 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9213 all-stage2-fixincludes: configure-stage2-fixincludes
9214 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9215 @r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 TFLAGS="$(STAGE2_TFLAGS)"; \
9218 $(HOST_EXPORTS) \
9219 $(POSTSTAGE1_HOST_EXPORTS) \
9220 cd $(HOST_SUBDIR)/fixincludes && \
9221 \
9222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9223 CFLAGS="$(STAGE2_CFLAGS)" \
9224 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9225 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9226 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9227 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9228 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9229 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9230 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9231 TFLAGS="$(STAGE2_TFLAGS)" \
9232 $(TARGET-stage2-fixincludes)
9233
9234 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9235 clean-stage2: clean-stage2-fixincludes
9236 clean-stage2-fixincludes:
9237 @if [ $(current_stage) = stage2 ]; then \
9238 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9239 else \
9240 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9241 $(MAKE) stage2-start; \
9242 fi; \
9243 cd $(HOST_SUBDIR)/fixincludes && \
9244 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9245 @endif fixincludes-bootstrap
9246
9247
9248 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9249 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9250 maybe-all-stage3-fixincludes:
9251 maybe-clean-stage3-fixincludes:
9252 @if fixincludes-bootstrap
9253 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9254 all-stage3: all-stage3-fixincludes
9255 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9256 all-stage3-fixincludes: configure-stage3-fixincludes
9257 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9258 @r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 TFLAGS="$(STAGE3_TFLAGS)"; \
9261 $(HOST_EXPORTS) \
9262 $(POSTSTAGE1_HOST_EXPORTS) \
9263 cd $(HOST_SUBDIR)/fixincludes && \
9264 \
9265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9266 CFLAGS="$(STAGE3_CFLAGS)" \
9267 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9268 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9269 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9273 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9274 TFLAGS="$(STAGE3_TFLAGS)" \
9275 $(TARGET-stage3-fixincludes)
9276
9277 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9278 clean-stage3: clean-stage3-fixincludes
9279 clean-stage3-fixincludes:
9280 @if [ $(current_stage) = stage3 ]; then \
9281 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9282 else \
9283 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9284 $(MAKE) stage3-start; \
9285 fi; \
9286 cd $(HOST_SUBDIR)/fixincludes && \
9287 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9288 @endif fixincludes-bootstrap
9289
9290
9291 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9292 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9293 maybe-all-stage4-fixincludes:
9294 maybe-clean-stage4-fixincludes:
9295 @if fixincludes-bootstrap
9296 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9297 all-stage4: all-stage4-fixincludes
9298 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9299 all-stage4-fixincludes: configure-stage4-fixincludes
9300 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9301 @r=`${PWD_COMMAND}`; export r; \
9302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9303 TFLAGS="$(STAGE4_TFLAGS)"; \
9304 $(HOST_EXPORTS) \
9305 $(POSTSTAGE1_HOST_EXPORTS) \
9306 cd $(HOST_SUBDIR)/fixincludes && \
9307 \
9308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9309 CFLAGS="$(STAGE4_CFLAGS)" \
9310 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9311 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9312 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9317 TFLAGS="$(STAGE4_TFLAGS)" \
9318 $(TARGET-stage4-fixincludes)
9319
9320 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9321 clean-stage4: clean-stage4-fixincludes
9322 clean-stage4-fixincludes:
9323 @if [ $(current_stage) = stage4 ]; then \
9324 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9325 else \
9326 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9327 $(MAKE) stage4-start; \
9328 fi; \
9329 cd $(HOST_SUBDIR)/fixincludes && \
9330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9331 @endif fixincludes-bootstrap
9332
9333
9334 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9335 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9336 maybe-all-stageprofile-fixincludes:
9337 maybe-clean-stageprofile-fixincludes:
9338 @if fixincludes-bootstrap
9339 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9340 all-stageprofile: all-stageprofile-fixincludes
9341 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9342 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9343 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9344 @r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9347 $(HOST_EXPORTS) \
9348 $(POSTSTAGE1_HOST_EXPORTS) \
9349 cd $(HOST_SUBDIR)/fixincludes && \
9350 \
9351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9352 CFLAGS="$(STAGEprofile_CFLAGS)" \
9353 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9354 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9355 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9356 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9357 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9358 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9359 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9360 TFLAGS="$(STAGEprofile_TFLAGS)" \
9361 $(TARGET-stageprofile-fixincludes)
9362
9363 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9364 clean-stageprofile: clean-stageprofile-fixincludes
9365 clean-stageprofile-fixincludes:
9366 @if [ $(current_stage) = stageprofile ]; then \
9367 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9368 else \
9369 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9370 $(MAKE) stageprofile-start; \
9371 fi; \
9372 cd $(HOST_SUBDIR)/fixincludes && \
9373 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9374 @endif fixincludes-bootstrap
9375
9376
9377 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9378 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9379 maybe-all-stagetrain-fixincludes:
9380 maybe-clean-stagetrain-fixincludes:
9381 @if fixincludes-bootstrap
9382 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9383 all-stagetrain: all-stagetrain-fixincludes
9384 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9385 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9386 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9387 @r=`${PWD_COMMAND}`; export r; \
9388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9389 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9390 $(HOST_EXPORTS) \
9391 $(POSTSTAGE1_HOST_EXPORTS) \
9392 cd $(HOST_SUBDIR)/fixincludes && \
9393 \
9394 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9395 CFLAGS="$(STAGEtrain_CFLAGS)" \
9396 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9397 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9398 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9403 TFLAGS="$(STAGEtrain_TFLAGS)" \
9404 $(TARGET-stagetrain-fixincludes)
9405
9406 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9407 clean-stagetrain: clean-stagetrain-fixincludes
9408 clean-stagetrain-fixincludes:
9409 @if [ $(current_stage) = stagetrain ]; then \
9410 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9411 else \
9412 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9413 $(MAKE) stagetrain-start; \
9414 fi; \
9415 cd $(HOST_SUBDIR)/fixincludes && \
9416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9417 @endif fixincludes-bootstrap
9418
9419
9420 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9421 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9422 maybe-all-stagefeedback-fixincludes:
9423 maybe-clean-stagefeedback-fixincludes:
9424 @if fixincludes-bootstrap
9425 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9426 all-stagefeedback: all-stagefeedback-fixincludes
9427 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9428 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9429 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9430 @r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9433 $(HOST_EXPORTS) \
9434 $(POSTSTAGE1_HOST_EXPORTS) \
9435 cd $(HOST_SUBDIR)/fixincludes && \
9436 \
9437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9438 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9439 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9440 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9441 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9446 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9447 $(TARGET-stagefeedback-fixincludes)
9448
9449 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9450 clean-stagefeedback: clean-stagefeedback-fixincludes
9451 clean-stagefeedback-fixincludes:
9452 @if [ $(current_stage) = stagefeedback ]; then \
9453 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9454 else \
9455 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9456 $(MAKE) stagefeedback-start; \
9457 fi; \
9458 cd $(HOST_SUBDIR)/fixincludes && \
9459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9460 @endif fixincludes-bootstrap
9461
9462
9463 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9464 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9465 maybe-all-stageautoprofile-fixincludes:
9466 maybe-clean-stageautoprofile-fixincludes:
9467 @if fixincludes-bootstrap
9468 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9469 all-stageautoprofile: all-stageautoprofile-fixincludes
9470 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9471 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9472 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9473 @r=`${PWD_COMMAND}`; export r; \
9474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9476 $(HOST_EXPORTS) \
9477 $(POSTSTAGE1_HOST_EXPORTS) \
9478 cd $(HOST_SUBDIR)/fixincludes && \
9479 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9481 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9482 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9483 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9484 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9489 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9490 $(TARGET-stageautoprofile-fixincludes)
9491
9492 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9493 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9494 clean-stageautoprofile-fixincludes:
9495 @if [ $(current_stage) = stageautoprofile ]; then \
9496 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9497 else \
9498 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9499 $(MAKE) stageautoprofile-start; \
9500 fi; \
9501 cd $(HOST_SUBDIR)/fixincludes && \
9502 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9503 @endif fixincludes-bootstrap
9504
9505
9506 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9507 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9508 maybe-all-stageautofeedback-fixincludes:
9509 maybe-clean-stageautofeedback-fixincludes:
9510 @if fixincludes-bootstrap
9511 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9512 all-stageautofeedback: all-stageautofeedback-fixincludes
9513 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9514 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9515 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9516 @r=`${PWD_COMMAND}`; export r; \
9517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9518 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9519 $(HOST_EXPORTS) \
9520 $(POSTSTAGE1_HOST_EXPORTS) \
9521 cd $(HOST_SUBDIR)/fixincludes && \
9522 \
9523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9524 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9525 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9526 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9527 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9531 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9532 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9533 $(TARGET-stageautofeedback-fixincludes)
9534
9535 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9536 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9537 clean-stageautofeedback-fixincludes:
9538 @if [ $(current_stage) = stageautofeedback ]; then \
9539 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9540 else \
9541 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9542 $(MAKE) stageautofeedback-start; \
9543 fi; \
9544 cd $(HOST_SUBDIR)/fixincludes && \
9545 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9546 @endif fixincludes-bootstrap
9547
9548
9549
9550
9551
9552 .PHONY: check-fixincludes maybe-check-fixincludes
9553 maybe-check-fixincludes:
9554 @if fixincludes
9555 maybe-check-fixincludes: check-fixincludes
9556
9557 check-fixincludes:
9558 @: $(MAKE); $(unstage)
9559 @r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9562 (cd $(HOST_SUBDIR)/fixincludes && \
9563 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9564
9565 @endif fixincludes
9566
9567 .PHONY: install-fixincludes maybe-install-fixincludes
9568 maybe-install-fixincludes:
9569 @if fixincludes
9570 maybe-install-fixincludes: install-fixincludes
9571
9572 install-fixincludes: installdirs
9573 @: $(MAKE); $(unstage)
9574 @r=`${PWD_COMMAND}`; export r; \
9575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9576 $(HOST_EXPORTS) \
9577 (cd $(HOST_SUBDIR)/fixincludes && \
9578 $(MAKE) $(FLAGS_TO_PASS) install)
9579
9580 @endif fixincludes
9581
9582 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9583 maybe-install-strip-fixincludes:
9584 @if fixincludes
9585 maybe-install-strip-fixincludes: install-strip-fixincludes
9586
9587 install-strip-fixincludes: installdirs
9588 @: $(MAKE); $(unstage)
9589 @r=`${PWD_COMMAND}`; export r; \
9590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591 $(HOST_EXPORTS) \
9592 (cd $(HOST_SUBDIR)/fixincludes && \
9593 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9594
9595 @endif fixincludes
9596
9597 # Other targets (info, dvi, pdf, etc.)
9598
9599 .PHONY: maybe-info-fixincludes info-fixincludes
9600 maybe-info-fixincludes:
9601 @if fixincludes
9602 maybe-info-fixincludes: info-fixincludes
9603
9604 info-fixincludes: \
9605 configure-fixincludes
9606 @[ -f ./fixincludes/Makefile ] || exit 0; \
9607 r=`${PWD_COMMAND}`; export r; \
9608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9609 $(HOST_EXPORTS) \
9610 for flag in $(EXTRA_HOST_FLAGS) ; do \
9611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9612 done; \
9613 echo "Doing info in fixincludes"; \
9614 (cd $(HOST_SUBDIR)/fixincludes && \
9615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9617 "RANLIB=$${RANLIB}" \
9618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9619 info) \
9620 || exit 1
9621
9622 @endif fixincludes
9623
9624 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9625 maybe-dvi-fixincludes:
9626 @if fixincludes
9627 maybe-dvi-fixincludes: dvi-fixincludes
9628
9629 dvi-fixincludes: \
9630 configure-fixincludes
9631 @[ -f ./fixincludes/Makefile ] || exit 0; \
9632 r=`${PWD_COMMAND}`; export r; \
9633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9634 $(HOST_EXPORTS) \
9635 for flag in $(EXTRA_HOST_FLAGS) ; do \
9636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637 done; \
9638 echo "Doing dvi in fixincludes"; \
9639 (cd $(HOST_SUBDIR)/fixincludes && \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642 "RANLIB=$${RANLIB}" \
9643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9644 dvi) \
9645 || exit 1
9646
9647 @endif fixincludes
9648
9649 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9650 maybe-pdf-fixincludes:
9651 @if fixincludes
9652 maybe-pdf-fixincludes: pdf-fixincludes
9653
9654 pdf-fixincludes: \
9655 configure-fixincludes
9656 @[ -f ./fixincludes/Makefile ] || exit 0; \
9657 r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9659 $(HOST_EXPORTS) \
9660 for flag in $(EXTRA_HOST_FLAGS) ; do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing pdf in fixincludes"; \
9664 (cd $(HOST_SUBDIR)/fixincludes && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9669 pdf) \
9670 || exit 1
9671
9672 @endif fixincludes
9673
9674 .PHONY: maybe-html-fixincludes html-fixincludes
9675 maybe-html-fixincludes:
9676 @if fixincludes
9677 maybe-html-fixincludes: html-fixincludes
9678
9679 html-fixincludes: \
9680 configure-fixincludes
9681 @[ -f ./fixincludes/Makefile ] || exit 0; \
9682 r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 $(HOST_EXPORTS) \
9685 for flag in $(EXTRA_HOST_FLAGS) ; do \
9686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9687 done; \
9688 echo "Doing html in fixincludes"; \
9689 (cd $(HOST_SUBDIR)/fixincludes && \
9690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9692 "RANLIB=$${RANLIB}" \
9693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9694 html) \
9695 || exit 1
9696
9697 @endif fixincludes
9698
9699 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9700 maybe-TAGS-fixincludes:
9701 @if fixincludes
9702 maybe-TAGS-fixincludes: TAGS-fixincludes
9703
9704 # fixincludes doesn't support TAGS.
9705 TAGS-fixincludes:
9706
9707 @endif fixincludes
9708
9709 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9710 maybe-install-info-fixincludes:
9711 @if fixincludes
9712 maybe-install-info-fixincludes: install-info-fixincludes
9713
9714 install-info-fixincludes: \
9715 configure-fixincludes \
9716 info-fixincludes
9717 @[ -f ./fixincludes/Makefile ] || exit 0; \
9718 r=`${PWD_COMMAND}`; export r; \
9719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9720 $(HOST_EXPORTS) \
9721 for flag in $(EXTRA_HOST_FLAGS) ; do \
9722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9723 done; \
9724 echo "Doing install-info in fixincludes"; \
9725 (cd $(HOST_SUBDIR)/fixincludes && \
9726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9728 "RANLIB=$${RANLIB}" \
9729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9730 install-info) \
9731 || exit 1
9732
9733 @endif fixincludes
9734
9735 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9736 maybe-install-pdf-fixincludes:
9737 @if fixincludes
9738 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9739
9740 install-pdf-fixincludes: \
9741 configure-fixincludes \
9742 pdf-fixincludes
9743 @[ -f ./fixincludes/Makefile ] || exit 0; \
9744 r=`${PWD_COMMAND}`; export r; \
9745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9746 $(HOST_EXPORTS) \
9747 for flag in $(EXTRA_HOST_FLAGS) ; do \
9748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9749 done; \
9750 echo "Doing install-pdf in fixincludes"; \
9751 (cd $(HOST_SUBDIR)/fixincludes && \
9752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9754 "RANLIB=$${RANLIB}" \
9755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9756 install-pdf) \
9757 || exit 1
9758
9759 @endif fixincludes
9760
9761 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9762 maybe-install-html-fixincludes:
9763 @if fixincludes
9764 maybe-install-html-fixincludes: install-html-fixincludes
9765
9766 install-html-fixincludes: \
9767 configure-fixincludes \
9768 html-fixincludes
9769 @[ -f ./fixincludes/Makefile ] || exit 0; \
9770 r=`${PWD_COMMAND}`; export r; \
9771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9772 $(HOST_EXPORTS) \
9773 for flag in $(EXTRA_HOST_FLAGS) ; do \
9774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9775 done; \
9776 echo "Doing install-html in fixincludes"; \
9777 (cd $(HOST_SUBDIR)/fixincludes && \
9778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9780 "RANLIB=$${RANLIB}" \
9781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9782 install-html) \
9783 || exit 1
9784
9785 @endif fixincludes
9786
9787 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9788 maybe-installcheck-fixincludes:
9789 @if fixincludes
9790 maybe-installcheck-fixincludes: installcheck-fixincludes
9791
9792 installcheck-fixincludes: \
9793 configure-fixincludes
9794 @[ -f ./fixincludes/Makefile ] || exit 0; \
9795 r=`${PWD_COMMAND}`; export r; \
9796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9797 $(HOST_EXPORTS) \
9798 for flag in $(EXTRA_HOST_FLAGS) ; do \
9799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9800 done; \
9801 echo "Doing installcheck in fixincludes"; \
9802 (cd $(HOST_SUBDIR)/fixincludes && \
9803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9805 "RANLIB=$${RANLIB}" \
9806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9807 installcheck) \
9808 || exit 1
9809
9810 @endif fixincludes
9811
9812 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9813 maybe-mostlyclean-fixincludes:
9814 @if fixincludes
9815 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9816
9817 mostlyclean-fixincludes:
9818 @[ -f ./fixincludes/Makefile ] || exit 0; \
9819 r=`${PWD_COMMAND}`; export r; \
9820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9821 $(HOST_EXPORTS) \
9822 for flag in $(EXTRA_HOST_FLAGS) ; do \
9823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9824 done; \
9825 echo "Doing mostlyclean in fixincludes"; \
9826 (cd $(HOST_SUBDIR)/fixincludes && \
9827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9829 "RANLIB=$${RANLIB}" \
9830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9831 mostlyclean) \
9832 || exit 1
9833
9834 @endif fixincludes
9835
9836 .PHONY: maybe-clean-fixincludes clean-fixincludes
9837 maybe-clean-fixincludes:
9838 @if fixincludes
9839 maybe-clean-fixincludes: clean-fixincludes
9840
9841 clean-fixincludes:
9842 @[ -f ./fixincludes/Makefile ] || exit 0; \
9843 r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 $(HOST_EXPORTS) \
9846 for flag in $(EXTRA_HOST_FLAGS) ; do \
9847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9848 done; \
9849 echo "Doing clean in fixincludes"; \
9850 (cd $(HOST_SUBDIR)/fixincludes && \
9851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9853 "RANLIB=$${RANLIB}" \
9854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9855 clean) \
9856 || exit 1
9857
9858 @endif fixincludes
9859
9860 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9861 maybe-distclean-fixincludes:
9862 @if fixincludes
9863 maybe-distclean-fixincludes: distclean-fixincludes
9864
9865 distclean-fixincludes:
9866 @[ -f ./fixincludes/Makefile ] || exit 0; \
9867 r=`${PWD_COMMAND}`; export r; \
9868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9869 $(HOST_EXPORTS) \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9872 done; \
9873 echo "Doing distclean in fixincludes"; \
9874 (cd $(HOST_SUBDIR)/fixincludes && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9879 distclean) \
9880 || exit 1
9881
9882 @endif fixincludes
9883
9884 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9885 maybe-maintainer-clean-fixincludes:
9886 @if fixincludes
9887 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9888
9889 maintainer-clean-fixincludes:
9890 @[ -f ./fixincludes/Makefile ] || exit 0; \
9891 r=`${PWD_COMMAND}`; export r; \
9892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 $(HOST_EXPORTS) \
9894 for flag in $(EXTRA_HOST_FLAGS) ; do \
9895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9896 done; \
9897 echo "Doing maintainer-clean in fixincludes"; \
9898 (cd $(HOST_SUBDIR)/fixincludes && \
9899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9901 "RANLIB=$${RANLIB}" \
9902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9903 maintainer-clean) \
9904 || exit 1
9905
9906 @endif fixincludes
9907
9908
9909
9910 .PHONY: configure-flex maybe-configure-flex
9911 maybe-configure-flex:
9912 @if gcc-bootstrap
9913 configure-flex: stage_current
9914 @endif gcc-bootstrap
9915 @if flex
9916 maybe-configure-flex: configure-flex
9917 configure-flex:
9918 @: $(MAKE); $(unstage)
9919 @r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9921 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9923 $(HOST_EXPORTS) \
9924 echo Configuring in $(HOST_SUBDIR)/flex; \
9925 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9926 case $(srcdir) in \
9927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9928 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9930 esac; \
9931 module_srcdir=flex; \
9932 $(SHELL) \
9933 $$s/$$module_srcdir/configure \
9934 --srcdir=$${topdir}/$$module_srcdir \
9935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9936 --target=${target_alias} \
9937 || exit 1
9938 @endif flex
9939
9940
9941
9942
9943
9944 .PHONY: all-flex maybe-all-flex
9945 maybe-all-flex:
9946 @if gcc-bootstrap
9947 all-flex: stage_current
9948 @endif gcc-bootstrap
9949 @if flex
9950 TARGET-flex=all
9951 maybe-all-flex: all-flex
9952 all-flex: configure-flex
9953 @: $(MAKE); $(unstage)
9954 @r=`${PWD_COMMAND}`; export r; \
9955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 $(HOST_EXPORTS) \
9957 (cd $(HOST_SUBDIR)/flex && \
9958 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9959 $(TARGET-flex))
9960 @endif flex
9961
9962
9963
9964
9965 .PHONY: check-flex maybe-check-flex
9966 maybe-check-flex:
9967 @if flex
9968 maybe-check-flex: check-flex
9969
9970 # This module is only tested in a native toolchain.
9971 check-flex:
9972 @: $(MAKE); $(unstage)
9973 @if [ '$(host)' = '$(target)' ]; then \
9974 r=`${PWD_COMMAND}`; export r; \
9975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9976 $(HOST_EXPORTS) \
9977 (cd $(HOST_SUBDIR)/flex && \
9978 $(MAKE) $(FLAGS_TO_PASS) check)
9979 fi
9980
9981 @endif flex
9982
9983 .PHONY: install-flex maybe-install-flex
9984 maybe-install-flex:
9985 @if flex
9986 maybe-install-flex: install-flex
9987
9988 install-flex: installdirs
9989 @: $(MAKE); $(unstage)
9990 @r=`${PWD_COMMAND}`; export r; \
9991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9992 $(HOST_EXPORTS) \
9993 (cd $(HOST_SUBDIR)/flex && \
9994 $(MAKE) $(FLAGS_TO_PASS) install)
9995
9996 @endif flex
9997
9998 .PHONY: install-strip-flex maybe-install-strip-flex
9999 maybe-install-strip-flex:
10000 @if flex
10001 maybe-install-strip-flex: install-strip-flex
10002
10003 install-strip-flex: installdirs
10004 @: $(MAKE); $(unstage)
10005 @r=`${PWD_COMMAND}`; export r; \
10006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10007 $(HOST_EXPORTS) \
10008 (cd $(HOST_SUBDIR)/flex && \
10009 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10010
10011 @endif flex
10012
10013 # Other targets (info, dvi, pdf, etc.)
10014
10015 .PHONY: maybe-info-flex info-flex
10016 maybe-info-flex:
10017 @if flex
10018 maybe-info-flex: info-flex
10019
10020 info-flex: \
10021 configure-flex
10022 @: $(MAKE); $(unstage)
10023 @[ -f ./flex/Makefile ] || exit 0; \
10024 r=`${PWD_COMMAND}`; export r; \
10025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10026 $(HOST_EXPORTS) \
10027 for flag in $(EXTRA_HOST_FLAGS) ; do \
10028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10029 done; \
10030 echo "Doing info in flex"; \
10031 (cd $(HOST_SUBDIR)/flex && \
10032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10034 "RANLIB=$${RANLIB}" \
10035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10036 info) \
10037 || exit 1
10038
10039 @endif flex
10040
10041 .PHONY: maybe-dvi-flex dvi-flex
10042 maybe-dvi-flex:
10043 @if flex
10044 maybe-dvi-flex: dvi-flex
10045
10046 dvi-flex: \
10047 configure-flex
10048 @: $(MAKE); $(unstage)
10049 @[ -f ./flex/Makefile ] || exit 0; \
10050 r=`${PWD_COMMAND}`; export r; \
10051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10052 $(HOST_EXPORTS) \
10053 for flag in $(EXTRA_HOST_FLAGS) ; do \
10054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10055 done; \
10056 echo "Doing dvi in flex"; \
10057 (cd $(HOST_SUBDIR)/flex && \
10058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10060 "RANLIB=$${RANLIB}" \
10061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10062 dvi) \
10063 || exit 1
10064
10065 @endif flex
10066
10067 .PHONY: maybe-pdf-flex pdf-flex
10068 maybe-pdf-flex:
10069 @if flex
10070 maybe-pdf-flex: pdf-flex
10071
10072 pdf-flex: \
10073 configure-flex
10074 @: $(MAKE); $(unstage)
10075 @[ -f ./flex/Makefile ] || exit 0; \
10076 r=`${PWD_COMMAND}`; export r; \
10077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10078 $(HOST_EXPORTS) \
10079 for flag in $(EXTRA_HOST_FLAGS) ; do \
10080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10081 done; \
10082 echo "Doing pdf in flex"; \
10083 (cd $(HOST_SUBDIR)/flex && \
10084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10086 "RANLIB=$${RANLIB}" \
10087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10088 pdf) \
10089 || exit 1
10090
10091 @endif flex
10092
10093 .PHONY: maybe-html-flex html-flex
10094 maybe-html-flex:
10095 @if flex
10096 maybe-html-flex: html-flex
10097
10098 html-flex: \
10099 configure-flex
10100 @: $(MAKE); $(unstage)
10101 @[ -f ./flex/Makefile ] || exit 0; \
10102 r=`${PWD_COMMAND}`; export r; \
10103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 $(HOST_EXPORTS) \
10105 for flag in $(EXTRA_HOST_FLAGS) ; do \
10106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10107 done; \
10108 echo "Doing html in flex"; \
10109 (cd $(HOST_SUBDIR)/flex && \
10110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10112 "RANLIB=$${RANLIB}" \
10113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10114 html) \
10115 || exit 1
10116
10117 @endif flex
10118
10119 .PHONY: maybe-TAGS-flex TAGS-flex
10120 maybe-TAGS-flex:
10121 @if flex
10122 maybe-TAGS-flex: TAGS-flex
10123
10124 TAGS-flex: \
10125 configure-flex
10126 @: $(MAKE); $(unstage)
10127 @[ -f ./flex/Makefile ] || exit 0; \
10128 r=`${PWD_COMMAND}`; export r; \
10129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10130 $(HOST_EXPORTS) \
10131 for flag in $(EXTRA_HOST_FLAGS) ; do \
10132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10133 done; \
10134 echo "Doing TAGS in flex"; \
10135 (cd $(HOST_SUBDIR)/flex && \
10136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10138 "RANLIB=$${RANLIB}" \
10139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10140 TAGS) \
10141 || exit 1
10142
10143 @endif flex
10144
10145 .PHONY: maybe-install-info-flex install-info-flex
10146 maybe-install-info-flex:
10147 @if flex
10148 maybe-install-info-flex: install-info-flex
10149
10150 install-info-flex: \
10151 configure-flex \
10152 info-flex
10153 @: $(MAKE); $(unstage)
10154 @[ -f ./flex/Makefile ] || exit 0; \
10155 r=`${PWD_COMMAND}`; export r; \
10156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10157 $(HOST_EXPORTS) \
10158 for flag in $(EXTRA_HOST_FLAGS) ; do \
10159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10160 done; \
10161 echo "Doing install-info in flex"; \
10162 (cd $(HOST_SUBDIR)/flex && \
10163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10165 "RANLIB=$${RANLIB}" \
10166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10167 install-info) \
10168 || exit 1
10169
10170 @endif flex
10171
10172 .PHONY: maybe-install-pdf-flex install-pdf-flex
10173 maybe-install-pdf-flex:
10174 @if flex
10175 maybe-install-pdf-flex: install-pdf-flex
10176
10177 install-pdf-flex: \
10178 configure-flex \
10179 pdf-flex
10180 @: $(MAKE); $(unstage)
10181 @[ -f ./flex/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 for flag in $(EXTRA_HOST_FLAGS) ; do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187 done; \
10188 echo "Doing install-pdf in flex"; \
10189 (cd $(HOST_SUBDIR)/flex && \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10194 install-pdf) \
10195 || exit 1
10196
10197 @endif flex
10198
10199 .PHONY: maybe-install-html-flex install-html-flex
10200 maybe-install-html-flex:
10201 @if flex
10202 maybe-install-html-flex: install-html-flex
10203
10204 install-html-flex: \
10205 configure-flex \
10206 html-flex
10207 @: $(MAKE); $(unstage)
10208 @[ -f ./flex/Makefile ] || exit 0; \
10209 r=`${PWD_COMMAND}`; export r; \
10210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10211 $(HOST_EXPORTS) \
10212 for flag in $(EXTRA_HOST_FLAGS) ; do \
10213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10214 done; \
10215 echo "Doing install-html in flex"; \
10216 (cd $(HOST_SUBDIR)/flex && \
10217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219 "RANLIB=$${RANLIB}" \
10220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10221 install-html) \
10222 || exit 1
10223
10224 @endif flex
10225
10226 .PHONY: maybe-installcheck-flex installcheck-flex
10227 maybe-installcheck-flex:
10228 @if flex
10229 maybe-installcheck-flex: installcheck-flex
10230
10231 installcheck-flex: \
10232 configure-flex
10233 @: $(MAKE); $(unstage)
10234 @[ -f ./flex/Makefile ] || exit 0; \
10235 r=`${PWD_COMMAND}`; export r; \
10236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10237 $(HOST_EXPORTS) \
10238 for flag in $(EXTRA_HOST_FLAGS) ; do \
10239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10240 done; \
10241 echo "Doing installcheck in flex"; \
10242 (cd $(HOST_SUBDIR)/flex && \
10243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10245 "RANLIB=$${RANLIB}" \
10246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10247 installcheck) \
10248 || exit 1
10249
10250 @endif flex
10251
10252 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10253 maybe-mostlyclean-flex:
10254 @if flex
10255 maybe-mostlyclean-flex: mostlyclean-flex
10256
10257 mostlyclean-flex:
10258 @: $(MAKE); $(unstage)
10259 @[ -f ./flex/Makefile ] || exit 0; \
10260 r=`${PWD_COMMAND}`; export r; \
10261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10262 $(HOST_EXPORTS) \
10263 for flag in $(EXTRA_HOST_FLAGS) ; do \
10264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10265 done; \
10266 echo "Doing mostlyclean in flex"; \
10267 (cd $(HOST_SUBDIR)/flex && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10270 "RANLIB=$${RANLIB}" \
10271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10272 mostlyclean) \
10273 || exit 1
10274
10275 @endif flex
10276
10277 .PHONY: maybe-clean-flex clean-flex
10278 maybe-clean-flex:
10279 @if flex
10280 maybe-clean-flex: clean-flex
10281
10282 clean-flex:
10283 @: $(MAKE); $(unstage)
10284 @[ -f ./flex/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(HOST_EXPORTS) \
10288 for flag in $(EXTRA_HOST_FLAGS) ; do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 done; \
10291 echo "Doing clean in flex"; \
10292 (cd $(HOST_SUBDIR)/flex && \
10293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10295 "RANLIB=$${RANLIB}" \
10296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10297 clean) \
10298 || exit 1
10299
10300 @endif flex
10301
10302 .PHONY: maybe-distclean-flex distclean-flex
10303 maybe-distclean-flex:
10304 @if flex
10305 maybe-distclean-flex: distclean-flex
10306
10307 distclean-flex:
10308 @: $(MAKE); $(unstage)
10309 @[ -f ./flex/Makefile ] || exit 0; \
10310 r=`${PWD_COMMAND}`; export r; \
10311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10312 $(HOST_EXPORTS) \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 done; \
10316 echo "Doing distclean in flex"; \
10317 (cd $(HOST_SUBDIR)/flex && \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10322 distclean) \
10323 || exit 1
10324
10325 @endif flex
10326
10327 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10328 maybe-maintainer-clean-flex:
10329 @if flex
10330 maybe-maintainer-clean-flex: maintainer-clean-flex
10331
10332 maintainer-clean-flex:
10333 @: $(MAKE); $(unstage)
10334 @[ -f ./flex/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 for flag in $(EXTRA_HOST_FLAGS) ; do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10340 done; \
10341 echo "Doing maintainer-clean in flex"; \
10342 (cd $(HOST_SUBDIR)/flex && \
10343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10345 "RANLIB=$${RANLIB}" \
10346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10347 maintainer-clean) \
10348 || exit 1
10349
10350 @endif flex
10351
10352
10353
10354 .PHONY: configure-gas maybe-configure-gas
10355 maybe-configure-gas:
10356 @if gcc-bootstrap
10357 configure-gas: stage_current
10358 @endif gcc-bootstrap
10359 @if gas
10360 maybe-configure-gas: configure-gas
10361 configure-gas:
10362 @r=`${PWD_COMMAND}`; export r; \
10363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10364 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10366 $(HOST_EXPORTS) \
10367 echo Configuring in $(HOST_SUBDIR)/gas; \
10368 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10369 case $(srcdir) in \
10370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10371 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10373 esac; \
10374 module_srcdir=gas; \
10375 $(SHELL) \
10376 $$s/$$module_srcdir/configure \
10377 --srcdir=$${topdir}/$$module_srcdir \
10378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10379 --target=${target_alias} \
10380 || exit 1
10381 @endif gas
10382
10383
10384
10385 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10386 maybe-configure-stage1-gas:
10387 @if gas-bootstrap
10388 maybe-configure-stage1-gas: configure-stage1-gas
10389 configure-stage1-gas:
10390 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10392 @r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 TFLAGS="$(STAGE1_TFLAGS)"; \
10395 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10396 $(HOST_EXPORTS) \
10397 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10398 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10399 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10400 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10402 cd $(HOST_SUBDIR)/gas || exit 1; \
10403 case $(srcdir) in \
10404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10405 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10407 esac; \
10408 module_srcdir=gas; \
10409 $(SHELL) $$s/$$module_srcdir/configure \
10410 --srcdir=$${topdir}/$$module_srcdir \
10411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10412 --target=${target_alias} \
10413 \
10414 $(STAGE1_CONFIGURE_FLAGS)
10415 @endif gas-bootstrap
10416
10417 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10418 maybe-configure-stage2-gas:
10419 @if gas-bootstrap
10420 maybe-configure-stage2-gas: configure-stage2-gas
10421 configure-stage2-gas:
10422 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10424 @r=`${PWD_COMMAND}`; export r; \
10425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426 TFLAGS="$(STAGE2_TFLAGS)"; \
10427 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10428 $(HOST_EXPORTS) \
10429 $(POSTSTAGE1_HOST_EXPORTS) \
10430 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10431 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10432 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10433 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10435 cd $(HOST_SUBDIR)/gas || exit 1; \
10436 case $(srcdir) in \
10437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10438 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10440 esac; \
10441 module_srcdir=gas; \
10442 $(SHELL) $$s/$$module_srcdir/configure \
10443 --srcdir=$${topdir}/$$module_srcdir \
10444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10445 --target=${target_alias} \
10446 --with-build-libsubdir=$(HOST_SUBDIR) \
10447 $(STAGE2_CONFIGURE_FLAGS)
10448 @endif gas-bootstrap
10449
10450 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10451 maybe-configure-stage3-gas:
10452 @if gas-bootstrap
10453 maybe-configure-stage3-gas: configure-stage3-gas
10454 configure-stage3-gas:
10455 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10456 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10457 @r=`${PWD_COMMAND}`; export r; \
10458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10459 TFLAGS="$(STAGE3_TFLAGS)"; \
10460 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10461 $(HOST_EXPORTS) \
10462 $(POSTSTAGE1_HOST_EXPORTS) \
10463 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10464 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10465 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10466 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10468 cd $(HOST_SUBDIR)/gas || exit 1; \
10469 case $(srcdir) in \
10470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10471 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10473 esac; \
10474 module_srcdir=gas; \
10475 $(SHELL) $$s/$$module_srcdir/configure \
10476 --srcdir=$${topdir}/$$module_srcdir \
10477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10478 --target=${target_alias} \
10479 --with-build-libsubdir=$(HOST_SUBDIR) \
10480 $(STAGE3_CONFIGURE_FLAGS)
10481 @endif gas-bootstrap
10482
10483 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10484 maybe-configure-stage4-gas:
10485 @if gas-bootstrap
10486 maybe-configure-stage4-gas: configure-stage4-gas
10487 configure-stage4-gas:
10488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10490 @r=`${PWD_COMMAND}`; export r; \
10491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 TFLAGS="$(STAGE4_TFLAGS)"; \
10493 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10494 $(HOST_EXPORTS) \
10495 $(POSTSTAGE1_HOST_EXPORTS) \
10496 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10497 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10498 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10499 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10501 cd $(HOST_SUBDIR)/gas || exit 1; \
10502 case $(srcdir) in \
10503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10504 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10506 esac; \
10507 module_srcdir=gas; \
10508 $(SHELL) $$s/$$module_srcdir/configure \
10509 --srcdir=$${topdir}/$$module_srcdir \
10510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10511 --target=${target_alias} \
10512 --with-build-libsubdir=$(HOST_SUBDIR) \
10513 $(STAGE4_CONFIGURE_FLAGS)
10514 @endif gas-bootstrap
10515
10516 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10517 maybe-configure-stageprofile-gas:
10518 @if gas-bootstrap
10519 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10520 configure-stageprofile-gas:
10521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10523 @r=`${PWD_COMMAND}`; export r; \
10524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10526 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10527 $(HOST_EXPORTS) \
10528 $(POSTSTAGE1_HOST_EXPORTS) \
10529 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10531 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10532 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10534 cd $(HOST_SUBDIR)/gas || exit 1; \
10535 case $(srcdir) in \
10536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10537 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10539 esac; \
10540 module_srcdir=gas; \
10541 $(SHELL) $$s/$$module_srcdir/configure \
10542 --srcdir=$${topdir}/$$module_srcdir \
10543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10544 --target=${target_alias} \
10545 --with-build-libsubdir=$(HOST_SUBDIR) \
10546 $(STAGEprofile_CONFIGURE_FLAGS)
10547 @endif gas-bootstrap
10548
10549 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10550 maybe-configure-stagetrain-gas:
10551 @if gas-bootstrap
10552 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10553 configure-stagetrain-gas:
10554 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10556 @r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10558 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10559 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10560 $(HOST_EXPORTS) \
10561 $(POSTSTAGE1_HOST_EXPORTS) \
10562 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10563 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10564 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10565 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10567 cd $(HOST_SUBDIR)/gas || exit 1; \
10568 case $(srcdir) in \
10569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10570 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10572 esac; \
10573 module_srcdir=gas; \
10574 $(SHELL) $$s/$$module_srcdir/configure \
10575 --srcdir=$${topdir}/$$module_srcdir \
10576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10577 --target=${target_alias} \
10578 --with-build-libsubdir=$(HOST_SUBDIR) \
10579 $(STAGEtrain_CONFIGURE_FLAGS)
10580 @endif gas-bootstrap
10581
10582 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10583 maybe-configure-stagefeedback-gas:
10584 @if gas-bootstrap
10585 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10586 configure-stagefeedback-gas:
10587 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10588 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10589 @r=`${PWD_COMMAND}`; export r; \
10590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10592 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10593 $(HOST_EXPORTS) \
10594 $(POSTSTAGE1_HOST_EXPORTS) \
10595 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10596 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10597 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10598 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10600 cd $(HOST_SUBDIR)/gas || exit 1; \
10601 case $(srcdir) in \
10602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10603 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10605 esac; \
10606 module_srcdir=gas; \
10607 $(SHELL) $$s/$$module_srcdir/configure \
10608 --srcdir=$${topdir}/$$module_srcdir \
10609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10610 --target=${target_alias} \
10611 --with-build-libsubdir=$(HOST_SUBDIR) \
10612 $(STAGEfeedback_CONFIGURE_FLAGS)
10613 @endif gas-bootstrap
10614
10615 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10616 maybe-configure-stageautoprofile-gas:
10617 @if gas-bootstrap
10618 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10619 configure-stageautoprofile-gas:
10620 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10622 @r=`${PWD_COMMAND}`; export r; \
10623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10624 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10625 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10626 $(HOST_EXPORTS) \
10627 $(POSTSTAGE1_HOST_EXPORTS) \
10628 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10629 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10630 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10631 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10633 cd $(HOST_SUBDIR)/gas || exit 1; \
10634 case $(srcdir) in \
10635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10636 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10638 esac; \
10639 module_srcdir=gas; \
10640 $(SHELL) $$s/$$module_srcdir/configure \
10641 --srcdir=$${topdir}/$$module_srcdir \
10642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10643 --target=${target_alias} \
10644 --with-build-libsubdir=$(HOST_SUBDIR) \
10645 $(STAGEautoprofile_CONFIGURE_FLAGS)
10646 @endif gas-bootstrap
10647
10648 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10649 maybe-configure-stageautofeedback-gas:
10650 @if gas-bootstrap
10651 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10652 configure-stageautofeedback-gas:
10653 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10655 @r=`${PWD_COMMAND}`; export r; \
10656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10657 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10658 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10659 $(HOST_EXPORTS) \
10660 $(POSTSTAGE1_HOST_EXPORTS) \
10661 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10662 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10663 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10664 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10666 cd $(HOST_SUBDIR)/gas || exit 1; \
10667 case $(srcdir) in \
10668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10669 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10671 esac; \
10672 module_srcdir=gas; \
10673 $(SHELL) $$s/$$module_srcdir/configure \
10674 --srcdir=$${topdir}/$$module_srcdir \
10675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10676 --target=${target_alias} \
10677 --with-build-libsubdir=$(HOST_SUBDIR) \
10678 $(STAGEautofeedback_CONFIGURE_FLAGS)
10679 @endif gas-bootstrap
10680
10681
10682
10683
10684
10685 .PHONY: all-gas maybe-all-gas
10686 maybe-all-gas:
10687 @if gcc-bootstrap
10688 all-gas: stage_current
10689 @endif gcc-bootstrap
10690 @if gas
10691 TARGET-gas=all
10692 maybe-all-gas: all-gas
10693 all-gas: configure-gas
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(HOST_EXPORTS) \
10697 (cd $(HOST_SUBDIR)/gas && \
10698 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10699 $(TARGET-gas))
10700 @endif gas
10701
10702
10703
10704 .PHONY: all-stage1-gas maybe-all-stage1-gas
10705 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10706 maybe-all-stage1-gas:
10707 maybe-clean-stage1-gas:
10708 @if gas-bootstrap
10709 maybe-all-stage1-gas: all-stage1-gas
10710 all-stage1: all-stage1-gas
10711 TARGET-stage1-gas = $(TARGET-gas)
10712 all-stage1-gas: configure-stage1-gas
10713 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10714 @r=`${PWD_COMMAND}`; export r; \
10715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10716 TFLAGS="$(STAGE1_TFLAGS)"; \
10717 $(HOST_EXPORTS) \
10718 cd $(HOST_SUBDIR)/gas && \
10719 \
10720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10721 CFLAGS="$(STAGE1_CFLAGS)" \
10722 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
10723 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10724 LIBCFLAGS="$(LIBCFLAGS)" \
10725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10728 $(EXTRA_HOST_FLAGS) \
10729 $(STAGE1_FLAGS_TO_PASS) \
10730 TFLAGS="$(STAGE1_TFLAGS)" \
10731 $(TARGET-stage1-gas)
10732
10733 maybe-clean-stage1-gas: clean-stage1-gas
10734 clean-stage1: clean-stage1-gas
10735 clean-stage1-gas:
10736 @if [ $(current_stage) = stage1 ]; then \
10737 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10738 else \
10739 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10740 $(MAKE) stage1-start; \
10741 fi; \
10742 cd $(HOST_SUBDIR)/gas && \
10743 $(MAKE) $(EXTRA_HOST_FLAGS) \
10744 $(STAGE1_FLAGS_TO_PASS) clean
10745 @endif gas-bootstrap
10746
10747
10748 .PHONY: all-stage2-gas maybe-all-stage2-gas
10749 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10750 maybe-all-stage2-gas:
10751 maybe-clean-stage2-gas:
10752 @if gas-bootstrap
10753 maybe-all-stage2-gas: all-stage2-gas
10754 all-stage2: all-stage2-gas
10755 TARGET-stage2-gas = $(TARGET-gas)
10756 all-stage2-gas: configure-stage2-gas
10757 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10758 @r=`${PWD_COMMAND}`; export r; \
10759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10760 TFLAGS="$(STAGE2_TFLAGS)"; \
10761 $(HOST_EXPORTS) \
10762 $(POSTSTAGE1_HOST_EXPORTS) \
10763 cd $(HOST_SUBDIR)/gas && \
10764 \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10766 CFLAGS="$(STAGE2_CFLAGS)" \
10767 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
10768 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10769 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10774 TFLAGS="$(STAGE2_TFLAGS)" \
10775 $(TARGET-stage2-gas)
10776
10777 maybe-clean-stage2-gas: clean-stage2-gas
10778 clean-stage2: clean-stage2-gas
10779 clean-stage2-gas:
10780 @if [ $(current_stage) = stage2 ]; then \
10781 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10782 else \
10783 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10784 $(MAKE) stage2-start; \
10785 fi; \
10786 cd $(HOST_SUBDIR)/gas && \
10787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10788 @endif gas-bootstrap
10789
10790
10791 .PHONY: all-stage3-gas maybe-all-stage3-gas
10792 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10793 maybe-all-stage3-gas:
10794 maybe-clean-stage3-gas:
10795 @if gas-bootstrap
10796 maybe-all-stage3-gas: all-stage3-gas
10797 all-stage3: all-stage3-gas
10798 TARGET-stage3-gas = $(TARGET-gas)
10799 all-stage3-gas: configure-stage3-gas
10800 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10801 @r=`${PWD_COMMAND}`; export r; \
10802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10803 TFLAGS="$(STAGE3_TFLAGS)"; \
10804 $(HOST_EXPORTS) \
10805 $(POSTSTAGE1_HOST_EXPORTS) \
10806 cd $(HOST_SUBDIR)/gas && \
10807 \
10808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10809 CFLAGS="$(STAGE3_CFLAGS)" \
10810 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
10811 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10812 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10817 TFLAGS="$(STAGE3_TFLAGS)" \
10818 $(TARGET-stage3-gas)
10819
10820 maybe-clean-stage3-gas: clean-stage3-gas
10821 clean-stage3: clean-stage3-gas
10822 clean-stage3-gas:
10823 @if [ $(current_stage) = stage3 ]; then \
10824 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10825 else \
10826 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10827 $(MAKE) stage3-start; \
10828 fi; \
10829 cd $(HOST_SUBDIR)/gas && \
10830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10831 @endif gas-bootstrap
10832
10833
10834 .PHONY: all-stage4-gas maybe-all-stage4-gas
10835 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10836 maybe-all-stage4-gas:
10837 maybe-clean-stage4-gas:
10838 @if gas-bootstrap
10839 maybe-all-stage4-gas: all-stage4-gas
10840 all-stage4: all-stage4-gas
10841 TARGET-stage4-gas = $(TARGET-gas)
10842 all-stage4-gas: configure-stage4-gas
10843 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10844 @r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 TFLAGS="$(STAGE4_TFLAGS)"; \
10847 $(HOST_EXPORTS) \
10848 $(POSTSTAGE1_HOST_EXPORTS) \
10849 cd $(HOST_SUBDIR)/gas && \
10850 \
10851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10852 CFLAGS="$(STAGE4_CFLAGS)" \
10853 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
10854 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10855 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10860 TFLAGS="$(STAGE4_TFLAGS)" \
10861 $(TARGET-stage4-gas)
10862
10863 maybe-clean-stage4-gas: clean-stage4-gas
10864 clean-stage4: clean-stage4-gas
10865 clean-stage4-gas:
10866 @if [ $(current_stage) = stage4 ]; then \
10867 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10868 else \
10869 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10870 $(MAKE) stage4-start; \
10871 fi; \
10872 cd $(HOST_SUBDIR)/gas && \
10873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10874 @endif gas-bootstrap
10875
10876
10877 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10878 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10879 maybe-all-stageprofile-gas:
10880 maybe-clean-stageprofile-gas:
10881 @if gas-bootstrap
10882 maybe-all-stageprofile-gas: all-stageprofile-gas
10883 all-stageprofile: all-stageprofile-gas
10884 TARGET-stageprofile-gas = $(TARGET-gas)
10885 all-stageprofile-gas: configure-stageprofile-gas
10886 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10887 @r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10890 $(HOST_EXPORTS) \
10891 $(POSTSTAGE1_HOST_EXPORTS) \
10892 cd $(HOST_SUBDIR)/gas && \
10893 \
10894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10895 CFLAGS="$(STAGEprofile_CFLAGS)" \
10896 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
10897 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10898 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10903 TFLAGS="$(STAGEprofile_TFLAGS)" \
10904 $(TARGET-stageprofile-gas)
10905
10906 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10907 clean-stageprofile: clean-stageprofile-gas
10908 clean-stageprofile-gas:
10909 @if [ $(current_stage) = stageprofile ]; then \
10910 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10911 else \
10912 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10913 $(MAKE) stageprofile-start; \
10914 fi; \
10915 cd $(HOST_SUBDIR)/gas && \
10916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10917 @endif gas-bootstrap
10918
10919
10920 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10921 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10922 maybe-all-stagetrain-gas:
10923 maybe-clean-stagetrain-gas:
10924 @if gas-bootstrap
10925 maybe-all-stagetrain-gas: all-stagetrain-gas
10926 all-stagetrain: all-stagetrain-gas
10927 TARGET-stagetrain-gas = $(TARGET-gas)
10928 all-stagetrain-gas: configure-stagetrain-gas
10929 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10930 @r=`${PWD_COMMAND}`; export r; \
10931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10932 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10933 $(HOST_EXPORTS) \
10934 $(POSTSTAGE1_HOST_EXPORTS) \
10935 cd $(HOST_SUBDIR)/gas && \
10936 \
10937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10938 CFLAGS="$(STAGEtrain_CFLAGS)" \
10939 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
10940 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10941 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10946 TFLAGS="$(STAGEtrain_TFLAGS)" \
10947 $(TARGET-stagetrain-gas)
10948
10949 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10950 clean-stagetrain: clean-stagetrain-gas
10951 clean-stagetrain-gas:
10952 @if [ $(current_stage) = stagetrain ]; then \
10953 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10954 else \
10955 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10956 $(MAKE) stagetrain-start; \
10957 fi; \
10958 cd $(HOST_SUBDIR)/gas && \
10959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10960 @endif gas-bootstrap
10961
10962
10963 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10964 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10965 maybe-all-stagefeedback-gas:
10966 maybe-clean-stagefeedback-gas:
10967 @if gas-bootstrap
10968 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10969 all-stagefeedback: all-stagefeedback-gas
10970 TARGET-stagefeedback-gas = $(TARGET-gas)
10971 all-stagefeedback-gas: configure-stagefeedback-gas
10972 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10973 @r=`${PWD_COMMAND}`; export r; \
10974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10975 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10976 $(HOST_EXPORTS) \
10977 $(POSTSTAGE1_HOST_EXPORTS) \
10978 cd $(HOST_SUBDIR)/gas && \
10979 \
10980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10981 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10982 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
10983 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10984 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10989 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10990 $(TARGET-stagefeedback-gas)
10991
10992 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10993 clean-stagefeedback: clean-stagefeedback-gas
10994 clean-stagefeedback-gas:
10995 @if [ $(current_stage) = stagefeedback ]; then \
10996 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10997 else \
10998 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10999 $(MAKE) stagefeedback-start; \
11000 fi; \
11001 cd $(HOST_SUBDIR)/gas && \
11002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11003 @endif gas-bootstrap
11004
11005
11006 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11007 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11008 maybe-all-stageautoprofile-gas:
11009 maybe-clean-stageautoprofile-gas:
11010 @if gas-bootstrap
11011 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11012 all-stageautoprofile: all-stageautoprofile-gas
11013 TARGET-stageautoprofile-gas = $(TARGET-gas)
11014 all-stageautoprofile-gas: configure-stageautoprofile-gas
11015 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11016 @r=`${PWD_COMMAND}`; export r; \
11017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11018 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11019 $(HOST_EXPORTS) \
11020 $(POSTSTAGE1_HOST_EXPORTS) \
11021 cd $(HOST_SUBDIR)/gas && \
11022 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11023 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11024 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11025 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11026 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11027 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11031 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11032 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11033 $(TARGET-stageautoprofile-gas)
11034
11035 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11036 clean-stageautoprofile: clean-stageautoprofile-gas
11037 clean-stageautoprofile-gas:
11038 @if [ $(current_stage) = stageautoprofile ]; then \
11039 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11040 else \
11041 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11042 $(MAKE) stageautoprofile-start; \
11043 fi; \
11044 cd $(HOST_SUBDIR)/gas && \
11045 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11046 @endif gas-bootstrap
11047
11048
11049 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11050 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11051 maybe-all-stageautofeedback-gas:
11052 maybe-clean-stageautofeedback-gas:
11053 @if gas-bootstrap
11054 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11055 all-stageautofeedback: all-stageautofeedback-gas
11056 TARGET-stageautofeedback-gas = $(TARGET-gas)
11057 all-stageautofeedback-gas: configure-stageautofeedback-gas
11058 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11059 @r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11062 $(HOST_EXPORTS) \
11063 $(POSTSTAGE1_HOST_EXPORTS) \
11064 cd $(HOST_SUBDIR)/gas && \
11065 \
11066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11067 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11068 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11069 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11070 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11074 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11075 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11076 $(TARGET-stageautofeedback-gas)
11077
11078 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11079 clean-stageautofeedback: clean-stageautofeedback-gas
11080 clean-stageautofeedback-gas:
11081 @if [ $(current_stage) = stageautofeedback ]; then \
11082 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11083 else \
11084 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11085 $(MAKE) stageautofeedback-start; \
11086 fi; \
11087 cd $(HOST_SUBDIR)/gas && \
11088 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11089 @endif gas-bootstrap
11090
11091
11092
11093
11094
11095 .PHONY: check-gas maybe-check-gas
11096 maybe-check-gas:
11097 @if gas
11098 maybe-check-gas: check-gas
11099
11100 check-gas:
11101 @: $(MAKE); $(unstage)
11102 @r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11105 (cd $(HOST_SUBDIR)/gas && \
11106 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11107
11108 @endif gas
11109
11110 .PHONY: install-gas maybe-install-gas
11111 maybe-install-gas:
11112 @if gas
11113 maybe-install-gas: install-gas
11114
11115 install-gas: installdirs
11116 @: $(MAKE); $(unstage)
11117 @r=`${PWD_COMMAND}`; export r; \
11118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119 $(HOST_EXPORTS) \
11120 (cd $(HOST_SUBDIR)/gas && \
11121 $(MAKE) $(FLAGS_TO_PASS) install)
11122
11123 @endif gas
11124
11125 .PHONY: install-strip-gas maybe-install-strip-gas
11126 maybe-install-strip-gas:
11127 @if gas
11128 maybe-install-strip-gas: install-strip-gas
11129
11130 install-strip-gas: installdirs
11131 @: $(MAKE); $(unstage)
11132 @r=`${PWD_COMMAND}`; export r; \
11133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11134 $(HOST_EXPORTS) \
11135 (cd $(HOST_SUBDIR)/gas && \
11136 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11137
11138 @endif gas
11139
11140 # Other targets (info, dvi, pdf, etc.)
11141
11142 .PHONY: maybe-info-gas info-gas
11143 maybe-info-gas:
11144 @if gas
11145 maybe-info-gas: info-gas
11146
11147 info-gas: \
11148 configure-gas
11149 @[ -f ./gas/Makefile ] || exit 0; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 $(HOST_EXPORTS) \
11153 for flag in $(EXTRA_HOST_FLAGS) ; do \
11154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11155 done; \
11156 echo "Doing info in gas"; \
11157 (cd $(HOST_SUBDIR)/gas && \
11158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11160 "RANLIB=$${RANLIB}" \
11161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11162 info) \
11163 || exit 1
11164
11165 @endif gas
11166
11167 .PHONY: maybe-dvi-gas dvi-gas
11168 maybe-dvi-gas:
11169 @if gas
11170 maybe-dvi-gas: dvi-gas
11171
11172 dvi-gas: \
11173 configure-gas
11174 @[ -f ./gas/Makefile ] || exit 0; \
11175 r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(HOST_EXPORTS) \
11178 for flag in $(EXTRA_HOST_FLAGS) ; do \
11179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11180 done; \
11181 echo "Doing dvi in gas"; \
11182 (cd $(HOST_SUBDIR)/gas && \
11183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11185 "RANLIB=$${RANLIB}" \
11186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11187 dvi) \
11188 || exit 1
11189
11190 @endif gas
11191
11192 .PHONY: maybe-pdf-gas pdf-gas
11193 maybe-pdf-gas:
11194 @if gas
11195 maybe-pdf-gas: pdf-gas
11196
11197 pdf-gas: \
11198 configure-gas
11199 @[ -f ./gas/Makefile ] || exit 0; \
11200 r=`${PWD_COMMAND}`; export r; \
11201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11202 $(HOST_EXPORTS) \
11203 for flag in $(EXTRA_HOST_FLAGS) ; do \
11204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11205 done; \
11206 echo "Doing pdf in gas"; \
11207 (cd $(HOST_SUBDIR)/gas && \
11208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11210 "RANLIB=$${RANLIB}" \
11211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11212 pdf) \
11213 || exit 1
11214
11215 @endif gas
11216
11217 .PHONY: maybe-html-gas html-gas
11218 maybe-html-gas:
11219 @if gas
11220 maybe-html-gas: html-gas
11221
11222 html-gas: \
11223 configure-gas
11224 @[ -f ./gas/Makefile ] || exit 0; \
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227 $(HOST_EXPORTS) \
11228 for flag in $(EXTRA_HOST_FLAGS) ; do \
11229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11230 done; \
11231 echo "Doing html in gas"; \
11232 (cd $(HOST_SUBDIR)/gas && \
11233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235 "RANLIB=$${RANLIB}" \
11236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11237 html) \
11238 || exit 1
11239
11240 @endif gas
11241
11242 .PHONY: maybe-TAGS-gas TAGS-gas
11243 maybe-TAGS-gas:
11244 @if gas
11245 maybe-TAGS-gas: TAGS-gas
11246
11247 TAGS-gas: \
11248 configure-gas
11249 @[ -f ./gas/Makefile ] || exit 0; \
11250 r=`${PWD_COMMAND}`; export r; \
11251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11252 $(HOST_EXPORTS) \
11253 for flag in $(EXTRA_HOST_FLAGS) ; do \
11254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11255 done; \
11256 echo "Doing TAGS in gas"; \
11257 (cd $(HOST_SUBDIR)/gas && \
11258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11260 "RANLIB=$${RANLIB}" \
11261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11262 TAGS) \
11263 || exit 1
11264
11265 @endif gas
11266
11267 .PHONY: maybe-install-info-gas install-info-gas
11268 maybe-install-info-gas:
11269 @if gas
11270 maybe-install-info-gas: install-info-gas
11271
11272 install-info-gas: \
11273 configure-gas \
11274 info-gas
11275 @[ -f ./gas/Makefile ] || exit 0; \
11276 r=`${PWD_COMMAND}`; export r; \
11277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11278 $(HOST_EXPORTS) \
11279 for flag in $(EXTRA_HOST_FLAGS) ; do \
11280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11281 done; \
11282 echo "Doing install-info in gas"; \
11283 (cd $(HOST_SUBDIR)/gas && \
11284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11286 "RANLIB=$${RANLIB}" \
11287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11288 install-info) \
11289 || exit 1
11290
11291 @endif gas
11292
11293 .PHONY: maybe-install-pdf-gas install-pdf-gas
11294 maybe-install-pdf-gas:
11295 @if gas
11296 maybe-install-pdf-gas: install-pdf-gas
11297
11298 install-pdf-gas: \
11299 configure-gas \
11300 pdf-gas
11301 @[ -f ./gas/Makefile ] || exit 0; \
11302 r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 $(HOST_EXPORTS) \
11305 for flag in $(EXTRA_HOST_FLAGS) ; do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing install-pdf in gas"; \
11309 (cd $(HOST_SUBDIR)/gas && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11314 install-pdf) \
11315 || exit 1
11316
11317 @endif gas
11318
11319 .PHONY: maybe-install-html-gas install-html-gas
11320 maybe-install-html-gas:
11321 @if gas
11322 maybe-install-html-gas: install-html-gas
11323
11324 install-html-gas: \
11325 configure-gas \
11326 html-gas
11327 @[ -f ./gas/Makefile ] || exit 0; \
11328 r=`${PWD_COMMAND}`; export r; \
11329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 $(HOST_EXPORTS) \
11331 for flag in $(EXTRA_HOST_FLAGS) ; do \
11332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11333 done; \
11334 echo "Doing install-html in gas"; \
11335 (cd $(HOST_SUBDIR)/gas && \
11336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11338 "RANLIB=$${RANLIB}" \
11339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11340 install-html) \
11341 || exit 1
11342
11343 @endif gas
11344
11345 .PHONY: maybe-installcheck-gas installcheck-gas
11346 maybe-installcheck-gas:
11347 @if gas
11348 maybe-installcheck-gas: installcheck-gas
11349
11350 installcheck-gas: \
11351 configure-gas
11352 @[ -f ./gas/Makefile ] || exit 0; \
11353 r=`${PWD_COMMAND}`; export r; \
11354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 $(HOST_EXPORTS) \
11356 for flag in $(EXTRA_HOST_FLAGS) ; do \
11357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 done; \
11359 echo "Doing installcheck in gas"; \
11360 (cd $(HOST_SUBDIR)/gas && \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11363 "RANLIB=$${RANLIB}" \
11364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11365 installcheck) \
11366 || exit 1
11367
11368 @endif gas
11369
11370 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11371 maybe-mostlyclean-gas:
11372 @if gas
11373 maybe-mostlyclean-gas: mostlyclean-gas
11374
11375 mostlyclean-gas:
11376 @[ -f ./gas/Makefile ] || exit 0; \
11377 r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11379 $(HOST_EXPORTS) \
11380 for flag in $(EXTRA_HOST_FLAGS) ; do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11382 done; \
11383 echo "Doing mostlyclean in gas"; \
11384 (cd $(HOST_SUBDIR)/gas && \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11389 mostlyclean) \
11390 || exit 1
11391
11392 @endif gas
11393
11394 .PHONY: maybe-clean-gas clean-gas
11395 maybe-clean-gas:
11396 @if gas
11397 maybe-clean-gas: clean-gas
11398
11399 clean-gas:
11400 @[ -f ./gas/Makefile ] || exit 0; \
11401 r=`${PWD_COMMAND}`; export r; \
11402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11403 $(HOST_EXPORTS) \
11404 for flag in $(EXTRA_HOST_FLAGS) ; do \
11405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11406 done; \
11407 echo "Doing clean in gas"; \
11408 (cd $(HOST_SUBDIR)/gas && \
11409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11411 "RANLIB=$${RANLIB}" \
11412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11413 clean) \
11414 || exit 1
11415
11416 @endif gas
11417
11418 .PHONY: maybe-distclean-gas distclean-gas
11419 maybe-distclean-gas:
11420 @if gas
11421 maybe-distclean-gas: distclean-gas
11422
11423 distclean-gas:
11424 @[ -f ./gas/Makefile ] || exit 0; \
11425 r=`${PWD_COMMAND}`; export r; \
11426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11427 $(HOST_EXPORTS) \
11428 for flag in $(EXTRA_HOST_FLAGS) ; do \
11429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11430 done; \
11431 echo "Doing distclean in gas"; \
11432 (cd $(HOST_SUBDIR)/gas && \
11433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11435 "RANLIB=$${RANLIB}" \
11436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11437 distclean) \
11438 || exit 1
11439
11440 @endif gas
11441
11442 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11443 maybe-maintainer-clean-gas:
11444 @if gas
11445 maybe-maintainer-clean-gas: maintainer-clean-gas
11446
11447 maintainer-clean-gas:
11448 @[ -f ./gas/Makefile ] || exit 0; \
11449 r=`${PWD_COMMAND}`; export r; \
11450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451 $(HOST_EXPORTS) \
11452 for flag in $(EXTRA_HOST_FLAGS) ; do \
11453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11454 done; \
11455 echo "Doing maintainer-clean in gas"; \
11456 (cd $(HOST_SUBDIR)/gas && \
11457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11459 "RANLIB=$${RANLIB}" \
11460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11461 maintainer-clean) \
11462 || exit 1
11463
11464 @endif gas
11465
11466
11467
11468 .PHONY: configure-gcc maybe-configure-gcc
11469 maybe-configure-gcc:
11470 @if gcc-bootstrap
11471 configure-gcc: stage_current
11472 @endif gcc-bootstrap
11473 @if gcc
11474 maybe-configure-gcc: configure-gcc
11475 configure-gcc:
11476 @r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11478 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11480 $(HOST_EXPORTS) \
11481 echo Configuring in $(HOST_SUBDIR)/gcc; \
11482 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11483 case $(srcdir) in \
11484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11485 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11487 esac; \
11488 module_srcdir=gcc; \
11489 $(SHELL) \
11490 $$s/$$module_srcdir/configure \
11491 --srcdir=$${topdir}/$$module_srcdir \
11492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11493 --target=${target_alias} \
11494 || exit 1
11495 @endif gcc
11496
11497
11498
11499 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11500 maybe-configure-stage1-gcc:
11501 @if gcc-bootstrap
11502 maybe-configure-stage1-gcc: configure-stage1-gcc
11503 configure-stage1-gcc:
11504 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11506 @r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508 TFLAGS="$(STAGE1_TFLAGS)"; \
11509 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11510 $(HOST_EXPORTS) \
11511 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11512 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11513 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11514 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11516 cd $(HOST_SUBDIR)/gcc || exit 1; \
11517 case $(srcdir) in \
11518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11519 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11521 esac; \
11522 module_srcdir=gcc; \
11523 $(SHELL) $$s/$$module_srcdir/configure \
11524 --srcdir=$${topdir}/$$module_srcdir \
11525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11526 --target=${target_alias} \
11527 \
11528 $(STAGE1_CONFIGURE_FLAGS)
11529 @endif gcc-bootstrap
11530
11531 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11532 maybe-configure-stage2-gcc:
11533 @if gcc-bootstrap
11534 maybe-configure-stage2-gcc: configure-stage2-gcc
11535 configure-stage2-gcc:
11536 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11537 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11538 @r=`${PWD_COMMAND}`; export r; \
11539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11540 TFLAGS="$(STAGE2_TFLAGS)"; \
11541 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11542 $(HOST_EXPORTS) \
11543 $(POSTSTAGE1_HOST_EXPORTS) \
11544 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11545 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11546 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11547 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11549 cd $(HOST_SUBDIR)/gcc || exit 1; \
11550 case $(srcdir) in \
11551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11552 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11554 esac; \
11555 module_srcdir=gcc; \
11556 $(SHELL) $$s/$$module_srcdir/configure \
11557 --srcdir=$${topdir}/$$module_srcdir \
11558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11559 --target=${target_alias} \
11560 --with-build-libsubdir=$(HOST_SUBDIR) \
11561 $(STAGE2_CONFIGURE_FLAGS)
11562 @endif gcc-bootstrap
11563
11564 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11565 maybe-configure-stage3-gcc:
11566 @if gcc-bootstrap
11567 maybe-configure-stage3-gcc: configure-stage3-gcc
11568 configure-stage3-gcc:
11569 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11570 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11571 @r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 TFLAGS="$(STAGE3_TFLAGS)"; \
11574 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11575 $(HOST_EXPORTS) \
11576 $(POSTSTAGE1_HOST_EXPORTS) \
11577 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11578 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11579 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11580 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11582 cd $(HOST_SUBDIR)/gcc || exit 1; \
11583 case $(srcdir) in \
11584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11585 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11587 esac; \
11588 module_srcdir=gcc; \
11589 $(SHELL) $$s/$$module_srcdir/configure \
11590 --srcdir=$${topdir}/$$module_srcdir \
11591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11592 --target=${target_alias} \
11593 --with-build-libsubdir=$(HOST_SUBDIR) \
11594 $(STAGE3_CONFIGURE_FLAGS)
11595 @endif gcc-bootstrap
11596
11597 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11598 maybe-configure-stage4-gcc:
11599 @if gcc-bootstrap
11600 maybe-configure-stage4-gcc: configure-stage4-gcc
11601 configure-stage4-gcc:
11602 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11604 @r=`${PWD_COMMAND}`; export r; \
11605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 TFLAGS="$(STAGE4_TFLAGS)"; \
11607 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11608 $(HOST_EXPORTS) \
11609 $(POSTSTAGE1_HOST_EXPORTS) \
11610 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11611 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11612 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11613 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11615 cd $(HOST_SUBDIR)/gcc || exit 1; \
11616 case $(srcdir) in \
11617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11618 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11620 esac; \
11621 module_srcdir=gcc; \
11622 $(SHELL) $$s/$$module_srcdir/configure \
11623 --srcdir=$${topdir}/$$module_srcdir \
11624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11625 --target=${target_alias} \
11626 --with-build-libsubdir=$(HOST_SUBDIR) \
11627 $(STAGE4_CONFIGURE_FLAGS)
11628 @endif gcc-bootstrap
11629
11630 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11631 maybe-configure-stageprofile-gcc:
11632 @if gcc-bootstrap
11633 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11634 configure-stageprofile-gcc:
11635 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11637 @r=`${PWD_COMMAND}`; export r; \
11638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11639 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11640 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11641 $(HOST_EXPORTS) \
11642 $(POSTSTAGE1_HOST_EXPORTS) \
11643 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11644 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11645 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11646 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11648 cd $(HOST_SUBDIR)/gcc || exit 1; \
11649 case $(srcdir) in \
11650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11651 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11653 esac; \
11654 module_srcdir=gcc; \
11655 $(SHELL) $$s/$$module_srcdir/configure \
11656 --srcdir=$${topdir}/$$module_srcdir \
11657 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11658 --target=${target_alias} \
11659 --with-build-libsubdir=$(HOST_SUBDIR) \
11660 $(STAGEprofile_CONFIGURE_FLAGS)
11661 @endif gcc-bootstrap
11662
11663 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11664 maybe-configure-stagetrain-gcc:
11665 @if gcc-bootstrap
11666 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11667 configure-stagetrain-gcc:
11668 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11670 @r=`${PWD_COMMAND}`; export r; \
11671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11672 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11673 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11674 $(HOST_EXPORTS) \
11675 $(POSTSTAGE1_HOST_EXPORTS) \
11676 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11677 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11678 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11679 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11681 cd $(HOST_SUBDIR)/gcc || exit 1; \
11682 case $(srcdir) in \
11683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11684 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11686 esac; \
11687 module_srcdir=gcc; \
11688 $(SHELL) $$s/$$module_srcdir/configure \
11689 --srcdir=$${topdir}/$$module_srcdir \
11690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11691 --target=${target_alias} \
11692 --with-build-libsubdir=$(HOST_SUBDIR) \
11693 $(STAGEtrain_CONFIGURE_FLAGS)
11694 @endif gcc-bootstrap
11695
11696 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11697 maybe-configure-stagefeedback-gcc:
11698 @if gcc-bootstrap
11699 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11700 configure-stagefeedback-gcc:
11701 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11703 @r=`${PWD_COMMAND}`; export r; \
11704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11705 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11706 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11707 $(HOST_EXPORTS) \
11708 $(POSTSTAGE1_HOST_EXPORTS) \
11709 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11710 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11711 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11712 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11714 cd $(HOST_SUBDIR)/gcc || exit 1; \
11715 case $(srcdir) in \
11716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11717 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11719 esac; \
11720 module_srcdir=gcc; \
11721 $(SHELL) $$s/$$module_srcdir/configure \
11722 --srcdir=$${topdir}/$$module_srcdir \
11723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11724 --target=${target_alias} \
11725 --with-build-libsubdir=$(HOST_SUBDIR) \
11726 $(STAGEfeedback_CONFIGURE_FLAGS)
11727 @endif gcc-bootstrap
11728
11729 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11730 maybe-configure-stageautoprofile-gcc:
11731 @if gcc-bootstrap
11732 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11733 configure-stageautoprofile-gcc:
11734 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11735 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11736 @r=`${PWD_COMMAND}`; export r; \
11737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11738 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11739 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11740 $(HOST_EXPORTS) \
11741 $(POSTSTAGE1_HOST_EXPORTS) \
11742 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11743 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11744 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11745 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11747 cd $(HOST_SUBDIR)/gcc || exit 1; \
11748 case $(srcdir) in \
11749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11750 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11752 esac; \
11753 module_srcdir=gcc; \
11754 $(SHELL) $$s/$$module_srcdir/configure \
11755 --srcdir=$${topdir}/$$module_srcdir \
11756 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11757 --target=${target_alias} \
11758 --with-build-libsubdir=$(HOST_SUBDIR) \
11759 $(STAGEautoprofile_CONFIGURE_FLAGS)
11760 @endif gcc-bootstrap
11761
11762 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11763 maybe-configure-stageautofeedback-gcc:
11764 @if gcc-bootstrap
11765 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11766 configure-stageautofeedback-gcc:
11767 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11768 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11769 @r=`${PWD_COMMAND}`; export r; \
11770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11771 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11772 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11773 $(HOST_EXPORTS) \
11774 $(POSTSTAGE1_HOST_EXPORTS) \
11775 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11776 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11777 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11778 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11780 cd $(HOST_SUBDIR)/gcc || exit 1; \
11781 case $(srcdir) in \
11782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11783 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11785 esac; \
11786 module_srcdir=gcc; \
11787 $(SHELL) $$s/$$module_srcdir/configure \
11788 --srcdir=$${topdir}/$$module_srcdir \
11789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11790 --target=${target_alias} \
11791 --with-build-libsubdir=$(HOST_SUBDIR) \
11792 $(STAGEautofeedback_CONFIGURE_FLAGS)
11793 @endif gcc-bootstrap
11794
11795
11796
11797
11798
11799 .PHONY: all-gcc maybe-all-gcc
11800 maybe-all-gcc:
11801 @if gcc-bootstrap
11802 all-gcc: stage_current
11803 @endif gcc-bootstrap
11804 @if gcc
11805 TARGET-gcc=all
11806 maybe-all-gcc: all-gcc
11807 all-gcc: configure-gcc
11808 @r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 $(HOST_EXPORTS) \
11811 (cd $(HOST_SUBDIR)/gcc && \
11812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11813 $(TARGET-gcc))
11814 @endif gcc
11815
11816
11817
11818 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11819 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11820 maybe-all-stage1-gcc:
11821 maybe-clean-stage1-gcc:
11822 @if gcc-bootstrap
11823 maybe-all-stage1-gcc: all-stage1-gcc
11824 all-stage1: all-stage1-gcc
11825 TARGET-stage1-gcc = $(TARGET-gcc)
11826 all-stage1-gcc: configure-stage1-gcc
11827 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11828 @r=`${PWD_COMMAND}`; export r; \
11829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11830 TFLAGS="$(STAGE1_TFLAGS)"; \
11831 $(HOST_EXPORTS) \
11832 cd $(HOST_SUBDIR)/gcc && \
11833 \
11834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11835 CFLAGS="$(STAGE1_CFLAGS)" \
11836 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11837 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11838 LIBCFLAGS="$(LIBCFLAGS)" \
11839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11842 $(EXTRA_HOST_FLAGS) \
11843 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11844 TFLAGS="$(STAGE1_TFLAGS)" \
11845 $(TARGET-stage1-gcc)
11846
11847 maybe-clean-stage1-gcc: clean-stage1-gcc
11848 clean-stage1: clean-stage1-gcc
11849 clean-stage1-gcc:
11850 @if [ $(current_stage) = stage1 ]; then \
11851 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11852 else \
11853 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11854 $(MAKE) stage1-start; \
11855 fi; \
11856 cd $(HOST_SUBDIR)/gcc && \
11857 $(MAKE) $(EXTRA_HOST_FLAGS) \
11858 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11859 @endif gcc-bootstrap
11860
11861
11862 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11863 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11864 maybe-all-stage2-gcc:
11865 maybe-clean-stage2-gcc:
11866 @if gcc-bootstrap
11867 maybe-all-stage2-gcc: all-stage2-gcc
11868 all-stage2: all-stage2-gcc
11869 TARGET-stage2-gcc = $(TARGET-gcc)
11870 all-stage2-gcc: configure-stage2-gcc
11871 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11872 @r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11874 TFLAGS="$(STAGE2_TFLAGS)"; \
11875 $(HOST_EXPORTS) \
11876 $(POSTSTAGE1_HOST_EXPORTS) \
11877 cd $(HOST_SUBDIR)/gcc && \
11878 \
11879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11880 CFLAGS="$(STAGE2_CFLAGS)" \
11881 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11882 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11883 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11888 TFLAGS="$(STAGE2_TFLAGS)" \
11889 $(TARGET-stage2-gcc)
11890
11891 maybe-clean-stage2-gcc: clean-stage2-gcc
11892 clean-stage2: clean-stage2-gcc
11893 clean-stage2-gcc:
11894 @if [ $(current_stage) = stage2 ]; then \
11895 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11896 else \
11897 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11898 $(MAKE) stage2-start; \
11899 fi; \
11900 cd $(HOST_SUBDIR)/gcc && \
11901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11902 @endif gcc-bootstrap
11903
11904
11905 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11906 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11907 maybe-all-stage3-gcc:
11908 maybe-clean-stage3-gcc:
11909 @if gcc-bootstrap
11910 maybe-all-stage3-gcc: all-stage3-gcc
11911 all-stage3: all-stage3-gcc
11912 TARGET-stage3-gcc = $(TARGET-gcc)
11913 all-stage3-gcc: configure-stage3-gcc
11914 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11915 @r=`${PWD_COMMAND}`; export r; \
11916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 TFLAGS="$(STAGE3_TFLAGS)"; \
11918 $(HOST_EXPORTS) \
11919 $(POSTSTAGE1_HOST_EXPORTS) \
11920 cd $(HOST_SUBDIR)/gcc && \
11921 \
11922 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11923 CFLAGS="$(STAGE3_CFLAGS)" \
11924 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11925 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11926 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11931 TFLAGS="$(STAGE3_TFLAGS)" \
11932 $(TARGET-stage3-gcc)
11933
11934 maybe-clean-stage3-gcc: clean-stage3-gcc
11935 clean-stage3: clean-stage3-gcc
11936 clean-stage3-gcc:
11937 @if [ $(current_stage) = stage3 ]; then \
11938 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11939 else \
11940 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11941 $(MAKE) stage3-start; \
11942 fi; \
11943 cd $(HOST_SUBDIR)/gcc && \
11944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11945 @endif gcc-bootstrap
11946
11947
11948 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11949 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11950 maybe-all-stage4-gcc:
11951 maybe-clean-stage4-gcc:
11952 @if gcc-bootstrap
11953 maybe-all-stage4-gcc: all-stage4-gcc
11954 all-stage4: all-stage4-gcc
11955 TARGET-stage4-gcc = $(TARGET-gcc)
11956 all-stage4-gcc: configure-stage4-gcc
11957 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11958 @r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 TFLAGS="$(STAGE4_TFLAGS)"; \
11961 $(HOST_EXPORTS) \
11962 $(POSTSTAGE1_HOST_EXPORTS) \
11963 cd $(HOST_SUBDIR)/gcc && \
11964 \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11966 CFLAGS="$(STAGE4_CFLAGS)" \
11967 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11968 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11969 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11973 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11974 TFLAGS="$(STAGE4_TFLAGS)" \
11975 $(TARGET-stage4-gcc)
11976
11977 maybe-clean-stage4-gcc: clean-stage4-gcc
11978 clean-stage4: clean-stage4-gcc
11979 clean-stage4-gcc:
11980 @if [ $(current_stage) = stage4 ]; then \
11981 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11982 else \
11983 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11984 $(MAKE) stage4-start; \
11985 fi; \
11986 cd $(HOST_SUBDIR)/gcc && \
11987 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11988 @endif gcc-bootstrap
11989
11990
11991 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11992 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11993 maybe-all-stageprofile-gcc:
11994 maybe-clean-stageprofile-gcc:
11995 @if gcc-bootstrap
11996 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11997 all-stageprofile: all-stageprofile-gcc
11998 TARGET-stageprofile-gcc = $(TARGET-gcc)
11999 all-stageprofile-gcc: configure-stageprofile-gcc
12000 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12001 @r=`${PWD_COMMAND}`; export r; \
12002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12003 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12004 $(HOST_EXPORTS) \
12005 $(POSTSTAGE1_HOST_EXPORTS) \
12006 cd $(HOST_SUBDIR)/gcc && \
12007 \
12008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12009 CFLAGS="$(STAGEprofile_CFLAGS)" \
12010 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12011 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12012 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12017 TFLAGS="$(STAGEprofile_TFLAGS)" \
12018 $(TARGET-stageprofile-gcc)
12019
12020 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12021 clean-stageprofile: clean-stageprofile-gcc
12022 clean-stageprofile-gcc:
12023 @if [ $(current_stage) = stageprofile ]; then \
12024 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12025 else \
12026 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12027 $(MAKE) stageprofile-start; \
12028 fi; \
12029 cd $(HOST_SUBDIR)/gcc && \
12030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12031 @endif gcc-bootstrap
12032
12033
12034 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12035 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12036 maybe-all-stagetrain-gcc:
12037 maybe-clean-stagetrain-gcc:
12038 @if gcc-bootstrap
12039 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12040 all-stagetrain: all-stagetrain-gcc
12041 TARGET-stagetrain-gcc = $(TARGET-gcc)
12042 all-stagetrain-gcc: configure-stagetrain-gcc
12043 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12044 @r=`${PWD_COMMAND}`; export r; \
12045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12046 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12047 $(HOST_EXPORTS) \
12048 $(POSTSTAGE1_HOST_EXPORTS) \
12049 cd $(HOST_SUBDIR)/gcc && \
12050 \
12051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12052 CFLAGS="$(STAGEtrain_CFLAGS)" \
12053 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12054 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12055 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12060 TFLAGS="$(STAGEtrain_TFLAGS)" \
12061 $(TARGET-stagetrain-gcc)
12062
12063 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12064 clean-stagetrain: clean-stagetrain-gcc
12065 clean-stagetrain-gcc:
12066 @if [ $(current_stage) = stagetrain ]; then \
12067 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12068 else \
12069 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12070 $(MAKE) stagetrain-start; \
12071 fi; \
12072 cd $(HOST_SUBDIR)/gcc && \
12073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12074 @endif gcc-bootstrap
12075
12076
12077 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12078 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12079 maybe-all-stagefeedback-gcc:
12080 maybe-clean-stagefeedback-gcc:
12081 @if gcc-bootstrap
12082 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12083 all-stagefeedback: all-stagefeedback-gcc
12084 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12085 all-stagefeedback-gcc: configure-stagefeedback-gcc
12086 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12087 @r=`${PWD_COMMAND}`; export r; \
12088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12089 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12090 $(HOST_EXPORTS) \
12091 $(POSTSTAGE1_HOST_EXPORTS) \
12092 cd $(HOST_SUBDIR)/gcc && \
12093 \
12094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12095 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12096 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12097 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12098 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12103 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12104 $(TARGET-stagefeedback-gcc)
12105
12106 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12107 clean-stagefeedback: clean-stagefeedback-gcc
12108 clean-stagefeedback-gcc:
12109 @if [ $(current_stage) = stagefeedback ]; then \
12110 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12111 else \
12112 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12113 $(MAKE) stagefeedback-start; \
12114 fi; \
12115 cd $(HOST_SUBDIR)/gcc && \
12116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12117 @endif gcc-bootstrap
12118
12119
12120 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12121 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12122 maybe-all-stageautoprofile-gcc:
12123 maybe-clean-stageautoprofile-gcc:
12124 @if gcc-bootstrap
12125 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12126 all-stageautoprofile: all-stageautoprofile-gcc
12127 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12128 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12129 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12130 @r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12133 $(HOST_EXPORTS) \
12134 $(POSTSTAGE1_HOST_EXPORTS) \
12135 cd $(HOST_SUBDIR)/gcc && \
12136 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12138 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12139 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12140 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12141 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12146 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12147 $(TARGET-stageautoprofile-gcc)
12148
12149 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12150 clean-stageautoprofile: clean-stageautoprofile-gcc
12151 clean-stageautoprofile-gcc:
12152 @if [ $(current_stage) = stageautoprofile ]; then \
12153 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12154 else \
12155 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12156 $(MAKE) stageautoprofile-start; \
12157 fi; \
12158 cd $(HOST_SUBDIR)/gcc && \
12159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12160 @endif gcc-bootstrap
12161
12162
12163 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12164 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12165 maybe-all-stageautofeedback-gcc:
12166 maybe-clean-stageautofeedback-gcc:
12167 @if gcc-bootstrap
12168 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12169 all-stageautofeedback: all-stageautofeedback-gcc
12170 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12171 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12172 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12173 @r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12175 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12176 $(HOST_EXPORTS) \
12177 $(POSTSTAGE1_HOST_EXPORTS) \
12178 cd $(HOST_SUBDIR)/gcc && \
12179 \
12180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12181 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12182 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12183 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12184 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12189 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12190 $(TARGET-stageautofeedback-gcc)
12191
12192 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12193 clean-stageautofeedback: clean-stageautofeedback-gcc
12194 clean-stageautofeedback-gcc:
12195 @if [ $(current_stage) = stageautofeedback ]; then \
12196 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12197 else \
12198 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12199 $(MAKE) stageautofeedback-start; \
12200 fi; \
12201 cd $(HOST_SUBDIR)/gcc && \
12202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12203 @endif gcc-bootstrap
12204
12205
12206
12207
12208
12209 .PHONY: check-gcc maybe-check-gcc
12210 maybe-check-gcc:
12211 @if gcc
12212 maybe-check-gcc: check-gcc
12213
12214 check-gcc:
12215 @: $(MAKE); $(unstage)
12216 @r=`${PWD_COMMAND}`; export r; \
12217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12219 (cd $(HOST_SUBDIR)/gcc && \
12220 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12221
12222 @endif gcc
12223
12224 .PHONY: install-gcc maybe-install-gcc
12225 maybe-install-gcc:
12226 @if gcc
12227 maybe-install-gcc: install-gcc
12228
12229 install-gcc: installdirs
12230 @: $(MAKE); $(unstage)
12231 @r=`${PWD_COMMAND}`; export r; \
12232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12233 $(HOST_EXPORTS) \
12234 (cd $(HOST_SUBDIR)/gcc && \
12235 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12236
12237 @endif gcc
12238
12239 .PHONY: install-strip-gcc maybe-install-strip-gcc
12240 maybe-install-strip-gcc:
12241 @if gcc
12242 maybe-install-strip-gcc: install-strip-gcc
12243
12244 install-strip-gcc: installdirs
12245 @: $(MAKE); $(unstage)
12246 @r=`${PWD_COMMAND}`; export r; \
12247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12248 $(HOST_EXPORTS) \
12249 (cd $(HOST_SUBDIR)/gcc && \
12250 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12251
12252 @endif gcc
12253
12254 # Other targets (info, dvi, pdf, etc.)
12255
12256 .PHONY: maybe-info-gcc info-gcc
12257 maybe-info-gcc:
12258 @if gcc
12259 maybe-info-gcc: info-gcc
12260
12261 info-gcc: \
12262 configure-gcc
12263 @[ -f ./gcc/Makefile ] || exit 0; \
12264 r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266 $(HOST_EXPORTS) \
12267 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12269 done; \
12270 echo "Doing info in gcc"; \
12271 (cd $(HOST_SUBDIR)/gcc && \
12272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274 "RANLIB=$${RANLIB}" \
12275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12276 info) \
12277 || exit 1
12278
12279 @endif gcc
12280
12281 .PHONY: maybe-dvi-gcc dvi-gcc
12282 maybe-dvi-gcc:
12283 @if gcc
12284 maybe-dvi-gcc: dvi-gcc
12285
12286 dvi-gcc: \
12287 configure-gcc
12288 @[ -f ./gcc/Makefile ] || exit 0; \
12289 r=`${PWD_COMMAND}`; export r; \
12290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12291 $(HOST_EXPORTS) \
12292 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12294 done; \
12295 echo "Doing dvi in gcc"; \
12296 (cd $(HOST_SUBDIR)/gcc && \
12297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12299 "RANLIB=$${RANLIB}" \
12300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12301 dvi) \
12302 || exit 1
12303
12304 @endif gcc
12305
12306 .PHONY: maybe-pdf-gcc pdf-gcc
12307 maybe-pdf-gcc:
12308 @if gcc
12309 maybe-pdf-gcc: pdf-gcc
12310
12311 pdf-gcc: \
12312 configure-gcc
12313 @[ -f ./gcc/Makefile ] || exit 0; \
12314 r=`${PWD_COMMAND}`; export r; \
12315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12316 $(HOST_EXPORTS) \
12317 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12319 done; \
12320 echo "Doing pdf in gcc"; \
12321 (cd $(HOST_SUBDIR)/gcc && \
12322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12324 "RANLIB=$${RANLIB}" \
12325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12326 pdf) \
12327 || exit 1
12328
12329 @endif gcc
12330
12331 .PHONY: maybe-html-gcc html-gcc
12332 maybe-html-gcc:
12333 @if gcc
12334 maybe-html-gcc: html-gcc
12335
12336 html-gcc: \
12337 configure-gcc
12338 @[ -f ./gcc/Makefile ] || exit 0; \
12339 r=`${PWD_COMMAND}`; export r; \
12340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12341 $(HOST_EXPORTS) \
12342 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12344 done; \
12345 echo "Doing html in gcc"; \
12346 (cd $(HOST_SUBDIR)/gcc && \
12347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12349 "RANLIB=$${RANLIB}" \
12350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12351 html) \
12352 || exit 1
12353
12354 @endif gcc
12355
12356 .PHONY: maybe-TAGS-gcc TAGS-gcc
12357 maybe-TAGS-gcc:
12358 @if gcc
12359 maybe-TAGS-gcc: TAGS-gcc
12360
12361 TAGS-gcc: \
12362 configure-gcc
12363 @[ -f ./gcc/Makefile ] || exit 0; \
12364 r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12366 $(HOST_EXPORTS) \
12367 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12369 done; \
12370 echo "Doing TAGS in gcc"; \
12371 (cd $(HOST_SUBDIR)/gcc && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12376 TAGS) \
12377 || exit 1
12378
12379 @endif gcc
12380
12381 .PHONY: maybe-install-info-gcc install-info-gcc
12382 maybe-install-info-gcc:
12383 @if gcc
12384 maybe-install-info-gcc: install-info-gcc
12385
12386 install-info-gcc: \
12387 configure-gcc \
12388 info-gcc
12389 @[ -f ./gcc/Makefile ] || exit 0; \
12390 r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 $(HOST_EXPORTS) \
12393 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12395 done; \
12396 echo "Doing install-info in gcc"; \
12397 (cd $(HOST_SUBDIR)/gcc && \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12402 install-info) \
12403 || exit 1
12404
12405 @endif gcc
12406
12407 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12408 maybe-install-pdf-gcc:
12409 @if gcc
12410 maybe-install-pdf-gcc: install-pdf-gcc
12411
12412 install-pdf-gcc: \
12413 configure-gcc \
12414 pdf-gcc
12415 @[ -f ./gcc/Makefile ] || exit 0; \
12416 r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418 $(HOST_EXPORTS) \
12419 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12421 done; \
12422 echo "Doing install-pdf in gcc"; \
12423 (cd $(HOST_SUBDIR)/gcc && \
12424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12426 "RANLIB=$${RANLIB}" \
12427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12428 install-pdf) \
12429 || exit 1
12430
12431 @endif gcc
12432
12433 .PHONY: maybe-install-html-gcc install-html-gcc
12434 maybe-install-html-gcc:
12435 @if gcc
12436 maybe-install-html-gcc: install-html-gcc
12437
12438 install-html-gcc: \
12439 configure-gcc \
12440 html-gcc
12441 @[ -f ./gcc/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(HOST_EXPORTS) \
12445 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12447 done; \
12448 echo "Doing install-html in gcc"; \
12449 (cd $(HOST_SUBDIR)/gcc && \
12450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452 "RANLIB=$${RANLIB}" \
12453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12454 install-html) \
12455 || exit 1
12456
12457 @endif gcc
12458
12459 .PHONY: maybe-installcheck-gcc installcheck-gcc
12460 maybe-installcheck-gcc:
12461 @if gcc
12462 maybe-installcheck-gcc: installcheck-gcc
12463
12464 installcheck-gcc: \
12465 configure-gcc
12466 @[ -f ./gcc/Makefile ] || exit 0; \
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 $(HOST_EXPORTS) \
12470 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472 done; \
12473 echo "Doing installcheck in gcc"; \
12474 (cd $(HOST_SUBDIR)/gcc && \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12479 installcheck) \
12480 || exit 1
12481
12482 @endif gcc
12483
12484 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12485 maybe-mostlyclean-gcc:
12486 @if gcc
12487 maybe-mostlyclean-gcc: mostlyclean-gcc
12488
12489 mostlyclean-gcc:
12490 @[ -f ./gcc/Makefile ] || exit 0; \
12491 r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 $(HOST_EXPORTS) \
12494 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 done; \
12497 echo "Doing mostlyclean in gcc"; \
12498 (cd $(HOST_SUBDIR)/gcc && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12501 "RANLIB=$${RANLIB}" \
12502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12503 mostlyclean) \
12504 || exit 1
12505
12506 @endif gcc
12507
12508 .PHONY: maybe-clean-gcc clean-gcc
12509 maybe-clean-gcc:
12510 @if gcc
12511 maybe-clean-gcc: clean-gcc
12512
12513 clean-gcc:
12514 @[ -f ./gcc/Makefile ] || exit 0; \
12515 r=`${PWD_COMMAND}`; export r; \
12516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12517 $(HOST_EXPORTS) \
12518 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12520 done; \
12521 echo "Doing clean in gcc"; \
12522 (cd $(HOST_SUBDIR)/gcc && \
12523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12525 "RANLIB=$${RANLIB}" \
12526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12527 clean) \
12528 || exit 1
12529
12530 @endif gcc
12531
12532 .PHONY: maybe-distclean-gcc distclean-gcc
12533 maybe-distclean-gcc:
12534 @if gcc
12535 maybe-distclean-gcc: distclean-gcc
12536
12537 distclean-gcc:
12538 @[ -f ./gcc/Makefile ] || exit 0; \
12539 r=`${PWD_COMMAND}`; export r; \
12540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12541 $(HOST_EXPORTS) \
12542 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12544 done; \
12545 echo "Doing distclean in gcc"; \
12546 (cd $(HOST_SUBDIR)/gcc && \
12547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12549 "RANLIB=$${RANLIB}" \
12550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12551 distclean) \
12552 || exit 1
12553
12554 @endif gcc
12555
12556 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12557 maybe-maintainer-clean-gcc:
12558 @if gcc
12559 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12560
12561 maintainer-clean-gcc:
12562 @[ -f ./gcc/Makefile ] || exit 0; \
12563 r=`${PWD_COMMAND}`; export r; \
12564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12565 $(HOST_EXPORTS) \
12566 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12568 done; \
12569 echo "Doing maintainer-clean in gcc"; \
12570 (cd $(HOST_SUBDIR)/gcc && \
12571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12573 "RANLIB=$${RANLIB}" \
12574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12575 maintainer-clean) \
12576 || exit 1
12577
12578 @endif gcc
12579
12580
12581
12582 .PHONY: configure-gmp maybe-configure-gmp
12583 maybe-configure-gmp:
12584 @if gcc-bootstrap
12585 configure-gmp: stage_current
12586 @endif gcc-bootstrap
12587 @if gmp
12588 maybe-configure-gmp: configure-gmp
12589 configure-gmp:
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12594 $(HOST_EXPORTS) \
12595 echo Configuring in $(HOST_SUBDIR)/gmp; \
12596 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12597 case $(srcdir) in \
12598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12599 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12601 esac; \
12602 module_srcdir=gmp; \
12603 $(SHELL) \
12604 $$s/$$module_srcdir/configure \
12605 --srcdir=$${topdir}/$$module_srcdir \
12606 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12607 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12608 || exit 1
12609 @endif gmp
12610
12611
12612
12613 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12614 maybe-configure-stage1-gmp:
12615 @if gmp-bootstrap
12616 maybe-configure-stage1-gmp: configure-stage1-gmp
12617 configure-stage1-gmp:
12618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12620 @r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 TFLAGS="$(STAGE1_TFLAGS)"; \
12623 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12624 $(HOST_EXPORTS) \
12625 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12626 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12627 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12628 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12630 cd $(HOST_SUBDIR)/gmp || exit 1; \
12631 case $(srcdir) in \
12632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12633 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12635 esac; \
12636 module_srcdir=gmp; \
12637 $(SHELL) $$s/$$module_srcdir/configure \
12638 --srcdir=$${topdir}/$$module_srcdir \
12639 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12640 --target=none-${host_vendor}-${host_os} \
12641 \
12642 $(STAGE1_CONFIGURE_FLAGS) \
12643 --disable-shared LEX="touch lex.yy.c"
12644 @endif gmp-bootstrap
12645
12646 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12647 maybe-configure-stage2-gmp:
12648 @if gmp-bootstrap
12649 maybe-configure-stage2-gmp: configure-stage2-gmp
12650 configure-stage2-gmp:
12651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12653 @r=`${PWD_COMMAND}`; export r; \
12654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12655 TFLAGS="$(STAGE2_TFLAGS)"; \
12656 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12657 $(HOST_EXPORTS) \
12658 $(POSTSTAGE1_HOST_EXPORTS) \
12659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12662 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12664 cd $(HOST_SUBDIR)/gmp || exit 1; \
12665 case $(srcdir) in \
12666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12667 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12669 esac; \
12670 module_srcdir=gmp; \
12671 $(SHELL) $$s/$$module_srcdir/configure \
12672 --srcdir=$${topdir}/$$module_srcdir \
12673 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12674 --target=none-${host_vendor}-${host_os} \
12675 --with-build-libsubdir=$(HOST_SUBDIR) \
12676 $(STAGE2_CONFIGURE_FLAGS) \
12677 --disable-shared LEX="touch lex.yy.c"
12678 @endif gmp-bootstrap
12679
12680 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12681 maybe-configure-stage3-gmp:
12682 @if gmp-bootstrap
12683 maybe-configure-stage3-gmp: configure-stage3-gmp
12684 configure-stage3-gmp:
12685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12687 @r=`${PWD_COMMAND}`; export r; \
12688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12689 TFLAGS="$(STAGE3_TFLAGS)"; \
12690 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12691 $(HOST_EXPORTS) \
12692 $(POSTSTAGE1_HOST_EXPORTS) \
12693 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12694 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12695 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12696 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12698 cd $(HOST_SUBDIR)/gmp || exit 1; \
12699 case $(srcdir) in \
12700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12701 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12703 esac; \
12704 module_srcdir=gmp; \
12705 $(SHELL) $$s/$$module_srcdir/configure \
12706 --srcdir=$${topdir}/$$module_srcdir \
12707 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12708 --target=none-${host_vendor}-${host_os} \
12709 --with-build-libsubdir=$(HOST_SUBDIR) \
12710 $(STAGE3_CONFIGURE_FLAGS) \
12711 --disable-shared LEX="touch lex.yy.c"
12712 @endif gmp-bootstrap
12713
12714 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12715 maybe-configure-stage4-gmp:
12716 @if gmp-bootstrap
12717 maybe-configure-stage4-gmp: configure-stage4-gmp
12718 configure-stage4-gmp:
12719 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12721 @r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 TFLAGS="$(STAGE4_TFLAGS)"; \
12724 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12725 $(HOST_EXPORTS) \
12726 $(POSTSTAGE1_HOST_EXPORTS) \
12727 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12728 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12729 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12730 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12732 cd $(HOST_SUBDIR)/gmp || exit 1; \
12733 case $(srcdir) in \
12734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12735 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12737 esac; \
12738 module_srcdir=gmp; \
12739 $(SHELL) $$s/$$module_srcdir/configure \
12740 --srcdir=$${topdir}/$$module_srcdir \
12741 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12742 --target=none-${host_vendor}-${host_os} \
12743 --with-build-libsubdir=$(HOST_SUBDIR) \
12744 $(STAGE4_CONFIGURE_FLAGS) \
12745 --disable-shared LEX="touch lex.yy.c"
12746 @endif gmp-bootstrap
12747
12748 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12749 maybe-configure-stageprofile-gmp:
12750 @if gmp-bootstrap
12751 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12752 configure-stageprofile-gmp:
12753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12755 @r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12757 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12758 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12759 $(HOST_EXPORTS) \
12760 $(POSTSTAGE1_HOST_EXPORTS) \
12761 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12762 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12763 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12764 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12766 cd $(HOST_SUBDIR)/gmp || exit 1; \
12767 case $(srcdir) in \
12768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12769 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12771 esac; \
12772 module_srcdir=gmp; \
12773 $(SHELL) $$s/$$module_srcdir/configure \
12774 --srcdir=$${topdir}/$$module_srcdir \
12775 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12776 --target=none-${host_vendor}-${host_os} \
12777 --with-build-libsubdir=$(HOST_SUBDIR) \
12778 $(STAGEprofile_CONFIGURE_FLAGS) \
12779 --disable-shared LEX="touch lex.yy.c"
12780 @endif gmp-bootstrap
12781
12782 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12783 maybe-configure-stagetrain-gmp:
12784 @if gmp-bootstrap
12785 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12786 configure-stagetrain-gmp:
12787 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12789 @r=`${PWD_COMMAND}`; export r; \
12790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12791 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12792 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12793 $(HOST_EXPORTS) \
12794 $(POSTSTAGE1_HOST_EXPORTS) \
12795 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12796 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12797 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12798 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12800 cd $(HOST_SUBDIR)/gmp || exit 1; \
12801 case $(srcdir) in \
12802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12803 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12805 esac; \
12806 module_srcdir=gmp; \
12807 $(SHELL) $$s/$$module_srcdir/configure \
12808 --srcdir=$${topdir}/$$module_srcdir \
12809 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12810 --target=none-${host_vendor}-${host_os} \
12811 --with-build-libsubdir=$(HOST_SUBDIR) \
12812 $(STAGEtrain_CONFIGURE_FLAGS) \
12813 --disable-shared LEX="touch lex.yy.c"
12814 @endif gmp-bootstrap
12815
12816 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12817 maybe-configure-stagefeedback-gmp:
12818 @if gmp-bootstrap
12819 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12820 configure-stagefeedback-gmp:
12821 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12823 @r=`${PWD_COMMAND}`; export r; \
12824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12825 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12826 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12827 $(HOST_EXPORTS) \
12828 $(POSTSTAGE1_HOST_EXPORTS) \
12829 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12830 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12831 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12832 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12834 cd $(HOST_SUBDIR)/gmp || exit 1; \
12835 case $(srcdir) in \
12836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12837 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12839 esac; \
12840 module_srcdir=gmp; \
12841 $(SHELL) $$s/$$module_srcdir/configure \
12842 --srcdir=$${topdir}/$$module_srcdir \
12843 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12844 --target=none-${host_vendor}-${host_os} \
12845 --with-build-libsubdir=$(HOST_SUBDIR) \
12846 $(STAGEfeedback_CONFIGURE_FLAGS) \
12847 --disable-shared LEX="touch lex.yy.c"
12848 @endif gmp-bootstrap
12849
12850 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12851 maybe-configure-stageautoprofile-gmp:
12852 @if gmp-bootstrap
12853 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12854 configure-stageautoprofile-gmp:
12855 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12857 @r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12860 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12861 $(HOST_EXPORTS) \
12862 $(POSTSTAGE1_HOST_EXPORTS) \
12863 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12864 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12865 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12866 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12868 cd $(HOST_SUBDIR)/gmp || exit 1; \
12869 case $(srcdir) in \
12870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12871 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12873 esac; \
12874 module_srcdir=gmp; \
12875 $(SHELL) $$s/$$module_srcdir/configure \
12876 --srcdir=$${topdir}/$$module_srcdir \
12877 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12878 --target=none-${host_vendor}-${host_os} \
12879 --with-build-libsubdir=$(HOST_SUBDIR) \
12880 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12881 --disable-shared LEX="touch lex.yy.c"
12882 @endif gmp-bootstrap
12883
12884 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12885 maybe-configure-stageautofeedback-gmp:
12886 @if gmp-bootstrap
12887 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12888 configure-stageautofeedback-gmp:
12889 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12891 @r=`${PWD_COMMAND}`; export r; \
12892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12893 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12894 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12895 $(HOST_EXPORTS) \
12896 $(POSTSTAGE1_HOST_EXPORTS) \
12897 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12898 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12899 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12900 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12902 cd $(HOST_SUBDIR)/gmp || exit 1; \
12903 case $(srcdir) in \
12904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12905 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12907 esac; \
12908 module_srcdir=gmp; \
12909 $(SHELL) $$s/$$module_srcdir/configure \
12910 --srcdir=$${topdir}/$$module_srcdir \
12911 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12912 --target=none-${host_vendor}-${host_os} \
12913 --with-build-libsubdir=$(HOST_SUBDIR) \
12914 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12915 --disable-shared LEX="touch lex.yy.c"
12916 @endif gmp-bootstrap
12917
12918
12919
12920
12921
12922 .PHONY: all-gmp maybe-all-gmp
12923 maybe-all-gmp:
12924 @if gcc-bootstrap
12925 all-gmp: stage_current
12926 @endif gcc-bootstrap
12927 @if gmp
12928 TARGET-gmp=all
12929 maybe-all-gmp: all-gmp
12930 all-gmp: configure-gmp
12931 @r=`${PWD_COMMAND}`; export r; \
12932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12933 $(HOST_EXPORTS) \
12934 (cd $(HOST_SUBDIR)/gmp && \
12935 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12936 $(TARGET-gmp))
12937 @endif gmp
12938
12939
12940
12941 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12942 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12943 maybe-all-stage1-gmp:
12944 maybe-clean-stage1-gmp:
12945 @if gmp-bootstrap
12946 maybe-all-stage1-gmp: all-stage1-gmp
12947 all-stage1: all-stage1-gmp
12948 TARGET-stage1-gmp = $(TARGET-gmp)
12949 all-stage1-gmp: configure-stage1-gmp
12950 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12951 @r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 TFLAGS="$(STAGE1_TFLAGS)"; \
12954 $(HOST_EXPORTS) \
12955 cd $(HOST_SUBDIR)/gmp && \
12956 \
12957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12958 CFLAGS="$(STAGE1_CFLAGS)" \
12959 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12960 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12961 LIBCFLAGS="$(LIBCFLAGS)" \
12962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12965 $(EXTRA_HOST_FLAGS) \
12966 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12967 TFLAGS="$(STAGE1_TFLAGS)" \
12968 $(TARGET-stage1-gmp)
12969
12970 maybe-clean-stage1-gmp: clean-stage1-gmp
12971 clean-stage1: clean-stage1-gmp
12972 clean-stage1-gmp:
12973 @if [ $(current_stage) = stage1 ]; then \
12974 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12975 else \
12976 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12977 $(MAKE) stage1-start; \
12978 fi; \
12979 cd $(HOST_SUBDIR)/gmp && \
12980 $(MAKE) $(EXTRA_HOST_FLAGS) \
12981 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12982 @endif gmp-bootstrap
12983
12984
12985 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12986 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12987 maybe-all-stage2-gmp:
12988 maybe-clean-stage2-gmp:
12989 @if gmp-bootstrap
12990 maybe-all-stage2-gmp: all-stage2-gmp
12991 all-stage2: all-stage2-gmp
12992 TARGET-stage2-gmp = $(TARGET-gmp)
12993 all-stage2-gmp: configure-stage2-gmp
12994 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12995 @r=`${PWD_COMMAND}`; export r; \
12996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12997 TFLAGS="$(STAGE2_TFLAGS)"; \
12998 $(HOST_EXPORTS) \
12999 $(POSTSTAGE1_HOST_EXPORTS) \
13000 cd $(HOST_SUBDIR)/gmp && \
13001 \
13002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13003 CFLAGS="$(STAGE2_CFLAGS)" \
13004 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13005 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13006 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13011 TFLAGS="$(STAGE2_TFLAGS)" \
13012 $(TARGET-stage2-gmp)
13013
13014 maybe-clean-stage2-gmp: clean-stage2-gmp
13015 clean-stage2: clean-stage2-gmp
13016 clean-stage2-gmp:
13017 @if [ $(current_stage) = stage2 ]; then \
13018 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13019 else \
13020 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13021 $(MAKE) stage2-start; \
13022 fi; \
13023 cd $(HOST_SUBDIR)/gmp && \
13024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13025 @endif gmp-bootstrap
13026
13027
13028 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13029 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13030 maybe-all-stage3-gmp:
13031 maybe-clean-stage3-gmp:
13032 @if gmp-bootstrap
13033 maybe-all-stage3-gmp: all-stage3-gmp
13034 all-stage3: all-stage3-gmp
13035 TARGET-stage3-gmp = $(TARGET-gmp)
13036 all-stage3-gmp: configure-stage3-gmp
13037 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13038 @r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13040 TFLAGS="$(STAGE3_TFLAGS)"; \
13041 $(HOST_EXPORTS) \
13042 $(POSTSTAGE1_HOST_EXPORTS) \
13043 cd $(HOST_SUBDIR)/gmp && \
13044 \
13045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13046 CFLAGS="$(STAGE3_CFLAGS)" \
13047 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13048 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13049 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13054 TFLAGS="$(STAGE3_TFLAGS)" \
13055 $(TARGET-stage3-gmp)
13056
13057 maybe-clean-stage3-gmp: clean-stage3-gmp
13058 clean-stage3: clean-stage3-gmp
13059 clean-stage3-gmp:
13060 @if [ $(current_stage) = stage3 ]; then \
13061 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13062 else \
13063 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13064 $(MAKE) stage3-start; \
13065 fi; \
13066 cd $(HOST_SUBDIR)/gmp && \
13067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13068 @endif gmp-bootstrap
13069
13070
13071 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13072 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13073 maybe-all-stage4-gmp:
13074 maybe-clean-stage4-gmp:
13075 @if gmp-bootstrap
13076 maybe-all-stage4-gmp: all-stage4-gmp
13077 all-stage4: all-stage4-gmp
13078 TARGET-stage4-gmp = $(TARGET-gmp)
13079 all-stage4-gmp: configure-stage4-gmp
13080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13081 @r=`${PWD_COMMAND}`; export r; \
13082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13083 TFLAGS="$(STAGE4_TFLAGS)"; \
13084 $(HOST_EXPORTS) \
13085 $(POSTSTAGE1_HOST_EXPORTS) \
13086 cd $(HOST_SUBDIR)/gmp && \
13087 \
13088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13089 CFLAGS="$(STAGE4_CFLAGS)" \
13090 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13091 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13092 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13097 TFLAGS="$(STAGE4_TFLAGS)" \
13098 $(TARGET-stage4-gmp)
13099
13100 maybe-clean-stage4-gmp: clean-stage4-gmp
13101 clean-stage4: clean-stage4-gmp
13102 clean-stage4-gmp:
13103 @if [ $(current_stage) = stage4 ]; then \
13104 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13105 else \
13106 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13107 $(MAKE) stage4-start; \
13108 fi; \
13109 cd $(HOST_SUBDIR)/gmp && \
13110 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13111 @endif gmp-bootstrap
13112
13113
13114 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13115 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13116 maybe-all-stageprofile-gmp:
13117 maybe-clean-stageprofile-gmp:
13118 @if gmp-bootstrap
13119 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13120 all-stageprofile: all-stageprofile-gmp
13121 TARGET-stageprofile-gmp = $(TARGET-gmp)
13122 all-stageprofile-gmp: configure-stageprofile-gmp
13123 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13124 @r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13127 $(HOST_EXPORTS) \
13128 $(POSTSTAGE1_HOST_EXPORTS) \
13129 cd $(HOST_SUBDIR)/gmp && \
13130 \
13131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13132 CFLAGS="$(STAGEprofile_CFLAGS)" \
13133 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13134 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13135 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13140 TFLAGS="$(STAGEprofile_TFLAGS)" \
13141 $(TARGET-stageprofile-gmp)
13142
13143 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13144 clean-stageprofile: clean-stageprofile-gmp
13145 clean-stageprofile-gmp:
13146 @if [ $(current_stage) = stageprofile ]; then \
13147 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13148 else \
13149 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13150 $(MAKE) stageprofile-start; \
13151 fi; \
13152 cd $(HOST_SUBDIR)/gmp && \
13153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13154 @endif gmp-bootstrap
13155
13156
13157 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13158 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13159 maybe-all-stagetrain-gmp:
13160 maybe-clean-stagetrain-gmp:
13161 @if gmp-bootstrap
13162 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13163 all-stagetrain: all-stagetrain-gmp
13164 TARGET-stagetrain-gmp = $(TARGET-gmp)
13165 all-stagetrain-gmp: configure-stagetrain-gmp
13166 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13167 @r=`${PWD_COMMAND}`; export r; \
13168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13169 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13170 $(HOST_EXPORTS) \
13171 $(POSTSTAGE1_HOST_EXPORTS) \
13172 cd $(HOST_SUBDIR)/gmp && \
13173 \
13174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13175 CFLAGS="$(STAGEtrain_CFLAGS)" \
13176 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13177 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13178 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13182 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13183 TFLAGS="$(STAGEtrain_TFLAGS)" \
13184 $(TARGET-stagetrain-gmp)
13185
13186 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13187 clean-stagetrain: clean-stagetrain-gmp
13188 clean-stagetrain-gmp:
13189 @if [ $(current_stage) = stagetrain ]; then \
13190 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13191 else \
13192 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13193 $(MAKE) stagetrain-start; \
13194 fi; \
13195 cd $(HOST_SUBDIR)/gmp && \
13196 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13197 @endif gmp-bootstrap
13198
13199
13200 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13201 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13202 maybe-all-stagefeedback-gmp:
13203 maybe-clean-stagefeedback-gmp:
13204 @if gmp-bootstrap
13205 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13206 all-stagefeedback: all-stagefeedback-gmp
13207 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13208 all-stagefeedback-gmp: configure-stagefeedback-gmp
13209 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13210 @r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13213 $(HOST_EXPORTS) \
13214 $(POSTSTAGE1_HOST_EXPORTS) \
13215 cd $(HOST_SUBDIR)/gmp && \
13216 \
13217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13218 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13219 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13220 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13226 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13227 $(TARGET-stagefeedback-gmp)
13228
13229 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13230 clean-stagefeedback: clean-stagefeedback-gmp
13231 clean-stagefeedback-gmp:
13232 @if [ $(current_stage) = stagefeedback ]; then \
13233 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13234 else \
13235 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13236 $(MAKE) stagefeedback-start; \
13237 fi; \
13238 cd $(HOST_SUBDIR)/gmp && \
13239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13240 @endif gmp-bootstrap
13241
13242
13243 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13244 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13245 maybe-all-stageautoprofile-gmp:
13246 maybe-clean-stageautoprofile-gmp:
13247 @if gmp-bootstrap
13248 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13249 all-stageautoprofile: all-stageautoprofile-gmp
13250 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13251 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13252 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13253 @r=`${PWD_COMMAND}`; export r; \
13254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13255 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13256 $(HOST_EXPORTS) \
13257 $(POSTSTAGE1_HOST_EXPORTS) \
13258 cd $(HOST_SUBDIR)/gmp && \
13259 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13261 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13262 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13263 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13264 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13269 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13270 $(TARGET-stageautoprofile-gmp)
13271
13272 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13273 clean-stageautoprofile: clean-stageautoprofile-gmp
13274 clean-stageautoprofile-gmp:
13275 @if [ $(current_stage) = stageautoprofile ]; then \
13276 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13277 else \
13278 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13279 $(MAKE) stageautoprofile-start; \
13280 fi; \
13281 cd $(HOST_SUBDIR)/gmp && \
13282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13283 @endif gmp-bootstrap
13284
13285
13286 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13287 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13288 maybe-all-stageautofeedback-gmp:
13289 maybe-clean-stageautofeedback-gmp:
13290 @if gmp-bootstrap
13291 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13292 all-stageautofeedback: all-stageautofeedback-gmp
13293 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13294 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13295 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13296 @r=`${PWD_COMMAND}`; export r; \
13297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13298 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13299 $(HOST_EXPORTS) \
13300 $(POSTSTAGE1_HOST_EXPORTS) \
13301 cd $(HOST_SUBDIR)/gmp && \
13302 \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13304 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13305 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13306 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13307 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13312 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13313 $(TARGET-stageautofeedback-gmp)
13314
13315 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13316 clean-stageautofeedback: clean-stageautofeedback-gmp
13317 clean-stageautofeedback-gmp:
13318 @if [ $(current_stage) = stageautofeedback ]; then \
13319 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13320 else \
13321 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13322 $(MAKE) stageautofeedback-start; \
13323 fi; \
13324 cd $(HOST_SUBDIR)/gmp && \
13325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13326 @endif gmp-bootstrap
13327
13328
13329
13330
13331
13332 .PHONY: check-gmp maybe-check-gmp
13333 maybe-check-gmp:
13334 @if gmp
13335 maybe-check-gmp: check-gmp
13336
13337 check-gmp:
13338 @: $(MAKE); $(unstage)
13339 @r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13342 (cd $(HOST_SUBDIR)/gmp && \
13343 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13344
13345 @endif gmp
13346
13347 .PHONY: install-gmp maybe-install-gmp
13348 maybe-install-gmp:
13349 @if gmp
13350 maybe-install-gmp: install-gmp
13351
13352 install-gmp:
13353
13354 @endif gmp
13355
13356 .PHONY: install-strip-gmp maybe-install-strip-gmp
13357 maybe-install-strip-gmp:
13358 @if gmp
13359 maybe-install-strip-gmp: install-strip-gmp
13360
13361 install-strip-gmp:
13362
13363 @endif gmp
13364
13365 # Other targets (info, dvi, pdf, etc.)
13366
13367 .PHONY: maybe-info-gmp info-gmp
13368 maybe-info-gmp:
13369 @if gmp
13370 maybe-info-gmp: info-gmp
13371
13372 info-gmp: \
13373 configure-gmp
13374 @[ -f ./gmp/Makefile ] || exit 0; \
13375 r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377 $(HOST_EXPORTS) \
13378 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13380 done; \
13381 echo "Doing info in gmp"; \
13382 (cd $(HOST_SUBDIR)/gmp && \
13383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13385 "RANLIB=$${RANLIB}" \
13386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13387 info) \
13388 || exit 1
13389
13390 @endif gmp
13391
13392 .PHONY: maybe-dvi-gmp dvi-gmp
13393 maybe-dvi-gmp:
13394 @if gmp
13395 maybe-dvi-gmp: dvi-gmp
13396
13397 dvi-gmp: \
13398 configure-gmp
13399 @[ -f ./gmp/Makefile ] || exit 0; \
13400 r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402 $(HOST_EXPORTS) \
13403 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13405 done; \
13406 echo "Doing dvi in gmp"; \
13407 (cd $(HOST_SUBDIR)/gmp && \
13408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13410 "RANLIB=$${RANLIB}" \
13411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13412 dvi) \
13413 || exit 1
13414
13415 @endif gmp
13416
13417 .PHONY: maybe-pdf-gmp pdf-gmp
13418 maybe-pdf-gmp:
13419 @if gmp
13420 maybe-pdf-gmp: pdf-gmp
13421
13422 pdf-gmp: \
13423 configure-gmp
13424 @[ -f ./gmp/Makefile ] || exit 0; \
13425 r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427 $(HOST_EXPORTS) \
13428 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13430 done; \
13431 echo "Doing pdf in gmp"; \
13432 (cd $(HOST_SUBDIR)/gmp && \
13433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13435 "RANLIB=$${RANLIB}" \
13436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13437 pdf) \
13438 || exit 1
13439
13440 @endif gmp
13441
13442 .PHONY: maybe-html-gmp html-gmp
13443 maybe-html-gmp:
13444 @if gmp
13445 maybe-html-gmp: html-gmp
13446
13447 html-gmp: \
13448 configure-gmp
13449 @[ -f ./gmp/Makefile ] || exit 0; \
13450 r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(HOST_EXPORTS) \
13453 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13455 done; \
13456 echo "Doing html in gmp"; \
13457 (cd $(HOST_SUBDIR)/gmp && \
13458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13460 "RANLIB=$${RANLIB}" \
13461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13462 html) \
13463 || exit 1
13464
13465 @endif gmp
13466
13467 .PHONY: maybe-TAGS-gmp TAGS-gmp
13468 maybe-TAGS-gmp:
13469 @if gmp
13470 maybe-TAGS-gmp: TAGS-gmp
13471
13472 TAGS-gmp: \
13473 configure-gmp
13474 @[ -f ./gmp/Makefile ] || exit 0; \
13475 r=`${PWD_COMMAND}`; export r; \
13476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13477 $(HOST_EXPORTS) \
13478 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13480 done; \
13481 echo "Doing TAGS in gmp"; \
13482 (cd $(HOST_SUBDIR)/gmp && \
13483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13485 "RANLIB=$${RANLIB}" \
13486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13487 TAGS) \
13488 || exit 1
13489
13490 @endif gmp
13491
13492 .PHONY: maybe-install-info-gmp install-info-gmp
13493 maybe-install-info-gmp:
13494 @if gmp
13495 maybe-install-info-gmp: install-info-gmp
13496
13497 install-info-gmp: \
13498 configure-gmp \
13499 info-gmp
13500 @[ -f ./gmp/Makefile ] || exit 0; \
13501 r=`${PWD_COMMAND}`; export r; \
13502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13503 $(HOST_EXPORTS) \
13504 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13506 done; \
13507 echo "Doing install-info in gmp"; \
13508 (cd $(HOST_SUBDIR)/gmp && \
13509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13511 "RANLIB=$${RANLIB}" \
13512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13513 install-info) \
13514 || exit 1
13515
13516 @endif gmp
13517
13518 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13519 maybe-install-pdf-gmp:
13520 @if gmp
13521 maybe-install-pdf-gmp: install-pdf-gmp
13522
13523 install-pdf-gmp: \
13524 configure-gmp \
13525 pdf-gmp
13526 @[ -f ./gmp/Makefile ] || exit 0; \
13527 r=`${PWD_COMMAND}`; export r; \
13528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing install-pdf in gmp"; \
13534 (cd $(HOST_SUBDIR)/gmp && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13539 install-pdf) \
13540 || exit 1
13541
13542 @endif gmp
13543
13544 .PHONY: maybe-install-html-gmp install-html-gmp
13545 maybe-install-html-gmp:
13546 @if gmp
13547 maybe-install-html-gmp: install-html-gmp
13548
13549 install-html-gmp: \
13550 configure-gmp \
13551 html-gmp
13552 @[ -f ./gmp/Makefile ] || exit 0; \
13553 r=`${PWD_COMMAND}`; export r; \
13554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13555 $(HOST_EXPORTS) \
13556 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13558 done; \
13559 echo "Doing install-html in gmp"; \
13560 (cd $(HOST_SUBDIR)/gmp && \
13561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13563 "RANLIB=$${RANLIB}" \
13564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13565 install-html) \
13566 || exit 1
13567
13568 @endif gmp
13569
13570 .PHONY: maybe-installcheck-gmp installcheck-gmp
13571 maybe-installcheck-gmp:
13572 @if gmp
13573 maybe-installcheck-gmp: installcheck-gmp
13574
13575 installcheck-gmp: \
13576 configure-gmp
13577 @[ -f ./gmp/Makefile ] || exit 0; \
13578 r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 $(HOST_EXPORTS) \
13581 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13583 done; \
13584 echo "Doing installcheck in gmp"; \
13585 (cd $(HOST_SUBDIR)/gmp && \
13586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13588 "RANLIB=$${RANLIB}" \
13589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13590 installcheck) \
13591 || exit 1
13592
13593 @endif gmp
13594
13595 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13596 maybe-mostlyclean-gmp:
13597 @if gmp
13598 maybe-mostlyclean-gmp: mostlyclean-gmp
13599
13600 mostlyclean-gmp:
13601 @[ -f ./gmp/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607 done; \
13608 echo "Doing mostlyclean in gmp"; \
13609 (cd $(HOST_SUBDIR)/gmp && \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13614 mostlyclean) \
13615 || exit 1
13616
13617 @endif gmp
13618
13619 .PHONY: maybe-clean-gmp clean-gmp
13620 maybe-clean-gmp:
13621 @if gmp
13622 maybe-clean-gmp: clean-gmp
13623
13624 clean-gmp:
13625 @[ -f ./gmp/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 $(HOST_EXPORTS) \
13629 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13631 done; \
13632 echo "Doing clean in gmp"; \
13633 (cd $(HOST_SUBDIR)/gmp && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13636 "RANLIB=$${RANLIB}" \
13637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13638 clean) \
13639 || exit 1
13640
13641 @endif gmp
13642
13643 .PHONY: maybe-distclean-gmp distclean-gmp
13644 maybe-distclean-gmp:
13645 @if gmp
13646 maybe-distclean-gmp: distclean-gmp
13647
13648 distclean-gmp:
13649 @[ -f ./gmp/Makefile ] || exit 0; \
13650 r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 $(HOST_EXPORTS) \
13653 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13655 done; \
13656 echo "Doing distclean in gmp"; \
13657 (cd $(HOST_SUBDIR)/gmp && \
13658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13660 "RANLIB=$${RANLIB}" \
13661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13662 distclean) \
13663 || exit 1
13664
13665 @endif gmp
13666
13667 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13668 maybe-maintainer-clean-gmp:
13669 @if gmp
13670 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13671
13672 maintainer-clean-gmp:
13673 @[ -f ./gmp/Makefile ] || exit 0; \
13674 r=`${PWD_COMMAND}`; export r; \
13675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13676 $(HOST_EXPORTS) \
13677 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13679 done; \
13680 echo "Doing maintainer-clean in gmp"; \
13681 (cd $(HOST_SUBDIR)/gmp && \
13682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13684 "RANLIB=$${RANLIB}" \
13685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13686 maintainer-clean) \
13687 || exit 1
13688
13689 @endif gmp
13690
13691
13692
13693 .PHONY: configure-mpfr maybe-configure-mpfr
13694 maybe-configure-mpfr:
13695 @if gcc-bootstrap
13696 configure-mpfr: stage_current
13697 @endif gcc-bootstrap
13698 @if mpfr
13699 maybe-configure-mpfr: configure-mpfr
13700 configure-mpfr:
13701 @r=`${PWD_COMMAND}`; export r; \
13702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13703 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13705 $(HOST_EXPORTS) \
13706 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13707 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13708 case $(srcdir) in \
13709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13710 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13712 esac; \
13713 module_srcdir=mpfr; \
13714 $(SHELL) \
13715 $$s/$$module_srcdir/configure \
13716 --srcdir=$${topdir}/$$module_srcdir \
13717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13718 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13719 || exit 1
13720 @endif mpfr
13721
13722
13723
13724 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13725 maybe-configure-stage1-mpfr:
13726 @if mpfr-bootstrap
13727 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13728 configure-stage1-mpfr:
13729 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13731 @r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 TFLAGS="$(STAGE1_TFLAGS)"; \
13734 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13735 $(HOST_EXPORTS) \
13736 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13737 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13738 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13739 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13741 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13742 case $(srcdir) in \
13743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13744 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13746 esac; \
13747 module_srcdir=mpfr; \
13748 $(SHELL) $$s/$$module_srcdir/configure \
13749 --srcdir=$${topdir}/$$module_srcdir \
13750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13751 --target=${target_alias} \
13752 \
13753 $(STAGE1_CONFIGURE_FLAGS) \
13754 --disable-shared @extra_mpfr_configure_flags@
13755 @endif mpfr-bootstrap
13756
13757 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13758 maybe-configure-stage2-mpfr:
13759 @if mpfr-bootstrap
13760 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13761 configure-stage2-mpfr:
13762 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13764 @r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 TFLAGS="$(STAGE2_TFLAGS)"; \
13767 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13768 $(HOST_EXPORTS) \
13769 $(POSTSTAGE1_HOST_EXPORTS) \
13770 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13771 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13772 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13773 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13775 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13776 case $(srcdir) in \
13777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13778 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13780 esac; \
13781 module_srcdir=mpfr; \
13782 $(SHELL) $$s/$$module_srcdir/configure \
13783 --srcdir=$${topdir}/$$module_srcdir \
13784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13785 --target=${target_alias} \
13786 --with-build-libsubdir=$(HOST_SUBDIR) \
13787 $(STAGE2_CONFIGURE_FLAGS) \
13788 --disable-shared @extra_mpfr_configure_flags@
13789 @endif mpfr-bootstrap
13790
13791 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13792 maybe-configure-stage3-mpfr:
13793 @if mpfr-bootstrap
13794 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13795 configure-stage3-mpfr:
13796 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13798 @r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 TFLAGS="$(STAGE3_TFLAGS)"; \
13801 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13802 $(HOST_EXPORTS) \
13803 $(POSTSTAGE1_HOST_EXPORTS) \
13804 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13805 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13806 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13807 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13809 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13810 case $(srcdir) in \
13811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13812 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13814 esac; \
13815 module_srcdir=mpfr; \
13816 $(SHELL) $$s/$$module_srcdir/configure \
13817 --srcdir=$${topdir}/$$module_srcdir \
13818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13819 --target=${target_alias} \
13820 --with-build-libsubdir=$(HOST_SUBDIR) \
13821 $(STAGE3_CONFIGURE_FLAGS) \
13822 --disable-shared @extra_mpfr_configure_flags@
13823 @endif mpfr-bootstrap
13824
13825 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13826 maybe-configure-stage4-mpfr:
13827 @if mpfr-bootstrap
13828 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13829 configure-stage4-mpfr:
13830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13832 @r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 TFLAGS="$(STAGE4_TFLAGS)"; \
13835 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13836 $(HOST_EXPORTS) \
13837 $(POSTSTAGE1_HOST_EXPORTS) \
13838 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13839 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13840 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13841 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13843 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13844 case $(srcdir) in \
13845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13846 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13848 esac; \
13849 module_srcdir=mpfr; \
13850 $(SHELL) $$s/$$module_srcdir/configure \
13851 --srcdir=$${topdir}/$$module_srcdir \
13852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13853 --target=${target_alias} \
13854 --with-build-libsubdir=$(HOST_SUBDIR) \
13855 $(STAGE4_CONFIGURE_FLAGS) \
13856 --disable-shared @extra_mpfr_configure_flags@
13857 @endif mpfr-bootstrap
13858
13859 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13860 maybe-configure-stageprofile-mpfr:
13861 @if mpfr-bootstrap
13862 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13863 configure-stageprofile-mpfr:
13864 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13866 @r=`${PWD_COMMAND}`; export r; \
13867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13868 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13869 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13870 $(HOST_EXPORTS) \
13871 $(POSTSTAGE1_HOST_EXPORTS) \
13872 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13873 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13874 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13875 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13877 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13878 case $(srcdir) in \
13879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13880 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13882 esac; \
13883 module_srcdir=mpfr; \
13884 $(SHELL) $$s/$$module_srcdir/configure \
13885 --srcdir=$${topdir}/$$module_srcdir \
13886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13887 --target=${target_alias} \
13888 --with-build-libsubdir=$(HOST_SUBDIR) \
13889 $(STAGEprofile_CONFIGURE_FLAGS) \
13890 --disable-shared @extra_mpfr_configure_flags@
13891 @endif mpfr-bootstrap
13892
13893 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13894 maybe-configure-stagetrain-mpfr:
13895 @if mpfr-bootstrap
13896 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13897 configure-stagetrain-mpfr:
13898 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13900 @r=`${PWD_COMMAND}`; export r; \
13901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13902 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13903 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13904 $(HOST_EXPORTS) \
13905 $(POSTSTAGE1_HOST_EXPORTS) \
13906 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13907 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13908 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13909 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13911 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13912 case $(srcdir) in \
13913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13914 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13916 esac; \
13917 module_srcdir=mpfr; \
13918 $(SHELL) $$s/$$module_srcdir/configure \
13919 --srcdir=$${topdir}/$$module_srcdir \
13920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13921 --target=${target_alias} \
13922 --with-build-libsubdir=$(HOST_SUBDIR) \
13923 $(STAGEtrain_CONFIGURE_FLAGS) \
13924 --disable-shared @extra_mpfr_configure_flags@
13925 @endif mpfr-bootstrap
13926
13927 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13928 maybe-configure-stagefeedback-mpfr:
13929 @if mpfr-bootstrap
13930 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13931 configure-stagefeedback-mpfr:
13932 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13934 @r=`${PWD_COMMAND}`; export r; \
13935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13937 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13938 $(HOST_EXPORTS) \
13939 $(POSTSTAGE1_HOST_EXPORTS) \
13940 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13941 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13942 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13943 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13945 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13946 case $(srcdir) in \
13947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13948 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13950 esac; \
13951 module_srcdir=mpfr; \
13952 $(SHELL) $$s/$$module_srcdir/configure \
13953 --srcdir=$${topdir}/$$module_srcdir \
13954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13955 --target=${target_alias} \
13956 --with-build-libsubdir=$(HOST_SUBDIR) \
13957 $(STAGEfeedback_CONFIGURE_FLAGS) \
13958 --disable-shared @extra_mpfr_configure_flags@
13959 @endif mpfr-bootstrap
13960
13961 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13962 maybe-configure-stageautoprofile-mpfr:
13963 @if mpfr-bootstrap
13964 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13965 configure-stageautoprofile-mpfr:
13966 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13968 @r=`${PWD_COMMAND}`; export r; \
13969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13970 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13971 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13972 $(HOST_EXPORTS) \
13973 $(POSTSTAGE1_HOST_EXPORTS) \
13974 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13975 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13976 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13977 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13979 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13980 case $(srcdir) in \
13981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13982 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13984 esac; \
13985 module_srcdir=mpfr; \
13986 $(SHELL) $$s/$$module_srcdir/configure \
13987 --srcdir=$${topdir}/$$module_srcdir \
13988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13989 --target=${target_alias} \
13990 --with-build-libsubdir=$(HOST_SUBDIR) \
13991 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13992 --disable-shared @extra_mpfr_configure_flags@
13993 @endif mpfr-bootstrap
13994
13995 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13996 maybe-configure-stageautofeedback-mpfr:
13997 @if mpfr-bootstrap
13998 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13999 configure-stageautofeedback-mpfr:
14000 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14002 @r=`${PWD_COMMAND}`; export r; \
14003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14004 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14005 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14006 $(HOST_EXPORTS) \
14007 $(POSTSTAGE1_HOST_EXPORTS) \
14008 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14009 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14010 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14011 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14013 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14014 case $(srcdir) in \
14015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14016 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14018 esac; \
14019 module_srcdir=mpfr; \
14020 $(SHELL) $$s/$$module_srcdir/configure \
14021 --srcdir=$${topdir}/$$module_srcdir \
14022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14023 --target=${target_alias} \
14024 --with-build-libsubdir=$(HOST_SUBDIR) \
14025 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14026 --disable-shared @extra_mpfr_configure_flags@
14027 @endif mpfr-bootstrap
14028
14029
14030
14031
14032
14033 .PHONY: all-mpfr maybe-all-mpfr
14034 maybe-all-mpfr:
14035 @if gcc-bootstrap
14036 all-mpfr: stage_current
14037 @endif gcc-bootstrap
14038 @if mpfr
14039 TARGET-mpfr=all
14040 maybe-all-mpfr: all-mpfr
14041 all-mpfr: configure-mpfr
14042 @r=`${PWD_COMMAND}`; export r; \
14043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14044 $(HOST_EXPORTS) \
14045 (cd $(HOST_SUBDIR)/mpfr && \
14046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14047 $(TARGET-mpfr))
14048 @endif mpfr
14049
14050
14051
14052 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14053 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14054 maybe-all-stage1-mpfr:
14055 maybe-clean-stage1-mpfr:
14056 @if mpfr-bootstrap
14057 maybe-all-stage1-mpfr: all-stage1-mpfr
14058 all-stage1: all-stage1-mpfr
14059 TARGET-stage1-mpfr = $(TARGET-mpfr)
14060 all-stage1-mpfr: configure-stage1-mpfr
14061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14062 @r=`${PWD_COMMAND}`; export r; \
14063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14064 TFLAGS="$(STAGE1_TFLAGS)"; \
14065 $(HOST_EXPORTS) \
14066 cd $(HOST_SUBDIR)/mpfr && \
14067 \
14068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14069 CFLAGS="$(STAGE1_CFLAGS)" \
14070 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14071 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14072 LIBCFLAGS="$(LIBCFLAGS)" \
14073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14076 $(EXTRA_HOST_FLAGS) \
14077 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14078 TFLAGS="$(STAGE1_TFLAGS)" \
14079 $(TARGET-stage1-mpfr)
14080
14081 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14082 clean-stage1: clean-stage1-mpfr
14083 clean-stage1-mpfr:
14084 @if [ $(current_stage) = stage1 ]; then \
14085 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14086 else \
14087 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14088 $(MAKE) stage1-start; \
14089 fi; \
14090 cd $(HOST_SUBDIR)/mpfr && \
14091 $(MAKE) $(EXTRA_HOST_FLAGS) \
14092 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14093 @endif mpfr-bootstrap
14094
14095
14096 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14097 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14098 maybe-all-stage2-mpfr:
14099 maybe-clean-stage2-mpfr:
14100 @if mpfr-bootstrap
14101 maybe-all-stage2-mpfr: all-stage2-mpfr
14102 all-stage2: all-stage2-mpfr
14103 TARGET-stage2-mpfr = $(TARGET-mpfr)
14104 all-stage2-mpfr: configure-stage2-mpfr
14105 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14106 @r=`${PWD_COMMAND}`; export r; \
14107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14108 TFLAGS="$(STAGE2_TFLAGS)"; \
14109 $(HOST_EXPORTS) \
14110 $(POSTSTAGE1_HOST_EXPORTS) \
14111 cd $(HOST_SUBDIR)/mpfr && \
14112 \
14113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14114 CFLAGS="$(STAGE2_CFLAGS)" \
14115 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14116 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14117 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14122 TFLAGS="$(STAGE2_TFLAGS)" \
14123 $(TARGET-stage2-mpfr)
14124
14125 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14126 clean-stage2: clean-stage2-mpfr
14127 clean-stage2-mpfr:
14128 @if [ $(current_stage) = stage2 ]; then \
14129 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14130 else \
14131 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14132 $(MAKE) stage2-start; \
14133 fi; \
14134 cd $(HOST_SUBDIR)/mpfr && \
14135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14136 @endif mpfr-bootstrap
14137
14138
14139 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14140 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14141 maybe-all-stage3-mpfr:
14142 maybe-clean-stage3-mpfr:
14143 @if mpfr-bootstrap
14144 maybe-all-stage3-mpfr: all-stage3-mpfr
14145 all-stage3: all-stage3-mpfr
14146 TARGET-stage3-mpfr = $(TARGET-mpfr)
14147 all-stage3-mpfr: configure-stage3-mpfr
14148 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14149 @r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 TFLAGS="$(STAGE3_TFLAGS)"; \
14152 $(HOST_EXPORTS) \
14153 $(POSTSTAGE1_HOST_EXPORTS) \
14154 cd $(HOST_SUBDIR)/mpfr && \
14155 \
14156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14157 CFLAGS="$(STAGE3_CFLAGS)" \
14158 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14159 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14160 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14165 TFLAGS="$(STAGE3_TFLAGS)" \
14166 $(TARGET-stage3-mpfr)
14167
14168 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14169 clean-stage3: clean-stage3-mpfr
14170 clean-stage3-mpfr:
14171 @if [ $(current_stage) = stage3 ]; then \
14172 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14173 else \
14174 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14175 $(MAKE) stage3-start; \
14176 fi; \
14177 cd $(HOST_SUBDIR)/mpfr && \
14178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14179 @endif mpfr-bootstrap
14180
14181
14182 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14183 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14184 maybe-all-stage4-mpfr:
14185 maybe-clean-stage4-mpfr:
14186 @if mpfr-bootstrap
14187 maybe-all-stage4-mpfr: all-stage4-mpfr
14188 all-stage4: all-stage4-mpfr
14189 TARGET-stage4-mpfr = $(TARGET-mpfr)
14190 all-stage4-mpfr: configure-stage4-mpfr
14191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14192 @r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14194 TFLAGS="$(STAGE4_TFLAGS)"; \
14195 $(HOST_EXPORTS) \
14196 $(POSTSTAGE1_HOST_EXPORTS) \
14197 cd $(HOST_SUBDIR)/mpfr && \
14198 \
14199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14200 CFLAGS="$(STAGE4_CFLAGS)" \
14201 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14202 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14203 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14208 TFLAGS="$(STAGE4_TFLAGS)" \
14209 $(TARGET-stage4-mpfr)
14210
14211 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14212 clean-stage4: clean-stage4-mpfr
14213 clean-stage4-mpfr:
14214 @if [ $(current_stage) = stage4 ]; then \
14215 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14216 else \
14217 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14218 $(MAKE) stage4-start; \
14219 fi; \
14220 cd $(HOST_SUBDIR)/mpfr && \
14221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14222 @endif mpfr-bootstrap
14223
14224
14225 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14226 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14227 maybe-all-stageprofile-mpfr:
14228 maybe-clean-stageprofile-mpfr:
14229 @if mpfr-bootstrap
14230 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14231 all-stageprofile: all-stageprofile-mpfr
14232 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14233 all-stageprofile-mpfr: configure-stageprofile-mpfr
14234 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14235 @r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14237 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14238 $(HOST_EXPORTS) \
14239 $(POSTSTAGE1_HOST_EXPORTS) \
14240 cd $(HOST_SUBDIR)/mpfr && \
14241 \
14242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14243 CFLAGS="$(STAGEprofile_CFLAGS)" \
14244 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14245 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14246 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14251 TFLAGS="$(STAGEprofile_TFLAGS)" \
14252 $(TARGET-stageprofile-mpfr)
14253
14254 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14255 clean-stageprofile: clean-stageprofile-mpfr
14256 clean-stageprofile-mpfr:
14257 @if [ $(current_stage) = stageprofile ]; then \
14258 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14259 else \
14260 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14261 $(MAKE) stageprofile-start; \
14262 fi; \
14263 cd $(HOST_SUBDIR)/mpfr && \
14264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14265 @endif mpfr-bootstrap
14266
14267
14268 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14269 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14270 maybe-all-stagetrain-mpfr:
14271 maybe-clean-stagetrain-mpfr:
14272 @if mpfr-bootstrap
14273 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14274 all-stagetrain: all-stagetrain-mpfr
14275 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14276 all-stagetrain-mpfr: configure-stagetrain-mpfr
14277 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14278 @r=`${PWD_COMMAND}`; export r; \
14279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14281 $(HOST_EXPORTS) \
14282 $(POSTSTAGE1_HOST_EXPORTS) \
14283 cd $(HOST_SUBDIR)/mpfr && \
14284 \
14285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14286 CFLAGS="$(STAGEtrain_CFLAGS)" \
14287 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14288 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14289 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14294 TFLAGS="$(STAGEtrain_TFLAGS)" \
14295 $(TARGET-stagetrain-mpfr)
14296
14297 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14298 clean-stagetrain: clean-stagetrain-mpfr
14299 clean-stagetrain-mpfr:
14300 @if [ $(current_stage) = stagetrain ]; then \
14301 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14302 else \
14303 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14304 $(MAKE) stagetrain-start; \
14305 fi; \
14306 cd $(HOST_SUBDIR)/mpfr && \
14307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14308 @endif mpfr-bootstrap
14309
14310
14311 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14312 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14313 maybe-all-stagefeedback-mpfr:
14314 maybe-clean-stagefeedback-mpfr:
14315 @if mpfr-bootstrap
14316 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14317 all-stagefeedback: all-stagefeedback-mpfr
14318 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14319 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14321 @r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14324 $(HOST_EXPORTS) \
14325 $(POSTSTAGE1_HOST_EXPORTS) \
14326 cd $(HOST_SUBDIR)/mpfr && \
14327 \
14328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14329 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14330 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14331 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14332 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14337 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14338 $(TARGET-stagefeedback-mpfr)
14339
14340 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14341 clean-stagefeedback: clean-stagefeedback-mpfr
14342 clean-stagefeedback-mpfr:
14343 @if [ $(current_stage) = stagefeedback ]; then \
14344 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14345 else \
14346 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14347 $(MAKE) stagefeedback-start; \
14348 fi; \
14349 cd $(HOST_SUBDIR)/mpfr && \
14350 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14351 @endif mpfr-bootstrap
14352
14353
14354 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14355 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14356 maybe-all-stageautoprofile-mpfr:
14357 maybe-clean-stageautoprofile-mpfr:
14358 @if mpfr-bootstrap
14359 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14360 all-stageautoprofile: all-stageautoprofile-mpfr
14361 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14362 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14363 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14364 @r=`${PWD_COMMAND}`; export r; \
14365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14367 $(HOST_EXPORTS) \
14368 $(POSTSTAGE1_HOST_EXPORTS) \
14369 cd $(HOST_SUBDIR)/mpfr && \
14370 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14372 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14373 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14374 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14375 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14380 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14381 $(TARGET-stageautoprofile-mpfr)
14382
14383 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14384 clean-stageautoprofile: clean-stageautoprofile-mpfr
14385 clean-stageautoprofile-mpfr:
14386 @if [ $(current_stage) = stageautoprofile ]; then \
14387 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14388 else \
14389 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14390 $(MAKE) stageautoprofile-start; \
14391 fi; \
14392 cd $(HOST_SUBDIR)/mpfr && \
14393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14394 @endif mpfr-bootstrap
14395
14396
14397 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14398 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14399 maybe-all-stageautofeedback-mpfr:
14400 maybe-clean-stageautofeedback-mpfr:
14401 @if mpfr-bootstrap
14402 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14403 all-stageautofeedback: all-stageautofeedback-mpfr
14404 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14405 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14406 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14407 @r=`${PWD_COMMAND}`; export r; \
14408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14409 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14410 $(HOST_EXPORTS) \
14411 $(POSTSTAGE1_HOST_EXPORTS) \
14412 cd $(HOST_SUBDIR)/mpfr && \
14413 \
14414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14415 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14416 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14417 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14418 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14423 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14424 $(TARGET-stageautofeedback-mpfr)
14425
14426 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14427 clean-stageautofeedback: clean-stageautofeedback-mpfr
14428 clean-stageautofeedback-mpfr:
14429 @if [ $(current_stage) = stageautofeedback ]; then \
14430 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14431 else \
14432 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14433 $(MAKE) stageautofeedback-start; \
14434 fi; \
14435 cd $(HOST_SUBDIR)/mpfr && \
14436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14437 @endif mpfr-bootstrap
14438
14439
14440
14441
14442
14443 .PHONY: check-mpfr maybe-check-mpfr
14444 maybe-check-mpfr:
14445 @if mpfr
14446 maybe-check-mpfr: check-mpfr
14447
14448 check-mpfr:
14449 @: $(MAKE); $(unstage)
14450 @r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14453 (cd $(HOST_SUBDIR)/mpfr && \
14454 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14455
14456 @endif mpfr
14457
14458 .PHONY: install-mpfr maybe-install-mpfr
14459 maybe-install-mpfr:
14460 @if mpfr
14461 maybe-install-mpfr: install-mpfr
14462
14463 install-mpfr:
14464
14465 @endif mpfr
14466
14467 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14468 maybe-install-strip-mpfr:
14469 @if mpfr
14470 maybe-install-strip-mpfr: install-strip-mpfr
14471
14472 install-strip-mpfr:
14473
14474 @endif mpfr
14475
14476 # Other targets (info, dvi, pdf, etc.)
14477
14478 .PHONY: maybe-info-mpfr info-mpfr
14479 maybe-info-mpfr:
14480 @if mpfr
14481 maybe-info-mpfr: info-mpfr
14482
14483 info-mpfr: \
14484 configure-mpfr
14485 @[ -f ./mpfr/Makefile ] || exit 0; \
14486 r=`${PWD_COMMAND}`; export r; \
14487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14488 $(HOST_EXPORTS) \
14489 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14491 done; \
14492 echo "Doing info in mpfr"; \
14493 (cd $(HOST_SUBDIR)/mpfr && \
14494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14496 "RANLIB=$${RANLIB}" \
14497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14498 info) \
14499 || exit 1
14500
14501 @endif mpfr
14502
14503 .PHONY: maybe-dvi-mpfr dvi-mpfr
14504 maybe-dvi-mpfr:
14505 @if mpfr
14506 maybe-dvi-mpfr: dvi-mpfr
14507
14508 dvi-mpfr: \
14509 configure-mpfr
14510 @[ -f ./mpfr/Makefile ] || exit 0; \
14511 r=`${PWD_COMMAND}`; export r; \
14512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14513 $(HOST_EXPORTS) \
14514 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14516 done; \
14517 echo "Doing dvi in mpfr"; \
14518 (cd $(HOST_SUBDIR)/mpfr && \
14519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14521 "RANLIB=$${RANLIB}" \
14522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14523 dvi) \
14524 || exit 1
14525
14526 @endif mpfr
14527
14528 .PHONY: maybe-pdf-mpfr pdf-mpfr
14529 maybe-pdf-mpfr:
14530 @if mpfr
14531 maybe-pdf-mpfr: pdf-mpfr
14532
14533 pdf-mpfr: \
14534 configure-mpfr
14535 @[ -f ./mpfr/Makefile ] || exit 0; \
14536 r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14541 done; \
14542 echo "Doing pdf in mpfr"; \
14543 (cd $(HOST_SUBDIR)/mpfr && \
14544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546 "RANLIB=$${RANLIB}" \
14547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14548 pdf) \
14549 || exit 1
14550
14551 @endif mpfr
14552
14553 .PHONY: maybe-html-mpfr html-mpfr
14554 maybe-html-mpfr:
14555 @if mpfr
14556 maybe-html-mpfr: html-mpfr
14557
14558 html-mpfr: \
14559 configure-mpfr
14560 @[ -f ./mpfr/Makefile ] || exit 0; \
14561 r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563 $(HOST_EXPORTS) \
14564 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14566 done; \
14567 echo "Doing html in mpfr"; \
14568 (cd $(HOST_SUBDIR)/mpfr && \
14569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14571 "RANLIB=$${RANLIB}" \
14572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14573 html) \
14574 || exit 1
14575
14576 @endif mpfr
14577
14578 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14579 maybe-TAGS-mpfr:
14580 @if mpfr
14581 maybe-TAGS-mpfr: TAGS-mpfr
14582
14583 TAGS-mpfr: \
14584 configure-mpfr
14585 @[ -f ./mpfr/Makefile ] || exit 0; \
14586 r=`${PWD_COMMAND}`; export r; \
14587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14588 $(HOST_EXPORTS) \
14589 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14591 done; \
14592 echo "Doing TAGS in mpfr"; \
14593 (cd $(HOST_SUBDIR)/mpfr && \
14594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14596 "RANLIB=$${RANLIB}" \
14597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14598 TAGS) \
14599 || exit 1
14600
14601 @endif mpfr
14602
14603 .PHONY: maybe-install-info-mpfr install-info-mpfr
14604 maybe-install-info-mpfr:
14605 @if mpfr
14606 maybe-install-info-mpfr: install-info-mpfr
14607
14608 install-info-mpfr: \
14609 configure-mpfr \
14610 info-mpfr
14611 @[ -f ./mpfr/Makefile ] || exit 0; \
14612 r=`${PWD_COMMAND}`; export r; \
14613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14614 $(HOST_EXPORTS) \
14615 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14617 done; \
14618 echo "Doing install-info in mpfr"; \
14619 (cd $(HOST_SUBDIR)/mpfr && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622 "RANLIB=$${RANLIB}" \
14623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14624 install-info) \
14625 || exit 1
14626
14627 @endif mpfr
14628
14629 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14630 maybe-install-pdf-mpfr:
14631 @if mpfr
14632 maybe-install-pdf-mpfr: install-pdf-mpfr
14633
14634 install-pdf-mpfr: \
14635 configure-mpfr \
14636 pdf-mpfr
14637 @[ -f ./mpfr/Makefile ] || exit 0; \
14638 r=`${PWD_COMMAND}`; export r; \
14639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14640 $(HOST_EXPORTS) \
14641 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14643 done; \
14644 echo "Doing install-pdf in mpfr"; \
14645 (cd $(HOST_SUBDIR)/mpfr && \
14646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14648 "RANLIB=$${RANLIB}" \
14649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14650 install-pdf) \
14651 || exit 1
14652
14653 @endif mpfr
14654
14655 .PHONY: maybe-install-html-mpfr install-html-mpfr
14656 maybe-install-html-mpfr:
14657 @if mpfr
14658 maybe-install-html-mpfr: install-html-mpfr
14659
14660 install-html-mpfr: \
14661 configure-mpfr \
14662 html-mpfr
14663 @[ -f ./mpfr/Makefile ] || exit 0; \
14664 r=`${PWD_COMMAND}`; export r; \
14665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 $(HOST_EXPORTS) \
14667 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14669 done; \
14670 echo "Doing install-html in mpfr"; \
14671 (cd $(HOST_SUBDIR)/mpfr && \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14674 "RANLIB=$${RANLIB}" \
14675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14676 install-html) \
14677 || exit 1
14678
14679 @endif mpfr
14680
14681 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14682 maybe-installcheck-mpfr:
14683 @if mpfr
14684 maybe-installcheck-mpfr: installcheck-mpfr
14685
14686 installcheck-mpfr: \
14687 configure-mpfr
14688 @[ -f ./mpfr/Makefile ] || exit 0; \
14689 r=`${PWD_COMMAND}`; export r; \
14690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14691 $(HOST_EXPORTS) \
14692 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14694 done; \
14695 echo "Doing installcheck in mpfr"; \
14696 (cd $(HOST_SUBDIR)/mpfr && \
14697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14699 "RANLIB=$${RANLIB}" \
14700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14701 installcheck) \
14702 || exit 1
14703
14704 @endif mpfr
14705
14706 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14707 maybe-mostlyclean-mpfr:
14708 @if mpfr
14709 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14710
14711 mostlyclean-mpfr:
14712 @[ -f ./mpfr/Makefile ] || exit 0; \
14713 r=`${PWD_COMMAND}`; export r; \
14714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14715 $(HOST_EXPORTS) \
14716 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718 done; \
14719 echo "Doing mostlyclean in mpfr"; \
14720 (cd $(HOST_SUBDIR)/mpfr && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14725 mostlyclean) \
14726 || exit 1
14727
14728 @endif mpfr
14729
14730 .PHONY: maybe-clean-mpfr clean-mpfr
14731 maybe-clean-mpfr:
14732 @if mpfr
14733 maybe-clean-mpfr: clean-mpfr
14734
14735 clean-mpfr:
14736 @[ -f ./mpfr/Makefile ] || exit 0; \
14737 r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(HOST_EXPORTS) \
14740 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14742 done; \
14743 echo "Doing clean in mpfr"; \
14744 (cd $(HOST_SUBDIR)/mpfr && \
14745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14747 "RANLIB=$${RANLIB}" \
14748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14749 clean) \
14750 || exit 1
14751
14752 @endif mpfr
14753
14754 .PHONY: maybe-distclean-mpfr distclean-mpfr
14755 maybe-distclean-mpfr:
14756 @if mpfr
14757 maybe-distclean-mpfr: distclean-mpfr
14758
14759 distclean-mpfr:
14760 @[ -f ./mpfr/Makefile ] || exit 0; \
14761 r=`${PWD_COMMAND}`; export r; \
14762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14763 $(HOST_EXPORTS) \
14764 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14766 done; \
14767 echo "Doing distclean in mpfr"; \
14768 (cd $(HOST_SUBDIR)/mpfr && \
14769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14771 "RANLIB=$${RANLIB}" \
14772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14773 distclean) \
14774 || exit 1
14775
14776 @endif mpfr
14777
14778 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14779 maybe-maintainer-clean-mpfr:
14780 @if mpfr
14781 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14782
14783 maintainer-clean-mpfr:
14784 @[ -f ./mpfr/Makefile ] || exit 0; \
14785 r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 $(HOST_EXPORTS) \
14788 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790 done; \
14791 echo "Doing maintainer-clean in mpfr"; \
14792 (cd $(HOST_SUBDIR)/mpfr && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14797 maintainer-clean) \
14798 || exit 1
14799
14800 @endif mpfr
14801
14802
14803
14804 .PHONY: configure-mpc maybe-configure-mpc
14805 maybe-configure-mpc:
14806 @if gcc-bootstrap
14807 configure-mpc: stage_current
14808 @endif gcc-bootstrap
14809 @if mpc
14810 maybe-configure-mpc: configure-mpc
14811 configure-mpc:
14812 @r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14816 $(HOST_EXPORTS) \
14817 echo Configuring in $(HOST_SUBDIR)/mpc; \
14818 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14819 case $(srcdir) in \
14820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14821 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14823 esac; \
14824 module_srcdir=mpc; \
14825 $(SHELL) \
14826 $$s/$$module_srcdir/configure \
14827 --srcdir=$${topdir}/$$module_srcdir \
14828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14829 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14830 || exit 1
14831 @endif mpc
14832
14833
14834
14835 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14836 maybe-configure-stage1-mpc:
14837 @if mpc-bootstrap
14838 maybe-configure-stage1-mpc: configure-stage1-mpc
14839 configure-stage1-mpc:
14840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14842 @r=`${PWD_COMMAND}`; export r; \
14843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14844 TFLAGS="$(STAGE1_TFLAGS)"; \
14845 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14846 $(HOST_EXPORTS) \
14847 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14848 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14849 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14850 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14852 cd $(HOST_SUBDIR)/mpc || exit 1; \
14853 case $(srcdir) in \
14854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14855 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14857 esac; \
14858 module_srcdir=mpc; \
14859 $(SHELL) $$s/$$module_srcdir/configure \
14860 --srcdir=$${topdir}/$$module_srcdir \
14861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14862 --target=${target_alias} \
14863 \
14864 $(STAGE1_CONFIGURE_FLAGS) \
14865 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14866 @endif mpc-bootstrap
14867
14868 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14869 maybe-configure-stage2-mpc:
14870 @if mpc-bootstrap
14871 maybe-configure-stage2-mpc: configure-stage2-mpc
14872 configure-stage2-mpc:
14873 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14875 @r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 TFLAGS="$(STAGE2_TFLAGS)"; \
14878 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14879 $(HOST_EXPORTS) \
14880 $(POSTSTAGE1_HOST_EXPORTS) \
14881 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14882 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14883 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14884 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14886 cd $(HOST_SUBDIR)/mpc || exit 1; \
14887 case $(srcdir) in \
14888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14889 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14891 esac; \
14892 module_srcdir=mpc; \
14893 $(SHELL) $$s/$$module_srcdir/configure \
14894 --srcdir=$${topdir}/$$module_srcdir \
14895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14896 --target=${target_alias} \
14897 --with-build-libsubdir=$(HOST_SUBDIR) \
14898 $(STAGE2_CONFIGURE_FLAGS) \
14899 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14900 @endif mpc-bootstrap
14901
14902 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14903 maybe-configure-stage3-mpc:
14904 @if mpc-bootstrap
14905 maybe-configure-stage3-mpc: configure-stage3-mpc
14906 configure-stage3-mpc:
14907 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14909 @r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 TFLAGS="$(STAGE3_TFLAGS)"; \
14912 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14913 $(HOST_EXPORTS) \
14914 $(POSTSTAGE1_HOST_EXPORTS) \
14915 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14916 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14917 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14918 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14920 cd $(HOST_SUBDIR)/mpc || exit 1; \
14921 case $(srcdir) in \
14922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14923 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14925 esac; \
14926 module_srcdir=mpc; \
14927 $(SHELL) $$s/$$module_srcdir/configure \
14928 --srcdir=$${topdir}/$$module_srcdir \
14929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14930 --target=${target_alias} \
14931 --with-build-libsubdir=$(HOST_SUBDIR) \
14932 $(STAGE3_CONFIGURE_FLAGS) \
14933 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14934 @endif mpc-bootstrap
14935
14936 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14937 maybe-configure-stage4-mpc:
14938 @if mpc-bootstrap
14939 maybe-configure-stage4-mpc: configure-stage4-mpc
14940 configure-stage4-mpc:
14941 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14943 @r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 TFLAGS="$(STAGE4_TFLAGS)"; \
14946 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14947 $(HOST_EXPORTS) \
14948 $(POSTSTAGE1_HOST_EXPORTS) \
14949 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14950 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14951 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14952 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14954 cd $(HOST_SUBDIR)/mpc || exit 1; \
14955 case $(srcdir) in \
14956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14957 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14959 esac; \
14960 module_srcdir=mpc; \
14961 $(SHELL) $$s/$$module_srcdir/configure \
14962 --srcdir=$${topdir}/$$module_srcdir \
14963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14964 --target=${target_alias} \
14965 --with-build-libsubdir=$(HOST_SUBDIR) \
14966 $(STAGE4_CONFIGURE_FLAGS) \
14967 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14968 @endif mpc-bootstrap
14969
14970 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14971 maybe-configure-stageprofile-mpc:
14972 @if mpc-bootstrap
14973 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14974 configure-stageprofile-mpc:
14975 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14977 @r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14980 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14981 $(HOST_EXPORTS) \
14982 $(POSTSTAGE1_HOST_EXPORTS) \
14983 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14984 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14985 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14986 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14988 cd $(HOST_SUBDIR)/mpc || exit 1; \
14989 case $(srcdir) in \
14990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14991 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14993 esac; \
14994 module_srcdir=mpc; \
14995 $(SHELL) $$s/$$module_srcdir/configure \
14996 --srcdir=$${topdir}/$$module_srcdir \
14997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14998 --target=${target_alias} \
14999 --with-build-libsubdir=$(HOST_SUBDIR) \
15000 $(STAGEprofile_CONFIGURE_FLAGS) \
15001 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15002 @endif mpc-bootstrap
15003
15004 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15005 maybe-configure-stagetrain-mpc:
15006 @if mpc-bootstrap
15007 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15008 configure-stagetrain-mpc:
15009 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15011 @r=`${PWD_COMMAND}`; export r; \
15012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15013 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15014 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15015 $(HOST_EXPORTS) \
15016 $(POSTSTAGE1_HOST_EXPORTS) \
15017 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15018 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15019 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15020 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15022 cd $(HOST_SUBDIR)/mpc || exit 1; \
15023 case $(srcdir) in \
15024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15025 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15027 esac; \
15028 module_srcdir=mpc; \
15029 $(SHELL) $$s/$$module_srcdir/configure \
15030 --srcdir=$${topdir}/$$module_srcdir \
15031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15032 --target=${target_alias} \
15033 --with-build-libsubdir=$(HOST_SUBDIR) \
15034 $(STAGEtrain_CONFIGURE_FLAGS) \
15035 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15036 @endif mpc-bootstrap
15037
15038 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15039 maybe-configure-stagefeedback-mpc:
15040 @if mpc-bootstrap
15041 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15042 configure-stagefeedback-mpc:
15043 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15045 @r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15048 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15049 $(HOST_EXPORTS) \
15050 $(POSTSTAGE1_HOST_EXPORTS) \
15051 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15052 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15053 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15054 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15056 cd $(HOST_SUBDIR)/mpc || exit 1; \
15057 case $(srcdir) in \
15058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15059 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15061 esac; \
15062 module_srcdir=mpc; \
15063 $(SHELL) $$s/$$module_srcdir/configure \
15064 --srcdir=$${topdir}/$$module_srcdir \
15065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15066 --target=${target_alias} \
15067 --with-build-libsubdir=$(HOST_SUBDIR) \
15068 $(STAGEfeedback_CONFIGURE_FLAGS) \
15069 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15070 @endif mpc-bootstrap
15071
15072 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15073 maybe-configure-stageautoprofile-mpc:
15074 @if mpc-bootstrap
15075 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15076 configure-stageautoprofile-mpc:
15077 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15079 @r=`${PWD_COMMAND}`; export r; \
15080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15081 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15082 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15083 $(HOST_EXPORTS) \
15084 $(POSTSTAGE1_HOST_EXPORTS) \
15085 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15086 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15087 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15088 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15090 cd $(HOST_SUBDIR)/mpc || exit 1; \
15091 case $(srcdir) in \
15092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15093 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15095 esac; \
15096 module_srcdir=mpc; \
15097 $(SHELL) $$s/$$module_srcdir/configure \
15098 --srcdir=$${topdir}/$$module_srcdir \
15099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15100 --target=${target_alias} \
15101 --with-build-libsubdir=$(HOST_SUBDIR) \
15102 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15103 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15104 @endif mpc-bootstrap
15105
15106 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15107 maybe-configure-stageautofeedback-mpc:
15108 @if mpc-bootstrap
15109 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15110 configure-stageautofeedback-mpc:
15111 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15112 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15113 @r=`${PWD_COMMAND}`; export r; \
15114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15115 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15116 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15117 $(HOST_EXPORTS) \
15118 $(POSTSTAGE1_HOST_EXPORTS) \
15119 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15120 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15121 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15122 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15124 cd $(HOST_SUBDIR)/mpc || exit 1; \
15125 case $(srcdir) in \
15126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15127 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15129 esac; \
15130 module_srcdir=mpc; \
15131 $(SHELL) $$s/$$module_srcdir/configure \
15132 --srcdir=$${topdir}/$$module_srcdir \
15133 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15134 --target=${target_alias} \
15135 --with-build-libsubdir=$(HOST_SUBDIR) \
15136 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15137 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15138 @endif mpc-bootstrap
15139
15140
15141
15142
15143
15144 .PHONY: all-mpc maybe-all-mpc
15145 maybe-all-mpc:
15146 @if gcc-bootstrap
15147 all-mpc: stage_current
15148 @endif gcc-bootstrap
15149 @if mpc
15150 TARGET-mpc=all
15151 maybe-all-mpc: all-mpc
15152 all-mpc: configure-mpc
15153 @r=`${PWD_COMMAND}`; export r; \
15154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15155 $(HOST_EXPORTS) \
15156 (cd $(HOST_SUBDIR)/mpc && \
15157 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15158 $(TARGET-mpc))
15159 @endif mpc
15160
15161
15162
15163 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15164 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15165 maybe-all-stage1-mpc:
15166 maybe-clean-stage1-mpc:
15167 @if mpc-bootstrap
15168 maybe-all-stage1-mpc: all-stage1-mpc
15169 all-stage1: all-stage1-mpc
15170 TARGET-stage1-mpc = $(TARGET-mpc)
15171 all-stage1-mpc: configure-stage1-mpc
15172 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 TFLAGS="$(STAGE1_TFLAGS)"; \
15176 $(HOST_EXPORTS) \
15177 cd $(HOST_SUBDIR)/mpc && \
15178 \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15180 CFLAGS="$(STAGE1_CFLAGS)" \
15181 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15182 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15183 LIBCFLAGS="$(LIBCFLAGS)" \
15184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15187 $(EXTRA_HOST_FLAGS) \
15188 $(STAGE1_FLAGS_TO_PASS) \
15189 TFLAGS="$(STAGE1_TFLAGS)" \
15190 $(TARGET-stage1-mpc)
15191
15192 maybe-clean-stage1-mpc: clean-stage1-mpc
15193 clean-stage1: clean-stage1-mpc
15194 clean-stage1-mpc:
15195 @if [ $(current_stage) = stage1 ]; then \
15196 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15197 else \
15198 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15199 $(MAKE) stage1-start; \
15200 fi; \
15201 cd $(HOST_SUBDIR)/mpc && \
15202 $(MAKE) $(EXTRA_HOST_FLAGS) \
15203 $(STAGE1_FLAGS_TO_PASS) clean
15204 @endif mpc-bootstrap
15205
15206
15207 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15208 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15209 maybe-all-stage2-mpc:
15210 maybe-clean-stage2-mpc:
15211 @if mpc-bootstrap
15212 maybe-all-stage2-mpc: all-stage2-mpc
15213 all-stage2: all-stage2-mpc
15214 TARGET-stage2-mpc = $(TARGET-mpc)
15215 all-stage2-mpc: configure-stage2-mpc
15216 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15217 @r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 TFLAGS="$(STAGE2_TFLAGS)"; \
15220 $(HOST_EXPORTS) \
15221 $(POSTSTAGE1_HOST_EXPORTS) \
15222 cd $(HOST_SUBDIR)/mpc && \
15223 \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15225 CFLAGS="$(STAGE2_CFLAGS)" \
15226 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15227 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15228 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15233 TFLAGS="$(STAGE2_TFLAGS)" \
15234 $(TARGET-stage2-mpc)
15235
15236 maybe-clean-stage2-mpc: clean-stage2-mpc
15237 clean-stage2: clean-stage2-mpc
15238 clean-stage2-mpc:
15239 @if [ $(current_stage) = stage2 ]; then \
15240 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15241 else \
15242 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15243 $(MAKE) stage2-start; \
15244 fi; \
15245 cd $(HOST_SUBDIR)/mpc && \
15246 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15247 @endif mpc-bootstrap
15248
15249
15250 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15251 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15252 maybe-all-stage3-mpc:
15253 maybe-clean-stage3-mpc:
15254 @if mpc-bootstrap
15255 maybe-all-stage3-mpc: all-stage3-mpc
15256 all-stage3: all-stage3-mpc
15257 TARGET-stage3-mpc = $(TARGET-mpc)
15258 all-stage3-mpc: configure-stage3-mpc
15259 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15260 @r=`${PWD_COMMAND}`; export r; \
15261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15262 TFLAGS="$(STAGE3_TFLAGS)"; \
15263 $(HOST_EXPORTS) \
15264 $(POSTSTAGE1_HOST_EXPORTS) \
15265 cd $(HOST_SUBDIR)/mpc && \
15266 \
15267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15268 CFLAGS="$(STAGE3_CFLAGS)" \
15269 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15270 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15271 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15275 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15276 TFLAGS="$(STAGE3_TFLAGS)" \
15277 $(TARGET-stage3-mpc)
15278
15279 maybe-clean-stage3-mpc: clean-stage3-mpc
15280 clean-stage3: clean-stage3-mpc
15281 clean-stage3-mpc:
15282 @if [ $(current_stage) = stage3 ]; then \
15283 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15284 else \
15285 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15286 $(MAKE) stage3-start; \
15287 fi; \
15288 cd $(HOST_SUBDIR)/mpc && \
15289 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15290 @endif mpc-bootstrap
15291
15292
15293 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15294 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15295 maybe-all-stage4-mpc:
15296 maybe-clean-stage4-mpc:
15297 @if mpc-bootstrap
15298 maybe-all-stage4-mpc: all-stage4-mpc
15299 all-stage4: all-stage4-mpc
15300 TARGET-stage4-mpc = $(TARGET-mpc)
15301 all-stage4-mpc: configure-stage4-mpc
15302 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15303 @r=`${PWD_COMMAND}`; export r; \
15304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15305 TFLAGS="$(STAGE4_TFLAGS)"; \
15306 $(HOST_EXPORTS) \
15307 $(POSTSTAGE1_HOST_EXPORTS) \
15308 cd $(HOST_SUBDIR)/mpc && \
15309 \
15310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15311 CFLAGS="$(STAGE4_CFLAGS)" \
15312 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15313 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15314 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15319 TFLAGS="$(STAGE4_TFLAGS)" \
15320 $(TARGET-stage4-mpc)
15321
15322 maybe-clean-stage4-mpc: clean-stage4-mpc
15323 clean-stage4: clean-stage4-mpc
15324 clean-stage4-mpc:
15325 @if [ $(current_stage) = stage4 ]; then \
15326 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15327 else \
15328 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15329 $(MAKE) stage4-start; \
15330 fi; \
15331 cd $(HOST_SUBDIR)/mpc && \
15332 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15333 @endif mpc-bootstrap
15334
15335
15336 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15337 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15338 maybe-all-stageprofile-mpc:
15339 maybe-clean-stageprofile-mpc:
15340 @if mpc-bootstrap
15341 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15342 all-stageprofile: all-stageprofile-mpc
15343 TARGET-stageprofile-mpc = $(TARGET-mpc)
15344 all-stageprofile-mpc: configure-stageprofile-mpc
15345 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15346 @r=`${PWD_COMMAND}`; export r; \
15347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15349 $(HOST_EXPORTS) \
15350 $(POSTSTAGE1_HOST_EXPORTS) \
15351 cd $(HOST_SUBDIR)/mpc && \
15352 \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15354 CFLAGS="$(STAGEprofile_CFLAGS)" \
15355 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15356 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15357 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15362 TFLAGS="$(STAGEprofile_TFLAGS)" \
15363 $(TARGET-stageprofile-mpc)
15364
15365 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15366 clean-stageprofile: clean-stageprofile-mpc
15367 clean-stageprofile-mpc:
15368 @if [ $(current_stage) = stageprofile ]; then \
15369 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15370 else \
15371 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15372 $(MAKE) stageprofile-start; \
15373 fi; \
15374 cd $(HOST_SUBDIR)/mpc && \
15375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15376 @endif mpc-bootstrap
15377
15378
15379 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15380 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15381 maybe-all-stagetrain-mpc:
15382 maybe-clean-stagetrain-mpc:
15383 @if mpc-bootstrap
15384 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15385 all-stagetrain: all-stagetrain-mpc
15386 TARGET-stagetrain-mpc = $(TARGET-mpc)
15387 all-stagetrain-mpc: configure-stagetrain-mpc
15388 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15389 @r=`${PWD_COMMAND}`; export r; \
15390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15391 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15392 $(HOST_EXPORTS) \
15393 $(POSTSTAGE1_HOST_EXPORTS) \
15394 cd $(HOST_SUBDIR)/mpc && \
15395 \
15396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15397 CFLAGS="$(STAGEtrain_CFLAGS)" \
15398 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
15399 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15400 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15405 TFLAGS="$(STAGEtrain_TFLAGS)" \
15406 $(TARGET-stagetrain-mpc)
15407
15408 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15409 clean-stagetrain: clean-stagetrain-mpc
15410 clean-stagetrain-mpc:
15411 @if [ $(current_stage) = stagetrain ]; then \
15412 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15413 else \
15414 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15415 $(MAKE) stagetrain-start; \
15416 fi; \
15417 cd $(HOST_SUBDIR)/mpc && \
15418 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15419 @endif mpc-bootstrap
15420
15421
15422 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15423 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15424 maybe-all-stagefeedback-mpc:
15425 maybe-clean-stagefeedback-mpc:
15426 @if mpc-bootstrap
15427 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15428 all-stagefeedback: all-stagefeedback-mpc
15429 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15430 all-stagefeedback-mpc: configure-stagefeedback-mpc
15431 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15432 @r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15435 $(HOST_EXPORTS) \
15436 $(POSTSTAGE1_HOST_EXPORTS) \
15437 cd $(HOST_SUBDIR)/mpc && \
15438 \
15439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15440 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15441 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
15442 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15443 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15448 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15449 $(TARGET-stagefeedback-mpc)
15450
15451 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15452 clean-stagefeedback: clean-stagefeedback-mpc
15453 clean-stagefeedback-mpc:
15454 @if [ $(current_stage) = stagefeedback ]; then \
15455 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15456 else \
15457 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15458 $(MAKE) stagefeedback-start; \
15459 fi; \
15460 cd $(HOST_SUBDIR)/mpc && \
15461 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15462 @endif mpc-bootstrap
15463
15464
15465 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15466 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15467 maybe-all-stageautoprofile-mpc:
15468 maybe-clean-stageautoprofile-mpc:
15469 @if mpc-bootstrap
15470 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15471 all-stageautoprofile: all-stageautoprofile-mpc
15472 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15473 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15474 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15475 @r=`${PWD_COMMAND}`; export r; \
15476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15477 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15478 $(HOST_EXPORTS) \
15479 $(POSTSTAGE1_HOST_EXPORTS) \
15480 cd $(HOST_SUBDIR)/mpc && \
15481 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15483 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15484 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
15485 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15486 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15491 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15492 $(TARGET-stageautoprofile-mpc)
15493
15494 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15495 clean-stageautoprofile: clean-stageautoprofile-mpc
15496 clean-stageautoprofile-mpc:
15497 @if [ $(current_stage) = stageautoprofile ]; then \
15498 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15499 else \
15500 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15501 $(MAKE) stageautoprofile-start; \
15502 fi; \
15503 cd $(HOST_SUBDIR)/mpc && \
15504 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15505 @endif mpc-bootstrap
15506
15507
15508 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15509 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15510 maybe-all-stageautofeedback-mpc:
15511 maybe-clean-stageautofeedback-mpc:
15512 @if mpc-bootstrap
15513 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15514 all-stageautofeedback: all-stageautofeedback-mpc
15515 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15516 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15517 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15518 @r=`${PWD_COMMAND}`; export r; \
15519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15520 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15521 $(HOST_EXPORTS) \
15522 $(POSTSTAGE1_HOST_EXPORTS) \
15523 cd $(HOST_SUBDIR)/mpc && \
15524 \
15525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15526 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15527 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
15528 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15529 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15530 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15531 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15532 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15533 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15534 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15535 $(TARGET-stageautofeedback-mpc)
15536
15537 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15538 clean-stageautofeedback: clean-stageautofeedback-mpc
15539 clean-stageautofeedback-mpc:
15540 @if [ $(current_stage) = stageautofeedback ]; then \
15541 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15542 else \
15543 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15544 $(MAKE) stageautofeedback-start; \
15545 fi; \
15546 cd $(HOST_SUBDIR)/mpc && \
15547 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15548 @endif mpc-bootstrap
15549
15550
15551
15552
15553
15554 .PHONY: check-mpc maybe-check-mpc
15555 maybe-check-mpc:
15556 @if mpc
15557 maybe-check-mpc: check-mpc
15558
15559 check-mpc:
15560 @: $(MAKE); $(unstage)
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15564 (cd $(HOST_SUBDIR)/mpc && \
15565 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15566
15567 @endif mpc
15568
15569 .PHONY: install-mpc maybe-install-mpc
15570 maybe-install-mpc:
15571 @if mpc
15572 maybe-install-mpc: install-mpc
15573
15574 install-mpc:
15575
15576 @endif mpc
15577
15578 .PHONY: install-strip-mpc maybe-install-strip-mpc
15579 maybe-install-strip-mpc:
15580 @if mpc
15581 maybe-install-strip-mpc: install-strip-mpc
15582
15583 install-strip-mpc:
15584
15585 @endif mpc
15586
15587 # Other targets (info, dvi, pdf, etc.)
15588
15589 .PHONY: maybe-info-mpc info-mpc
15590 maybe-info-mpc:
15591 @if mpc
15592 maybe-info-mpc: info-mpc
15593
15594 info-mpc: \
15595 configure-mpc
15596 @[ -f ./mpc/Makefile ] || exit 0; \
15597 r=`${PWD_COMMAND}`; export r; \
15598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15599 $(HOST_EXPORTS) \
15600 for flag in $(EXTRA_HOST_FLAGS) ; do \
15601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15602 done; \
15603 echo "Doing info in mpc"; \
15604 (cd $(HOST_SUBDIR)/mpc && \
15605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15607 "RANLIB=$${RANLIB}" \
15608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15609 info) \
15610 || exit 1
15611
15612 @endif mpc
15613
15614 .PHONY: maybe-dvi-mpc dvi-mpc
15615 maybe-dvi-mpc:
15616 @if mpc
15617 maybe-dvi-mpc: dvi-mpc
15618
15619 dvi-mpc: \
15620 configure-mpc
15621 @[ -f ./mpc/Makefile ] || exit 0; \
15622 r=`${PWD_COMMAND}`; export r; \
15623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15624 $(HOST_EXPORTS) \
15625 for flag in $(EXTRA_HOST_FLAGS) ; do \
15626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15627 done; \
15628 echo "Doing dvi in mpc"; \
15629 (cd $(HOST_SUBDIR)/mpc && \
15630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15632 "RANLIB=$${RANLIB}" \
15633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15634 dvi) \
15635 || exit 1
15636
15637 @endif mpc
15638
15639 .PHONY: maybe-pdf-mpc pdf-mpc
15640 maybe-pdf-mpc:
15641 @if mpc
15642 maybe-pdf-mpc: pdf-mpc
15643
15644 pdf-mpc: \
15645 configure-mpc
15646 @[ -f ./mpc/Makefile ] || exit 0; \
15647 r=`${PWD_COMMAND}`; export r; \
15648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15649 $(HOST_EXPORTS) \
15650 for flag in $(EXTRA_HOST_FLAGS) ; do \
15651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15652 done; \
15653 echo "Doing pdf in mpc"; \
15654 (cd $(HOST_SUBDIR)/mpc && \
15655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15657 "RANLIB=$${RANLIB}" \
15658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15659 pdf) \
15660 || exit 1
15661
15662 @endif mpc
15663
15664 .PHONY: maybe-html-mpc html-mpc
15665 maybe-html-mpc:
15666 @if mpc
15667 maybe-html-mpc: html-mpc
15668
15669 html-mpc: \
15670 configure-mpc
15671 @[ -f ./mpc/Makefile ] || exit 0; \
15672 r=`${PWD_COMMAND}`; export r; \
15673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674 $(HOST_EXPORTS) \
15675 for flag in $(EXTRA_HOST_FLAGS) ; do \
15676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15677 done; \
15678 echo "Doing html in mpc"; \
15679 (cd $(HOST_SUBDIR)/mpc && \
15680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15682 "RANLIB=$${RANLIB}" \
15683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15684 html) \
15685 || exit 1
15686
15687 @endif mpc
15688
15689 .PHONY: maybe-TAGS-mpc TAGS-mpc
15690 maybe-TAGS-mpc:
15691 @if mpc
15692 maybe-TAGS-mpc: TAGS-mpc
15693
15694 TAGS-mpc: \
15695 configure-mpc
15696 @[ -f ./mpc/Makefile ] || exit 0; \
15697 r=`${PWD_COMMAND}`; export r; \
15698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15699 $(HOST_EXPORTS) \
15700 for flag in $(EXTRA_HOST_FLAGS) ; do \
15701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15702 done; \
15703 echo "Doing TAGS in mpc"; \
15704 (cd $(HOST_SUBDIR)/mpc && \
15705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15707 "RANLIB=$${RANLIB}" \
15708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15709 TAGS) \
15710 || exit 1
15711
15712 @endif mpc
15713
15714 .PHONY: maybe-install-info-mpc install-info-mpc
15715 maybe-install-info-mpc:
15716 @if mpc
15717 maybe-install-info-mpc: install-info-mpc
15718
15719 install-info-mpc: \
15720 configure-mpc \
15721 info-mpc
15722 @[ -f ./mpc/Makefile ] || exit 0; \
15723 r=`${PWD_COMMAND}`; export r; \
15724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15725 $(HOST_EXPORTS) \
15726 for flag in $(EXTRA_HOST_FLAGS) ; do \
15727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15728 done; \
15729 echo "Doing install-info in mpc"; \
15730 (cd $(HOST_SUBDIR)/mpc && \
15731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15733 "RANLIB=$${RANLIB}" \
15734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15735 install-info) \
15736 || exit 1
15737
15738 @endif mpc
15739
15740 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15741 maybe-install-pdf-mpc:
15742 @if mpc
15743 maybe-install-pdf-mpc: install-pdf-mpc
15744
15745 install-pdf-mpc: \
15746 configure-mpc \
15747 pdf-mpc
15748 @[ -f ./mpc/Makefile ] || exit 0; \
15749 r=`${PWD_COMMAND}`; export r; \
15750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15751 $(HOST_EXPORTS) \
15752 for flag in $(EXTRA_HOST_FLAGS) ; do \
15753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15754 done; \
15755 echo "Doing install-pdf in mpc"; \
15756 (cd $(HOST_SUBDIR)/mpc && \
15757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15759 "RANLIB=$${RANLIB}" \
15760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15761 install-pdf) \
15762 || exit 1
15763
15764 @endif mpc
15765
15766 .PHONY: maybe-install-html-mpc install-html-mpc
15767 maybe-install-html-mpc:
15768 @if mpc
15769 maybe-install-html-mpc: install-html-mpc
15770
15771 install-html-mpc: \
15772 configure-mpc \
15773 html-mpc
15774 @[ -f ./mpc/Makefile ] || exit 0; \
15775 r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 $(HOST_EXPORTS) \
15778 for flag in $(EXTRA_HOST_FLAGS) ; do \
15779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15780 done; \
15781 echo "Doing install-html in mpc"; \
15782 (cd $(HOST_SUBDIR)/mpc && \
15783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15785 "RANLIB=$${RANLIB}" \
15786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15787 install-html) \
15788 || exit 1
15789
15790 @endif mpc
15791
15792 .PHONY: maybe-installcheck-mpc installcheck-mpc
15793 maybe-installcheck-mpc:
15794 @if mpc
15795 maybe-installcheck-mpc: installcheck-mpc
15796
15797 installcheck-mpc: \
15798 configure-mpc
15799 @[ -f ./mpc/Makefile ] || exit 0; \
15800 r=`${PWD_COMMAND}`; export r; \
15801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15802 $(HOST_EXPORTS) \
15803 for flag in $(EXTRA_HOST_FLAGS) ; do \
15804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15805 done; \
15806 echo "Doing installcheck in mpc"; \
15807 (cd $(HOST_SUBDIR)/mpc && \
15808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15810 "RANLIB=$${RANLIB}" \
15811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15812 installcheck) \
15813 || exit 1
15814
15815 @endif mpc
15816
15817 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15818 maybe-mostlyclean-mpc:
15819 @if mpc
15820 maybe-mostlyclean-mpc: mostlyclean-mpc
15821
15822 mostlyclean-mpc:
15823 @[ -f ./mpc/Makefile ] || exit 0; \
15824 r=`${PWD_COMMAND}`; export r; \
15825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15826 $(HOST_EXPORTS) \
15827 for flag in $(EXTRA_HOST_FLAGS) ; do \
15828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15829 done; \
15830 echo "Doing mostlyclean in mpc"; \
15831 (cd $(HOST_SUBDIR)/mpc && \
15832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15834 "RANLIB=$${RANLIB}" \
15835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15836 mostlyclean) \
15837 || exit 1
15838
15839 @endif mpc
15840
15841 .PHONY: maybe-clean-mpc clean-mpc
15842 maybe-clean-mpc:
15843 @if mpc
15844 maybe-clean-mpc: clean-mpc
15845
15846 clean-mpc:
15847 @[ -f ./mpc/Makefile ] || exit 0; \
15848 r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(HOST_EXPORTS) \
15851 for flag in $(EXTRA_HOST_FLAGS) ; do \
15852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15853 done; \
15854 echo "Doing clean in mpc"; \
15855 (cd $(HOST_SUBDIR)/mpc && \
15856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15858 "RANLIB=$${RANLIB}" \
15859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15860 clean) \
15861 || exit 1
15862
15863 @endif mpc
15864
15865 .PHONY: maybe-distclean-mpc distclean-mpc
15866 maybe-distclean-mpc:
15867 @if mpc
15868 maybe-distclean-mpc: distclean-mpc
15869
15870 distclean-mpc:
15871 @[ -f ./mpc/Makefile ] || exit 0; \
15872 r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 $(HOST_EXPORTS) \
15875 for flag in $(EXTRA_HOST_FLAGS) ; do \
15876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15877 done; \
15878 echo "Doing distclean in mpc"; \
15879 (cd $(HOST_SUBDIR)/mpc && \
15880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15882 "RANLIB=$${RANLIB}" \
15883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15884 distclean) \
15885 || exit 1
15886
15887 @endif mpc
15888
15889 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15890 maybe-maintainer-clean-mpc:
15891 @if mpc
15892 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15893
15894 maintainer-clean-mpc:
15895 @[ -f ./mpc/Makefile ] || exit 0; \
15896 r=`${PWD_COMMAND}`; export r; \
15897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15898 $(HOST_EXPORTS) \
15899 for flag in $(EXTRA_HOST_FLAGS) ; do \
15900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15901 done; \
15902 echo "Doing maintainer-clean in mpc"; \
15903 (cd $(HOST_SUBDIR)/mpc && \
15904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15906 "RANLIB=$${RANLIB}" \
15907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15908 maintainer-clean) \
15909 || exit 1
15910
15911 @endif mpc
15912
15913
15914
15915 .PHONY: configure-isl maybe-configure-isl
15916 maybe-configure-isl:
15917 @if gcc-bootstrap
15918 configure-isl: stage_current
15919 @endif gcc-bootstrap
15920 @if isl
15921 maybe-configure-isl: configure-isl
15922 configure-isl:
15923 @r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15925 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15927 $(HOST_EXPORTS) \
15928 echo Configuring in $(HOST_SUBDIR)/isl; \
15929 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15930 case $(srcdir) in \
15931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15932 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15934 esac; \
15935 module_srcdir=isl; \
15936 $(SHELL) \
15937 $$s/$$module_srcdir/configure \
15938 --srcdir=$${topdir}/$$module_srcdir \
15939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15940 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15941 || exit 1
15942 @endif isl
15943
15944
15945
15946 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15947 maybe-configure-stage1-isl:
15948 @if isl-bootstrap
15949 maybe-configure-stage1-isl: configure-stage1-isl
15950 configure-stage1-isl:
15951 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15953 @r=`${PWD_COMMAND}`; export r; \
15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 TFLAGS="$(STAGE1_TFLAGS)"; \
15956 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15957 $(HOST_EXPORTS) \
15958 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15959 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15960 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15961 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15963 cd $(HOST_SUBDIR)/isl || exit 1; \
15964 case $(srcdir) in \
15965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15966 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15968 esac; \
15969 module_srcdir=isl; \
15970 $(SHELL) $$s/$$module_srcdir/configure \
15971 --srcdir=$${topdir}/$$module_srcdir \
15972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15973 --target=${target_alias} \
15974 \
15975 $(STAGE1_CONFIGURE_FLAGS) \
15976 --disable-shared @extra_isl_gmp_configure_flags@
15977 @endif isl-bootstrap
15978
15979 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15980 maybe-configure-stage2-isl:
15981 @if isl-bootstrap
15982 maybe-configure-stage2-isl: configure-stage2-isl
15983 configure-stage2-isl:
15984 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15986 @r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 TFLAGS="$(STAGE2_TFLAGS)"; \
15989 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15990 $(HOST_EXPORTS) \
15991 $(POSTSTAGE1_HOST_EXPORTS) \
15992 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15993 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15994 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15995 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15997 cd $(HOST_SUBDIR)/isl || exit 1; \
15998 case $(srcdir) in \
15999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16000 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16002 esac; \
16003 module_srcdir=isl; \
16004 $(SHELL) $$s/$$module_srcdir/configure \
16005 --srcdir=$${topdir}/$$module_srcdir \
16006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16007 --target=${target_alias} \
16008 --with-build-libsubdir=$(HOST_SUBDIR) \
16009 $(STAGE2_CONFIGURE_FLAGS) \
16010 --disable-shared @extra_isl_gmp_configure_flags@
16011 @endif isl-bootstrap
16012
16013 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16014 maybe-configure-stage3-isl:
16015 @if isl-bootstrap
16016 maybe-configure-stage3-isl: configure-stage3-isl
16017 configure-stage3-isl:
16018 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16020 @r=`${PWD_COMMAND}`; export r; \
16021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16022 TFLAGS="$(STAGE3_TFLAGS)"; \
16023 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16024 $(HOST_EXPORTS) \
16025 $(POSTSTAGE1_HOST_EXPORTS) \
16026 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16027 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16028 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16029 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16031 cd $(HOST_SUBDIR)/isl || exit 1; \
16032 case $(srcdir) in \
16033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16034 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16036 esac; \
16037 module_srcdir=isl; \
16038 $(SHELL) $$s/$$module_srcdir/configure \
16039 --srcdir=$${topdir}/$$module_srcdir \
16040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16041 --target=${target_alias} \
16042 --with-build-libsubdir=$(HOST_SUBDIR) \
16043 $(STAGE3_CONFIGURE_FLAGS) \
16044 --disable-shared @extra_isl_gmp_configure_flags@
16045 @endif isl-bootstrap
16046
16047 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16048 maybe-configure-stage4-isl:
16049 @if isl-bootstrap
16050 maybe-configure-stage4-isl: configure-stage4-isl
16051 configure-stage4-isl:
16052 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16054 @r=`${PWD_COMMAND}`; export r; \
16055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16056 TFLAGS="$(STAGE4_TFLAGS)"; \
16057 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16058 $(HOST_EXPORTS) \
16059 $(POSTSTAGE1_HOST_EXPORTS) \
16060 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16061 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16062 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16063 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16065 cd $(HOST_SUBDIR)/isl || exit 1; \
16066 case $(srcdir) in \
16067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16068 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16070 esac; \
16071 module_srcdir=isl; \
16072 $(SHELL) $$s/$$module_srcdir/configure \
16073 --srcdir=$${topdir}/$$module_srcdir \
16074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16075 --target=${target_alias} \
16076 --with-build-libsubdir=$(HOST_SUBDIR) \
16077 $(STAGE4_CONFIGURE_FLAGS) \
16078 --disable-shared @extra_isl_gmp_configure_flags@
16079 @endif isl-bootstrap
16080
16081 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16082 maybe-configure-stageprofile-isl:
16083 @if isl-bootstrap
16084 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16085 configure-stageprofile-isl:
16086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16088 @r=`${PWD_COMMAND}`; export r; \
16089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16090 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16091 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16092 $(HOST_EXPORTS) \
16093 $(POSTSTAGE1_HOST_EXPORTS) \
16094 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16095 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16096 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16097 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16099 cd $(HOST_SUBDIR)/isl || exit 1; \
16100 case $(srcdir) in \
16101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16102 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16104 esac; \
16105 module_srcdir=isl; \
16106 $(SHELL) $$s/$$module_srcdir/configure \
16107 --srcdir=$${topdir}/$$module_srcdir \
16108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16109 --target=${target_alias} \
16110 --with-build-libsubdir=$(HOST_SUBDIR) \
16111 $(STAGEprofile_CONFIGURE_FLAGS) \
16112 --disable-shared @extra_isl_gmp_configure_flags@
16113 @endif isl-bootstrap
16114
16115 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16116 maybe-configure-stagetrain-isl:
16117 @if isl-bootstrap
16118 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16119 configure-stagetrain-isl:
16120 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16122 @r=`${PWD_COMMAND}`; export r; \
16123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16124 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16125 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16126 $(HOST_EXPORTS) \
16127 $(POSTSTAGE1_HOST_EXPORTS) \
16128 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16129 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16130 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16131 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16133 cd $(HOST_SUBDIR)/isl || exit 1; \
16134 case $(srcdir) in \
16135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16136 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16138 esac; \
16139 module_srcdir=isl; \
16140 $(SHELL) $$s/$$module_srcdir/configure \
16141 --srcdir=$${topdir}/$$module_srcdir \
16142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16143 --target=${target_alias} \
16144 --with-build-libsubdir=$(HOST_SUBDIR) \
16145 $(STAGEtrain_CONFIGURE_FLAGS) \
16146 --disable-shared @extra_isl_gmp_configure_flags@
16147 @endif isl-bootstrap
16148
16149 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16150 maybe-configure-stagefeedback-isl:
16151 @if isl-bootstrap
16152 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16153 configure-stagefeedback-isl:
16154 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16156 @r=`${PWD_COMMAND}`; export r; \
16157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16158 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16159 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16160 $(HOST_EXPORTS) \
16161 $(POSTSTAGE1_HOST_EXPORTS) \
16162 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16163 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16164 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16165 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16167 cd $(HOST_SUBDIR)/isl || exit 1; \
16168 case $(srcdir) in \
16169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16170 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16172 esac; \
16173 module_srcdir=isl; \
16174 $(SHELL) $$s/$$module_srcdir/configure \
16175 --srcdir=$${topdir}/$$module_srcdir \
16176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16177 --target=${target_alias} \
16178 --with-build-libsubdir=$(HOST_SUBDIR) \
16179 $(STAGEfeedback_CONFIGURE_FLAGS) \
16180 --disable-shared @extra_isl_gmp_configure_flags@
16181 @endif isl-bootstrap
16182
16183 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16184 maybe-configure-stageautoprofile-isl:
16185 @if isl-bootstrap
16186 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16187 configure-stageautoprofile-isl:
16188 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16190 @r=`${PWD_COMMAND}`; export r; \
16191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16192 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16193 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16194 $(HOST_EXPORTS) \
16195 $(POSTSTAGE1_HOST_EXPORTS) \
16196 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16197 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16198 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16199 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16201 cd $(HOST_SUBDIR)/isl || exit 1; \
16202 case $(srcdir) in \
16203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16204 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16206 esac; \
16207 module_srcdir=isl; \
16208 $(SHELL) $$s/$$module_srcdir/configure \
16209 --srcdir=$${topdir}/$$module_srcdir \
16210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16211 --target=${target_alias} \
16212 --with-build-libsubdir=$(HOST_SUBDIR) \
16213 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16214 --disable-shared @extra_isl_gmp_configure_flags@
16215 @endif isl-bootstrap
16216
16217 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16218 maybe-configure-stageautofeedback-isl:
16219 @if isl-bootstrap
16220 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16221 configure-stageautofeedback-isl:
16222 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16223 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16224 @r=`${PWD_COMMAND}`; export r; \
16225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16226 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16227 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16228 $(HOST_EXPORTS) \
16229 $(POSTSTAGE1_HOST_EXPORTS) \
16230 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16231 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16232 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16233 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16235 cd $(HOST_SUBDIR)/isl || exit 1; \
16236 case $(srcdir) in \
16237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16238 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16240 esac; \
16241 module_srcdir=isl; \
16242 $(SHELL) $$s/$$module_srcdir/configure \
16243 --srcdir=$${topdir}/$$module_srcdir \
16244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16245 --target=${target_alias} \
16246 --with-build-libsubdir=$(HOST_SUBDIR) \
16247 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16248 --disable-shared @extra_isl_gmp_configure_flags@
16249 @endif isl-bootstrap
16250
16251
16252
16253
16254
16255 .PHONY: all-isl maybe-all-isl
16256 maybe-all-isl:
16257 @if gcc-bootstrap
16258 all-isl: stage_current
16259 @endif gcc-bootstrap
16260 @if isl
16261 TARGET-isl=all
16262 maybe-all-isl: all-isl
16263 all-isl: configure-isl
16264 @r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 $(HOST_EXPORTS) \
16267 (cd $(HOST_SUBDIR)/isl && \
16268 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16269 $(TARGET-isl))
16270 @endif isl
16271
16272
16273
16274 .PHONY: all-stage1-isl maybe-all-stage1-isl
16275 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16276 maybe-all-stage1-isl:
16277 maybe-clean-stage1-isl:
16278 @if isl-bootstrap
16279 maybe-all-stage1-isl: all-stage1-isl
16280 all-stage1: all-stage1-isl
16281 TARGET-stage1-isl = $(TARGET-isl)
16282 all-stage1-isl: configure-stage1-isl
16283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 TFLAGS="$(STAGE1_TFLAGS)"; \
16287 $(HOST_EXPORTS) \
16288 cd $(HOST_SUBDIR)/isl && \
16289 \
16290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16291 CFLAGS="$(STAGE1_CFLAGS)" \
16292 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16293 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16294 LIBCFLAGS="$(LIBCFLAGS)" \
16295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16298 $(EXTRA_HOST_FLAGS) \
16299 $(STAGE1_FLAGS_TO_PASS) V=1 \
16300 TFLAGS="$(STAGE1_TFLAGS)" \
16301 $(TARGET-stage1-isl)
16302
16303 maybe-clean-stage1-isl: clean-stage1-isl
16304 clean-stage1: clean-stage1-isl
16305 clean-stage1-isl:
16306 @if [ $(current_stage) = stage1 ]; then \
16307 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16308 else \
16309 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16310 $(MAKE) stage1-start; \
16311 fi; \
16312 cd $(HOST_SUBDIR)/isl && \
16313 $(MAKE) $(EXTRA_HOST_FLAGS) \
16314 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16315 @endif isl-bootstrap
16316
16317
16318 .PHONY: all-stage2-isl maybe-all-stage2-isl
16319 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16320 maybe-all-stage2-isl:
16321 maybe-clean-stage2-isl:
16322 @if isl-bootstrap
16323 maybe-all-stage2-isl: all-stage2-isl
16324 all-stage2: all-stage2-isl
16325 TARGET-stage2-isl = $(TARGET-isl)
16326 all-stage2-isl: configure-stage2-isl
16327 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16328 @r=`${PWD_COMMAND}`; export r; \
16329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16330 TFLAGS="$(STAGE2_TFLAGS)"; \
16331 $(HOST_EXPORTS) \
16332 $(POSTSTAGE1_HOST_EXPORTS) \
16333 cd $(HOST_SUBDIR)/isl && \
16334 \
16335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16336 CFLAGS="$(STAGE2_CFLAGS)" \
16337 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16338 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16339 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16344 TFLAGS="$(STAGE2_TFLAGS)" \
16345 $(TARGET-stage2-isl)
16346
16347 maybe-clean-stage2-isl: clean-stage2-isl
16348 clean-stage2: clean-stage2-isl
16349 clean-stage2-isl:
16350 @if [ $(current_stage) = stage2 ]; then \
16351 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16352 else \
16353 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16354 $(MAKE) stage2-start; \
16355 fi; \
16356 cd $(HOST_SUBDIR)/isl && \
16357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16358 @endif isl-bootstrap
16359
16360
16361 .PHONY: all-stage3-isl maybe-all-stage3-isl
16362 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16363 maybe-all-stage3-isl:
16364 maybe-clean-stage3-isl:
16365 @if isl-bootstrap
16366 maybe-all-stage3-isl: all-stage3-isl
16367 all-stage3: all-stage3-isl
16368 TARGET-stage3-isl = $(TARGET-isl)
16369 all-stage3-isl: configure-stage3-isl
16370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16371 @r=`${PWD_COMMAND}`; export r; \
16372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16373 TFLAGS="$(STAGE3_TFLAGS)"; \
16374 $(HOST_EXPORTS) \
16375 $(POSTSTAGE1_HOST_EXPORTS) \
16376 cd $(HOST_SUBDIR)/isl && \
16377 \
16378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16379 CFLAGS="$(STAGE3_CFLAGS)" \
16380 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
16381 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16382 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16383 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16384 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16385 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16386 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16387 TFLAGS="$(STAGE3_TFLAGS)" \
16388 $(TARGET-stage3-isl)
16389
16390 maybe-clean-stage3-isl: clean-stage3-isl
16391 clean-stage3: clean-stage3-isl
16392 clean-stage3-isl:
16393 @if [ $(current_stage) = stage3 ]; then \
16394 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16395 else \
16396 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16397 $(MAKE) stage3-start; \
16398 fi; \
16399 cd $(HOST_SUBDIR)/isl && \
16400 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16401 @endif isl-bootstrap
16402
16403
16404 .PHONY: all-stage4-isl maybe-all-stage4-isl
16405 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16406 maybe-all-stage4-isl:
16407 maybe-clean-stage4-isl:
16408 @if isl-bootstrap
16409 maybe-all-stage4-isl: all-stage4-isl
16410 all-stage4: all-stage4-isl
16411 TARGET-stage4-isl = $(TARGET-isl)
16412 all-stage4-isl: configure-stage4-isl
16413 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16414 @r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 TFLAGS="$(STAGE4_TFLAGS)"; \
16417 $(HOST_EXPORTS) \
16418 $(POSTSTAGE1_HOST_EXPORTS) \
16419 cd $(HOST_SUBDIR)/isl && \
16420 \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16422 CFLAGS="$(STAGE4_CFLAGS)" \
16423 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
16424 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16425 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16426 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16427 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16428 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16429 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16430 TFLAGS="$(STAGE4_TFLAGS)" \
16431 $(TARGET-stage4-isl)
16432
16433 maybe-clean-stage4-isl: clean-stage4-isl
16434 clean-stage4: clean-stage4-isl
16435 clean-stage4-isl:
16436 @if [ $(current_stage) = stage4 ]; then \
16437 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16438 else \
16439 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16440 $(MAKE) stage4-start; \
16441 fi; \
16442 cd $(HOST_SUBDIR)/isl && \
16443 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16444 @endif isl-bootstrap
16445
16446
16447 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16448 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16449 maybe-all-stageprofile-isl:
16450 maybe-clean-stageprofile-isl:
16451 @if isl-bootstrap
16452 maybe-all-stageprofile-isl: all-stageprofile-isl
16453 all-stageprofile: all-stageprofile-isl
16454 TARGET-stageprofile-isl = $(TARGET-isl)
16455 all-stageprofile-isl: configure-stageprofile-isl
16456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16460 $(HOST_EXPORTS) \
16461 $(POSTSTAGE1_HOST_EXPORTS) \
16462 cd $(HOST_SUBDIR)/isl && \
16463 \
16464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16465 CFLAGS="$(STAGEprofile_CFLAGS)" \
16466 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
16467 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16468 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16473 TFLAGS="$(STAGEprofile_TFLAGS)" \
16474 $(TARGET-stageprofile-isl)
16475
16476 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16477 clean-stageprofile: clean-stageprofile-isl
16478 clean-stageprofile-isl:
16479 @if [ $(current_stage) = stageprofile ]; then \
16480 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16481 else \
16482 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16483 $(MAKE) stageprofile-start; \
16484 fi; \
16485 cd $(HOST_SUBDIR)/isl && \
16486 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16487 @endif isl-bootstrap
16488
16489
16490 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16491 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16492 maybe-all-stagetrain-isl:
16493 maybe-clean-stagetrain-isl:
16494 @if isl-bootstrap
16495 maybe-all-stagetrain-isl: all-stagetrain-isl
16496 all-stagetrain: all-stagetrain-isl
16497 TARGET-stagetrain-isl = $(TARGET-isl)
16498 all-stagetrain-isl: configure-stagetrain-isl
16499 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16500 @r=`${PWD_COMMAND}`; export r; \
16501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16502 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16503 $(HOST_EXPORTS) \
16504 $(POSTSTAGE1_HOST_EXPORTS) \
16505 cd $(HOST_SUBDIR)/isl && \
16506 \
16507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16508 CFLAGS="$(STAGEtrain_CFLAGS)" \
16509 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
16510 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16511 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16516 TFLAGS="$(STAGEtrain_TFLAGS)" \
16517 $(TARGET-stagetrain-isl)
16518
16519 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16520 clean-stagetrain: clean-stagetrain-isl
16521 clean-stagetrain-isl:
16522 @if [ $(current_stage) = stagetrain ]; then \
16523 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16524 else \
16525 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16526 $(MAKE) stagetrain-start; \
16527 fi; \
16528 cd $(HOST_SUBDIR)/isl && \
16529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16530 @endif isl-bootstrap
16531
16532
16533 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16534 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16535 maybe-all-stagefeedback-isl:
16536 maybe-clean-stagefeedback-isl:
16537 @if isl-bootstrap
16538 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16539 all-stagefeedback: all-stagefeedback-isl
16540 TARGET-stagefeedback-isl = $(TARGET-isl)
16541 all-stagefeedback-isl: configure-stagefeedback-isl
16542 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16543 @r=`${PWD_COMMAND}`; export r; \
16544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16545 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16546 $(HOST_EXPORTS) \
16547 $(POSTSTAGE1_HOST_EXPORTS) \
16548 cd $(HOST_SUBDIR)/isl && \
16549 \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16551 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16552 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16553 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16554 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16559 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16560 $(TARGET-stagefeedback-isl)
16561
16562 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16563 clean-stagefeedback: clean-stagefeedback-isl
16564 clean-stagefeedback-isl:
16565 @if [ $(current_stage) = stagefeedback ]; then \
16566 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16567 else \
16568 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16569 $(MAKE) stagefeedback-start; \
16570 fi; \
16571 cd $(HOST_SUBDIR)/isl && \
16572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16573 @endif isl-bootstrap
16574
16575
16576 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16577 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16578 maybe-all-stageautoprofile-isl:
16579 maybe-clean-stageautoprofile-isl:
16580 @if isl-bootstrap
16581 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16582 all-stageautoprofile: all-stageautoprofile-isl
16583 TARGET-stageautoprofile-isl = $(TARGET-isl)
16584 all-stageautoprofile-isl: configure-stageautoprofile-isl
16585 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16586 @r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16589 $(HOST_EXPORTS) \
16590 $(POSTSTAGE1_HOST_EXPORTS) \
16591 cd $(HOST_SUBDIR)/isl && \
16592 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16594 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16595 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16596 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16597 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16602 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16603 $(TARGET-stageautoprofile-isl)
16604
16605 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16606 clean-stageautoprofile: clean-stageautoprofile-isl
16607 clean-stageautoprofile-isl:
16608 @if [ $(current_stage) = stageautoprofile ]; then \
16609 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16610 else \
16611 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16612 $(MAKE) stageautoprofile-start; \
16613 fi; \
16614 cd $(HOST_SUBDIR)/isl && \
16615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16616 @endif isl-bootstrap
16617
16618
16619 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16620 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16621 maybe-all-stageautofeedback-isl:
16622 maybe-clean-stageautofeedback-isl:
16623 @if isl-bootstrap
16624 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16625 all-stageautofeedback: all-stageautofeedback-isl
16626 TARGET-stageautofeedback-isl = $(TARGET-isl)
16627 all-stageautofeedback-isl: configure-stageautofeedback-isl
16628 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16629 @r=`${PWD_COMMAND}`; export r; \
16630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16631 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16632 $(HOST_EXPORTS) \
16633 $(POSTSTAGE1_HOST_EXPORTS) \
16634 cd $(HOST_SUBDIR)/isl && \
16635 \
16636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16637 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16638 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16639 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16640 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16645 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16646 $(TARGET-stageautofeedback-isl)
16647
16648 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16649 clean-stageautofeedback: clean-stageautofeedback-isl
16650 clean-stageautofeedback-isl:
16651 @if [ $(current_stage) = stageautofeedback ]; then \
16652 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16653 else \
16654 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16655 $(MAKE) stageautofeedback-start; \
16656 fi; \
16657 cd $(HOST_SUBDIR)/isl && \
16658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16659 @endif isl-bootstrap
16660
16661
16662
16663
16664
16665 .PHONY: check-isl maybe-check-isl
16666 maybe-check-isl:
16667 @if isl
16668 maybe-check-isl: check-isl
16669
16670 check-isl:
16671 @: $(MAKE); $(unstage)
16672 @r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16675 (cd $(HOST_SUBDIR)/isl && \
16676 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16677
16678 @endif isl
16679
16680 .PHONY: install-isl maybe-install-isl
16681 maybe-install-isl:
16682 @if isl
16683 maybe-install-isl: install-isl
16684
16685 install-isl:
16686
16687 @endif isl
16688
16689 .PHONY: install-strip-isl maybe-install-strip-isl
16690 maybe-install-strip-isl:
16691 @if isl
16692 maybe-install-strip-isl: install-strip-isl
16693
16694 install-strip-isl:
16695
16696 @endif isl
16697
16698 # Other targets (info, dvi, pdf, etc.)
16699
16700 .PHONY: maybe-info-isl info-isl
16701 maybe-info-isl:
16702 @if isl
16703 maybe-info-isl: info-isl
16704
16705 info-isl: \
16706 configure-isl
16707 @[ -f ./isl/Makefile ] || exit 0; \
16708 r=`${PWD_COMMAND}`; export r; \
16709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16710 $(HOST_EXPORTS) \
16711 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16713 done; \
16714 echo "Doing info in isl"; \
16715 (cd $(HOST_SUBDIR)/isl && \
16716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16718 "RANLIB=$${RANLIB}" \
16719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16720 info) \
16721 || exit 1
16722
16723 @endif isl
16724
16725 .PHONY: maybe-dvi-isl dvi-isl
16726 maybe-dvi-isl:
16727 @if isl
16728 maybe-dvi-isl: dvi-isl
16729
16730 dvi-isl: \
16731 configure-isl
16732 @[ -f ./isl/Makefile ] || exit 0; \
16733 r=`${PWD_COMMAND}`; export r; \
16734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16735 $(HOST_EXPORTS) \
16736 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16738 done; \
16739 echo "Doing dvi in isl"; \
16740 (cd $(HOST_SUBDIR)/isl && \
16741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16743 "RANLIB=$${RANLIB}" \
16744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16745 dvi) \
16746 || exit 1
16747
16748 @endif isl
16749
16750 .PHONY: maybe-pdf-isl pdf-isl
16751 maybe-pdf-isl:
16752 @if isl
16753 maybe-pdf-isl: pdf-isl
16754
16755 pdf-isl: \
16756 configure-isl
16757 @[ -f ./isl/Makefile ] || exit 0; \
16758 r=`${PWD_COMMAND}`; export r; \
16759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16760 $(HOST_EXPORTS) \
16761 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16763 done; \
16764 echo "Doing pdf in isl"; \
16765 (cd $(HOST_SUBDIR)/isl && \
16766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16768 "RANLIB=$${RANLIB}" \
16769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16770 pdf) \
16771 || exit 1
16772
16773 @endif isl
16774
16775 .PHONY: maybe-html-isl html-isl
16776 maybe-html-isl:
16777 @if isl
16778 maybe-html-isl: html-isl
16779
16780 html-isl: \
16781 configure-isl
16782 @[ -f ./isl/Makefile ] || exit 0; \
16783 r=`${PWD_COMMAND}`; export r; \
16784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16785 $(HOST_EXPORTS) \
16786 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16788 done; \
16789 echo "Doing html in isl"; \
16790 (cd $(HOST_SUBDIR)/isl && \
16791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16793 "RANLIB=$${RANLIB}" \
16794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16795 html) \
16796 || exit 1
16797
16798 @endif isl
16799
16800 .PHONY: maybe-TAGS-isl TAGS-isl
16801 maybe-TAGS-isl:
16802 @if isl
16803 maybe-TAGS-isl: TAGS-isl
16804
16805 TAGS-isl: \
16806 configure-isl
16807 @[ -f ./isl/Makefile ] || exit 0; \
16808 r=`${PWD_COMMAND}`; export r; \
16809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16810 $(HOST_EXPORTS) \
16811 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16813 done; \
16814 echo "Doing TAGS in isl"; \
16815 (cd $(HOST_SUBDIR)/isl && \
16816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16818 "RANLIB=$${RANLIB}" \
16819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16820 TAGS) \
16821 || exit 1
16822
16823 @endif isl
16824
16825 .PHONY: maybe-install-info-isl install-info-isl
16826 maybe-install-info-isl:
16827 @if isl
16828 maybe-install-info-isl: install-info-isl
16829
16830 install-info-isl: \
16831 configure-isl \
16832 info-isl
16833 @[ -f ./isl/Makefile ] || exit 0; \
16834 r=`${PWD_COMMAND}`; export r; \
16835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16836 $(HOST_EXPORTS) \
16837 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16839 done; \
16840 echo "Doing install-info in isl"; \
16841 (cd $(HOST_SUBDIR)/isl && \
16842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16844 "RANLIB=$${RANLIB}" \
16845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16846 install-info) \
16847 || exit 1
16848
16849 @endif isl
16850
16851 .PHONY: maybe-install-pdf-isl install-pdf-isl
16852 maybe-install-pdf-isl:
16853 @if isl
16854 maybe-install-pdf-isl: install-pdf-isl
16855
16856 install-pdf-isl: \
16857 configure-isl \
16858 pdf-isl
16859 @[ -f ./isl/Makefile ] || exit 0; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16865 done; \
16866 echo "Doing install-pdf in isl"; \
16867 (cd $(HOST_SUBDIR)/isl && \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16872 install-pdf) \
16873 || exit 1
16874
16875 @endif isl
16876
16877 .PHONY: maybe-install-html-isl install-html-isl
16878 maybe-install-html-isl:
16879 @if isl
16880 maybe-install-html-isl: install-html-isl
16881
16882 install-html-isl: \
16883 configure-isl \
16884 html-isl
16885 @[ -f ./isl/Makefile ] || exit 0; \
16886 r=`${PWD_COMMAND}`; export r; \
16887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16888 $(HOST_EXPORTS) \
16889 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16891 done; \
16892 echo "Doing install-html in isl"; \
16893 (cd $(HOST_SUBDIR)/isl && \
16894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16896 "RANLIB=$${RANLIB}" \
16897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16898 install-html) \
16899 || exit 1
16900
16901 @endif isl
16902
16903 .PHONY: maybe-installcheck-isl installcheck-isl
16904 maybe-installcheck-isl:
16905 @if isl
16906 maybe-installcheck-isl: installcheck-isl
16907
16908 installcheck-isl: \
16909 configure-isl
16910 @[ -f ./isl/Makefile ] || exit 0; \
16911 r=`${PWD_COMMAND}`; export r; \
16912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16913 $(HOST_EXPORTS) \
16914 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16916 done; \
16917 echo "Doing installcheck in isl"; \
16918 (cd $(HOST_SUBDIR)/isl && \
16919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16921 "RANLIB=$${RANLIB}" \
16922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16923 installcheck) \
16924 || exit 1
16925
16926 @endif isl
16927
16928 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16929 maybe-mostlyclean-isl:
16930 @if isl
16931 maybe-mostlyclean-isl: mostlyclean-isl
16932
16933 mostlyclean-isl:
16934 @[ -f ./isl/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing mostlyclean in isl"; \
16942 (cd $(HOST_SUBDIR)/isl && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16947 mostlyclean) \
16948 || exit 1
16949
16950 @endif isl
16951
16952 .PHONY: maybe-clean-isl clean-isl
16953 maybe-clean-isl:
16954 @if isl
16955 maybe-clean-isl: clean-isl
16956
16957 clean-isl:
16958 @[ -f ./isl/Makefile ] || exit 0; \
16959 r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 $(HOST_EXPORTS) \
16962 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16964 done; \
16965 echo "Doing clean in isl"; \
16966 (cd $(HOST_SUBDIR)/isl && \
16967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16969 "RANLIB=$${RANLIB}" \
16970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16971 clean) \
16972 || exit 1
16973
16974 @endif isl
16975
16976 .PHONY: maybe-distclean-isl distclean-isl
16977 maybe-distclean-isl:
16978 @if isl
16979 maybe-distclean-isl: distclean-isl
16980
16981 distclean-isl:
16982 @[ -f ./isl/Makefile ] || exit 0; \
16983 r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16985 $(HOST_EXPORTS) \
16986 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16988 done; \
16989 echo "Doing distclean in isl"; \
16990 (cd $(HOST_SUBDIR)/isl && \
16991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16993 "RANLIB=$${RANLIB}" \
16994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16995 distclean) \
16996 || exit 1
16997
16998 @endif isl
16999
17000 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17001 maybe-maintainer-clean-isl:
17002 @if isl
17003 maybe-maintainer-clean-isl: maintainer-clean-isl
17004
17005 maintainer-clean-isl:
17006 @[ -f ./isl/Makefile ] || exit 0; \
17007 r=`${PWD_COMMAND}`; export r; \
17008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17009 $(HOST_EXPORTS) \
17010 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17012 done; \
17013 echo "Doing maintainer-clean in isl"; \
17014 (cd $(HOST_SUBDIR)/isl && \
17015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17017 "RANLIB=$${RANLIB}" \
17018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17019 maintainer-clean) \
17020 || exit 1
17021
17022 @endif isl
17023
17024
17025
17026 .PHONY: configure-libelf maybe-configure-libelf
17027 maybe-configure-libelf:
17028 @if gcc-bootstrap
17029 configure-libelf: stage_current
17030 @endif gcc-bootstrap
17031 @if libelf
17032 maybe-configure-libelf: configure-libelf
17033 configure-libelf:
17034 @r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17038 $(HOST_EXPORTS) \
17039 echo Configuring in $(HOST_SUBDIR)/libelf; \
17040 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17041 case $(srcdir) in \
17042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17043 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17045 esac; \
17046 module_srcdir=libelf; \
17047 $(SHELL) \
17048 $$s/$$module_srcdir/configure \
17049 --srcdir=$${topdir}/$$module_srcdir \
17050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17051 --target=${target_alias} --disable-shared \
17052 || exit 1
17053 @endif libelf
17054
17055
17056
17057 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17058 maybe-configure-stage1-libelf:
17059 @if libelf-bootstrap
17060 maybe-configure-stage1-libelf: configure-stage1-libelf
17061 configure-stage1-libelf:
17062 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17064 @r=`${PWD_COMMAND}`; export r; \
17065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 TFLAGS="$(STAGE1_TFLAGS)"; \
17067 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17068 $(HOST_EXPORTS) \
17069 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17070 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17071 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17072 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17074 cd $(HOST_SUBDIR)/libelf || exit 1; \
17075 case $(srcdir) in \
17076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17077 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17079 esac; \
17080 module_srcdir=libelf; \
17081 $(SHELL) $$s/$$module_srcdir/configure \
17082 --srcdir=$${topdir}/$$module_srcdir \
17083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17084 --target=${target_alias} \
17085 \
17086 $(STAGE1_CONFIGURE_FLAGS) \
17087 --disable-shared
17088 @endif libelf-bootstrap
17089
17090 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17091 maybe-configure-stage2-libelf:
17092 @if libelf-bootstrap
17093 maybe-configure-stage2-libelf: configure-stage2-libelf
17094 configure-stage2-libelf:
17095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17097 @r=`${PWD_COMMAND}`; export r; \
17098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17099 TFLAGS="$(STAGE2_TFLAGS)"; \
17100 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17101 $(HOST_EXPORTS) \
17102 $(POSTSTAGE1_HOST_EXPORTS) \
17103 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17104 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17105 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17106 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17108 cd $(HOST_SUBDIR)/libelf || exit 1; \
17109 case $(srcdir) in \
17110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17111 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17113 esac; \
17114 module_srcdir=libelf; \
17115 $(SHELL) $$s/$$module_srcdir/configure \
17116 --srcdir=$${topdir}/$$module_srcdir \
17117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17118 --target=${target_alias} \
17119 --with-build-libsubdir=$(HOST_SUBDIR) \
17120 $(STAGE2_CONFIGURE_FLAGS) \
17121 --disable-shared
17122 @endif libelf-bootstrap
17123
17124 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17125 maybe-configure-stage3-libelf:
17126 @if libelf-bootstrap
17127 maybe-configure-stage3-libelf: configure-stage3-libelf
17128 configure-stage3-libelf:
17129 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17131 @r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17133 TFLAGS="$(STAGE3_TFLAGS)"; \
17134 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17135 $(HOST_EXPORTS) \
17136 $(POSTSTAGE1_HOST_EXPORTS) \
17137 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17138 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17139 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17140 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17142 cd $(HOST_SUBDIR)/libelf || exit 1; \
17143 case $(srcdir) in \
17144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17145 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17147 esac; \
17148 module_srcdir=libelf; \
17149 $(SHELL) $$s/$$module_srcdir/configure \
17150 --srcdir=$${topdir}/$$module_srcdir \
17151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17152 --target=${target_alias} \
17153 --with-build-libsubdir=$(HOST_SUBDIR) \
17154 $(STAGE3_CONFIGURE_FLAGS) \
17155 --disable-shared
17156 @endif libelf-bootstrap
17157
17158 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17159 maybe-configure-stage4-libelf:
17160 @if libelf-bootstrap
17161 maybe-configure-stage4-libelf: configure-stage4-libelf
17162 configure-stage4-libelf:
17163 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17165 @r=`${PWD_COMMAND}`; export r; \
17166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17167 TFLAGS="$(STAGE4_TFLAGS)"; \
17168 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17169 $(HOST_EXPORTS) \
17170 $(POSTSTAGE1_HOST_EXPORTS) \
17171 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17172 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17173 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17174 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17176 cd $(HOST_SUBDIR)/libelf || exit 1; \
17177 case $(srcdir) in \
17178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17179 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17181 esac; \
17182 module_srcdir=libelf; \
17183 $(SHELL) $$s/$$module_srcdir/configure \
17184 --srcdir=$${topdir}/$$module_srcdir \
17185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17186 --target=${target_alias} \
17187 --with-build-libsubdir=$(HOST_SUBDIR) \
17188 $(STAGE4_CONFIGURE_FLAGS) \
17189 --disable-shared
17190 @endif libelf-bootstrap
17191
17192 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17193 maybe-configure-stageprofile-libelf:
17194 @if libelf-bootstrap
17195 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17196 configure-stageprofile-libelf:
17197 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17198 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17199 @r=`${PWD_COMMAND}`; export r; \
17200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17201 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17202 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17203 $(HOST_EXPORTS) \
17204 $(POSTSTAGE1_HOST_EXPORTS) \
17205 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17206 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17207 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17208 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17210 cd $(HOST_SUBDIR)/libelf || exit 1; \
17211 case $(srcdir) in \
17212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17213 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17215 esac; \
17216 module_srcdir=libelf; \
17217 $(SHELL) $$s/$$module_srcdir/configure \
17218 --srcdir=$${topdir}/$$module_srcdir \
17219 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17220 --target=${target_alias} \
17221 --with-build-libsubdir=$(HOST_SUBDIR) \
17222 $(STAGEprofile_CONFIGURE_FLAGS) \
17223 --disable-shared
17224 @endif libelf-bootstrap
17225
17226 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17227 maybe-configure-stagetrain-libelf:
17228 @if libelf-bootstrap
17229 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17230 configure-stagetrain-libelf:
17231 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17233 @r=`${PWD_COMMAND}`; export r; \
17234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17235 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17236 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17237 $(HOST_EXPORTS) \
17238 $(POSTSTAGE1_HOST_EXPORTS) \
17239 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17240 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17241 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17242 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17244 cd $(HOST_SUBDIR)/libelf || exit 1; \
17245 case $(srcdir) in \
17246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17247 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17249 esac; \
17250 module_srcdir=libelf; \
17251 $(SHELL) $$s/$$module_srcdir/configure \
17252 --srcdir=$${topdir}/$$module_srcdir \
17253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17254 --target=${target_alias} \
17255 --with-build-libsubdir=$(HOST_SUBDIR) \
17256 $(STAGEtrain_CONFIGURE_FLAGS) \
17257 --disable-shared
17258 @endif libelf-bootstrap
17259
17260 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17261 maybe-configure-stagefeedback-libelf:
17262 @if libelf-bootstrap
17263 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17264 configure-stagefeedback-libelf:
17265 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17267 @r=`${PWD_COMMAND}`; export r; \
17268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17269 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17270 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17271 $(HOST_EXPORTS) \
17272 $(POSTSTAGE1_HOST_EXPORTS) \
17273 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17274 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17275 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17276 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17278 cd $(HOST_SUBDIR)/libelf || exit 1; \
17279 case $(srcdir) in \
17280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17281 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17283 esac; \
17284 module_srcdir=libelf; \
17285 $(SHELL) $$s/$$module_srcdir/configure \
17286 --srcdir=$${topdir}/$$module_srcdir \
17287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17288 --target=${target_alias} \
17289 --with-build-libsubdir=$(HOST_SUBDIR) \
17290 $(STAGEfeedback_CONFIGURE_FLAGS) \
17291 --disable-shared
17292 @endif libelf-bootstrap
17293
17294 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17295 maybe-configure-stageautoprofile-libelf:
17296 @if libelf-bootstrap
17297 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17298 configure-stageautoprofile-libelf:
17299 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17301 @r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17304 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17305 $(HOST_EXPORTS) \
17306 $(POSTSTAGE1_HOST_EXPORTS) \
17307 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17308 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17309 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17310 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17312 cd $(HOST_SUBDIR)/libelf || exit 1; \
17313 case $(srcdir) in \
17314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17315 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17317 esac; \
17318 module_srcdir=libelf; \
17319 $(SHELL) $$s/$$module_srcdir/configure \
17320 --srcdir=$${topdir}/$$module_srcdir \
17321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17322 --target=${target_alias} \
17323 --with-build-libsubdir=$(HOST_SUBDIR) \
17324 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17325 --disable-shared
17326 @endif libelf-bootstrap
17327
17328 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17329 maybe-configure-stageautofeedback-libelf:
17330 @if libelf-bootstrap
17331 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17332 configure-stageautofeedback-libelf:
17333 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17335 @r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17338 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17339 $(HOST_EXPORTS) \
17340 $(POSTSTAGE1_HOST_EXPORTS) \
17341 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17342 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17343 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17344 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17346 cd $(HOST_SUBDIR)/libelf || exit 1; \
17347 case $(srcdir) in \
17348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17349 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17351 esac; \
17352 module_srcdir=libelf; \
17353 $(SHELL) $$s/$$module_srcdir/configure \
17354 --srcdir=$${topdir}/$$module_srcdir \
17355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17356 --target=${target_alias} \
17357 --with-build-libsubdir=$(HOST_SUBDIR) \
17358 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17359 --disable-shared
17360 @endif libelf-bootstrap
17361
17362
17363
17364
17365
17366 .PHONY: all-libelf maybe-all-libelf
17367 maybe-all-libelf:
17368 @if gcc-bootstrap
17369 all-libelf: stage_current
17370 @endif gcc-bootstrap
17371 @if libelf
17372 TARGET-libelf=all
17373 maybe-all-libelf: all-libelf
17374 all-libelf: configure-libelf
17375 @r=`${PWD_COMMAND}`; export r; \
17376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 $(HOST_EXPORTS) \
17378 (cd $(HOST_SUBDIR)/libelf && \
17379 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17380 $(TARGET-libelf))
17381 @endif libelf
17382
17383
17384
17385 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17386 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17387 maybe-all-stage1-libelf:
17388 maybe-clean-stage1-libelf:
17389 @if libelf-bootstrap
17390 maybe-all-stage1-libelf: all-stage1-libelf
17391 all-stage1: all-stage1-libelf
17392 TARGET-stage1-libelf = $(TARGET-libelf)
17393 all-stage1-libelf: configure-stage1-libelf
17394 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17395 @r=`${PWD_COMMAND}`; export r; \
17396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17397 TFLAGS="$(STAGE1_TFLAGS)"; \
17398 $(HOST_EXPORTS) \
17399 cd $(HOST_SUBDIR)/libelf && \
17400 \
17401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17402 CFLAGS="$(STAGE1_CFLAGS)" \
17403 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
17404 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17405 LIBCFLAGS="$(LIBCFLAGS)" \
17406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17409 $(EXTRA_HOST_FLAGS) \
17410 $(STAGE1_FLAGS_TO_PASS) \
17411 TFLAGS="$(STAGE1_TFLAGS)" \
17412 $(TARGET-stage1-libelf)
17413
17414 maybe-clean-stage1-libelf: clean-stage1-libelf
17415 clean-stage1: clean-stage1-libelf
17416 clean-stage1-libelf:
17417 @if [ $(current_stage) = stage1 ]; then \
17418 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17419 else \
17420 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17421 $(MAKE) stage1-start; \
17422 fi; \
17423 cd $(HOST_SUBDIR)/libelf && \
17424 $(MAKE) $(EXTRA_HOST_FLAGS) \
17425 $(STAGE1_FLAGS_TO_PASS) clean
17426 @endif libelf-bootstrap
17427
17428
17429 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17430 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17431 maybe-all-stage2-libelf:
17432 maybe-clean-stage2-libelf:
17433 @if libelf-bootstrap
17434 maybe-all-stage2-libelf: all-stage2-libelf
17435 all-stage2: all-stage2-libelf
17436 TARGET-stage2-libelf = $(TARGET-libelf)
17437 all-stage2-libelf: configure-stage2-libelf
17438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17439 @r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 TFLAGS="$(STAGE2_TFLAGS)"; \
17442 $(HOST_EXPORTS) \
17443 $(POSTSTAGE1_HOST_EXPORTS) \
17444 cd $(HOST_SUBDIR)/libelf && \
17445 \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17447 CFLAGS="$(STAGE2_CFLAGS)" \
17448 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
17449 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17450 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17455 TFLAGS="$(STAGE2_TFLAGS)" \
17456 $(TARGET-stage2-libelf)
17457
17458 maybe-clean-stage2-libelf: clean-stage2-libelf
17459 clean-stage2: clean-stage2-libelf
17460 clean-stage2-libelf:
17461 @if [ $(current_stage) = stage2 ]; then \
17462 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17463 else \
17464 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17465 $(MAKE) stage2-start; \
17466 fi; \
17467 cd $(HOST_SUBDIR)/libelf && \
17468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17469 @endif libelf-bootstrap
17470
17471
17472 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17473 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17474 maybe-all-stage3-libelf:
17475 maybe-clean-stage3-libelf:
17476 @if libelf-bootstrap
17477 maybe-all-stage3-libelf: all-stage3-libelf
17478 all-stage3: all-stage3-libelf
17479 TARGET-stage3-libelf = $(TARGET-libelf)
17480 all-stage3-libelf: configure-stage3-libelf
17481 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17482 @r=`${PWD_COMMAND}`; export r; \
17483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17484 TFLAGS="$(STAGE3_TFLAGS)"; \
17485 $(HOST_EXPORTS) \
17486 $(POSTSTAGE1_HOST_EXPORTS) \
17487 cd $(HOST_SUBDIR)/libelf && \
17488 \
17489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17490 CFLAGS="$(STAGE3_CFLAGS)" \
17491 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17492 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17493 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17498 TFLAGS="$(STAGE3_TFLAGS)" \
17499 $(TARGET-stage3-libelf)
17500
17501 maybe-clean-stage3-libelf: clean-stage3-libelf
17502 clean-stage3: clean-stage3-libelf
17503 clean-stage3-libelf:
17504 @if [ $(current_stage) = stage3 ]; then \
17505 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17506 else \
17507 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17508 $(MAKE) stage3-start; \
17509 fi; \
17510 cd $(HOST_SUBDIR)/libelf && \
17511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17512 @endif libelf-bootstrap
17513
17514
17515 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17516 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17517 maybe-all-stage4-libelf:
17518 maybe-clean-stage4-libelf:
17519 @if libelf-bootstrap
17520 maybe-all-stage4-libelf: all-stage4-libelf
17521 all-stage4: all-stage4-libelf
17522 TARGET-stage4-libelf = $(TARGET-libelf)
17523 all-stage4-libelf: configure-stage4-libelf
17524 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17525 @r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 TFLAGS="$(STAGE4_TFLAGS)"; \
17528 $(HOST_EXPORTS) \
17529 $(POSTSTAGE1_HOST_EXPORTS) \
17530 cd $(HOST_SUBDIR)/libelf && \
17531 \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17533 CFLAGS="$(STAGE4_CFLAGS)" \
17534 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17535 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17536 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17541 TFLAGS="$(STAGE4_TFLAGS)" \
17542 $(TARGET-stage4-libelf)
17543
17544 maybe-clean-stage4-libelf: clean-stage4-libelf
17545 clean-stage4: clean-stage4-libelf
17546 clean-stage4-libelf:
17547 @if [ $(current_stage) = stage4 ]; then \
17548 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17549 else \
17550 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17551 $(MAKE) stage4-start; \
17552 fi; \
17553 cd $(HOST_SUBDIR)/libelf && \
17554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17555 @endif libelf-bootstrap
17556
17557
17558 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17559 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17560 maybe-all-stageprofile-libelf:
17561 maybe-clean-stageprofile-libelf:
17562 @if libelf-bootstrap
17563 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17564 all-stageprofile: all-stageprofile-libelf
17565 TARGET-stageprofile-libelf = $(TARGET-libelf)
17566 all-stageprofile-libelf: configure-stageprofile-libelf
17567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17568 @r=`${PWD_COMMAND}`; export r; \
17569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17570 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17571 $(HOST_EXPORTS) \
17572 $(POSTSTAGE1_HOST_EXPORTS) \
17573 cd $(HOST_SUBDIR)/libelf && \
17574 \
17575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17576 CFLAGS="$(STAGEprofile_CFLAGS)" \
17577 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17578 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17579 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17583 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17584 TFLAGS="$(STAGEprofile_TFLAGS)" \
17585 $(TARGET-stageprofile-libelf)
17586
17587 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17588 clean-stageprofile: clean-stageprofile-libelf
17589 clean-stageprofile-libelf:
17590 @if [ $(current_stage) = stageprofile ]; then \
17591 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17592 else \
17593 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17594 $(MAKE) stageprofile-start; \
17595 fi; \
17596 cd $(HOST_SUBDIR)/libelf && \
17597 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17598 @endif libelf-bootstrap
17599
17600
17601 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17602 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17603 maybe-all-stagetrain-libelf:
17604 maybe-clean-stagetrain-libelf:
17605 @if libelf-bootstrap
17606 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17607 all-stagetrain: all-stagetrain-libelf
17608 TARGET-stagetrain-libelf = $(TARGET-libelf)
17609 all-stagetrain-libelf: configure-stagetrain-libelf
17610 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17611 @r=`${PWD_COMMAND}`; export r; \
17612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17614 $(HOST_EXPORTS) \
17615 $(POSTSTAGE1_HOST_EXPORTS) \
17616 cd $(HOST_SUBDIR)/libelf && \
17617 \
17618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17619 CFLAGS="$(STAGEtrain_CFLAGS)" \
17620 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17621 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17622 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17626 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17627 TFLAGS="$(STAGEtrain_TFLAGS)" \
17628 $(TARGET-stagetrain-libelf)
17629
17630 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17631 clean-stagetrain: clean-stagetrain-libelf
17632 clean-stagetrain-libelf:
17633 @if [ $(current_stage) = stagetrain ]; then \
17634 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17635 else \
17636 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17637 $(MAKE) stagetrain-start; \
17638 fi; \
17639 cd $(HOST_SUBDIR)/libelf && \
17640 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17641 @endif libelf-bootstrap
17642
17643
17644 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17645 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17646 maybe-all-stagefeedback-libelf:
17647 maybe-clean-stagefeedback-libelf:
17648 @if libelf-bootstrap
17649 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17650 all-stagefeedback: all-stagefeedback-libelf
17651 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17652 all-stagefeedback-libelf: configure-stagefeedback-libelf
17653 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17654 @r=`${PWD_COMMAND}`; export r; \
17655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17656 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17657 $(HOST_EXPORTS) \
17658 $(POSTSTAGE1_HOST_EXPORTS) \
17659 cd $(HOST_SUBDIR)/libelf && \
17660 \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17662 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17663 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17664 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17665 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17670 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17671 $(TARGET-stagefeedback-libelf)
17672
17673 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17674 clean-stagefeedback: clean-stagefeedback-libelf
17675 clean-stagefeedback-libelf:
17676 @if [ $(current_stage) = stagefeedback ]; then \
17677 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17678 else \
17679 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17680 $(MAKE) stagefeedback-start; \
17681 fi; \
17682 cd $(HOST_SUBDIR)/libelf && \
17683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17684 @endif libelf-bootstrap
17685
17686
17687 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17688 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17689 maybe-all-stageautoprofile-libelf:
17690 maybe-clean-stageautoprofile-libelf:
17691 @if libelf-bootstrap
17692 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17693 all-stageautoprofile: all-stageautoprofile-libelf
17694 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17695 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17696 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17697 @r=`${PWD_COMMAND}`; export r; \
17698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17699 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17700 $(HOST_EXPORTS) \
17701 $(POSTSTAGE1_HOST_EXPORTS) \
17702 cd $(HOST_SUBDIR)/libelf && \
17703 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17705 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17706 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17707 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17708 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17713 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17714 $(TARGET-stageautoprofile-libelf)
17715
17716 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17717 clean-stageautoprofile: clean-stageautoprofile-libelf
17718 clean-stageautoprofile-libelf:
17719 @if [ $(current_stage) = stageautoprofile ]; then \
17720 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17721 else \
17722 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17723 $(MAKE) stageautoprofile-start; \
17724 fi; \
17725 cd $(HOST_SUBDIR)/libelf && \
17726 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17727 @endif libelf-bootstrap
17728
17729
17730 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17731 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17732 maybe-all-stageautofeedback-libelf:
17733 maybe-clean-stageautofeedback-libelf:
17734 @if libelf-bootstrap
17735 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17736 all-stageautofeedback: all-stageautofeedback-libelf
17737 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17738 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17739 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17740 @r=`${PWD_COMMAND}`; export r; \
17741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17742 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17743 $(HOST_EXPORTS) \
17744 $(POSTSTAGE1_HOST_EXPORTS) \
17745 cd $(HOST_SUBDIR)/libelf && \
17746 \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17748 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17749 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17750 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17751 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17756 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17757 $(TARGET-stageautofeedback-libelf)
17758
17759 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17760 clean-stageautofeedback: clean-stageautofeedback-libelf
17761 clean-stageautofeedback-libelf:
17762 @if [ $(current_stage) = stageautofeedback ]; then \
17763 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17764 else \
17765 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17766 $(MAKE) stageautofeedback-start; \
17767 fi; \
17768 cd $(HOST_SUBDIR)/libelf && \
17769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17770 @endif libelf-bootstrap
17771
17772
17773
17774
17775
17776 .PHONY: check-libelf maybe-check-libelf
17777 maybe-check-libelf:
17778 @if libelf
17779 maybe-check-libelf: check-libelf
17780
17781 check-libelf:
17782 @: $(MAKE); $(unstage)
17783 @r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17786 (cd $(HOST_SUBDIR)/libelf && \
17787 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17788
17789 @endif libelf
17790
17791 .PHONY: install-libelf maybe-install-libelf
17792 maybe-install-libelf:
17793 @if libelf
17794 maybe-install-libelf: install-libelf
17795
17796 install-libelf:
17797
17798 @endif libelf
17799
17800 .PHONY: install-strip-libelf maybe-install-strip-libelf
17801 maybe-install-strip-libelf:
17802 @if libelf
17803 maybe-install-strip-libelf: install-strip-libelf
17804
17805 install-strip-libelf:
17806
17807 @endif libelf
17808
17809 # Other targets (info, dvi, pdf, etc.)
17810
17811 .PHONY: maybe-info-libelf info-libelf
17812 maybe-info-libelf:
17813 @if libelf
17814 maybe-info-libelf: info-libelf
17815
17816 info-libelf: \
17817 configure-libelf
17818 @[ -f ./libelf/Makefile ] || exit 0; \
17819 r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) \
17822 for flag in $(EXTRA_HOST_FLAGS) ; do \
17823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17824 done; \
17825 echo "Doing info in libelf"; \
17826 (cd $(HOST_SUBDIR)/libelf && \
17827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17829 "RANLIB=$${RANLIB}" \
17830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17831 info) \
17832 || exit 1
17833
17834 @endif libelf
17835
17836 .PHONY: maybe-dvi-libelf dvi-libelf
17837 maybe-dvi-libelf:
17838 @if libelf
17839 maybe-dvi-libelf: dvi-libelf
17840
17841 dvi-libelf: \
17842 configure-libelf
17843 @[ -f ./libelf/Makefile ] || exit 0; \
17844 r=`${PWD_COMMAND}`; export r; \
17845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 $(HOST_EXPORTS) \
17847 for flag in $(EXTRA_HOST_FLAGS) ; do \
17848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17849 done; \
17850 echo "Doing dvi in libelf"; \
17851 (cd $(HOST_SUBDIR)/libelf && \
17852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17854 "RANLIB=$${RANLIB}" \
17855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17856 dvi) \
17857 || exit 1
17858
17859 @endif libelf
17860
17861 .PHONY: maybe-pdf-libelf pdf-libelf
17862 maybe-pdf-libelf:
17863 @if libelf
17864 maybe-pdf-libelf: pdf-libelf
17865
17866 pdf-libelf: \
17867 configure-libelf
17868 @[ -f ./libelf/Makefile ] || exit 0; \
17869 r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 $(HOST_EXPORTS) \
17872 for flag in $(EXTRA_HOST_FLAGS) ; do \
17873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17874 done; \
17875 echo "Doing pdf in libelf"; \
17876 (cd $(HOST_SUBDIR)/libelf && \
17877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17879 "RANLIB=$${RANLIB}" \
17880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17881 pdf) \
17882 || exit 1
17883
17884 @endif libelf
17885
17886 .PHONY: maybe-html-libelf html-libelf
17887 maybe-html-libelf:
17888 @if libelf
17889 maybe-html-libelf: html-libelf
17890
17891 html-libelf: \
17892 configure-libelf
17893 @[ -f ./libelf/Makefile ] || exit 0; \
17894 r=`${PWD_COMMAND}`; export r; \
17895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17896 $(HOST_EXPORTS) \
17897 for flag in $(EXTRA_HOST_FLAGS) ; do \
17898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17899 done; \
17900 echo "Doing html in libelf"; \
17901 (cd $(HOST_SUBDIR)/libelf && \
17902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17904 "RANLIB=$${RANLIB}" \
17905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17906 html) \
17907 || exit 1
17908
17909 @endif libelf
17910
17911 .PHONY: maybe-TAGS-libelf TAGS-libelf
17912 maybe-TAGS-libelf:
17913 @if libelf
17914 maybe-TAGS-libelf: TAGS-libelf
17915
17916 TAGS-libelf: \
17917 configure-libelf
17918 @[ -f ./libelf/Makefile ] || exit 0; \
17919 r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 $(HOST_EXPORTS) \
17922 for flag in $(EXTRA_HOST_FLAGS) ; do \
17923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17924 done; \
17925 echo "Doing TAGS in libelf"; \
17926 (cd $(HOST_SUBDIR)/libelf && \
17927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17929 "RANLIB=$${RANLIB}" \
17930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17931 TAGS) \
17932 || exit 1
17933
17934 @endif libelf
17935
17936 .PHONY: maybe-install-info-libelf install-info-libelf
17937 maybe-install-info-libelf:
17938 @if libelf
17939 maybe-install-info-libelf: install-info-libelf
17940
17941 install-info-libelf: \
17942 configure-libelf \
17943 info-libelf
17944 @[ -f ./libelf/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947 $(HOST_EXPORTS) \
17948 for flag in $(EXTRA_HOST_FLAGS) ; do \
17949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17950 done; \
17951 echo "Doing install-info in libelf"; \
17952 (cd $(HOST_SUBDIR)/libelf && \
17953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17955 "RANLIB=$${RANLIB}" \
17956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17957 install-info) \
17958 || exit 1
17959
17960 @endif libelf
17961
17962 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17963 maybe-install-pdf-libelf:
17964 @if libelf
17965 maybe-install-pdf-libelf: install-pdf-libelf
17966
17967 install-pdf-libelf: \
17968 configure-libelf \
17969 pdf-libelf
17970 @[ -f ./libelf/Makefile ] || exit 0; \
17971 r=`${PWD_COMMAND}`; export r; \
17972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17973 $(HOST_EXPORTS) \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976 done; \
17977 echo "Doing install-pdf in libelf"; \
17978 (cd $(HOST_SUBDIR)/libelf && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17983 install-pdf) \
17984 || exit 1
17985
17986 @endif libelf
17987
17988 .PHONY: maybe-install-html-libelf install-html-libelf
17989 maybe-install-html-libelf:
17990 @if libelf
17991 maybe-install-html-libelf: install-html-libelf
17992
17993 install-html-libelf: \
17994 configure-libelf \
17995 html-libelf
17996 @[ -f ./libelf/Makefile ] || exit 0; \
17997 r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(HOST_EXPORTS) \
18000 for flag in $(EXTRA_HOST_FLAGS) ; do \
18001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 done; \
18003 echo "Doing install-html in libelf"; \
18004 (cd $(HOST_SUBDIR)/libelf && \
18005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18007 "RANLIB=$${RANLIB}" \
18008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18009 install-html) \
18010 || exit 1
18011
18012 @endif libelf
18013
18014 .PHONY: maybe-installcheck-libelf installcheck-libelf
18015 maybe-installcheck-libelf:
18016 @if libelf
18017 maybe-installcheck-libelf: installcheck-libelf
18018
18019 installcheck-libelf: \
18020 configure-libelf
18021 @[ -f ./libelf/Makefile ] || exit 0; \
18022 r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(HOST_EXPORTS) \
18025 for flag in $(EXTRA_HOST_FLAGS) ; do \
18026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18027 done; \
18028 echo "Doing installcheck in libelf"; \
18029 (cd $(HOST_SUBDIR)/libelf && \
18030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18032 "RANLIB=$${RANLIB}" \
18033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18034 installcheck) \
18035 || exit 1
18036
18037 @endif libelf
18038
18039 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18040 maybe-mostlyclean-libelf:
18041 @if libelf
18042 maybe-mostlyclean-libelf: mostlyclean-libelf
18043
18044 mostlyclean-libelf:
18045 @[ -f ./libelf/Makefile ] || exit 0; \
18046 r=`${PWD_COMMAND}`; export r; \
18047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18048 $(HOST_EXPORTS) \
18049 for flag in $(EXTRA_HOST_FLAGS) ; do \
18050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18051 done; \
18052 echo "Doing mostlyclean in libelf"; \
18053 (cd $(HOST_SUBDIR)/libelf && \
18054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18056 "RANLIB=$${RANLIB}" \
18057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18058 mostlyclean) \
18059 || exit 1
18060
18061 @endif libelf
18062
18063 .PHONY: maybe-clean-libelf clean-libelf
18064 maybe-clean-libelf:
18065 @if libelf
18066 maybe-clean-libelf: clean-libelf
18067
18068 clean-libelf:
18069 @[ -f ./libelf/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(HOST_EXPORTS) \
18073 for flag in $(EXTRA_HOST_FLAGS) ; do \
18074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18075 done; \
18076 echo "Doing clean in libelf"; \
18077 (cd $(HOST_SUBDIR)/libelf && \
18078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080 "RANLIB=$${RANLIB}" \
18081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18082 clean) \
18083 || exit 1
18084
18085 @endif libelf
18086
18087 .PHONY: maybe-distclean-libelf distclean-libelf
18088 maybe-distclean-libelf:
18089 @if libelf
18090 maybe-distclean-libelf: distclean-libelf
18091
18092 distclean-libelf:
18093 @[ -f ./libelf/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing distclean in libelf"; \
18101 (cd $(HOST_SUBDIR)/libelf && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18106 distclean) \
18107 || exit 1
18108
18109 @endif libelf
18110
18111 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18112 maybe-maintainer-clean-libelf:
18113 @if libelf
18114 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18115
18116 maintainer-clean-libelf:
18117 @[ -f ./libelf/Makefile ] || exit 0; \
18118 r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS) ; do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing maintainer-clean in libelf"; \
18125 (cd $(HOST_SUBDIR)/libelf && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18130 maintainer-clean) \
18131 || exit 1
18132
18133 @endif libelf
18134
18135
18136
18137 .PHONY: configure-gold maybe-configure-gold
18138 maybe-configure-gold:
18139 @if gcc-bootstrap
18140 configure-gold: stage_current
18141 @endif gcc-bootstrap
18142 @if gold
18143 maybe-configure-gold: configure-gold
18144 configure-gold:
18145 @r=`${PWD_COMMAND}`; export r; \
18146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18147 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18149 $(HOST_EXPORTS) \
18150 echo Configuring in $(HOST_SUBDIR)/gold; \
18151 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18152 case $(srcdir) in \
18153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18154 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18156 esac; \
18157 module_srcdir=gold; \
18158 $(SHELL) \
18159 $$s/$$module_srcdir/configure \
18160 --srcdir=$${topdir}/$$module_srcdir \
18161 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18162 --target=${target_alias} \
18163 || exit 1
18164 @endif gold
18165
18166
18167
18168 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18169 maybe-configure-stage1-gold:
18170 @if gold-bootstrap
18171 maybe-configure-stage1-gold: configure-stage1-gold
18172 configure-stage1-gold:
18173 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18175 @r=`${PWD_COMMAND}`; export r; \
18176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18177 TFLAGS="$(STAGE1_TFLAGS)"; \
18178 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18179 $(HOST_EXPORTS) \
18180 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18181 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18182 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18183 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18185 cd $(HOST_SUBDIR)/gold || exit 1; \
18186 case $(srcdir) in \
18187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18188 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18190 esac; \
18191 module_srcdir=gold; \
18192 $(SHELL) $$s/$$module_srcdir/configure \
18193 --srcdir=$${topdir}/$$module_srcdir \
18194 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18195 --target=${target_alias} \
18196 \
18197 $(STAGE1_CONFIGURE_FLAGS)
18198 @endif gold-bootstrap
18199
18200 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18201 maybe-configure-stage2-gold:
18202 @if gold-bootstrap
18203 maybe-configure-stage2-gold: configure-stage2-gold
18204 configure-stage2-gold:
18205 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18207 @r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 TFLAGS="$(STAGE2_TFLAGS)"; \
18210 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18211 $(HOST_EXPORTS) \
18212 $(POSTSTAGE1_HOST_EXPORTS) \
18213 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18214 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18215 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18216 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18218 cd $(HOST_SUBDIR)/gold || exit 1; \
18219 case $(srcdir) in \
18220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18221 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18223 esac; \
18224 module_srcdir=gold; \
18225 $(SHELL) $$s/$$module_srcdir/configure \
18226 --srcdir=$${topdir}/$$module_srcdir \
18227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18228 --target=${target_alias} \
18229 --with-build-libsubdir=$(HOST_SUBDIR) \
18230 $(STAGE2_CONFIGURE_FLAGS)
18231 @endif gold-bootstrap
18232
18233 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18234 maybe-configure-stage3-gold:
18235 @if gold-bootstrap
18236 maybe-configure-stage3-gold: configure-stage3-gold
18237 configure-stage3-gold:
18238 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18240 @r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 TFLAGS="$(STAGE3_TFLAGS)"; \
18243 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18244 $(HOST_EXPORTS) \
18245 $(POSTSTAGE1_HOST_EXPORTS) \
18246 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18247 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18248 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18249 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18251 cd $(HOST_SUBDIR)/gold || exit 1; \
18252 case $(srcdir) in \
18253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18254 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18256 esac; \
18257 module_srcdir=gold; \
18258 $(SHELL) $$s/$$module_srcdir/configure \
18259 --srcdir=$${topdir}/$$module_srcdir \
18260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18261 --target=${target_alias} \
18262 --with-build-libsubdir=$(HOST_SUBDIR) \
18263 $(STAGE3_CONFIGURE_FLAGS)
18264 @endif gold-bootstrap
18265
18266 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18267 maybe-configure-stage4-gold:
18268 @if gold-bootstrap
18269 maybe-configure-stage4-gold: configure-stage4-gold
18270 configure-stage4-gold:
18271 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18273 @r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18275 TFLAGS="$(STAGE4_TFLAGS)"; \
18276 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18277 $(HOST_EXPORTS) \
18278 $(POSTSTAGE1_HOST_EXPORTS) \
18279 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18280 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18281 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18282 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18284 cd $(HOST_SUBDIR)/gold || exit 1; \
18285 case $(srcdir) in \
18286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18287 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18289 esac; \
18290 module_srcdir=gold; \
18291 $(SHELL) $$s/$$module_srcdir/configure \
18292 --srcdir=$${topdir}/$$module_srcdir \
18293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18294 --target=${target_alias} \
18295 --with-build-libsubdir=$(HOST_SUBDIR) \
18296 $(STAGE4_CONFIGURE_FLAGS)
18297 @endif gold-bootstrap
18298
18299 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18300 maybe-configure-stageprofile-gold:
18301 @if gold-bootstrap
18302 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18303 configure-stageprofile-gold:
18304 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18306 @r=`${PWD_COMMAND}`; export r; \
18307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18308 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18309 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18310 $(HOST_EXPORTS) \
18311 $(POSTSTAGE1_HOST_EXPORTS) \
18312 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18313 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18314 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18315 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18317 cd $(HOST_SUBDIR)/gold || exit 1; \
18318 case $(srcdir) in \
18319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18320 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18322 esac; \
18323 module_srcdir=gold; \
18324 $(SHELL) $$s/$$module_srcdir/configure \
18325 --srcdir=$${topdir}/$$module_srcdir \
18326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18327 --target=${target_alias} \
18328 --with-build-libsubdir=$(HOST_SUBDIR) \
18329 $(STAGEprofile_CONFIGURE_FLAGS)
18330 @endif gold-bootstrap
18331
18332 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18333 maybe-configure-stagetrain-gold:
18334 @if gold-bootstrap
18335 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18336 configure-stagetrain-gold:
18337 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18339 @r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18341 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18342 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18343 $(HOST_EXPORTS) \
18344 $(POSTSTAGE1_HOST_EXPORTS) \
18345 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18346 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18347 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18348 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18350 cd $(HOST_SUBDIR)/gold || exit 1; \
18351 case $(srcdir) in \
18352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18353 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18355 esac; \
18356 module_srcdir=gold; \
18357 $(SHELL) $$s/$$module_srcdir/configure \
18358 --srcdir=$${topdir}/$$module_srcdir \
18359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18360 --target=${target_alias} \
18361 --with-build-libsubdir=$(HOST_SUBDIR) \
18362 $(STAGEtrain_CONFIGURE_FLAGS)
18363 @endif gold-bootstrap
18364
18365 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18366 maybe-configure-stagefeedback-gold:
18367 @if gold-bootstrap
18368 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18369 configure-stagefeedback-gold:
18370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18372 @r=`${PWD_COMMAND}`; export r; \
18373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18374 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18375 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18376 $(HOST_EXPORTS) \
18377 $(POSTSTAGE1_HOST_EXPORTS) \
18378 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18379 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18380 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18381 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18383 cd $(HOST_SUBDIR)/gold || exit 1; \
18384 case $(srcdir) in \
18385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18386 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18388 esac; \
18389 module_srcdir=gold; \
18390 $(SHELL) $$s/$$module_srcdir/configure \
18391 --srcdir=$${topdir}/$$module_srcdir \
18392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18393 --target=${target_alias} \
18394 --with-build-libsubdir=$(HOST_SUBDIR) \
18395 $(STAGEfeedback_CONFIGURE_FLAGS)
18396 @endif gold-bootstrap
18397
18398 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18399 maybe-configure-stageautoprofile-gold:
18400 @if gold-bootstrap
18401 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18402 configure-stageautoprofile-gold:
18403 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18405 @r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18408 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18409 $(HOST_EXPORTS) \
18410 $(POSTSTAGE1_HOST_EXPORTS) \
18411 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18412 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18413 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18414 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18416 cd $(HOST_SUBDIR)/gold || exit 1; \
18417 case $(srcdir) in \
18418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18419 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18421 esac; \
18422 module_srcdir=gold; \
18423 $(SHELL) $$s/$$module_srcdir/configure \
18424 --srcdir=$${topdir}/$$module_srcdir \
18425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18426 --target=${target_alias} \
18427 --with-build-libsubdir=$(HOST_SUBDIR) \
18428 $(STAGEautoprofile_CONFIGURE_FLAGS)
18429 @endif gold-bootstrap
18430
18431 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18432 maybe-configure-stageautofeedback-gold:
18433 @if gold-bootstrap
18434 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18435 configure-stageautofeedback-gold:
18436 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18438 @r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18441 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18442 $(HOST_EXPORTS) \
18443 $(POSTSTAGE1_HOST_EXPORTS) \
18444 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18445 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18446 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18447 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18449 cd $(HOST_SUBDIR)/gold || exit 1; \
18450 case $(srcdir) in \
18451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18452 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18454 esac; \
18455 module_srcdir=gold; \
18456 $(SHELL) $$s/$$module_srcdir/configure \
18457 --srcdir=$${topdir}/$$module_srcdir \
18458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18459 --target=${target_alias} \
18460 --with-build-libsubdir=$(HOST_SUBDIR) \
18461 $(STAGEautofeedback_CONFIGURE_FLAGS)
18462 @endif gold-bootstrap
18463
18464
18465
18466
18467
18468 .PHONY: all-gold maybe-all-gold
18469 maybe-all-gold:
18470 @if gcc-bootstrap
18471 all-gold: stage_current
18472 @endif gcc-bootstrap
18473 @if gold
18474 TARGET-gold=all
18475 maybe-all-gold: all-gold
18476 all-gold: configure-gold
18477 @r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(HOST_EXPORTS) \
18480 (cd $(HOST_SUBDIR)/gold && \
18481 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18482 $(TARGET-gold))
18483 @endif gold
18484
18485
18486
18487 .PHONY: all-stage1-gold maybe-all-stage1-gold
18488 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18489 maybe-all-stage1-gold:
18490 maybe-clean-stage1-gold:
18491 @if gold-bootstrap
18492 maybe-all-stage1-gold: all-stage1-gold
18493 all-stage1: all-stage1-gold
18494 TARGET-stage1-gold = $(TARGET-gold)
18495 all-stage1-gold: configure-stage1-gold
18496 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 TFLAGS="$(STAGE1_TFLAGS)"; \
18500 $(HOST_EXPORTS) \
18501 cd $(HOST_SUBDIR)/gold && \
18502 \
18503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18504 CFLAGS="$(STAGE1_CFLAGS)" \
18505 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18506 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18507 LIBCFLAGS="$(LIBCFLAGS)" \
18508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18511 $(EXTRA_HOST_FLAGS) \
18512 $(STAGE1_FLAGS_TO_PASS) \
18513 TFLAGS="$(STAGE1_TFLAGS)" \
18514 $(TARGET-stage1-gold)
18515
18516 maybe-clean-stage1-gold: clean-stage1-gold
18517 clean-stage1: clean-stage1-gold
18518 clean-stage1-gold:
18519 @if [ $(current_stage) = stage1 ]; then \
18520 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18521 else \
18522 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18523 $(MAKE) stage1-start; \
18524 fi; \
18525 cd $(HOST_SUBDIR)/gold && \
18526 $(MAKE) $(EXTRA_HOST_FLAGS) \
18527 $(STAGE1_FLAGS_TO_PASS) clean
18528 @endif gold-bootstrap
18529
18530
18531 .PHONY: all-stage2-gold maybe-all-stage2-gold
18532 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18533 maybe-all-stage2-gold:
18534 maybe-clean-stage2-gold:
18535 @if gold-bootstrap
18536 maybe-all-stage2-gold: all-stage2-gold
18537 all-stage2: all-stage2-gold
18538 TARGET-stage2-gold = $(TARGET-gold)
18539 all-stage2-gold: configure-stage2-gold
18540 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18541 @r=`${PWD_COMMAND}`; export r; \
18542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18543 TFLAGS="$(STAGE2_TFLAGS)"; \
18544 $(HOST_EXPORTS) \
18545 $(POSTSTAGE1_HOST_EXPORTS) \
18546 cd $(HOST_SUBDIR)/gold && \
18547 \
18548 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18549 CFLAGS="$(STAGE2_CFLAGS)" \
18550 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18551 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18552 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18556 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18557 TFLAGS="$(STAGE2_TFLAGS)" \
18558 $(TARGET-stage2-gold)
18559
18560 maybe-clean-stage2-gold: clean-stage2-gold
18561 clean-stage2: clean-stage2-gold
18562 clean-stage2-gold:
18563 @if [ $(current_stage) = stage2 ]; then \
18564 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18565 else \
18566 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18567 $(MAKE) stage2-start; \
18568 fi; \
18569 cd $(HOST_SUBDIR)/gold && \
18570 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18571 @endif gold-bootstrap
18572
18573
18574 .PHONY: all-stage3-gold maybe-all-stage3-gold
18575 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18576 maybe-all-stage3-gold:
18577 maybe-clean-stage3-gold:
18578 @if gold-bootstrap
18579 maybe-all-stage3-gold: all-stage3-gold
18580 all-stage3: all-stage3-gold
18581 TARGET-stage3-gold = $(TARGET-gold)
18582 all-stage3-gold: configure-stage3-gold
18583 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18584 @r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 TFLAGS="$(STAGE3_TFLAGS)"; \
18587 $(HOST_EXPORTS) \
18588 $(POSTSTAGE1_HOST_EXPORTS) \
18589 cd $(HOST_SUBDIR)/gold && \
18590 \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18592 CFLAGS="$(STAGE3_CFLAGS)" \
18593 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18594 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18595 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18596 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18597 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18598 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18599 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18600 TFLAGS="$(STAGE3_TFLAGS)" \
18601 $(TARGET-stage3-gold)
18602
18603 maybe-clean-stage3-gold: clean-stage3-gold
18604 clean-stage3: clean-stage3-gold
18605 clean-stage3-gold:
18606 @if [ $(current_stage) = stage3 ]; then \
18607 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18608 else \
18609 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18610 $(MAKE) stage3-start; \
18611 fi; \
18612 cd $(HOST_SUBDIR)/gold && \
18613 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18614 @endif gold-bootstrap
18615
18616
18617 .PHONY: all-stage4-gold maybe-all-stage4-gold
18618 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18619 maybe-all-stage4-gold:
18620 maybe-clean-stage4-gold:
18621 @if gold-bootstrap
18622 maybe-all-stage4-gold: all-stage4-gold
18623 all-stage4: all-stage4-gold
18624 TARGET-stage4-gold = $(TARGET-gold)
18625 all-stage4-gold: configure-stage4-gold
18626 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18627 @r=`${PWD_COMMAND}`; export r; \
18628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18629 TFLAGS="$(STAGE4_TFLAGS)"; \
18630 $(HOST_EXPORTS) \
18631 $(POSTSTAGE1_HOST_EXPORTS) \
18632 cd $(HOST_SUBDIR)/gold && \
18633 \
18634 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18635 CFLAGS="$(STAGE4_CFLAGS)" \
18636 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18637 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18638 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18642 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18643 TFLAGS="$(STAGE4_TFLAGS)" \
18644 $(TARGET-stage4-gold)
18645
18646 maybe-clean-stage4-gold: clean-stage4-gold
18647 clean-stage4: clean-stage4-gold
18648 clean-stage4-gold:
18649 @if [ $(current_stage) = stage4 ]; then \
18650 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18651 else \
18652 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18653 $(MAKE) stage4-start; \
18654 fi; \
18655 cd $(HOST_SUBDIR)/gold && \
18656 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18657 @endif gold-bootstrap
18658
18659
18660 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18661 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18662 maybe-all-stageprofile-gold:
18663 maybe-clean-stageprofile-gold:
18664 @if gold-bootstrap
18665 maybe-all-stageprofile-gold: all-stageprofile-gold
18666 all-stageprofile: all-stageprofile-gold
18667 TARGET-stageprofile-gold = $(TARGET-gold)
18668 all-stageprofile-gold: configure-stageprofile-gold
18669 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18670 @r=`${PWD_COMMAND}`; export r; \
18671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18672 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18673 $(HOST_EXPORTS) \
18674 $(POSTSTAGE1_HOST_EXPORTS) \
18675 cd $(HOST_SUBDIR)/gold && \
18676 \
18677 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18678 CFLAGS="$(STAGEprofile_CFLAGS)" \
18679 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18681 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18686 TFLAGS="$(STAGEprofile_TFLAGS)" \
18687 $(TARGET-stageprofile-gold)
18688
18689 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18690 clean-stageprofile: clean-stageprofile-gold
18691 clean-stageprofile-gold:
18692 @if [ $(current_stage) = stageprofile ]; then \
18693 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18694 else \
18695 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18696 $(MAKE) stageprofile-start; \
18697 fi; \
18698 cd $(HOST_SUBDIR)/gold && \
18699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18700 @endif gold-bootstrap
18701
18702
18703 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18704 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18705 maybe-all-stagetrain-gold:
18706 maybe-clean-stagetrain-gold:
18707 @if gold-bootstrap
18708 maybe-all-stagetrain-gold: all-stagetrain-gold
18709 all-stagetrain: all-stagetrain-gold
18710 TARGET-stagetrain-gold = $(TARGET-gold)
18711 all-stagetrain-gold: configure-stagetrain-gold
18712 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18713 @r=`${PWD_COMMAND}`; export r; \
18714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18715 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18716 $(HOST_EXPORTS) \
18717 $(POSTSTAGE1_HOST_EXPORTS) \
18718 cd $(HOST_SUBDIR)/gold && \
18719 \
18720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18721 CFLAGS="$(STAGEtrain_CFLAGS)" \
18722 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18723 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18724 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18728 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18729 TFLAGS="$(STAGEtrain_TFLAGS)" \
18730 $(TARGET-stagetrain-gold)
18731
18732 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18733 clean-stagetrain: clean-stagetrain-gold
18734 clean-stagetrain-gold:
18735 @if [ $(current_stage) = stagetrain ]; then \
18736 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18737 else \
18738 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18739 $(MAKE) stagetrain-start; \
18740 fi; \
18741 cd $(HOST_SUBDIR)/gold && \
18742 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18743 @endif gold-bootstrap
18744
18745
18746 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18747 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18748 maybe-all-stagefeedback-gold:
18749 maybe-clean-stagefeedback-gold:
18750 @if gold-bootstrap
18751 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18752 all-stagefeedback: all-stagefeedback-gold
18753 TARGET-stagefeedback-gold = $(TARGET-gold)
18754 all-stagefeedback-gold: configure-stagefeedback-gold
18755 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18756 @r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18759 $(HOST_EXPORTS) \
18760 $(POSTSTAGE1_HOST_EXPORTS) \
18761 cd $(HOST_SUBDIR)/gold && \
18762 \
18763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18764 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18765 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18766 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18767 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18771 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18772 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18773 $(TARGET-stagefeedback-gold)
18774
18775 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18776 clean-stagefeedback: clean-stagefeedback-gold
18777 clean-stagefeedback-gold:
18778 @if [ $(current_stage) = stagefeedback ]; then \
18779 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18780 else \
18781 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18782 $(MAKE) stagefeedback-start; \
18783 fi; \
18784 cd $(HOST_SUBDIR)/gold && \
18785 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18786 @endif gold-bootstrap
18787
18788
18789 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18790 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18791 maybe-all-stageautoprofile-gold:
18792 maybe-clean-stageautoprofile-gold:
18793 @if gold-bootstrap
18794 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18795 all-stageautoprofile: all-stageautoprofile-gold
18796 TARGET-stageautoprofile-gold = $(TARGET-gold)
18797 all-stageautoprofile-gold: configure-stageautoprofile-gold
18798 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18799 @r=`${PWD_COMMAND}`; export r; \
18800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18801 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18802 $(HOST_EXPORTS) \
18803 $(POSTSTAGE1_HOST_EXPORTS) \
18804 cd $(HOST_SUBDIR)/gold && \
18805 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18807 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18808 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18809 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18810 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18814 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18815 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18816 $(TARGET-stageautoprofile-gold)
18817
18818 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18819 clean-stageautoprofile: clean-stageautoprofile-gold
18820 clean-stageautoprofile-gold:
18821 @if [ $(current_stage) = stageautoprofile ]; then \
18822 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18823 else \
18824 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18825 $(MAKE) stageautoprofile-start; \
18826 fi; \
18827 cd $(HOST_SUBDIR)/gold && \
18828 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18829 @endif gold-bootstrap
18830
18831
18832 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18833 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18834 maybe-all-stageautofeedback-gold:
18835 maybe-clean-stageautofeedback-gold:
18836 @if gold-bootstrap
18837 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18838 all-stageautofeedback: all-stageautofeedback-gold
18839 TARGET-stageautofeedback-gold = $(TARGET-gold)
18840 all-stageautofeedback-gold: configure-stageautofeedback-gold
18841 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18842 @r=`${PWD_COMMAND}`; export r; \
18843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18845 $(HOST_EXPORTS) \
18846 $(POSTSTAGE1_HOST_EXPORTS) \
18847 cd $(HOST_SUBDIR)/gold && \
18848 \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18850 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18851 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18852 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18853 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18857 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18858 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18859 $(TARGET-stageautofeedback-gold)
18860
18861 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18862 clean-stageautofeedback: clean-stageautofeedback-gold
18863 clean-stageautofeedback-gold:
18864 @if [ $(current_stage) = stageautofeedback ]; then \
18865 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18866 else \
18867 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18868 $(MAKE) stageautofeedback-start; \
18869 fi; \
18870 cd $(HOST_SUBDIR)/gold && \
18871 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18872 @endif gold-bootstrap
18873
18874
18875
18876
18877
18878 .PHONY: check-gold maybe-check-gold
18879 maybe-check-gold:
18880 @if gold
18881 maybe-check-gold: check-gold
18882
18883 check-gold:
18884 @: $(MAKE); $(unstage)
18885 @r=`${PWD_COMMAND}`; export r; \
18886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18887 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18888 (cd $(HOST_SUBDIR)/gold && \
18889 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18890
18891 @endif gold
18892
18893 .PHONY: install-gold maybe-install-gold
18894 maybe-install-gold:
18895 @if gold
18896 maybe-install-gold: install-gold
18897
18898 install-gold: installdirs
18899 @: $(MAKE); $(unstage)
18900 @r=`${PWD_COMMAND}`; export r; \
18901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18902 $(HOST_EXPORTS) \
18903 (cd $(HOST_SUBDIR)/gold && \
18904 $(MAKE) $(FLAGS_TO_PASS) install)
18905
18906 @endif gold
18907
18908 .PHONY: install-strip-gold maybe-install-strip-gold
18909 maybe-install-strip-gold:
18910 @if gold
18911 maybe-install-strip-gold: install-strip-gold
18912
18913 install-strip-gold: installdirs
18914 @: $(MAKE); $(unstage)
18915 @r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 $(HOST_EXPORTS) \
18918 (cd $(HOST_SUBDIR)/gold && \
18919 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18920
18921 @endif gold
18922
18923 # Other targets (info, dvi, pdf, etc.)
18924
18925 .PHONY: maybe-info-gold info-gold
18926 maybe-info-gold:
18927 @if gold
18928 maybe-info-gold: info-gold
18929
18930 info-gold: \
18931 configure-gold
18932 @[ -f ./gold/Makefile ] || exit 0; \
18933 r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 $(HOST_EXPORTS) \
18936 for flag in $(EXTRA_HOST_FLAGS) ; do \
18937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18938 done; \
18939 echo "Doing info in gold"; \
18940 (cd $(HOST_SUBDIR)/gold && \
18941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18943 "RANLIB=$${RANLIB}" \
18944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18945 info) \
18946 || exit 1
18947
18948 @endif gold
18949
18950 .PHONY: maybe-dvi-gold dvi-gold
18951 maybe-dvi-gold:
18952 @if gold
18953 maybe-dvi-gold: dvi-gold
18954
18955 dvi-gold: \
18956 configure-gold
18957 @[ -f ./gold/Makefile ] || exit 0; \
18958 r=`${PWD_COMMAND}`; export r; \
18959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18960 $(HOST_EXPORTS) \
18961 for flag in $(EXTRA_HOST_FLAGS) ; do \
18962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18963 done; \
18964 echo "Doing dvi in gold"; \
18965 (cd $(HOST_SUBDIR)/gold && \
18966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18968 "RANLIB=$${RANLIB}" \
18969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18970 dvi) \
18971 || exit 1
18972
18973 @endif gold
18974
18975 .PHONY: maybe-pdf-gold pdf-gold
18976 maybe-pdf-gold:
18977 @if gold
18978 maybe-pdf-gold: pdf-gold
18979
18980 pdf-gold: \
18981 configure-gold
18982 @[ -f ./gold/Makefile ] || exit 0; \
18983 r=`${PWD_COMMAND}`; export r; \
18984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18985 $(HOST_EXPORTS) \
18986 for flag in $(EXTRA_HOST_FLAGS) ; do \
18987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18988 done; \
18989 echo "Doing pdf in gold"; \
18990 (cd $(HOST_SUBDIR)/gold && \
18991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18993 "RANLIB=$${RANLIB}" \
18994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18995 pdf) \
18996 || exit 1
18997
18998 @endif gold
18999
19000 .PHONY: maybe-html-gold html-gold
19001 maybe-html-gold:
19002 @if gold
19003 maybe-html-gold: html-gold
19004
19005 html-gold: \
19006 configure-gold
19007 @[ -f ./gold/Makefile ] || exit 0; \
19008 r=`${PWD_COMMAND}`; export r; \
19009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19010 $(HOST_EXPORTS) \
19011 for flag in $(EXTRA_HOST_FLAGS) ; do \
19012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19013 done; \
19014 echo "Doing html in gold"; \
19015 (cd $(HOST_SUBDIR)/gold && \
19016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19018 "RANLIB=$${RANLIB}" \
19019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19020 html) \
19021 || exit 1
19022
19023 @endif gold
19024
19025 .PHONY: maybe-TAGS-gold TAGS-gold
19026 maybe-TAGS-gold:
19027 @if gold
19028 maybe-TAGS-gold: TAGS-gold
19029
19030 TAGS-gold: \
19031 configure-gold
19032 @[ -f ./gold/Makefile ] || exit 0; \
19033 r=`${PWD_COMMAND}`; export r; \
19034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19035 $(HOST_EXPORTS) \
19036 for flag in $(EXTRA_HOST_FLAGS) ; do \
19037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19038 done; \
19039 echo "Doing TAGS in gold"; \
19040 (cd $(HOST_SUBDIR)/gold && \
19041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19043 "RANLIB=$${RANLIB}" \
19044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19045 TAGS) \
19046 || exit 1
19047
19048 @endif gold
19049
19050 .PHONY: maybe-install-info-gold install-info-gold
19051 maybe-install-info-gold:
19052 @if gold
19053 maybe-install-info-gold: install-info-gold
19054
19055 install-info-gold: \
19056 configure-gold \
19057 info-gold
19058 @[ -f ./gold/Makefile ] || exit 0; \
19059 r=`${PWD_COMMAND}`; export r; \
19060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19061 $(HOST_EXPORTS) \
19062 for flag in $(EXTRA_HOST_FLAGS) ; do \
19063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19064 done; \
19065 echo "Doing install-info in gold"; \
19066 (cd $(HOST_SUBDIR)/gold && \
19067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19069 "RANLIB=$${RANLIB}" \
19070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19071 install-info) \
19072 || exit 1
19073
19074 @endif gold
19075
19076 .PHONY: maybe-install-pdf-gold install-pdf-gold
19077 maybe-install-pdf-gold:
19078 @if gold
19079 maybe-install-pdf-gold: install-pdf-gold
19080
19081 install-pdf-gold: \
19082 configure-gold \
19083 pdf-gold
19084 @[ -f ./gold/Makefile ] || exit 0; \
19085 r=`${PWD_COMMAND}`; export r; \
19086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19087 $(HOST_EXPORTS) \
19088 for flag in $(EXTRA_HOST_FLAGS) ; do \
19089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19090 done; \
19091 echo "Doing install-pdf in gold"; \
19092 (cd $(HOST_SUBDIR)/gold && \
19093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19095 "RANLIB=$${RANLIB}" \
19096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19097 install-pdf) \
19098 || exit 1
19099
19100 @endif gold
19101
19102 .PHONY: maybe-install-html-gold install-html-gold
19103 maybe-install-html-gold:
19104 @if gold
19105 maybe-install-html-gold: install-html-gold
19106
19107 install-html-gold: \
19108 configure-gold \
19109 html-gold
19110 @[ -f ./gold/Makefile ] || exit 0; \
19111 r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113 $(HOST_EXPORTS) \
19114 for flag in $(EXTRA_HOST_FLAGS) ; do \
19115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19116 done; \
19117 echo "Doing install-html in gold"; \
19118 (cd $(HOST_SUBDIR)/gold && \
19119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19121 "RANLIB=$${RANLIB}" \
19122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19123 install-html) \
19124 || exit 1
19125
19126 @endif gold
19127
19128 .PHONY: maybe-installcheck-gold installcheck-gold
19129 maybe-installcheck-gold:
19130 @if gold
19131 maybe-installcheck-gold: installcheck-gold
19132
19133 installcheck-gold: \
19134 configure-gold
19135 @[ -f ./gold/Makefile ] || exit 0; \
19136 r=`${PWD_COMMAND}`; export r; \
19137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19138 $(HOST_EXPORTS) \
19139 for flag in $(EXTRA_HOST_FLAGS) ; do \
19140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19141 done; \
19142 echo "Doing installcheck in gold"; \
19143 (cd $(HOST_SUBDIR)/gold && \
19144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19146 "RANLIB=$${RANLIB}" \
19147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19148 installcheck) \
19149 || exit 1
19150
19151 @endif gold
19152
19153 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19154 maybe-mostlyclean-gold:
19155 @if gold
19156 maybe-mostlyclean-gold: mostlyclean-gold
19157
19158 mostlyclean-gold:
19159 @[ -f ./gold/Makefile ] || exit 0; \
19160 r=`${PWD_COMMAND}`; export r; \
19161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19162 $(HOST_EXPORTS) \
19163 for flag in $(EXTRA_HOST_FLAGS) ; do \
19164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19165 done; \
19166 echo "Doing mostlyclean in gold"; \
19167 (cd $(HOST_SUBDIR)/gold && \
19168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19170 "RANLIB=$${RANLIB}" \
19171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19172 mostlyclean) \
19173 || exit 1
19174
19175 @endif gold
19176
19177 .PHONY: maybe-clean-gold clean-gold
19178 maybe-clean-gold:
19179 @if gold
19180 maybe-clean-gold: clean-gold
19181
19182 clean-gold:
19183 @[ -f ./gold/Makefile ] || exit 0; \
19184 r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 $(HOST_EXPORTS) \
19187 for flag in $(EXTRA_HOST_FLAGS) ; do \
19188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19189 done; \
19190 echo "Doing clean in gold"; \
19191 (cd $(HOST_SUBDIR)/gold && \
19192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19194 "RANLIB=$${RANLIB}" \
19195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19196 clean) \
19197 || exit 1
19198
19199 @endif gold
19200
19201 .PHONY: maybe-distclean-gold distclean-gold
19202 maybe-distclean-gold:
19203 @if gold
19204 maybe-distclean-gold: distclean-gold
19205
19206 distclean-gold:
19207 @[ -f ./gold/Makefile ] || exit 0; \
19208 r=`${PWD_COMMAND}`; export r; \
19209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19210 $(HOST_EXPORTS) \
19211 for flag in $(EXTRA_HOST_FLAGS) ; do \
19212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19213 done; \
19214 echo "Doing distclean in gold"; \
19215 (cd $(HOST_SUBDIR)/gold && \
19216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19218 "RANLIB=$${RANLIB}" \
19219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19220 distclean) \
19221 || exit 1
19222
19223 @endif gold
19224
19225 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19226 maybe-maintainer-clean-gold:
19227 @if gold
19228 maybe-maintainer-clean-gold: maintainer-clean-gold
19229
19230 maintainer-clean-gold:
19231 @[ -f ./gold/Makefile ] || exit 0; \
19232 r=`${PWD_COMMAND}`; export r; \
19233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19234 $(HOST_EXPORTS) \
19235 for flag in $(EXTRA_HOST_FLAGS) ; do \
19236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19237 done; \
19238 echo "Doing maintainer-clean in gold"; \
19239 (cd $(HOST_SUBDIR)/gold && \
19240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19242 "RANLIB=$${RANLIB}" \
19243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19244 maintainer-clean) \
19245 || exit 1
19246
19247 @endif gold
19248
19249
19250
19251 .PHONY: configure-gprof maybe-configure-gprof
19252 maybe-configure-gprof:
19253 @if gcc-bootstrap
19254 configure-gprof: stage_current
19255 @endif gcc-bootstrap
19256 @if gprof
19257 maybe-configure-gprof: configure-gprof
19258 configure-gprof:
19259 @: $(MAKE); $(unstage)
19260 @r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19264 $(HOST_EXPORTS) \
19265 echo Configuring in $(HOST_SUBDIR)/gprof; \
19266 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19267 case $(srcdir) in \
19268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19269 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19271 esac; \
19272 module_srcdir=gprof; \
19273 $(SHELL) \
19274 $$s/$$module_srcdir/configure \
19275 --srcdir=$${topdir}/$$module_srcdir \
19276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19277 --target=${target_alias} \
19278 || exit 1
19279 @endif gprof
19280
19281
19282
19283
19284
19285 .PHONY: all-gprof maybe-all-gprof
19286 maybe-all-gprof:
19287 @if gcc-bootstrap
19288 all-gprof: stage_current
19289 @endif gcc-bootstrap
19290 @if gprof
19291 TARGET-gprof=all
19292 maybe-all-gprof: all-gprof
19293 all-gprof: configure-gprof
19294 @: $(MAKE); $(unstage)
19295 @r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19297 $(HOST_EXPORTS) \
19298 (cd $(HOST_SUBDIR)/gprof && \
19299 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19300 $(TARGET-gprof))
19301 @endif gprof
19302
19303
19304
19305
19306 .PHONY: check-gprof maybe-check-gprof
19307 maybe-check-gprof:
19308 @if gprof
19309 maybe-check-gprof: check-gprof
19310
19311 check-gprof:
19312 @: $(MAKE); $(unstage)
19313 @r=`${PWD_COMMAND}`; export r; \
19314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19315 $(HOST_EXPORTS) \
19316 (cd $(HOST_SUBDIR)/gprof && \
19317 $(MAKE) $(FLAGS_TO_PASS) check)
19318
19319 @endif gprof
19320
19321 .PHONY: install-gprof maybe-install-gprof
19322 maybe-install-gprof:
19323 @if gprof
19324 maybe-install-gprof: install-gprof
19325
19326 install-gprof: installdirs
19327 @: $(MAKE); $(unstage)
19328 @r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 (cd $(HOST_SUBDIR)/gprof && \
19332 $(MAKE) $(FLAGS_TO_PASS) install)
19333
19334 @endif gprof
19335
19336 .PHONY: install-strip-gprof maybe-install-strip-gprof
19337 maybe-install-strip-gprof:
19338 @if gprof
19339 maybe-install-strip-gprof: install-strip-gprof
19340
19341 install-strip-gprof: installdirs
19342 @: $(MAKE); $(unstage)
19343 @r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(HOST_EXPORTS) \
19346 (cd $(HOST_SUBDIR)/gprof && \
19347 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19348
19349 @endif gprof
19350
19351 # Other targets (info, dvi, pdf, etc.)
19352
19353 .PHONY: maybe-info-gprof info-gprof
19354 maybe-info-gprof:
19355 @if gprof
19356 maybe-info-gprof: info-gprof
19357
19358 info-gprof: \
19359 configure-gprof
19360 @: $(MAKE); $(unstage)
19361 @[ -f ./gprof/Makefile ] || exit 0; \
19362 r=`${PWD_COMMAND}`; export r; \
19363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19364 $(HOST_EXPORTS) \
19365 for flag in $(EXTRA_HOST_FLAGS) ; do \
19366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19367 done; \
19368 echo "Doing info in gprof"; \
19369 (cd $(HOST_SUBDIR)/gprof && \
19370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19372 "RANLIB=$${RANLIB}" \
19373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19374 info) \
19375 || exit 1
19376
19377 @endif gprof
19378
19379 .PHONY: maybe-dvi-gprof dvi-gprof
19380 maybe-dvi-gprof:
19381 @if gprof
19382 maybe-dvi-gprof: dvi-gprof
19383
19384 dvi-gprof: \
19385 configure-gprof
19386 @: $(MAKE); $(unstage)
19387 @[ -f ./gprof/Makefile ] || exit 0; \
19388 r=`${PWD_COMMAND}`; export r; \
19389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19390 $(HOST_EXPORTS) \
19391 for flag in $(EXTRA_HOST_FLAGS) ; do \
19392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19393 done; \
19394 echo "Doing dvi in gprof"; \
19395 (cd $(HOST_SUBDIR)/gprof && \
19396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19398 "RANLIB=$${RANLIB}" \
19399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19400 dvi) \
19401 || exit 1
19402
19403 @endif gprof
19404
19405 .PHONY: maybe-pdf-gprof pdf-gprof
19406 maybe-pdf-gprof:
19407 @if gprof
19408 maybe-pdf-gprof: pdf-gprof
19409
19410 pdf-gprof: \
19411 configure-gprof
19412 @: $(MAKE); $(unstage)
19413 @[ -f ./gprof/Makefile ] || exit 0; \
19414 r=`${PWD_COMMAND}`; export r; \
19415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19416 $(HOST_EXPORTS) \
19417 for flag in $(EXTRA_HOST_FLAGS) ; do \
19418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19419 done; \
19420 echo "Doing pdf in gprof"; \
19421 (cd $(HOST_SUBDIR)/gprof && \
19422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19424 "RANLIB=$${RANLIB}" \
19425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19426 pdf) \
19427 || exit 1
19428
19429 @endif gprof
19430
19431 .PHONY: maybe-html-gprof html-gprof
19432 maybe-html-gprof:
19433 @if gprof
19434 maybe-html-gprof: html-gprof
19435
19436 html-gprof: \
19437 configure-gprof
19438 @: $(MAKE); $(unstage)
19439 @[ -f ./gprof/Makefile ] || exit 0; \
19440 r=`${PWD_COMMAND}`; export r; \
19441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19442 $(HOST_EXPORTS) \
19443 for flag in $(EXTRA_HOST_FLAGS) ; do \
19444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19445 done; \
19446 echo "Doing html in gprof"; \
19447 (cd $(HOST_SUBDIR)/gprof && \
19448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19450 "RANLIB=$${RANLIB}" \
19451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19452 html) \
19453 || exit 1
19454
19455 @endif gprof
19456
19457 .PHONY: maybe-TAGS-gprof TAGS-gprof
19458 maybe-TAGS-gprof:
19459 @if gprof
19460 maybe-TAGS-gprof: TAGS-gprof
19461
19462 TAGS-gprof: \
19463 configure-gprof
19464 @: $(MAKE); $(unstage)
19465 @[ -f ./gprof/Makefile ] || exit 0; \
19466 r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 $(HOST_EXPORTS) \
19469 for flag in $(EXTRA_HOST_FLAGS) ; do \
19470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19471 done; \
19472 echo "Doing TAGS in gprof"; \
19473 (cd $(HOST_SUBDIR)/gprof && \
19474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19476 "RANLIB=$${RANLIB}" \
19477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19478 TAGS) \
19479 || exit 1
19480
19481 @endif gprof
19482
19483 .PHONY: maybe-install-info-gprof install-info-gprof
19484 maybe-install-info-gprof:
19485 @if gprof
19486 maybe-install-info-gprof: install-info-gprof
19487
19488 install-info-gprof: \
19489 configure-gprof \
19490 info-gprof
19491 @: $(MAKE); $(unstage)
19492 @[ -f ./gprof/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(HOST_EXPORTS) \
19496 for flag in $(EXTRA_HOST_FLAGS) ; do \
19497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 done; \
19499 echo "Doing install-info in gprof"; \
19500 (cd $(HOST_SUBDIR)/gprof && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19503 "RANLIB=$${RANLIB}" \
19504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19505 install-info) \
19506 || exit 1
19507
19508 @endif gprof
19509
19510 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19511 maybe-install-pdf-gprof:
19512 @if gprof
19513 maybe-install-pdf-gprof: install-pdf-gprof
19514
19515 install-pdf-gprof: \
19516 configure-gprof \
19517 pdf-gprof
19518 @: $(MAKE); $(unstage)
19519 @[ -f ./gprof/Makefile ] || exit 0; \
19520 r=`${PWD_COMMAND}`; export r; \
19521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19522 $(HOST_EXPORTS) \
19523 for flag in $(EXTRA_HOST_FLAGS) ; do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525 done; \
19526 echo "Doing install-pdf in gprof"; \
19527 (cd $(HOST_SUBDIR)/gprof && \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19532 install-pdf) \
19533 || exit 1
19534
19535 @endif gprof
19536
19537 .PHONY: maybe-install-html-gprof install-html-gprof
19538 maybe-install-html-gprof:
19539 @if gprof
19540 maybe-install-html-gprof: install-html-gprof
19541
19542 install-html-gprof: \
19543 configure-gprof \
19544 html-gprof
19545 @: $(MAKE); $(unstage)
19546 @[ -f ./gprof/Makefile ] || exit 0; \
19547 r=`${PWD_COMMAND}`; export r; \
19548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19549 $(HOST_EXPORTS) \
19550 for flag in $(EXTRA_HOST_FLAGS) ; do \
19551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19552 done; \
19553 echo "Doing install-html in gprof"; \
19554 (cd $(HOST_SUBDIR)/gprof && \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557 "RANLIB=$${RANLIB}" \
19558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19559 install-html) \
19560 || exit 1
19561
19562 @endif gprof
19563
19564 .PHONY: maybe-installcheck-gprof installcheck-gprof
19565 maybe-installcheck-gprof:
19566 @if gprof
19567 maybe-installcheck-gprof: installcheck-gprof
19568
19569 installcheck-gprof: \
19570 configure-gprof
19571 @: $(MAKE); $(unstage)
19572 @[ -f ./gprof/Makefile ] || exit 0; \
19573 r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 $(HOST_EXPORTS) \
19576 for flag in $(EXTRA_HOST_FLAGS) ; do \
19577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19578 done; \
19579 echo "Doing installcheck in gprof"; \
19580 (cd $(HOST_SUBDIR)/gprof && \
19581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19583 "RANLIB=$${RANLIB}" \
19584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19585 installcheck) \
19586 || exit 1
19587
19588 @endif gprof
19589
19590 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19591 maybe-mostlyclean-gprof:
19592 @if gprof
19593 maybe-mostlyclean-gprof: mostlyclean-gprof
19594
19595 mostlyclean-gprof:
19596 @: $(MAKE); $(unstage)
19597 @[ -f ./gprof/Makefile ] || exit 0; \
19598 r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 $(HOST_EXPORTS) \
19601 for flag in $(EXTRA_HOST_FLAGS) ; do \
19602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19603 done; \
19604 echo "Doing mostlyclean in gprof"; \
19605 (cd $(HOST_SUBDIR)/gprof && \
19606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19608 "RANLIB=$${RANLIB}" \
19609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19610 mostlyclean) \
19611 || exit 1
19612
19613 @endif gprof
19614
19615 .PHONY: maybe-clean-gprof clean-gprof
19616 maybe-clean-gprof:
19617 @if gprof
19618 maybe-clean-gprof: clean-gprof
19619
19620 clean-gprof:
19621 @: $(MAKE); $(unstage)
19622 @[ -f ./gprof/Makefile ] || exit 0; \
19623 r=`${PWD_COMMAND}`; export r; \
19624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19625 $(HOST_EXPORTS) \
19626 for flag in $(EXTRA_HOST_FLAGS) ; do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 done; \
19629 echo "Doing clean in gprof"; \
19630 (cd $(HOST_SUBDIR)/gprof && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19635 clean) \
19636 || exit 1
19637
19638 @endif gprof
19639
19640 .PHONY: maybe-distclean-gprof distclean-gprof
19641 maybe-distclean-gprof:
19642 @if gprof
19643 maybe-distclean-gprof: distclean-gprof
19644
19645 distclean-gprof:
19646 @: $(MAKE); $(unstage)
19647 @[ -f ./gprof/Makefile ] || exit 0; \
19648 r=`${PWD_COMMAND}`; export r; \
19649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19650 $(HOST_EXPORTS) \
19651 for flag in $(EXTRA_HOST_FLAGS) ; do \
19652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19653 done; \
19654 echo "Doing distclean in gprof"; \
19655 (cd $(HOST_SUBDIR)/gprof && \
19656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19658 "RANLIB=$${RANLIB}" \
19659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19660 distclean) \
19661 || exit 1
19662
19663 @endif gprof
19664
19665 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19666 maybe-maintainer-clean-gprof:
19667 @if gprof
19668 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19669
19670 maintainer-clean-gprof:
19671 @: $(MAKE); $(unstage)
19672 @[ -f ./gprof/Makefile ] || exit 0; \
19673 r=`${PWD_COMMAND}`; export r; \
19674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 $(HOST_EXPORTS) \
19676 for flag in $(EXTRA_HOST_FLAGS) ; do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 done; \
19679 echo "Doing maintainer-clean in gprof"; \
19680 (cd $(HOST_SUBDIR)/gprof && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19685 maintainer-clean) \
19686 || exit 1
19687
19688 @endif gprof
19689
19690
19691
19692 .PHONY: configure-intl maybe-configure-intl
19693 maybe-configure-intl:
19694 @if gcc-bootstrap
19695 configure-intl: stage_current
19696 @endif gcc-bootstrap
19697 @if intl
19698 maybe-configure-intl: configure-intl
19699 configure-intl:
19700 @r=`${PWD_COMMAND}`; export r; \
19701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19702 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19704 $(HOST_EXPORTS) \
19705 echo Configuring in $(HOST_SUBDIR)/intl; \
19706 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19707 case $(srcdir) in \
19708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19709 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19711 esac; \
19712 module_srcdir=intl; \
19713 $(SHELL) \
19714 $$s/$$module_srcdir/configure \
19715 --srcdir=$${topdir}/$$module_srcdir \
19716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19717 --target=${target_alias} \
19718 || exit 1
19719 @endif intl
19720
19721
19722
19723 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19724 maybe-configure-stage1-intl:
19725 @if intl-bootstrap
19726 maybe-configure-stage1-intl: configure-stage1-intl
19727 configure-stage1-intl:
19728 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19730 @r=`${PWD_COMMAND}`; export r; \
19731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 TFLAGS="$(STAGE1_TFLAGS)"; \
19733 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19734 $(HOST_EXPORTS) \
19735 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19736 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19737 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19738 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19740 cd $(HOST_SUBDIR)/intl || exit 1; \
19741 case $(srcdir) in \
19742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19743 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19745 esac; \
19746 module_srcdir=intl; \
19747 $(SHELL) $$s/$$module_srcdir/configure \
19748 --srcdir=$${topdir}/$$module_srcdir \
19749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19750 --target=${target_alias} \
19751 \
19752 $(STAGE1_CONFIGURE_FLAGS)
19753 @endif intl-bootstrap
19754
19755 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19756 maybe-configure-stage2-intl:
19757 @if intl-bootstrap
19758 maybe-configure-stage2-intl: configure-stage2-intl
19759 configure-stage2-intl:
19760 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19762 @r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 TFLAGS="$(STAGE2_TFLAGS)"; \
19765 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19766 $(HOST_EXPORTS) \
19767 $(POSTSTAGE1_HOST_EXPORTS) \
19768 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19769 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19770 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19771 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19773 cd $(HOST_SUBDIR)/intl || exit 1; \
19774 case $(srcdir) in \
19775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19776 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19778 esac; \
19779 module_srcdir=intl; \
19780 $(SHELL) $$s/$$module_srcdir/configure \
19781 --srcdir=$${topdir}/$$module_srcdir \
19782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19783 --target=${target_alias} \
19784 --with-build-libsubdir=$(HOST_SUBDIR) \
19785 $(STAGE2_CONFIGURE_FLAGS)
19786 @endif intl-bootstrap
19787
19788 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19789 maybe-configure-stage3-intl:
19790 @if intl-bootstrap
19791 maybe-configure-stage3-intl: configure-stage3-intl
19792 configure-stage3-intl:
19793 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19795 @r=`${PWD_COMMAND}`; export r; \
19796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19797 TFLAGS="$(STAGE3_TFLAGS)"; \
19798 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19799 $(HOST_EXPORTS) \
19800 $(POSTSTAGE1_HOST_EXPORTS) \
19801 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19802 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19803 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19804 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19806 cd $(HOST_SUBDIR)/intl || exit 1; \
19807 case $(srcdir) in \
19808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19809 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19811 esac; \
19812 module_srcdir=intl; \
19813 $(SHELL) $$s/$$module_srcdir/configure \
19814 --srcdir=$${topdir}/$$module_srcdir \
19815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19816 --target=${target_alias} \
19817 --with-build-libsubdir=$(HOST_SUBDIR) \
19818 $(STAGE3_CONFIGURE_FLAGS)
19819 @endif intl-bootstrap
19820
19821 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19822 maybe-configure-stage4-intl:
19823 @if intl-bootstrap
19824 maybe-configure-stage4-intl: configure-stage4-intl
19825 configure-stage4-intl:
19826 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19828 @r=`${PWD_COMMAND}`; export r; \
19829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19830 TFLAGS="$(STAGE4_TFLAGS)"; \
19831 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19832 $(HOST_EXPORTS) \
19833 $(POSTSTAGE1_HOST_EXPORTS) \
19834 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19835 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19836 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19837 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19839 cd $(HOST_SUBDIR)/intl || exit 1; \
19840 case $(srcdir) in \
19841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19842 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19844 esac; \
19845 module_srcdir=intl; \
19846 $(SHELL) $$s/$$module_srcdir/configure \
19847 --srcdir=$${topdir}/$$module_srcdir \
19848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19849 --target=${target_alias} \
19850 --with-build-libsubdir=$(HOST_SUBDIR) \
19851 $(STAGE4_CONFIGURE_FLAGS)
19852 @endif intl-bootstrap
19853
19854 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19855 maybe-configure-stageprofile-intl:
19856 @if intl-bootstrap
19857 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19858 configure-stageprofile-intl:
19859 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19861 @r=`${PWD_COMMAND}`; export r; \
19862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19863 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19864 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19865 $(HOST_EXPORTS) \
19866 $(POSTSTAGE1_HOST_EXPORTS) \
19867 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19868 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19869 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19870 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19872 cd $(HOST_SUBDIR)/intl || exit 1; \
19873 case $(srcdir) in \
19874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19875 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19877 esac; \
19878 module_srcdir=intl; \
19879 $(SHELL) $$s/$$module_srcdir/configure \
19880 --srcdir=$${topdir}/$$module_srcdir \
19881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19882 --target=${target_alias} \
19883 --with-build-libsubdir=$(HOST_SUBDIR) \
19884 $(STAGEprofile_CONFIGURE_FLAGS)
19885 @endif intl-bootstrap
19886
19887 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19888 maybe-configure-stagetrain-intl:
19889 @if intl-bootstrap
19890 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19891 configure-stagetrain-intl:
19892 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19894 @r=`${PWD_COMMAND}`; export r; \
19895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19896 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19897 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19898 $(HOST_EXPORTS) \
19899 $(POSTSTAGE1_HOST_EXPORTS) \
19900 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19901 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19902 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19903 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19905 cd $(HOST_SUBDIR)/intl || exit 1; \
19906 case $(srcdir) in \
19907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19908 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19910 esac; \
19911 module_srcdir=intl; \
19912 $(SHELL) $$s/$$module_srcdir/configure \
19913 --srcdir=$${topdir}/$$module_srcdir \
19914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19915 --target=${target_alias} \
19916 --with-build-libsubdir=$(HOST_SUBDIR) \
19917 $(STAGEtrain_CONFIGURE_FLAGS)
19918 @endif intl-bootstrap
19919
19920 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19921 maybe-configure-stagefeedback-intl:
19922 @if intl-bootstrap
19923 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19924 configure-stagefeedback-intl:
19925 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19927 @r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19930 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19931 $(HOST_EXPORTS) \
19932 $(POSTSTAGE1_HOST_EXPORTS) \
19933 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19934 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19935 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19936 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19938 cd $(HOST_SUBDIR)/intl || exit 1; \
19939 case $(srcdir) in \
19940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19941 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19943 esac; \
19944 module_srcdir=intl; \
19945 $(SHELL) $$s/$$module_srcdir/configure \
19946 --srcdir=$${topdir}/$$module_srcdir \
19947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19948 --target=${target_alias} \
19949 --with-build-libsubdir=$(HOST_SUBDIR) \
19950 $(STAGEfeedback_CONFIGURE_FLAGS)
19951 @endif intl-bootstrap
19952
19953 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19954 maybe-configure-stageautoprofile-intl:
19955 @if intl-bootstrap
19956 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19957 configure-stageautoprofile-intl:
19958 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19960 @r=`${PWD_COMMAND}`; export r; \
19961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19962 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19963 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19964 $(HOST_EXPORTS) \
19965 $(POSTSTAGE1_HOST_EXPORTS) \
19966 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19967 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19968 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19969 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19971 cd $(HOST_SUBDIR)/intl || exit 1; \
19972 case $(srcdir) in \
19973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19974 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19976 esac; \
19977 module_srcdir=intl; \
19978 $(SHELL) $$s/$$module_srcdir/configure \
19979 --srcdir=$${topdir}/$$module_srcdir \
19980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19981 --target=${target_alias} \
19982 --with-build-libsubdir=$(HOST_SUBDIR) \
19983 $(STAGEautoprofile_CONFIGURE_FLAGS)
19984 @endif intl-bootstrap
19985
19986 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19987 maybe-configure-stageautofeedback-intl:
19988 @if intl-bootstrap
19989 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19990 configure-stageautofeedback-intl:
19991 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19993 @r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19996 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19997 $(HOST_EXPORTS) \
19998 $(POSTSTAGE1_HOST_EXPORTS) \
19999 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20000 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20001 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20002 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
20003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20004 cd $(HOST_SUBDIR)/intl || exit 1; \
20005 case $(srcdir) in \
20006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20007 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20009 esac; \
20010 module_srcdir=intl; \
20011 $(SHELL) $$s/$$module_srcdir/configure \
20012 --srcdir=$${topdir}/$$module_srcdir \
20013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20014 --target=${target_alias} \
20015 --with-build-libsubdir=$(HOST_SUBDIR) \
20016 $(STAGEautofeedback_CONFIGURE_FLAGS)
20017 @endif intl-bootstrap
20018
20019
20020
20021
20022
20023 .PHONY: all-intl maybe-all-intl
20024 maybe-all-intl:
20025 @if gcc-bootstrap
20026 all-intl: stage_current
20027 @endif gcc-bootstrap
20028 @if intl
20029 TARGET-intl=all
20030 maybe-all-intl: all-intl
20031 all-intl: configure-intl
20032 @r=`${PWD_COMMAND}`; export r; \
20033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20034 $(HOST_EXPORTS) \
20035 (cd $(HOST_SUBDIR)/intl && \
20036 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20037 $(TARGET-intl))
20038 @endif intl
20039
20040
20041
20042 .PHONY: all-stage1-intl maybe-all-stage1-intl
20043 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
20044 maybe-all-stage1-intl:
20045 maybe-clean-stage1-intl:
20046 @if intl-bootstrap
20047 maybe-all-stage1-intl: all-stage1-intl
20048 all-stage1: all-stage1-intl
20049 TARGET-stage1-intl = $(TARGET-intl)
20050 all-stage1-intl: configure-stage1-intl
20051 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20052 @r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 TFLAGS="$(STAGE1_TFLAGS)"; \
20055 $(HOST_EXPORTS) \
20056 cd $(HOST_SUBDIR)/intl && \
20057 \
20058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20059 CFLAGS="$(STAGE1_CFLAGS)" \
20060 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20061 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20062 LIBCFLAGS="$(LIBCFLAGS)" \
20063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20066 $(EXTRA_HOST_FLAGS) \
20067 $(STAGE1_FLAGS_TO_PASS) \
20068 TFLAGS="$(STAGE1_TFLAGS)" \
20069 $(TARGET-stage1-intl)
20070
20071 maybe-clean-stage1-intl: clean-stage1-intl
20072 clean-stage1: clean-stage1-intl
20073 clean-stage1-intl:
20074 @if [ $(current_stage) = stage1 ]; then \
20075 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20076 else \
20077 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
20078 $(MAKE) stage1-start; \
20079 fi; \
20080 cd $(HOST_SUBDIR)/intl && \
20081 $(MAKE) $(EXTRA_HOST_FLAGS) \
20082 $(STAGE1_FLAGS_TO_PASS) clean
20083 @endif intl-bootstrap
20084
20085
20086 .PHONY: all-stage2-intl maybe-all-stage2-intl
20087 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
20088 maybe-all-stage2-intl:
20089 maybe-clean-stage2-intl:
20090 @if intl-bootstrap
20091 maybe-all-stage2-intl: all-stage2-intl
20092 all-stage2: all-stage2-intl
20093 TARGET-stage2-intl = $(TARGET-intl)
20094 all-stage2-intl: configure-stage2-intl
20095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20096 @r=`${PWD_COMMAND}`; export r; \
20097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098 TFLAGS="$(STAGE2_TFLAGS)"; \
20099 $(HOST_EXPORTS) \
20100 $(POSTSTAGE1_HOST_EXPORTS) \
20101 cd $(HOST_SUBDIR)/intl && \
20102 \
20103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20104 CFLAGS="$(STAGE2_CFLAGS)" \
20105 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20106 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20107 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20112 TFLAGS="$(STAGE2_TFLAGS)" \
20113 $(TARGET-stage2-intl)
20114
20115 maybe-clean-stage2-intl: clean-stage2-intl
20116 clean-stage2: clean-stage2-intl
20117 clean-stage2-intl:
20118 @if [ $(current_stage) = stage2 ]; then \
20119 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20120 else \
20121 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
20122 $(MAKE) stage2-start; \
20123 fi; \
20124 cd $(HOST_SUBDIR)/intl && \
20125 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20126 @endif intl-bootstrap
20127
20128
20129 .PHONY: all-stage3-intl maybe-all-stage3-intl
20130 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
20131 maybe-all-stage3-intl:
20132 maybe-clean-stage3-intl:
20133 @if intl-bootstrap
20134 maybe-all-stage3-intl: all-stage3-intl
20135 all-stage3: all-stage3-intl
20136 TARGET-stage3-intl = $(TARGET-intl)
20137 all-stage3-intl: configure-stage3-intl
20138 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20139 @r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 TFLAGS="$(STAGE3_TFLAGS)"; \
20142 $(HOST_EXPORTS) \
20143 $(POSTSTAGE1_HOST_EXPORTS) \
20144 cd $(HOST_SUBDIR)/intl && \
20145 \
20146 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20147 CFLAGS="$(STAGE3_CFLAGS)" \
20148 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20149 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20150 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20155 TFLAGS="$(STAGE3_TFLAGS)" \
20156 $(TARGET-stage3-intl)
20157
20158 maybe-clean-stage3-intl: clean-stage3-intl
20159 clean-stage3: clean-stage3-intl
20160 clean-stage3-intl:
20161 @if [ $(current_stage) = stage3 ]; then \
20162 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20163 else \
20164 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20165 $(MAKE) stage3-start; \
20166 fi; \
20167 cd $(HOST_SUBDIR)/intl && \
20168 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20169 @endif intl-bootstrap
20170
20171
20172 .PHONY: all-stage4-intl maybe-all-stage4-intl
20173 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20174 maybe-all-stage4-intl:
20175 maybe-clean-stage4-intl:
20176 @if intl-bootstrap
20177 maybe-all-stage4-intl: all-stage4-intl
20178 all-stage4: all-stage4-intl
20179 TARGET-stage4-intl = $(TARGET-intl)
20180 all-stage4-intl: configure-stage4-intl
20181 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20182 @r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 TFLAGS="$(STAGE4_TFLAGS)"; \
20185 $(HOST_EXPORTS) \
20186 $(POSTSTAGE1_HOST_EXPORTS) \
20187 cd $(HOST_SUBDIR)/intl && \
20188 \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20190 CFLAGS="$(STAGE4_CFLAGS)" \
20191 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20192 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20193 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20198 TFLAGS="$(STAGE4_TFLAGS)" \
20199 $(TARGET-stage4-intl)
20200
20201 maybe-clean-stage4-intl: clean-stage4-intl
20202 clean-stage4: clean-stage4-intl
20203 clean-stage4-intl:
20204 @if [ $(current_stage) = stage4 ]; then \
20205 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20206 else \
20207 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20208 $(MAKE) stage4-start; \
20209 fi; \
20210 cd $(HOST_SUBDIR)/intl && \
20211 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20212 @endif intl-bootstrap
20213
20214
20215 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20216 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20217 maybe-all-stageprofile-intl:
20218 maybe-clean-stageprofile-intl:
20219 @if intl-bootstrap
20220 maybe-all-stageprofile-intl: all-stageprofile-intl
20221 all-stageprofile: all-stageprofile-intl
20222 TARGET-stageprofile-intl = $(TARGET-intl)
20223 all-stageprofile-intl: configure-stageprofile-intl
20224 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20225 @r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20228 $(HOST_EXPORTS) \
20229 $(POSTSTAGE1_HOST_EXPORTS) \
20230 cd $(HOST_SUBDIR)/intl && \
20231 \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20233 CFLAGS="$(STAGEprofile_CFLAGS)" \
20234 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20235 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20236 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20240 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20241 TFLAGS="$(STAGEprofile_TFLAGS)" \
20242 $(TARGET-stageprofile-intl)
20243
20244 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20245 clean-stageprofile: clean-stageprofile-intl
20246 clean-stageprofile-intl:
20247 @if [ $(current_stage) = stageprofile ]; then \
20248 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20249 else \
20250 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20251 $(MAKE) stageprofile-start; \
20252 fi; \
20253 cd $(HOST_SUBDIR)/intl && \
20254 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20255 @endif intl-bootstrap
20256
20257
20258 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20259 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20260 maybe-all-stagetrain-intl:
20261 maybe-clean-stagetrain-intl:
20262 @if intl-bootstrap
20263 maybe-all-stagetrain-intl: all-stagetrain-intl
20264 all-stagetrain: all-stagetrain-intl
20265 TARGET-stagetrain-intl = $(TARGET-intl)
20266 all-stagetrain-intl: configure-stagetrain-intl
20267 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20268 @r=`${PWD_COMMAND}`; export r; \
20269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20270 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20271 $(HOST_EXPORTS) \
20272 $(POSTSTAGE1_HOST_EXPORTS) \
20273 cd $(HOST_SUBDIR)/intl && \
20274 \
20275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20276 CFLAGS="$(STAGEtrain_CFLAGS)" \
20277 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
20278 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20279 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20283 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20284 TFLAGS="$(STAGEtrain_TFLAGS)" \
20285 $(TARGET-stagetrain-intl)
20286
20287 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20288 clean-stagetrain: clean-stagetrain-intl
20289 clean-stagetrain-intl:
20290 @if [ $(current_stage) = stagetrain ]; then \
20291 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20292 else \
20293 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20294 $(MAKE) stagetrain-start; \
20295 fi; \
20296 cd $(HOST_SUBDIR)/intl && \
20297 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20298 @endif intl-bootstrap
20299
20300
20301 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20302 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20303 maybe-all-stagefeedback-intl:
20304 maybe-clean-stagefeedback-intl:
20305 @if intl-bootstrap
20306 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20307 all-stagefeedback: all-stagefeedback-intl
20308 TARGET-stagefeedback-intl = $(TARGET-intl)
20309 all-stagefeedback-intl: configure-stagefeedback-intl
20310 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20311 @r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20314 $(HOST_EXPORTS) \
20315 $(POSTSTAGE1_HOST_EXPORTS) \
20316 cd $(HOST_SUBDIR)/intl && \
20317 \
20318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20319 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20320 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
20321 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20322 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20327 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20328 $(TARGET-stagefeedback-intl)
20329
20330 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20331 clean-stagefeedback: clean-stagefeedback-intl
20332 clean-stagefeedback-intl:
20333 @if [ $(current_stage) = stagefeedback ]; then \
20334 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20335 else \
20336 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20337 $(MAKE) stagefeedback-start; \
20338 fi; \
20339 cd $(HOST_SUBDIR)/intl && \
20340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20341 @endif intl-bootstrap
20342
20343
20344 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20345 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20346 maybe-all-stageautoprofile-intl:
20347 maybe-clean-stageautoprofile-intl:
20348 @if intl-bootstrap
20349 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20350 all-stageautoprofile: all-stageautoprofile-intl
20351 TARGET-stageautoprofile-intl = $(TARGET-intl)
20352 all-stageautoprofile-intl: configure-stageautoprofile-intl
20353 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20354 @r=`${PWD_COMMAND}`; export r; \
20355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20356 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20357 $(HOST_EXPORTS) \
20358 $(POSTSTAGE1_HOST_EXPORTS) \
20359 cd $(HOST_SUBDIR)/intl && \
20360 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20362 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20363 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
20364 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20365 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20369 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20370 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20371 $(TARGET-stageautoprofile-intl)
20372
20373 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20374 clean-stageautoprofile: clean-stageautoprofile-intl
20375 clean-stageautoprofile-intl:
20376 @if [ $(current_stage) = stageautoprofile ]; then \
20377 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20378 else \
20379 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20380 $(MAKE) stageautoprofile-start; \
20381 fi; \
20382 cd $(HOST_SUBDIR)/intl && \
20383 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20384 @endif intl-bootstrap
20385
20386
20387 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20388 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20389 maybe-all-stageautofeedback-intl:
20390 maybe-clean-stageautofeedback-intl:
20391 @if intl-bootstrap
20392 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20393 all-stageautofeedback: all-stageautofeedback-intl
20394 TARGET-stageautofeedback-intl = $(TARGET-intl)
20395 all-stageautofeedback-intl: configure-stageautofeedback-intl
20396 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20397 @r=`${PWD_COMMAND}`; export r; \
20398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20399 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20400 $(HOST_EXPORTS) \
20401 $(POSTSTAGE1_HOST_EXPORTS) \
20402 cd $(HOST_SUBDIR)/intl && \
20403 \
20404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20405 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20406 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
20407 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20408 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20412 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20413 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20414 $(TARGET-stageautofeedback-intl)
20415
20416 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20417 clean-stageautofeedback: clean-stageautofeedback-intl
20418 clean-stageautofeedback-intl:
20419 @if [ $(current_stage) = stageautofeedback ]; then \
20420 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20421 else \
20422 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20423 $(MAKE) stageautofeedback-start; \
20424 fi; \
20425 cd $(HOST_SUBDIR)/intl && \
20426 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20427 @endif intl-bootstrap
20428
20429
20430
20431
20432
20433 .PHONY: check-intl maybe-check-intl
20434 maybe-check-intl:
20435 @if intl
20436 maybe-check-intl: check-intl
20437
20438 check-intl:
20439 @: $(MAKE); $(unstage)
20440 @r=`${PWD_COMMAND}`; export r; \
20441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20442 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20443 (cd $(HOST_SUBDIR)/intl && \
20444 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20445
20446 @endif intl
20447
20448 .PHONY: install-intl maybe-install-intl
20449 maybe-install-intl:
20450 @if intl
20451 maybe-install-intl: install-intl
20452
20453 install-intl: installdirs
20454 @: $(MAKE); $(unstage)
20455 @r=`${PWD_COMMAND}`; export r; \
20456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457 $(HOST_EXPORTS) \
20458 (cd $(HOST_SUBDIR)/intl && \
20459 $(MAKE) $(FLAGS_TO_PASS) install)
20460
20461 @endif intl
20462
20463 .PHONY: install-strip-intl maybe-install-strip-intl
20464 maybe-install-strip-intl:
20465 @if intl
20466 maybe-install-strip-intl: install-strip-intl
20467
20468 install-strip-intl: installdirs
20469 @: $(MAKE); $(unstage)
20470 @r=`${PWD_COMMAND}`; export r; \
20471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20472 $(HOST_EXPORTS) \
20473 (cd $(HOST_SUBDIR)/intl && \
20474 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20475
20476 @endif intl
20477
20478 # Other targets (info, dvi, pdf, etc.)
20479
20480 .PHONY: maybe-info-intl info-intl
20481 maybe-info-intl:
20482 @if intl
20483 maybe-info-intl: info-intl
20484
20485 info-intl: \
20486 configure-intl
20487 @[ -f ./intl/Makefile ] || exit 0; \
20488 r=`${PWD_COMMAND}`; export r; \
20489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20490 $(HOST_EXPORTS) \
20491 for flag in $(EXTRA_HOST_FLAGS) ; do \
20492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20493 done; \
20494 echo "Doing info in intl"; \
20495 (cd $(HOST_SUBDIR)/intl && \
20496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20498 "RANLIB=$${RANLIB}" \
20499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20500 info) \
20501 || exit 1
20502
20503 @endif intl
20504
20505 .PHONY: maybe-dvi-intl dvi-intl
20506 maybe-dvi-intl:
20507 @if intl
20508 maybe-dvi-intl: dvi-intl
20509
20510 dvi-intl: \
20511 configure-intl
20512 @[ -f ./intl/Makefile ] || exit 0; \
20513 r=`${PWD_COMMAND}`; export r; \
20514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 $(HOST_EXPORTS) \
20516 for flag in $(EXTRA_HOST_FLAGS) ; do \
20517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518 done; \
20519 echo "Doing dvi in intl"; \
20520 (cd $(HOST_SUBDIR)/intl && \
20521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20523 "RANLIB=$${RANLIB}" \
20524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20525 dvi) \
20526 || exit 1
20527
20528 @endif intl
20529
20530 .PHONY: maybe-pdf-intl pdf-intl
20531 maybe-pdf-intl:
20532 @if intl
20533 maybe-pdf-intl: pdf-intl
20534
20535 pdf-intl: \
20536 configure-intl
20537 @[ -f ./intl/Makefile ] || exit 0; \
20538 r=`${PWD_COMMAND}`; export r; \
20539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20540 $(HOST_EXPORTS) \
20541 for flag in $(EXTRA_HOST_FLAGS) ; do \
20542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20543 done; \
20544 echo "Doing pdf in intl"; \
20545 (cd $(HOST_SUBDIR)/intl && \
20546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20548 "RANLIB=$${RANLIB}" \
20549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20550 pdf) \
20551 || exit 1
20552
20553 @endif intl
20554
20555 .PHONY: maybe-html-intl html-intl
20556 maybe-html-intl:
20557 @if intl
20558 maybe-html-intl: html-intl
20559
20560 html-intl: \
20561 configure-intl
20562 @[ -f ./intl/Makefile ] || exit 0; \
20563 r=`${PWD_COMMAND}`; export r; \
20564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20565 $(HOST_EXPORTS) \
20566 for flag in $(EXTRA_HOST_FLAGS) ; do \
20567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20568 done; \
20569 echo "Doing html in intl"; \
20570 (cd $(HOST_SUBDIR)/intl && \
20571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20573 "RANLIB=$${RANLIB}" \
20574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20575 html) \
20576 || exit 1
20577
20578 @endif intl
20579
20580 .PHONY: maybe-TAGS-intl TAGS-intl
20581 maybe-TAGS-intl:
20582 @if intl
20583 maybe-TAGS-intl: TAGS-intl
20584
20585 TAGS-intl: \
20586 configure-intl
20587 @[ -f ./intl/Makefile ] || exit 0; \
20588 r=`${PWD_COMMAND}`; export r; \
20589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20590 $(HOST_EXPORTS) \
20591 for flag in $(EXTRA_HOST_FLAGS) ; do \
20592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20593 done; \
20594 echo "Doing TAGS in intl"; \
20595 (cd $(HOST_SUBDIR)/intl && \
20596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20598 "RANLIB=$${RANLIB}" \
20599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20600 TAGS) \
20601 || exit 1
20602
20603 @endif intl
20604
20605 .PHONY: maybe-install-info-intl install-info-intl
20606 maybe-install-info-intl:
20607 @if intl
20608 maybe-install-info-intl: install-info-intl
20609
20610 install-info-intl: \
20611 configure-intl \
20612 info-intl
20613 @[ -f ./intl/Makefile ] || exit 0; \
20614 r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(HOST_EXPORTS) \
20617 for flag in $(EXTRA_HOST_FLAGS) ; do \
20618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20619 done; \
20620 echo "Doing install-info in intl"; \
20621 (cd $(HOST_SUBDIR)/intl && \
20622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20624 "RANLIB=$${RANLIB}" \
20625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20626 install-info) \
20627 || exit 1
20628
20629 @endif intl
20630
20631 .PHONY: maybe-install-pdf-intl install-pdf-intl
20632 maybe-install-pdf-intl:
20633 @if intl
20634 maybe-install-pdf-intl: install-pdf-intl
20635
20636 install-pdf-intl: \
20637 configure-intl \
20638 pdf-intl
20639 @[ -f ./intl/Makefile ] || exit 0; \
20640 r=`${PWD_COMMAND}`; export r; \
20641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20642 $(HOST_EXPORTS) \
20643 for flag in $(EXTRA_HOST_FLAGS) ; do \
20644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20645 done; \
20646 echo "Doing install-pdf in intl"; \
20647 (cd $(HOST_SUBDIR)/intl && \
20648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20650 "RANLIB=$${RANLIB}" \
20651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20652 install-pdf) \
20653 || exit 1
20654
20655 @endif intl
20656
20657 .PHONY: maybe-install-html-intl install-html-intl
20658 maybe-install-html-intl:
20659 @if intl
20660 maybe-install-html-intl: install-html-intl
20661
20662 install-html-intl: \
20663 configure-intl \
20664 html-intl
20665 @[ -f ./intl/Makefile ] || exit 0; \
20666 r=`${PWD_COMMAND}`; export r; \
20667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 $(HOST_EXPORTS) \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 done; \
20672 echo "Doing install-html in intl"; \
20673 (cd $(HOST_SUBDIR)/intl && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20678 install-html) \
20679 || exit 1
20680
20681 @endif intl
20682
20683 .PHONY: maybe-installcheck-intl installcheck-intl
20684 maybe-installcheck-intl:
20685 @if intl
20686 maybe-installcheck-intl: installcheck-intl
20687
20688 installcheck-intl: \
20689 configure-intl
20690 @[ -f ./intl/Makefile ] || exit 0; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(HOST_EXPORTS) \
20694 for flag in $(EXTRA_HOST_FLAGS) ; do \
20695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20696 done; \
20697 echo "Doing installcheck in intl"; \
20698 (cd $(HOST_SUBDIR)/intl && \
20699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20701 "RANLIB=$${RANLIB}" \
20702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20703 installcheck) \
20704 || exit 1
20705
20706 @endif intl
20707
20708 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20709 maybe-mostlyclean-intl:
20710 @if intl
20711 maybe-mostlyclean-intl: mostlyclean-intl
20712
20713 mostlyclean-intl:
20714 @[ -f ./intl/Makefile ] || exit 0; \
20715 r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717 $(HOST_EXPORTS) \
20718 for flag in $(EXTRA_HOST_FLAGS) ; do \
20719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20720 done; \
20721 echo "Doing mostlyclean in intl"; \
20722 (cd $(HOST_SUBDIR)/intl && \
20723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20725 "RANLIB=$${RANLIB}" \
20726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20727 mostlyclean) \
20728 || exit 1
20729
20730 @endif intl
20731
20732 .PHONY: maybe-clean-intl clean-intl
20733 maybe-clean-intl:
20734 @if intl
20735 maybe-clean-intl: clean-intl
20736
20737 clean-intl:
20738 @[ -f ./intl/Makefile ] || exit 0; \
20739 r=`${PWD_COMMAND}`; export r; \
20740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20741 $(HOST_EXPORTS) \
20742 for flag in $(EXTRA_HOST_FLAGS) ; do \
20743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20744 done; \
20745 echo "Doing clean in intl"; \
20746 (cd $(HOST_SUBDIR)/intl && \
20747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20749 "RANLIB=$${RANLIB}" \
20750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20751 clean) \
20752 || exit 1
20753
20754 @endif intl
20755
20756 .PHONY: maybe-distclean-intl distclean-intl
20757 maybe-distclean-intl:
20758 @if intl
20759 maybe-distclean-intl: distclean-intl
20760
20761 distclean-intl:
20762 @[ -f ./intl/Makefile ] || exit 0; \
20763 r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20765 $(HOST_EXPORTS) \
20766 for flag in $(EXTRA_HOST_FLAGS) ; do \
20767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20768 done; \
20769 echo "Doing distclean in intl"; \
20770 (cd $(HOST_SUBDIR)/intl && \
20771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20773 "RANLIB=$${RANLIB}" \
20774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20775 distclean) \
20776 || exit 1
20777
20778 @endif intl
20779
20780 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20781 maybe-maintainer-clean-intl:
20782 @if intl
20783 maybe-maintainer-clean-intl: maintainer-clean-intl
20784
20785 maintainer-clean-intl:
20786 @[ -f ./intl/Makefile ] || exit 0; \
20787 r=`${PWD_COMMAND}`; export r; \
20788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20789 $(HOST_EXPORTS) \
20790 for flag in $(EXTRA_HOST_FLAGS) ; do \
20791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20792 done; \
20793 echo "Doing maintainer-clean in intl"; \
20794 (cd $(HOST_SUBDIR)/intl && \
20795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20797 "RANLIB=$${RANLIB}" \
20798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20799 maintainer-clean) \
20800 || exit 1
20801
20802 @endif intl
20803
20804
20805
20806 .PHONY: configure-tcl maybe-configure-tcl
20807 maybe-configure-tcl:
20808 @if gcc-bootstrap
20809 configure-tcl: stage_current
20810 @endif gcc-bootstrap
20811 @if tcl
20812 maybe-configure-tcl: configure-tcl
20813 configure-tcl:
20814 @: $(MAKE); $(unstage)
20815 @r=`${PWD_COMMAND}`; export r; \
20816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20817 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20819 $(HOST_EXPORTS) \
20820 echo Configuring in $(HOST_SUBDIR)/tcl; \
20821 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20822 case $(srcdir) in \
20823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20824 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20826 esac; \
20827 module_srcdir=tcl; \
20828 $(SHELL) \
20829 $$s/$$module_srcdir/configure \
20830 --srcdir=$${topdir}/$$module_srcdir \
20831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20832 --target=${target_alias} \
20833 || exit 1
20834 @endif tcl
20835
20836
20837
20838
20839
20840 .PHONY: all-tcl maybe-all-tcl
20841 maybe-all-tcl:
20842 @if gcc-bootstrap
20843 all-tcl: stage_current
20844 @endif gcc-bootstrap
20845 @if tcl
20846 TARGET-tcl=all
20847 maybe-all-tcl: all-tcl
20848 all-tcl: configure-tcl
20849 @: $(MAKE); $(unstage)
20850 @r=`${PWD_COMMAND}`; export r; \
20851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 $(HOST_EXPORTS) \
20853 (cd $(HOST_SUBDIR)/tcl && \
20854 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20855 $(TARGET-tcl))
20856 @endif tcl
20857
20858
20859
20860
20861 .PHONY: check-tcl maybe-check-tcl
20862 maybe-check-tcl:
20863 @if tcl
20864 maybe-check-tcl: check-tcl
20865
20866 check-tcl:
20867 @: $(MAKE); $(unstage)
20868 @r=`${PWD_COMMAND}`; export r; \
20869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20870 $(HOST_EXPORTS) \
20871 (cd $(HOST_SUBDIR)/tcl && \
20872 $(MAKE) $(FLAGS_TO_PASS) check)
20873
20874 @endif tcl
20875
20876 .PHONY: install-tcl maybe-install-tcl
20877 maybe-install-tcl:
20878 @if tcl
20879 maybe-install-tcl: install-tcl
20880
20881 install-tcl: installdirs
20882 @: $(MAKE); $(unstage)
20883 @r=`${PWD_COMMAND}`; export r; \
20884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20885 $(HOST_EXPORTS) \
20886 (cd $(HOST_SUBDIR)/tcl && \
20887 $(MAKE) $(FLAGS_TO_PASS) install)
20888
20889 @endif tcl
20890
20891 .PHONY: install-strip-tcl maybe-install-strip-tcl
20892 maybe-install-strip-tcl:
20893 @if tcl
20894 maybe-install-strip-tcl: install-strip-tcl
20895
20896 install-strip-tcl: installdirs
20897 @: $(MAKE); $(unstage)
20898 @r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(HOST_EXPORTS) \
20901 (cd $(HOST_SUBDIR)/tcl && \
20902 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20903
20904 @endif tcl
20905
20906 # Other targets (info, dvi, pdf, etc.)
20907
20908 .PHONY: maybe-info-tcl info-tcl
20909 maybe-info-tcl:
20910 @if tcl
20911 maybe-info-tcl: info-tcl
20912
20913 info-tcl: \
20914 configure-tcl
20915 @: $(MAKE); $(unstage)
20916 @[ -f ./tcl/Makefile ] || exit 0; \
20917 r=`${PWD_COMMAND}`; export r; \
20918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20919 $(HOST_EXPORTS) \
20920 for flag in $(EXTRA_HOST_FLAGS) ; do \
20921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20922 done; \
20923 echo "Doing info in tcl"; \
20924 (cd $(HOST_SUBDIR)/tcl && \
20925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20927 "RANLIB=$${RANLIB}" \
20928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20929 info) \
20930 || exit 1
20931
20932 @endif tcl
20933
20934 .PHONY: maybe-dvi-tcl dvi-tcl
20935 maybe-dvi-tcl:
20936 @if tcl
20937 maybe-dvi-tcl: dvi-tcl
20938
20939 dvi-tcl: \
20940 configure-tcl
20941 @: $(MAKE); $(unstage)
20942 @[ -f ./tcl/Makefile ] || exit 0; \
20943 r=`${PWD_COMMAND}`; export r; \
20944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20945 $(HOST_EXPORTS) \
20946 for flag in $(EXTRA_HOST_FLAGS) ; do \
20947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20948 done; \
20949 echo "Doing dvi in tcl"; \
20950 (cd $(HOST_SUBDIR)/tcl && \
20951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20953 "RANLIB=$${RANLIB}" \
20954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20955 dvi) \
20956 || exit 1
20957
20958 @endif tcl
20959
20960 .PHONY: maybe-pdf-tcl pdf-tcl
20961 maybe-pdf-tcl:
20962 @if tcl
20963 maybe-pdf-tcl: pdf-tcl
20964
20965 pdf-tcl: \
20966 configure-tcl
20967 @: $(MAKE); $(unstage)
20968 @[ -f ./tcl/Makefile ] || exit 0; \
20969 r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20971 $(HOST_EXPORTS) \
20972 for flag in $(EXTRA_HOST_FLAGS) ; do \
20973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20974 done; \
20975 echo "Doing pdf in tcl"; \
20976 (cd $(HOST_SUBDIR)/tcl && \
20977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20979 "RANLIB=$${RANLIB}" \
20980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20981 pdf) \
20982 || exit 1
20983
20984 @endif tcl
20985
20986 .PHONY: maybe-html-tcl html-tcl
20987 maybe-html-tcl:
20988 @if tcl
20989 maybe-html-tcl: html-tcl
20990
20991 html-tcl: \
20992 configure-tcl
20993 @: $(MAKE); $(unstage)
20994 @[ -f ./tcl/Makefile ] || exit 0; \
20995 r=`${PWD_COMMAND}`; export r; \
20996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20997 $(HOST_EXPORTS) \
20998 for flag in $(EXTRA_HOST_FLAGS) ; do \
20999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21000 done; \
21001 echo "Doing html in tcl"; \
21002 (cd $(HOST_SUBDIR)/tcl && \
21003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21005 "RANLIB=$${RANLIB}" \
21006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21007 html) \
21008 || exit 1
21009
21010 @endif tcl
21011
21012 .PHONY: maybe-TAGS-tcl TAGS-tcl
21013 maybe-TAGS-tcl:
21014 @if tcl
21015 maybe-TAGS-tcl: TAGS-tcl
21016
21017 TAGS-tcl: \
21018 configure-tcl
21019 @: $(MAKE); $(unstage)
21020 @[ -f ./tcl/Makefile ] || exit 0; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 for flag in $(EXTRA_HOST_FLAGS) ; do \
21025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21026 done; \
21027 echo "Doing TAGS in tcl"; \
21028 (cd $(HOST_SUBDIR)/tcl && \
21029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031 "RANLIB=$${RANLIB}" \
21032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21033 TAGS) \
21034 || exit 1
21035
21036 @endif tcl
21037
21038 .PHONY: maybe-install-info-tcl install-info-tcl
21039 maybe-install-info-tcl:
21040 @if tcl
21041 maybe-install-info-tcl: install-info-tcl
21042
21043 install-info-tcl: \
21044 configure-tcl \
21045 info-tcl
21046 @: $(MAKE); $(unstage)
21047 @[ -f ./tcl/Makefile ] || exit 0; \
21048 r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050 $(HOST_EXPORTS) \
21051 for flag in $(EXTRA_HOST_FLAGS) ; do \
21052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21053 done; \
21054 echo "Doing install-info in tcl"; \
21055 (cd $(HOST_SUBDIR)/tcl && \
21056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21058 "RANLIB=$${RANLIB}" \
21059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21060 install-info) \
21061 || exit 1
21062
21063 @endif tcl
21064
21065 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21066 maybe-install-pdf-tcl:
21067 @if tcl
21068 maybe-install-pdf-tcl: install-pdf-tcl
21069
21070 install-pdf-tcl: \
21071 configure-tcl \
21072 pdf-tcl
21073 @: $(MAKE); $(unstage)
21074 @[ -f ./tcl/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077 $(HOST_EXPORTS) \
21078 for flag in $(EXTRA_HOST_FLAGS) ; do \
21079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21080 done; \
21081 echo "Doing install-pdf in tcl"; \
21082 (cd $(HOST_SUBDIR)/tcl && \
21083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21085 "RANLIB=$${RANLIB}" \
21086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21087 install-pdf) \
21088 || exit 1
21089
21090 @endif tcl
21091
21092 .PHONY: maybe-install-html-tcl install-html-tcl
21093 maybe-install-html-tcl:
21094 @if tcl
21095 maybe-install-html-tcl: install-html-tcl
21096
21097 install-html-tcl: \
21098 configure-tcl \
21099 html-tcl
21100 @: $(MAKE); $(unstage)
21101 @[ -f ./tcl/Makefile ] || exit 0; \
21102 r=`${PWD_COMMAND}`; export r; \
21103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21104 $(HOST_EXPORTS) \
21105 for flag in $(EXTRA_HOST_FLAGS) ; do \
21106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21107 done; \
21108 echo "Doing install-html in tcl"; \
21109 (cd $(HOST_SUBDIR)/tcl && \
21110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21112 "RANLIB=$${RANLIB}" \
21113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21114 install-html) \
21115 || exit 1
21116
21117 @endif tcl
21118
21119 .PHONY: maybe-installcheck-tcl installcheck-tcl
21120 maybe-installcheck-tcl:
21121 @if tcl
21122 maybe-installcheck-tcl: installcheck-tcl
21123
21124 installcheck-tcl: \
21125 configure-tcl
21126 @: $(MAKE); $(unstage)
21127 @[ -f ./tcl/Makefile ] || exit 0; \
21128 r=`${PWD_COMMAND}`; export r; \
21129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 $(HOST_EXPORTS) \
21131 for flag in $(EXTRA_HOST_FLAGS) ; do \
21132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21133 done; \
21134 echo "Doing installcheck in tcl"; \
21135 (cd $(HOST_SUBDIR)/tcl && \
21136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21138 "RANLIB=$${RANLIB}" \
21139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21140 installcheck) \
21141 || exit 1
21142
21143 @endif tcl
21144
21145 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21146 maybe-mostlyclean-tcl:
21147 @if tcl
21148 maybe-mostlyclean-tcl: mostlyclean-tcl
21149
21150 # tcl doesn't support mostlyclean.
21151 mostlyclean-tcl:
21152
21153 @endif tcl
21154
21155 .PHONY: maybe-clean-tcl clean-tcl
21156 maybe-clean-tcl:
21157 @if tcl
21158 maybe-clean-tcl: clean-tcl
21159
21160 clean-tcl:
21161 @: $(MAKE); $(unstage)
21162 @[ -f ./tcl/Makefile ] || exit 0; \
21163 r=`${PWD_COMMAND}`; export r; \
21164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165 $(HOST_EXPORTS) \
21166 for flag in $(EXTRA_HOST_FLAGS) ; do \
21167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21168 done; \
21169 echo "Doing clean in tcl"; \
21170 (cd $(HOST_SUBDIR)/tcl && \
21171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21173 "RANLIB=$${RANLIB}" \
21174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21175 clean) \
21176 || exit 1
21177
21178 @endif tcl
21179
21180 .PHONY: maybe-distclean-tcl distclean-tcl
21181 maybe-distclean-tcl:
21182 @if tcl
21183 maybe-distclean-tcl: distclean-tcl
21184
21185 distclean-tcl:
21186 @: $(MAKE); $(unstage)
21187 @[ -f ./tcl/Makefile ] || exit 0; \
21188 r=`${PWD_COMMAND}`; export r; \
21189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21190 $(HOST_EXPORTS) \
21191 for flag in $(EXTRA_HOST_FLAGS) ; do \
21192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21193 done; \
21194 echo "Doing distclean in tcl"; \
21195 (cd $(HOST_SUBDIR)/tcl && \
21196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21198 "RANLIB=$${RANLIB}" \
21199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21200 distclean) \
21201 || exit 1
21202
21203 @endif tcl
21204
21205 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21206 maybe-maintainer-clean-tcl:
21207 @if tcl
21208 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21209
21210 maintainer-clean-tcl:
21211 @: $(MAKE); $(unstage)
21212 @[ -f ./tcl/Makefile ] || exit 0; \
21213 r=`${PWD_COMMAND}`; export r; \
21214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21215 $(HOST_EXPORTS) \
21216 for flag in $(EXTRA_HOST_FLAGS) ; do \
21217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21218 done; \
21219 echo "Doing maintainer-clean in tcl"; \
21220 (cd $(HOST_SUBDIR)/tcl && \
21221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21223 "RANLIB=$${RANLIB}" \
21224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21225 maintainer-clean) \
21226 || exit 1
21227
21228 @endif tcl
21229
21230
21231
21232 .PHONY: configure-itcl maybe-configure-itcl
21233 maybe-configure-itcl:
21234 @if gcc-bootstrap
21235 configure-itcl: stage_current
21236 @endif gcc-bootstrap
21237 @if itcl
21238 maybe-configure-itcl: configure-itcl
21239 configure-itcl:
21240 @: $(MAKE); $(unstage)
21241 @r=`${PWD_COMMAND}`; export r; \
21242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21243 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21245 $(HOST_EXPORTS) \
21246 echo Configuring in $(HOST_SUBDIR)/itcl; \
21247 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21248 case $(srcdir) in \
21249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21250 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21252 esac; \
21253 module_srcdir=itcl; \
21254 $(SHELL) \
21255 $$s/$$module_srcdir/configure \
21256 --srcdir=$${topdir}/$$module_srcdir \
21257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21258 --target=${target_alias} \
21259 || exit 1
21260 @endif itcl
21261
21262
21263
21264
21265
21266 .PHONY: all-itcl maybe-all-itcl
21267 maybe-all-itcl:
21268 @if gcc-bootstrap
21269 all-itcl: stage_current
21270 @endif gcc-bootstrap
21271 @if itcl
21272 TARGET-itcl=all
21273 maybe-all-itcl: all-itcl
21274 all-itcl: configure-itcl
21275 @: $(MAKE); $(unstage)
21276 @r=`${PWD_COMMAND}`; export r; \
21277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21278 $(HOST_EXPORTS) \
21279 (cd $(HOST_SUBDIR)/itcl && \
21280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21281 $(TARGET-itcl))
21282 @endif itcl
21283
21284
21285
21286
21287 .PHONY: check-itcl maybe-check-itcl
21288 maybe-check-itcl:
21289 @if itcl
21290 maybe-check-itcl: check-itcl
21291
21292 check-itcl:
21293 @: $(MAKE); $(unstage)
21294 @r=`${PWD_COMMAND}`; export r; \
21295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21296 $(HOST_EXPORTS) \
21297 (cd $(HOST_SUBDIR)/itcl && \
21298 $(MAKE) $(FLAGS_TO_PASS) check)
21299
21300 @endif itcl
21301
21302 .PHONY: install-itcl maybe-install-itcl
21303 maybe-install-itcl:
21304 @if itcl
21305 maybe-install-itcl: install-itcl
21306
21307 install-itcl: installdirs
21308 @: $(MAKE); $(unstage)
21309 @r=`${PWD_COMMAND}`; export r; \
21310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21311 $(HOST_EXPORTS) \
21312 (cd $(HOST_SUBDIR)/itcl && \
21313 $(MAKE) $(FLAGS_TO_PASS) install)
21314
21315 @endif itcl
21316
21317 .PHONY: install-strip-itcl maybe-install-strip-itcl
21318 maybe-install-strip-itcl:
21319 @if itcl
21320 maybe-install-strip-itcl: install-strip-itcl
21321
21322 install-strip-itcl: installdirs
21323 @: $(MAKE); $(unstage)
21324 @r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(HOST_EXPORTS) \
21327 (cd $(HOST_SUBDIR)/itcl && \
21328 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21329
21330 @endif itcl
21331
21332 # Other targets (info, dvi, pdf, etc.)
21333
21334 .PHONY: maybe-info-itcl info-itcl
21335 maybe-info-itcl:
21336 @if itcl
21337 maybe-info-itcl: info-itcl
21338
21339 info-itcl: \
21340 configure-itcl
21341 @: $(MAKE); $(unstage)
21342 @[ -f ./itcl/Makefile ] || exit 0; \
21343 r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21345 $(HOST_EXPORTS) \
21346 for flag in $(EXTRA_HOST_FLAGS) ; do \
21347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21348 done; \
21349 echo "Doing info in itcl"; \
21350 (cd $(HOST_SUBDIR)/itcl && \
21351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21353 "RANLIB=$${RANLIB}" \
21354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21355 info) \
21356 || exit 1
21357
21358 @endif itcl
21359
21360 .PHONY: maybe-dvi-itcl dvi-itcl
21361 maybe-dvi-itcl:
21362 @if itcl
21363 maybe-dvi-itcl: dvi-itcl
21364
21365 dvi-itcl: \
21366 configure-itcl
21367 @: $(MAKE); $(unstage)
21368 @[ -f ./itcl/Makefile ] || exit 0; \
21369 r=`${PWD_COMMAND}`; export r; \
21370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21371 $(HOST_EXPORTS) \
21372 for flag in $(EXTRA_HOST_FLAGS) ; do \
21373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21374 done; \
21375 echo "Doing dvi in itcl"; \
21376 (cd $(HOST_SUBDIR)/itcl && \
21377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21379 "RANLIB=$${RANLIB}" \
21380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21381 dvi) \
21382 || exit 1
21383
21384 @endif itcl
21385
21386 .PHONY: maybe-pdf-itcl pdf-itcl
21387 maybe-pdf-itcl:
21388 @if itcl
21389 maybe-pdf-itcl: pdf-itcl
21390
21391 pdf-itcl: \
21392 configure-itcl
21393 @: $(MAKE); $(unstage)
21394 @[ -f ./itcl/Makefile ] || exit 0; \
21395 r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21397 $(HOST_EXPORTS) \
21398 for flag in $(EXTRA_HOST_FLAGS) ; do \
21399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21400 done; \
21401 echo "Doing pdf in itcl"; \
21402 (cd $(HOST_SUBDIR)/itcl && \
21403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21405 "RANLIB=$${RANLIB}" \
21406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21407 pdf) \
21408 || exit 1
21409
21410 @endif itcl
21411
21412 .PHONY: maybe-html-itcl html-itcl
21413 maybe-html-itcl:
21414 @if itcl
21415 maybe-html-itcl: html-itcl
21416
21417 html-itcl: \
21418 configure-itcl
21419 @: $(MAKE); $(unstage)
21420 @[ -f ./itcl/Makefile ] || exit 0; \
21421 r=`${PWD_COMMAND}`; export r; \
21422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21423 $(HOST_EXPORTS) \
21424 for flag in $(EXTRA_HOST_FLAGS) ; do \
21425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21426 done; \
21427 echo "Doing html in itcl"; \
21428 (cd $(HOST_SUBDIR)/itcl && \
21429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21431 "RANLIB=$${RANLIB}" \
21432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21433 html) \
21434 || exit 1
21435
21436 @endif itcl
21437
21438 .PHONY: maybe-TAGS-itcl TAGS-itcl
21439 maybe-TAGS-itcl:
21440 @if itcl
21441 maybe-TAGS-itcl: TAGS-itcl
21442
21443 TAGS-itcl: \
21444 configure-itcl
21445 @: $(MAKE); $(unstage)
21446 @[ -f ./itcl/Makefile ] || exit 0; \
21447 r=`${PWD_COMMAND}`; export r; \
21448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21449 $(HOST_EXPORTS) \
21450 for flag in $(EXTRA_HOST_FLAGS) ; do \
21451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21452 done; \
21453 echo "Doing TAGS in itcl"; \
21454 (cd $(HOST_SUBDIR)/itcl && \
21455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21457 "RANLIB=$${RANLIB}" \
21458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21459 TAGS) \
21460 || exit 1
21461
21462 @endif itcl
21463
21464 .PHONY: maybe-install-info-itcl install-info-itcl
21465 maybe-install-info-itcl:
21466 @if itcl
21467 maybe-install-info-itcl: install-info-itcl
21468
21469 install-info-itcl: \
21470 configure-itcl \
21471 info-itcl
21472 @: $(MAKE); $(unstage)
21473 @[ -f ./itcl/Makefile ] || exit 0; \
21474 r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 $(HOST_EXPORTS) \
21477 for flag in $(EXTRA_HOST_FLAGS) ; do \
21478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21479 done; \
21480 echo "Doing install-info in itcl"; \
21481 (cd $(HOST_SUBDIR)/itcl && \
21482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21484 "RANLIB=$${RANLIB}" \
21485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21486 install-info) \
21487 || exit 1
21488
21489 @endif itcl
21490
21491 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21492 maybe-install-pdf-itcl:
21493 @if itcl
21494 maybe-install-pdf-itcl: install-pdf-itcl
21495
21496 install-pdf-itcl: \
21497 configure-itcl \
21498 pdf-itcl
21499 @: $(MAKE); $(unstage)
21500 @[ -f ./itcl/Makefile ] || exit 0; \
21501 r=`${PWD_COMMAND}`; export r; \
21502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21503 $(HOST_EXPORTS) \
21504 for flag in $(EXTRA_HOST_FLAGS) ; do \
21505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21506 done; \
21507 echo "Doing install-pdf in itcl"; \
21508 (cd $(HOST_SUBDIR)/itcl && \
21509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21511 "RANLIB=$${RANLIB}" \
21512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21513 install-pdf) \
21514 || exit 1
21515
21516 @endif itcl
21517
21518 .PHONY: maybe-install-html-itcl install-html-itcl
21519 maybe-install-html-itcl:
21520 @if itcl
21521 maybe-install-html-itcl: install-html-itcl
21522
21523 install-html-itcl: \
21524 configure-itcl \
21525 html-itcl
21526 @: $(MAKE); $(unstage)
21527 @[ -f ./itcl/Makefile ] || exit 0; \
21528 r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21530 $(HOST_EXPORTS) \
21531 for flag in $(EXTRA_HOST_FLAGS) ; do \
21532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21533 done; \
21534 echo "Doing install-html in itcl"; \
21535 (cd $(HOST_SUBDIR)/itcl && \
21536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21538 "RANLIB=$${RANLIB}" \
21539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21540 install-html) \
21541 || exit 1
21542
21543 @endif itcl
21544
21545 .PHONY: maybe-installcheck-itcl installcheck-itcl
21546 maybe-installcheck-itcl:
21547 @if itcl
21548 maybe-installcheck-itcl: installcheck-itcl
21549
21550 installcheck-itcl: \
21551 configure-itcl
21552 @: $(MAKE); $(unstage)
21553 @[ -f ./itcl/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 $(HOST_EXPORTS) \
21557 for flag in $(EXTRA_HOST_FLAGS) ; do \
21558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21559 done; \
21560 echo "Doing installcheck in itcl"; \
21561 (cd $(HOST_SUBDIR)/itcl && \
21562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21564 "RANLIB=$${RANLIB}" \
21565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21566 installcheck) \
21567 || exit 1
21568
21569 @endif itcl
21570
21571 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21572 maybe-mostlyclean-itcl:
21573 @if itcl
21574 maybe-mostlyclean-itcl: mostlyclean-itcl
21575
21576 mostlyclean-itcl:
21577 @: $(MAKE); $(unstage)
21578 @[ -f ./itcl/Makefile ] || exit 0; \
21579 r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(HOST_EXPORTS) \
21582 for flag in $(EXTRA_HOST_FLAGS) ; do \
21583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21584 done; \
21585 echo "Doing mostlyclean in itcl"; \
21586 (cd $(HOST_SUBDIR)/itcl && \
21587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21589 "RANLIB=$${RANLIB}" \
21590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21591 mostlyclean) \
21592 || exit 1
21593
21594 @endif itcl
21595
21596 .PHONY: maybe-clean-itcl clean-itcl
21597 maybe-clean-itcl:
21598 @if itcl
21599 maybe-clean-itcl: clean-itcl
21600
21601 clean-itcl:
21602 @: $(MAKE); $(unstage)
21603 @[ -f ./itcl/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing clean in itcl"; \
21611 (cd $(HOST_SUBDIR)/itcl && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21616 clean) \
21617 || exit 1
21618
21619 @endif itcl
21620
21621 .PHONY: maybe-distclean-itcl distclean-itcl
21622 maybe-distclean-itcl:
21623 @if itcl
21624 maybe-distclean-itcl: distclean-itcl
21625
21626 distclean-itcl:
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./itcl/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing distclean in itcl"; \
21636 (cd $(HOST_SUBDIR)/itcl && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21641 distclean) \
21642 || exit 1
21643
21644 @endif itcl
21645
21646 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21647 maybe-maintainer-clean-itcl:
21648 @if itcl
21649 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21650
21651 maintainer-clean-itcl:
21652 @: $(MAKE); $(unstage)
21653 @[ -f ./itcl/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS) ; do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing maintainer-clean in itcl"; \
21661 (cd $(HOST_SUBDIR)/itcl && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21666 maintainer-clean) \
21667 || exit 1
21668
21669 @endif itcl
21670
21671
21672
21673 .PHONY: configure-ld maybe-configure-ld
21674 maybe-configure-ld:
21675 @if gcc-bootstrap
21676 configure-ld: stage_current
21677 @endif gcc-bootstrap
21678 @if ld
21679 maybe-configure-ld: configure-ld
21680 configure-ld:
21681 @r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21685 $(HOST_EXPORTS) \
21686 echo Configuring in $(HOST_SUBDIR)/ld; \
21687 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21688 case $(srcdir) in \
21689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21690 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21692 esac; \
21693 module_srcdir=ld; \
21694 $(SHELL) \
21695 $$s/$$module_srcdir/configure \
21696 --srcdir=$${topdir}/$$module_srcdir \
21697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21698 --target=${target_alias} \
21699 || exit 1
21700 @endif ld
21701
21702
21703
21704 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21705 maybe-configure-stage1-ld:
21706 @if ld-bootstrap
21707 maybe-configure-stage1-ld: configure-stage1-ld
21708 configure-stage1-ld:
21709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21711 @r=`${PWD_COMMAND}`; export r; \
21712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21713 TFLAGS="$(STAGE1_TFLAGS)"; \
21714 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21715 $(HOST_EXPORTS) \
21716 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21717 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21718 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21719 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21721 cd $(HOST_SUBDIR)/ld || exit 1; \
21722 case $(srcdir) in \
21723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21724 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21726 esac; \
21727 module_srcdir=ld; \
21728 $(SHELL) $$s/$$module_srcdir/configure \
21729 --srcdir=$${topdir}/$$module_srcdir \
21730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21731 --target=${target_alias} \
21732 \
21733 $(STAGE1_CONFIGURE_FLAGS)
21734 @endif ld-bootstrap
21735
21736 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21737 maybe-configure-stage2-ld:
21738 @if ld-bootstrap
21739 maybe-configure-stage2-ld: configure-stage2-ld
21740 configure-stage2-ld:
21741 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21743 @r=`${PWD_COMMAND}`; export r; \
21744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21745 TFLAGS="$(STAGE2_TFLAGS)"; \
21746 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21747 $(HOST_EXPORTS) \
21748 $(POSTSTAGE1_HOST_EXPORTS) \
21749 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21750 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21751 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21752 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21754 cd $(HOST_SUBDIR)/ld || exit 1; \
21755 case $(srcdir) in \
21756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21757 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21759 esac; \
21760 module_srcdir=ld; \
21761 $(SHELL) $$s/$$module_srcdir/configure \
21762 --srcdir=$${topdir}/$$module_srcdir \
21763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21764 --target=${target_alias} \
21765 --with-build-libsubdir=$(HOST_SUBDIR) \
21766 $(STAGE2_CONFIGURE_FLAGS)
21767 @endif ld-bootstrap
21768
21769 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21770 maybe-configure-stage3-ld:
21771 @if ld-bootstrap
21772 maybe-configure-stage3-ld: configure-stage3-ld
21773 configure-stage3-ld:
21774 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21776 @r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 TFLAGS="$(STAGE3_TFLAGS)"; \
21779 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21780 $(HOST_EXPORTS) \
21781 $(POSTSTAGE1_HOST_EXPORTS) \
21782 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21783 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21784 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21785 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21787 cd $(HOST_SUBDIR)/ld || exit 1; \
21788 case $(srcdir) in \
21789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21790 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21792 esac; \
21793 module_srcdir=ld; \
21794 $(SHELL) $$s/$$module_srcdir/configure \
21795 --srcdir=$${topdir}/$$module_srcdir \
21796 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21797 --target=${target_alias} \
21798 --with-build-libsubdir=$(HOST_SUBDIR) \
21799 $(STAGE3_CONFIGURE_FLAGS)
21800 @endif ld-bootstrap
21801
21802 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21803 maybe-configure-stage4-ld:
21804 @if ld-bootstrap
21805 maybe-configure-stage4-ld: configure-stage4-ld
21806 configure-stage4-ld:
21807 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21809 @r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 TFLAGS="$(STAGE4_TFLAGS)"; \
21812 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21813 $(HOST_EXPORTS) \
21814 $(POSTSTAGE1_HOST_EXPORTS) \
21815 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21816 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21817 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21818 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21820 cd $(HOST_SUBDIR)/ld || exit 1; \
21821 case $(srcdir) in \
21822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21823 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21825 esac; \
21826 module_srcdir=ld; \
21827 $(SHELL) $$s/$$module_srcdir/configure \
21828 --srcdir=$${topdir}/$$module_srcdir \
21829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21830 --target=${target_alias} \
21831 --with-build-libsubdir=$(HOST_SUBDIR) \
21832 $(STAGE4_CONFIGURE_FLAGS)
21833 @endif ld-bootstrap
21834
21835 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21836 maybe-configure-stageprofile-ld:
21837 @if ld-bootstrap
21838 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21839 configure-stageprofile-ld:
21840 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21842 @r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21845 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21846 $(HOST_EXPORTS) \
21847 $(POSTSTAGE1_HOST_EXPORTS) \
21848 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21849 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21850 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21851 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21853 cd $(HOST_SUBDIR)/ld || exit 1; \
21854 case $(srcdir) in \
21855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21856 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21858 esac; \
21859 module_srcdir=ld; \
21860 $(SHELL) $$s/$$module_srcdir/configure \
21861 --srcdir=$${topdir}/$$module_srcdir \
21862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21863 --target=${target_alias} \
21864 --with-build-libsubdir=$(HOST_SUBDIR) \
21865 $(STAGEprofile_CONFIGURE_FLAGS)
21866 @endif ld-bootstrap
21867
21868 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21869 maybe-configure-stagetrain-ld:
21870 @if ld-bootstrap
21871 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21872 configure-stagetrain-ld:
21873 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21875 @r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21877 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21878 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21879 $(HOST_EXPORTS) \
21880 $(POSTSTAGE1_HOST_EXPORTS) \
21881 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21882 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21883 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21884 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21886 cd $(HOST_SUBDIR)/ld || exit 1; \
21887 case $(srcdir) in \
21888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21889 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21891 esac; \
21892 module_srcdir=ld; \
21893 $(SHELL) $$s/$$module_srcdir/configure \
21894 --srcdir=$${topdir}/$$module_srcdir \
21895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21896 --target=${target_alias} \
21897 --with-build-libsubdir=$(HOST_SUBDIR) \
21898 $(STAGEtrain_CONFIGURE_FLAGS)
21899 @endif ld-bootstrap
21900
21901 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21902 maybe-configure-stagefeedback-ld:
21903 @if ld-bootstrap
21904 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21905 configure-stagefeedback-ld:
21906 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21908 @r=`${PWD_COMMAND}`; export r; \
21909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21910 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21911 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21912 $(HOST_EXPORTS) \
21913 $(POSTSTAGE1_HOST_EXPORTS) \
21914 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21915 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21916 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21917 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21919 cd $(HOST_SUBDIR)/ld || exit 1; \
21920 case $(srcdir) in \
21921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21922 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21924 esac; \
21925 module_srcdir=ld; \
21926 $(SHELL) $$s/$$module_srcdir/configure \
21927 --srcdir=$${topdir}/$$module_srcdir \
21928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21929 --target=${target_alias} \
21930 --with-build-libsubdir=$(HOST_SUBDIR) \
21931 $(STAGEfeedback_CONFIGURE_FLAGS)
21932 @endif ld-bootstrap
21933
21934 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21935 maybe-configure-stageautoprofile-ld:
21936 @if ld-bootstrap
21937 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21938 configure-stageautoprofile-ld:
21939 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21941 @r=`${PWD_COMMAND}`; export r; \
21942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21943 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21944 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21945 $(HOST_EXPORTS) \
21946 $(POSTSTAGE1_HOST_EXPORTS) \
21947 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21948 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21949 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21950 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21952 cd $(HOST_SUBDIR)/ld || exit 1; \
21953 case $(srcdir) in \
21954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21955 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21957 esac; \
21958 module_srcdir=ld; \
21959 $(SHELL) $$s/$$module_srcdir/configure \
21960 --srcdir=$${topdir}/$$module_srcdir \
21961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21962 --target=${target_alias} \
21963 --with-build-libsubdir=$(HOST_SUBDIR) \
21964 $(STAGEautoprofile_CONFIGURE_FLAGS)
21965 @endif ld-bootstrap
21966
21967 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21968 maybe-configure-stageautofeedback-ld:
21969 @if ld-bootstrap
21970 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21971 configure-stageautofeedback-ld:
21972 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21974 @r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21977 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21978 $(HOST_EXPORTS) \
21979 $(POSTSTAGE1_HOST_EXPORTS) \
21980 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21981 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21982 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21983 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21985 cd $(HOST_SUBDIR)/ld || exit 1; \
21986 case $(srcdir) in \
21987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21988 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21990 esac; \
21991 module_srcdir=ld; \
21992 $(SHELL) $$s/$$module_srcdir/configure \
21993 --srcdir=$${topdir}/$$module_srcdir \
21994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21995 --target=${target_alias} \
21996 --with-build-libsubdir=$(HOST_SUBDIR) \
21997 $(STAGEautofeedback_CONFIGURE_FLAGS)
21998 @endif ld-bootstrap
21999
22000
22001
22002
22003
22004 .PHONY: all-ld maybe-all-ld
22005 maybe-all-ld:
22006 @if gcc-bootstrap
22007 all-ld: stage_current
22008 @endif gcc-bootstrap
22009 @if ld
22010 TARGET-ld=all
22011 maybe-all-ld: all-ld
22012 all-ld: configure-ld
22013 @r=`${PWD_COMMAND}`; export r; \
22014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22015 $(HOST_EXPORTS) \
22016 (cd $(HOST_SUBDIR)/ld && \
22017 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22018 $(TARGET-ld))
22019 @endif ld
22020
22021
22022
22023 .PHONY: all-stage1-ld maybe-all-stage1-ld
22024 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22025 maybe-all-stage1-ld:
22026 maybe-clean-stage1-ld:
22027 @if ld-bootstrap
22028 maybe-all-stage1-ld: all-stage1-ld
22029 all-stage1: all-stage1-ld
22030 TARGET-stage1-ld = $(TARGET-ld)
22031 all-stage1-ld: configure-stage1-ld
22032 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22033 @r=`${PWD_COMMAND}`; export r; \
22034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22035 TFLAGS="$(STAGE1_TFLAGS)"; \
22036 $(HOST_EXPORTS) \
22037 cd $(HOST_SUBDIR)/ld && \
22038 \
22039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22040 CFLAGS="$(STAGE1_CFLAGS)" \
22041 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22042 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22043 LIBCFLAGS="$(LIBCFLAGS)" \
22044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22047 $(EXTRA_HOST_FLAGS) \
22048 $(STAGE1_FLAGS_TO_PASS) \
22049 TFLAGS="$(STAGE1_TFLAGS)" \
22050 $(TARGET-stage1-ld)
22051
22052 maybe-clean-stage1-ld: clean-stage1-ld
22053 clean-stage1: clean-stage1-ld
22054 clean-stage1-ld:
22055 @if [ $(current_stage) = stage1 ]; then \
22056 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22057 else \
22058 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22059 $(MAKE) stage1-start; \
22060 fi; \
22061 cd $(HOST_SUBDIR)/ld && \
22062 $(MAKE) $(EXTRA_HOST_FLAGS) \
22063 $(STAGE1_FLAGS_TO_PASS) clean
22064 @endif ld-bootstrap
22065
22066
22067 .PHONY: all-stage2-ld maybe-all-stage2-ld
22068 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22069 maybe-all-stage2-ld:
22070 maybe-clean-stage2-ld:
22071 @if ld-bootstrap
22072 maybe-all-stage2-ld: all-stage2-ld
22073 all-stage2: all-stage2-ld
22074 TARGET-stage2-ld = $(TARGET-ld)
22075 all-stage2-ld: configure-stage2-ld
22076 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22077 @r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 TFLAGS="$(STAGE2_TFLAGS)"; \
22080 $(HOST_EXPORTS) \
22081 $(POSTSTAGE1_HOST_EXPORTS) \
22082 cd $(HOST_SUBDIR)/ld && \
22083 \
22084 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22085 CFLAGS="$(STAGE2_CFLAGS)" \
22086 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22087 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22088 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22089 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22090 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22091 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22092 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22093 TFLAGS="$(STAGE2_TFLAGS)" \
22094 $(TARGET-stage2-ld)
22095
22096 maybe-clean-stage2-ld: clean-stage2-ld
22097 clean-stage2: clean-stage2-ld
22098 clean-stage2-ld:
22099 @if [ $(current_stage) = stage2 ]; then \
22100 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22101 else \
22102 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22103 $(MAKE) stage2-start; \
22104 fi; \
22105 cd $(HOST_SUBDIR)/ld && \
22106 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22107 @endif ld-bootstrap
22108
22109
22110 .PHONY: all-stage3-ld maybe-all-stage3-ld
22111 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22112 maybe-all-stage3-ld:
22113 maybe-clean-stage3-ld:
22114 @if ld-bootstrap
22115 maybe-all-stage3-ld: all-stage3-ld
22116 all-stage3: all-stage3-ld
22117 TARGET-stage3-ld = $(TARGET-ld)
22118 all-stage3-ld: configure-stage3-ld
22119 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22120 @r=`${PWD_COMMAND}`; export r; \
22121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22122 TFLAGS="$(STAGE3_TFLAGS)"; \
22123 $(HOST_EXPORTS) \
22124 $(POSTSTAGE1_HOST_EXPORTS) \
22125 cd $(HOST_SUBDIR)/ld && \
22126 \
22127 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22128 CFLAGS="$(STAGE3_CFLAGS)" \
22129 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22130 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22131 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22136 TFLAGS="$(STAGE3_TFLAGS)" \
22137 $(TARGET-stage3-ld)
22138
22139 maybe-clean-stage3-ld: clean-stage3-ld
22140 clean-stage3: clean-stage3-ld
22141 clean-stage3-ld:
22142 @if [ $(current_stage) = stage3 ]; then \
22143 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22144 else \
22145 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22146 $(MAKE) stage3-start; \
22147 fi; \
22148 cd $(HOST_SUBDIR)/ld && \
22149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22150 @endif ld-bootstrap
22151
22152
22153 .PHONY: all-stage4-ld maybe-all-stage4-ld
22154 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22155 maybe-all-stage4-ld:
22156 maybe-clean-stage4-ld:
22157 @if ld-bootstrap
22158 maybe-all-stage4-ld: all-stage4-ld
22159 all-stage4: all-stage4-ld
22160 TARGET-stage4-ld = $(TARGET-ld)
22161 all-stage4-ld: configure-stage4-ld
22162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22163 @r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22165 TFLAGS="$(STAGE4_TFLAGS)"; \
22166 $(HOST_EXPORTS) \
22167 $(POSTSTAGE1_HOST_EXPORTS) \
22168 cd $(HOST_SUBDIR)/ld && \
22169 \
22170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22171 CFLAGS="$(STAGE4_CFLAGS)" \
22172 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22173 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22174 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22179 TFLAGS="$(STAGE4_TFLAGS)" \
22180 $(TARGET-stage4-ld)
22181
22182 maybe-clean-stage4-ld: clean-stage4-ld
22183 clean-stage4: clean-stage4-ld
22184 clean-stage4-ld:
22185 @if [ $(current_stage) = stage4 ]; then \
22186 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22187 else \
22188 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22189 $(MAKE) stage4-start; \
22190 fi; \
22191 cd $(HOST_SUBDIR)/ld && \
22192 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22193 @endif ld-bootstrap
22194
22195
22196 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22197 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22198 maybe-all-stageprofile-ld:
22199 maybe-clean-stageprofile-ld:
22200 @if ld-bootstrap
22201 maybe-all-stageprofile-ld: all-stageprofile-ld
22202 all-stageprofile: all-stageprofile-ld
22203 TARGET-stageprofile-ld = $(TARGET-ld)
22204 all-stageprofile-ld: configure-stageprofile-ld
22205 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22206 @r=`${PWD_COMMAND}`; export r; \
22207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22208 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22209 $(HOST_EXPORTS) \
22210 $(POSTSTAGE1_HOST_EXPORTS) \
22211 cd $(HOST_SUBDIR)/ld && \
22212 \
22213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22214 CFLAGS="$(STAGEprofile_CFLAGS)" \
22215 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
22216 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22217 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22222 TFLAGS="$(STAGEprofile_TFLAGS)" \
22223 $(TARGET-stageprofile-ld)
22224
22225 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22226 clean-stageprofile: clean-stageprofile-ld
22227 clean-stageprofile-ld:
22228 @if [ $(current_stage) = stageprofile ]; then \
22229 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22230 else \
22231 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22232 $(MAKE) stageprofile-start; \
22233 fi; \
22234 cd $(HOST_SUBDIR)/ld && \
22235 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22236 @endif ld-bootstrap
22237
22238
22239 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22240 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22241 maybe-all-stagetrain-ld:
22242 maybe-clean-stagetrain-ld:
22243 @if ld-bootstrap
22244 maybe-all-stagetrain-ld: all-stagetrain-ld
22245 all-stagetrain: all-stagetrain-ld
22246 TARGET-stagetrain-ld = $(TARGET-ld)
22247 all-stagetrain-ld: configure-stagetrain-ld
22248 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22249 @r=`${PWD_COMMAND}`; export r; \
22250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22251 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22252 $(HOST_EXPORTS) \
22253 $(POSTSTAGE1_HOST_EXPORTS) \
22254 cd $(HOST_SUBDIR)/ld && \
22255 \
22256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22257 CFLAGS="$(STAGEtrain_CFLAGS)" \
22258 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
22259 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22260 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22265 TFLAGS="$(STAGEtrain_TFLAGS)" \
22266 $(TARGET-stagetrain-ld)
22267
22268 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22269 clean-stagetrain: clean-stagetrain-ld
22270 clean-stagetrain-ld:
22271 @if [ $(current_stage) = stagetrain ]; then \
22272 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22273 else \
22274 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22275 $(MAKE) stagetrain-start; \
22276 fi; \
22277 cd $(HOST_SUBDIR)/ld && \
22278 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22279 @endif ld-bootstrap
22280
22281
22282 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22283 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22284 maybe-all-stagefeedback-ld:
22285 maybe-clean-stagefeedback-ld:
22286 @if ld-bootstrap
22287 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22288 all-stagefeedback: all-stagefeedback-ld
22289 TARGET-stagefeedback-ld = $(TARGET-ld)
22290 all-stagefeedback-ld: configure-stagefeedback-ld
22291 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22292 @r=`${PWD_COMMAND}`; export r; \
22293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22294 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22295 $(HOST_EXPORTS) \
22296 $(POSTSTAGE1_HOST_EXPORTS) \
22297 cd $(HOST_SUBDIR)/ld && \
22298 \
22299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22300 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22301 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
22302 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22303 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22308 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22309 $(TARGET-stagefeedback-ld)
22310
22311 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22312 clean-stagefeedback: clean-stagefeedback-ld
22313 clean-stagefeedback-ld:
22314 @if [ $(current_stage) = stagefeedback ]; then \
22315 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22316 else \
22317 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22318 $(MAKE) stagefeedback-start; \
22319 fi; \
22320 cd $(HOST_SUBDIR)/ld && \
22321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22322 @endif ld-bootstrap
22323
22324
22325 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22326 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22327 maybe-all-stageautoprofile-ld:
22328 maybe-clean-stageautoprofile-ld:
22329 @if ld-bootstrap
22330 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22331 all-stageautoprofile: all-stageautoprofile-ld
22332 TARGET-stageautoprofile-ld = $(TARGET-ld)
22333 all-stageautoprofile-ld: configure-stageautoprofile-ld
22334 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22335 @r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22338 $(HOST_EXPORTS) \
22339 $(POSTSTAGE1_HOST_EXPORTS) \
22340 cd $(HOST_SUBDIR)/ld && \
22341 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22343 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22344 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
22345 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22346 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22351 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22352 $(TARGET-stageautoprofile-ld)
22353
22354 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22355 clean-stageautoprofile: clean-stageautoprofile-ld
22356 clean-stageautoprofile-ld:
22357 @if [ $(current_stage) = stageautoprofile ]; then \
22358 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22359 else \
22360 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22361 $(MAKE) stageautoprofile-start; \
22362 fi; \
22363 cd $(HOST_SUBDIR)/ld && \
22364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22365 @endif ld-bootstrap
22366
22367
22368 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22369 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22370 maybe-all-stageautofeedback-ld:
22371 maybe-clean-stageautofeedback-ld:
22372 @if ld-bootstrap
22373 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22374 all-stageautofeedback: all-stageautofeedback-ld
22375 TARGET-stageautofeedback-ld = $(TARGET-ld)
22376 all-stageautofeedback-ld: configure-stageautofeedback-ld
22377 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22378 @r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22381 $(HOST_EXPORTS) \
22382 $(POSTSTAGE1_HOST_EXPORTS) \
22383 cd $(HOST_SUBDIR)/ld && \
22384 \
22385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22386 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22387 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
22388 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22389 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22394 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22395 $(TARGET-stageautofeedback-ld)
22396
22397 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22398 clean-stageautofeedback: clean-stageautofeedback-ld
22399 clean-stageautofeedback-ld:
22400 @if [ $(current_stage) = stageautofeedback ]; then \
22401 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22402 else \
22403 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22404 $(MAKE) stageautofeedback-start; \
22405 fi; \
22406 cd $(HOST_SUBDIR)/ld && \
22407 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22408 @endif ld-bootstrap
22409
22410
22411
22412
22413
22414 .PHONY: check-ld maybe-check-ld
22415 maybe-check-ld:
22416 @if ld
22417 maybe-check-ld: check-ld
22418
22419 check-ld:
22420 @: $(MAKE); $(unstage)
22421 @r=`${PWD_COMMAND}`; export r; \
22422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22423 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22424 (cd $(HOST_SUBDIR)/ld && \
22425 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22426
22427 @endif ld
22428
22429 .PHONY: install-ld maybe-install-ld
22430 maybe-install-ld:
22431 @if ld
22432 maybe-install-ld: install-ld
22433
22434 install-ld: installdirs
22435 @: $(MAKE); $(unstage)
22436 @r=`${PWD_COMMAND}`; export r; \
22437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22438 $(HOST_EXPORTS) \
22439 (cd $(HOST_SUBDIR)/ld && \
22440 $(MAKE) $(FLAGS_TO_PASS) install)
22441
22442 @endif ld
22443
22444 .PHONY: install-strip-ld maybe-install-strip-ld
22445 maybe-install-strip-ld:
22446 @if ld
22447 maybe-install-strip-ld: install-strip-ld
22448
22449 install-strip-ld: installdirs
22450 @: $(MAKE); $(unstage)
22451 @r=`${PWD_COMMAND}`; export r; \
22452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 $(HOST_EXPORTS) \
22454 (cd $(HOST_SUBDIR)/ld && \
22455 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22456
22457 @endif ld
22458
22459 # Other targets (info, dvi, pdf, etc.)
22460
22461 .PHONY: maybe-info-ld info-ld
22462 maybe-info-ld:
22463 @if ld
22464 maybe-info-ld: info-ld
22465
22466 info-ld: \
22467 configure-ld
22468 @[ -f ./ld/Makefile ] || exit 0; \
22469 r=`${PWD_COMMAND}`; export r; \
22470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22471 $(HOST_EXPORTS) \
22472 for flag in $(EXTRA_HOST_FLAGS) ; do \
22473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22474 done; \
22475 echo "Doing info in ld"; \
22476 (cd $(HOST_SUBDIR)/ld && \
22477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22479 "RANLIB=$${RANLIB}" \
22480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22481 info) \
22482 || exit 1
22483
22484 @endif ld
22485
22486 .PHONY: maybe-dvi-ld dvi-ld
22487 maybe-dvi-ld:
22488 @if ld
22489 maybe-dvi-ld: dvi-ld
22490
22491 dvi-ld: \
22492 configure-ld
22493 @[ -f ./ld/Makefile ] || exit 0; \
22494 r=`${PWD_COMMAND}`; export r; \
22495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22496 $(HOST_EXPORTS) \
22497 for flag in $(EXTRA_HOST_FLAGS) ; do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499 done; \
22500 echo "Doing dvi in ld"; \
22501 (cd $(HOST_SUBDIR)/ld && \
22502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22504 "RANLIB=$${RANLIB}" \
22505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22506 dvi) \
22507 || exit 1
22508
22509 @endif ld
22510
22511 .PHONY: maybe-pdf-ld pdf-ld
22512 maybe-pdf-ld:
22513 @if ld
22514 maybe-pdf-ld: pdf-ld
22515
22516 pdf-ld: \
22517 configure-ld
22518 @[ -f ./ld/Makefile ] || exit 0; \
22519 r=`${PWD_COMMAND}`; export r; \
22520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 $(HOST_EXPORTS) \
22522 for flag in $(EXTRA_HOST_FLAGS) ; do \
22523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22524 done; \
22525 echo "Doing pdf in ld"; \
22526 (cd $(HOST_SUBDIR)/ld && \
22527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22529 "RANLIB=$${RANLIB}" \
22530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22531 pdf) \
22532 || exit 1
22533
22534 @endif ld
22535
22536 .PHONY: maybe-html-ld html-ld
22537 maybe-html-ld:
22538 @if ld
22539 maybe-html-ld: html-ld
22540
22541 html-ld: \
22542 configure-ld
22543 @[ -f ./ld/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 for flag in $(EXTRA_HOST_FLAGS) ; do \
22548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22549 done; \
22550 echo "Doing html in ld"; \
22551 (cd $(HOST_SUBDIR)/ld && \
22552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22554 "RANLIB=$${RANLIB}" \
22555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22556 html) \
22557 || exit 1
22558
22559 @endif ld
22560
22561 .PHONY: maybe-TAGS-ld TAGS-ld
22562 maybe-TAGS-ld:
22563 @if ld
22564 maybe-TAGS-ld: TAGS-ld
22565
22566 TAGS-ld: \
22567 configure-ld
22568 @[ -f ./ld/Makefile ] || exit 0; \
22569 r=`${PWD_COMMAND}`; export r; \
22570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 $(HOST_EXPORTS) \
22572 for flag in $(EXTRA_HOST_FLAGS) ; do \
22573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22574 done; \
22575 echo "Doing TAGS in ld"; \
22576 (cd $(HOST_SUBDIR)/ld && \
22577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22579 "RANLIB=$${RANLIB}" \
22580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22581 TAGS) \
22582 || exit 1
22583
22584 @endif ld
22585
22586 .PHONY: maybe-install-info-ld install-info-ld
22587 maybe-install-info-ld:
22588 @if ld
22589 maybe-install-info-ld: install-info-ld
22590
22591 install-info-ld: \
22592 configure-ld \
22593 info-ld
22594 @[ -f ./ld/Makefile ] || exit 0; \
22595 r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 $(HOST_EXPORTS) \
22598 for flag in $(EXTRA_HOST_FLAGS) ; do \
22599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22600 done; \
22601 echo "Doing install-info in ld"; \
22602 (cd $(HOST_SUBDIR)/ld && \
22603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22605 "RANLIB=$${RANLIB}" \
22606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22607 install-info) \
22608 || exit 1
22609
22610 @endif ld
22611
22612 .PHONY: maybe-install-pdf-ld install-pdf-ld
22613 maybe-install-pdf-ld:
22614 @if ld
22615 maybe-install-pdf-ld: install-pdf-ld
22616
22617 install-pdf-ld: \
22618 configure-ld \
22619 pdf-ld
22620 @[ -f ./ld/Makefile ] || exit 0; \
22621 r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 $(HOST_EXPORTS) \
22624 for flag in $(EXTRA_HOST_FLAGS) ; do \
22625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22626 done; \
22627 echo "Doing install-pdf in ld"; \
22628 (cd $(HOST_SUBDIR)/ld && \
22629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631 "RANLIB=$${RANLIB}" \
22632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22633 install-pdf) \
22634 || exit 1
22635
22636 @endif ld
22637
22638 .PHONY: maybe-install-html-ld install-html-ld
22639 maybe-install-html-ld:
22640 @if ld
22641 maybe-install-html-ld: install-html-ld
22642
22643 install-html-ld: \
22644 configure-ld \
22645 html-ld
22646 @[ -f ./ld/Makefile ] || exit 0; \
22647 r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 $(HOST_EXPORTS) \
22650 for flag in $(EXTRA_HOST_FLAGS) ; do \
22651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22652 done; \
22653 echo "Doing install-html in ld"; \
22654 (cd $(HOST_SUBDIR)/ld && \
22655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657 "RANLIB=$${RANLIB}" \
22658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22659 install-html) \
22660 || exit 1
22661
22662 @endif ld
22663
22664 .PHONY: maybe-installcheck-ld installcheck-ld
22665 maybe-installcheck-ld:
22666 @if ld
22667 maybe-installcheck-ld: installcheck-ld
22668
22669 installcheck-ld: \
22670 configure-ld
22671 @[ -f ./ld/Makefile ] || exit 0; \
22672 r=`${PWD_COMMAND}`; export r; \
22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674 $(HOST_EXPORTS) \
22675 for flag in $(EXTRA_HOST_FLAGS) ; do \
22676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22677 done; \
22678 echo "Doing installcheck in ld"; \
22679 (cd $(HOST_SUBDIR)/ld && \
22680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22682 "RANLIB=$${RANLIB}" \
22683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22684 installcheck) \
22685 || exit 1
22686
22687 @endif ld
22688
22689 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22690 maybe-mostlyclean-ld:
22691 @if ld
22692 maybe-mostlyclean-ld: mostlyclean-ld
22693
22694 mostlyclean-ld:
22695 @[ -f ./ld/Makefile ] || exit 0; \
22696 r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 $(HOST_EXPORTS) \
22699 for flag in $(EXTRA_HOST_FLAGS) ; do \
22700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22701 done; \
22702 echo "Doing mostlyclean in ld"; \
22703 (cd $(HOST_SUBDIR)/ld && \
22704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22706 "RANLIB=$${RANLIB}" \
22707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22708 mostlyclean) \
22709 || exit 1
22710
22711 @endif ld
22712
22713 .PHONY: maybe-clean-ld clean-ld
22714 maybe-clean-ld:
22715 @if ld
22716 maybe-clean-ld: clean-ld
22717
22718 clean-ld:
22719 @[ -f ./ld/Makefile ] || exit 0; \
22720 r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722 $(HOST_EXPORTS) \
22723 for flag in $(EXTRA_HOST_FLAGS) ; do \
22724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22725 done; \
22726 echo "Doing clean in ld"; \
22727 (cd $(HOST_SUBDIR)/ld && \
22728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22730 "RANLIB=$${RANLIB}" \
22731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22732 clean) \
22733 || exit 1
22734
22735 @endif ld
22736
22737 .PHONY: maybe-distclean-ld distclean-ld
22738 maybe-distclean-ld:
22739 @if ld
22740 maybe-distclean-ld: distclean-ld
22741
22742 distclean-ld:
22743 @[ -f ./ld/Makefile ] || exit 0; \
22744 r=`${PWD_COMMAND}`; export r; \
22745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746 $(HOST_EXPORTS) \
22747 for flag in $(EXTRA_HOST_FLAGS) ; do \
22748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22749 done; \
22750 echo "Doing distclean in ld"; \
22751 (cd $(HOST_SUBDIR)/ld && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22756 distclean) \
22757 || exit 1
22758
22759 @endif ld
22760
22761 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22762 maybe-maintainer-clean-ld:
22763 @if ld
22764 maybe-maintainer-clean-ld: maintainer-clean-ld
22765
22766 maintainer-clean-ld:
22767 @[ -f ./ld/Makefile ] || exit 0; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) ; do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing maintainer-clean in ld"; \
22775 (cd $(HOST_SUBDIR)/ld && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22780 maintainer-clean) \
22781 || exit 1
22782
22783 @endif ld
22784
22785
22786
22787 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22788 maybe-configure-libbacktrace:
22789 @if gcc-bootstrap
22790 configure-libbacktrace: stage_current
22791 @endif gcc-bootstrap
22792 @if libbacktrace
22793 maybe-configure-libbacktrace: configure-libbacktrace
22794 configure-libbacktrace:
22795 @r=`${PWD_COMMAND}`; export r; \
22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22797 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22799 $(HOST_EXPORTS) \
22800 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22801 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22802 case $(srcdir) in \
22803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22804 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22806 esac; \
22807 module_srcdir=libbacktrace; \
22808 $(SHELL) \
22809 $$s/$$module_srcdir/configure \
22810 --srcdir=$${topdir}/$$module_srcdir \
22811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22812 --target=${target_alias} \
22813 || exit 1
22814 @endif libbacktrace
22815
22816
22817
22818 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22819 maybe-configure-stage1-libbacktrace:
22820 @if libbacktrace-bootstrap
22821 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22822 configure-stage1-libbacktrace:
22823 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22825 @r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 TFLAGS="$(STAGE1_TFLAGS)"; \
22828 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22829 $(HOST_EXPORTS) \
22830 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22831 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22832 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22833 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22835 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22836 case $(srcdir) in \
22837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22838 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22840 esac; \
22841 module_srcdir=libbacktrace; \
22842 $(SHELL) $$s/$$module_srcdir/configure \
22843 --srcdir=$${topdir}/$$module_srcdir \
22844 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22845 --target=${target_alias} \
22846 \
22847 $(STAGE1_CONFIGURE_FLAGS)
22848 @endif libbacktrace-bootstrap
22849
22850 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22851 maybe-configure-stage2-libbacktrace:
22852 @if libbacktrace-bootstrap
22853 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22854 configure-stage2-libbacktrace:
22855 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22857 @r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859 TFLAGS="$(STAGE2_TFLAGS)"; \
22860 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22861 $(HOST_EXPORTS) \
22862 $(POSTSTAGE1_HOST_EXPORTS) \
22863 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22864 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22865 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22866 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22868 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22869 case $(srcdir) in \
22870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22871 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22873 esac; \
22874 module_srcdir=libbacktrace; \
22875 $(SHELL) $$s/$$module_srcdir/configure \
22876 --srcdir=$${topdir}/$$module_srcdir \
22877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22878 --target=${target_alias} \
22879 --with-build-libsubdir=$(HOST_SUBDIR) \
22880 $(STAGE2_CONFIGURE_FLAGS)
22881 @endif libbacktrace-bootstrap
22882
22883 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22884 maybe-configure-stage3-libbacktrace:
22885 @if libbacktrace-bootstrap
22886 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22887 configure-stage3-libbacktrace:
22888 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22889 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22890 @r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 TFLAGS="$(STAGE3_TFLAGS)"; \
22893 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22894 $(HOST_EXPORTS) \
22895 $(POSTSTAGE1_HOST_EXPORTS) \
22896 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22897 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22898 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22899 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22901 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22902 case $(srcdir) in \
22903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22904 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22906 esac; \
22907 module_srcdir=libbacktrace; \
22908 $(SHELL) $$s/$$module_srcdir/configure \
22909 --srcdir=$${topdir}/$$module_srcdir \
22910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22911 --target=${target_alias} \
22912 --with-build-libsubdir=$(HOST_SUBDIR) \
22913 $(STAGE3_CONFIGURE_FLAGS)
22914 @endif libbacktrace-bootstrap
22915
22916 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22917 maybe-configure-stage4-libbacktrace:
22918 @if libbacktrace-bootstrap
22919 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22920 configure-stage4-libbacktrace:
22921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 TFLAGS="$(STAGE4_TFLAGS)"; \
22926 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22927 $(HOST_EXPORTS) \
22928 $(POSTSTAGE1_HOST_EXPORTS) \
22929 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22930 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22931 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22932 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22934 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22935 case $(srcdir) in \
22936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22937 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22939 esac; \
22940 module_srcdir=libbacktrace; \
22941 $(SHELL) $$s/$$module_srcdir/configure \
22942 --srcdir=$${topdir}/$$module_srcdir \
22943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22944 --target=${target_alias} \
22945 --with-build-libsubdir=$(HOST_SUBDIR) \
22946 $(STAGE4_CONFIGURE_FLAGS)
22947 @endif libbacktrace-bootstrap
22948
22949 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22950 maybe-configure-stageprofile-libbacktrace:
22951 @if libbacktrace-bootstrap
22952 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22953 configure-stageprofile-libbacktrace:
22954 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22956 @r=`${PWD_COMMAND}`; export r; \
22957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22958 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22959 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22960 $(HOST_EXPORTS) \
22961 $(POSTSTAGE1_HOST_EXPORTS) \
22962 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22963 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22964 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22965 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22967 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22968 case $(srcdir) in \
22969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22970 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22972 esac; \
22973 module_srcdir=libbacktrace; \
22974 $(SHELL) $$s/$$module_srcdir/configure \
22975 --srcdir=$${topdir}/$$module_srcdir \
22976 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22977 --target=${target_alias} \
22978 --with-build-libsubdir=$(HOST_SUBDIR) \
22979 $(STAGEprofile_CONFIGURE_FLAGS)
22980 @endif libbacktrace-bootstrap
22981
22982 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22983 maybe-configure-stagetrain-libbacktrace:
22984 @if libbacktrace-bootstrap
22985 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22986 configure-stagetrain-libbacktrace:
22987 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22989 @r=`${PWD_COMMAND}`; export r; \
22990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22991 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22992 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22993 $(HOST_EXPORTS) \
22994 $(POSTSTAGE1_HOST_EXPORTS) \
22995 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22996 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22997 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22998 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23000 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23001 case $(srcdir) in \
23002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23003 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23005 esac; \
23006 module_srcdir=libbacktrace; \
23007 $(SHELL) $$s/$$module_srcdir/configure \
23008 --srcdir=$${topdir}/$$module_srcdir \
23009 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23010 --target=${target_alias} \
23011 --with-build-libsubdir=$(HOST_SUBDIR) \
23012 $(STAGEtrain_CONFIGURE_FLAGS)
23013 @endif libbacktrace-bootstrap
23014
23015 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
23016 maybe-configure-stagefeedback-libbacktrace:
23017 @if libbacktrace-bootstrap
23018 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23019 configure-stagefeedback-libbacktrace:
23020 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23022 @r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23024 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23025 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23026 $(HOST_EXPORTS) \
23027 $(POSTSTAGE1_HOST_EXPORTS) \
23028 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23029 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23030 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23031 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23033 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23034 case $(srcdir) in \
23035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23036 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23038 esac; \
23039 module_srcdir=libbacktrace; \
23040 $(SHELL) $$s/$$module_srcdir/configure \
23041 --srcdir=$${topdir}/$$module_srcdir \
23042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23043 --target=${target_alias} \
23044 --with-build-libsubdir=$(HOST_SUBDIR) \
23045 $(STAGEfeedback_CONFIGURE_FLAGS)
23046 @endif libbacktrace-bootstrap
23047
23048 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23049 maybe-configure-stageautoprofile-libbacktrace:
23050 @if libbacktrace-bootstrap
23051 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23052 configure-stageautoprofile-libbacktrace:
23053 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23055 @r=`${PWD_COMMAND}`; export r; \
23056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23057 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23058 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23059 $(HOST_EXPORTS) \
23060 $(POSTSTAGE1_HOST_EXPORTS) \
23061 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23062 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23063 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23064 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23066 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23067 case $(srcdir) in \
23068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23069 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23071 esac; \
23072 module_srcdir=libbacktrace; \
23073 $(SHELL) $$s/$$module_srcdir/configure \
23074 --srcdir=$${topdir}/$$module_srcdir \
23075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23076 --target=${target_alias} \
23077 --with-build-libsubdir=$(HOST_SUBDIR) \
23078 $(STAGEautoprofile_CONFIGURE_FLAGS)
23079 @endif libbacktrace-bootstrap
23080
23081 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23082 maybe-configure-stageautofeedback-libbacktrace:
23083 @if libbacktrace-bootstrap
23084 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23085 configure-stageautofeedback-libbacktrace:
23086 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23088 @r=`${PWD_COMMAND}`; export r; \
23089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23090 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23091 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23092 $(HOST_EXPORTS) \
23093 $(POSTSTAGE1_HOST_EXPORTS) \
23094 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23095 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23096 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23097 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23099 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23100 case $(srcdir) in \
23101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23102 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23104 esac; \
23105 module_srcdir=libbacktrace; \
23106 $(SHELL) $$s/$$module_srcdir/configure \
23107 --srcdir=$${topdir}/$$module_srcdir \
23108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23109 --target=${target_alias} \
23110 --with-build-libsubdir=$(HOST_SUBDIR) \
23111 $(STAGEautofeedback_CONFIGURE_FLAGS)
23112 @endif libbacktrace-bootstrap
23113
23114
23115
23116
23117
23118 .PHONY: all-libbacktrace maybe-all-libbacktrace
23119 maybe-all-libbacktrace:
23120 @if gcc-bootstrap
23121 all-libbacktrace: stage_current
23122 @endif gcc-bootstrap
23123 @if libbacktrace
23124 TARGET-libbacktrace=all
23125 maybe-all-libbacktrace: all-libbacktrace
23126 all-libbacktrace: configure-libbacktrace
23127 @r=`${PWD_COMMAND}`; export r; \
23128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23129 $(HOST_EXPORTS) \
23130 (cd $(HOST_SUBDIR)/libbacktrace && \
23131 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23132 $(TARGET-libbacktrace))
23133 @endif libbacktrace
23134
23135
23136
23137 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23138 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23139 maybe-all-stage1-libbacktrace:
23140 maybe-clean-stage1-libbacktrace:
23141 @if libbacktrace-bootstrap
23142 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23143 all-stage1: all-stage1-libbacktrace
23144 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23145 all-stage1-libbacktrace: configure-stage1-libbacktrace
23146 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23147 @r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 TFLAGS="$(STAGE1_TFLAGS)"; \
23150 $(HOST_EXPORTS) \
23151 cd $(HOST_SUBDIR)/libbacktrace && \
23152 \
23153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23154 CFLAGS="$(STAGE1_CFLAGS)" \
23155 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23156 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23157 LIBCFLAGS="$(LIBCFLAGS)" \
23158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23161 $(EXTRA_HOST_FLAGS) \
23162 $(STAGE1_FLAGS_TO_PASS) \
23163 TFLAGS="$(STAGE1_TFLAGS)" \
23164 $(TARGET-stage1-libbacktrace)
23165
23166 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
23167 clean-stage1: clean-stage1-libbacktrace
23168 clean-stage1-libbacktrace:
23169 @if [ $(current_stage) = stage1 ]; then \
23170 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23171 else \
23172 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
23173 $(MAKE) stage1-start; \
23174 fi; \
23175 cd $(HOST_SUBDIR)/libbacktrace && \
23176 $(MAKE) $(EXTRA_HOST_FLAGS) \
23177 $(STAGE1_FLAGS_TO_PASS) clean
23178 @endif libbacktrace-bootstrap
23179
23180
23181 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
23182 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23183 maybe-all-stage2-libbacktrace:
23184 maybe-clean-stage2-libbacktrace:
23185 @if libbacktrace-bootstrap
23186 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23187 all-stage2: all-stage2-libbacktrace
23188 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23189 all-stage2-libbacktrace: configure-stage2-libbacktrace
23190 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23191 @r=`${PWD_COMMAND}`; export r; \
23192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23193 TFLAGS="$(STAGE2_TFLAGS)"; \
23194 $(HOST_EXPORTS) \
23195 $(POSTSTAGE1_HOST_EXPORTS) \
23196 cd $(HOST_SUBDIR)/libbacktrace && \
23197 \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23199 CFLAGS="$(STAGE2_CFLAGS)" \
23200 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
23201 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23202 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23203 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23204 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23205 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23206 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23207 TFLAGS="$(STAGE2_TFLAGS)" \
23208 $(TARGET-stage2-libbacktrace)
23209
23210 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23211 clean-stage2: clean-stage2-libbacktrace
23212 clean-stage2-libbacktrace:
23213 @if [ $(current_stage) = stage2 ]; then \
23214 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23215 else \
23216 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23217 $(MAKE) stage2-start; \
23218 fi; \
23219 cd $(HOST_SUBDIR)/libbacktrace && \
23220 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23221 @endif libbacktrace-bootstrap
23222
23223
23224 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23225 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23226 maybe-all-stage3-libbacktrace:
23227 maybe-clean-stage3-libbacktrace:
23228 @if libbacktrace-bootstrap
23229 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23230 all-stage3: all-stage3-libbacktrace
23231 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23232 all-stage3-libbacktrace: configure-stage3-libbacktrace
23233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23234 @r=`${PWD_COMMAND}`; export r; \
23235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23236 TFLAGS="$(STAGE3_TFLAGS)"; \
23237 $(HOST_EXPORTS) \
23238 $(POSTSTAGE1_HOST_EXPORTS) \
23239 cd $(HOST_SUBDIR)/libbacktrace && \
23240 \
23241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23242 CFLAGS="$(STAGE3_CFLAGS)" \
23243 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
23244 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23245 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23250 TFLAGS="$(STAGE3_TFLAGS)" \
23251 $(TARGET-stage3-libbacktrace)
23252
23253 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23254 clean-stage3: clean-stage3-libbacktrace
23255 clean-stage3-libbacktrace:
23256 @if [ $(current_stage) = stage3 ]; then \
23257 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23258 else \
23259 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23260 $(MAKE) stage3-start; \
23261 fi; \
23262 cd $(HOST_SUBDIR)/libbacktrace && \
23263 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23264 @endif libbacktrace-bootstrap
23265
23266
23267 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23268 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23269 maybe-all-stage4-libbacktrace:
23270 maybe-clean-stage4-libbacktrace:
23271 @if libbacktrace-bootstrap
23272 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23273 all-stage4: all-stage4-libbacktrace
23274 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23275 all-stage4-libbacktrace: configure-stage4-libbacktrace
23276 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23277 @r=`${PWD_COMMAND}`; export r; \
23278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 TFLAGS="$(STAGE4_TFLAGS)"; \
23280 $(HOST_EXPORTS) \
23281 $(POSTSTAGE1_HOST_EXPORTS) \
23282 cd $(HOST_SUBDIR)/libbacktrace && \
23283 \
23284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23285 CFLAGS="$(STAGE4_CFLAGS)" \
23286 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
23287 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23288 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23289 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23290 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23291 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23292 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23293 TFLAGS="$(STAGE4_TFLAGS)" \
23294 $(TARGET-stage4-libbacktrace)
23295
23296 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23297 clean-stage4: clean-stage4-libbacktrace
23298 clean-stage4-libbacktrace:
23299 @if [ $(current_stage) = stage4 ]; then \
23300 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23301 else \
23302 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23303 $(MAKE) stage4-start; \
23304 fi; \
23305 cd $(HOST_SUBDIR)/libbacktrace && \
23306 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23307 @endif libbacktrace-bootstrap
23308
23309
23310 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23311 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23312 maybe-all-stageprofile-libbacktrace:
23313 maybe-clean-stageprofile-libbacktrace:
23314 @if libbacktrace-bootstrap
23315 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23316 all-stageprofile: all-stageprofile-libbacktrace
23317 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23318 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23319 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23320 @r=`${PWD_COMMAND}`; export r; \
23321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23322 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23323 $(HOST_EXPORTS) \
23324 $(POSTSTAGE1_HOST_EXPORTS) \
23325 cd $(HOST_SUBDIR)/libbacktrace && \
23326 \
23327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23328 CFLAGS="$(STAGEprofile_CFLAGS)" \
23329 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23330 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23331 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23336 TFLAGS="$(STAGEprofile_TFLAGS)" \
23337 $(TARGET-stageprofile-libbacktrace)
23338
23339 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23340 clean-stageprofile: clean-stageprofile-libbacktrace
23341 clean-stageprofile-libbacktrace:
23342 @if [ $(current_stage) = stageprofile ]; then \
23343 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23344 else \
23345 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23346 $(MAKE) stageprofile-start; \
23347 fi; \
23348 cd $(HOST_SUBDIR)/libbacktrace && \
23349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23350 @endif libbacktrace-bootstrap
23351
23352
23353 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23354 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23355 maybe-all-stagetrain-libbacktrace:
23356 maybe-clean-stagetrain-libbacktrace:
23357 @if libbacktrace-bootstrap
23358 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23359 all-stagetrain: all-stagetrain-libbacktrace
23360 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23361 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23362 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23363 @r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23366 $(HOST_EXPORTS) \
23367 $(POSTSTAGE1_HOST_EXPORTS) \
23368 cd $(HOST_SUBDIR)/libbacktrace && \
23369 \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23371 CFLAGS="$(STAGEtrain_CFLAGS)" \
23372 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23373 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23374 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23379 TFLAGS="$(STAGEtrain_TFLAGS)" \
23380 $(TARGET-stagetrain-libbacktrace)
23381
23382 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23383 clean-stagetrain: clean-stagetrain-libbacktrace
23384 clean-stagetrain-libbacktrace:
23385 @if [ $(current_stage) = stagetrain ]; then \
23386 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23387 else \
23388 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23389 $(MAKE) stagetrain-start; \
23390 fi; \
23391 cd $(HOST_SUBDIR)/libbacktrace && \
23392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23393 @endif libbacktrace-bootstrap
23394
23395
23396 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23397 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23398 maybe-all-stagefeedback-libbacktrace:
23399 maybe-clean-stagefeedback-libbacktrace:
23400 @if libbacktrace-bootstrap
23401 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23402 all-stagefeedback: all-stagefeedback-libbacktrace
23403 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23404 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23405 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23406 @r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23409 $(HOST_EXPORTS) \
23410 $(POSTSTAGE1_HOST_EXPORTS) \
23411 cd $(HOST_SUBDIR)/libbacktrace && \
23412 \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23414 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23415 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23416 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23417 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23422 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23423 $(TARGET-stagefeedback-libbacktrace)
23424
23425 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23426 clean-stagefeedback: clean-stagefeedback-libbacktrace
23427 clean-stagefeedback-libbacktrace:
23428 @if [ $(current_stage) = stagefeedback ]; then \
23429 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23430 else \
23431 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23432 $(MAKE) stagefeedback-start; \
23433 fi; \
23434 cd $(HOST_SUBDIR)/libbacktrace && \
23435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23436 @endif libbacktrace-bootstrap
23437
23438
23439 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23440 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23441 maybe-all-stageautoprofile-libbacktrace:
23442 maybe-clean-stageautoprofile-libbacktrace:
23443 @if libbacktrace-bootstrap
23444 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23445 all-stageautoprofile: all-stageautoprofile-libbacktrace
23446 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23447 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23448 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23449 @r=`${PWD_COMMAND}`; export r; \
23450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23451 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23452 $(HOST_EXPORTS) \
23453 $(POSTSTAGE1_HOST_EXPORTS) \
23454 cd $(HOST_SUBDIR)/libbacktrace && \
23455 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23457 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23458 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23459 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23460 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23465 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23466 $(TARGET-stageautoprofile-libbacktrace)
23467
23468 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23469 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23470 clean-stageautoprofile-libbacktrace:
23471 @if [ $(current_stage) = stageautoprofile ]; then \
23472 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23473 else \
23474 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23475 $(MAKE) stageautoprofile-start; \
23476 fi; \
23477 cd $(HOST_SUBDIR)/libbacktrace && \
23478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23479 @endif libbacktrace-bootstrap
23480
23481
23482 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23483 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23484 maybe-all-stageautofeedback-libbacktrace:
23485 maybe-clean-stageautofeedback-libbacktrace:
23486 @if libbacktrace-bootstrap
23487 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23488 all-stageautofeedback: all-stageautofeedback-libbacktrace
23489 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23490 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23491 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23492 @r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23495 $(HOST_EXPORTS) \
23496 $(POSTSTAGE1_HOST_EXPORTS) \
23497 cd $(HOST_SUBDIR)/libbacktrace && \
23498 \
23499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23500 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23501 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23502 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23503 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23507 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23508 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23509 $(TARGET-stageautofeedback-libbacktrace)
23510
23511 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23512 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23513 clean-stageautofeedback-libbacktrace:
23514 @if [ $(current_stage) = stageautofeedback ]; then \
23515 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23516 else \
23517 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23518 $(MAKE) stageautofeedback-start; \
23519 fi; \
23520 cd $(HOST_SUBDIR)/libbacktrace && \
23521 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23522 @endif libbacktrace-bootstrap
23523
23524
23525
23526
23527
23528 .PHONY: check-libbacktrace maybe-check-libbacktrace
23529 maybe-check-libbacktrace:
23530 @if libbacktrace
23531 maybe-check-libbacktrace: check-libbacktrace
23532
23533 check-libbacktrace:
23534 @: $(MAKE); $(unstage)
23535 @r=`${PWD_COMMAND}`; export r; \
23536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23537 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23538 (cd $(HOST_SUBDIR)/libbacktrace && \
23539 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23540
23541 @endif libbacktrace
23542
23543 .PHONY: install-libbacktrace maybe-install-libbacktrace
23544 maybe-install-libbacktrace:
23545 @if libbacktrace
23546 maybe-install-libbacktrace: install-libbacktrace
23547
23548 install-libbacktrace: installdirs
23549 @: $(MAKE); $(unstage)
23550 @r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(HOST_EXPORTS) \
23553 (cd $(HOST_SUBDIR)/libbacktrace && \
23554 $(MAKE) $(FLAGS_TO_PASS) install)
23555
23556 @endif libbacktrace
23557
23558 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23559 maybe-install-strip-libbacktrace:
23560 @if libbacktrace
23561 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23562
23563 install-strip-libbacktrace: installdirs
23564 @: $(MAKE); $(unstage)
23565 @r=`${PWD_COMMAND}`; export r; \
23566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23567 $(HOST_EXPORTS) \
23568 (cd $(HOST_SUBDIR)/libbacktrace && \
23569 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23570
23571 @endif libbacktrace
23572
23573 # Other targets (info, dvi, pdf, etc.)
23574
23575 .PHONY: maybe-info-libbacktrace info-libbacktrace
23576 maybe-info-libbacktrace:
23577 @if libbacktrace
23578 maybe-info-libbacktrace: info-libbacktrace
23579
23580 info-libbacktrace: \
23581 configure-libbacktrace
23582 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23583 r=`${PWD_COMMAND}`; export r; \
23584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23585 $(HOST_EXPORTS) \
23586 for flag in $(EXTRA_HOST_FLAGS) ; do \
23587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23588 done; \
23589 echo "Doing info in libbacktrace"; \
23590 (cd $(HOST_SUBDIR)/libbacktrace && \
23591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23593 "RANLIB=$${RANLIB}" \
23594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23595 info) \
23596 || exit 1
23597
23598 @endif libbacktrace
23599
23600 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23601 maybe-dvi-libbacktrace:
23602 @if libbacktrace
23603 maybe-dvi-libbacktrace: dvi-libbacktrace
23604
23605 dvi-libbacktrace: \
23606 configure-libbacktrace
23607 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23608 r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 $(HOST_EXPORTS) \
23611 for flag in $(EXTRA_HOST_FLAGS) ; do \
23612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23613 done; \
23614 echo "Doing dvi in libbacktrace"; \
23615 (cd $(HOST_SUBDIR)/libbacktrace && \
23616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23618 "RANLIB=$${RANLIB}" \
23619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23620 dvi) \
23621 || exit 1
23622
23623 @endif libbacktrace
23624
23625 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23626 maybe-pdf-libbacktrace:
23627 @if libbacktrace
23628 maybe-pdf-libbacktrace: pdf-libbacktrace
23629
23630 pdf-libbacktrace: \
23631 configure-libbacktrace
23632 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23633 r=`${PWD_COMMAND}`; export r; \
23634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23635 $(HOST_EXPORTS) \
23636 for flag in $(EXTRA_HOST_FLAGS) ; do \
23637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23638 done; \
23639 echo "Doing pdf in libbacktrace"; \
23640 (cd $(HOST_SUBDIR)/libbacktrace && \
23641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23643 "RANLIB=$${RANLIB}" \
23644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23645 pdf) \
23646 || exit 1
23647
23648 @endif libbacktrace
23649
23650 .PHONY: maybe-html-libbacktrace html-libbacktrace
23651 maybe-html-libbacktrace:
23652 @if libbacktrace
23653 maybe-html-libbacktrace: html-libbacktrace
23654
23655 html-libbacktrace: \
23656 configure-libbacktrace
23657 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(HOST_EXPORTS) \
23661 for flag in $(EXTRA_HOST_FLAGS) ; do \
23662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23663 done; \
23664 echo "Doing html in libbacktrace"; \
23665 (cd $(HOST_SUBDIR)/libbacktrace && \
23666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23668 "RANLIB=$${RANLIB}" \
23669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23670 html) \
23671 || exit 1
23672
23673 @endif libbacktrace
23674
23675 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23676 maybe-TAGS-libbacktrace:
23677 @if libbacktrace
23678 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23679
23680 TAGS-libbacktrace: \
23681 configure-libbacktrace
23682 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23683 r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 $(HOST_EXPORTS) \
23686 for flag in $(EXTRA_HOST_FLAGS) ; do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688 done; \
23689 echo "Doing TAGS in libbacktrace"; \
23690 (cd $(HOST_SUBDIR)/libbacktrace && \
23691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23693 "RANLIB=$${RANLIB}" \
23694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23695 TAGS) \
23696 || exit 1
23697
23698 @endif libbacktrace
23699
23700 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23701 maybe-install-info-libbacktrace:
23702 @if libbacktrace
23703 maybe-install-info-libbacktrace: install-info-libbacktrace
23704
23705 install-info-libbacktrace: \
23706 configure-libbacktrace \
23707 info-libbacktrace
23708 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23709 r=`${PWD_COMMAND}`; export r; \
23710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23711 $(HOST_EXPORTS) \
23712 for flag in $(EXTRA_HOST_FLAGS) ; do \
23713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23714 done; \
23715 echo "Doing install-info in libbacktrace"; \
23716 (cd $(HOST_SUBDIR)/libbacktrace && \
23717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23719 "RANLIB=$${RANLIB}" \
23720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23721 install-info) \
23722 || exit 1
23723
23724 @endif libbacktrace
23725
23726 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23727 maybe-install-pdf-libbacktrace:
23728 @if libbacktrace
23729 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23730
23731 install-pdf-libbacktrace: \
23732 configure-libbacktrace \
23733 pdf-libbacktrace
23734 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23735 r=`${PWD_COMMAND}`; export r; \
23736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 $(HOST_EXPORTS) \
23738 for flag in $(EXTRA_HOST_FLAGS) ; do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 echo "Doing install-pdf in libbacktrace"; \
23742 (cd $(HOST_SUBDIR)/libbacktrace && \
23743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23745 "RANLIB=$${RANLIB}" \
23746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23747 install-pdf) \
23748 || exit 1
23749
23750 @endif libbacktrace
23751
23752 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23753 maybe-install-html-libbacktrace:
23754 @if libbacktrace
23755 maybe-install-html-libbacktrace: install-html-libbacktrace
23756
23757 install-html-libbacktrace: \
23758 configure-libbacktrace \
23759 html-libbacktrace
23760 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23761 r=`${PWD_COMMAND}`; export r; \
23762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23763 $(HOST_EXPORTS) \
23764 for flag in $(EXTRA_HOST_FLAGS) ; do \
23765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23766 done; \
23767 echo "Doing install-html in libbacktrace"; \
23768 (cd $(HOST_SUBDIR)/libbacktrace && \
23769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23771 "RANLIB=$${RANLIB}" \
23772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23773 install-html) \
23774 || exit 1
23775
23776 @endif libbacktrace
23777
23778 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23779 maybe-installcheck-libbacktrace:
23780 @if libbacktrace
23781 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23782
23783 installcheck-libbacktrace: \
23784 configure-libbacktrace
23785 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 for flag in $(EXTRA_HOST_FLAGS) ; do \
23790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23791 done; \
23792 echo "Doing installcheck in libbacktrace"; \
23793 (cd $(HOST_SUBDIR)/libbacktrace && \
23794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23796 "RANLIB=$${RANLIB}" \
23797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23798 installcheck) \
23799 || exit 1
23800
23801 @endif libbacktrace
23802
23803 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23804 maybe-mostlyclean-libbacktrace:
23805 @if libbacktrace
23806 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23807
23808 mostlyclean-libbacktrace:
23809 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23812 $(HOST_EXPORTS) \
23813 for flag in $(EXTRA_HOST_FLAGS) ; do \
23814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23815 done; \
23816 echo "Doing mostlyclean in libbacktrace"; \
23817 (cd $(HOST_SUBDIR)/libbacktrace && \
23818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23820 "RANLIB=$${RANLIB}" \
23821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23822 mostlyclean) \
23823 || exit 1
23824
23825 @endif libbacktrace
23826
23827 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23828 maybe-clean-libbacktrace:
23829 @if libbacktrace
23830 maybe-clean-libbacktrace: clean-libbacktrace
23831
23832 clean-libbacktrace:
23833 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23834 r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 for flag in $(EXTRA_HOST_FLAGS) ; do \
23838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 done; \
23840 echo "Doing clean in libbacktrace"; \
23841 (cd $(HOST_SUBDIR)/libbacktrace && \
23842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23844 "RANLIB=$${RANLIB}" \
23845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23846 clean) \
23847 || exit 1
23848
23849 @endif libbacktrace
23850
23851 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23852 maybe-distclean-libbacktrace:
23853 @if libbacktrace
23854 maybe-distclean-libbacktrace: distclean-libbacktrace
23855
23856 distclean-libbacktrace:
23857 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23858 r=`${PWD_COMMAND}`; export r; \
23859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23860 $(HOST_EXPORTS) \
23861 for flag in $(EXTRA_HOST_FLAGS) ; do \
23862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23863 done; \
23864 echo "Doing distclean in libbacktrace"; \
23865 (cd $(HOST_SUBDIR)/libbacktrace && \
23866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23868 "RANLIB=$${RANLIB}" \
23869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23870 distclean) \
23871 || exit 1
23872
23873 @endif libbacktrace
23874
23875 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23876 maybe-maintainer-clean-libbacktrace:
23877 @if libbacktrace
23878 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23879
23880 maintainer-clean-libbacktrace:
23881 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23882 r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 $(HOST_EXPORTS) \
23885 for flag in $(EXTRA_HOST_FLAGS) ; do \
23886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23887 done; \
23888 echo "Doing maintainer-clean in libbacktrace"; \
23889 (cd $(HOST_SUBDIR)/libbacktrace && \
23890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23892 "RANLIB=$${RANLIB}" \
23893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23894 maintainer-clean) \
23895 || exit 1
23896
23897 @endif libbacktrace
23898
23899
23900
23901 .PHONY: configure-libcpp maybe-configure-libcpp
23902 maybe-configure-libcpp:
23903 @if gcc-bootstrap
23904 configure-libcpp: stage_current
23905 @endif gcc-bootstrap
23906 @if libcpp
23907 maybe-configure-libcpp: configure-libcpp
23908 configure-libcpp:
23909 @r=`${PWD_COMMAND}`; export r; \
23910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23911 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23913 $(HOST_EXPORTS) \
23914 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23915 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23916 case $(srcdir) in \
23917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23918 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23920 esac; \
23921 module_srcdir=libcpp; \
23922 $(SHELL) \
23923 $$s/$$module_srcdir/configure \
23924 --srcdir=$${topdir}/$$module_srcdir \
23925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23926 --target=${target_alias} \
23927 || exit 1
23928 @endif libcpp
23929
23930
23931
23932 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23933 maybe-configure-stage1-libcpp:
23934 @if libcpp-bootstrap
23935 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23936 configure-stage1-libcpp:
23937 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23939 @r=`${PWD_COMMAND}`; export r; \
23940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 TFLAGS="$(STAGE1_TFLAGS)"; \
23942 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23943 $(HOST_EXPORTS) \
23944 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23945 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23946 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23947 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23949 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23950 case $(srcdir) in \
23951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23952 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23954 esac; \
23955 module_srcdir=libcpp; \
23956 $(SHELL) $$s/$$module_srcdir/configure \
23957 --srcdir=$${topdir}/$$module_srcdir \
23958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23959 --target=${target_alias} \
23960 \
23961 $(STAGE1_CONFIGURE_FLAGS)
23962 @endif libcpp-bootstrap
23963
23964 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23965 maybe-configure-stage2-libcpp:
23966 @if libcpp-bootstrap
23967 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23968 configure-stage2-libcpp:
23969 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23971 @r=`${PWD_COMMAND}`; export r; \
23972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23973 TFLAGS="$(STAGE2_TFLAGS)"; \
23974 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23975 $(HOST_EXPORTS) \
23976 $(POSTSTAGE1_HOST_EXPORTS) \
23977 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23978 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23979 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23980 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23982 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23983 case $(srcdir) in \
23984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23985 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23987 esac; \
23988 module_srcdir=libcpp; \
23989 $(SHELL) $$s/$$module_srcdir/configure \
23990 --srcdir=$${topdir}/$$module_srcdir \
23991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23992 --target=${target_alias} \
23993 --with-build-libsubdir=$(HOST_SUBDIR) \
23994 $(STAGE2_CONFIGURE_FLAGS)
23995 @endif libcpp-bootstrap
23996
23997 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23998 maybe-configure-stage3-libcpp:
23999 @if libcpp-bootstrap
24000 maybe-configure-stage3-libcpp: configure-stage3-libcpp
24001 configure-stage3-libcpp:
24002 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24004 @r=`${PWD_COMMAND}`; export r; \
24005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24006 TFLAGS="$(STAGE3_TFLAGS)"; \
24007 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24008 $(HOST_EXPORTS) \
24009 $(POSTSTAGE1_HOST_EXPORTS) \
24010 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24011 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24012 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24013 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
24014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24015 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24016 case $(srcdir) in \
24017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24018 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24020 esac; \
24021 module_srcdir=libcpp; \
24022 $(SHELL) $$s/$$module_srcdir/configure \
24023 --srcdir=$${topdir}/$$module_srcdir \
24024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24025 --target=${target_alias} \
24026 --with-build-libsubdir=$(HOST_SUBDIR) \
24027 $(STAGE3_CONFIGURE_FLAGS)
24028 @endif libcpp-bootstrap
24029
24030 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24031 maybe-configure-stage4-libcpp:
24032 @if libcpp-bootstrap
24033 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24034 configure-stage4-libcpp:
24035 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24037 @r=`${PWD_COMMAND}`; export r; \
24038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24039 TFLAGS="$(STAGE4_TFLAGS)"; \
24040 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24041 $(HOST_EXPORTS) \
24042 $(POSTSTAGE1_HOST_EXPORTS) \
24043 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24044 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24045 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24046 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24048 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24049 case $(srcdir) in \
24050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24051 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24053 esac; \
24054 module_srcdir=libcpp; \
24055 $(SHELL) $$s/$$module_srcdir/configure \
24056 --srcdir=$${topdir}/$$module_srcdir \
24057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24058 --target=${target_alias} \
24059 --with-build-libsubdir=$(HOST_SUBDIR) \
24060 $(STAGE4_CONFIGURE_FLAGS)
24061 @endif libcpp-bootstrap
24062
24063 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24064 maybe-configure-stageprofile-libcpp:
24065 @if libcpp-bootstrap
24066 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24067 configure-stageprofile-libcpp:
24068 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24070 @r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24073 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24074 $(HOST_EXPORTS) \
24075 $(POSTSTAGE1_HOST_EXPORTS) \
24076 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24077 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24078 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24079 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24081 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24082 case $(srcdir) in \
24083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24084 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24086 esac; \
24087 module_srcdir=libcpp; \
24088 $(SHELL) $$s/$$module_srcdir/configure \
24089 --srcdir=$${topdir}/$$module_srcdir \
24090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24091 --target=${target_alias} \
24092 --with-build-libsubdir=$(HOST_SUBDIR) \
24093 $(STAGEprofile_CONFIGURE_FLAGS)
24094 @endif libcpp-bootstrap
24095
24096 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24097 maybe-configure-stagetrain-libcpp:
24098 @if libcpp-bootstrap
24099 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24100 configure-stagetrain-libcpp:
24101 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24103 @r=`${PWD_COMMAND}`; export r; \
24104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24105 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24106 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24107 $(HOST_EXPORTS) \
24108 $(POSTSTAGE1_HOST_EXPORTS) \
24109 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24110 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24111 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24112 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24114 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24115 case $(srcdir) in \
24116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24117 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24119 esac; \
24120 module_srcdir=libcpp; \
24121 $(SHELL) $$s/$$module_srcdir/configure \
24122 --srcdir=$${topdir}/$$module_srcdir \
24123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24124 --target=${target_alias} \
24125 --with-build-libsubdir=$(HOST_SUBDIR) \
24126 $(STAGEtrain_CONFIGURE_FLAGS)
24127 @endif libcpp-bootstrap
24128
24129 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24130 maybe-configure-stagefeedback-libcpp:
24131 @if libcpp-bootstrap
24132 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24133 configure-stagefeedback-libcpp:
24134 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24135 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24136 @r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24139 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24140 $(HOST_EXPORTS) \
24141 $(POSTSTAGE1_HOST_EXPORTS) \
24142 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24143 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24144 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24145 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
24146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24147 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24148 case $(srcdir) in \
24149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24150 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24152 esac; \
24153 module_srcdir=libcpp; \
24154 $(SHELL) $$s/$$module_srcdir/configure \
24155 --srcdir=$${topdir}/$$module_srcdir \
24156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24157 --target=${target_alias} \
24158 --with-build-libsubdir=$(HOST_SUBDIR) \
24159 $(STAGEfeedback_CONFIGURE_FLAGS)
24160 @endif libcpp-bootstrap
24161
24162 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
24163 maybe-configure-stageautoprofile-libcpp:
24164 @if libcpp-bootstrap
24165 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24166 configure-stageautoprofile-libcpp:
24167 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24169 @r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24171 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24172 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24173 $(HOST_EXPORTS) \
24174 $(POSTSTAGE1_HOST_EXPORTS) \
24175 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
24176 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
24177 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
24178 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
24179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24180 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24181 case $(srcdir) in \
24182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24183 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24185 esac; \
24186 module_srcdir=libcpp; \
24187 $(SHELL) $$s/$$module_srcdir/configure \
24188 --srcdir=$${topdir}/$$module_srcdir \
24189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24190 --target=${target_alias} \
24191 --with-build-libsubdir=$(HOST_SUBDIR) \
24192 $(STAGEautoprofile_CONFIGURE_FLAGS)
24193 @endif libcpp-bootstrap
24194
24195 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24196 maybe-configure-stageautofeedback-libcpp:
24197 @if libcpp-bootstrap
24198 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24199 configure-stageautofeedback-libcpp:
24200 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24201 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24202 @r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24205 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24206 $(HOST_EXPORTS) \
24207 $(POSTSTAGE1_HOST_EXPORTS) \
24208 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24209 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24210 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24211 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24213 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24214 case $(srcdir) in \
24215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24216 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24218 esac; \
24219 module_srcdir=libcpp; \
24220 $(SHELL) $$s/$$module_srcdir/configure \
24221 --srcdir=$${topdir}/$$module_srcdir \
24222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24223 --target=${target_alias} \
24224 --with-build-libsubdir=$(HOST_SUBDIR) \
24225 $(STAGEautofeedback_CONFIGURE_FLAGS)
24226 @endif libcpp-bootstrap
24227
24228
24229
24230
24231
24232 .PHONY: all-libcpp maybe-all-libcpp
24233 maybe-all-libcpp:
24234 @if gcc-bootstrap
24235 all-libcpp: stage_current
24236 @endif gcc-bootstrap
24237 @if libcpp
24238 TARGET-libcpp=all
24239 maybe-all-libcpp: all-libcpp
24240 all-libcpp: configure-libcpp
24241 @r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 $(HOST_EXPORTS) \
24244 (cd $(HOST_SUBDIR)/libcpp && \
24245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24246 $(TARGET-libcpp))
24247 @endif libcpp
24248
24249
24250
24251 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24252 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24253 maybe-all-stage1-libcpp:
24254 maybe-clean-stage1-libcpp:
24255 @if libcpp-bootstrap
24256 maybe-all-stage1-libcpp: all-stage1-libcpp
24257 all-stage1: all-stage1-libcpp
24258 TARGET-stage1-libcpp = $(TARGET-libcpp)
24259 all-stage1-libcpp: configure-stage1-libcpp
24260 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24261 @r=`${PWD_COMMAND}`; export r; \
24262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24263 TFLAGS="$(STAGE1_TFLAGS)"; \
24264 $(HOST_EXPORTS) \
24265 cd $(HOST_SUBDIR)/libcpp && \
24266 \
24267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24268 CFLAGS="$(STAGE1_CFLAGS)" \
24269 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
24270 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24271 LIBCFLAGS="$(LIBCFLAGS)" \
24272 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24273 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24274 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24275 $(EXTRA_HOST_FLAGS) \
24276 $(STAGE1_FLAGS_TO_PASS) \
24277 TFLAGS="$(STAGE1_TFLAGS)" \
24278 $(TARGET-stage1-libcpp)
24279
24280 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24281 clean-stage1: clean-stage1-libcpp
24282 clean-stage1-libcpp:
24283 @if [ $(current_stage) = stage1 ]; then \
24284 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24285 else \
24286 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24287 $(MAKE) stage1-start; \
24288 fi; \
24289 cd $(HOST_SUBDIR)/libcpp && \
24290 $(MAKE) $(EXTRA_HOST_FLAGS) \
24291 $(STAGE1_FLAGS_TO_PASS) clean
24292 @endif libcpp-bootstrap
24293
24294
24295 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24296 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24297 maybe-all-stage2-libcpp:
24298 maybe-clean-stage2-libcpp:
24299 @if libcpp-bootstrap
24300 maybe-all-stage2-libcpp: all-stage2-libcpp
24301 all-stage2: all-stage2-libcpp
24302 TARGET-stage2-libcpp = $(TARGET-libcpp)
24303 all-stage2-libcpp: configure-stage2-libcpp
24304 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24305 @r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 TFLAGS="$(STAGE2_TFLAGS)"; \
24308 $(HOST_EXPORTS) \
24309 $(POSTSTAGE1_HOST_EXPORTS) \
24310 cd $(HOST_SUBDIR)/libcpp && \
24311 \
24312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24313 CFLAGS="$(STAGE2_CFLAGS)" \
24314 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24315 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24316 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24321 TFLAGS="$(STAGE2_TFLAGS)" \
24322 $(TARGET-stage2-libcpp)
24323
24324 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24325 clean-stage2: clean-stage2-libcpp
24326 clean-stage2-libcpp:
24327 @if [ $(current_stage) = stage2 ]; then \
24328 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24329 else \
24330 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24331 $(MAKE) stage2-start; \
24332 fi; \
24333 cd $(HOST_SUBDIR)/libcpp && \
24334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24335 @endif libcpp-bootstrap
24336
24337
24338 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24339 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24340 maybe-all-stage3-libcpp:
24341 maybe-clean-stage3-libcpp:
24342 @if libcpp-bootstrap
24343 maybe-all-stage3-libcpp: all-stage3-libcpp
24344 all-stage3: all-stage3-libcpp
24345 TARGET-stage3-libcpp = $(TARGET-libcpp)
24346 all-stage3-libcpp: configure-stage3-libcpp
24347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24348 @r=`${PWD_COMMAND}`; export r; \
24349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24350 TFLAGS="$(STAGE3_TFLAGS)"; \
24351 $(HOST_EXPORTS) \
24352 $(POSTSTAGE1_HOST_EXPORTS) \
24353 cd $(HOST_SUBDIR)/libcpp && \
24354 \
24355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24356 CFLAGS="$(STAGE3_CFLAGS)" \
24357 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24358 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24359 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24363 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24364 TFLAGS="$(STAGE3_TFLAGS)" \
24365 $(TARGET-stage3-libcpp)
24366
24367 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24368 clean-stage3: clean-stage3-libcpp
24369 clean-stage3-libcpp:
24370 @if [ $(current_stage) = stage3 ]; then \
24371 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24372 else \
24373 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24374 $(MAKE) stage3-start; \
24375 fi; \
24376 cd $(HOST_SUBDIR)/libcpp && \
24377 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24378 @endif libcpp-bootstrap
24379
24380
24381 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24382 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24383 maybe-all-stage4-libcpp:
24384 maybe-clean-stage4-libcpp:
24385 @if libcpp-bootstrap
24386 maybe-all-stage4-libcpp: all-stage4-libcpp
24387 all-stage4: all-stage4-libcpp
24388 TARGET-stage4-libcpp = $(TARGET-libcpp)
24389 all-stage4-libcpp: configure-stage4-libcpp
24390 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24391 @r=`${PWD_COMMAND}`; export r; \
24392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24393 TFLAGS="$(STAGE4_TFLAGS)"; \
24394 $(HOST_EXPORTS) \
24395 $(POSTSTAGE1_HOST_EXPORTS) \
24396 cd $(HOST_SUBDIR)/libcpp && \
24397 \
24398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24399 CFLAGS="$(STAGE4_CFLAGS)" \
24400 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24401 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24402 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24407 TFLAGS="$(STAGE4_TFLAGS)" \
24408 $(TARGET-stage4-libcpp)
24409
24410 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24411 clean-stage4: clean-stage4-libcpp
24412 clean-stage4-libcpp:
24413 @if [ $(current_stage) = stage4 ]; then \
24414 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24415 else \
24416 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24417 $(MAKE) stage4-start; \
24418 fi; \
24419 cd $(HOST_SUBDIR)/libcpp && \
24420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24421 @endif libcpp-bootstrap
24422
24423
24424 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24425 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24426 maybe-all-stageprofile-libcpp:
24427 maybe-clean-stageprofile-libcpp:
24428 @if libcpp-bootstrap
24429 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24430 all-stageprofile: all-stageprofile-libcpp
24431 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24432 all-stageprofile-libcpp: configure-stageprofile-libcpp
24433 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24434 @r=`${PWD_COMMAND}`; export r; \
24435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24436 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24437 $(HOST_EXPORTS) \
24438 $(POSTSTAGE1_HOST_EXPORTS) \
24439 cd $(HOST_SUBDIR)/libcpp && \
24440 \
24441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24442 CFLAGS="$(STAGEprofile_CFLAGS)" \
24443 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24444 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24445 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24450 TFLAGS="$(STAGEprofile_TFLAGS)" \
24451 $(TARGET-stageprofile-libcpp)
24452
24453 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24454 clean-stageprofile: clean-stageprofile-libcpp
24455 clean-stageprofile-libcpp:
24456 @if [ $(current_stage) = stageprofile ]; then \
24457 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24458 else \
24459 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24460 $(MAKE) stageprofile-start; \
24461 fi; \
24462 cd $(HOST_SUBDIR)/libcpp && \
24463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24464 @endif libcpp-bootstrap
24465
24466
24467 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24468 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24469 maybe-all-stagetrain-libcpp:
24470 maybe-clean-stagetrain-libcpp:
24471 @if libcpp-bootstrap
24472 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24473 all-stagetrain: all-stagetrain-libcpp
24474 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24475 all-stagetrain-libcpp: configure-stagetrain-libcpp
24476 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24477 @r=`${PWD_COMMAND}`; export r; \
24478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24479 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24480 $(HOST_EXPORTS) \
24481 $(POSTSTAGE1_HOST_EXPORTS) \
24482 cd $(HOST_SUBDIR)/libcpp && \
24483 \
24484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24485 CFLAGS="$(STAGEtrain_CFLAGS)" \
24486 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24487 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24488 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24492 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24493 TFLAGS="$(STAGEtrain_TFLAGS)" \
24494 $(TARGET-stagetrain-libcpp)
24495
24496 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24497 clean-stagetrain: clean-stagetrain-libcpp
24498 clean-stagetrain-libcpp:
24499 @if [ $(current_stage) = stagetrain ]; then \
24500 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24501 else \
24502 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24503 $(MAKE) stagetrain-start; \
24504 fi; \
24505 cd $(HOST_SUBDIR)/libcpp && \
24506 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24507 @endif libcpp-bootstrap
24508
24509
24510 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24511 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24512 maybe-all-stagefeedback-libcpp:
24513 maybe-clean-stagefeedback-libcpp:
24514 @if libcpp-bootstrap
24515 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24516 all-stagefeedback: all-stagefeedback-libcpp
24517 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24518 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24519 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24520 @r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24523 $(HOST_EXPORTS) \
24524 $(POSTSTAGE1_HOST_EXPORTS) \
24525 cd $(HOST_SUBDIR)/libcpp && \
24526 \
24527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24528 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24529 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24530 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24531 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24536 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24537 $(TARGET-stagefeedback-libcpp)
24538
24539 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24540 clean-stagefeedback: clean-stagefeedback-libcpp
24541 clean-stagefeedback-libcpp:
24542 @if [ $(current_stage) = stagefeedback ]; then \
24543 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24544 else \
24545 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24546 $(MAKE) stagefeedback-start; \
24547 fi; \
24548 cd $(HOST_SUBDIR)/libcpp && \
24549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24550 @endif libcpp-bootstrap
24551
24552
24553 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24554 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24555 maybe-all-stageautoprofile-libcpp:
24556 maybe-clean-stageautoprofile-libcpp:
24557 @if libcpp-bootstrap
24558 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24559 all-stageautoprofile: all-stageautoprofile-libcpp
24560 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24561 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24562 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24563 @r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24566 $(HOST_EXPORTS) \
24567 $(POSTSTAGE1_HOST_EXPORTS) \
24568 cd $(HOST_SUBDIR)/libcpp && \
24569 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24571 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24572 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24573 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24574 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24575 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24576 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24577 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24578 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24579 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24580 $(TARGET-stageautoprofile-libcpp)
24581
24582 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24583 clean-stageautoprofile: clean-stageautoprofile-libcpp
24584 clean-stageautoprofile-libcpp:
24585 @if [ $(current_stage) = stageautoprofile ]; then \
24586 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24587 else \
24588 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24589 $(MAKE) stageautoprofile-start; \
24590 fi; \
24591 cd $(HOST_SUBDIR)/libcpp && \
24592 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24593 @endif libcpp-bootstrap
24594
24595
24596 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24597 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24598 maybe-all-stageautofeedback-libcpp:
24599 maybe-clean-stageautofeedback-libcpp:
24600 @if libcpp-bootstrap
24601 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24602 all-stageautofeedback: all-stageautofeedback-libcpp
24603 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24604 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24605 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24606 @r=`${PWD_COMMAND}`; export r; \
24607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24608 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24609 $(HOST_EXPORTS) \
24610 $(POSTSTAGE1_HOST_EXPORTS) \
24611 cd $(HOST_SUBDIR)/libcpp && \
24612 \
24613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24614 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24615 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24616 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24617 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24622 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24623 $(TARGET-stageautofeedback-libcpp)
24624
24625 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24626 clean-stageautofeedback: clean-stageautofeedback-libcpp
24627 clean-stageautofeedback-libcpp:
24628 @if [ $(current_stage) = stageautofeedback ]; then \
24629 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24630 else \
24631 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24632 $(MAKE) stageautofeedback-start; \
24633 fi; \
24634 cd $(HOST_SUBDIR)/libcpp && \
24635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24636 @endif libcpp-bootstrap
24637
24638
24639
24640
24641
24642 .PHONY: check-libcpp maybe-check-libcpp
24643 maybe-check-libcpp:
24644 @if libcpp
24645 maybe-check-libcpp: check-libcpp
24646
24647 check-libcpp:
24648 @: $(MAKE); $(unstage)
24649 @r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24652 (cd $(HOST_SUBDIR)/libcpp && \
24653 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24654
24655 @endif libcpp
24656
24657 .PHONY: install-libcpp maybe-install-libcpp
24658 maybe-install-libcpp:
24659 @if libcpp
24660 maybe-install-libcpp: install-libcpp
24661
24662 install-libcpp: installdirs
24663 @: $(MAKE); $(unstage)
24664 @r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(HOST_EXPORTS) \
24667 (cd $(HOST_SUBDIR)/libcpp && \
24668 $(MAKE) $(FLAGS_TO_PASS) install)
24669
24670 @endif libcpp
24671
24672 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24673 maybe-install-strip-libcpp:
24674 @if libcpp
24675 maybe-install-strip-libcpp: install-strip-libcpp
24676
24677 install-strip-libcpp: installdirs
24678 @: $(MAKE); $(unstage)
24679 @r=`${PWD_COMMAND}`; export r; \
24680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24681 $(HOST_EXPORTS) \
24682 (cd $(HOST_SUBDIR)/libcpp && \
24683 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24684
24685 @endif libcpp
24686
24687 # Other targets (info, dvi, pdf, etc.)
24688
24689 .PHONY: maybe-info-libcpp info-libcpp
24690 maybe-info-libcpp:
24691 @if libcpp
24692 maybe-info-libcpp: info-libcpp
24693
24694 info-libcpp: \
24695 configure-libcpp
24696 @[ -f ./libcpp/Makefile ] || exit 0; \
24697 r=`${PWD_COMMAND}`; export r; \
24698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24699 $(HOST_EXPORTS) \
24700 for flag in $(EXTRA_HOST_FLAGS) ; do \
24701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24702 done; \
24703 echo "Doing info in libcpp"; \
24704 (cd $(HOST_SUBDIR)/libcpp && \
24705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24707 "RANLIB=$${RANLIB}" \
24708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24709 info) \
24710 || exit 1
24711
24712 @endif libcpp
24713
24714 .PHONY: maybe-dvi-libcpp dvi-libcpp
24715 maybe-dvi-libcpp:
24716 @if libcpp
24717 maybe-dvi-libcpp: dvi-libcpp
24718
24719 dvi-libcpp: \
24720 configure-libcpp
24721 @[ -f ./libcpp/Makefile ] || exit 0; \
24722 r=`${PWD_COMMAND}`; export r; \
24723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24724 $(HOST_EXPORTS) \
24725 for flag in $(EXTRA_HOST_FLAGS) ; do \
24726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24727 done; \
24728 echo "Doing dvi in libcpp"; \
24729 (cd $(HOST_SUBDIR)/libcpp && \
24730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24732 "RANLIB=$${RANLIB}" \
24733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24734 dvi) \
24735 || exit 1
24736
24737 @endif libcpp
24738
24739 .PHONY: maybe-pdf-libcpp pdf-libcpp
24740 maybe-pdf-libcpp:
24741 @if libcpp
24742 maybe-pdf-libcpp: pdf-libcpp
24743
24744 pdf-libcpp: \
24745 configure-libcpp
24746 @[ -f ./libcpp/Makefile ] || exit 0; \
24747 r=`${PWD_COMMAND}`; export r; \
24748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24749 $(HOST_EXPORTS) \
24750 for flag in $(EXTRA_HOST_FLAGS) ; do \
24751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24752 done; \
24753 echo "Doing pdf in libcpp"; \
24754 (cd $(HOST_SUBDIR)/libcpp && \
24755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24757 "RANLIB=$${RANLIB}" \
24758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24759 pdf) \
24760 || exit 1
24761
24762 @endif libcpp
24763
24764 .PHONY: maybe-html-libcpp html-libcpp
24765 maybe-html-libcpp:
24766 @if libcpp
24767 maybe-html-libcpp: html-libcpp
24768
24769 html-libcpp: \
24770 configure-libcpp
24771 @[ -f ./libcpp/Makefile ] || exit 0; \
24772 r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(HOST_EXPORTS) \
24775 for flag in $(EXTRA_HOST_FLAGS) ; do \
24776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24777 done; \
24778 echo "Doing html in libcpp"; \
24779 (cd $(HOST_SUBDIR)/libcpp && \
24780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24782 "RANLIB=$${RANLIB}" \
24783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24784 html) \
24785 || exit 1
24786
24787 @endif libcpp
24788
24789 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24790 maybe-TAGS-libcpp:
24791 @if libcpp
24792 maybe-TAGS-libcpp: TAGS-libcpp
24793
24794 TAGS-libcpp: \
24795 configure-libcpp
24796 @[ -f ./libcpp/Makefile ] || exit 0; \
24797 r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 for flag in $(EXTRA_HOST_FLAGS) ; do \
24801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24802 done; \
24803 echo "Doing TAGS in libcpp"; \
24804 (cd $(HOST_SUBDIR)/libcpp && \
24805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24807 "RANLIB=$${RANLIB}" \
24808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24809 TAGS) \
24810 || exit 1
24811
24812 @endif libcpp
24813
24814 .PHONY: maybe-install-info-libcpp install-info-libcpp
24815 maybe-install-info-libcpp:
24816 @if libcpp
24817 maybe-install-info-libcpp: install-info-libcpp
24818
24819 install-info-libcpp: \
24820 configure-libcpp \
24821 info-libcpp
24822 @[ -f ./libcpp/Makefile ] || exit 0; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(HOST_EXPORTS) \
24826 for flag in $(EXTRA_HOST_FLAGS) ; do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24828 done; \
24829 echo "Doing install-info in libcpp"; \
24830 (cd $(HOST_SUBDIR)/libcpp && \
24831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24833 "RANLIB=$${RANLIB}" \
24834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24835 install-info) \
24836 || exit 1
24837
24838 @endif libcpp
24839
24840 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24841 maybe-install-pdf-libcpp:
24842 @if libcpp
24843 maybe-install-pdf-libcpp: install-pdf-libcpp
24844
24845 install-pdf-libcpp: \
24846 configure-libcpp \
24847 pdf-libcpp
24848 @[ -f ./libcpp/Makefile ] || exit 0; \
24849 r=`${PWD_COMMAND}`; export r; \
24850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 $(HOST_EXPORTS) \
24852 for flag in $(EXTRA_HOST_FLAGS) ; do \
24853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24854 done; \
24855 echo "Doing install-pdf in libcpp"; \
24856 (cd $(HOST_SUBDIR)/libcpp && \
24857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24859 "RANLIB=$${RANLIB}" \
24860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24861 install-pdf) \
24862 || exit 1
24863
24864 @endif libcpp
24865
24866 .PHONY: maybe-install-html-libcpp install-html-libcpp
24867 maybe-install-html-libcpp:
24868 @if libcpp
24869 maybe-install-html-libcpp: install-html-libcpp
24870
24871 install-html-libcpp: \
24872 configure-libcpp \
24873 html-libcpp
24874 @[ -f ./libcpp/Makefile ] || exit 0; \
24875 r=`${PWD_COMMAND}`; export r; \
24876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24877 $(HOST_EXPORTS) \
24878 for flag in $(EXTRA_HOST_FLAGS) ; do \
24879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24880 done; \
24881 echo "Doing install-html in libcpp"; \
24882 (cd $(HOST_SUBDIR)/libcpp && \
24883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24885 "RANLIB=$${RANLIB}" \
24886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24887 install-html) \
24888 || exit 1
24889
24890 @endif libcpp
24891
24892 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24893 maybe-installcheck-libcpp:
24894 @if libcpp
24895 maybe-installcheck-libcpp: installcheck-libcpp
24896
24897 installcheck-libcpp: \
24898 configure-libcpp
24899 @[ -f ./libcpp/Makefile ] || exit 0; \
24900 r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 $(HOST_EXPORTS) \
24903 for flag in $(EXTRA_HOST_FLAGS) ; do \
24904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24905 done; \
24906 echo "Doing installcheck in libcpp"; \
24907 (cd $(HOST_SUBDIR)/libcpp && \
24908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24910 "RANLIB=$${RANLIB}" \
24911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24912 installcheck) \
24913 || exit 1
24914
24915 @endif libcpp
24916
24917 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24918 maybe-mostlyclean-libcpp:
24919 @if libcpp
24920 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24921
24922 mostlyclean-libcpp:
24923 @[ -f ./libcpp/Makefile ] || exit 0; \
24924 r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24926 $(HOST_EXPORTS) \
24927 for flag in $(EXTRA_HOST_FLAGS) ; do \
24928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24929 done; \
24930 echo "Doing mostlyclean in libcpp"; \
24931 (cd $(HOST_SUBDIR)/libcpp && \
24932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24934 "RANLIB=$${RANLIB}" \
24935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24936 mostlyclean) \
24937 || exit 1
24938
24939 @endif libcpp
24940
24941 .PHONY: maybe-clean-libcpp clean-libcpp
24942 maybe-clean-libcpp:
24943 @if libcpp
24944 maybe-clean-libcpp: clean-libcpp
24945
24946 clean-libcpp:
24947 @[ -f ./libcpp/Makefile ] || exit 0; \
24948 r=`${PWD_COMMAND}`; export r; \
24949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24950 $(HOST_EXPORTS) \
24951 for flag in $(EXTRA_HOST_FLAGS) ; do \
24952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24953 done; \
24954 echo "Doing clean in libcpp"; \
24955 (cd $(HOST_SUBDIR)/libcpp && \
24956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24958 "RANLIB=$${RANLIB}" \
24959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24960 clean) \
24961 || exit 1
24962
24963 @endif libcpp
24964
24965 .PHONY: maybe-distclean-libcpp distclean-libcpp
24966 maybe-distclean-libcpp:
24967 @if libcpp
24968 maybe-distclean-libcpp: distclean-libcpp
24969
24970 distclean-libcpp:
24971 @[ -f ./libcpp/Makefile ] || exit 0; \
24972 r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(HOST_EXPORTS) \
24975 for flag in $(EXTRA_HOST_FLAGS) ; do \
24976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24977 done; \
24978 echo "Doing distclean in libcpp"; \
24979 (cd $(HOST_SUBDIR)/libcpp && \
24980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24982 "RANLIB=$${RANLIB}" \
24983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24984 distclean) \
24985 || exit 1
24986
24987 @endif libcpp
24988
24989 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24990 maybe-maintainer-clean-libcpp:
24991 @if libcpp
24992 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24993
24994 maintainer-clean-libcpp:
24995 @[ -f ./libcpp/Makefile ] || exit 0; \
24996 r=`${PWD_COMMAND}`; export r; \
24997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24998 $(HOST_EXPORTS) \
24999 for flag in $(EXTRA_HOST_FLAGS) ; do \
25000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25001 done; \
25002 echo "Doing maintainer-clean in libcpp"; \
25003 (cd $(HOST_SUBDIR)/libcpp && \
25004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25006 "RANLIB=$${RANLIB}" \
25007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25008 maintainer-clean) \
25009 || exit 1
25010
25011 @endif libcpp
25012
25013
25014
25015 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
25016 maybe-configure-libdecnumber:
25017 @if gcc-bootstrap
25018 configure-libdecnumber: stage_current
25019 @endif gcc-bootstrap
25020 @if libdecnumber
25021 maybe-configure-libdecnumber: configure-libdecnumber
25022 configure-libdecnumber:
25023 @r=`${PWD_COMMAND}`; export r; \
25024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25025 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25027 $(HOST_EXPORTS) \
25028 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
25029 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
25030 case $(srcdir) in \
25031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25032 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25034 esac; \
25035 module_srcdir=libdecnumber; \
25036 $(SHELL) \
25037 $$s/$$module_srcdir/configure \
25038 --srcdir=$${topdir}/$$module_srcdir \
25039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25040 --target=${target_alias} \
25041 || exit 1
25042 @endif libdecnumber
25043
25044
25045
25046 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
25047 maybe-configure-stage1-libdecnumber:
25048 @if libdecnumber-bootstrap
25049 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
25050 configure-stage1-libdecnumber:
25051 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25053 @r=`${PWD_COMMAND}`; export r; \
25054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 TFLAGS="$(STAGE1_TFLAGS)"; \
25056 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25057 $(HOST_EXPORTS) \
25058 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25059 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25060 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25061 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
25062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25063 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25064 case $(srcdir) in \
25065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25066 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25068 esac; \
25069 module_srcdir=libdecnumber; \
25070 $(SHELL) $$s/$$module_srcdir/configure \
25071 --srcdir=$${topdir}/$$module_srcdir \
25072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25073 --target=${target_alias} \
25074 \
25075 $(STAGE1_CONFIGURE_FLAGS)
25076 @endif libdecnumber-bootstrap
25077
25078 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
25079 maybe-configure-stage2-libdecnumber:
25080 @if libdecnumber-bootstrap
25081 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
25082 configure-stage2-libdecnumber:
25083 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25085 @r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25087 TFLAGS="$(STAGE2_TFLAGS)"; \
25088 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25089 $(HOST_EXPORTS) \
25090 $(POSTSTAGE1_HOST_EXPORTS) \
25091 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25092 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25093 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25094 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
25095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25096 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25097 case $(srcdir) in \
25098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25099 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25101 esac; \
25102 module_srcdir=libdecnumber; \
25103 $(SHELL) $$s/$$module_srcdir/configure \
25104 --srcdir=$${topdir}/$$module_srcdir \
25105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25106 --target=${target_alias} \
25107 --with-build-libsubdir=$(HOST_SUBDIR) \
25108 $(STAGE2_CONFIGURE_FLAGS)
25109 @endif libdecnumber-bootstrap
25110
25111 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
25112 maybe-configure-stage3-libdecnumber:
25113 @if libdecnumber-bootstrap
25114 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
25115 configure-stage3-libdecnumber:
25116 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25118 @r=`${PWD_COMMAND}`; export r; \
25119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25120 TFLAGS="$(STAGE3_TFLAGS)"; \
25121 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25122 $(HOST_EXPORTS) \
25123 $(POSTSTAGE1_HOST_EXPORTS) \
25124 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25125 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25126 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25127 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
25128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25129 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25130 case $(srcdir) in \
25131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25132 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25134 esac; \
25135 module_srcdir=libdecnumber; \
25136 $(SHELL) $$s/$$module_srcdir/configure \
25137 --srcdir=$${topdir}/$$module_srcdir \
25138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25139 --target=${target_alias} \
25140 --with-build-libsubdir=$(HOST_SUBDIR) \
25141 $(STAGE3_CONFIGURE_FLAGS)
25142 @endif libdecnumber-bootstrap
25143
25144 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
25145 maybe-configure-stage4-libdecnumber:
25146 @if libdecnumber-bootstrap
25147 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
25148 configure-stage4-libdecnumber:
25149 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25151 @r=`${PWD_COMMAND}`; export r; \
25152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25153 TFLAGS="$(STAGE4_TFLAGS)"; \
25154 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25155 $(HOST_EXPORTS) \
25156 $(POSTSTAGE1_HOST_EXPORTS) \
25157 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25158 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25159 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25160 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
25161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25162 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25163 case $(srcdir) in \
25164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25165 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25167 esac; \
25168 module_srcdir=libdecnumber; \
25169 $(SHELL) $$s/$$module_srcdir/configure \
25170 --srcdir=$${topdir}/$$module_srcdir \
25171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25172 --target=${target_alias} \
25173 --with-build-libsubdir=$(HOST_SUBDIR) \
25174 $(STAGE4_CONFIGURE_FLAGS)
25175 @endif libdecnumber-bootstrap
25176
25177 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
25178 maybe-configure-stageprofile-libdecnumber:
25179 @if libdecnumber-bootstrap
25180 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25181 configure-stageprofile-libdecnumber:
25182 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25184 @r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25187 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25188 $(HOST_EXPORTS) \
25189 $(POSTSTAGE1_HOST_EXPORTS) \
25190 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25191 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25192 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25193 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
25194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25195 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25196 case $(srcdir) in \
25197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25198 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25200 esac; \
25201 module_srcdir=libdecnumber; \
25202 $(SHELL) $$s/$$module_srcdir/configure \
25203 --srcdir=$${topdir}/$$module_srcdir \
25204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25205 --target=${target_alias} \
25206 --with-build-libsubdir=$(HOST_SUBDIR) \
25207 $(STAGEprofile_CONFIGURE_FLAGS)
25208 @endif libdecnumber-bootstrap
25209
25210 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25211 maybe-configure-stagetrain-libdecnumber:
25212 @if libdecnumber-bootstrap
25213 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25214 configure-stagetrain-libdecnumber:
25215 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25217 @r=`${PWD_COMMAND}`; export r; \
25218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25219 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25220 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25221 $(HOST_EXPORTS) \
25222 $(POSTSTAGE1_HOST_EXPORTS) \
25223 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25224 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25225 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25226 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25228 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25229 case $(srcdir) in \
25230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25231 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25233 esac; \
25234 module_srcdir=libdecnumber; \
25235 $(SHELL) $$s/$$module_srcdir/configure \
25236 --srcdir=$${topdir}/$$module_srcdir \
25237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25238 --target=${target_alias} \
25239 --with-build-libsubdir=$(HOST_SUBDIR) \
25240 $(STAGEtrain_CONFIGURE_FLAGS)
25241 @endif libdecnumber-bootstrap
25242
25243 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25244 maybe-configure-stagefeedback-libdecnumber:
25245 @if libdecnumber-bootstrap
25246 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25247 configure-stagefeedback-libdecnumber:
25248 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25250 @r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25252 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25253 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25254 $(HOST_EXPORTS) \
25255 $(POSTSTAGE1_HOST_EXPORTS) \
25256 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25257 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25258 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25259 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25261 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25262 case $(srcdir) in \
25263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25264 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25266 esac; \
25267 module_srcdir=libdecnumber; \
25268 $(SHELL) $$s/$$module_srcdir/configure \
25269 --srcdir=$${topdir}/$$module_srcdir \
25270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25271 --target=${target_alias} \
25272 --with-build-libsubdir=$(HOST_SUBDIR) \
25273 $(STAGEfeedback_CONFIGURE_FLAGS)
25274 @endif libdecnumber-bootstrap
25275
25276 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25277 maybe-configure-stageautoprofile-libdecnumber:
25278 @if libdecnumber-bootstrap
25279 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25280 configure-stageautoprofile-libdecnumber:
25281 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25283 @r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25286 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25287 $(HOST_EXPORTS) \
25288 $(POSTSTAGE1_HOST_EXPORTS) \
25289 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25290 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25291 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25292 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25294 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25295 case $(srcdir) in \
25296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25297 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25299 esac; \
25300 module_srcdir=libdecnumber; \
25301 $(SHELL) $$s/$$module_srcdir/configure \
25302 --srcdir=$${topdir}/$$module_srcdir \
25303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25304 --target=${target_alias} \
25305 --with-build-libsubdir=$(HOST_SUBDIR) \
25306 $(STAGEautoprofile_CONFIGURE_FLAGS)
25307 @endif libdecnumber-bootstrap
25308
25309 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25310 maybe-configure-stageautofeedback-libdecnumber:
25311 @if libdecnumber-bootstrap
25312 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25313 configure-stageautofeedback-libdecnumber:
25314 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25318 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25319 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25320 $(HOST_EXPORTS) \
25321 $(POSTSTAGE1_HOST_EXPORTS) \
25322 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25323 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25324 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25325 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25327 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25328 case $(srcdir) in \
25329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25330 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25332 esac; \
25333 module_srcdir=libdecnumber; \
25334 $(SHELL) $$s/$$module_srcdir/configure \
25335 --srcdir=$${topdir}/$$module_srcdir \
25336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25337 --target=${target_alias} \
25338 --with-build-libsubdir=$(HOST_SUBDIR) \
25339 $(STAGEautofeedback_CONFIGURE_FLAGS)
25340 @endif libdecnumber-bootstrap
25341
25342
25343
25344
25345
25346 .PHONY: all-libdecnumber maybe-all-libdecnumber
25347 maybe-all-libdecnumber:
25348 @if gcc-bootstrap
25349 all-libdecnumber: stage_current
25350 @endif gcc-bootstrap
25351 @if libdecnumber
25352 TARGET-libdecnumber=all
25353 maybe-all-libdecnumber: all-libdecnumber
25354 all-libdecnumber: configure-libdecnumber
25355 @r=`${PWD_COMMAND}`; export r; \
25356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 $(HOST_EXPORTS) \
25358 (cd $(HOST_SUBDIR)/libdecnumber && \
25359 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25360 $(TARGET-libdecnumber))
25361 @endif libdecnumber
25362
25363
25364
25365 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25366 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25367 maybe-all-stage1-libdecnumber:
25368 maybe-clean-stage1-libdecnumber:
25369 @if libdecnumber-bootstrap
25370 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25371 all-stage1: all-stage1-libdecnumber
25372 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25373 all-stage1-libdecnumber: configure-stage1-libdecnumber
25374 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25375 @r=`${PWD_COMMAND}`; export r; \
25376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25377 TFLAGS="$(STAGE1_TFLAGS)"; \
25378 $(HOST_EXPORTS) \
25379 cd $(HOST_SUBDIR)/libdecnumber && \
25380 \
25381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25382 CFLAGS="$(STAGE1_CFLAGS)" \
25383 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25384 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25385 LIBCFLAGS="$(LIBCFLAGS)" \
25386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25389 $(EXTRA_HOST_FLAGS) \
25390 $(STAGE1_FLAGS_TO_PASS) \
25391 TFLAGS="$(STAGE1_TFLAGS)" \
25392 $(TARGET-stage1-libdecnumber)
25393
25394 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25395 clean-stage1: clean-stage1-libdecnumber
25396 clean-stage1-libdecnumber:
25397 @if [ $(current_stage) = stage1 ]; then \
25398 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25399 else \
25400 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25401 $(MAKE) stage1-start; \
25402 fi; \
25403 cd $(HOST_SUBDIR)/libdecnumber && \
25404 $(MAKE) $(EXTRA_HOST_FLAGS) \
25405 $(STAGE1_FLAGS_TO_PASS) clean
25406 @endif libdecnumber-bootstrap
25407
25408
25409 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25410 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25411 maybe-all-stage2-libdecnumber:
25412 maybe-clean-stage2-libdecnumber:
25413 @if libdecnumber-bootstrap
25414 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25415 all-stage2: all-stage2-libdecnumber
25416 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25417 all-stage2-libdecnumber: configure-stage2-libdecnumber
25418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25419 @r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 TFLAGS="$(STAGE2_TFLAGS)"; \
25422 $(HOST_EXPORTS) \
25423 $(POSTSTAGE1_HOST_EXPORTS) \
25424 cd $(HOST_SUBDIR)/libdecnumber && \
25425 \
25426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25427 CFLAGS="$(STAGE2_CFLAGS)" \
25428 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25429 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25430 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25435 TFLAGS="$(STAGE2_TFLAGS)" \
25436 $(TARGET-stage2-libdecnumber)
25437
25438 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25439 clean-stage2: clean-stage2-libdecnumber
25440 clean-stage2-libdecnumber:
25441 @if [ $(current_stage) = stage2 ]; then \
25442 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25443 else \
25444 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25445 $(MAKE) stage2-start; \
25446 fi; \
25447 cd $(HOST_SUBDIR)/libdecnumber && \
25448 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25449 @endif libdecnumber-bootstrap
25450
25451
25452 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25453 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25454 maybe-all-stage3-libdecnumber:
25455 maybe-clean-stage3-libdecnumber:
25456 @if libdecnumber-bootstrap
25457 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25458 all-stage3: all-stage3-libdecnumber
25459 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25460 all-stage3-libdecnumber: configure-stage3-libdecnumber
25461 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25462 @r=`${PWD_COMMAND}`; export r; \
25463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25464 TFLAGS="$(STAGE3_TFLAGS)"; \
25465 $(HOST_EXPORTS) \
25466 $(POSTSTAGE1_HOST_EXPORTS) \
25467 cd $(HOST_SUBDIR)/libdecnumber && \
25468 \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25470 CFLAGS="$(STAGE3_CFLAGS)" \
25471 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25472 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25473 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25477 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25478 TFLAGS="$(STAGE3_TFLAGS)" \
25479 $(TARGET-stage3-libdecnumber)
25480
25481 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25482 clean-stage3: clean-stage3-libdecnumber
25483 clean-stage3-libdecnumber:
25484 @if [ $(current_stage) = stage3 ]; then \
25485 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25486 else \
25487 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25488 $(MAKE) stage3-start; \
25489 fi; \
25490 cd $(HOST_SUBDIR)/libdecnumber && \
25491 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25492 @endif libdecnumber-bootstrap
25493
25494
25495 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25496 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25497 maybe-all-stage4-libdecnumber:
25498 maybe-clean-stage4-libdecnumber:
25499 @if libdecnumber-bootstrap
25500 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25501 all-stage4: all-stage4-libdecnumber
25502 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25503 all-stage4-libdecnumber: configure-stage4-libdecnumber
25504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25505 @r=`${PWD_COMMAND}`; export r; \
25506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507 TFLAGS="$(STAGE4_TFLAGS)"; \
25508 $(HOST_EXPORTS) \
25509 $(POSTSTAGE1_HOST_EXPORTS) \
25510 cd $(HOST_SUBDIR)/libdecnumber && \
25511 \
25512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25513 CFLAGS="$(STAGE4_CFLAGS)" \
25514 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25515 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25516 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25520 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25521 TFLAGS="$(STAGE4_TFLAGS)" \
25522 $(TARGET-stage4-libdecnumber)
25523
25524 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25525 clean-stage4: clean-stage4-libdecnumber
25526 clean-stage4-libdecnumber:
25527 @if [ $(current_stage) = stage4 ]; then \
25528 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25529 else \
25530 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25531 $(MAKE) stage4-start; \
25532 fi; \
25533 cd $(HOST_SUBDIR)/libdecnumber && \
25534 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25535 @endif libdecnumber-bootstrap
25536
25537
25538 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25539 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25540 maybe-all-stageprofile-libdecnumber:
25541 maybe-clean-stageprofile-libdecnumber:
25542 @if libdecnumber-bootstrap
25543 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25544 all-stageprofile: all-stageprofile-libdecnumber
25545 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25546 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25547 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25548 @r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25551 $(HOST_EXPORTS) \
25552 $(POSTSTAGE1_HOST_EXPORTS) \
25553 cd $(HOST_SUBDIR)/libdecnumber && \
25554 \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25556 CFLAGS="$(STAGEprofile_CFLAGS)" \
25557 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25558 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25559 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25563 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25564 TFLAGS="$(STAGEprofile_TFLAGS)" \
25565 $(TARGET-stageprofile-libdecnumber)
25566
25567 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25568 clean-stageprofile: clean-stageprofile-libdecnumber
25569 clean-stageprofile-libdecnumber:
25570 @if [ $(current_stage) = stageprofile ]; then \
25571 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25572 else \
25573 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25574 $(MAKE) stageprofile-start; \
25575 fi; \
25576 cd $(HOST_SUBDIR)/libdecnumber && \
25577 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25578 @endif libdecnumber-bootstrap
25579
25580
25581 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25582 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25583 maybe-all-stagetrain-libdecnumber:
25584 maybe-clean-stagetrain-libdecnumber:
25585 @if libdecnumber-bootstrap
25586 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25587 all-stagetrain: all-stagetrain-libdecnumber
25588 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25589 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25590 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25591 @r=`${PWD_COMMAND}`; export r; \
25592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25593 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25594 $(HOST_EXPORTS) \
25595 $(POSTSTAGE1_HOST_EXPORTS) \
25596 cd $(HOST_SUBDIR)/libdecnumber && \
25597 \
25598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25599 CFLAGS="$(STAGEtrain_CFLAGS)" \
25600 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25601 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25602 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25607 TFLAGS="$(STAGEtrain_TFLAGS)" \
25608 $(TARGET-stagetrain-libdecnumber)
25609
25610 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25611 clean-stagetrain: clean-stagetrain-libdecnumber
25612 clean-stagetrain-libdecnumber:
25613 @if [ $(current_stage) = stagetrain ]; then \
25614 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25615 else \
25616 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25617 $(MAKE) stagetrain-start; \
25618 fi; \
25619 cd $(HOST_SUBDIR)/libdecnumber && \
25620 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25621 @endif libdecnumber-bootstrap
25622
25623
25624 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25625 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25626 maybe-all-stagefeedback-libdecnumber:
25627 maybe-clean-stagefeedback-libdecnumber:
25628 @if libdecnumber-bootstrap
25629 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25630 all-stagefeedback: all-stagefeedback-libdecnumber
25631 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25632 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25633 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25634 @r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25637 $(HOST_EXPORTS) \
25638 $(POSTSTAGE1_HOST_EXPORTS) \
25639 cd $(HOST_SUBDIR)/libdecnumber && \
25640 \
25641 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25642 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25643 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25644 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25645 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25650 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25651 $(TARGET-stagefeedback-libdecnumber)
25652
25653 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25654 clean-stagefeedback: clean-stagefeedback-libdecnumber
25655 clean-stagefeedback-libdecnumber:
25656 @if [ $(current_stage) = stagefeedback ]; then \
25657 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25658 else \
25659 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25660 $(MAKE) stagefeedback-start; \
25661 fi; \
25662 cd $(HOST_SUBDIR)/libdecnumber && \
25663 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25664 @endif libdecnumber-bootstrap
25665
25666
25667 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25668 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25669 maybe-all-stageautoprofile-libdecnumber:
25670 maybe-clean-stageautoprofile-libdecnumber:
25671 @if libdecnumber-bootstrap
25672 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25673 all-stageautoprofile: all-stageautoprofile-libdecnumber
25674 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25675 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25676 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25677 @r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25680 $(HOST_EXPORTS) \
25681 $(POSTSTAGE1_HOST_EXPORTS) \
25682 cd $(HOST_SUBDIR)/libdecnumber && \
25683 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25685 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25686 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25687 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25688 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25693 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25694 $(TARGET-stageautoprofile-libdecnumber)
25695
25696 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25697 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25698 clean-stageautoprofile-libdecnumber:
25699 @if [ $(current_stage) = stageautoprofile ]; then \
25700 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25701 else \
25702 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25703 $(MAKE) stageautoprofile-start; \
25704 fi; \
25705 cd $(HOST_SUBDIR)/libdecnumber && \
25706 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25707 @endif libdecnumber-bootstrap
25708
25709
25710 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25711 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25712 maybe-all-stageautofeedback-libdecnumber:
25713 maybe-clean-stageautofeedback-libdecnumber:
25714 @if libdecnumber-bootstrap
25715 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25716 all-stageautofeedback: all-stageautofeedback-libdecnumber
25717 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25718 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25719 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25720 @r=`${PWD_COMMAND}`; export r; \
25721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25722 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25723 $(HOST_EXPORTS) \
25724 $(POSTSTAGE1_HOST_EXPORTS) \
25725 cd $(HOST_SUBDIR)/libdecnumber && \
25726 \
25727 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25728 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25729 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25730 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25731 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25736 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25737 $(TARGET-stageautofeedback-libdecnumber)
25738
25739 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25740 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25741 clean-stageautofeedback-libdecnumber:
25742 @if [ $(current_stage) = stageautofeedback ]; then \
25743 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25744 else \
25745 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25746 $(MAKE) stageautofeedback-start; \
25747 fi; \
25748 cd $(HOST_SUBDIR)/libdecnumber && \
25749 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25750 @endif libdecnumber-bootstrap
25751
25752
25753
25754
25755
25756 .PHONY: check-libdecnumber maybe-check-libdecnumber
25757 maybe-check-libdecnumber:
25758 @if libdecnumber
25759 maybe-check-libdecnumber: check-libdecnumber
25760
25761 check-libdecnumber:
25762 @: $(MAKE); $(unstage)
25763 @r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25766 (cd $(HOST_SUBDIR)/libdecnumber && \
25767 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25768
25769 @endif libdecnumber
25770
25771 .PHONY: install-libdecnumber maybe-install-libdecnumber
25772 maybe-install-libdecnumber:
25773 @if libdecnumber
25774 maybe-install-libdecnumber: install-libdecnumber
25775
25776 install-libdecnumber: installdirs
25777 @: $(MAKE); $(unstage)
25778 @r=`${PWD_COMMAND}`; export r; \
25779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780 $(HOST_EXPORTS) \
25781 (cd $(HOST_SUBDIR)/libdecnumber && \
25782 $(MAKE) $(FLAGS_TO_PASS) install)
25783
25784 @endif libdecnumber
25785
25786 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25787 maybe-install-strip-libdecnumber:
25788 @if libdecnumber
25789 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25790
25791 install-strip-libdecnumber: installdirs
25792 @: $(MAKE); $(unstage)
25793 @r=`${PWD_COMMAND}`; export r; \
25794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25795 $(HOST_EXPORTS) \
25796 (cd $(HOST_SUBDIR)/libdecnumber && \
25797 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25798
25799 @endif libdecnumber
25800
25801 # Other targets (info, dvi, pdf, etc.)
25802
25803 .PHONY: maybe-info-libdecnumber info-libdecnumber
25804 maybe-info-libdecnumber:
25805 @if libdecnumber
25806 maybe-info-libdecnumber: info-libdecnumber
25807
25808 info-libdecnumber: \
25809 configure-libdecnumber
25810 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25811 r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(HOST_EXPORTS) \
25814 for flag in $(EXTRA_HOST_FLAGS) ; do \
25815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25816 done; \
25817 echo "Doing info in libdecnumber"; \
25818 (cd $(HOST_SUBDIR)/libdecnumber && \
25819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25821 "RANLIB=$${RANLIB}" \
25822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25823 info) \
25824 || exit 1
25825
25826 @endif libdecnumber
25827
25828 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25829 maybe-dvi-libdecnumber:
25830 @if libdecnumber
25831 maybe-dvi-libdecnumber: dvi-libdecnumber
25832
25833 dvi-libdecnumber: \
25834 configure-libdecnumber
25835 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25836 r=`${PWD_COMMAND}`; export r; \
25837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(HOST_EXPORTS) \
25839 for flag in $(EXTRA_HOST_FLAGS) ; do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 done; \
25842 echo "Doing dvi in libdecnumber"; \
25843 (cd $(HOST_SUBDIR)/libdecnumber && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25848 dvi) \
25849 || exit 1
25850
25851 @endif libdecnumber
25852
25853 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25854 maybe-pdf-libdecnumber:
25855 @if libdecnumber
25856 maybe-pdf-libdecnumber: pdf-libdecnumber
25857
25858 pdf-libdecnumber: \
25859 configure-libdecnumber
25860 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25861 r=`${PWD_COMMAND}`; export r; \
25862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(HOST_EXPORTS) \
25864 for flag in $(EXTRA_HOST_FLAGS) ; do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 done; \
25867 echo "Doing pdf in libdecnumber"; \
25868 (cd $(HOST_SUBDIR)/libdecnumber && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25873 pdf) \
25874 || exit 1
25875
25876 @endif libdecnumber
25877
25878 .PHONY: maybe-html-libdecnumber html-libdecnumber
25879 maybe-html-libdecnumber:
25880 @if libdecnumber
25881 maybe-html-libdecnumber: html-libdecnumber
25882
25883 html-libdecnumber: \
25884 configure-libdecnumber
25885 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25886 r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(HOST_EXPORTS) \
25889 for flag in $(EXTRA_HOST_FLAGS) ; do \
25890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 done; \
25892 echo "Doing html in libdecnumber"; \
25893 (cd $(HOST_SUBDIR)/libdecnumber && \
25894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896 "RANLIB=$${RANLIB}" \
25897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25898 html) \
25899 || exit 1
25900
25901 @endif libdecnumber
25902
25903 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25904 maybe-TAGS-libdecnumber:
25905 @if libdecnumber
25906 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25907
25908 TAGS-libdecnumber: \
25909 configure-libdecnumber
25910 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25911 r=`${PWD_COMMAND}`; export r; \
25912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25913 $(HOST_EXPORTS) \
25914 for flag in $(EXTRA_HOST_FLAGS) ; do \
25915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916 done; \
25917 echo "Doing TAGS in libdecnumber"; \
25918 (cd $(HOST_SUBDIR)/libdecnumber && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25923 TAGS) \
25924 || exit 1
25925
25926 @endif libdecnumber
25927
25928 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25929 maybe-install-info-libdecnumber:
25930 @if libdecnumber
25931 maybe-install-info-libdecnumber: install-info-libdecnumber
25932
25933 install-info-libdecnumber: \
25934 configure-libdecnumber \
25935 info-libdecnumber
25936 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25937 r=`${PWD_COMMAND}`; export r; \
25938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25939 $(HOST_EXPORTS) \
25940 for flag in $(EXTRA_HOST_FLAGS) ; do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 done; \
25943 echo "Doing install-info in libdecnumber"; \
25944 (cd $(HOST_SUBDIR)/libdecnumber && \
25945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25947 "RANLIB=$${RANLIB}" \
25948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25949 install-info) \
25950 || exit 1
25951
25952 @endif libdecnumber
25953
25954 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25955 maybe-install-pdf-libdecnumber:
25956 @if libdecnumber
25957 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25958
25959 install-pdf-libdecnumber: \
25960 configure-libdecnumber \
25961 pdf-libdecnumber
25962 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(HOST_EXPORTS) \
25966 for flag in $(EXTRA_HOST_FLAGS) ; do \
25967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25968 done; \
25969 echo "Doing install-pdf in libdecnumber"; \
25970 (cd $(HOST_SUBDIR)/libdecnumber && \
25971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25973 "RANLIB=$${RANLIB}" \
25974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25975 install-pdf) \
25976 || exit 1
25977
25978 @endif libdecnumber
25979
25980 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25981 maybe-install-html-libdecnumber:
25982 @if libdecnumber
25983 maybe-install-html-libdecnumber: install-html-libdecnumber
25984
25985 install-html-libdecnumber: \
25986 configure-libdecnumber \
25987 html-libdecnumber
25988 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25989 r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25991 $(HOST_EXPORTS) \
25992 for flag in $(EXTRA_HOST_FLAGS) ; do \
25993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25994 done; \
25995 echo "Doing install-html in libdecnumber"; \
25996 (cd $(HOST_SUBDIR)/libdecnumber && \
25997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25999 "RANLIB=$${RANLIB}" \
26000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26001 install-html) \
26002 || exit 1
26003
26004 @endif libdecnumber
26005
26006 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
26007 maybe-installcheck-libdecnumber:
26008 @if libdecnumber
26009 maybe-installcheck-libdecnumber: installcheck-libdecnumber
26010
26011 installcheck-libdecnumber: \
26012 configure-libdecnumber
26013 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26014 r=`${PWD_COMMAND}`; export r; \
26015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26016 $(HOST_EXPORTS) \
26017 for flag in $(EXTRA_HOST_FLAGS) ; do \
26018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26019 done; \
26020 echo "Doing installcheck in libdecnumber"; \
26021 (cd $(HOST_SUBDIR)/libdecnumber && \
26022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26024 "RANLIB=$${RANLIB}" \
26025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26026 installcheck) \
26027 || exit 1
26028
26029 @endif libdecnumber
26030
26031 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
26032 maybe-mostlyclean-libdecnumber:
26033 @if libdecnumber
26034 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
26035
26036 mostlyclean-libdecnumber:
26037 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26038 r=`${PWD_COMMAND}`; export r; \
26039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26040 $(HOST_EXPORTS) \
26041 for flag in $(EXTRA_HOST_FLAGS) ; do \
26042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26043 done; \
26044 echo "Doing mostlyclean in libdecnumber"; \
26045 (cd $(HOST_SUBDIR)/libdecnumber && \
26046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26048 "RANLIB=$${RANLIB}" \
26049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26050 mostlyclean) \
26051 || exit 1
26052
26053 @endif libdecnumber
26054
26055 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
26056 maybe-clean-libdecnumber:
26057 @if libdecnumber
26058 maybe-clean-libdecnumber: clean-libdecnumber
26059
26060 clean-libdecnumber:
26061 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(HOST_EXPORTS) \
26065 for flag in $(EXTRA_HOST_FLAGS) ; do \
26066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26067 done; \
26068 echo "Doing clean in libdecnumber"; \
26069 (cd $(HOST_SUBDIR)/libdecnumber && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26074 clean) \
26075 || exit 1
26076
26077 @endif libdecnumber
26078
26079 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
26080 maybe-distclean-libdecnumber:
26081 @if libdecnumber
26082 maybe-distclean-libdecnumber: distclean-libdecnumber
26083
26084 distclean-libdecnumber:
26085 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26086 r=`${PWD_COMMAND}`; export r; \
26087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26088 $(HOST_EXPORTS) \
26089 for flag in $(EXTRA_HOST_FLAGS) ; do \
26090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26091 done; \
26092 echo "Doing distclean in libdecnumber"; \
26093 (cd $(HOST_SUBDIR)/libdecnumber && \
26094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26096 "RANLIB=$${RANLIB}" \
26097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26098 distclean) \
26099 || exit 1
26100
26101 @endif libdecnumber
26102
26103 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
26104 maybe-maintainer-clean-libdecnumber:
26105 @if libdecnumber
26106 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
26107
26108 maintainer-clean-libdecnumber:
26109 @[ -f ./libdecnumber/Makefile ] || exit 0; \
26110 r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(HOST_EXPORTS) \
26113 for flag in $(EXTRA_HOST_FLAGS) ; do \
26114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26115 done; \
26116 echo "Doing maintainer-clean in libdecnumber"; \
26117 (cd $(HOST_SUBDIR)/libdecnumber && \
26118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26120 "RANLIB=$${RANLIB}" \
26121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26122 maintainer-clean) \
26123 || exit 1
26124
26125 @endif libdecnumber
26126
26127
26128
26129 .PHONY: configure-libgui maybe-configure-libgui
26130 maybe-configure-libgui:
26131 @if gcc-bootstrap
26132 configure-libgui: stage_current
26133 @endif gcc-bootstrap
26134 @if libgui
26135 maybe-configure-libgui: configure-libgui
26136 configure-libgui:
26137 @: $(MAKE); $(unstage)
26138 @r=`${PWD_COMMAND}`; export r; \
26139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26140 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
26141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
26142 $(HOST_EXPORTS) \
26143 echo Configuring in $(HOST_SUBDIR)/libgui; \
26144 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
26145 case $(srcdir) in \
26146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26147 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
26148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26149 esac; \
26150 module_srcdir=libgui; \
26151 $(SHELL) \
26152 $$s/$$module_srcdir/configure \
26153 --srcdir=$${topdir}/$$module_srcdir \
26154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26155 --target=${target_alias} \
26156 || exit 1
26157 @endif libgui
26158
26159
26160
26161
26162
26163 .PHONY: all-libgui maybe-all-libgui
26164 maybe-all-libgui:
26165 @if gcc-bootstrap
26166 all-libgui: stage_current
26167 @endif gcc-bootstrap
26168 @if libgui
26169 TARGET-libgui=all
26170 maybe-all-libgui: all-libgui
26171 all-libgui: configure-libgui
26172 @: $(MAKE); $(unstage)
26173 @r=`${PWD_COMMAND}`; export r; \
26174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26175 $(HOST_EXPORTS) \
26176 (cd $(HOST_SUBDIR)/libgui && \
26177 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26178 $(TARGET-libgui))
26179 @endif libgui
26180
26181
26182
26183
26184 .PHONY: check-libgui maybe-check-libgui
26185 maybe-check-libgui:
26186 @if libgui
26187 maybe-check-libgui: check-libgui
26188
26189 check-libgui:
26190 @: $(MAKE); $(unstage)
26191 @r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26193 $(HOST_EXPORTS) \
26194 (cd $(HOST_SUBDIR)/libgui && \
26195 $(MAKE) $(FLAGS_TO_PASS) check)
26196
26197 @endif libgui
26198
26199 .PHONY: install-libgui maybe-install-libgui
26200 maybe-install-libgui:
26201 @if libgui
26202 maybe-install-libgui: install-libgui
26203
26204 install-libgui: installdirs
26205 @: $(MAKE); $(unstage)
26206 @r=`${PWD_COMMAND}`; export r; \
26207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26208 $(HOST_EXPORTS) \
26209 (cd $(HOST_SUBDIR)/libgui && \
26210 $(MAKE) $(FLAGS_TO_PASS) install)
26211
26212 @endif libgui
26213
26214 .PHONY: install-strip-libgui maybe-install-strip-libgui
26215 maybe-install-strip-libgui:
26216 @if libgui
26217 maybe-install-strip-libgui: install-strip-libgui
26218
26219 install-strip-libgui: installdirs
26220 @: $(MAKE); $(unstage)
26221 @r=`${PWD_COMMAND}`; export r; \
26222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26223 $(HOST_EXPORTS) \
26224 (cd $(HOST_SUBDIR)/libgui && \
26225 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26226
26227 @endif libgui
26228
26229 # Other targets (info, dvi, pdf, etc.)
26230
26231 .PHONY: maybe-info-libgui info-libgui
26232 maybe-info-libgui:
26233 @if libgui
26234 maybe-info-libgui: info-libgui
26235
26236 info-libgui: \
26237 configure-libgui
26238 @: $(MAKE); $(unstage)
26239 @[ -f ./libgui/Makefile ] || exit 0; \
26240 r=`${PWD_COMMAND}`; export r; \
26241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 $(HOST_EXPORTS) \
26243 for flag in $(EXTRA_HOST_FLAGS) ; do \
26244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26245 done; \
26246 echo "Doing info in libgui"; \
26247 (cd $(HOST_SUBDIR)/libgui && \
26248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26250 "RANLIB=$${RANLIB}" \
26251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26252 info) \
26253 || exit 1
26254
26255 @endif libgui
26256
26257 .PHONY: maybe-dvi-libgui dvi-libgui
26258 maybe-dvi-libgui:
26259 @if libgui
26260 maybe-dvi-libgui: dvi-libgui
26261
26262 dvi-libgui: \
26263 configure-libgui
26264 @: $(MAKE); $(unstage)
26265 @[ -f ./libgui/Makefile ] || exit 0; \
26266 r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(HOST_EXPORTS) \
26269 for flag in $(EXTRA_HOST_FLAGS) ; do \
26270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26271 done; \
26272 echo "Doing dvi in libgui"; \
26273 (cd $(HOST_SUBDIR)/libgui && \
26274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26276 "RANLIB=$${RANLIB}" \
26277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26278 dvi) \
26279 || exit 1
26280
26281 @endif libgui
26282
26283 .PHONY: maybe-pdf-libgui pdf-libgui
26284 maybe-pdf-libgui:
26285 @if libgui
26286 maybe-pdf-libgui: pdf-libgui
26287
26288 pdf-libgui: \
26289 configure-libgui
26290 @: $(MAKE); $(unstage)
26291 @[ -f ./libgui/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(HOST_EXPORTS) \
26295 for flag in $(EXTRA_HOST_FLAGS) ; do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 echo "Doing pdf in libgui"; \
26299 (cd $(HOST_SUBDIR)/libgui && \
26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26302 "RANLIB=$${RANLIB}" \
26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26304 pdf) \
26305 || exit 1
26306
26307 @endif libgui
26308
26309 .PHONY: maybe-html-libgui html-libgui
26310 maybe-html-libgui:
26311 @if libgui
26312 maybe-html-libgui: html-libgui
26313
26314 html-libgui: \
26315 configure-libgui
26316 @: $(MAKE); $(unstage)
26317 @[ -f ./libgui/Makefile ] || exit 0; \
26318 r=`${PWD_COMMAND}`; export r; \
26319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26320 $(HOST_EXPORTS) \
26321 for flag in $(EXTRA_HOST_FLAGS) ; do \
26322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26323 done; \
26324 echo "Doing html in libgui"; \
26325 (cd $(HOST_SUBDIR)/libgui && \
26326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26328 "RANLIB=$${RANLIB}" \
26329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26330 html) \
26331 || exit 1
26332
26333 @endif libgui
26334
26335 .PHONY: maybe-TAGS-libgui TAGS-libgui
26336 maybe-TAGS-libgui:
26337 @if libgui
26338 maybe-TAGS-libgui: TAGS-libgui
26339
26340 TAGS-libgui: \
26341 configure-libgui
26342 @: $(MAKE); $(unstage)
26343 @[ -f ./libgui/Makefile ] || exit 0; \
26344 r=`${PWD_COMMAND}`; export r; \
26345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26346 $(HOST_EXPORTS) \
26347 for flag in $(EXTRA_HOST_FLAGS) ; do \
26348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26349 done; \
26350 echo "Doing TAGS in libgui"; \
26351 (cd $(HOST_SUBDIR)/libgui && \
26352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26354 "RANLIB=$${RANLIB}" \
26355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26356 TAGS) \
26357 || exit 1
26358
26359 @endif libgui
26360
26361 .PHONY: maybe-install-info-libgui install-info-libgui
26362 maybe-install-info-libgui:
26363 @if libgui
26364 maybe-install-info-libgui: install-info-libgui
26365
26366 install-info-libgui: \
26367 configure-libgui \
26368 info-libgui
26369 @: $(MAKE); $(unstage)
26370 @[ -f ./libgui/Makefile ] || exit 0; \
26371 r=`${PWD_COMMAND}`; export r; \
26372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26373 $(HOST_EXPORTS) \
26374 for flag in $(EXTRA_HOST_FLAGS) ; do \
26375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26376 done; \
26377 echo "Doing install-info in libgui"; \
26378 (cd $(HOST_SUBDIR)/libgui && \
26379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26381 "RANLIB=$${RANLIB}" \
26382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26383 install-info) \
26384 || exit 1
26385
26386 @endif libgui
26387
26388 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26389 maybe-install-pdf-libgui:
26390 @if libgui
26391 maybe-install-pdf-libgui: install-pdf-libgui
26392
26393 install-pdf-libgui: \
26394 configure-libgui \
26395 pdf-libgui
26396 @: $(MAKE); $(unstage)
26397 @[ -f ./libgui/Makefile ] || exit 0; \
26398 r=`${PWD_COMMAND}`; export r; \
26399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26400 $(HOST_EXPORTS) \
26401 for flag in $(EXTRA_HOST_FLAGS) ; do \
26402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26403 done; \
26404 echo "Doing install-pdf in libgui"; \
26405 (cd $(HOST_SUBDIR)/libgui && \
26406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26408 "RANLIB=$${RANLIB}" \
26409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26410 install-pdf) \
26411 || exit 1
26412
26413 @endif libgui
26414
26415 .PHONY: maybe-install-html-libgui install-html-libgui
26416 maybe-install-html-libgui:
26417 @if libgui
26418 maybe-install-html-libgui: install-html-libgui
26419
26420 install-html-libgui: \
26421 configure-libgui \
26422 html-libgui
26423 @: $(MAKE); $(unstage)
26424 @[ -f ./libgui/Makefile ] || exit 0; \
26425 r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 $(HOST_EXPORTS) \
26428 for flag in $(EXTRA_HOST_FLAGS) ; do \
26429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26430 done; \
26431 echo "Doing install-html in libgui"; \
26432 (cd $(HOST_SUBDIR)/libgui && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26435 "RANLIB=$${RANLIB}" \
26436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26437 install-html) \
26438 || exit 1
26439
26440 @endif libgui
26441
26442 .PHONY: maybe-installcheck-libgui installcheck-libgui
26443 maybe-installcheck-libgui:
26444 @if libgui
26445 maybe-installcheck-libgui: installcheck-libgui
26446
26447 installcheck-libgui: \
26448 configure-libgui
26449 @: $(MAKE); $(unstage)
26450 @[ -f ./libgui/Makefile ] || exit 0; \
26451 r=`${PWD_COMMAND}`; export r; \
26452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 $(HOST_EXPORTS) \
26454 for flag in $(EXTRA_HOST_FLAGS) ; do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26456 done; \
26457 echo "Doing installcheck in libgui"; \
26458 (cd $(HOST_SUBDIR)/libgui && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26463 installcheck) \
26464 || exit 1
26465
26466 @endif libgui
26467
26468 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26469 maybe-mostlyclean-libgui:
26470 @if libgui
26471 maybe-mostlyclean-libgui: mostlyclean-libgui
26472
26473 mostlyclean-libgui:
26474 @: $(MAKE); $(unstage)
26475 @[ -f ./libgui/Makefile ] || exit 0; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(HOST_EXPORTS) \
26479 for flag in $(EXTRA_HOST_FLAGS) ; do \
26480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26481 done; \
26482 echo "Doing mostlyclean in libgui"; \
26483 (cd $(HOST_SUBDIR)/libgui && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26488 mostlyclean) \
26489 || exit 1
26490
26491 @endif libgui
26492
26493 .PHONY: maybe-clean-libgui clean-libgui
26494 maybe-clean-libgui:
26495 @if libgui
26496 maybe-clean-libgui: clean-libgui
26497
26498 clean-libgui:
26499 @: $(MAKE); $(unstage)
26500 @[ -f ./libgui/Makefile ] || exit 0; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(HOST_EXPORTS) \
26504 for flag in $(EXTRA_HOST_FLAGS) ; do \
26505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26506 done; \
26507 echo "Doing clean in libgui"; \
26508 (cd $(HOST_SUBDIR)/libgui && \
26509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511 "RANLIB=$${RANLIB}" \
26512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26513 clean) \
26514 || exit 1
26515
26516 @endif libgui
26517
26518 .PHONY: maybe-distclean-libgui distclean-libgui
26519 maybe-distclean-libgui:
26520 @if libgui
26521 maybe-distclean-libgui: distclean-libgui
26522
26523 distclean-libgui:
26524 @: $(MAKE); $(unstage)
26525 @[ -f ./libgui/Makefile ] || exit 0; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(HOST_EXPORTS) \
26529 for flag in $(EXTRA_HOST_FLAGS) ; do \
26530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26531 done; \
26532 echo "Doing distclean in libgui"; \
26533 (cd $(HOST_SUBDIR)/libgui && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26538 distclean) \
26539 || exit 1
26540
26541 @endif libgui
26542
26543 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26544 maybe-maintainer-clean-libgui:
26545 @if libgui
26546 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26547
26548 maintainer-clean-libgui:
26549 @: $(MAKE); $(unstage)
26550 @[ -f ./libgui/Makefile ] || exit 0; \
26551 r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(HOST_EXPORTS) \
26554 for flag in $(EXTRA_HOST_FLAGS) ; do \
26555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26556 done; \
26557 echo "Doing maintainer-clean in libgui"; \
26558 (cd $(HOST_SUBDIR)/libgui && \
26559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26561 "RANLIB=$${RANLIB}" \
26562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26563 maintainer-clean) \
26564 || exit 1
26565
26566 @endif libgui
26567
26568
26569
26570 .PHONY: configure-libiberty maybe-configure-libiberty
26571 maybe-configure-libiberty:
26572 @if gcc-bootstrap
26573 configure-libiberty: stage_current
26574 @endif gcc-bootstrap
26575 @if libiberty
26576 maybe-configure-libiberty: configure-libiberty
26577 configure-libiberty:
26578 @r=`${PWD_COMMAND}`; export r; \
26579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26582 $(HOST_EXPORTS) \
26583 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26584 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26585 case $(srcdir) in \
26586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26587 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26589 esac; \
26590 module_srcdir=libiberty; \
26591 $(SHELL) \
26592 $$s/$$module_srcdir/configure \
26593 --srcdir=$${topdir}/$$module_srcdir \
26594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26595 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26596 || exit 1
26597 @endif libiberty
26598
26599
26600
26601 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26602 maybe-configure-stage1-libiberty:
26603 @if libiberty-bootstrap
26604 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26605 configure-stage1-libiberty:
26606 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26608 @r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26610 TFLAGS="$(STAGE1_TFLAGS)"; \
26611 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26612 $(HOST_EXPORTS) \
26613 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26614 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26615 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26616 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26618 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26619 case $(srcdir) in \
26620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26621 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26623 esac; \
26624 module_srcdir=libiberty; \
26625 $(SHELL) $$s/$$module_srcdir/configure \
26626 --srcdir=$${topdir}/$$module_srcdir \
26627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26628 --target=${target_alias} \
26629 \
26630 $(STAGE1_CONFIGURE_FLAGS) \
26631 @extra_host_libiberty_configure_flags@
26632 @endif libiberty-bootstrap
26633
26634 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26635 maybe-configure-stage2-libiberty:
26636 @if libiberty-bootstrap
26637 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26638 configure-stage2-libiberty:
26639 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26641 @r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643 TFLAGS="$(STAGE2_TFLAGS)"; \
26644 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26645 $(HOST_EXPORTS) \
26646 $(POSTSTAGE1_HOST_EXPORTS) \
26647 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26648 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26649 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26650 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26652 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26653 case $(srcdir) in \
26654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26655 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26657 esac; \
26658 module_srcdir=libiberty; \
26659 $(SHELL) $$s/$$module_srcdir/configure \
26660 --srcdir=$${topdir}/$$module_srcdir \
26661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26662 --target=${target_alias} \
26663 --with-build-libsubdir=$(HOST_SUBDIR) \
26664 $(STAGE2_CONFIGURE_FLAGS) \
26665 @extra_host_libiberty_configure_flags@
26666 @endif libiberty-bootstrap
26667
26668 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26669 maybe-configure-stage3-libiberty:
26670 @if libiberty-bootstrap
26671 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26672 configure-stage3-libiberty:
26673 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26675 @r=`${PWD_COMMAND}`; export r; \
26676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26677 TFLAGS="$(STAGE3_TFLAGS)"; \
26678 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26679 $(HOST_EXPORTS) \
26680 $(POSTSTAGE1_HOST_EXPORTS) \
26681 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26682 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26683 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26684 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26686 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26687 case $(srcdir) in \
26688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26689 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26691 esac; \
26692 module_srcdir=libiberty; \
26693 $(SHELL) $$s/$$module_srcdir/configure \
26694 --srcdir=$${topdir}/$$module_srcdir \
26695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26696 --target=${target_alias} \
26697 --with-build-libsubdir=$(HOST_SUBDIR) \
26698 $(STAGE3_CONFIGURE_FLAGS) \
26699 @extra_host_libiberty_configure_flags@
26700 @endif libiberty-bootstrap
26701
26702 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26703 maybe-configure-stage4-libiberty:
26704 @if libiberty-bootstrap
26705 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26706 configure-stage4-libiberty:
26707 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26709 @r=`${PWD_COMMAND}`; export r; \
26710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26711 TFLAGS="$(STAGE4_TFLAGS)"; \
26712 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26713 $(HOST_EXPORTS) \
26714 $(POSTSTAGE1_HOST_EXPORTS) \
26715 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26716 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26717 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26718 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26720 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26721 case $(srcdir) in \
26722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26723 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26725 esac; \
26726 module_srcdir=libiberty; \
26727 $(SHELL) $$s/$$module_srcdir/configure \
26728 --srcdir=$${topdir}/$$module_srcdir \
26729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26730 --target=${target_alias} \
26731 --with-build-libsubdir=$(HOST_SUBDIR) \
26732 $(STAGE4_CONFIGURE_FLAGS) \
26733 @extra_host_libiberty_configure_flags@
26734 @endif libiberty-bootstrap
26735
26736 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26737 maybe-configure-stageprofile-libiberty:
26738 @if libiberty-bootstrap
26739 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26740 configure-stageprofile-libiberty:
26741 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26742 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26743 @r=`${PWD_COMMAND}`; export r; \
26744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26746 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26747 $(HOST_EXPORTS) \
26748 $(POSTSTAGE1_HOST_EXPORTS) \
26749 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26750 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26751 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26752 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26753 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26754 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26755 case $(srcdir) in \
26756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26757 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26759 esac; \
26760 module_srcdir=libiberty; \
26761 $(SHELL) $$s/$$module_srcdir/configure \
26762 --srcdir=$${topdir}/$$module_srcdir \
26763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26764 --target=${target_alias} \
26765 --with-build-libsubdir=$(HOST_SUBDIR) \
26766 $(STAGEprofile_CONFIGURE_FLAGS) \
26767 @extra_host_libiberty_configure_flags@
26768 @endif libiberty-bootstrap
26769
26770 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26771 maybe-configure-stagetrain-libiberty:
26772 @if libiberty-bootstrap
26773 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26774 configure-stagetrain-libiberty:
26775 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26777 @r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26780 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26781 $(HOST_EXPORTS) \
26782 $(POSTSTAGE1_HOST_EXPORTS) \
26783 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26784 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26785 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26786 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26788 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26789 case $(srcdir) in \
26790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26791 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26793 esac; \
26794 module_srcdir=libiberty; \
26795 $(SHELL) $$s/$$module_srcdir/configure \
26796 --srcdir=$${topdir}/$$module_srcdir \
26797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26798 --target=${target_alias} \
26799 --with-build-libsubdir=$(HOST_SUBDIR) \
26800 $(STAGEtrain_CONFIGURE_FLAGS) \
26801 @extra_host_libiberty_configure_flags@
26802 @endif libiberty-bootstrap
26803
26804 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26805 maybe-configure-stagefeedback-libiberty:
26806 @if libiberty-bootstrap
26807 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26808 configure-stagefeedback-libiberty:
26809 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26811 @r=`${PWD_COMMAND}`; export r; \
26812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26813 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26814 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26815 $(HOST_EXPORTS) \
26816 $(POSTSTAGE1_HOST_EXPORTS) \
26817 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26818 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26819 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26820 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26822 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26823 case $(srcdir) in \
26824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26825 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26827 esac; \
26828 module_srcdir=libiberty; \
26829 $(SHELL) $$s/$$module_srcdir/configure \
26830 --srcdir=$${topdir}/$$module_srcdir \
26831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26832 --target=${target_alias} \
26833 --with-build-libsubdir=$(HOST_SUBDIR) \
26834 $(STAGEfeedback_CONFIGURE_FLAGS) \
26835 @extra_host_libiberty_configure_flags@
26836 @endif libiberty-bootstrap
26837
26838 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26839 maybe-configure-stageautoprofile-libiberty:
26840 @if libiberty-bootstrap
26841 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26842 configure-stageautoprofile-libiberty:
26843 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26845 @r=`${PWD_COMMAND}`; export r; \
26846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26847 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26848 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26849 $(HOST_EXPORTS) \
26850 $(POSTSTAGE1_HOST_EXPORTS) \
26851 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26852 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26853 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26854 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26856 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26857 case $(srcdir) in \
26858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26859 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26861 esac; \
26862 module_srcdir=libiberty; \
26863 $(SHELL) $$s/$$module_srcdir/configure \
26864 --srcdir=$${topdir}/$$module_srcdir \
26865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26866 --target=${target_alias} \
26867 --with-build-libsubdir=$(HOST_SUBDIR) \
26868 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26869 @extra_host_libiberty_configure_flags@
26870 @endif libiberty-bootstrap
26871
26872 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26873 maybe-configure-stageautofeedback-libiberty:
26874 @if libiberty-bootstrap
26875 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26876 configure-stageautofeedback-libiberty:
26877 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26879 @r=`${PWD_COMMAND}`; export r; \
26880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26881 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26882 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26883 $(HOST_EXPORTS) \
26884 $(POSTSTAGE1_HOST_EXPORTS) \
26885 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26886 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26887 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26888 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26890 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26891 case $(srcdir) in \
26892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26893 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26895 esac; \
26896 module_srcdir=libiberty; \
26897 $(SHELL) $$s/$$module_srcdir/configure \
26898 --srcdir=$${topdir}/$$module_srcdir \
26899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26900 --target=${target_alias} \
26901 --with-build-libsubdir=$(HOST_SUBDIR) \
26902 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26903 @extra_host_libiberty_configure_flags@
26904 @endif libiberty-bootstrap
26905
26906
26907
26908
26909
26910 .PHONY: all-libiberty maybe-all-libiberty
26911 maybe-all-libiberty:
26912 @if gcc-bootstrap
26913 all-libiberty: stage_current
26914 @endif gcc-bootstrap
26915 @if libiberty
26916 TARGET-libiberty=all
26917 maybe-all-libiberty: all-libiberty
26918 all-libiberty: configure-libiberty
26919 @r=`${PWD_COMMAND}`; export r; \
26920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26921 $(HOST_EXPORTS) \
26922 (cd $(HOST_SUBDIR)/libiberty && \
26923 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26924 $(TARGET-libiberty))
26925 @endif libiberty
26926
26927
26928
26929 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26930 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26931 maybe-all-stage1-libiberty:
26932 maybe-clean-stage1-libiberty:
26933 @if libiberty-bootstrap
26934 maybe-all-stage1-libiberty: all-stage1-libiberty
26935 all-stage1: all-stage1-libiberty
26936 TARGET-stage1-libiberty = $(TARGET-libiberty)
26937 all-stage1-libiberty: configure-stage1-libiberty
26938 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26939 @r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 TFLAGS="$(STAGE1_TFLAGS)"; \
26942 $(HOST_EXPORTS) \
26943 cd $(HOST_SUBDIR)/libiberty && \
26944 \
26945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26946 CFLAGS="$(STAGE1_CFLAGS)" \
26947 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26948 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26949 LIBCFLAGS="$(LIBCFLAGS)" \
26950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26953 $(EXTRA_HOST_FLAGS) \
26954 $(STAGE1_FLAGS_TO_PASS) \
26955 TFLAGS="$(STAGE1_TFLAGS)" \
26956 $(TARGET-stage1-libiberty)
26957
26958 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26959 clean-stage1: clean-stage1-libiberty
26960 clean-stage1-libiberty:
26961 @if [ $(current_stage) = stage1 ]; then \
26962 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26963 else \
26964 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26965 $(MAKE) stage1-start; \
26966 fi; \
26967 cd $(HOST_SUBDIR)/libiberty && \
26968 $(MAKE) $(EXTRA_HOST_FLAGS) \
26969 $(STAGE1_FLAGS_TO_PASS) clean
26970 @endif libiberty-bootstrap
26971
26972
26973 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26974 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26975 maybe-all-stage2-libiberty:
26976 maybe-clean-stage2-libiberty:
26977 @if libiberty-bootstrap
26978 maybe-all-stage2-libiberty: all-stage2-libiberty
26979 all-stage2: all-stage2-libiberty
26980 TARGET-stage2-libiberty = $(TARGET-libiberty)
26981 all-stage2-libiberty: configure-stage2-libiberty
26982 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26983 @r=`${PWD_COMMAND}`; export r; \
26984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 TFLAGS="$(STAGE2_TFLAGS)"; \
26986 $(HOST_EXPORTS) \
26987 $(POSTSTAGE1_HOST_EXPORTS) \
26988 cd $(HOST_SUBDIR)/libiberty && \
26989 \
26990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26991 CFLAGS="$(STAGE2_CFLAGS)" \
26992 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26993 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26994 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26998 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26999 TFLAGS="$(STAGE2_TFLAGS)" \
27000 $(TARGET-stage2-libiberty)
27001
27002 maybe-clean-stage2-libiberty: clean-stage2-libiberty
27003 clean-stage2: clean-stage2-libiberty
27004 clean-stage2-libiberty:
27005 @if [ $(current_stage) = stage2 ]; then \
27006 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27007 else \
27008 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
27009 $(MAKE) stage2-start; \
27010 fi; \
27011 cd $(HOST_SUBDIR)/libiberty && \
27012 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27013 @endif libiberty-bootstrap
27014
27015
27016 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
27017 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
27018 maybe-all-stage3-libiberty:
27019 maybe-clean-stage3-libiberty:
27020 @if libiberty-bootstrap
27021 maybe-all-stage3-libiberty: all-stage3-libiberty
27022 all-stage3: all-stage3-libiberty
27023 TARGET-stage3-libiberty = $(TARGET-libiberty)
27024 all-stage3-libiberty: configure-stage3-libiberty
27025 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27026 @r=`${PWD_COMMAND}`; export r; \
27027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27028 TFLAGS="$(STAGE3_TFLAGS)"; \
27029 $(HOST_EXPORTS) \
27030 $(POSTSTAGE1_HOST_EXPORTS) \
27031 cd $(HOST_SUBDIR)/libiberty && \
27032 \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27034 CFLAGS="$(STAGE3_CFLAGS)" \
27035 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27036 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27037 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27038 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27039 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27040 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27041 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27042 TFLAGS="$(STAGE3_TFLAGS)" \
27043 $(TARGET-stage3-libiberty)
27044
27045 maybe-clean-stage3-libiberty: clean-stage3-libiberty
27046 clean-stage3: clean-stage3-libiberty
27047 clean-stage3-libiberty:
27048 @if [ $(current_stage) = stage3 ]; then \
27049 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27050 else \
27051 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
27052 $(MAKE) stage3-start; \
27053 fi; \
27054 cd $(HOST_SUBDIR)/libiberty && \
27055 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27056 @endif libiberty-bootstrap
27057
27058
27059 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
27060 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
27061 maybe-all-stage4-libiberty:
27062 maybe-clean-stage4-libiberty:
27063 @if libiberty-bootstrap
27064 maybe-all-stage4-libiberty: all-stage4-libiberty
27065 all-stage4: all-stage4-libiberty
27066 TARGET-stage4-libiberty = $(TARGET-libiberty)
27067 all-stage4-libiberty: configure-stage4-libiberty
27068 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27069 @r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 TFLAGS="$(STAGE4_TFLAGS)"; \
27072 $(HOST_EXPORTS) \
27073 $(POSTSTAGE1_HOST_EXPORTS) \
27074 cd $(HOST_SUBDIR)/libiberty && \
27075 \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27077 CFLAGS="$(STAGE4_CFLAGS)" \
27078 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27079 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27080 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27085 TFLAGS="$(STAGE4_TFLAGS)" \
27086 $(TARGET-stage4-libiberty)
27087
27088 maybe-clean-stage4-libiberty: clean-stage4-libiberty
27089 clean-stage4: clean-stage4-libiberty
27090 clean-stage4-libiberty:
27091 @if [ $(current_stage) = stage4 ]; then \
27092 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27093 else \
27094 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
27095 $(MAKE) stage4-start; \
27096 fi; \
27097 cd $(HOST_SUBDIR)/libiberty && \
27098 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27099 @endif libiberty-bootstrap
27100
27101
27102 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
27103 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
27104 maybe-all-stageprofile-libiberty:
27105 maybe-clean-stageprofile-libiberty:
27106 @if libiberty-bootstrap
27107 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
27108 all-stageprofile: all-stageprofile-libiberty
27109 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
27110 all-stageprofile-libiberty: configure-stageprofile-libiberty
27111 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27112 @r=`${PWD_COMMAND}`; export r; \
27113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27114 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27115 $(HOST_EXPORTS) \
27116 $(POSTSTAGE1_HOST_EXPORTS) \
27117 cd $(HOST_SUBDIR)/libiberty && \
27118 \
27119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27120 CFLAGS="$(STAGEprofile_CFLAGS)" \
27121 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27122 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27123 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27128 TFLAGS="$(STAGEprofile_TFLAGS)" \
27129 $(TARGET-stageprofile-libiberty)
27130
27131 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
27132 clean-stageprofile: clean-stageprofile-libiberty
27133 clean-stageprofile-libiberty:
27134 @if [ $(current_stage) = stageprofile ]; then \
27135 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27136 else \
27137 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
27138 $(MAKE) stageprofile-start; \
27139 fi; \
27140 cd $(HOST_SUBDIR)/libiberty && \
27141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27142 @endif libiberty-bootstrap
27143
27144
27145 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
27146 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
27147 maybe-all-stagetrain-libiberty:
27148 maybe-clean-stagetrain-libiberty:
27149 @if libiberty-bootstrap
27150 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
27151 all-stagetrain: all-stagetrain-libiberty
27152 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
27153 all-stagetrain-libiberty: configure-stagetrain-libiberty
27154 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27155 @r=`${PWD_COMMAND}`; export r; \
27156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27158 $(HOST_EXPORTS) \
27159 $(POSTSTAGE1_HOST_EXPORTS) \
27160 cd $(HOST_SUBDIR)/libiberty && \
27161 \
27162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27163 CFLAGS="$(STAGEtrain_CFLAGS)" \
27164 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27165 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27166 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27170 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27171 TFLAGS="$(STAGEtrain_TFLAGS)" \
27172 $(TARGET-stagetrain-libiberty)
27173
27174 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
27175 clean-stagetrain: clean-stagetrain-libiberty
27176 clean-stagetrain-libiberty:
27177 @if [ $(current_stage) = stagetrain ]; then \
27178 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27179 else \
27180 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
27181 $(MAKE) stagetrain-start; \
27182 fi; \
27183 cd $(HOST_SUBDIR)/libiberty && \
27184 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27185 @endif libiberty-bootstrap
27186
27187
27188 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
27189 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
27190 maybe-all-stagefeedback-libiberty:
27191 maybe-clean-stagefeedback-libiberty:
27192 @if libiberty-bootstrap
27193 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
27194 all-stagefeedback: all-stagefeedback-libiberty
27195 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
27196 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
27197 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27198 @r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27201 $(HOST_EXPORTS) \
27202 $(POSTSTAGE1_HOST_EXPORTS) \
27203 cd $(HOST_SUBDIR)/libiberty && \
27204 \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27206 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27207 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27208 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27209 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27213 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27214 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27215 $(TARGET-stagefeedback-libiberty)
27216
27217 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27218 clean-stagefeedback: clean-stagefeedback-libiberty
27219 clean-stagefeedback-libiberty:
27220 @if [ $(current_stage) = stagefeedback ]; then \
27221 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27222 else \
27223 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27224 $(MAKE) stagefeedback-start; \
27225 fi; \
27226 cd $(HOST_SUBDIR)/libiberty && \
27227 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27228 @endif libiberty-bootstrap
27229
27230
27231 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27232 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27233 maybe-all-stageautoprofile-libiberty:
27234 maybe-clean-stageautoprofile-libiberty:
27235 @if libiberty-bootstrap
27236 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27237 all-stageautoprofile: all-stageautoprofile-libiberty
27238 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27239 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27240 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27241 @r=`${PWD_COMMAND}`; export r; \
27242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27243 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27244 $(HOST_EXPORTS) \
27245 $(POSTSTAGE1_HOST_EXPORTS) \
27246 cd $(HOST_SUBDIR)/libiberty && \
27247 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27249 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27250 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27251 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27252 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27257 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27258 $(TARGET-stageautoprofile-libiberty)
27259
27260 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27261 clean-stageautoprofile: clean-stageautoprofile-libiberty
27262 clean-stageautoprofile-libiberty:
27263 @if [ $(current_stage) = stageautoprofile ]; then \
27264 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27265 else \
27266 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27267 $(MAKE) stageautoprofile-start; \
27268 fi; \
27269 cd $(HOST_SUBDIR)/libiberty && \
27270 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27271 @endif libiberty-bootstrap
27272
27273
27274 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27275 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27276 maybe-all-stageautofeedback-libiberty:
27277 maybe-clean-stageautofeedback-libiberty:
27278 @if libiberty-bootstrap
27279 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27280 all-stageautofeedback: all-stageautofeedback-libiberty
27281 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27282 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27283 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27284 @r=`${PWD_COMMAND}`; export r; \
27285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27286 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27287 $(HOST_EXPORTS) \
27288 $(POSTSTAGE1_HOST_EXPORTS) \
27289 cd $(HOST_SUBDIR)/libiberty && \
27290 \
27291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27292 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27293 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27294 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27295 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27296 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27297 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27298 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27299 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27300 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27301 $(TARGET-stageautofeedback-libiberty)
27302
27303 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27304 clean-stageautofeedback: clean-stageautofeedback-libiberty
27305 clean-stageautofeedback-libiberty:
27306 @if [ $(current_stage) = stageautofeedback ]; then \
27307 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27308 else \
27309 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27310 $(MAKE) stageautofeedback-start; \
27311 fi; \
27312 cd $(HOST_SUBDIR)/libiberty && \
27313 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27314 @endif libiberty-bootstrap
27315
27316
27317
27318
27319
27320 .PHONY: check-libiberty maybe-check-libiberty
27321 maybe-check-libiberty:
27322 @if libiberty
27323 maybe-check-libiberty: check-libiberty
27324
27325 check-libiberty:
27326 @: $(MAKE); $(unstage)
27327 @r=`${PWD_COMMAND}`; export r; \
27328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27329 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27330 (cd $(HOST_SUBDIR)/libiberty && \
27331 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27332
27333 @endif libiberty
27334
27335 .PHONY: install-libiberty maybe-install-libiberty
27336 maybe-install-libiberty:
27337 @if libiberty
27338 maybe-install-libiberty: install-libiberty
27339
27340 install-libiberty: installdirs
27341 @: $(MAKE); $(unstage)
27342 @r=`${PWD_COMMAND}`; export r; \
27343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27344 $(HOST_EXPORTS) \
27345 (cd $(HOST_SUBDIR)/libiberty && \
27346 $(MAKE) $(FLAGS_TO_PASS) install)
27347
27348 @endif libiberty
27349
27350 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27351 maybe-install-strip-libiberty:
27352 @if libiberty
27353 maybe-install-strip-libiberty: install-strip-libiberty
27354
27355 install-strip-libiberty: installdirs
27356 @: $(MAKE); $(unstage)
27357 @r=`${PWD_COMMAND}`; export r; \
27358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27359 $(HOST_EXPORTS) \
27360 (cd $(HOST_SUBDIR)/libiberty && \
27361 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27362
27363 @endif libiberty
27364
27365 # Other targets (info, dvi, pdf, etc.)
27366
27367 .PHONY: maybe-info-libiberty info-libiberty
27368 maybe-info-libiberty:
27369 @if libiberty
27370 maybe-info-libiberty: info-libiberty
27371
27372 info-libiberty: \
27373 configure-libiberty
27374 @[ -f ./libiberty/Makefile ] || exit 0; \
27375 r=`${PWD_COMMAND}`; export r; \
27376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27377 $(HOST_EXPORTS) \
27378 for flag in $(EXTRA_HOST_FLAGS) ; do \
27379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27380 done; \
27381 echo "Doing info in libiberty"; \
27382 (cd $(HOST_SUBDIR)/libiberty && \
27383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27385 "RANLIB=$${RANLIB}" \
27386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27387 info) \
27388 || exit 1
27389
27390 @endif libiberty
27391
27392 .PHONY: maybe-dvi-libiberty dvi-libiberty
27393 maybe-dvi-libiberty:
27394 @if libiberty
27395 maybe-dvi-libiberty: dvi-libiberty
27396
27397 dvi-libiberty: \
27398 configure-libiberty
27399 @[ -f ./libiberty/Makefile ] || exit 0; \
27400 r=`${PWD_COMMAND}`; export r; \
27401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27402 $(HOST_EXPORTS) \
27403 for flag in $(EXTRA_HOST_FLAGS) ; do \
27404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27405 done; \
27406 echo "Doing dvi in libiberty"; \
27407 (cd $(HOST_SUBDIR)/libiberty && \
27408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27410 "RANLIB=$${RANLIB}" \
27411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27412 dvi) \
27413 || exit 1
27414
27415 @endif libiberty
27416
27417 .PHONY: maybe-pdf-libiberty pdf-libiberty
27418 maybe-pdf-libiberty:
27419 @if libiberty
27420 maybe-pdf-libiberty: pdf-libiberty
27421
27422 pdf-libiberty: \
27423 configure-libiberty
27424 @[ -f ./libiberty/Makefile ] || exit 0; \
27425 r=`${PWD_COMMAND}`; export r; \
27426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27427 $(HOST_EXPORTS) \
27428 for flag in $(EXTRA_HOST_FLAGS) ; do \
27429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27430 done; \
27431 echo "Doing pdf in libiberty"; \
27432 (cd $(HOST_SUBDIR)/libiberty && \
27433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27435 "RANLIB=$${RANLIB}" \
27436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27437 pdf) \
27438 || exit 1
27439
27440 @endif libiberty
27441
27442 .PHONY: maybe-html-libiberty html-libiberty
27443 maybe-html-libiberty:
27444 @if libiberty
27445 maybe-html-libiberty: html-libiberty
27446
27447 html-libiberty: \
27448 configure-libiberty
27449 @[ -f ./libiberty/Makefile ] || exit 0; \
27450 r=`${PWD_COMMAND}`; export r; \
27451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27452 $(HOST_EXPORTS) \
27453 for flag in $(EXTRA_HOST_FLAGS) ; do \
27454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27455 done; \
27456 echo "Doing html in libiberty"; \
27457 (cd $(HOST_SUBDIR)/libiberty && \
27458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27460 "RANLIB=$${RANLIB}" \
27461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27462 html) \
27463 || exit 1
27464
27465 @endif libiberty
27466
27467 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27468 maybe-TAGS-libiberty:
27469 @if libiberty
27470 maybe-TAGS-libiberty: TAGS-libiberty
27471
27472 TAGS-libiberty: \
27473 configure-libiberty
27474 @[ -f ./libiberty/Makefile ] || exit 0; \
27475 r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 $(HOST_EXPORTS) \
27478 for flag in $(EXTRA_HOST_FLAGS) ; do \
27479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27480 done; \
27481 echo "Doing TAGS in libiberty"; \
27482 (cd $(HOST_SUBDIR)/libiberty && \
27483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27485 "RANLIB=$${RANLIB}" \
27486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27487 TAGS) \
27488 || exit 1
27489
27490 @endif libiberty
27491
27492 .PHONY: maybe-install-info-libiberty install-info-libiberty
27493 maybe-install-info-libiberty:
27494 @if libiberty
27495 maybe-install-info-libiberty: install-info-libiberty
27496
27497 install-info-libiberty: \
27498 configure-libiberty \
27499 info-libiberty
27500 @[ -f ./libiberty/Makefile ] || exit 0; \
27501 r=`${PWD_COMMAND}`; export r; \
27502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27503 $(HOST_EXPORTS) \
27504 for flag in $(EXTRA_HOST_FLAGS) ; do \
27505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27506 done; \
27507 echo "Doing install-info in libiberty"; \
27508 (cd $(HOST_SUBDIR)/libiberty && \
27509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27511 "RANLIB=$${RANLIB}" \
27512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27513 install-info) \
27514 || exit 1
27515
27516 @endif libiberty
27517
27518 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27519 maybe-install-pdf-libiberty:
27520 @if libiberty
27521 maybe-install-pdf-libiberty: install-pdf-libiberty
27522
27523 install-pdf-libiberty: \
27524 configure-libiberty \
27525 pdf-libiberty
27526 @[ -f ./libiberty/Makefile ] || exit 0; \
27527 r=`${PWD_COMMAND}`; export r; \
27528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27529 $(HOST_EXPORTS) \
27530 for flag in $(EXTRA_HOST_FLAGS) ; do \
27531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27532 done; \
27533 echo "Doing install-pdf in libiberty"; \
27534 (cd $(HOST_SUBDIR)/libiberty && \
27535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27537 "RANLIB=$${RANLIB}" \
27538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27539 install-pdf) \
27540 || exit 1
27541
27542 @endif libiberty
27543
27544 .PHONY: maybe-install-html-libiberty install-html-libiberty
27545 maybe-install-html-libiberty:
27546 @if libiberty
27547 maybe-install-html-libiberty: install-html-libiberty
27548
27549 install-html-libiberty: \
27550 configure-libiberty \
27551 html-libiberty
27552 @[ -f ./libiberty/Makefile ] || exit 0; \
27553 r=`${PWD_COMMAND}`; export r; \
27554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27555 $(HOST_EXPORTS) \
27556 for flag in $(EXTRA_HOST_FLAGS) ; do \
27557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27558 done; \
27559 echo "Doing install-html in libiberty"; \
27560 (cd $(HOST_SUBDIR)/libiberty && \
27561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27563 "RANLIB=$${RANLIB}" \
27564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27565 install-html) \
27566 || exit 1
27567
27568 @endif libiberty
27569
27570 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27571 maybe-installcheck-libiberty:
27572 @if libiberty
27573 maybe-installcheck-libiberty: installcheck-libiberty
27574
27575 installcheck-libiberty: \
27576 configure-libiberty
27577 @[ -f ./libiberty/Makefile ] || exit 0; \
27578 r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(HOST_EXPORTS) \
27581 for flag in $(EXTRA_HOST_FLAGS) ; do \
27582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27583 done; \
27584 echo "Doing installcheck in libiberty"; \
27585 (cd $(HOST_SUBDIR)/libiberty && \
27586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27588 "RANLIB=$${RANLIB}" \
27589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27590 installcheck) \
27591 || exit 1
27592
27593 @endif libiberty
27594
27595 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27596 maybe-mostlyclean-libiberty:
27597 @if libiberty
27598 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27599
27600 mostlyclean-libiberty:
27601 @[ -f ./libiberty/Makefile ] || exit 0; \
27602 r=`${PWD_COMMAND}`; export r; \
27603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27604 $(HOST_EXPORTS) \
27605 for flag in $(EXTRA_HOST_FLAGS) ; do \
27606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27607 done; \
27608 echo "Doing mostlyclean in libiberty"; \
27609 (cd $(HOST_SUBDIR)/libiberty && \
27610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27612 "RANLIB=$${RANLIB}" \
27613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27614 mostlyclean) \
27615 || exit 1
27616
27617 @endif libiberty
27618
27619 .PHONY: maybe-clean-libiberty clean-libiberty
27620 maybe-clean-libiberty:
27621 @if libiberty
27622 maybe-clean-libiberty: clean-libiberty
27623
27624 clean-libiberty:
27625 @[ -f ./libiberty/Makefile ] || exit 0; \
27626 r=`${PWD_COMMAND}`; export r; \
27627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 $(HOST_EXPORTS) \
27629 for flag in $(EXTRA_HOST_FLAGS) ; do \
27630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27631 done; \
27632 echo "Doing clean in libiberty"; \
27633 (cd $(HOST_SUBDIR)/libiberty && \
27634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27636 "RANLIB=$${RANLIB}" \
27637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27638 clean) \
27639 || exit 1
27640
27641 @endif libiberty
27642
27643 .PHONY: maybe-distclean-libiberty distclean-libiberty
27644 maybe-distclean-libiberty:
27645 @if libiberty
27646 maybe-distclean-libiberty: distclean-libiberty
27647
27648 distclean-libiberty:
27649 @[ -f ./libiberty/Makefile ] || exit 0; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(HOST_EXPORTS) \
27653 for flag in $(EXTRA_HOST_FLAGS) ; do \
27654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27655 done; \
27656 echo "Doing distclean in libiberty"; \
27657 (cd $(HOST_SUBDIR)/libiberty && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27662 distclean) \
27663 || exit 1
27664
27665 @endif libiberty
27666
27667 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27668 maybe-maintainer-clean-libiberty:
27669 @if libiberty
27670 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27671
27672 maintainer-clean-libiberty:
27673 @[ -f ./libiberty/Makefile ] || exit 0; \
27674 r=`${PWD_COMMAND}`; export r; \
27675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27676 $(HOST_EXPORTS) \
27677 for flag in $(EXTRA_HOST_FLAGS) ; do \
27678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27679 done; \
27680 echo "Doing maintainer-clean in libiberty"; \
27681 (cd $(HOST_SUBDIR)/libiberty && \
27682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27684 "RANLIB=$${RANLIB}" \
27685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27686 maintainer-clean) \
27687 || exit 1
27688
27689 @endif libiberty
27690
27691
27692
27693 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27694 maybe-configure-libiberty-linker-plugin:
27695 @if gcc-bootstrap
27696 configure-libiberty-linker-plugin: stage_current
27697 @endif gcc-bootstrap
27698 @if libiberty-linker-plugin
27699 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27700 configure-libiberty-linker-plugin:
27701 @r=`${PWD_COMMAND}`; export r; \
27702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27703 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27705 $(HOST_EXPORTS) \
27706 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27707 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27708 case $(srcdir) in \
27709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27710 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27712 esac; \
27713 module_srcdir=libiberty; \
27714 $(SHELL) \
27715 $$s/$$module_srcdir/configure \
27716 --srcdir=$${topdir}/$$module_srcdir \
27717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27718 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27719 || exit 1
27720 @endif libiberty-linker-plugin
27721
27722
27723
27724 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27725 maybe-configure-stage1-libiberty-linker-plugin:
27726 @if libiberty-linker-plugin-bootstrap
27727 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27728 configure-stage1-libiberty-linker-plugin:
27729 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27731 @r=`${PWD_COMMAND}`; export r; \
27732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27733 TFLAGS="$(STAGE1_TFLAGS)"; \
27734 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27735 $(HOST_EXPORTS) \
27736 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27737 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27738 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27739 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27741 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27742 case $(srcdir) in \
27743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27744 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27746 esac; \
27747 module_srcdir=libiberty; \
27748 $(SHELL) $$s/$$module_srcdir/configure \
27749 --srcdir=$${topdir}/$$module_srcdir \
27750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27751 --target=${target_alias} \
27752 \
27753 $(STAGE1_CONFIGURE_FLAGS) \
27754 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27755 @endif libiberty-linker-plugin-bootstrap
27756
27757 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27758 maybe-configure-stage2-libiberty-linker-plugin:
27759 @if libiberty-linker-plugin-bootstrap
27760 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27761 configure-stage2-libiberty-linker-plugin:
27762 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27764 @r=`${PWD_COMMAND}`; export r; \
27765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27766 TFLAGS="$(STAGE2_TFLAGS)"; \
27767 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27768 $(HOST_EXPORTS) \
27769 $(POSTSTAGE1_HOST_EXPORTS) \
27770 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27771 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27772 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27773 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27775 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27776 case $(srcdir) in \
27777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27778 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27780 esac; \
27781 module_srcdir=libiberty; \
27782 $(SHELL) $$s/$$module_srcdir/configure \
27783 --srcdir=$${topdir}/$$module_srcdir \
27784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27785 --target=${target_alias} \
27786 --with-build-libsubdir=$(HOST_SUBDIR) \
27787 $(STAGE2_CONFIGURE_FLAGS) \
27788 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27789 @endif libiberty-linker-plugin-bootstrap
27790
27791 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27792 maybe-configure-stage3-libiberty-linker-plugin:
27793 @if libiberty-linker-plugin-bootstrap
27794 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27795 configure-stage3-libiberty-linker-plugin:
27796 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27798 @r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 TFLAGS="$(STAGE3_TFLAGS)"; \
27801 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27802 $(HOST_EXPORTS) \
27803 $(POSTSTAGE1_HOST_EXPORTS) \
27804 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27805 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27806 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27807 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27809 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27810 case $(srcdir) in \
27811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27812 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27814 esac; \
27815 module_srcdir=libiberty; \
27816 $(SHELL) $$s/$$module_srcdir/configure \
27817 --srcdir=$${topdir}/$$module_srcdir \
27818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27819 --target=${target_alias} \
27820 --with-build-libsubdir=$(HOST_SUBDIR) \
27821 $(STAGE3_CONFIGURE_FLAGS) \
27822 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27823 @endif libiberty-linker-plugin-bootstrap
27824
27825 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27826 maybe-configure-stage4-libiberty-linker-plugin:
27827 @if libiberty-linker-plugin-bootstrap
27828 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27829 configure-stage4-libiberty-linker-plugin:
27830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27832 @r=`${PWD_COMMAND}`; export r; \
27833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27834 TFLAGS="$(STAGE4_TFLAGS)"; \
27835 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27836 $(HOST_EXPORTS) \
27837 $(POSTSTAGE1_HOST_EXPORTS) \
27838 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27839 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27840 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27841 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27843 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27844 case $(srcdir) in \
27845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27846 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27848 esac; \
27849 module_srcdir=libiberty; \
27850 $(SHELL) $$s/$$module_srcdir/configure \
27851 --srcdir=$${topdir}/$$module_srcdir \
27852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27853 --target=${target_alias} \
27854 --with-build-libsubdir=$(HOST_SUBDIR) \
27855 $(STAGE4_CONFIGURE_FLAGS) \
27856 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27857 @endif libiberty-linker-plugin-bootstrap
27858
27859 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27860 maybe-configure-stageprofile-libiberty-linker-plugin:
27861 @if libiberty-linker-plugin-bootstrap
27862 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27863 configure-stageprofile-libiberty-linker-plugin:
27864 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27866 @r=`${PWD_COMMAND}`; export r; \
27867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27868 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27869 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27870 $(HOST_EXPORTS) \
27871 $(POSTSTAGE1_HOST_EXPORTS) \
27872 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27873 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27874 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27875 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27877 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27878 case $(srcdir) in \
27879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27880 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27882 esac; \
27883 module_srcdir=libiberty; \
27884 $(SHELL) $$s/$$module_srcdir/configure \
27885 --srcdir=$${topdir}/$$module_srcdir \
27886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27887 --target=${target_alias} \
27888 --with-build-libsubdir=$(HOST_SUBDIR) \
27889 $(STAGEprofile_CONFIGURE_FLAGS) \
27890 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27891 @endif libiberty-linker-plugin-bootstrap
27892
27893 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27894 maybe-configure-stagetrain-libiberty-linker-plugin:
27895 @if libiberty-linker-plugin-bootstrap
27896 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27897 configure-stagetrain-libiberty-linker-plugin:
27898 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27900 @r=`${PWD_COMMAND}`; export r; \
27901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27902 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27903 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27904 $(HOST_EXPORTS) \
27905 $(POSTSTAGE1_HOST_EXPORTS) \
27906 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27907 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27908 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27909 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27911 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27912 case $(srcdir) in \
27913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27914 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27916 esac; \
27917 module_srcdir=libiberty; \
27918 $(SHELL) $$s/$$module_srcdir/configure \
27919 --srcdir=$${topdir}/$$module_srcdir \
27920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27921 --target=${target_alias} \
27922 --with-build-libsubdir=$(HOST_SUBDIR) \
27923 $(STAGEtrain_CONFIGURE_FLAGS) \
27924 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27925 @endif libiberty-linker-plugin-bootstrap
27926
27927 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27928 maybe-configure-stagefeedback-libiberty-linker-plugin:
27929 @if libiberty-linker-plugin-bootstrap
27930 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27931 configure-stagefeedback-libiberty-linker-plugin:
27932 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27934 @r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27937 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27938 $(HOST_EXPORTS) \
27939 $(POSTSTAGE1_HOST_EXPORTS) \
27940 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27941 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27942 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27943 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27945 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27946 case $(srcdir) in \
27947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27948 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27950 esac; \
27951 module_srcdir=libiberty; \
27952 $(SHELL) $$s/$$module_srcdir/configure \
27953 --srcdir=$${topdir}/$$module_srcdir \
27954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27955 --target=${target_alias} \
27956 --with-build-libsubdir=$(HOST_SUBDIR) \
27957 $(STAGEfeedback_CONFIGURE_FLAGS) \
27958 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27959 @endif libiberty-linker-plugin-bootstrap
27960
27961 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27962 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27963 @if libiberty-linker-plugin-bootstrap
27964 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27965 configure-stageautoprofile-libiberty-linker-plugin:
27966 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27968 @r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27971 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27972 $(HOST_EXPORTS) \
27973 $(POSTSTAGE1_HOST_EXPORTS) \
27974 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27975 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27976 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27977 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27979 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27980 case $(srcdir) in \
27981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27982 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27984 esac; \
27985 module_srcdir=libiberty; \
27986 $(SHELL) $$s/$$module_srcdir/configure \
27987 --srcdir=$${topdir}/$$module_srcdir \
27988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27989 --target=${target_alias} \
27990 --with-build-libsubdir=$(HOST_SUBDIR) \
27991 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27992 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27993 @endif libiberty-linker-plugin-bootstrap
27994
27995 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27996 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27997 @if libiberty-linker-plugin-bootstrap
27998 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27999 configure-stageautofeedback-libiberty-linker-plugin:
28000 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
28002 @r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28005 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
28006 $(HOST_EXPORTS) \
28007 $(POSTSTAGE1_HOST_EXPORTS) \
28008 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28009 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28010 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28011 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
28012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
28013 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
28014 case $(srcdir) in \
28015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28016 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
28017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28018 esac; \
28019 module_srcdir=libiberty; \
28020 $(SHELL) $$s/$$module_srcdir/configure \
28021 --srcdir=$${topdir}/$$module_srcdir \
28022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28023 --target=${target_alias} \
28024 --with-build-libsubdir=$(HOST_SUBDIR) \
28025 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28026 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
28027 @endif libiberty-linker-plugin-bootstrap
28028
28029
28030
28031
28032
28033 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
28034 maybe-all-libiberty-linker-plugin:
28035 @if gcc-bootstrap
28036 all-libiberty-linker-plugin: stage_current
28037 @endif gcc-bootstrap
28038 @if libiberty-linker-plugin
28039 TARGET-libiberty-linker-plugin=all
28040 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
28041 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
28042 @r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28047 $(TARGET-libiberty-linker-plugin))
28048 @endif libiberty-linker-plugin
28049
28050
28051
28052 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
28053 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
28054 maybe-all-stage1-libiberty-linker-plugin:
28055 maybe-clean-stage1-libiberty-linker-plugin:
28056 @if libiberty-linker-plugin-bootstrap
28057 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
28058 all-stage1: all-stage1-libiberty-linker-plugin
28059 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28060 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
28061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28062 @r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 TFLAGS="$(STAGE1_TFLAGS)"; \
28065 $(HOST_EXPORTS) \
28066 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28067 \
28068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28069 CFLAGS="$(STAGE1_CFLAGS)" \
28070 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28071 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28072 LIBCFLAGS="$(LIBCFLAGS)" \
28073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28076 $(EXTRA_HOST_FLAGS) \
28077 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28078 TFLAGS="$(STAGE1_TFLAGS)" \
28079 $(TARGET-stage1-libiberty-linker-plugin)
28080
28081 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
28082 clean-stage1: clean-stage1-libiberty-linker-plugin
28083 clean-stage1-libiberty-linker-plugin:
28084 @if [ $(current_stage) = stage1 ]; then \
28085 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28086 else \
28087 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
28088 $(MAKE) stage1-start; \
28089 fi; \
28090 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28091 $(MAKE) $(EXTRA_HOST_FLAGS) \
28092 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28093 @endif libiberty-linker-plugin-bootstrap
28094
28095
28096 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
28097 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
28098 maybe-all-stage2-libiberty-linker-plugin:
28099 maybe-clean-stage2-libiberty-linker-plugin:
28100 @if libiberty-linker-plugin-bootstrap
28101 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
28102 all-stage2: all-stage2-libiberty-linker-plugin
28103 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28104 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
28105 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28106 @r=`${PWD_COMMAND}`; export r; \
28107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28108 TFLAGS="$(STAGE2_TFLAGS)"; \
28109 $(HOST_EXPORTS) \
28110 $(POSTSTAGE1_HOST_EXPORTS) \
28111 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28112 \
28113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28114 CFLAGS="$(STAGE2_CFLAGS)" \
28115 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28116 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28117 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28122 TFLAGS="$(STAGE2_TFLAGS)" \
28123 $(TARGET-stage2-libiberty-linker-plugin)
28124
28125 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
28126 clean-stage2: clean-stage2-libiberty-linker-plugin
28127 clean-stage2-libiberty-linker-plugin:
28128 @if [ $(current_stage) = stage2 ]; then \
28129 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28130 else \
28131 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
28132 $(MAKE) stage2-start; \
28133 fi; \
28134 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28136 @endif libiberty-linker-plugin-bootstrap
28137
28138
28139 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
28140 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
28141 maybe-all-stage3-libiberty-linker-plugin:
28142 maybe-clean-stage3-libiberty-linker-plugin:
28143 @if libiberty-linker-plugin-bootstrap
28144 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
28145 all-stage3: all-stage3-libiberty-linker-plugin
28146 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28147 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
28148 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28149 @r=`${PWD_COMMAND}`; export r; \
28150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28151 TFLAGS="$(STAGE3_TFLAGS)"; \
28152 $(HOST_EXPORTS) \
28153 $(POSTSTAGE1_HOST_EXPORTS) \
28154 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28155 \
28156 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28157 CFLAGS="$(STAGE3_CFLAGS)" \
28158 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28159 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28160 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28165 TFLAGS="$(STAGE3_TFLAGS)" \
28166 $(TARGET-stage3-libiberty-linker-plugin)
28167
28168 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
28169 clean-stage3: clean-stage3-libiberty-linker-plugin
28170 clean-stage3-libiberty-linker-plugin:
28171 @if [ $(current_stage) = stage3 ]; then \
28172 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28173 else \
28174 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
28175 $(MAKE) stage3-start; \
28176 fi; \
28177 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28178 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28179 @endif libiberty-linker-plugin-bootstrap
28180
28181
28182 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
28183 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
28184 maybe-all-stage4-libiberty-linker-plugin:
28185 maybe-clean-stage4-libiberty-linker-plugin:
28186 @if libiberty-linker-plugin-bootstrap
28187 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
28188 all-stage4: all-stage4-libiberty-linker-plugin
28189 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28190 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
28191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28192 @r=`${PWD_COMMAND}`; export r; \
28193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28194 TFLAGS="$(STAGE4_TFLAGS)"; \
28195 $(HOST_EXPORTS) \
28196 $(POSTSTAGE1_HOST_EXPORTS) \
28197 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28198 \
28199 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28200 CFLAGS="$(STAGE4_CFLAGS)" \
28201 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28202 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28203 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28208 TFLAGS="$(STAGE4_TFLAGS)" \
28209 $(TARGET-stage4-libiberty-linker-plugin)
28210
28211 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
28212 clean-stage4: clean-stage4-libiberty-linker-plugin
28213 clean-stage4-libiberty-linker-plugin:
28214 @if [ $(current_stage) = stage4 ]; then \
28215 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28216 else \
28217 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
28218 $(MAKE) stage4-start; \
28219 fi; \
28220 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28222 @endif libiberty-linker-plugin-bootstrap
28223
28224
28225 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28226 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28227 maybe-all-stageprofile-libiberty-linker-plugin:
28228 maybe-clean-stageprofile-libiberty-linker-plugin:
28229 @if libiberty-linker-plugin-bootstrap
28230 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28231 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28232 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28233 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28234 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28235 @r=`${PWD_COMMAND}`; export r; \
28236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28237 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28238 $(HOST_EXPORTS) \
28239 $(POSTSTAGE1_HOST_EXPORTS) \
28240 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28241 \
28242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28243 CFLAGS="$(STAGEprofile_CFLAGS)" \
28244 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
28245 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28246 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28251 TFLAGS="$(STAGEprofile_TFLAGS)" \
28252 $(TARGET-stageprofile-libiberty-linker-plugin)
28253
28254 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28255 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28256 clean-stageprofile-libiberty-linker-plugin:
28257 @if [ $(current_stage) = stageprofile ]; then \
28258 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28259 else \
28260 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28261 $(MAKE) stageprofile-start; \
28262 fi; \
28263 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28265 @endif libiberty-linker-plugin-bootstrap
28266
28267
28268 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28269 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28270 maybe-all-stagetrain-libiberty-linker-plugin:
28271 maybe-clean-stagetrain-libiberty-linker-plugin:
28272 @if libiberty-linker-plugin-bootstrap
28273 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28274 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28275 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28276 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28277 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28278 @r=`${PWD_COMMAND}`; export r; \
28279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28280 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28281 $(HOST_EXPORTS) \
28282 $(POSTSTAGE1_HOST_EXPORTS) \
28283 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28284 \
28285 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28286 CFLAGS="$(STAGEtrain_CFLAGS)" \
28287 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
28288 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28289 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28294 TFLAGS="$(STAGEtrain_TFLAGS)" \
28295 $(TARGET-stagetrain-libiberty-linker-plugin)
28296
28297 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28298 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28299 clean-stagetrain-libiberty-linker-plugin:
28300 @if [ $(current_stage) = stagetrain ]; then \
28301 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28302 else \
28303 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28304 $(MAKE) stagetrain-start; \
28305 fi; \
28306 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28308 @endif libiberty-linker-plugin-bootstrap
28309
28310
28311 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28312 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28313 maybe-all-stagefeedback-libiberty-linker-plugin:
28314 maybe-clean-stagefeedback-libiberty-linker-plugin:
28315 @if libiberty-linker-plugin-bootstrap
28316 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28317 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28318 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28319 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28321 @r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28324 $(HOST_EXPORTS) \
28325 $(POSTSTAGE1_HOST_EXPORTS) \
28326 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28327 \
28328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28329 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28330 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
28331 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28332 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28337 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28338 $(TARGET-stagefeedback-libiberty-linker-plugin)
28339
28340 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28341 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28342 clean-stagefeedback-libiberty-linker-plugin:
28343 @if [ $(current_stage) = stagefeedback ]; then \
28344 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28345 else \
28346 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28347 $(MAKE) stagefeedback-start; \
28348 fi; \
28349 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28350 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28351 @endif libiberty-linker-plugin-bootstrap
28352
28353
28354 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28355 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28356 maybe-all-stageautoprofile-libiberty-linker-plugin:
28357 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28358 @if libiberty-linker-plugin-bootstrap
28359 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28360 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28361 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28362 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28363 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28364 @r=`${PWD_COMMAND}`; export r; \
28365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28366 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28367 $(HOST_EXPORTS) \
28368 $(POSTSTAGE1_HOST_EXPORTS) \
28369 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28370 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28372 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28373 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
28374 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28375 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28380 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28381 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28382
28383 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28384 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28385 clean-stageautoprofile-libiberty-linker-plugin:
28386 @if [ $(current_stage) = stageautoprofile ]; then \
28387 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28388 else \
28389 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28390 $(MAKE) stageautoprofile-start; \
28391 fi; \
28392 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28394 @endif libiberty-linker-plugin-bootstrap
28395
28396
28397 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28398 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28399 maybe-all-stageautofeedback-libiberty-linker-plugin:
28400 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28401 @if libiberty-linker-plugin-bootstrap
28402 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28403 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28404 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28405 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28406 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28407 @r=`${PWD_COMMAND}`; export r; \
28408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28409 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28410 $(HOST_EXPORTS) \
28411 $(POSTSTAGE1_HOST_EXPORTS) \
28412 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28413 \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28415 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28416 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
28417 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28418 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28423 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28424 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28425
28426 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28427 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28428 clean-stageautofeedback-libiberty-linker-plugin:
28429 @if [ $(current_stage) = stageautofeedback ]; then \
28430 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28431 else \
28432 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28433 $(MAKE) stageautofeedback-start; \
28434 fi; \
28435 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28437 @endif libiberty-linker-plugin-bootstrap
28438
28439
28440
28441
28442
28443 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28444 maybe-check-libiberty-linker-plugin:
28445 @if libiberty-linker-plugin
28446 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28447
28448 check-libiberty-linker-plugin:
28449 @: $(MAKE); $(unstage)
28450 @r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28453 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28454 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28455
28456 @endif libiberty-linker-plugin
28457
28458 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28459 maybe-install-libiberty-linker-plugin:
28460 @if libiberty-linker-plugin
28461 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28462
28463 install-libiberty-linker-plugin: installdirs
28464 @: $(MAKE); $(unstage)
28465 @r=`${PWD_COMMAND}`; export r; \
28466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28467 $(HOST_EXPORTS) \
28468 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28469 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28470
28471 @endif libiberty-linker-plugin
28472
28473 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28474 maybe-install-strip-libiberty-linker-plugin:
28475 @if libiberty-linker-plugin
28476 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28477
28478 install-strip-libiberty-linker-plugin: installdirs
28479 @: $(MAKE); $(unstage)
28480 @r=`${PWD_COMMAND}`; export r; \
28481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28482 $(HOST_EXPORTS) \
28483 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28484 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28485
28486 @endif libiberty-linker-plugin
28487
28488 # Other targets (info, dvi, pdf, etc.)
28489
28490 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28491 maybe-info-libiberty-linker-plugin:
28492 @if libiberty-linker-plugin
28493 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28494
28495 info-libiberty-linker-plugin: \
28496 configure-libiberty-linker-plugin
28497 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 echo "Doing info in libiberty-linker-plugin"; \
28505 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28510 info) \
28511 || exit 1
28512
28513 @endif libiberty-linker-plugin
28514
28515 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28516 maybe-dvi-libiberty-linker-plugin:
28517 @if libiberty-linker-plugin
28518 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28519
28520 dvi-libiberty-linker-plugin: \
28521 configure-libiberty-linker-plugin
28522 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28523 r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28525 $(HOST_EXPORTS) \
28526 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28528 done; \
28529 echo "Doing dvi in libiberty-linker-plugin"; \
28530 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28533 "RANLIB=$${RANLIB}" \
28534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28535 dvi) \
28536 || exit 1
28537
28538 @endif libiberty-linker-plugin
28539
28540 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28541 maybe-pdf-libiberty-linker-plugin:
28542 @if libiberty-linker-plugin
28543 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28544
28545 pdf-libiberty-linker-plugin: \
28546 configure-libiberty-linker-plugin
28547 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28548 r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28550 $(HOST_EXPORTS) \
28551 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28553 done; \
28554 echo "Doing pdf in libiberty-linker-plugin"; \
28555 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28558 "RANLIB=$${RANLIB}" \
28559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28560 pdf) \
28561 || exit 1
28562
28563 @endif libiberty-linker-plugin
28564
28565 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28566 maybe-html-libiberty-linker-plugin:
28567 @if libiberty-linker-plugin
28568 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28569
28570 html-libiberty-linker-plugin: \
28571 configure-libiberty-linker-plugin
28572 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28573 r=`${PWD_COMMAND}`; export r; \
28574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28575 $(HOST_EXPORTS) \
28576 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28578 done; \
28579 echo "Doing html in libiberty-linker-plugin"; \
28580 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28583 "RANLIB=$${RANLIB}" \
28584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28585 html) \
28586 || exit 1
28587
28588 @endif libiberty-linker-plugin
28589
28590 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28591 maybe-TAGS-libiberty-linker-plugin:
28592 @if libiberty-linker-plugin
28593 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28594
28595 TAGS-libiberty-linker-plugin: \
28596 configure-libiberty-linker-plugin
28597 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28598 r=`${PWD_COMMAND}`; export r; \
28599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28600 $(HOST_EXPORTS) \
28601 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28603 done; \
28604 echo "Doing TAGS in libiberty-linker-plugin"; \
28605 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28608 "RANLIB=$${RANLIB}" \
28609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28610 TAGS) \
28611 || exit 1
28612
28613 @endif libiberty-linker-plugin
28614
28615 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28616 maybe-install-info-libiberty-linker-plugin:
28617 @if libiberty-linker-plugin
28618 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28619
28620 install-info-libiberty-linker-plugin: \
28621 configure-libiberty-linker-plugin \
28622 info-libiberty-linker-plugin
28623 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28624 r=`${PWD_COMMAND}`; export r; \
28625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28626 $(HOST_EXPORTS) \
28627 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28629 done; \
28630 echo "Doing install-info in libiberty-linker-plugin"; \
28631 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28634 "RANLIB=$${RANLIB}" \
28635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28636 install-info) \
28637 || exit 1
28638
28639 @endif libiberty-linker-plugin
28640
28641 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28642 maybe-install-pdf-libiberty-linker-plugin:
28643 @if libiberty-linker-plugin
28644 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28645
28646 install-pdf-libiberty-linker-plugin: \
28647 configure-libiberty-linker-plugin \
28648 pdf-libiberty-linker-plugin
28649 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28650 r=`${PWD_COMMAND}`; export r; \
28651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28652 $(HOST_EXPORTS) \
28653 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28655 done; \
28656 echo "Doing install-pdf in libiberty-linker-plugin"; \
28657 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28660 "RANLIB=$${RANLIB}" \
28661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28662 install-pdf) \
28663 || exit 1
28664
28665 @endif libiberty-linker-plugin
28666
28667 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28668 maybe-install-html-libiberty-linker-plugin:
28669 @if libiberty-linker-plugin
28670 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28671
28672 install-html-libiberty-linker-plugin: \
28673 configure-libiberty-linker-plugin \
28674 html-libiberty-linker-plugin
28675 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28676 r=`${PWD_COMMAND}`; export r; \
28677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28678 $(HOST_EXPORTS) \
28679 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28681 done; \
28682 echo "Doing install-html in libiberty-linker-plugin"; \
28683 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28686 "RANLIB=$${RANLIB}" \
28687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28688 install-html) \
28689 || exit 1
28690
28691 @endif libiberty-linker-plugin
28692
28693 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28694 maybe-installcheck-libiberty-linker-plugin:
28695 @if libiberty-linker-plugin
28696 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28697
28698 installcheck-libiberty-linker-plugin: \
28699 configure-libiberty-linker-plugin
28700 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28701 r=`${PWD_COMMAND}`; export r; \
28702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28703 $(HOST_EXPORTS) \
28704 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28706 done; \
28707 echo "Doing installcheck in libiberty-linker-plugin"; \
28708 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28711 "RANLIB=$${RANLIB}" \
28712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28713 installcheck) \
28714 || exit 1
28715
28716 @endif libiberty-linker-plugin
28717
28718 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28719 maybe-mostlyclean-libiberty-linker-plugin:
28720 @if libiberty-linker-plugin
28721 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28722
28723 mostlyclean-libiberty-linker-plugin:
28724 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28725 r=`${PWD_COMMAND}`; export r; \
28726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28727 $(HOST_EXPORTS) \
28728 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28730 done; \
28731 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28732 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28735 "RANLIB=$${RANLIB}" \
28736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28737 mostlyclean) \
28738 || exit 1
28739
28740 @endif libiberty-linker-plugin
28741
28742 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28743 maybe-clean-libiberty-linker-plugin:
28744 @if libiberty-linker-plugin
28745 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28746
28747 clean-libiberty-linker-plugin:
28748 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 echo "Doing clean in libiberty-linker-plugin"; \
28756 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28761 clean) \
28762 || exit 1
28763
28764 @endif libiberty-linker-plugin
28765
28766 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28767 maybe-distclean-libiberty-linker-plugin:
28768 @if libiberty-linker-plugin
28769 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28770
28771 distclean-libiberty-linker-plugin:
28772 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(HOST_EXPORTS) \
28776 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28778 done; \
28779 echo "Doing distclean in libiberty-linker-plugin"; \
28780 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28785 distclean) \
28786 || exit 1
28787
28788 @endif libiberty-linker-plugin
28789
28790 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28791 maybe-maintainer-clean-libiberty-linker-plugin:
28792 @if libiberty-linker-plugin
28793 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28794
28795 maintainer-clean-libiberty-linker-plugin:
28796 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(HOST_EXPORTS) \
28800 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28804 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28809 maintainer-clean) \
28810 || exit 1
28811
28812 @endif libiberty-linker-plugin
28813
28814
28815
28816 .PHONY: configure-libiconv maybe-configure-libiconv
28817 maybe-configure-libiconv:
28818 @if gcc-bootstrap
28819 configure-libiconv: stage_current
28820 @endif gcc-bootstrap
28821 @if libiconv
28822 maybe-configure-libiconv: configure-libiconv
28823 configure-libiconv:
28824 @r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28828 $(HOST_EXPORTS) \
28829 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28830 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28831 case $(srcdir) in \
28832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28833 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28835 esac; \
28836 module_srcdir=libiconv; \
28837 $(SHELL) \
28838 $$s/$$module_srcdir/configure \
28839 --srcdir=$${topdir}/$$module_srcdir \
28840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28841 --target=${target_alias} --disable-shared \
28842 || exit 1
28843 @endif libiconv
28844
28845
28846
28847 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28848 maybe-configure-stage1-libiconv:
28849 @if libiconv-bootstrap
28850 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28851 configure-stage1-libiconv:
28852 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28854 @r=`${PWD_COMMAND}`; export r; \
28855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28856 TFLAGS="$(STAGE1_TFLAGS)"; \
28857 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28858 $(HOST_EXPORTS) \
28859 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28860 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28861 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28862 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28864 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28865 case $(srcdir) in \
28866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28867 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28869 esac; \
28870 module_srcdir=libiconv; \
28871 $(SHELL) $$s/$$module_srcdir/configure \
28872 --srcdir=$${topdir}/$$module_srcdir \
28873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28874 --target=${target_alias} \
28875 \
28876 $(STAGE1_CONFIGURE_FLAGS) \
28877 --disable-shared
28878 @endif libiconv-bootstrap
28879
28880 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28881 maybe-configure-stage2-libiconv:
28882 @if libiconv-bootstrap
28883 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28884 configure-stage2-libiconv:
28885 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28887 @r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 TFLAGS="$(STAGE2_TFLAGS)"; \
28890 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28891 $(HOST_EXPORTS) \
28892 $(POSTSTAGE1_HOST_EXPORTS) \
28893 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28894 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28895 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28896 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28898 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28899 case $(srcdir) in \
28900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28901 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28903 esac; \
28904 module_srcdir=libiconv; \
28905 $(SHELL) $$s/$$module_srcdir/configure \
28906 --srcdir=$${topdir}/$$module_srcdir \
28907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28908 --target=${target_alias} \
28909 --with-build-libsubdir=$(HOST_SUBDIR) \
28910 $(STAGE2_CONFIGURE_FLAGS) \
28911 --disable-shared
28912 @endif libiconv-bootstrap
28913
28914 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28915 maybe-configure-stage3-libiconv:
28916 @if libiconv-bootstrap
28917 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28918 configure-stage3-libiconv:
28919 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28920 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28921 @r=`${PWD_COMMAND}`; export r; \
28922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28923 TFLAGS="$(STAGE3_TFLAGS)"; \
28924 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28925 $(HOST_EXPORTS) \
28926 $(POSTSTAGE1_HOST_EXPORTS) \
28927 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28928 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28929 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28930 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28932 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28933 case $(srcdir) in \
28934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28935 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28937 esac; \
28938 module_srcdir=libiconv; \
28939 $(SHELL) $$s/$$module_srcdir/configure \
28940 --srcdir=$${topdir}/$$module_srcdir \
28941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28942 --target=${target_alias} \
28943 --with-build-libsubdir=$(HOST_SUBDIR) \
28944 $(STAGE3_CONFIGURE_FLAGS) \
28945 --disable-shared
28946 @endif libiconv-bootstrap
28947
28948 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28949 maybe-configure-stage4-libiconv:
28950 @if libiconv-bootstrap
28951 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28952 configure-stage4-libiconv:
28953 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28955 @r=`${PWD_COMMAND}`; export r; \
28956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28957 TFLAGS="$(STAGE4_TFLAGS)"; \
28958 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28959 $(HOST_EXPORTS) \
28960 $(POSTSTAGE1_HOST_EXPORTS) \
28961 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28962 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28963 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28964 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28966 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28967 case $(srcdir) in \
28968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28969 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28971 esac; \
28972 module_srcdir=libiconv; \
28973 $(SHELL) $$s/$$module_srcdir/configure \
28974 --srcdir=$${topdir}/$$module_srcdir \
28975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28976 --target=${target_alias} \
28977 --with-build-libsubdir=$(HOST_SUBDIR) \
28978 $(STAGE4_CONFIGURE_FLAGS) \
28979 --disable-shared
28980 @endif libiconv-bootstrap
28981
28982 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28983 maybe-configure-stageprofile-libiconv:
28984 @if libiconv-bootstrap
28985 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28986 configure-stageprofile-libiconv:
28987 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28989 @r=`${PWD_COMMAND}`; export r; \
28990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28991 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28992 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28993 $(HOST_EXPORTS) \
28994 $(POSTSTAGE1_HOST_EXPORTS) \
28995 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28996 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28997 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28998 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29000 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29001 case $(srcdir) in \
29002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29003 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29005 esac; \
29006 module_srcdir=libiconv; \
29007 $(SHELL) $$s/$$module_srcdir/configure \
29008 --srcdir=$${topdir}/$$module_srcdir \
29009 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29010 --target=${target_alias} \
29011 --with-build-libsubdir=$(HOST_SUBDIR) \
29012 $(STAGEprofile_CONFIGURE_FLAGS) \
29013 --disable-shared
29014 @endif libiconv-bootstrap
29015
29016 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
29017 maybe-configure-stagetrain-libiconv:
29018 @if libiconv-bootstrap
29019 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
29020 configure-stagetrain-libiconv:
29021 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29023 @r=`${PWD_COMMAND}`; export r; \
29024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29025 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29026 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29027 $(HOST_EXPORTS) \
29028 $(POSTSTAGE1_HOST_EXPORTS) \
29029 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29030 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29031 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29032 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
29033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29034 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29035 case $(srcdir) in \
29036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29037 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29039 esac; \
29040 module_srcdir=libiconv; \
29041 $(SHELL) $$s/$$module_srcdir/configure \
29042 --srcdir=$${topdir}/$$module_srcdir \
29043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29044 --target=${target_alias} \
29045 --with-build-libsubdir=$(HOST_SUBDIR) \
29046 $(STAGEtrain_CONFIGURE_FLAGS) \
29047 --disable-shared
29048 @endif libiconv-bootstrap
29049
29050 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
29051 maybe-configure-stagefeedback-libiconv:
29052 @if libiconv-bootstrap
29053 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
29054 configure-stagefeedback-libiconv:
29055 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29057 @r=`${PWD_COMMAND}`; export r; \
29058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29059 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29060 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29061 $(HOST_EXPORTS) \
29062 $(POSTSTAGE1_HOST_EXPORTS) \
29063 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29064 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29065 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29066 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
29067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29068 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29069 case $(srcdir) in \
29070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29071 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29073 esac; \
29074 module_srcdir=libiconv; \
29075 $(SHELL) $$s/$$module_srcdir/configure \
29076 --srcdir=$${topdir}/$$module_srcdir \
29077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29078 --target=${target_alias} \
29079 --with-build-libsubdir=$(HOST_SUBDIR) \
29080 $(STAGEfeedback_CONFIGURE_FLAGS) \
29081 --disable-shared
29082 @endif libiconv-bootstrap
29083
29084 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
29085 maybe-configure-stageautoprofile-libiconv:
29086 @if libiconv-bootstrap
29087 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29088 configure-stageautoprofile-libiconv:
29089 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29090 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29091 @r=`${PWD_COMMAND}`; export r; \
29092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29093 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29094 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29095 $(HOST_EXPORTS) \
29096 $(POSTSTAGE1_HOST_EXPORTS) \
29097 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29098 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29099 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29100 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
29101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29102 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29103 case $(srcdir) in \
29104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29105 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29107 esac; \
29108 module_srcdir=libiconv; \
29109 $(SHELL) $$s/$$module_srcdir/configure \
29110 --srcdir=$${topdir}/$$module_srcdir \
29111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29112 --target=${target_alias} \
29113 --with-build-libsubdir=$(HOST_SUBDIR) \
29114 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29115 --disable-shared
29116 @endif libiconv-bootstrap
29117
29118 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
29119 maybe-configure-stageautofeedback-libiconv:
29120 @if libiconv-bootstrap
29121 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29122 configure-stageautofeedback-libiconv:
29123 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
29125 @r=`${PWD_COMMAND}`; export r; \
29126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29127 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29128 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
29129 $(HOST_EXPORTS) \
29130 $(POSTSTAGE1_HOST_EXPORTS) \
29131 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29132 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29133 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29134 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
29135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
29136 cd $(HOST_SUBDIR)/libiconv || exit 1; \
29137 case $(srcdir) in \
29138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29139 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
29140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29141 esac; \
29142 module_srcdir=libiconv; \
29143 $(SHELL) $$s/$$module_srcdir/configure \
29144 --srcdir=$${topdir}/$$module_srcdir \
29145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29146 --target=${target_alias} \
29147 --with-build-libsubdir=$(HOST_SUBDIR) \
29148 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29149 --disable-shared
29150 @endif libiconv-bootstrap
29151
29152
29153
29154
29155
29156 .PHONY: all-libiconv maybe-all-libiconv
29157 maybe-all-libiconv:
29158 @if gcc-bootstrap
29159 all-libiconv: stage_current
29160 @endif gcc-bootstrap
29161 @if libiconv
29162 TARGET-libiconv=all
29163 maybe-all-libiconv: all-libiconv
29164 all-libiconv: configure-libiconv
29165 @r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29167 $(HOST_EXPORTS) \
29168 (cd $(HOST_SUBDIR)/libiconv && \
29169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29170 $(TARGET-libiconv))
29171 @endif libiconv
29172
29173
29174
29175 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
29176 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
29177 maybe-all-stage1-libiconv:
29178 maybe-clean-stage1-libiconv:
29179 @if libiconv-bootstrap
29180 maybe-all-stage1-libiconv: all-stage1-libiconv
29181 all-stage1: all-stage1-libiconv
29182 TARGET-stage1-libiconv = $(TARGET-libiconv)
29183 all-stage1-libiconv: configure-stage1-libiconv
29184 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29185 @r=`${PWD_COMMAND}`; export r; \
29186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29187 TFLAGS="$(STAGE1_TFLAGS)"; \
29188 $(HOST_EXPORTS) \
29189 cd $(HOST_SUBDIR)/libiconv && \
29190 \
29191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29192 CFLAGS="$(STAGE1_CFLAGS)" \
29193 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
29194 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29195 LIBCFLAGS="$(LIBCFLAGS)" \
29196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29199 $(EXTRA_HOST_FLAGS) \
29200 $(STAGE1_FLAGS_TO_PASS) \
29201 TFLAGS="$(STAGE1_TFLAGS)" \
29202 $(TARGET-stage1-libiconv)
29203
29204 maybe-clean-stage1-libiconv: clean-stage1-libiconv
29205 clean-stage1: clean-stage1-libiconv
29206 clean-stage1-libiconv:
29207 @if [ $(current_stage) = stage1 ]; then \
29208 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29209 else \
29210 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
29211 $(MAKE) stage1-start; \
29212 fi; \
29213 cd $(HOST_SUBDIR)/libiconv && \
29214 $(MAKE) $(EXTRA_HOST_FLAGS) \
29215 $(STAGE1_FLAGS_TO_PASS) clean
29216 @endif libiconv-bootstrap
29217
29218
29219 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
29220 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
29221 maybe-all-stage2-libiconv:
29222 maybe-clean-stage2-libiconv:
29223 @if libiconv-bootstrap
29224 maybe-all-stage2-libiconv: all-stage2-libiconv
29225 all-stage2: all-stage2-libiconv
29226 TARGET-stage2-libiconv = $(TARGET-libiconv)
29227 all-stage2-libiconv: configure-stage2-libiconv
29228 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29229 @r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 TFLAGS="$(STAGE2_TFLAGS)"; \
29232 $(HOST_EXPORTS) \
29233 $(POSTSTAGE1_HOST_EXPORTS) \
29234 cd $(HOST_SUBDIR)/libiconv && \
29235 \
29236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29237 CFLAGS="$(STAGE2_CFLAGS)" \
29238 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
29239 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29240 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29245 TFLAGS="$(STAGE2_TFLAGS)" \
29246 $(TARGET-stage2-libiconv)
29247
29248 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29249 clean-stage2: clean-stage2-libiconv
29250 clean-stage2-libiconv:
29251 @if [ $(current_stage) = stage2 ]; then \
29252 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29253 else \
29254 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29255 $(MAKE) stage2-start; \
29256 fi; \
29257 cd $(HOST_SUBDIR)/libiconv && \
29258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29259 @endif libiconv-bootstrap
29260
29261
29262 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29263 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29264 maybe-all-stage3-libiconv:
29265 maybe-clean-stage3-libiconv:
29266 @if libiconv-bootstrap
29267 maybe-all-stage3-libiconv: all-stage3-libiconv
29268 all-stage3: all-stage3-libiconv
29269 TARGET-stage3-libiconv = $(TARGET-libiconv)
29270 all-stage3-libiconv: configure-stage3-libiconv
29271 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29272 @r=`${PWD_COMMAND}`; export r; \
29273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29274 TFLAGS="$(STAGE3_TFLAGS)"; \
29275 $(HOST_EXPORTS) \
29276 $(POSTSTAGE1_HOST_EXPORTS) \
29277 cd $(HOST_SUBDIR)/libiconv && \
29278 \
29279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29280 CFLAGS="$(STAGE3_CFLAGS)" \
29281 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
29282 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29283 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29287 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29288 TFLAGS="$(STAGE3_TFLAGS)" \
29289 $(TARGET-stage3-libiconv)
29290
29291 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29292 clean-stage3: clean-stage3-libiconv
29293 clean-stage3-libiconv:
29294 @if [ $(current_stage) = stage3 ]; then \
29295 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29296 else \
29297 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29298 $(MAKE) stage3-start; \
29299 fi; \
29300 cd $(HOST_SUBDIR)/libiconv && \
29301 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29302 @endif libiconv-bootstrap
29303
29304
29305 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29306 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29307 maybe-all-stage4-libiconv:
29308 maybe-clean-stage4-libiconv:
29309 @if libiconv-bootstrap
29310 maybe-all-stage4-libiconv: all-stage4-libiconv
29311 all-stage4: all-stage4-libiconv
29312 TARGET-stage4-libiconv = $(TARGET-libiconv)
29313 all-stage4-libiconv: configure-stage4-libiconv
29314 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29315 @r=`${PWD_COMMAND}`; export r; \
29316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29317 TFLAGS="$(STAGE4_TFLAGS)"; \
29318 $(HOST_EXPORTS) \
29319 $(POSTSTAGE1_HOST_EXPORTS) \
29320 cd $(HOST_SUBDIR)/libiconv && \
29321 \
29322 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29323 CFLAGS="$(STAGE4_CFLAGS)" \
29324 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
29325 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29326 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29331 TFLAGS="$(STAGE4_TFLAGS)" \
29332 $(TARGET-stage4-libiconv)
29333
29334 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29335 clean-stage4: clean-stage4-libiconv
29336 clean-stage4-libiconv:
29337 @if [ $(current_stage) = stage4 ]; then \
29338 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29339 else \
29340 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29341 $(MAKE) stage4-start; \
29342 fi; \
29343 cd $(HOST_SUBDIR)/libiconv && \
29344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29345 @endif libiconv-bootstrap
29346
29347
29348 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29349 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29350 maybe-all-stageprofile-libiconv:
29351 maybe-clean-stageprofile-libiconv:
29352 @if libiconv-bootstrap
29353 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29354 all-stageprofile: all-stageprofile-libiconv
29355 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29356 all-stageprofile-libiconv: configure-stageprofile-libiconv
29357 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29358 @r=`${PWD_COMMAND}`; export r; \
29359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29360 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29361 $(HOST_EXPORTS) \
29362 $(POSTSTAGE1_HOST_EXPORTS) \
29363 cd $(HOST_SUBDIR)/libiconv && \
29364 \
29365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29366 CFLAGS="$(STAGEprofile_CFLAGS)" \
29367 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29368 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29369 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29374 TFLAGS="$(STAGEprofile_TFLAGS)" \
29375 $(TARGET-stageprofile-libiconv)
29376
29377 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29378 clean-stageprofile: clean-stageprofile-libiconv
29379 clean-stageprofile-libiconv:
29380 @if [ $(current_stage) = stageprofile ]; then \
29381 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29382 else \
29383 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29384 $(MAKE) stageprofile-start; \
29385 fi; \
29386 cd $(HOST_SUBDIR)/libiconv && \
29387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29388 @endif libiconv-bootstrap
29389
29390
29391 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29392 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29393 maybe-all-stagetrain-libiconv:
29394 maybe-clean-stagetrain-libiconv:
29395 @if libiconv-bootstrap
29396 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29397 all-stagetrain: all-stagetrain-libiconv
29398 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29399 all-stagetrain-libiconv: configure-stagetrain-libiconv
29400 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29401 @r=`${PWD_COMMAND}`; export r; \
29402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29403 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29404 $(HOST_EXPORTS) \
29405 $(POSTSTAGE1_HOST_EXPORTS) \
29406 cd $(HOST_SUBDIR)/libiconv && \
29407 \
29408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29409 CFLAGS="$(STAGEtrain_CFLAGS)" \
29410 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29411 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29412 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29417 TFLAGS="$(STAGEtrain_TFLAGS)" \
29418 $(TARGET-stagetrain-libiconv)
29419
29420 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29421 clean-stagetrain: clean-stagetrain-libiconv
29422 clean-stagetrain-libiconv:
29423 @if [ $(current_stage) = stagetrain ]; then \
29424 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29425 else \
29426 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29427 $(MAKE) stagetrain-start; \
29428 fi; \
29429 cd $(HOST_SUBDIR)/libiconv && \
29430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29431 @endif libiconv-bootstrap
29432
29433
29434 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29435 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29436 maybe-all-stagefeedback-libiconv:
29437 maybe-clean-stagefeedback-libiconv:
29438 @if libiconv-bootstrap
29439 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29440 all-stagefeedback: all-stagefeedback-libiconv
29441 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29442 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29443 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29444 @r=`${PWD_COMMAND}`; export r; \
29445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29446 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29447 $(HOST_EXPORTS) \
29448 $(POSTSTAGE1_HOST_EXPORTS) \
29449 cd $(HOST_SUBDIR)/libiconv && \
29450 \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29452 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29453 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29454 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29455 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29460 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29461 $(TARGET-stagefeedback-libiconv)
29462
29463 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29464 clean-stagefeedback: clean-stagefeedback-libiconv
29465 clean-stagefeedback-libiconv:
29466 @if [ $(current_stage) = stagefeedback ]; then \
29467 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29468 else \
29469 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29470 $(MAKE) stagefeedback-start; \
29471 fi; \
29472 cd $(HOST_SUBDIR)/libiconv && \
29473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29474 @endif libiconv-bootstrap
29475
29476
29477 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29478 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29479 maybe-all-stageautoprofile-libiconv:
29480 maybe-clean-stageautoprofile-libiconv:
29481 @if libiconv-bootstrap
29482 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29483 all-stageautoprofile: all-stageautoprofile-libiconv
29484 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29485 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29486 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29487 @r=`${PWD_COMMAND}`; export r; \
29488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29489 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29490 $(HOST_EXPORTS) \
29491 $(POSTSTAGE1_HOST_EXPORTS) \
29492 cd $(HOST_SUBDIR)/libiconv && \
29493 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29495 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29496 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29497 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29498 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29503 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29504 $(TARGET-stageautoprofile-libiconv)
29505
29506 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29507 clean-stageautoprofile: clean-stageautoprofile-libiconv
29508 clean-stageautoprofile-libiconv:
29509 @if [ $(current_stage) = stageautoprofile ]; then \
29510 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29511 else \
29512 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29513 $(MAKE) stageautoprofile-start; \
29514 fi; \
29515 cd $(HOST_SUBDIR)/libiconv && \
29516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29517 @endif libiconv-bootstrap
29518
29519
29520 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29521 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29522 maybe-all-stageautofeedback-libiconv:
29523 maybe-clean-stageautofeedback-libiconv:
29524 @if libiconv-bootstrap
29525 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29526 all-stageautofeedback: all-stageautofeedback-libiconv
29527 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29528 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29529 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29530 @r=`${PWD_COMMAND}`; export r; \
29531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29532 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29533 $(HOST_EXPORTS) \
29534 $(POSTSTAGE1_HOST_EXPORTS) \
29535 cd $(HOST_SUBDIR)/libiconv && \
29536 \
29537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29538 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29539 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29540 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29541 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29546 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29547 $(TARGET-stageautofeedback-libiconv)
29548
29549 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29550 clean-stageautofeedback: clean-stageautofeedback-libiconv
29551 clean-stageautofeedback-libiconv:
29552 @if [ $(current_stage) = stageautofeedback ]; then \
29553 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29554 else \
29555 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29556 $(MAKE) stageautofeedback-start; \
29557 fi; \
29558 cd $(HOST_SUBDIR)/libiconv && \
29559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29560 @endif libiconv-bootstrap
29561
29562
29563
29564
29565
29566 .PHONY: check-libiconv maybe-check-libiconv
29567 maybe-check-libiconv:
29568 @if libiconv
29569 maybe-check-libiconv: check-libiconv
29570
29571 check-libiconv:
29572 @: $(MAKE); $(unstage)
29573 @r=`${PWD_COMMAND}`; export r; \
29574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29575 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29576 (cd $(HOST_SUBDIR)/libiconv && \
29577 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29578
29579 @endif libiconv
29580
29581 .PHONY: install-libiconv maybe-install-libiconv
29582 maybe-install-libiconv:
29583 @if libiconv
29584 maybe-install-libiconv: install-libiconv
29585
29586 install-libiconv:
29587
29588 @endif libiconv
29589
29590 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29591 maybe-install-strip-libiconv:
29592 @if libiconv
29593 maybe-install-strip-libiconv: install-strip-libiconv
29594
29595 install-strip-libiconv:
29596
29597 @endif libiconv
29598
29599 # Other targets (info, dvi, pdf, etc.)
29600
29601 .PHONY: maybe-info-libiconv info-libiconv
29602 maybe-info-libiconv:
29603 @if libiconv
29604 maybe-info-libiconv: info-libiconv
29605
29606 # libiconv doesn't support info.
29607 info-libiconv:
29608
29609 @endif libiconv
29610
29611 .PHONY: maybe-dvi-libiconv dvi-libiconv
29612 maybe-dvi-libiconv:
29613 @if libiconv
29614 maybe-dvi-libiconv: dvi-libiconv
29615
29616 dvi-libiconv: \
29617 configure-libiconv
29618 @[ -f ./libiconv/Makefile ] || exit 0; \
29619 r=`${PWD_COMMAND}`; export r; \
29620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29621 $(HOST_EXPORTS) \
29622 for flag in $(EXTRA_HOST_FLAGS) ; do \
29623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29624 done; \
29625 echo "Doing dvi in libiconv"; \
29626 (cd $(HOST_SUBDIR)/libiconv && \
29627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29629 "RANLIB=$${RANLIB}" \
29630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29631 dvi) \
29632 || exit 1
29633
29634 @endif libiconv
29635
29636 .PHONY: maybe-pdf-libiconv pdf-libiconv
29637 maybe-pdf-libiconv:
29638 @if libiconv
29639 maybe-pdf-libiconv: pdf-libiconv
29640
29641 # libiconv doesn't support pdf.
29642 pdf-libiconv:
29643
29644 @endif libiconv
29645
29646 .PHONY: maybe-html-libiconv html-libiconv
29647 maybe-html-libiconv:
29648 @if libiconv
29649 maybe-html-libiconv: html-libiconv
29650
29651 # libiconv doesn't support html.
29652 html-libiconv:
29653
29654 @endif libiconv
29655
29656 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29657 maybe-TAGS-libiconv:
29658 @if libiconv
29659 maybe-TAGS-libiconv: TAGS-libiconv
29660
29661 TAGS-libiconv: \
29662 configure-libiconv
29663 @[ -f ./libiconv/Makefile ] || exit 0; \
29664 r=`${PWD_COMMAND}`; export r; \
29665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29666 $(HOST_EXPORTS) \
29667 for flag in $(EXTRA_HOST_FLAGS) ; do \
29668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29669 done; \
29670 echo "Doing TAGS in libiconv"; \
29671 (cd $(HOST_SUBDIR)/libiconv && \
29672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29674 "RANLIB=$${RANLIB}" \
29675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29676 TAGS) \
29677 || exit 1
29678
29679 @endif libiconv
29680
29681 .PHONY: maybe-install-info-libiconv install-info-libiconv
29682 maybe-install-info-libiconv:
29683 @if libiconv
29684 maybe-install-info-libiconv: install-info-libiconv
29685
29686 # libiconv doesn't support install-info.
29687 install-info-libiconv:
29688
29689 @endif libiconv
29690
29691 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29692 maybe-install-pdf-libiconv:
29693 @if libiconv
29694 maybe-install-pdf-libiconv: install-pdf-libiconv
29695
29696 # libiconv doesn't support install-pdf.
29697 install-pdf-libiconv:
29698
29699 @endif libiconv
29700
29701 .PHONY: maybe-install-html-libiconv install-html-libiconv
29702 maybe-install-html-libiconv:
29703 @if libiconv
29704 maybe-install-html-libiconv: install-html-libiconv
29705
29706 # libiconv doesn't support install-html.
29707 install-html-libiconv:
29708
29709 @endif libiconv
29710
29711 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29712 maybe-installcheck-libiconv:
29713 @if libiconv
29714 maybe-installcheck-libiconv: installcheck-libiconv
29715
29716 installcheck-libiconv: \
29717 configure-libiconv
29718 @[ -f ./libiconv/Makefile ] || exit 0; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 for flag in $(EXTRA_HOST_FLAGS) ; do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 echo "Doing installcheck in libiconv"; \
29726 (cd $(HOST_SUBDIR)/libiconv && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29731 installcheck) \
29732 || exit 1
29733
29734 @endif libiconv
29735
29736 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29737 maybe-mostlyclean-libiconv:
29738 @if libiconv
29739 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29740
29741 mostlyclean-libiconv:
29742 @[ -f ./libiconv/Makefile ] || exit 0; \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(HOST_EXPORTS) \
29746 for flag in $(EXTRA_HOST_FLAGS) ; do \
29747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29748 done; \
29749 echo "Doing mostlyclean in libiconv"; \
29750 (cd $(HOST_SUBDIR)/libiconv && \
29751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29753 "RANLIB=$${RANLIB}" \
29754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29755 mostlyclean) \
29756 || exit 1
29757
29758 @endif libiconv
29759
29760 .PHONY: maybe-clean-libiconv clean-libiconv
29761 maybe-clean-libiconv:
29762 @if libiconv
29763 maybe-clean-libiconv: clean-libiconv
29764
29765 clean-libiconv:
29766 @[ -f ./libiconv/Makefile ] || exit 0; \
29767 r=`${PWD_COMMAND}`; export r; \
29768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29769 $(HOST_EXPORTS) \
29770 for flag in $(EXTRA_HOST_FLAGS) ; do \
29771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29772 done; \
29773 echo "Doing clean in libiconv"; \
29774 (cd $(HOST_SUBDIR)/libiconv && \
29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29777 "RANLIB=$${RANLIB}" \
29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29779 clean) \
29780 || exit 1
29781
29782 @endif libiconv
29783
29784 .PHONY: maybe-distclean-libiconv distclean-libiconv
29785 maybe-distclean-libiconv:
29786 @if libiconv
29787 maybe-distclean-libiconv: distclean-libiconv
29788
29789 distclean-libiconv:
29790 @[ -f ./libiconv/Makefile ] || exit 0; \
29791 r=`${PWD_COMMAND}`; export r; \
29792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29793 $(HOST_EXPORTS) \
29794 for flag in $(EXTRA_HOST_FLAGS) ; do \
29795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29796 done; \
29797 echo "Doing distclean in libiconv"; \
29798 (cd $(HOST_SUBDIR)/libiconv && \
29799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29801 "RANLIB=$${RANLIB}" \
29802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29803 distclean) \
29804 || exit 1
29805
29806 @endif libiconv
29807
29808 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29809 maybe-maintainer-clean-libiconv:
29810 @if libiconv
29811 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29812
29813 maintainer-clean-libiconv:
29814 @[ -f ./libiconv/Makefile ] || exit 0; \
29815 r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 $(HOST_EXPORTS) \
29818 for flag in $(EXTRA_HOST_FLAGS) ; do \
29819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29820 done; \
29821 echo "Doing maintainer-clean in libiconv"; \
29822 (cd $(HOST_SUBDIR)/libiconv && \
29823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29825 "RANLIB=$${RANLIB}" \
29826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29827 maintainer-clean) \
29828 || exit 1
29829
29830 @endif libiconv
29831
29832
29833
29834 .PHONY: configure-m4 maybe-configure-m4
29835 maybe-configure-m4:
29836 @if gcc-bootstrap
29837 configure-m4: stage_current
29838 @endif gcc-bootstrap
29839 @if m4
29840 maybe-configure-m4: configure-m4
29841 configure-m4:
29842 @: $(MAKE); $(unstage)
29843 @r=`${PWD_COMMAND}`; export r; \
29844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29845 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29847 $(HOST_EXPORTS) \
29848 echo Configuring in $(HOST_SUBDIR)/m4; \
29849 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29850 case $(srcdir) in \
29851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29852 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29854 esac; \
29855 module_srcdir=m4; \
29856 $(SHELL) \
29857 $$s/$$module_srcdir/configure \
29858 --srcdir=$${topdir}/$$module_srcdir \
29859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29860 --target=${target_alias} \
29861 || exit 1
29862 @endif m4
29863
29864
29865
29866
29867
29868 .PHONY: all-m4 maybe-all-m4
29869 maybe-all-m4:
29870 @if gcc-bootstrap
29871 all-m4: stage_current
29872 @endif gcc-bootstrap
29873 @if m4
29874 TARGET-m4=all
29875 maybe-all-m4: all-m4
29876 all-m4: configure-m4
29877 @: $(MAKE); $(unstage)
29878 @r=`${PWD_COMMAND}`; export r; \
29879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 $(HOST_EXPORTS) \
29881 (cd $(HOST_SUBDIR)/m4 && \
29882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29883 $(TARGET-m4))
29884 @endif m4
29885
29886
29887
29888
29889 .PHONY: check-m4 maybe-check-m4
29890 maybe-check-m4:
29891 @if m4
29892 maybe-check-m4: check-m4
29893
29894 check-m4:
29895 @: $(MAKE); $(unstage)
29896 @r=`${PWD_COMMAND}`; export r; \
29897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29898 $(HOST_EXPORTS) \
29899 (cd $(HOST_SUBDIR)/m4 && \
29900 $(MAKE) $(FLAGS_TO_PASS) check)
29901
29902 @endif m4
29903
29904 .PHONY: install-m4 maybe-install-m4
29905 maybe-install-m4:
29906 @if m4
29907 maybe-install-m4: install-m4
29908
29909 install-m4: installdirs
29910 @: $(MAKE); $(unstage)
29911 @r=`${PWD_COMMAND}`; export r; \
29912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29913 $(HOST_EXPORTS) \
29914 (cd $(HOST_SUBDIR)/m4 && \
29915 $(MAKE) $(FLAGS_TO_PASS) install)
29916
29917 @endif m4
29918
29919 .PHONY: install-strip-m4 maybe-install-strip-m4
29920 maybe-install-strip-m4:
29921 @if m4
29922 maybe-install-strip-m4: install-strip-m4
29923
29924 install-strip-m4: installdirs
29925 @: $(MAKE); $(unstage)
29926 @r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 (cd $(HOST_SUBDIR)/m4 && \
29930 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29931
29932 @endif m4
29933
29934 # Other targets (info, dvi, pdf, etc.)
29935
29936 .PHONY: maybe-info-m4 info-m4
29937 maybe-info-m4:
29938 @if m4
29939 maybe-info-m4: info-m4
29940
29941 info-m4: \
29942 configure-m4
29943 @: $(MAKE); $(unstage)
29944 @[ -f ./m4/Makefile ] || exit 0; \
29945 r=`${PWD_COMMAND}`; export r; \
29946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29947 $(HOST_EXPORTS) \
29948 for flag in $(EXTRA_HOST_FLAGS) ; do \
29949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29950 done; \
29951 echo "Doing info in m4"; \
29952 (cd $(HOST_SUBDIR)/m4 && \
29953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29955 "RANLIB=$${RANLIB}" \
29956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29957 info) \
29958 || exit 1
29959
29960 @endif m4
29961
29962 .PHONY: maybe-dvi-m4 dvi-m4
29963 maybe-dvi-m4:
29964 @if m4
29965 maybe-dvi-m4: dvi-m4
29966
29967 dvi-m4: \
29968 configure-m4
29969 @: $(MAKE); $(unstage)
29970 @[ -f ./m4/Makefile ] || exit 0; \
29971 r=`${PWD_COMMAND}`; export r; \
29972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29973 $(HOST_EXPORTS) \
29974 for flag in $(EXTRA_HOST_FLAGS) ; do \
29975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29976 done; \
29977 echo "Doing dvi in m4"; \
29978 (cd $(HOST_SUBDIR)/m4 && \
29979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29981 "RANLIB=$${RANLIB}" \
29982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29983 dvi) \
29984 || exit 1
29985
29986 @endif m4
29987
29988 .PHONY: maybe-pdf-m4 pdf-m4
29989 maybe-pdf-m4:
29990 @if m4
29991 maybe-pdf-m4: pdf-m4
29992
29993 pdf-m4: \
29994 configure-m4
29995 @: $(MAKE); $(unstage)
29996 @[ -f ./m4/Makefile ] || exit 0; \
29997 r=`${PWD_COMMAND}`; export r; \
29998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29999 $(HOST_EXPORTS) \
30000 for flag in $(EXTRA_HOST_FLAGS) ; do \
30001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30002 done; \
30003 echo "Doing pdf in m4"; \
30004 (cd $(HOST_SUBDIR)/m4 && \
30005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30007 "RANLIB=$${RANLIB}" \
30008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30009 pdf) \
30010 || exit 1
30011
30012 @endif m4
30013
30014 .PHONY: maybe-html-m4 html-m4
30015 maybe-html-m4:
30016 @if m4
30017 maybe-html-m4: html-m4
30018
30019 html-m4: \
30020 configure-m4
30021 @: $(MAKE); $(unstage)
30022 @[ -f ./m4/Makefile ] || exit 0; \
30023 r=`${PWD_COMMAND}`; export r; \
30024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30025 $(HOST_EXPORTS) \
30026 for flag in $(EXTRA_HOST_FLAGS) ; do \
30027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30028 done; \
30029 echo "Doing html in m4"; \
30030 (cd $(HOST_SUBDIR)/m4 && \
30031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30033 "RANLIB=$${RANLIB}" \
30034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30035 html) \
30036 || exit 1
30037
30038 @endif m4
30039
30040 .PHONY: maybe-TAGS-m4 TAGS-m4
30041 maybe-TAGS-m4:
30042 @if m4
30043 maybe-TAGS-m4: TAGS-m4
30044
30045 TAGS-m4: \
30046 configure-m4
30047 @: $(MAKE); $(unstage)
30048 @[ -f ./m4/Makefile ] || exit 0; \
30049 r=`${PWD_COMMAND}`; export r; \
30050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30051 $(HOST_EXPORTS) \
30052 for flag in $(EXTRA_HOST_FLAGS) ; do \
30053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30054 done; \
30055 echo "Doing TAGS in m4"; \
30056 (cd $(HOST_SUBDIR)/m4 && \
30057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30059 "RANLIB=$${RANLIB}" \
30060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30061 TAGS) \
30062 || exit 1
30063
30064 @endif m4
30065
30066 .PHONY: maybe-install-info-m4 install-info-m4
30067 maybe-install-info-m4:
30068 @if m4
30069 maybe-install-info-m4: install-info-m4
30070
30071 install-info-m4: \
30072 configure-m4 \
30073 info-m4
30074 @: $(MAKE); $(unstage)
30075 @[ -f ./m4/Makefile ] || exit 0; \
30076 r=`${PWD_COMMAND}`; export r; \
30077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30078 $(HOST_EXPORTS) \
30079 for flag in $(EXTRA_HOST_FLAGS) ; do \
30080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30081 done; \
30082 echo "Doing install-info in m4"; \
30083 (cd $(HOST_SUBDIR)/m4 && \
30084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30086 "RANLIB=$${RANLIB}" \
30087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30088 install-info) \
30089 || exit 1
30090
30091 @endif m4
30092
30093 .PHONY: maybe-install-pdf-m4 install-pdf-m4
30094 maybe-install-pdf-m4:
30095 @if m4
30096 maybe-install-pdf-m4: install-pdf-m4
30097
30098 install-pdf-m4: \
30099 configure-m4 \
30100 pdf-m4
30101 @: $(MAKE); $(unstage)
30102 @[ -f ./m4/Makefile ] || exit 0; \
30103 r=`${PWD_COMMAND}`; export r; \
30104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30105 $(HOST_EXPORTS) \
30106 for flag in $(EXTRA_HOST_FLAGS) ; do \
30107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30108 done; \
30109 echo "Doing install-pdf in m4"; \
30110 (cd $(HOST_SUBDIR)/m4 && \
30111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30113 "RANLIB=$${RANLIB}" \
30114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30115 install-pdf) \
30116 || exit 1
30117
30118 @endif m4
30119
30120 .PHONY: maybe-install-html-m4 install-html-m4
30121 maybe-install-html-m4:
30122 @if m4
30123 maybe-install-html-m4: install-html-m4
30124
30125 install-html-m4: \
30126 configure-m4 \
30127 html-m4
30128 @: $(MAKE); $(unstage)
30129 @[ -f ./m4/Makefile ] || exit 0; \
30130 r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 $(HOST_EXPORTS) \
30133 for flag in $(EXTRA_HOST_FLAGS) ; do \
30134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30135 done; \
30136 echo "Doing install-html in m4"; \
30137 (cd $(HOST_SUBDIR)/m4 && \
30138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30140 "RANLIB=$${RANLIB}" \
30141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30142 install-html) \
30143 || exit 1
30144
30145 @endif m4
30146
30147 .PHONY: maybe-installcheck-m4 installcheck-m4
30148 maybe-installcheck-m4:
30149 @if m4
30150 maybe-installcheck-m4: installcheck-m4
30151
30152 installcheck-m4: \
30153 configure-m4
30154 @: $(MAKE); $(unstage)
30155 @[ -f ./m4/Makefile ] || exit 0; \
30156 r=`${PWD_COMMAND}`; export r; \
30157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30158 $(HOST_EXPORTS) \
30159 for flag in $(EXTRA_HOST_FLAGS) ; do \
30160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30161 done; \
30162 echo "Doing installcheck in m4"; \
30163 (cd $(HOST_SUBDIR)/m4 && \
30164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30166 "RANLIB=$${RANLIB}" \
30167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30168 installcheck) \
30169 || exit 1
30170
30171 @endif m4
30172
30173 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
30174 maybe-mostlyclean-m4:
30175 @if m4
30176 maybe-mostlyclean-m4: mostlyclean-m4
30177
30178 mostlyclean-m4:
30179 @: $(MAKE); $(unstage)
30180 @[ -f ./m4/Makefile ] || exit 0; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(HOST_EXPORTS) \
30184 for flag in $(EXTRA_HOST_FLAGS) ; do \
30185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30186 done; \
30187 echo "Doing mostlyclean in m4"; \
30188 (cd $(HOST_SUBDIR)/m4 && \
30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30191 "RANLIB=$${RANLIB}" \
30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30193 mostlyclean) \
30194 || exit 1
30195
30196 @endif m4
30197
30198 .PHONY: maybe-clean-m4 clean-m4
30199 maybe-clean-m4:
30200 @if m4
30201 maybe-clean-m4: clean-m4
30202
30203 clean-m4:
30204 @: $(MAKE); $(unstage)
30205 @[ -f ./m4/Makefile ] || exit 0; \
30206 r=`${PWD_COMMAND}`; export r; \
30207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30208 $(HOST_EXPORTS) \
30209 for flag in $(EXTRA_HOST_FLAGS) ; do \
30210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30211 done; \
30212 echo "Doing clean in m4"; \
30213 (cd $(HOST_SUBDIR)/m4 && \
30214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30216 "RANLIB=$${RANLIB}" \
30217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30218 clean) \
30219 || exit 1
30220
30221 @endif m4
30222
30223 .PHONY: maybe-distclean-m4 distclean-m4
30224 maybe-distclean-m4:
30225 @if m4
30226 maybe-distclean-m4: distclean-m4
30227
30228 distclean-m4:
30229 @: $(MAKE); $(unstage)
30230 @[ -f ./m4/Makefile ] || exit 0; \
30231 r=`${PWD_COMMAND}`; export r; \
30232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30233 $(HOST_EXPORTS) \
30234 for flag in $(EXTRA_HOST_FLAGS) ; do \
30235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30236 done; \
30237 echo "Doing distclean in m4"; \
30238 (cd $(HOST_SUBDIR)/m4 && \
30239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30241 "RANLIB=$${RANLIB}" \
30242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30243 distclean) \
30244 || exit 1
30245
30246 @endif m4
30247
30248 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30249 maybe-maintainer-clean-m4:
30250 @if m4
30251 maybe-maintainer-clean-m4: maintainer-clean-m4
30252
30253 maintainer-clean-m4:
30254 @: $(MAKE); $(unstage)
30255 @[ -f ./m4/Makefile ] || exit 0; \
30256 r=`${PWD_COMMAND}`; export r; \
30257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30258 $(HOST_EXPORTS) \
30259 for flag in $(EXTRA_HOST_FLAGS) ; do \
30260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30261 done; \
30262 echo "Doing maintainer-clean in m4"; \
30263 (cd $(HOST_SUBDIR)/m4 && \
30264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30266 "RANLIB=$${RANLIB}" \
30267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30268 maintainer-clean) \
30269 || exit 1
30270
30271 @endif m4
30272
30273
30274
30275 .PHONY: configure-readline maybe-configure-readline
30276 maybe-configure-readline:
30277 @if gcc-bootstrap
30278 configure-readline: stage_current
30279 @endif gcc-bootstrap
30280 @if readline
30281 maybe-configure-readline: configure-readline
30282 configure-readline:
30283 @: $(MAKE); $(unstage)
30284 @r=`${PWD_COMMAND}`; export r; \
30285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30286 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30288 $(HOST_EXPORTS) \
30289 echo Configuring in $(HOST_SUBDIR)/readline; \
30290 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30291 case $(srcdir) in \
30292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30293 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30295 esac; \
30296 module_srcdir=readline; \
30297 $(SHELL) \
30298 $$s/$$module_srcdir/configure \
30299 --srcdir=$${topdir}/$$module_srcdir \
30300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30301 --target=${target_alias} \
30302 || exit 1
30303 @endif readline
30304
30305
30306
30307
30308
30309 .PHONY: all-readline maybe-all-readline
30310 maybe-all-readline:
30311 @if gcc-bootstrap
30312 all-readline: stage_current
30313 @endif gcc-bootstrap
30314 @if readline
30315 TARGET-readline=all
30316 maybe-all-readline: all-readline
30317 all-readline: configure-readline
30318 @: $(MAKE); $(unstage)
30319 @r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 $(HOST_EXPORTS) \
30322 (cd $(HOST_SUBDIR)/readline && \
30323 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30324 $(TARGET-readline))
30325 @endif readline
30326
30327
30328
30329
30330 .PHONY: check-readline maybe-check-readline
30331 maybe-check-readline:
30332 @if readline
30333 maybe-check-readline: check-readline
30334
30335 check-readline:
30336 @: $(MAKE); $(unstage)
30337 @r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 $(HOST_EXPORTS) \
30340 (cd $(HOST_SUBDIR)/readline && \
30341 $(MAKE) $(FLAGS_TO_PASS) check)
30342
30343 @endif readline
30344
30345 .PHONY: install-readline maybe-install-readline
30346 maybe-install-readline:
30347 @if readline
30348 maybe-install-readline: install-readline
30349
30350 install-readline: installdirs
30351 @: $(MAKE); $(unstage)
30352 @r=`${PWD_COMMAND}`; export r; \
30353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30354 $(HOST_EXPORTS) \
30355 (cd $(HOST_SUBDIR)/readline && \
30356 $(MAKE) $(FLAGS_TO_PASS) install)
30357
30358 @endif readline
30359
30360 .PHONY: install-strip-readline maybe-install-strip-readline
30361 maybe-install-strip-readline:
30362 @if readline
30363 maybe-install-strip-readline: install-strip-readline
30364
30365 install-strip-readline: installdirs
30366 @: $(MAKE); $(unstage)
30367 @r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(HOST_EXPORTS) \
30370 (cd $(HOST_SUBDIR)/readline && \
30371 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30372
30373 @endif readline
30374
30375 # Other targets (info, dvi, pdf, etc.)
30376
30377 .PHONY: maybe-info-readline info-readline
30378 maybe-info-readline:
30379 @if readline
30380 maybe-info-readline: info-readline
30381
30382 info-readline: \
30383 configure-readline
30384 @: $(MAKE); $(unstage)
30385 @[ -f ./readline/Makefile ] || exit 0; \
30386 r=`${PWD_COMMAND}`; export r; \
30387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30388 $(HOST_EXPORTS) \
30389 for flag in $(EXTRA_HOST_FLAGS) ; do \
30390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30391 done; \
30392 echo "Doing info in readline"; \
30393 (cd $(HOST_SUBDIR)/readline && \
30394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30396 "RANLIB=$${RANLIB}" \
30397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30398 info) \
30399 || exit 1
30400
30401 @endif readline
30402
30403 .PHONY: maybe-dvi-readline dvi-readline
30404 maybe-dvi-readline:
30405 @if readline
30406 maybe-dvi-readline: dvi-readline
30407
30408 dvi-readline: \
30409 configure-readline
30410 @: $(MAKE); $(unstage)
30411 @[ -f ./readline/Makefile ] || exit 0; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(HOST_EXPORTS) \
30415 for flag in $(EXTRA_HOST_FLAGS) ; do \
30416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30417 done; \
30418 echo "Doing dvi in readline"; \
30419 (cd $(HOST_SUBDIR)/readline && \
30420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30422 "RANLIB=$${RANLIB}" \
30423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30424 dvi) \
30425 || exit 1
30426
30427 @endif readline
30428
30429 .PHONY: maybe-pdf-readline pdf-readline
30430 maybe-pdf-readline:
30431 @if readline
30432 maybe-pdf-readline: pdf-readline
30433
30434 pdf-readline: \
30435 configure-readline
30436 @: $(MAKE); $(unstage)
30437 @[ -f ./readline/Makefile ] || exit 0; \
30438 r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30440 $(HOST_EXPORTS) \
30441 for flag in $(EXTRA_HOST_FLAGS) ; do \
30442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30443 done; \
30444 echo "Doing pdf in readline"; \
30445 (cd $(HOST_SUBDIR)/readline && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30448 "RANLIB=$${RANLIB}" \
30449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30450 pdf) \
30451 || exit 1
30452
30453 @endif readline
30454
30455 .PHONY: maybe-html-readline html-readline
30456 maybe-html-readline:
30457 @if readline
30458 maybe-html-readline: html-readline
30459
30460 html-readline: \
30461 configure-readline
30462 @: $(MAKE); $(unstage)
30463 @[ -f ./readline/Makefile ] || exit 0; \
30464 r=`${PWD_COMMAND}`; export r; \
30465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30466 $(HOST_EXPORTS) \
30467 for flag in $(EXTRA_HOST_FLAGS) ; do \
30468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30469 done; \
30470 echo "Doing html in readline"; \
30471 (cd $(HOST_SUBDIR)/readline && \
30472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30474 "RANLIB=$${RANLIB}" \
30475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30476 html) \
30477 || exit 1
30478
30479 @endif readline
30480
30481 .PHONY: maybe-TAGS-readline TAGS-readline
30482 maybe-TAGS-readline:
30483 @if readline
30484 maybe-TAGS-readline: TAGS-readline
30485
30486 TAGS-readline: \
30487 configure-readline
30488 @: $(MAKE); $(unstage)
30489 @[ -f ./readline/Makefile ] || exit 0; \
30490 r=`${PWD_COMMAND}`; export r; \
30491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30492 $(HOST_EXPORTS) \
30493 for flag in $(EXTRA_HOST_FLAGS) ; do \
30494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30495 done; \
30496 echo "Doing TAGS in readline"; \
30497 (cd $(HOST_SUBDIR)/readline && \
30498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30500 "RANLIB=$${RANLIB}" \
30501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30502 TAGS) \
30503 || exit 1
30504
30505 @endif readline
30506
30507 .PHONY: maybe-install-info-readline install-info-readline
30508 maybe-install-info-readline:
30509 @if readline
30510 maybe-install-info-readline: install-info-readline
30511
30512 install-info-readline: \
30513 configure-readline \
30514 info-readline
30515 @: $(MAKE); $(unstage)
30516 @[ -f ./readline/Makefile ] || exit 0; \
30517 r=`${PWD_COMMAND}`; export r; \
30518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30519 $(HOST_EXPORTS) \
30520 for flag in $(EXTRA_HOST_FLAGS) ; do \
30521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30522 done; \
30523 echo "Doing install-info in readline"; \
30524 (cd $(HOST_SUBDIR)/readline && \
30525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30527 "RANLIB=$${RANLIB}" \
30528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30529 install-info) \
30530 || exit 1
30531
30532 @endif readline
30533
30534 .PHONY: maybe-install-pdf-readline install-pdf-readline
30535 maybe-install-pdf-readline:
30536 @if readline
30537 maybe-install-pdf-readline: install-pdf-readline
30538
30539 install-pdf-readline: \
30540 configure-readline \
30541 pdf-readline
30542 @: $(MAKE); $(unstage)
30543 @[ -f ./readline/Makefile ] || exit 0; \
30544 r=`${PWD_COMMAND}`; export r; \
30545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30546 $(HOST_EXPORTS) \
30547 for flag in $(EXTRA_HOST_FLAGS) ; do \
30548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30549 done; \
30550 echo "Doing install-pdf in readline"; \
30551 (cd $(HOST_SUBDIR)/readline && \
30552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30554 "RANLIB=$${RANLIB}" \
30555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30556 install-pdf) \
30557 || exit 1
30558
30559 @endif readline
30560
30561 .PHONY: maybe-install-html-readline install-html-readline
30562 maybe-install-html-readline:
30563 @if readline
30564 maybe-install-html-readline: install-html-readline
30565
30566 install-html-readline: \
30567 configure-readline \
30568 html-readline
30569 @: $(MAKE); $(unstage)
30570 @[ -f ./readline/Makefile ] || exit 0; \
30571 r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(HOST_EXPORTS) \
30574 for flag in $(EXTRA_HOST_FLAGS) ; do \
30575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30576 done; \
30577 echo "Doing install-html in readline"; \
30578 (cd $(HOST_SUBDIR)/readline && \
30579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30581 "RANLIB=$${RANLIB}" \
30582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30583 install-html) \
30584 || exit 1
30585
30586 @endif readline
30587
30588 .PHONY: maybe-installcheck-readline installcheck-readline
30589 maybe-installcheck-readline:
30590 @if readline
30591 maybe-installcheck-readline: installcheck-readline
30592
30593 installcheck-readline: \
30594 configure-readline
30595 @: $(MAKE); $(unstage)
30596 @[ -f ./readline/Makefile ] || exit 0; \
30597 r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(HOST_EXPORTS) \
30600 for flag in $(EXTRA_HOST_FLAGS) ; do \
30601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30602 done; \
30603 echo "Doing installcheck in readline"; \
30604 (cd $(HOST_SUBDIR)/readline && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30607 "RANLIB=$${RANLIB}" \
30608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30609 installcheck) \
30610 || exit 1
30611
30612 @endif readline
30613
30614 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30615 maybe-mostlyclean-readline:
30616 @if readline
30617 maybe-mostlyclean-readline: mostlyclean-readline
30618
30619 mostlyclean-readline:
30620 @: $(MAKE); $(unstage)
30621 @[ -f ./readline/Makefile ] || exit 0; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(HOST_EXPORTS) \
30625 for flag in $(EXTRA_HOST_FLAGS) ; do \
30626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30627 done; \
30628 echo "Doing mostlyclean in readline"; \
30629 (cd $(HOST_SUBDIR)/readline && \
30630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30632 "RANLIB=$${RANLIB}" \
30633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30634 mostlyclean) \
30635 || exit 1
30636
30637 @endif readline
30638
30639 .PHONY: maybe-clean-readline clean-readline
30640 maybe-clean-readline:
30641 @if readline
30642 maybe-clean-readline: clean-readline
30643
30644 clean-readline:
30645 @: $(MAKE); $(unstage)
30646 @[ -f ./readline/Makefile ] || exit 0; \
30647 r=`${PWD_COMMAND}`; export r; \
30648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30649 $(HOST_EXPORTS) \
30650 for flag in $(EXTRA_HOST_FLAGS) ; do \
30651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30652 done; \
30653 echo "Doing clean in readline"; \
30654 (cd $(HOST_SUBDIR)/readline && \
30655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30657 "RANLIB=$${RANLIB}" \
30658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30659 clean) \
30660 || exit 1
30661
30662 @endif readline
30663
30664 .PHONY: maybe-distclean-readline distclean-readline
30665 maybe-distclean-readline:
30666 @if readline
30667 maybe-distclean-readline: distclean-readline
30668
30669 distclean-readline:
30670 @: $(MAKE); $(unstage)
30671 @[ -f ./readline/Makefile ] || exit 0; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 $(HOST_EXPORTS) \
30675 for flag in $(EXTRA_HOST_FLAGS) ; do \
30676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30677 done; \
30678 echo "Doing distclean in readline"; \
30679 (cd $(HOST_SUBDIR)/readline && \
30680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30682 "RANLIB=$${RANLIB}" \
30683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30684 distclean) \
30685 || exit 1
30686
30687 @endif readline
30688
30689 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30690 maybe-maintainer-clean-readline:
30691 @if readline
30692 maybe-maintainer-clean-readline: maintainer-clean-readline
30693
30694 maintainer-clean-readline:
30695 @: $(MAKE); $(unstage)
30696 @[ -f ./readline/Makefile ] || exit 0; \
30697 r=`${PWD_COMMAND}`; export r; \
30698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30699 $(HOST_EXPORTS) \
30700 for flag in $(EXTRA_HOST_FLAGS) ; do \
30701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30702 done; \
30703 echo "Doing maintainer-clean in readline"; \
30704 (cd $(HOST_SUBDIR)/readline && \
30705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30707 "RANLIB=$${RANLIB}" \
30708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30709 maintainer-clean) \
30710 || exit 1
30711
30712 @endif readline
30713
30714
30715
30716 .PHONY: configure-sid maybe-configure-sid
30717 maybe-configure-sid:
30718 @if gcc-bootstrap
30719 configure-sid: stage_current
30720 @endif gcc-bootstrap
30721 @if sid
30722 maybe-configure-sid: configure-sid
30723 configure-sid:
30724 @: $(MAKE); $(unstage)
30725 @r=`${PWD_COMMAND}`; export r; \
30726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30727 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30729 $(HOST_EXPORTS) \
30730 echo Configuring in $(HOST_SUBDIR)/sid; \
30731 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30732 case $(srcdir) in \
30733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30734 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30736 esac; \
30737 module_srcdir=sid; \
30738 $(SHELL) \
30739 $$s/$$module_srcdir/configure \
30740 --srcdir=$${topdir}/$$module_srcdir \
30741 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30742 --target=${target_alias} \
30743 || exit 1
30744 @endif sid
30745
30746
30747
30748
30749
30750 .PHONY: all-sid maybe-all-sid
30751 maybe-all-sid:
30752 @if gcc-bootstrap
30753 all-sid: stage_current
30754 @endif gcc-bootstrap
30755 @if sid
30756 TARGET-sid=all
30757 maybe-all-sid: all-sid
30758 all-sid: configure-sid
30759 @: $(MAKE); $(unstage)
30760 @r=`${PWD_COMMAND}`; export r; \
30761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30762 $(HOST_EXPORTS) \
30763 (cd $(HOST_SUBDIR)/sid && \
30764 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30765 $(TARGET-sid))
30766 @endif sid
30767
30768
30769
30770
30771 .PHONY: check-sid maybe-check-sid
30772 maybe-check-sid:
30773 @if sid
30774 maybe-check-sid: check-sid
30775
30776 check-sid:
30777 @: $(MAKE); $(unstage)
30778 @r=`${PWD_COMMAND}`; export r; \
30779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30780 $(HOST_EXPORTS) \
30781 (cd $(HOST_SUBDIR)/sid && \
30782 $(MAKE) $(FLAGS_TO_PASS) check)
30783
30784 @endif sid
30785
30786 .PHONY: install-sid maybe-install-sid
30787 maybe-install-sid:
30788 @if sid
30789 maybe-install-sid: install-sid
30790
30791 install-sid: installdirs
30792 @: $(MAKE); $(unstage)
30793 @r=`${PWD_COMMAND}`; export r; \
30794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30795 $(HOST_EXPORTS) \
30796 (cd $(HOST_SUBDIR)/sid && \
30797 $(MAKE) $(FLAGS_TO_PASS) install)
30798
30799 @endif sid
30800
30801 .PHONY: install-strip-sid maybe-install-strip-sid
30802 maybe-install-strip-sid:
30803 @if sid
30804 maybe-install-strip-sid: install-strip-sid
30805
30806 install-strip-sid: installdirs
30807 @: $(MAKE); $(unstage)
30808 @r=`${PWD_COMMAND}`; export r; \
30809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30810 $(HOST_EXPORTS) \
30811 (cd $(HOST_SUBDIR)/sid && \
30812 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30813
30814 @endif sid
30815
30816 # Other targets (info, dvi, pdf, etc.)
30817
30818 .PHONY: maybe-info-sid info-sid
30819 maybe-info-sid:
30820 @if sid
30821 maybe-info-sid: info-sid
30822
30823 info-sid: \
30824 configure-sid
30825 @: $(MAKE); $(unstage)
30826 @[ -f ./sid/Makefile ] || exit 0; \
30827 r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 $(HOST_EXPORTS) \
30830 for flag in $(EXTRA_HOST_FLAGS) ; do \
30831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30832 done; \
30833 echo "Doing info in sid"; \
30834 (cd $(HOST_SUBDIR)/sid && \
30835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30837 "RANLIB=$${RANLIB}" \
30838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30839 info) \
30840 || exit 1
30841
30842 @endif sid
30843
30844 .PHONY: maybe-dvi-sid dvi-sid
30845 maybe-dvi-sid:
30846 @if sid
30847 maybe-dvi-sid: dvi-sid
30848
30849 dvi-sid: \
30850 configure-sid
30851 @: $(MAKE); $(unstage)
30852 @[ -f ./sid/Makefile ] || exit 0; \
30853 r=`${PWD_COMMAND}`; export r; \
30854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30855 $(HOST_EXPORTS) \
30856 for flag in $(EXTRA_HOST_FLAGS) ; do \
30857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30858 done; \
30859 echo "Doing dvi in sid"; \
30860 (cd $(HOST_SUBDIR)/sid && \
30861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30863 "RANLIB=$${RANLIB}" \
30864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30865 dvi) \
30866 || exit 1
30867
30868 @endif sid
30869
30870 .PHONY: maybe-pdf-sid pdf-sid
30871 maybe-pdf-sid:
30872 @if sid
30873 maybe-pdf-sid: pdf-sid
30874
30875 pdf-sid: \
30876 configure-sid
30877 @: $(MAKE); $(unstage)
30878 @[ -f ./sid/Makefile ] || exit 0; \
30879 r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(HOST_EXPORTS) \
30882 for flag in $(EXTRA_HOST_FLAGS) ; do \
30883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30884 done; \
30885 echo "Doing pdf in sid"; \
30886 (cd $(HOST_SUBDIR)/sid && \
30887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30889 "RANLIB=$${RANLIB}" \
30890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30891 pdf) \
30892 || exit 1
30893
30894 @endif sid
30895
30896 .PHONY: maybe-html-sid html-sid
30897 maybe-html-sid:
30898 @if sid
30899 maybe-html-sid: html-sid
30900
30901 html-sid: \
30902 configure-sid
30903 @: $(MAKE); $(unstage)
30904 @[ -f ./sid/Makefile ] || exit 0; \
30905 r=`${PWD_COMMAND}`; export r; \
30906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30907 $(HOST_EXPORTS) \
30908 for flag in $(EXTRA_HOST_FLAGS) ; do \
30909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30910 done; \
30911 echo "Doing html in sid"; \
30912 (cd $(HOST_SUBDIR)/sid && \
30913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30915 "RANLIB=$${RANLIB}" \
30916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30917 html) \
30918 || exit 1
30919
30920 @endif sid
30921
30922 .PHONY: maybe-TAGS-sid TAGS-sid
30923 maybe-TAGS-sid:
30924 @if sid
30925 maybe-TAGS-sid: TAGS-sid
30926
30927 TAGS-sid: \
30928 configure-sid
30929 @: $(MAKE); $(unstage)
30930 @[ -f ./sid/Makefile ] || exit 0; \
30931 r=`${PWD_COMMAND}`; export r; \
30932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30933 $(HOST_EXPORTS) \
30934 for flag in $(EXTRA_HOST_FLAGS) ; do \
30935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30936 done; \
30937 echo "Doing TAGS in sid"; \
30938 (cd $(HOST_SUBDIR)/sid && \
30939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30941 "RANLIB=$${RANLIB}" \
30942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30943 TAGS) \
30944 || exit 1
30945
30946 @endif sid
30947
30948 .PHONY: maybe-install-info-sid install-info-sid
30949 maybe-install-info-sid:
30950 @if sid
30951 maybe-install-info-sid: install-info-sid
30952
30953 install-info-sid: \
30954 configure-sid \
30955 info-sid
30956 @: $(MAKE); $(unstage)
30957 @[ -f ./sid/Makefile ] || exit 0; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 $(HOST_EXPORTS) \
30961 for flag in $(EXTRA_HOST_FLAGS) ; do \
30962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30963 done; \
30964 echo "Doing install-info in sid"; \
30965 (cd $(HOST_SUBDIR)/sid && \
30966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30968 "RANLIB=$${RANLIB}" \
30969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30970 install-info) \
30971 || exit 1
30972
30973 @endif sid
30974
30975 .PHONY: maybe-install-pdf-sid install-pdf-sid
30976 maybe-install-pdf-sid:
30977 @if sid
30978 maybe-install-pdf-sid: install-pdf-sid
30979
30980 install-pdf-sid: \
30981 configure-sid \
30982 pdf-sid
30983 @: $(MAKE); $(unstage)
30984 @[ -f ./sid/Makefile ] || exit 0; \
30985 r=`${PWD_COMMAND}`; export r; \
30986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30987 $(HOST_EXPORTS) \
30988 for flag in $(EXTRA_HOST_FLAGS) ; do \
30989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30990 done; \
30991 echo "Doing install-pdf in sid"; \
30992 (cd $(HOST_SUBDIR)/sid && \
30993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30995 "RANLIB=$${RANLIB}" \
30996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30997 install-pdf) \
30998 || exit 1
30999
31000 @endif sid
31001
31002 .PHONY: maybe-install-html-sid install-html-sid
31003 maybe-install-html-sid:
31004 @if sid
31005 maybe-install-html-sid: install-html-sid
31006
31007 install-html-sid: \
31008 configure-sid \
31009 html-sid
31010 @: $(MAKE); $(unstage)
31011 @[ -f ./sid/Makefile ] || exit 0; \
31012 r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31014 $(HOST_EXPORTS) \
31015 for flag in $(EXTRA_HOST_FLAGS) ; do \
31016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31017 done; \
31018 echo "Doing install-html in sid"; \
31019 (cd $(HOST_SUBDIR)/sid && \
31020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31022 "RANLIB=$${RANLIB}" \
31023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31024 install-html) \
31025 || exit 1
31026
31027 @endif sid
31028
31029 .PHONY: maybe-installcheck-sid installcheck-sid
31030 maybe-installcheck-sid:
31031 @if sid
31032 maybe-installcheck-sid: installcheck-sid
31033
31034 installcheck-sid: \
31035 configure-sid
31036 @: $(MAKE); $(unstage)
31037 @[ -f ./sid/Makefile ] || exit 0; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 for flag in $(EXTRA_HOST_FLAGS) ; do \
31042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31043 done; \
31044 echo "Doing installcheck in sid"; \
31045 (cd $(HOST_SUBDIR)/sid && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31050 installcheck) \
31051 || exit 1
31052
31053 @endif sid
31054
31055 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
31056 maybe-mostlyclean-sid:
31057 @if sid
31058 maybe-mostlyclean-sid: mostlyclean-sid
31059
31060 mostlyclean-sid:
31061 @: $(MAKE); $(unstage)
31062 @[ -f ./sid/Makefile ] || exit 0; \
31063 r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(HOST_EXPORTS) \
31066 for flag in $(EXTRA_HOST_FLAGS) ; do \
31067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31068 done; \
31069 echo "Doing mostlyclean in sid"; \
31070 (cd $(HOST_SUBDIR)/sid && \
31071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31073 "RANLIB=$${RANLIB}" \
31074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31075 mostlyclean) \
31076 || exit 1
31077
31078 @endif sid
31079
31080 .PHONY: maybe-clean-sid clean-sid
31081 maybe-clean-sid:
31082 @if sid
31083 maybe-clean-sid: clean-sid
31084
31085 clean-sid:
31086 @: $(MAKE); $(unstage)
31087 @[ -f ./sid/Makefile ] || exit 0; \
31088 r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(HOST_EXPORTS) \
31091 for flag in $(EXTRA_HOST_FLAGS) ; do \
31092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31093 done; \
31094 echo "Doing clean in sid"; \
31095 (cd $(HOST_SUBDIR)/sid && \
31096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31098 "RANLIB=$${RANLIB}" \
31099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31100 clean) \
31101 || exit 1
31102
31103 @endif sid
31104
31105 .PHONY: maybe-distclean-sid distclean-sid
31106 maybe-distclean-sid:
31107 @if sid
31108 maybe-distclean-sid: distclean-sid
31109
31110 distclean-sid:
31111 @: $(MAKE); $(unstage)
31112 @[ -f ./sid/Makefile ] || exit 0; \
31113 r=`${PWD_COMMAND}`; export r; \
31114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31115 $(HOST_EXPORTS) \
31116 for flag in $(EXTRA_HOST_FLAGS) ; do \
31117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31118 done; \
31119 echo "Doing distclean in sid"; \
31120 (cd $(HOST_SUBDIR)/sid && \
31121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31123 "RANLIB=$${RANLIB}" \
31124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31125 distclean) \
31126 || exit 1
31127
31128 @endif sid
31129
31130 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
31131 maybe-maintainer-clean-sid:
31132 @if sid
31133 maybe-maintainer-clean-sid: maintainer-clean-sid
31134
31135 maintainer-clean-sid:
31136 @: $(MAKE); $(unstage)
31137 @[ -f ./sid/Makefile ] || exit 0; \
31138 r=`${PWD_COMMAND}`; export r; \
31139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31140 $(HOST_EXPORTS) \
31141 for flag in $(EXTRA_HOST_FLAGS) ; do \
31142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31143 done; \
31144 echo "Doing maintainer-clean in sid"; \
31145 (cd $(HOST_SUBDIR)/sid && \
31146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31148 "RANLIB=$${RANLIB}" \
31149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31150 maintainer-clean) \
31151 || exit 1
31152
31153 @endif sid
31154
31155
31156
31157 .PHONY: configure-sim maybe-configure-sim
31158 maybe-configure-sim:
31159 @if gcc-bootstrap
31160 configure-sim: stage_current
31161 @endif gcc-bootstrap
31162 @if sim
31163 maybe-configure-sim: configure-sim
31164 configure-sim:
31165 @: $(MAKE); $(unstage)
31166 @r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
31169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
31170 $(HOST_EXPORTS) \
31171 echo Configuring in $(HOST_SUBDIR)/sim; \
31172 cd "$(HOST_SUBDIR)/sim" || exit 1; \
31173 case $(srcdir) in \
31174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31175 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
31176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31177 esac; \
31178 module_srcdir=sim; \
31179 $(SHELL) \
31180 $$s/$$module_srcdir/configure \
31181 --srcdir=$${topdir}/$$module_srcdir \
31182 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31183 --target=${target_alias} \
31184 || exit 1
31185 @endif sim
31186
31187
31188
31189
31190
31191 .PHONY: all-sim maybe-all-sim
31192 maybe-all-sim:
31193 @if gcc-bootstrap
31194 all-sim: stage_current
31195 @endif gcc-bootstrap
31196 @if sim
31197 TARGET-sim=all
31198 maybe-all-sim: all-sim
31199 all-sim: configure-sim
31200 @: $(MAKE); $(unstage)
31201 @r=`${PWD_COMMAND}`; export r; \
31202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31203 $(HOST_EXPORTS) \
31204 (cd $(HOST_SUBDIR)/sim && \
31205 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31206 $(TARGET-sim))
31207 @endif sim
31208
31209
31210
31211
31212 .PHONY: check-sim maybe-check-sim
31213 maybe-check-sim:
31214 @if sim
31215 maybe-check-sim: check-sim
31216
31217 check-sim:
31218 @: $(MAKE); $(unstage)
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(HOST_EXPORTS) \
31222 (cd $(HOST_SUBDIR)/sim && \
31223 $(MAKE) $(FLAGS_TO_PASS) check)
31224
31225 @endif sim
31226
31227 .PHONY: install-sim maybe-install-sim
31228 maybe-install-sim:
31229 @if sim
31230 maybe-install-sim: install-sim
31231
31232 install-sim: installdirs
31233 @: $(MAKE); $(unstage)
31234 @r=`${PWD_COMMAND}`; export r; \
31235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31236 $(HOST_EXPORTS) \
31237 (cd $(HOST_SUBDIR)/sim && \
31238 $(MAKE) $(FLAGS_TO_PASS) install)
31239
31240 @endif sim
31241
31242 .PHONY: install-strip-sim maybe-install-strip-sim
31243 maybe-install-strip-sim:
31244 @if sim
31245 maybe-install-strip-sim: install-strip-sim
31246
31247 install-strip-sim: installdirs
31248 @: $(MAKE); $(unstage)
31249 @r=`${PWD_COMMAND}`; export r; \
31250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31251 $(HOST_EXPORTS) \
31252 (cd $(HOST_SUBDIR)/sim && \
31253 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31254
31255 @endif sim
31256
31257 # Other targets (info, dvi, pdf, etc.)
31258
31259 .PHONY: maybe-info-sim info-sim
31260 maybe-info-sim:
31261 @if sim
31262 maybe-info-sim: info-sim
31263
31264 info-sim: \
31265 configure-sim
31266 @: $(MAKE); $(unstage)
31267 @[ -f ./sim/Makefile ] || exit 0; \
31268 r=`${PWD_COMMAND}`; export r; \
31269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31270 $(HOST_EXPORTS) \
31271 for flag in $(EXTRA_HOST_FLAGS) ; do \
31272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31273 done; \
31274 echo "Doing info in sim"; \
31275 (cd $(HOST_SUBDIR)/sim && \
31276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31278 "RANLIB=$${RANLIB}" \
31279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31280 info) \
31281 || exit 1
31282
31283 @endif sim
31284
31285 .PHONY: maybe-dvi-sim dvi-sim
31286 maybe-dvi-sim:
31287 @if sim
31288 maybe-dvi-sim: dvi-sim
31289
31290 dvi-sim: \
31291 configure-sim
31292 @: $(MAKE); $(unstage)
31293 @[ -f ./sim/Makefile ] || exit 0; \
31294 r=`${PWD_COMMAND}`; export r; \
31295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31296 $(HOST_EXPORTS) \
31297 for flag in $(EXTRA_HOST_FLAGS) ; do \
31298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31299 done; \
31300 echo "Doing dvi in sim"; \
31301 (cd $(HOST_SUBDIR)/sim && \
31302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31304 "RANLIB=$${RANLIB}" \
31305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31306 dvi) \
31307 || exit 1
31308
31309 @endif sim
31310
31311 .PHONY: maybe-pdf-sim pdf-sim
31312 maybe-pdf-sim:
31313 @if sim
31314 maybe-pdf-sim: pdf-sim
31315
31316 pdf-sim: \
31317 configure-sim
31318 @: $(MAKE); $(unstage)
31319 @[ -f ./sim/Makefile ] || exit 0; \
31320 r=`${PWD_COMMAND}`; export r; \
31321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31322 $(HOST_EXPORTS) \
31323 for flag in $(EXTRA_HOST_FLAGS) ; do \
31324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31325 done; \
31326 echo "Doing pdf in sim"; \
31327 (cd $(HOST_SUBDIR)/sim && \
31328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31330 "RANLIB=$${RANLIB}" \
31331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31332 pdf) \
31333 || exit 1
31334
31335 @endif sim
31336
31337 .PHONY: maybe-html-sim html-sim
31338 maybe-html-sim:
31339 @if sim
31340 maybe-html-sim: html-sim
31341
31342 html-sim: \
31343 configure-sim
31344 @: $(MAKE); $(unstage)
31345 @[ -f ./sim/Makefile ] || exit 0; \
31346 r=`${PWD_COMMAND}`; export r; \
31347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31348 $(HOST_EXPORTS) \
31349 for flag in $(EXTRA_HOST_FLAGS) ; do \
31350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31351 done; \
31352 echo "Doing html in sim"; \
31353 (cd $(HOST_SUBDIR)/sim && \
31354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31356 "RANLIB=$${RANLIB}" \
31357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31358 html) \
31359 || exit 1
31360
31361 @endif sim
31362
31363 .PHONY: maybe-TAGS-sim TAGS-sim
31364 maybe-TAGS-sim:
31365 @if sim
31366 maybe-TAGS-sim: TAGS-sim
31367
31368 TAGS-sim: \
31369 configure-sim
31370 @: $(MAKE); $(unstage)
31371 @[ -f ./sim/Makefile ] || exit 0; \
31372 r=`${PWD_COMMAND}`; export r; \
31373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31374 $(HOST_EXPORTS) \
31375 for flag in $(EXTRA_HOST_FLAGS) ; do \
31376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31377 done; \
31378 echo "Doing TAGS in sim"; \
31379 (cd $(HOST_SUBDIR)/sim && \
31380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31382 "RANLIB=$${RANLIB}" \
31383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31384 TAGS) \
31385 || exit 1
31386
31387 @endif sim
31388
31389 .PHONY: maybe-install-info-sim install-info-sim
31390 maybe-install-info-sim:
31391 @if sim
31392 maybe-install-info-sim: install-info-sim
31393
31394 install-info-sim: \
31395 configure-sim \
31396 info-sim
31397 @: $(MAKE); $(unstage)
31398 @[ -f ./sim/Makefile ] || exit 0; \
31399 r=`${PWD_COMMAND}`; export r; \
31400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31401 $(HOST_EXPORTS) \
31402 for flag in $(EXTRA_HOST_FLAGS) ; do \
31403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31404 done; \
31405 echo "Doing install-info in sim"; \
31406 (cd $(HOST_SUBDIR)/sim && \
31407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31409 "RANLIB=$${RANLIB}" \
31410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31411 install-info) \
31412 || exit 1
31413
31414 @endif sim
31415
31416 .PHONY: maybe-install-pdf-sim install-pdf-sim
31417 maybe-install-pdf-sim:
31418 @if sim
31419 maybe-install-pdf-sim: install-pdf-sim
31420
31421 install-pdf-sim: \
31422 configure-sim \
31423 pdf-sim
31424 @: $(MAKE); $(unstage)
31425 @[ -f ./sim/Makefile ] || exit 0; \
31426 r=`${PWD_COMMAND}`; export r; \
31427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31428 $(HOST_EXPORTS) \
31429 for flag in $(EXTRA_HOST_FLAGS) ; do \
31430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31431 done; \
31432 echo "Doing install-pdf in sim"; \
31433 (cd $(HOST_SUBDIR)/sim && \
31434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31436 "RANLIB=$${RANLIB}" \
31437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31438 install-pdf) \
31439 || exit 1
31440
31441 @endif sim
31442
31443 .PHONY: maybe-install-html-sim install-html-sim
31444 maybe-install-html-sim:
31445 @if sim
31446 maybe-install-html-sim: install-html-sim
31447
31448 install-html-sim: \
31449 configure-sim \
31450 html-sim
31451 @: $(MAKE); $(unstage)
31452 @[ -f ./sim/Makefile ] || exit 0; \
31453 r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(HOST_EXPORTS) \
31456 for flag in $(EXTRA_HOST_FLAGS) ; do \
31457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31458 done; \
31459 echo "Doing install-html in sim"; \
31460 (cd $(HOST_SUBDIR)/sim && \
31461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31463 "RANLIB=$${RANLIB}" \
31464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31465 install-html) \
31466 || exit 1
31467
31468 @endif sim
31469
31470 .PHONY: maybe-installcheck-sim installcheck-sim
31471 maybe-installcheck-sim:
31472 @if sim
31473 maybe-installcheck-sim: installcheck-sim
31474
31475 installcheck-sim: \
31476 configure-sim
31477 @: $(MAKE); $(unstage)
31478 @[ -f ./sim/Makefile ] || exit 0; \
31479 r=`${PWD_COMMAND}`; export r; \
31480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31481 $(HOST_EXPORTS) \
31482 for flag in $(EXTRA_HOST_FLAGS) ; do \
31483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31484 done; \
31485 echo "Doing installcheck in sim"; \
31486 (cd $(HOST_SUBDIR)/sim && \
31487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31489 "RANLIB=$${RANLIB}" \
31490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31491 installcheck) \
31492 || exit 1
31493
31494 @endif sim
31495
31496 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31497 maybe-mostlyclean-sim:
31498 @if sim
31499 maybe-mostlyclean-sim: mostlyclean-sim
31500
31501 mostlyclean-sim:
31502 @: $(MAKE); $(unstage)
31503 @[ -f ./sim/Makefile ] || exit 0; \
31504 r=`${PWD_COMMAND}`; export r; \
31505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31506 $(HOST_EXPORTS) \
31507 for flag in $(EXTRA_HOST_FLAGS) ; do \
31508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31509 done; \
31510 echo "Doing mostlyclean in sim"; \
31511 (cd $(HOST_SUBDIR)/sim && \
31512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31514 "RANLIB=$${RANLIB}" \
31515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31516 mostlyclean) \
31517 || exit 1
31518
31519 @endif sim
31520
31521 .PHONY: maybe-clean-sim clean-sim
31522 maybe-clean-sim:
31523 @if sim
31524 maybe-clean-sim: clean-sim
31525
31526 clean-sim:
31527 @: $(MAKE); $(unstage)
31528 @[ -f ./sim/Makefile ] || exit 0; \
31529 r=`${PWD_COMMAND}`; export r; \
31530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31531 $(HOST_EXPORTS) \
31532 for flag in $(EXTRA_HOST_FLAGS) ; do \
31533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31534 done; \
31535 echo "Doing clean in sim"; \
31536 (cd $(HOST_SUBDIR)/sim && \
31537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31539 "RANLIB=$${RANLIB}" \
31540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31541 clean) \
31542 || exit 1
31543
31544 @endif sim
31545
31546 .PHONY: maybe-distclean-sim distclean-sim
31547 maybe-distclean-sim:
31548 @if sim
31549 maybe-distclean-sim: distclean-sim
31550
31551 distclean-sim:
31552 @: $(MAKE); $(unstage)
31553 @[ -f ./sim/Makefile ] || exit 0; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(HOST_EXPORTS) \
31557 for flag in $(EXTRA_HOST_FLAGS) ; do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 echo "Doing distclean in sim"; \
31561 (cd $(HOST_SUBDIR)/sim && \
31562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31564 "RANLIB=$${RANLIB}" \
31565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31566 distclean) \
31567 || exit 1
31568
31569 @endif sim
31570
31571 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31572 maybe-maintainer-clean-sim:
31573 @if sim
31574 maybe-maintainer-clean-sim: maintainer-clean-sim
31575
31576 maintainer-clean-sim:
31577 @: $(MAKE); $(unstage)
31578 @[ -f ./sim/Makefile ] || exit 0; \
31579 r=`${PWD_COMMAND}`; export r; \
31580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31581 $(HOST_EXPORTS) \
31582 for flag in $(EXTRA_HOST_FLAGS) ; do \
31583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31584 done; \
31585 echo "Doing maintainer-clean in sim"; \
31586 (cd $(HOST_SUBDIR)/sim && \
31587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31589 "RANLIB=$${RANLIB}" \
31590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31591 maintainer-clean) \
31592 || exit 1
31593
31594 @endif sim
31595
31596
31597
31598 .PHONY: configure-texinfo maybe-configure-texinfo
31599 maybe-configure-texinfo:
31600 @if gcc-bootstrap
31601 configure-texinfo: stage_current
31602 @endif gcc-bootstrap
31603 @if texinfo
31604 maybe-configure-texinfo: configure-texinfo
31605 configure-texinfo:
31606 @: $(MAKE); $(unstage)
31607 @r=`${PWD_COMMAND}`; export r; \
31608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31609 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31611 $(HOST_EXPORTS) \
31612 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31613 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31614 case $(srcdir) in \
31615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31616 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31618 esac; \
31619 module_srcdir=texinfo; \
31620 $(SHELL) \
31621 $$s/$$module_srcdir/configure \
31622 --srcdir=$${topdir}/$$module_srcdir \
31623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31624 --target=${target_alias} \
31625 || exit 1
31626 @endif texinfo
31627
31628
31629
31630
31631
31632 .PHONY: all-texinfo maybe-all-texinfo
31633 maybe-all-texinfo:
31634 @if gcc-bootstrap
31635 all-texinfo: stage_current
31636 @endif gcc-bootstrap
31637 @if texinfo
31638 TARGET-texinfo=all
31639 maybe-all-texinfo: all-texinfo
31640 all-texinfo: configure-texinfo
31641 @: $(MAKE); $(unstage)
31642 @r=`${PWD_COMMAND}`; export r; \
31643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31644 $(HOST_EXPORTS) \
31645 (cd $(HOST_SUBDIR)/texinfo && \
31646 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31647 $(TARGET-texinfo))
31648 @endif texinfo
31649
31650
31651
31652
31653 .PHONY: check-texinfo maybe-check-texinfo
31654 maybe-check-texinfo:
31655 @if texinfo
31656 maybe-check-texinfo: check-texinfo
31657
31658 check-texinfo:
31659 @: $(MAKE); $(unstage)
31660 @r=`${PWD_COMMAND}`; export r; \
31661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31662 $(HOST_EXPORTS) \
31663 (cd $(HOST_SUBDIR)/texinfo && \
31664 $(MAKE) $(FLAGS_TO_PASS) check)
31665
31666 @endif texinfo
31667
31668 .PHONY: install-texinfo maybe-install-texinfo
31669 maybe-install-texinfo:
31670 @if texinfo
31671 maybe-install-texinfo: install-texinfo
31672
31673 install-texinfo:
31674
31675 @endif texinfo
31676
31677 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31678 maybe-install-strip-texinfo:
31679 @if texinfo
31680 maybe-install-strip-texinfo: install-strip-texinfo
31681
31682 install-strip-texinfo:
31683
31684 @endif texinfo
31685
31686 # Other targets (info, dvi, pdf, etc.)
31687
31688 .PHONY: maybe-info-texinfo info-texinfo
31689 maybe-info-texinfo:
31690 @if texinfo
31691 maybe-info-texinfo: info-texinfo
31692
31693 info-texinfo: \
31694 configure-texinfo
31695 @: $(MAKE); $(unstage)
31696 @[ -f ./texinfo/Makefile ] || exit 0; \
31697 r=`${PWD_COMMAND}`; export r; \
31698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31699 $(HOST_EXPORTS) \
31700 for flag in $(EXTRA_HOST_FLAGS) ; do \
31701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31702 done; \
31703 echo "Doing info in texinfo"; \
31704 (cd $(HOST_SUBDIR)/texinfo && \
31705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31707 "RANLIB=$${RANLIB}" \
31708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31709 info) \
31710 || exit 1
31711
31712 @endif texinfo
31713
31714 .PHONY: maybe-dvi-texinfo dvi-texinfo
31715 maybe-dvi-texinfo:
31716 @if texinfo
31717 maybe-dvi-texinfo: dvi-texinfo
31718
31719 dvi-texinfo: \
31720 configure-texinfo
31721 @: $(MAKE); $(unstage)
31722 @[ -f ./texinfo/Makefile ] || exit 0; \
31723 r=`${PWD_COMMAND}`; export r; \
31724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31725 $(HOST_EXPORTS) \
31726 for flag in $(EXTRA_HOST_FLAGS) ; do \
31727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31728 done; \
31729 echo "Doing dvi in texinfo"; \
31730 (cd $(HOST_SUBDIR)/texinfo && \
31731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31733 "RANLIB=$${RANLIB}" \
31734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31735 dvi) \
31736 || exit 1
31737
31738 @endif texinfo
31739
31740 .PHONY: maybe-pdf-texinfo pdf-texinfo
31741 maybe-pdf-texinfo:
31742 @if texinfo
31743 maybe-pdf-texinfo: pdf-texinfo
31744
31745 pdf-texinfo: \
31746 configure-texinfo
31747 @: $(MAKE); $(unstage)
31748 @[ -f ./texinfo/Makefile ] || exit 0; \
31749 r=`${PWD_COMMAND}`; export r; \
31750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31751 $(HOST_EXPORTS) \
31752 for flag in $(EXTRA_HOST_FLAGS) ; do \
31753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31754 done; \
31755 echo "Doing pdf in texinfo"; \
31756 (cd $(HOST_SUBDIR)/texinfo && \
31757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31759 "RANLIB=$${RANLIB}" \
31760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31761 pdf) \
31762 || exit 1
31763
31764 @endif texinfo
31765
31766 .PHONY: maybe-html-texinfo html-texinfo
31767 maybe-html-texinfo:
31768 @if texinfo
31769 maybe-html-texinfo: html-texinfo
31770
31771 html-texinfo: \
31772 configure-texinfo
31773 @: $(MAKE); $(unstage)
31774 @[ -f ./texinfo/Makefile ] || exit 0; \
31775 r=`${PWD_COMMAND}`; export r; \
31776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31777 $(HOST_EXPORTS) \
31778 for flag in $(EXTRA_HOST_FLAGS) ; do \
31779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31780 done; \
31781 echo "Doing html in texinfo"; \
31782 (cd $(HOST_SUBDIR)/texinfo && \
31783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31785 "RANLIB=$${RANLIB}" \
31786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31787 html) \
31788 || exit 1
31789
31790 @endif texinfo
31791
31792 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31793 maybe-TAGS-texinfo:
31794 @if texinfo
31795 maybe-TAGS-texinfo: TAGS-texinfo
31796
31797 TAGS-texinfo: \
31798 configure-texinfo
31799 @: $(MAKE); $(unstage)
31800 @[ -f ./texinfo/Makefile ] || exit 0; \
31801 r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 $(HOST_EXPORTS) \
31804 for flag in $(EXTRA_HOST_FLAGS) ; do \
31805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31806 done; \
31807 echo "Doing TAGS in texinfo"; \
31808 (cd $(HOST_SUBDIR)/texinfo && \
31809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31811 "RANLIB=$${RANLIB}" \
31812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31813 TAGS) \
31814 || exit 1
31815
31816 @endif texinfo
31817
31818 .PHONY: maybe-install-info-texinfo install-info-texinfo
31819 maybe-install-info-texinfo:
31820 @if texinfo
31821 maybe-install-info-texinfo: install-info-texinfo
31822
31823 install-info-texinfo: \
31824 configure-texinfo \
31825 info-texinfo
31826 @: $(MAKE); $(unstage)
31827 @[ -f ./texinfo/Makefile ] || exit 0; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(HOST_EXPORTS) \
31831 for flag in $(EXTRA_HOST_FLAGS) ; do \
31832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31833 done; \
31834 echo "Doing install-info in texinfo"; \
31835 (cd $(HOST_SUBDIR)/texinfo && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31840 install-info) \
31841 || exit 1
31842
31843 @endif texinfo
31844
31845 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31846 maybe-install-pdf-texinfo:
31847 @if texinfo
31848 maybe-install-pdf-texinfo: install-pdf-texinfo
31849
31850 install-pdf-texinfo: \
31851 configure-texinfo \
31852 pdf-texinfo
31853 @: $(MAKE); $(unstage)
31854 @[ -f ./texinfo/Makefile ] || exit 0; \
31855 r=`${PWD_COMMAND}`; export r; \
31856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31857 $(HOST_EXPORTS) \
31858 for flag in $(EXTRA_HOST_FLAGS) ; do \
31859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31860 done; \
31861 echo "Doing install-pdf in texinfo"; \
31862 (cd $(HOST_SUBDIR)/texinfo && \
31863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31865 "RANLIB=$${RANLIB}" \
31866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31867 install-pdf) \
31868 || exit 1
31869
31870 @endif texinfo
31871
31872 .PHONY: maybe-install-html-texinfo install-html-texinfo
31873 maybe-install-html-texinfo:
31874 @if texinfo
31875 maybe-install-html-texinfo: install-html-texinfo
31876
31877 install-html-texinfo: \
31878 configure-texinfo \
31879 html-texinfo
31880 @: $(MAKE); $(unstage)
31881 @[ -f ./texinfo/Makefile ] || exit 0; \
31882 r=`${PWD_COMMAND}`; export r; \
31883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31884 $(HOST_EXPORTS) \
31885 for flag in $(EXTRA_HOST_FLAGS) ; do \
31886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31887 done; \
31888 echo "Doing install-html in texinfo"; \
31889 (cd $(HOST_SUBDIR)/texinfo && \
31890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31892 "RANLIB=$${RANLIB}" \
31893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31894 install-html) \
31895 || exit 1
31896
31897 @endif texinfo
31898
31899 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31900 maybe-installcheck-texinfo:
31901 @if texinfo
31902 maybe-installcheck-texinfo: installcheck-texinfo
31903
31904 installcheck-texinfo: \
31905 configure-texinfo
31906 @: $(MAKE); $(unstage)
31907 @[ -f ./texinfo/Makefile ] || exit 0; \
31908 r=`${PWD_COMMAND}`; export r; \
31909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31910 $(HOST_EXPORTS) \
31911 for flag in $(EXTRA_HOST_FLAGS) ; do \
31912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31913 done; \
31914 echo "Doing installcheck in texinfo"; \
31915 (cd $(HOST_SUBDIR)/texinfo && \
31916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31918 "RANLIB=$${RANLIB}" \
31919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31920 installcheck) \
31921 || exit 1
31922
31923 @endif texinfo
31924
31925 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31926 maybe-mostlyclean-texinfo:
31927 @if texinfo
31928 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31929
31930 mostlyclean-texinfo:
31931 @: $(MAKE); $(unstage)
31932 @[ -f ./texinfo/Makefile ] || exit 0; \
31933 r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(HOST_EXPORTS) \
31936 for flag in $(EXTRA_HOST_FLAGS) ; do \
31937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31938 done; \
31939 echo "Doing mostlyclean in texinfo"; \
31940 (cd $(HOST_SUBDIR)/texinfo && \
31941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31943 "RANLIB=$${RANLIB}" \
31944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31945 mostlyclean) \
31946 || exit 1
31947
31948 @endif texinfo
31949
31950 .PHONY: maybe-clean-texinfo clean-texinfo
31951 maybe-clean-texinfo:
31952 @if texinfo
31953 maybe-clean-texinfo: clean-texinfo
31954
31955 clean-texinfo:
31956 @: $(MAKE); $(unstage)
31957 @[ -f ./texinfo/Makefile ] || exit 0; \
31958 r=`${PWD_COMMAND}`; export r; \
31959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31960 $(HOST_EXPORTS) \
31961 for flag in $(EXTRA_HOST_FLAGS) ; do \
31962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31963 done; \
31964 echo "Doing clean in texinfo"; \
31965 (cd $(HOST_SUBDIR)/texinfo && \
31966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31968 "RANLIB=$${RANLIB}" \
31969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31970 clean) \
31971 || exit 1
31972
31973 @endif texinfo
31974
31975 .PHONY: maybe-distclean-texinfo distclean-texinfo
31976 maybe-distclean-texinfo:
31977 @if texinfo
31978 maybe-distclean-texinfo: distclean-texinfo
31979
31980 distclean-texinfo:
31981 @: $(MAKE); $(unstage)
31982 @[ -f ./texinfo/Makefile ] || exit 0; \
31983 r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(HOST_EXPORTS) \
31986 for flag in $(EXTRA_HOST_FLAGS) ; do \
31987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31988 done; \
31989 echo "Doing distclean in texinfo"; \
31990 (cd $(HOST_SUBDIR)/texinfo && \
31991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31993 "RANLIB=$${RANLIB}" \
31994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31995 distclean) \
31996 || exit 1
31997
31998 @endif texinfo
31999
32000 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
32001 maybe-maintainer-clean-texinfo:
32002 @if texinfo
32003 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
32004
32005 maintainer-clean-texinfo:
32006 @: $(MAKE); $(unstage)
32007 @[ -f ./texinfo/Makefile ] || exit 0; \
32008 r=`${PWD_COMMAND}`; export r; \
32009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32010 $(HOST_EXPORTS) \
32011 for flag in $(EXTRA_HOST_FLAGS) ; do \
32012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32013 done; \
32014 echo "Doing maintainer-clean in texinfo"; \
32015 (cd $(HOST_SUBDIR)/texinfo && \
32016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32018 "RANLIB=$${RANLIB}" \
32019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32020 maintainer-clean) \
32021 || exit 1
32022
32023 @endif texinfo
32024
32025
32026
32027 .PHONY: configure-zlib maybe-configure-zlib
32028 maybe-configure-zlib:
32029 @if gcc-bootstrap
32030 configure-zlib: stage_current
32031 @endif gcc-bootstrap
32032 @if zlib
32033 maybe-configure-zlib: configure-zlib
32034 configure-zlib:
32035 @r=`${PWD_COMMAND}`; export r; \
32036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32037 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32039 $(HOST_EXPORTS) \
32040 echo Configuring in $(HOST_SUBDIR)/zlib; \
32041 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
32042 case $(srcdir) in \
32043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32044 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32046 esac; \
32047 module_srcdir=zlib; \
32048 $(SHELL) \
32049 $$s/$$module_srcdir/configure \
32050 --srcdir=$${topdir}/$$module_srcdir \
32051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32052 --target=${target_alias} @extra_host_zlib_configure_flags@ \
32053 || exit 1
32054 @endif zlib
32055
32056
32057
32058 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
32059 maybe-configure-stage1-zlib:
32060 @if zlib-bootstrap
32061 maybe-configure-stage1-zlib: configure-stage1-zlib
32062 configure-stage1-zlib:
32063 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32065 @r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 TFLAGS="$(STAGE1_TFLAGS)"; \
32068 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32069 $(HOST_EXPORTS) \
32070 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
32071 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
32072 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
32073 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
32074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32075 cd $(HOST_SUBDIR)/zlib || exit 1; \
32076 case $(srcdir) in \
32077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32078 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32080 esac; \
32081 module_srcdir=zlib; \
32082 $(SHELL) $$s/$$module_srcdir/configure \
32083 --srcdir=$${topdir}/$$module_srcdir \
32084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32085 --target=${target_alias} \
32086 \
32087 $(STAGE1_CONFIGURE_FLAGS) \
32088 @extra_host_zlib_configure_flags@
32089 @endif zlib-bootstrap
32090
32091 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32092 maybe-configure-stage2-zlib:
32093 @if zlib-bootstrap
32094 maybe-configure-stage2-zlib: configure-stage2-zlib
32095 configure-stage2-zlib:
32096 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32098 @r=`${PWD_COMMAND}`; export r; \
32099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32100 TFLAGS="$(STAGE2_TFLAGS)"; \
32101 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32102 $(HOST_EXPORTS) \
32103 $(POSTSTAGE1_HOST_EXPORTS) \
32104 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
32105 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
32106 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
32107 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
32108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32109 cd $(HOST_SUBDIR)/zlib || exit 1; \
32110 case $(srcdir) in \
32111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32112 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32114 esac; \
32115 module_srcdir=zlib; \
32116 $(SHELL) $$s/$$module_srcdir/configure \
32117 --srcdir=$${topdir}/$$module_srcdir \
32118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32119 --target=${target_alias} \
32120 --with-build-libsubdir=$(HOST_SUBDIR) \
32121 $(STAGE2_CONFIGURE_FLAGS) \
32122 @extra_host_zlib_configure_flags@
32123 @endif zlib-bootstrap
32124
32125 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32126 maybe-configure-stage3-zlib:
32127 @if zlib-bootstrap
32128 maybe-configure-stage3-zlib: configure-stage3-zlib
32129 configure-stage3-zlib:
32130 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32132 @r=`${PWD_COMMAND}`; export r; \
32133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32134 TFLAGS="$(STAGE3_TFLAGS)"; \
32135 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32136 $(HOST_EXPORTS) \
32137 $(POSTSTAGE1_HOST_EXPORTS) \
32138 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
32139 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
32140 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
32141 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
32142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32143 cd $(HOST_SUBDIR)/zlib || exit 1; \
32144 case $(srcdir) in \
32145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32146 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32148 esac; \
32149 module_srcdir=zlib; \
32150 $(SHELL) $$s/$$module_srcdir/configure \
32151 --srcdir=$${topdir}/$$module_srcdir \
32152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32153 --target=${target_alias} \
32154 --with-build-libsubdir=$(HOST_SUBDIR) \
32155 $(STAGE3_CONFIGURE_FLAGS) \
32156 @extra_host_zlib_configure_flags@
32157 @endif zlib-bootstrap
32158
32159 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
32160 maybe-configure-stage4-zlib:
32161 @if zlib-bootstrap
32162 maybe-configure-stage4-zlib: configure-stage4-zlib
32163 configure-stage4-zlib:
32164 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32166 @r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 TFLAGS="$(STAGE4_TFLAGS)"; \
32169 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32170 $(HOST_EXPORTS) \
32171 $(POSTSTAGE1_HOST_EXPORTS) \
32172 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
32173 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
32174 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
32175 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
32176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32177 cd $(HOST_SUBDIR)/zlib || exit 1; \
32178 case $(srcdir) in \
32179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32180 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32182 esac; \
32183 module_srcdir=zlib; \
32184 $(SHELL) $$s/$$module_srcdir/configure \
32185 --srcdir=$${topdir}/$$module_srcdir \
32186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32187 --target=${target_alias} \
32188 --with-build-libsubdir=$(HOST_SUBDIR) \
32189 $(STAGE4_CONFIGURE_FLAGS) \
32190 @extra_host_zlib_configure_flags@
32191 @endif zlib-bootstrap
32192
32193 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
32194 maybe-configure-stageprofile-zlib:
32195 @if zlib-bootstrap
32196 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
32197 configure-stageprofile-zlib:
32198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32200 @r=`${PWD_COMMAND}`; export r; \
32201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32202 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32203 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32204 $(HOST_EXPORTS) \
32205 $(POSTSTAGE1_HOST_EXPORTS) \
32206 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
32207 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
32208 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
32209 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
32210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32211 cd $(HOST_SUBDIR)/zlib || exit 1; \
32212 case $(srcdir) in \
32213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32214 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32216 esac; \
32217 module_srcdir=zlib; \
32218 $(SHELL) $$s/$$module_srcdir/configure \
32219 --srcdir=$${topdir}/$$module_srcdir \
32220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32221 --target=${target_alias} \
32222 --with-build-libsubdir=$(HOST_SUBDIR) \
32223 $(STAGEprofile_CONFIGURE_FLAGS) \
32224 @extra_host_zlib_configure_flags@
32225 @endif zlib-bootstrap
32226
32227 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
32228 maybe-configure-stagetrain-zlib:
32229 @if zlib-bootstrap
32230 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
32231 configure-stagetrain-zlib:
32232 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32234 @r=`${PWD_COMMAND}`; export r; \
32235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32236 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32237 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32238 $(HOST_EXPORTS) \
32239 $(POSTSTAGE1_HOST_EXPORTS) \
32240 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32241 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32242 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32243 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32245 cd $(HOST_SUBDIR)/zlib || exit 1; \
32246 case $(srcdir) in \
32247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32248 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32250 esac; \
32251 module_srcdir=zlib; \
32252 $(SHELL) $$s/$$module_srcdir/configure \
32253 --srcdir=$${topdir}/$$module_srcdir \
32254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32255 --target=${target_alias} \
32256 --with-build-libsubdir=$(HOST_SUBDIR) \
32257 $(STAGEtrain_CONFIGURE_FLAGS) \
32258 @extra_host_zlib_configure_flags@
32259 @endif zlib-bootstrap
32260
32261 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32262 maybe-configure-stagefeedback-zlib:
32263 @if zlib-bootstrap
32264 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32265 configure-stagefeedback-zlib:
32266 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32268 @r=`${PWD_COMMAND}`; export r; \
32269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32270 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32271 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32272 $(HOST_EXPORTS) \
32273 $(POSTSTAGE1_HOST_EXPORTS) \
32274 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32275 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32276 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32277 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32279 cd $(HOST_SUBDIR)/zlib || exit 1; \
32280 case $(srcdir) in \
32281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32282 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32284 esac; \
32285 module_srcdir=zlib; \
32286 $(SHELL) $$s/$$module_srcdir/configure \
32287 --srcdir=$${topdir}/$$module_srcdir \
32288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32289 --target=${target_alias} \
32290 --with-build-libsubdir=$(HOST_SUBDIR) \
32291 $(STAGEfeedback_CONFIGURE_FLAGS) \
32292 @extra_host_zlib_configure_flags@
32293 @endif zlib-bootstrap
32294
32295 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32296 maybe-configure-stageautoprofile-zlib:
32297 @if zlib-bootstrap
32298 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32299 configure-stageautoprofile-zlib:
32300 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32302 @r=`${PWD_COMMAND}`; export r; \
32303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32304 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32305 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32306 $(HOST_EXPORTS) \
32307 $(POSTSTAGE1_HOST_EXPORTS) \
32308 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32309 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32310 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32311 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32313 cd $(HOST_SUBDIR)/zlib || exit 1; \
32314 case $(srcdir) in \
32315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32316 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32318 esac; \
32319 module_srcdir=zlib; \
32320 $(SHELL) $$s/$$module_srcdir/configure \
32321 --srcdir=$${topdir}/$$module_srcdir \
32322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32323 --target=${target_alias} \
32324 --with-build-libsubdir=$(HOST_SUBDIR) \
32325 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32326 @extra_host_zlib_configure_flags@
32327 @endif zlib-bootstrap
32328
32329 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32330 maybe-configure-stageautofeedback-zlib:
32331 @if zlib-bootstrap
32332 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32333 configure-stageautofeedback-zlib:
32334 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32336 @r=`${PWD_COMMAND}`; export r; \
32337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32338 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32339 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32340 $(HOST_EXPORTS) \
32341 $(POSTSTAGE1_HOST_EXPORTS) \
32342 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32343 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32344 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32345 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32347 cd $(HOST_SUBDIR)/zlib || exit 1; \
32348 case $(srcdir) in \
32349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32350 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32352 esac; \
32353 module_srcdir=zlib; \
32354 $(SHELL) $$s/$$module_srcdir/configure \
32355 --srcdir=$${topdir}/$$module_srcdir \
32356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32357 --target=${target_alias} \
32358 --with-build-libsubdir=$(HOST_SUBDIR) \
32359 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32360 @extra_host_zlib_configure_flags@
32361 @endif zlib-bootstrap
32362
32363
32364
32365
32366
32367 .PHONY: all-zlib maybe-all-zlib
32368 maybe-all-zlib:
32369 @if gcc-bootstrap
32370 all-zlib: stage_current
32371 @endif gcc-bootstrap
32372 @if zlib
32373 TARGET-zlib=all
32374 maybe-all-zlib: all-zlib
32375 all-zlib: configure-zlib
32376 @r=`${PWD_COMMAND}`; export r; \
32377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32378 $(HOST_EXPORTS) \
32379 (cd $(HOST_SUBDIR)/zlib && \
32380 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32381 $(TARGET-zlib))
32382 @endif zlib
32383
32384
32385
32386 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32387 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32388 maybe-all-stage1-zlib:
32389 maybe-clean-stage1-zlib:
32390 @if zlib-bootstrap
32391 maybe-all-stage1-zlib: all-stage1-zlib
32392 all-stage1: all-stage1-zlib
32393 TARGET-stage1-zlib = $(TARGET-zlib)
32394 all-stage1-zlib: configure-stage1-zlib
32395 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32396 @r=`${PWD_COMMAND}`; export r; \
32397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32398 TFLAGS="$(STAGE1_TFLAGS)"; \
32399 $(HOST_EXPORTS) \
32400 cd $(HOST_SUBDIR)/zlib && \
32401 \
32402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32403 CFLAGS="$(STAGE1_CFLAGS)" \
32404 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
32405 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32406 LIBCFLAGS="$(LIBCFLAGS)" \
32407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32410 $(EXTRA_HOST_FLAGS) \
32411 $(STAGE1_FLAGS_TO_PASS) \
32412 TFLAGS="$(STAGE1_TFLAGS)" \
32413 $(TARGET-stage1-zlib)
32414
32415 maybe-clean-stage1-zlib: clean-stage1-zlib
32416 clean-stage1: clean-stage1-zlib
32417 clean-stage1-zlib:
32418 @if [ $(current_stage) = stage1 ]; then \
32419 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32420 else \
32421 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32422 $(MAKE) stage1-start; \
32423 fi; \
32424 cd $(HOST_SUBDIR)/zlib && \
32425 $(MAKE) $(EXTRA_HOST_FLAGS) \
32426 $(STAGE1_FLAGS_TO_PASS) clean
32427 @endif zlib-bootstrap
32428
32429
32430 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32431 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32432 maybe-all-stage2-zlib:
32433 maybe-clean-stage2-zlib:
32434 @if zlib-bootstrap
32435 maybe-all-stage2-zlib: all-stage2-zlib
32436 all-stage2: all-stage2-zlib
32437 TARGET-stage2-zlib = $(TARGET-zlib)
32438 all-stage2-zlib: configure-stage2-zlib
32439 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32440 @r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 TFLAGS="$(STAGE2_TFLAGS)"; \
32443 $(HOST_EXPORTS) \
32444 $(POSTSTAGE1_HOST_EXPORTS) \
32445 cd $(HOST_SUBDIR)/zlib && \
32446 \
32447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32448 CFLAGS="$(STAGE2_CFLAGS)" \
32449 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
32450 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32451 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32456 TFLAGS="$(STAGE2_TFLAGS)" \
32457 $(TARGET-stage2-zlib)
32458
32459 maybe-clean-stage2-zlib: clean-stage2-zlib
32460 clean-stage2: clean-stage2-zlib
32461 clean-stage2-zlib:
32462 @if [ $(current_stage) = stage2 ]; then \
32463 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32464 else \
32465 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32466 $(MAKE) stage2-start; \
32467 fi; \
32468 cd $(HOST_SUBDIR)/zlib && \
32469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32470 @endif zlib-bootstrap
32471
32472
32473 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32474 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32475 maybe-all-stage3-zlib:
32476 maybe-clean-stage3-zlib:
32477 @if zlib-bootstrap
32478 maybe-all-stage3-zlib: all-stage3-zlib
32479 all-stage3: all-stage3-zlib
32480 TARGET-stage3-zlib = $(TARGET-zlib)
32481 all-stage3-zlib: configure-stage3-zlib
32482 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32483 @r=`${PWD_COMMAND}`; export r; \
32484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32485 TFLAGS="$(STAGE3_TFLAGS)"; \
32486 $(HOST_EXPORTS) \
32487 $(POSTSTAGE1_HOST_EXPORTS) \
32488 cd $(HOST_SUBDIR)/zlib && \
32489 \
32490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32491 CFLAGS="$(STAGE3_CFLAGS)" \
32492 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
32493 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32494 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32499 TFLAGS="$(STAGE3_TFLAGS)" \
32500 $(TARGET-stage3-zlib)
32501
32502 maybe-clean-stage3-zlib: clean-stage3-zlib
32503 clean-stage3: clean-stage3-zlib
32504 clean-stage3-zlib:
32505 @if [ $(current_stage) = stage3 ]; then \
32506 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32507 else \
32508 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32509 $(MAKE) stage3-start; \
32510 fi; \
32511 cd $(HOST_SUBDIR)/zlib && \
32512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32513 @endif zlib-bootstrap
32514
32515
32516 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32517 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32518 maybe-all-stage4-zlib:
32519 maybe-clean-stage4-zlib:
32520 @if zlib-bootstrap
32521 maybe-all-stage4-zlib: all-stage4-zlib
32522 all-stage4: all-stage4-zlib
32523 TARGET-stage4-zlib = $(TARGET-zlib)
32524 all-stage4-zlib: configure-stage4-zlib
32525 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32526 @r=`${PWD_COMMAND}`; export r; \
32527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32528 TFLAGS="$(STAGE4_TFLAGS)"; \
32529 $(HOST_EXPORTS) \
32530 $(POSTSTAGE1_HOST_EXPORTS) \
32531 cd $(HOST_SUBDIR)/zlib && \
32532 \
32533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32534 CFLAGS="$(STAGE4_CFLAGS)" \
32535 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
32536 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32537 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32542 TFLAGS="$(STAGE4_TFLAGS)" \
32543 $(TARGET-stage4-zlib)
32544
32545 maybe-clean-stage4-zlib: clean-stage4-zlib
32546 clean-stage4: clean-stage4-zlib
32547 clean-stage4-zlib:
32548 @if [ $(current_stage) = stage4 ]; then \
32549 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32550 else \
32551 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32552 $(MAKE) stage4-start; \
32553 fi; \
32554 cd $(HOST_SUBDIR)/zlib && \
32555 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32556 @endif zlib-bootstrap
32557
32558
32559 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32560 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32561 maybe-all-stageprofile-zlib:
32562 maybe-clean-stageprofile-zlib:
32563 @if zlib-bootstrap
32564 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32565 all-stageprofile: all-stageprofile-zlib
32566 TARGET-stageprofile-zlib = $(TARGET-zlib)
32567 all-stageprofile-zlib: configure-stageprofile-zlib
32568 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32569 @r=`${PWD_COMMAND}`; export r; \
32570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32571 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32572 $(HOST_EXPORTS) \
32573 $(POSTSTAGE1_HOST_EXPORTS) \
32574 cd $(HOST_SUBDIR)/zlib && \
32575 \
32576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32577 CFLAGS="$(STAGEprofile_CFLAGS)" \
32578 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
32579 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32580 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32585 TFLAGS="$(STAGEprofile_TFLAGS)" \
32586 $(TARGET-stageprofile-zlib)
32587
32588 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32589 clean-stageprofile: clean-stageprofile-zlib
32590 clean-stageprofile-zlib:
32591 @if [ $(current_stage) = stageprofile ]; then \
32592 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32593 else \
32594 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32595 $(MAKE) stageprofile-start; \
32596 fi; \
32597 cd $(HOST_SUBDIR)/zlib && \
32598 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32599 @endif zlib-bootstrap
32600
32601
32602 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32603 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32604 maybe-all-stagetrain-zlib:
32605 maybe-clean-stagetrain-zlib:
32606 @if zlib-bootstrap
32607 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32608 all-stagetrain: all-stagetrain-zlib
32609 TARGET-stagetrain-zlib = $(TARGET-zlib)
32610 all-stagetrain-zlib: configure-stagetrain-zlib
32611 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32612 @r=`${PWD_COMMAND}`; export r; \
32613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32614 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32615 $(HOST_EXPORTS) \
32616 $(POSTSTAGE1_HOST_EXPORTS) \
32617 cd $(HOST_SUBDIR)/zlib && \
32618 \
32619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32620 CFLAGS="$(STAGEtrain_CFLAGS)" \
32621 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
32622 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32623 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32628 TFLAGS="$(STAGEtrain_TFLAGS)" \
32629 $(TARGET-stagetrain-zlib)
32630
32631 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32632 clean-stagetrain: clean-stagetrain-zlib
32633 clean-stagetrain-zlib:
32634 @if [ $(current_stage) = stagetrain ]; then \
32635 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32636 else \
32637 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32638 $(MAKE) stagetrain-start; \
32639 fi; \
32640 cd $(HOST_SUBDIR)/zlib && \
32641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32642 @endif zlib-bootstrap
32643
32644
32645 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32646 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32647 maybe-all-stagefeedback-zlib:
32648 maybe-clean-stagefeedback-zlib:
32649 @if zlib-bootstrap
32650 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32651 all-stagefeedback: all-stagefeedback-zlib
32652 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32653 all-stagefeedback-zlib: configure-stagefeedback-zlib
32654 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32655 @r=`${PWD_COMMAND}`; export r; \
32656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32657 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32658 $(HOST_EXPORTS) \
32659 $(POSTSTAGE1_HOST_EXPORTS) \
32660 cd $(HOST_SUBDIR)/zlib && \
32661 \
32662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32663 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32664 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
32665 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32666 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32671 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32672 $(TARGET-stagefeedback-zlib)
32673
32674 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32675 clean-stagefeedback: clean-stagefeedback-zlib
32676 clean-stagefeedback-zlib:
32677 @if [ $(current_stage) = stagefeedback ]; then \
32678 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32679 else \
32680 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32681 $(MAKE) stagefeedback-start; \
32682 fi; \
32683 cd $(HOST_SUBDIR)/zlib && \
32684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32685 @endif zlib-bootstrap
32686
32687
32688 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32689 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32690 maybe-all-stageautoprofile-zlib:
32691 maybe-clean-stageautoprofile-zlib:
32692 @if zlib-bootstrap
32693 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32694 all-stageautoprofile: all-stageautoprofile-zlib
32695 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32696 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32697 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32698 @r=`${PWD_COMMAND}`; export r; \
32699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32700 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32701 $(HOST_EXPORTS) \
32702 $(POSTSTAGE1_HOST_EXPORTS) \
32703 cd $(HOST_SUBDIR)/zlib && \
32704 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32706 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32707 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
32708 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32709 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32714 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32715 $(TARGET-stageautoprofile-zlib)
32716
32717 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32718 clean-stageautoprofile: clean-stageautoprofile-zlib
32719 clean-stageautoprofile-zlib:
32720 @if [ $(current_stage) = stageautoprofile ]; then \
32721 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32722 else \
32723 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32724 $(MAKE) stageautoprofile-start; \
32725 fi; \
32726 cd $(HOST_SUBDIR)/zlib && \
32727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32728 @endif zlib-bootstrap
32729
32730
32731 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32732 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32733 maybe-all-stageautofeedback-zlib:
32734 maybe-clean-stageautofeedback-zlib:
32735 @if zlib-bootstrap
32736 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32737 all-stageautofeedback: all-stageautofeedback-zlib
32738 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32739 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32740 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32741 @r=`${PWD_COMMAND}`; export r; \
32742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32743 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32744 $(HOST_EXPORTS) \
32745 $(POSTSTAGE1_HOST_EXPORTS) \
32746 cd $(HOST_SUBDIR)/zlib && \
32747 \
32748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32749 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32750 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
32751 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32752 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32753 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32754 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32755 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32756 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32757 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32758 $(TARGET-stageautofeedback-zlib)
32759
32760 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32761 clean-stageautofeedback: clean-stageautofeedback-zlib
32762 clean-stageautofeedback-zlib:
32763 @if [ $(current_stage) = stageautofeedback ]; then \
32764 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32765 else \
32766 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32767 $(MAKE) stageautofeedback-start; \
32768 fi; \
32769 cd $(HOST_SUBDIR)/zlib && \
32770 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32771 @endif zlib-bootstrap
32772
32773
32774
32775
32776
32777 .PHONY: check-zlib maybe-check-zlib
32778 maybe-check-zlib:
32779 @if zlib
32780 maybe-check-zlib: check-zlib
32781
32782 check-zlib:
32783
32784 @endif zlib
32785
32786 .PHONY: install-zlib maybe-install-zlib
32787 maybe-install-zlib:
32788 @if zlib
32789 maybe-install-zlib: install-zlib
32790
32791 install-zlib:
32792
32793 @endif zlib
32794
32795 .PHONY: install-strip-zlib maybe-install-strip-zlib
32796 maybe-install-strip-zlib:
32797 @if zlib
32798 maybe-install-strip-zlib: install-strip-zlib
32799
32800 install-strip-zlib:
32801
32802 @endif zlib
32803
32804 # Other targets (info, dvi, pdf, etc.)
32805
32806 .PHONY: maybe-info-zlib info-zlib
32807 maybe-info-zlib:
32808 @if zlib
32809 maybe-info-zlib: info-zlib
32810
32811 info-zlib: \
32812 configure-zlib
32813 @[ -f ./zlib/Makefile ] || exit 0; \
32814 r=`${PWD_COMMAND}`; export r; \
32815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32816 $(HOST_EXPORTS) \
32817 for flag in $(EXTRA_HOST_FLAGS) ; do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 echo "Doing info in zlib"; \
32821 (cd $(HOST_SUBDIR)/zlib && \
32822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32824 "RANLIB=$${RANLIB}" \
32825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32826 info) \
32827 || exit 1
32828
32829 @endif zlib
32830
32831 .PHONY: maybe-dvi-zlib dvi-zlib
32832 maybe-dvi-zlib:
32833 @if zlib
32834 maybe-dvi-zlib: dvi-zlib
32835
32836 dvi-zlib: \
32837 configure-zlib
32838 @[ -f ./zlib/Makefile ] || exit 0; \
32839 r=`${PWD_COMMAND}`; export r; \
32840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32841 $(HOST_EXPORTS) \
32842 for flag in $(EXTRA_HOST_FLAGS) ; do \
32843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32844 done; \
32845 echo "Doing dvi in zlib"; \
32846 (cd $(HOST_SUBDIR)/zlib && \
32847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32849 "RANLIB=$${RANLIB}" \
32850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32851 dvi) \
32852 || exit 1
32853
32854 @endif zlib
32855
32856 .PHONY: maybe-pdf-zlib pdf-zlib
32857 maybe-pdf-zlib:
32858 @if zlib
32859 maybe-pdf-zlib: pdf-zlib
32860
32861 pdf-zlib: \
32862 configure-zlib
32863 @[ -f ./zlib/Makefile ] || exit 0; \
32864 r=`${PWD_COMMAND}`; export r; \
32865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32866 $(HOST_EXPORTS) \
32867 for flag in $(EXTRA_HOST_FLAGS) ; do \
32868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32869 done; \
32870 echo "Doing pdf in zlib"; \
32871 (cd $(HOST_SUBDIR)/zlib && \
32872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32874 "RANLIB=$${RANLIB}" \
32875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32876 pdf) \
32877 || exit 1
32878
32879 @endif zlib
32880
32881 .PHONY: maybe-html-zlib html-zlib
32882 maybe-html-zlib:
32883 @if zlib
32884 maybe-html-zlib: html-zlib
32885
32886 html-zlib: \
32887 configure-zlib
32888 @[ -f ./zlib/Makefile ] || exit 0; \
32889 r=`${PWD_COMMAND}`; export r; \
32890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32891 $(HOST_EXPORTS) \
32892 for flag in $(EXTRA_HOST_FLAGS) ; do \
32893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32894 done; \
32895 echo "Doing html in zlib"; \
32896 (cd $(HOST_SUBDIR)/zlib && \
32897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32899 "RANLIB=$${RANLIB}" \
32900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32901 html) \
32902 || exit 1
32903
32904 @endif zlib
32905
32906 .PHONY: maybe-TAGS-zlib TAGS-zlib
32907 maybe-TAGS-zlib:
32908 @if zlib
32909 maybe-TAGS-zlib: TAGS-zlib
32910
32911 TAGS-zlib: \
32912 configure-zlib
32913 @[ -f ./zlib/Makefile ] || exit 0; \
32914 r=`${PWD_COMMAND}`; export r; \
32915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32916 $(HOST_EXPORTS) \
32917 for flag in $(EXTRA_HOST_FLAGS) ; do \
32918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32919 done; \
32920 echo "Doing TAGS in zlib"; \
32921 (cd $(HOST_SUBDIR)/zlib && \
32922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32924 "RANLIB=$${RANLIB}" \
32925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32926 TAGS) \
32927 || exit 1
32928
32929 @endif zlib
32930
32931 .PHONY: maybe-install-info-zlib install-info-zlib
32932 maybe-install-info-zlib:
32933 @if zlib
32934 maybe-install-info-zlib: install-info-zlib
32935
32936 install-info-zlib: \
32937 configure-zlib \
32938 info-zlib
32939 @[ -f ./zlib/Makefile ] || exit 0; \
32940 r=`${PWD_COMMAND}`; export r; \
32941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32942 $(HOST_EXPORTS) \
32943 for flag in $(EXTRA_HOST_FLAGS) ; do \
32944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32945 done; \
32946 echo "Doing install-info in zlib"; \
32947 (cd $(HOST_SUBDIR)/zlib && \
32948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32950 "RANLIB=$${RANLIB}" \
32951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32952 install-info) \
32953 || exit 1
32954
32955 @endif zlib
32956
32957 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32958 maybe-install-pdf-zlib:
32959 @if zlib
32960 maybe-install-pdf-zlib: install-pdf-zlib
32961
32962 install-pdf-zlib: \
32963 configure-zlib \
32964 pdf-zlib
32965 @[ -f ./zlib/Makefile ] || exit 0; \
32966 r=`${PWD_COMMAND}`; export r; \
32967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32968 $(HOST_EXPORTS) \
32969 for flag in $(EXTRA_HOST_FLAGS) ; do \
32970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32971 done; \
32972 echo "Doing install-pdf in zlib"; \
32973 (cd $(HOST_SUBDIR)/zlib && \
32974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32976 "RANLIB=$${RANLIB}" \
32977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32978 install-pdf) \
32979 || exit 1
32980
32981 @endif zlib
32982
32983 .PHONY: maybe-install-html-zlib install-html-zlib
32984 maybe-install-html-zlib:
32985 @if zlib
32986 maybe-install-html-zlib: install-html-zlib
32987
32988 install-html-zlib: \
32989 configure-zlib \
32990 html-zlib
32991 @[ -f ./zlib/Makefile ] || exit 0; \
32992 r=`${PWD_COMMAND}`; export r; \
32993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32994 $(HOST_EXPORTS) \
32995 for flag in $(EXTRA_HOST_FLAGS) ; do \
32996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32997 done; \
32998 echo "Doing install-html in zlib"; \
32999 (cd $(HOST_SUBDIR)/zlib && \
33000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33002 "RANLIB=$${RANLIB}" \
33003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33004 install-html) \
33005 || exit 1
33006
33007 @endif zlib
33008
33009 .PHONY: maybe-installcheck-zlib installcheck-zlib
33010 maybe-installcheck-zlib:
33011 @if zlib
33012 maybe-installcheck-zlib: installcheck-zlib
33013
33014 installcheck-zlib: \
33015 configure-zlib
33016 @[ -f ./zlib/Makefile ] || exit 0; \
33017 r=`${PWD_COMMAND}`; export r; \
33018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33019 $(HOST_EXPORTS) \
33020 for flag in $(EXTRA_HOST_FLAGS) ; do \
33021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33022 done; \
33023 echo "Doing installcheck in zlib"; \
33024 (cd $(HOST_SUBDIR)/zlib && \
33025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33027 "RANLIB=$${RANLIB}" \
33028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33029 installcheck) \
33030 || exit 1
33031
33032 @endif zlib
33033
33034 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
33035 maybe-mostlyclean-zlib:
33036 @if zlib
33037 maybe-mostlyclean-zlib: mostlyclean-zlib
33038
33039 mostlyclean-zlib:
33040 @[ -f ./zlib/Makefile ] || exit 0; \
33041 r=`${PWD_COMMAND}`; export r; \
33042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33043 $(HOST_EXPORTS) \
33044 for flag in $(EXTRA_HOST_FLAGS) ; do \
33045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33046 done; \
33047 echo "Doing mostlyclean in zlib"; \
33048 (cd $(HOST_SUBDIR)/zlib && \
33049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33051 "RANLIB=$${RANLIB}" \
33052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33053 mostlyclean) \
33054 || exit 1
33055
33056 @endif zlib
33057
33058 .PHONY: maybe-clean-zlib clean-zlib
33059 maybe-clean-zlib:
33060 @if zlib
33061 maybe-clean-zlib: clean-zlib
33062
33063 clean-zlib:
33064 @[ -f ./zlib/Makefile ] || exit 0; \
33065 r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(HOST_EXPORTS) \
33068 for flag in $(EXTRA_HOST_FLAGS) ; do \
33069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33070 done; \
33071 echo "Doing clean in zlib"; \
33072 (cd $(HOST_SUBDIR)/zlib && \
33073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33075 "RANLIB=$${RANLIB}" \
33076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33077 clean) \
33078 || exit 1
33079
33080 @endif zlib
33081
33082 .PHONY: maybe-distclean-zlib distclean-zlib
33083 maybe-distclean-zlib:
33084 @if zlib
33085 maybe-distclean-zlib: distclean-zlib
33086
33087 distclean-zlib:
33088 @[ -f ./zlib/Makefile ] || exit 0; \
33089 r=`${PWD_COMMAND}`; export r; \
33090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33091 $(HOST_EXPORTS) \
33092 for flag in $(EXTRA_HOST_FLAGS) ; do \
33093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33094 done; \
33095 echo "Doing distclean in zlib"; \
33096 (cd $(HOST_SUBDIR)/zlib && \
33097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33099 "RANLIB=$${RANLIB}" \
33100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33101 distclean) \
33102 || exit 1
33103
33104 @endif zlib
33105
33106 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
33107 maybe-maintainer-clean-zlib:
33108 @if zlib
33109 maybe-maintainer-clean-zlib: maintainer-clean-zlib
33110
33111 maintainer-clean-zlib:
33112 @[ -f ./zlib/Makefile ] || exit 0; \
33113 r=`${PWD_COMMAND}`; export r; \
33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33115 $(HOST_EXPORTS) \
33116 for flag in $(EXTRA_HOST_FLAGS) ; do \
33117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33118 done; \
33119 echo "Doing maintainer-clean in zlib"; \
33120 (cd $(HOST_SUBDIR)/zlib && \
33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33123 "RANLIB=$${RANLIB}" \
33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33125 maintainer-clean) \
33126 || exit 1
33127
33128 @endif zlib
33129
33130
33131
33132 .PHONY: configure-gnulib maybe-configure-gnulib
33133 maybe-configure-gnulib:
33134 @if gcc-bootstrap
33135 configure-gnulib: stage_current
33136 @endif gcc-bootstrap
33137 @if gnulib
33138 maybe-configure-gnulib: configure-gnulib
33139 configure-gnulib:
33140 @: $(MAKE); $(unstage)
33141 @r=`${PWD_COMMAND}`; export r; \
33142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33143 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
33144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
33145 $(HOST_EXPORTS) \
33146 echo Configuring in $(HOST_SUBDIR)/gnulib; \
33147 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
33148 case $(srcdir) in \
33149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33150 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
33151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33152 esac; \
33153 module_srcdir=gnulib; \
33154 $(SHELL) \
33155 $$s/$$module_srcdir/configure \
33156 --srcdir=$${topdir}/$$module_srcdir \
33157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33158 --target=${target_alias} \
33159 || exit 1
33160 @endif gnulib
33161
33162
33163
33164
33165
33166 .PHONY: all-gnulib maybe-all-gnulib
33167 maybe-all-gnulib:
33168 @if gcc-bootstrap
33169 all-gnulib: stage_current
33170 @endif gcc-bootstrap
33171 @if gnulib
33172 TARGET-gnulib=all
33173 maybe-all-gnulib: all-gnulib
33174 all-gnulib: configure-gnulib
33175 @: $(MAKE); $(unstage)
33176 @r=`${PWD_COMMAND}`; export r; \
33177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33178 $(HOST_EXPORTS) \
33179 (cd $(HOST_SUBDIR)/gnulib && \
33180 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33181 $(TARGET-gnulib))
33182 @endif gnulib
33183
33184
33185
33186
33187 .PHONY: check-gnulib maybe-check-gnulib
33188 maybe-check-gnulib:
33189 @if gnulib
33190 maybe-check-gnulib: check-gnulib
33191
33192 check-gnulib:
33193 @: $(MAKE); $(unstage)
33194 @r=`${PWD_COMMAND}`; export r; \
33195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33196 $(HOST_EXPORTS) \
33197 (cd $(HOST_SUBDIR)/gnulib && \
33198 $(MAKE) $(FLAGS_TO_PASS) check)
33199
33200 @endif gnulib
33201
33202 .PHONY: install-gnulib maybe-install-gnulib
33203 maybe-install-gnulib:
33204 @if gnulib
33205 maybe-install-gnulib: install-gnulib
33206
33207 install-gnulib: installdirs
33208 @: $(MAKE); $(unstage)
33209 @r=`${PWD_COMMAND}`; export r; \
33210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33211 $(HOST_EXPORTS) \
33212 (cd $(HOST_SUBDIR)/gnulib && \
33213 $(MAKE) $(FLAGS_TO_PASS) install)
33214
33215 @endif gnulib
33216
33217 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
33218 maybe-install-strip-gnulib:
33219 @if gnulib
33220 maybe-install-strip-gnulib: install-strip-gnulib
33221
33222 install-strip-gnulib: installdirs
33223 @: $(MAKE); $(unstage)
33224 @r=`${PWD_COMMAND}`; export r; \
33225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33226 $(HOST_EXPORTS) \
33227 (cd $(HOST_SUBDIR)/gnulib && \
33228 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33229
33230 @endif gnulib
33231
33232 # Other targets (info, dvi, pdf, etc.)
33233
33234 .PHONY: maybe-info-gnulib info-gnulib
33235 maybe-info-gnulib:
33236 @if gnulib
33237 maybe-info-gnulib: info-gnulib
33238
33239 info-gnulib: \
33240 configure-gnulib
33241 @: $(MAKE); $(unstage)
33242 @[ -f ./gnulib/Makefile ] || exit 0; \
33243 r=`${PWD_COMMAND}`; export r; \
33244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33245 $(HOST_EXPORTS) \
33246 for flag in $(EXTRA_HOST_FLAGS) ; do \
33247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33248 done; \
33249 echo "Doing info in gnulib"; \
33250 (cd $(HOST_SUBDIR)/gnulib && \
33251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33253 "RANLIB=$${RANLIB}" \
33254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33255 info) \
33256 || exit 1
33257
33258 @endif gnulib
33259
33260 .PHONY: maybe-dvi-gnulib dvi-gnulib
33261 maybe-dvi-gnulib:
33262 @if gnulib
33263 maybe-dvi-gnulib: dvi-gnulib
33264
33265 dvi-gnulib: \
33266 configure-gnulib
33267 @: $(MAKE); $(unstage)
33268 @[ -f ./gnulib/Makefile ] || exit 0; \
33269 r=`${PWD_COMMAND}`; export r; \
33270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33271 $(HOST_EXPORTS) \
33272 for flag in $(EXTRA_HOST_FLAGS) ; do \
33273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33274 done; \
33275 echo "Doing dvi in gnulib"; \
33276 (cd $(HOST_SUBDIR)/gnulib && \
33277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33279 "RANLIB=$${RANLIB}" \
33280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33281 dvi) \
33282 || exit 1
33283
33284 @endif gnulib
33285
33286 .PHONY: maybe-pdf-gnulib pdf-gnulib
33287 maybe-pdf-gnulib:
33288 @if gnulib
33289 maybe-pdf-gnulib: pdf-gnulib
33290
33291 pdf-gnulib: \
33292 configure-gnulib
33293 @: $(MAKE); $(unstage)
33294 @[ -f ./gnulib/Makefile ] || exit 0; \
33295 r=`${PWD_COMMAND}`; export r; \
33296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33297 $(HOST_EXPORTS) \
33298 for flag in $(EXTRA_HOST_FLAGS) ; do \
33299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33300 done; \
33301 echo "Doing pdf in gnulib"; \
33302 (cd $(HOST_SUBDIR)/gnulib && \
33303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33305 "RANLIB=$${RANLIB}" \
33306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33307 pdf) \
33308 || exit 1
33309
33310 @endif gnulib
33311
33312 .PHONY: maybe-html-gnulib html-gnulib
33313 maybe-html-gnulib:
33314 @if gnulib
33315 maybe-html-gnulib: html-gnulib
33316
33317 html-gnulib: \
33318 configure-gnulib
33319 @: $(MAKE); $(unstage)
33320 @[ -f ./gnulib/Makefile ] || exit 0; \
33321 r=`${PWD_COMMAND}`; export r; \
33322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33323 $(HOST_EXPORTS) \
33324 for flag in $(EXTRA_HOST_FLAGS) ; do \
33325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33326 done; \
33327 echo "Doing html in gnulib"; \
33328 (cd $(HOST_SUBDIR)/gnulib && \
33329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33331 "RANLIB=$${RANLIB}" \
33332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33333 html) \
33334 || exit 1
33335
33336 @endif gnulib
33337
33338 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
33339 maybe-TAGS-gnulib:
33340 @if gnulib
33341 maybe-TAGS-gnulib: TAGS-gnulib
33342
33343 TAGS-gnulib: \
33344 configure-gnulib
33345 @: $(MAKE); $(unstage)
33346 @[ -f ./gnulib/Makefile ] || exit 0; \
33347 r=`${PWD_COMMAND}`; export r; \
33348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33349 $(HOST_EXPORTS) \
33350 for flag in $(EXTRA_HOST_FLAGS) ; do \
33351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33352 done; \
33353 echo "Doing TAGS in gnulib"; \
33354 (cd $(HOST_SUBDIR)/gnulib && \
33355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33357 "RANLIB=$${RANLIB}" \
33358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33359 TAGS) \
33360 || exit 1
33361
33362 @endif gnulib
33363
33364 .PHONY: maybe-install-info-gnulib install-info-gnulib
33365 maybe-install-info-gnulib:
33366 @if gnulib
33367 maybe-install-info-gnulib: install-info-gnulib
33368
33369 install-info-gnulib: \
33370 configure-gnulib \
33371 info-gnulib
33372 @: $(MAKE); $(unstage)
33373 @[ -f ./gnulib/Makefile ] || exit 0; \
33374 r=`${PWD_COMMAND}`; export r; \
33375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33376 $(HOST_EXPORTS) \
33377 for flag in $(EXTRA_HOST_FLAGS) ; do \
33378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33379 done; \
33380 echo "Doing install-info in gnulib"; \
33381 (cd $(HOST_SUBDIR)/gnulib && \
33382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33384 "RANLIB=$${RANLIB}" \
33385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33386 install-info) \
33387 || exit 1
33388
33389 @endif gnulib
33390
33391 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
33392 maybe-install-pdf-gnulib:
33393 @if gnulib
33394 maybe-install-pdf-gnulib: install-pdf-gnulib
33395
33396 install-pdf-gnulib: \
33397 configure-gnulib \
33398 pdf-gnulib
33399 @: $(MAKE); $(unstage)
33400 @[ -f ./gnulib/Makefile ] || exit 0; \
33401 r=`${PWD_COMMAND}`; export r; \
33402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33403 $(HOST_EXPORTS) \
33404 for flag in $(EXTRA_HOST_FLAGS) ; do \
33405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33406 done; \
33407 echo "Doing install-pdf in gnulib"; \
33408 (cd $(HOST_SUBDIR)/gnulib && \
33409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33411 "RANLIB=$${RANLIB}" \
33412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33413 install-pdf) \
33414 || exit 1
33415
33416 @endif gnulib
33417
33418 .PHONY: maybe-install-html-gnulib install-html-gnulib
33419 maybe-install-html-gnulib:
33420 @if gnulib
33421 maybe-install-html-gnulib: install-html-gnulib
33422
33423 install-html-gnulib: \
33424 configure-gnulib \
33425 html-gnulib
33426 @: $(MAKE); $(unstage)
33427 @[ -f ./gnulib/Makefile ] || exit 0; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(HOST_EXPORTS) \
33431 for flag in $(EXTRA_HOST_FLAGS) ; do \
33432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33433 done; \
33434 echo "Doing install-html in gnulib"; \
33435 (cd $(HOST_SUBDIR)/gnulib && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33440 install-html) \
33441 || exit 1
33442
33443 @endif gnulib
33444
33445 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
33446 maybe-installcheck-gnulib:
33447 @if gnulib
33448 maybe-installcheck-gnulib: installcheck-gnulib
33449
33450 installcheck-gnulib: \
33451 configure-gnulib
33452 @: $(MAKE); $(unstage)
33453 @[ -f ./gnulib/Makefile ] || exit 0; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(HOST_EXPORTS) \
33457 for flag in $(EXTRA_HOST_FLAGS) ; do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 echo "Doing installcheck in gnulib"; \
33461 (cd $(HOST_SUBDIR)/gnulib && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33466 installcheck) \
33467 || exit 1
33468
33469 @endif gnulib
33470
33471 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
33472 maybe-mostlyclean-gnulib:
33473 @if gnulib
33474 maybe-mostlyclean-gnulib: mostlyclean-gnulib
33475
33476 mostlyclean-gnulib:
33477 @: $(MAKE); $(unstage)
33478 @[ -f ./gnulib/Makefile ] || exit 0; \
33479 r=`${PWD_COMMAND}`; export r; \
33480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33481 $(HOST_EXPORTS) \
33482 for flag in $(EXTRA_HOST_FLAGS) ; do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 echo "Doing mostlyclean in gnulib"; \
33486 (cd $(HOST_SUBDIR)/gnulib && \
33487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33489 "RANLIB=$${RANLIB}" \
33490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33491 mostlyclean) \
33492 || exit 1
33493
33494 @endif gnulib
33495
33496 .PHONY: maybe-clean-gnulib clean-gnulib
33497 maybe-clean-gnulib:
33498 @if gnulib
33499 maybe-clean-gnulib: clean-gnulib
33500
33501 clean-gnulib:
33502 @: $(MAKE); $(unstage)
33503 @[ -f ./gnulib/Makefile ] || exit 0; \
33504 r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(HOST_EXPORTS) \
33507 for flag in $(EXTRA_HOST_FLAGS) ; do \
33508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33509 done; \
33510 echo "Doing clean in gnulib"; \
33511 (cd $(HOST_SUBDIR)/gnulib && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33514 "RANLIB=$${RANLIB}" \
33515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33516 clean) \
33517 || exit 1
33518
33519 @endif gnulib
33520
33521 .PHONY: maybe-distclean-gnulib distclean-gnulib
33522 maybe-distclean-gnulib:
33523 @if gnulib
33524 maybe-distclean-gnulib: distclean-gnulib
33525
33526 distclean-gnulib:
33527 @: $(MAKE); $(unstage)
33528 @[ -f ./gnulib/Makefile ] || exit 0; \
33529 r=`${PWD_COMMAND}`; export r; \
33530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33531 $(HOST_EXPORTS) \
33532 for flag in $(EXTRA_HOST_FLAGS) ; do \
33533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33534 done; \
33535 echo "Doing distclean in gnulib"; \
33536 (cd $(HOST_SUBDIR)/gnulib && \
33537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33539 "RANLIB=$${RANLIB}" \
33540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33541 distclean) \
33542 || exit 1
33543
33544 @endif gnulib
33545
33546 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
33547 maybe-maintainer-clean-gnulib:
33548 @if gnulib
33549 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
33550
33551 maintainer-clean-gnulib:
33552 @: $(MAKE); $(unstage)
33553 @[ -f ./gnulib/Makefile ] || exit 0; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(HOST_EXPORTS) \
33557 for flag in $(EXTRA_HOST_FLAGS) ; do \
33558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33559 done; \
33560 echo "Doing maintainer-clean in gnulib"; \
33561 (cd $(HOST_SUBDIR)/gnulib && \
33562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33564 "RANLIB=$${RANLIB}" \
33565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33566 maintainer-clean) \
33567 || exit 1
33568
33569 @endif gnulib
33570
33571
33572
33573 .PHONY: configure-gdb maybe-configure-gdb
33574 maybe-configure-gdb:
33575 @if gcc-bootstrap
33576 configure-gdb: stage_current
33577 @endif gcc-bootstrap
33578 @if gdb
33579 maybe-configure-gdb: configure-gdb
33580 configure-gdb:
33581 @: $(MAKE); $(unstage)
33582 @r=`${PWD_COMMAND}`; export r; \
33583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33584 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
33585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
33586 $(HOST_EXPORTS) \
33587 echo Configuring in $(HOST_SUBDIR)/gdb; \
33588 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
33589 case $(srcdir) in \
33590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33591 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
33592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33593 esac; \
33594 module_srcdir=gdb; \
33595 $(SHELL) \
33596 $$s/$$module_srcdir/configure \
33597 --srcdir=$${topdir}/$$module_srcdir \
33598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33599 --target=${target_alias} \
33600 || exit 1
33601 @endif gdb
33602
33603
33604
33605
33606
33607 .PHONY: all-gdb maybe-all-gdb
33608 maybe-all-gdb:
33609 @if gcc-bootstrap
33610 all-gdb: stage_current
33611 @endif gcc-bootstrap
33612 @if gdb
33613 TARGET-gdb=all
33614 maybe-all-gdb: all-gdb
33615 all-gdb: configure-gdb
33616 @: $(MAKE); $(unstage)
33617 @r=`${PWD_COMMAND}`; export r; \
33618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33619 $(HOST_EXPORTS) \
33620 (cd $(HOST_SUBDIR)/gdb && \
33621 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33622 $(TARGET-gdb))
33623 @endif gdb
33624
33625
33626
33627
33628 .PHONY: check-gdb maybe-check-gdb
33629 maybe-check-gdb:
33630 @if gdb
33631 maybe-check-gdb: check-gdb
33632
33633 check-gdb:
33634 @: $(MAKE); $(unstage)
33635 @r=`${PWD_COMMAND}`; export r; \
33636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33637 $(HOST_EXPORTS) \
33638 (cd $(HOST_SUBDIR)/gdb && \
33639 $(MAKE) $(FLAGS_TO_PASS) check)
33640
33641 @endif gdb
33642
33643 .PHONY: install-gdb maybe-install-gdb
33644 maybe-install-gdb:
33645 @if gdb
33646 maybe-install-gdb: install-gdb
33647
33648 install-gdb: installdirs
33649 @: $(MAKE); $(unstage)
33650 @r=`${PWD_COMMAND}`; export r; \
33651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33652 $(HOST_EXPORTS) \
33653 (cd $(HOST_SUBDIR)/gdb && \
33654 $(MAKE) $(FLAGS_TO_PASS) install)
33655
33656 @endif gdb
33657
33658 .PHONY: install-strip-gdb maybe-install-strip-gdb
33659 maybe-install-strip-gdb:
33660 @if gdb
33661 maybe-install-strip-gdb: install-strip-gdb
33662
33663 install-strip-gdb: installdirs
33664 @: $(MAKE); $(unstage)
33665 @r=`${PWD_COMMAND}`; export r; \
33666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33667 $(HOST_EXPORTS) \
33668 (cd $(HOST_SUBDIR)/gdb && \
33669 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33670
33671 @endif gdb
33672
33673 # Other targets (info, dvi, pdf, etc.)
33674
33675 .PHONY: maybe-info-gdb info-gdb
33676 maybe-info-gdb:
33677 @if gdb
33678 maybe-info-gdb: info-gdb
33679
33680 info-gdb: \
33681 configure-gdb
33682 @: $(MAKE); $(unstage)
33683 @[ -f ./gdb/Makefile ] || exit 0; \
33684 r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(HOST_EXPORTS) \
33687 for flag in $(EXTRA_HOST_FLAGS) ; do \
33688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33689 done; \
33690 echo "Doing info in gdb"; \
33691 (cd $(HOST_SUBDIR)/gdb && \
33692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33694 "RANLIB=$${RANLIB}" \
33695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33696 info) \
33697 || exit 1
33698
33699 @endif gdb
33700
33701 .PHONY: maybe-dvi-gdb dvi-gdb
33702 maybe-dvi-gdb:
33703 @if gdb
33704 maybe-dvi-gdb: dvi-gdb
33705
33706 dvi-gdb: \
33707 configure-gdb
33708 @: $(MAKE); $(unstage)
33709 @[ -f ./gdb/Makefile ] || exit 0; \
33710 r=`${PWD_COMMAND}`; export r; \
33711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33712 $(HOST_EXPORTS) \
33713 for flag in $(EXTRA_HOST_FLAGS) ; do \
33714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33715 done; \
33716 echo "Doing dvi in gdb"; \
33717 (cd $(HOST_SUBDIR)/gdb && \
33718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33720 "RANLIB=$${RANLIB}" \
33721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33722 dvi) \
33723 || exit 1
33724
33725 @endif gdb
33726
33727 .PHONY: maybe-pdf-gdb pdf-gdb
33728 maybe-pdf-gdb:
33729 @if gdb
33730 maybe-pdf-gdb: pdf-gdb
33731
33732 pdf-gdb: \
33733 configure-gdb
33734 @: $(MAKE); $(unstage)
33735 @[ -f ./gdb/Makefile ] || exit 0; \
33736 r=`${PWD_COMMAND}`; export r; \
33737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33738 $(HOST_EXPORTS) \
33739 for flag in $(EXTRA_HOST_FLAGS) ; do \
33740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33741 done; \
33742 echo "Doing pdf in gdb"; \
33743 (cd $(HOST_SUBDIR)/gdb && \
33744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33746 "RANLIB=$${RANLIB}" \
33747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33748 pdf) \
33749 || exit 1
33750
33751 @endif gdb
33752
33753 .PHONY: maybe-html-gdb html-gdb
33754 maybe-html-gdb:
33755 @if gdb
33756 maybe-html-gdb: html-gdb
33757
33758 html-gdb: \
33759 configure-gdb
33760 @: $(MAKE); $(unstage)
33761 @[ -f ./gdb/Makefile ] || exit 0; \
33762 r=`${PWD_COMMAND}`; export r; \
33763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33764 $(HOST_EXPORTS) \
33765 for flag in $(EXTRA_HOST_FLAGS) ; do \
33766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33767 done; \
33768 echo "Doing html in gdb"; \
33769 (cd $(HOST_SUBDIR)/gdb && \
33770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33772 "RANLIB=$${RANLIB}" \
33773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33774 html) \
33775 || exit 1
33776
33777 @endif gdb
33778
33779 .PHONY: maybe-TAGS-gdb TAGS-gdb
33780 maybe-TAGS-gdb:
33781 @if gdb
33782 maybe-TAGS-gdb: TAGS-gdb
33783
33784 TAGS-gdb: \
33785 configure-gdb
33786 @: $(MAKE); $(unstage)
33787 @[ -f ./gdb/Makefile ] || exit 0; \
33788 r=`${PWD_COMMAND}`; export r; \
33789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33790 $(HOST_EXPORTS) \
33791 for flag in $(EXTRA_HOST_FLAGS) ; do \
33792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33793 done; \
33794 echo "Doing TAGS in gdb"; \
33795 (cd $(HOST_SUBDIR)/gdb && \
33796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33798 "RANLIB=$${RANLIB}" \
33799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33800 TAGS) \
33801 || exit 1
33802
33803 @endif gdb
33804
33805 .PHONY: maybe-install-info-gdb install-info-gdb
33806 maybe-install-info-gdb:
33807 @if gdb
33808 maybe-install-info-gdb: install-info-gdb
33809
33810 install-info-gdb: \
33811 configure-gdb \
33812 info-gdb
33813 @: $(MAKE); $(unstage)
33814 @[ -f ./gdb/Makefile ] || exit 0; \
33815 r=`${PWD_COMMAND}`; export r; \
33816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33817 $(HOST_EXPORTS) \
33818 for flag in $(EXTRA_HOST_FLAGS) ; do \
33819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33820 done; \
33821 echo "Doing install-info in gdb"; \
33822 (cd $(HOST_SUBDIR)/gdb && \
33823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33825 "RANLIB=$${RANLIB}" \
33826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33827 install-info) \
33828 || exit 1
33829
33830 @endif gdb
33831
33832 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33833 maybe-install-pdf-gdb:
33834 @if gdb
33835 maybe-install-pdf-gdb: install-pdf-gdb
33836
33837 install-pdf-gdb: \
33838 configure-gdb \
33839 pdf-gdb
33840 @: $(MAKE); $(unstage)
33841 @[ -f ./gdb/Makefile ] || exit 0; \
33842 r=`${PWD_COMMAND}`; export r; \
33843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33844 $(HOST_EXPORTS) \
33845 for flag in $(EXTRA_HOST_FLAGS) ; do \
33846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33847 done; \
33848 echo "Doing install-pdf in gdb"; \
33849 (cd $(HOST_SUBDIR)/gdb && \
33850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33852 "RANLIB=$${RANLIB}" \
33853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33854 install-pdf) \
33855 || exit 1
33856
33857 @endif gdb
33858
33859 .PHONY: maybe-install-html-gdb install-html-gdb
33860 maybe-install-html-gdb:
33861 @if gdb
33862 maybe-install-html-gdb: install-html-gdb
33863
33864 install-html-gdb: \
33865 configure-gdb \
33866 html-gdb
33867 @: $(MAKE); $(unstage)
33868 @[ -f ./gdb/Makefile ] || exit 0; \
33869 r=`${PWD_COMMAND}`; export r; \
33870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33871 $(HOST_EXPORTS) \
33872 for flag in $(EXTRA_HOST_FLAGS) ; do \
33873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33874 done; \
33875 echo "Doing install-html in gdb"; \
33876 (cd $(HOST_SUBDIR)/gdb && \
33877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33879 "RANLIB=$${RANLIB}" \
33880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33881 install-html) \
33882 || exit 1
33883
33884 @endif gdb
33885
33886 .PHONY: maybe-installcheck-gdb installcheck-gdb
33887 maybe-installcheck-gdb:
33888 @if gdb
33889 maybe-installcheck-gdb: installcheck-gdb
33890
33891 installcheck-gdb: \
33892 configure-gdb
33893 @: $(MAKE); $(unstage)
33894 @[ -f ./gdb/Makefile ] || exit 0; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(HOST_EXPORTS) \
33898 for flag in $(EXTRA_HOST_FLAGS) ; do \
33899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 done; \
33901 echo "Doing installcheck in gdb"; \
33902 (cd $(HOST_SUBDIR)/gdb && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33907 installcheck) \
33908 || exit 1
33909
33910 @endif gdb
33911
33912 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33913 maybe-mostlyclean-gdb:
33914 @if gdb
33915 maybe-mostlyclean-gdb: mostlyclean-gdb
33916
33917 mostlyclean-gdb:
33918 @: $(MAKE); $(unstage)
33919 @[ -f ./gdb/Makefile ] || exit 0; \
33920 r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 $(HOST_EXPORTS) \
33923 for flag in $(EXTRA_HOST_FLAGS) ; do \
33924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33925 done; \
33926 echo "Doing mostlyclean in gdb"; \
33927 (cd $(HOST_SUBDIR)/gdb && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33930 "RANLIB=$${RANLIB}" \
33931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33932 mostlyclean) \
33933 || exit 1
33934
33935 @endif gdb
33936
33937 .PHONY: maybe-clean-gdb clean-gdb
33938 maybe-clean-gdb:
33939 @if gdb
33940 maybe-clean-gdb: clean-gdb
33941
33942 clean-gdb:
33943 @: $(MAKE); $(unstage)
33944 @[ -f ./gdb/Makefile ] || exit 0; \
33945 r=`${PWD_COMMAND}`; export r; \
33946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33947 $(HOST_EXPORTS) \
33948 for flag in $(EXTRA_HOST_FLAGS) ; do \
33949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33950 done; \
33951 echo "Doing clean in gdb"; \
33952 (cd $(HOST_SUBDIR)/gdb && \
33953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33955 "RANLIB=$${RANLIB}" \
33956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33957 clean) \
33958 || exit 1
33959
33960 @endif gdb
33961
33962 .PHONY: maybe-distclean-gdb distclean-gdb
33963 maybe-distclean-gdb:
33964 @if gdb
33965 maybe-distclean-gdb: distclean-gdb
33966
33967 distclean-gdb:
33968 @: $(MAKE); $(unstage)
33969 @[ -f ./gdb/Makefile ] || exit 0; \
33970 r=`${PWD_COMMAND}`; export r; \
33971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33972 $(HOST_EXPORTS) \
33973 for flag in $(EXTRA_HOST_FLAGS) ; do \
33974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33975 done; \
33976 echo "Doing distclean in gdb"; \
33977 (cd $(HOST_SUBDIR)/gdb && \
33978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33980 "RANLIB=$${RANLIB}" \
33981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33982 distclean) \
33983 || exit 1
33984
33985 @endif gdb
33986
33987 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33988 maybe-maintainer-clean-gdb:
33989 @if gdb
33990 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33991
33992 maintainer-clean-gdb:
33993 @: $(MAKE); $(unstage)
33994 @[ -f ./gdb/Makefile ] || exit 0; \
33995 r=`${PWD_COMMAND}`; export r; \
33996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33997 $(HOST_EXPORTS) \
33998 for flag in $(EXTRA_HOST_FLAGS) ; do \
33999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34000 done; \
34001 echo "Doing maintainer-clean in gdb"; \
34002 (cd $(HOST_SUBDIR)/gdb && \
34003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34005 "RANLIB=$${RANLIB}" \
34006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34007 maintainer-clean) \
34008 || exit 1
34009
34010 @endif gdb
34011
34012
34013
34014 .PHONY: configure-expect maybe-configure-expect
34015 maybe-configure-expect:
34016 @if gcc-bootstrap
34017 configure-expect: stage_current
34018 @endif gcc-bootstrap
34019 @if expect
34020 maybe-configure-expect: configure-expect
34021 configure-expect:
34022 @: $(MAKE); $(unstage)
34023 @r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
34026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
34027 $(HOST_EXPORTS) \
34028 echo Configuring in $(HOST_SUBDIR)/expect; \
34029 cd "$(HOST_SUBDIR)/expect" || exit 1; \
34030 case $(srcdir) in \
34031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34032 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
34033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34034 esac; \
34035 module_srcdir=expect; \
34036 $(SHELL) \
34037 $$s/$$module_srcdir/configure \
34038 --srcdir=$${topdir}/$$module_srcdir \
34039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34040 --target=${target_alias} \
34041 || exit 1
34042 @endif expect
34043
34044
34045
34046
34047
34048 .PHONY: all-expect maybe-all-expect
34049 maybe-all-expect:
34050 @if gcc-bootstrap
34051 all-expect: stage_current
34052 @endif gcc-bootstrap
34053 @if expect
34054 TARGET-expect=all
34055 maybe-all-expect: all-expect
34056 all-expect: configure-expect
34057 @: $(MAKE); $(unstage)
34058 @r=`${PWD_COMMAND}`; export r; \
34059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34060 $(HOST_EXPORTS) \
34061 (cd $(HOST_SUBDIR)/expect && \
34062 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34063 $(TARGET-expect))
34064 @endif expect
34065
34066
34067
34068
34069 .PHONY: check-expect maybe-check-expect
34070 maybe-check-expect:
34071 @if expect
34072 maybe-check-expect: check-expect
34073
34074 check-expect:
34075 @: $(MAKE); $(unstage)
34076 @r=`${PWD_COMMAND}`; export r; \
34077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34078 $(HOST_EXPORTS) \
34079 (cd $(HOST_SUBDIR)/expect && \
34080 $(MAKE) $(FLAGS_TO_PASS) check)
34081
34082 @endif expect
34083
34084 .PHONY: install-expect maybe-install-expect
34085 maybe-install-expect:
34086 @if expect
34087 maybe-install-expect: install-expect
34088
34089 install-expect: installdirs
34090 @: $(MAKE); $(unstage)
34091 @r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(HOST_EXPORTS) \
34094 (cd $(HOST_SUBDIR)/expect && \
34095 $(MAKE) $(FLAGS_TO_PASS) install)
34096
34097 @endif expect
34098
34099 .PHONY: install-strip-expect maybe-install-strip-expect
34100 maybe-install-strip-expect:
34101 @if expect
34102 maybe-install-strip-expect: install-strip-expect
34103
34104 install-strip-expect: installdirs
34105 @: $(MAKE); $(unstage)
34106 @r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(HOST_EXPORTS) \
34109 (cd $(HOST_SUBDIR)/expect && \
34110 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34111
34112 @endif expect
34113
34114 # Other targets (info, dvi, pdf, etc.)
34115
34116 .PHONY: maybe-info-expect info-expect
34117 maybe-info-expect:
34118 @if expect
34119 maybe-info-expect: info-expect
34120
34121 info-expect: \
34122 configure-expect
34123 @: $(MAKE); $(unstage)
34124 @[ -f ./expect/Makefile ] || exit 0; \
34125 r=`${PWD_COMMAND}`; export r; \
34126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34127 $(HOST_EXPORTS) \
34128 for flag in $(EXTRA_HOST_FLAGS) ; do \
34129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34130 done; \
34131 echo "Doing info in expect"; \
34132 (cd $(HOST_SUBDIR)/expect && \
34133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34135 "RANLIB=$${RANLIB}" \
34136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34137 info) \
34138 || exit 1
34139
34140 @endif expect
34141
34142 .PHONY: maybe-dvi-expect dvi-expect
34143 maybe-dvi-expect:
34144 @if expect
34145 maybe-dvi-expect: dvi-expect
34146
34147 dvi-expect: \
34148 configure-expect
34149 @: $(MAKE); $(unstage)
34150 @[ -f ./expect/Makefile ] || exit 0; \
34151 r=`${PWD_COMMAND}`; export r; \
34152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34153 $(HOST_EXPORTS) \
34154 for flag in $(EXTRA_HOST_FLAGS) ; do \
34155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34156 done; \
34157 echo "Doing dvi in expect"; \
34158 (cd $(HOST_SUBDIR)/expect && \
34159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34161 "RANLIB=$${RANLIB}" \
34162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34163 dvi) \
34164 || exit 1
34165
34166 @endif expect
34167
34168 .PHONY: maybe-pdf-expect pdf-expect
34169 maybe-pdf-expect:
34170 @if expect
34171 maybe-pdf-expect: pdf-expect
34172
34173 pdf-expect: \
34174 configure-expect
34175 @: $(MAKE); $(unstage)
34176 @[ -f ./expect/Makefile ] || exit 0; \
34177 r=`${PWD_COMMAND}`; export r; \
34178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34179 $(HOST_EXPORTS) \
34180 for flag in $(EXTRA_HOST_FLAGS) ; do \
34181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34182 done; \
34183 echo "Doing pdf in expect"; \
34184 (cd $(HOST_SUBDIR)/expect && \
34185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34187 "RANLIB=$${RANLIB}" \
34188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34189 pdf) \
34190 || exit 1
34191
34192 @endif expect
34193
34194 .PHONY: maybe-html-expect html-expect
34195 maybe-html-expect:
34196 @if expect
34197 maybe-html-expect: html-expect
34198
34199 html-expect: \
34200 configure-expect
34201 @: $(MAKE); $(unstage)
34202 @[ -f ./expect/Makefile ] || exit 0; \
34203 r=`${PWD_COMMAND}`; export r; \
34204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34205 $(HOST_EXPORTS) \
34206 for flag in $(EXTRA_HOST_FLAGS) ; do \
34207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34208 done; \
34209 echo "Doing html in expect"; \
34210 (cd $(HOST_SUBDIR)/expect && \
34211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34213 "RANLIB=$${RANLIB}" \
34214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34215 html) \
34216 || exit 1
34217
34218 @endif expect
34219
34220 .PHONY: maybe-TAGS-expect TAGS-expect
34221 maybe-TAGS-expect:
34222 @if expect
34223 maybe-TAGS-expect: TAGS-expect
34224
34225 TAGS-expect: \
34226 configure-expect
34227 @: $(MAKE); $(unstage)
34228 @[ -f ./expect/Makefile ] || exit 0; \
34229 r=`${PWD_COMMAND}`; export r; \
34230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34231 $(HOST_EXPORTS) \
34232 for flag in $(EXTRA_HOST_FLAGS) ; do \
34233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34234 done; \
34235 echo "Doing TAGS in expect"; \
34236 (cd $(HOST_SUBDIR)/expect && \
34237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34239 "RANLIB=$${RANLIB}" \
34240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34241 TAGS) \
34242 || exit 1
34243
34244 @endif expect
34245
34246 .PHONY: maybe-install-info-expect install-info-expect
34247 maybe-install-info-expect:
34248 @if expect
34249 maybe-install-info-expect: install-info-expect
34250
34251 install-info-expect: \
34252 configure-expect \
34253 info-expect
34254 @: $(MAKE); $(unstage)
34255 @[ -f ./expect/Makefile ] || exit 0; \
34256 r=`${PWD_COMMAND}`; export r; \
34257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34258 $(HOST_EXPORTS) \
34259 for flag in $(EXTRA_HOST_FLAGS) ; do \
34260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34261 done; \
34262 echo "Doing install-info in expect"; \
34263 (cd $(HOST_SUBDIR)/expect && \
34264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34266 "RANLIB=$${RANLIB}" \
34267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34268 install-info) \
34269 || exit 1
34270
34271 @endif expect
34272
34273 .PHONY: maybe-install-pdf-expect install-pdf-expect
34274 maybe-install-pdf-expect:
34275 @if expect
34276 maybe-install-pdf-expect: install-pdf-expect
34277
34278 install-pdf-expect: \
34279 configure-expect \
34280 pdf-expect
34281 @: $(MAKE); $(unstage)
34282 @[ -f ./expect/Makefile ] || exit 0; \
34283 r=`${PWD_COMMAND}`; export r; \
34284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34285 $(HOST_EXPORTS) \
34286 for flag in $(EXTRA_HOST_FLAGS) ; do \
34287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34288 done; \
34289 echo "Doing install-pdf in expect"; \
34290 (cd $(HOST_SUBDIR)/expect && \
34291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34293 "RANLIB=$${RANLIB}" \
34294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34295 install-pdf) \
34296 || exit 1
34297
34298 @endif expect
34299
34300 .PHONY: maybe-install-html-expect install-html-expect
34301 maybe-install-html-expect:
34302 @if expect
34303 maybe-install-html-expect: install-html-expect
34304
34305 install-html-expect: \
34306 configure-expect \
34307 html-expect
34308 @: $(MAKE); $(unstage)
34309 @[ -f ./expect/Makefile ] || exit 0; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(HOST_EXPORTS) \
34313 for flag in $(EXTRA_HOST_FLAGS) ; do \
34314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34315 done; \
34316 echo "Doing install-html in expect"; \
34317 (cd $(HOST_SUBDIR)/expect && \
34318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34320 "RANLIB=$${RANLIB}" \
34321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34322 install-html) \
34323 || exit 1
34324
34325 @endif expect
34326
34327 .PHONY: maybe-installcheck-expect installcheck-expect
34328 maybe-installcheck-expect:
34329 @if expect
34330 maybe-installcheck-expect: installcheck-expect
34331
34332 installcheck-expect: \
34333 configure-expect
34334 @: $(MAKE); $(unstage)
34335 @[ -f ./expect/Makefile ] || exit 0; \
34336 r=`${PWD_COMMAND}`; export r; \
34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34338 $(HOST_EXPORTS) \
34339 for flag in $(EXTRA_HOST_FLAGS) ; do \
34340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34341 done; \
34342 echo "Doing installcheck in expect"; \
34343 (cd $(HOST_SUBDIR)/expect && \
34344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34346 "RANLIB=$${RANLIB}" \
34347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34348 installcheck) \
34349 || exit 1
34350
34351 @endif expect
34352
34353 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
34354 maybe-mostlyclean-expect:
34355 @if expect
34356 maybe-mostlyclean-expect: mostlyclean-expect
34357
34358 mostlyclean-expect:
34359 @: $(MAKE); $(unstage)
34360 @[ -f ./expect/Makefile ] || exit 0; \
34361 r=`${PWD_COMMAND}`; export r; \
34362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34363 $(HOST_EXPORTS) \
34364 for flag in $(EXTRA_HOST_FLAGS) ; do \
34365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34366 done; \
34367 echo "Doing mostlyclean in expect"; \
34368 (cd $(HOST_SUBDIR)/expect && \
34369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34371 "RANLIB=$${RANLIB}" \
34372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34373 mostlyclean) \
34374 || exit 1
34375
34376 @endif expect
34377
34378 .PHONY: maybe-clean-expect clean-expect
34379 maybe-clean-expect:
34380 @if expect
34381 maybe-clean-expect: clean-expect
34382
34383 clean-expect:
34384 @: $(MAKE); $(unstage)
34385 @[ -f ./expect/Makefile ] || exit 0; \
34386 r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(HOST_EXPORTS) \
34389 for flag in $(EXTRA_HOST_FLAGS) ; do \
34390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34391 done; \
34392 echo "Doing clean in expect"; \
34393 (cd $(HOST_SUBDIR)/expect && \
34394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34396 "RANLIB=$${RANLIB}" \
34397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34398 clean) \
34399 || exit 1
34400
34401 @endif expect
34402
34403 .PHONY: maybe-distclean-expect distclean-expect
34404 maybe-distclean-expect:
34405 @if expect
34406 maybe-distclean-expect: distclean-expect
34407
34408 distclean-expect:
34409 @: $(MAKE); $(unstage)
34410 @[ -f ./expect/Makefile ] || exit 0; \
34411 r=`${PWD_COMMAND}`; export r; \
34412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34413 $(HOST_EXPORTS) \
34414 for flag in $(EXTRA_HOST_FLAGS) ; do \
34415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34416 done; \
34417 echo "Doing distclean in expect"; \
34418 (cd $(HOST_SUBDIR)/expect && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34421 "RANLIB=$${RANLIB}" \
34422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34423 distclean) \
34424 || exit 1
34425
34426 @endif expect
34427
34428 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
34429 maybe-maintainer-clean-expect:
34430 @if expect
34431 maybe-maintainer-clean-expect: maintainer-clean-expect
34432
34433 maintainer-clean-expect:
34434 @: $(MAKE); $(unstage)
34435 @[ -f ./expect/Makefile ] || exit 0; \
34436 r=`${PWD_COMMAND}`; export r; \
34437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34438 $(HOST_EXPORTS) \
34439 for flag in $(EXTRA_HOST_FLAGS) ; do \
34440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34441 done; \
34442 echo "Doing maintainer-clean in expect"; \
34443 (cd $(HOST_SUBDIR)/expect && \
34444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34446 "RANLIB=$${RANLIB}" \
34447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34448 maintainer-clean) \
34449 || exit 1
34450
34451 @endif expect
34452
34453
34454
34455 .PHONY: configure-guile maybe-configure-guile
34456 maybe-configure-guile:
34457 @if gcc-bootstrap
34458 configure-guile: stage_current
34459 @endif gcc-bootstrap
34460 @if guile
34461 maybe-configure-guile: configure-guile
34462 configure-guile:
34463 @: $(MAKE); $(unstage)
34464 @r=`${PWD_COMMAND}`; export r; \
34465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34466 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
34467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
34468 $(HOST_EXPORTS) \
34469 echo Configuring in $(HOST_SUBDIR)/guile; \
34470 cd "$(HOST_SUBDIR)/guile" || exit 1; \
34471 case $(srcdir) in \
34472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34473 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
34474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34475 esac; \
34476 module_srcdir=guile; \
34477 $(SHELL) \
34478 $$s/$$module_srcdir/configure \
34479 --srcdir=$${topdir}/$$module_srcdir \
34480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34481 --target=${target_alias} \
34482 || exit 1
34483 @endif guile
34484
34485
34486
34487
34488
34489 .PHONY: all-guile maybe-all-guile
34490 maybe-all-guile:
34491 @if gcc-bootstrap
34492 all-guile: stage_current
34493 @endif gcc-bootstrap
34494 @if guile
34495 TARGET-guile=all
34496 maybe-all-guile: all-guile
34497 all-guile: configure-guile
34498 @: $(MAKE); $(unstage)
34499 @r=`${PWD_COMMAND}`; export r; \
34500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34501 $(HOST_EXPORTS) \
34502 (cd $(HOST_SUBDIR)/guile && \
34503 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34504 $(TARGET-guile))
34505 @endif guile
34506
34507
34508
34509
34510 .PHONY: check-guile maybe-check-guile
34511 maybe-check-guile:
34512 @if guile
34513 maybe-check-guile: check-guile
34514
34515 check-guile:
34516 @: $(MAKE); $(unstage)
34517 @r=`${PWD_COMMAND}`; export r; \
34518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34519 $(HOST_EXPORTS) \
34520 (cd $(HOST_SUBDIR)/guile && \
34521 $(MAKE) $(FLAGS_TO_PASS) check)
34522
34523 @endif guile
34524
34525 .PHONY: install-guile maybe-install-guile
34526 maybe-install-guile:
34527 @if guile
34528 maybe-install-guile: install-guile
34529
34530 install-guile: installdirs
34531 @: $(MAKE); $(unstage)
34532 @r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(HOST_EXPORTS) \
34535 (cd $(HOST_SUBDIR)/guile && \
34536 $(MAKE) $(FLAGS_TO_PASS) install)
34537
34538 @endif guile
34539
34540 .PHONY: install-strip-guile maybe-install-strip-guile
34541 maybe-install-strip-guile:
34542 @if guile
34543 maybe-install-strip-guile: install-strip-guile
34544
34545 install-strip-guile: installdirs
34546 @: $(MAKE); $(unstage)
34547 @r=`${PWD_COMMAND}`; export r; \
34548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34549 $(HOST_EXPORTS) \
34550 (cd $(HOST_SUBDIR)/guile && \
34551 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34552
34553 @endif guile
34554
34555 # Other targets (info, dvi, pdf, etc.)
34556
34557 .PHONY: maybe-info-guile info-guile
34558 maybe-info-guile:
34559 @if guile
34560 maybe-info-guile: info-guile
34561
34562 info-guile: \
34563 configure-guile
34564 @: $(MAKE); $(unstage)
34565 @[ -f ./guile/Makefile ] || exit 0; \
34566 r=`${PWD_COMMAND}`; export r; \
34567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34568 $(HOST_EXPORTS) \
34569 for flag in $(EXTRA_HOST_FLAGS) ; do \
34570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34571 done; \
34572 echo "Doing info in guile"; \
34573 (cd $(HOST_SUBDIR)/guile && \
34574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34576 "RANLIB=$${RANLIB}" \
34577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34578 info) \
34579 || exit 1
34580
34581 @endif guile
34582
34583 .PHONY: maybe-dvi-guile dvi-guile
34584 maybe-dvi-guile:
34585 @if guile
34586 maybe-dvi-guile: dvi-guile
34587
34588 dvi-guile: \
34589 configure-guile
34590 @: $(MAKE); $(unstage)
34591 @[ -f ./guile/Makefile ] || exit 0; \
34592 r=`${PWD_COMMAND}`; export r; \
34593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34594 $(HOST_EXPORTS) \
34595 for flag in $(EXTRA_HOST_FLAGS) ; do \
34596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34597 done; \
34598 echo "Doing dvi in guile"; \
34599 (cd $(HOST_SUBDIR)/guile && \
34600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34602 "RANLIB=$${RANLIB}" \
34603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34604 dvi) \
34605 || exit 1
34606
34607 @endif guile
34608
34609 .PHONY: maybe-pdf-guile pdf-guile
34610 maybe-pdf-guile:
34611 @if guile
34612 maybe-pdf-guile: pdf-guile
34613
34614 pdf-guile: \
34615 configure-guile
34616 @: $(MAKE); $(unstage)
34617 @[ -f ./guile/Makefile ] || exit 0; \
34618 r=`${PWD_COMMAND}`; export r; \
34619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34620 $(HOST_EXPORTS) \
34621 for flag in $(EXTRA_HOST_FLAGS) ; do \
34622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34623 done; \
34624 echo "Doing pdf in guile"; \
34625 (cd $(HOST_SUBDIR)/guile && \
34626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34628 "RANLIB=$${RANLIB}" \
34629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34630 pdf) \
34631 || exit 1
34632
34633 @endif guile
34634
34635 .PHONY: maybe-html-guile html-guile
34636 maybe-html-guile:
34637 @if guile
34638 maybe-html-guile: html-guile
34639
34640 html-guile: \
34641 configure-guile
34642 @: $(MAKE); $(unstage)
34643 @[ -f ./guile/Makefile ] || exit 0; \
34644 r=`${PWD_COMMAND}`; export r; \
34645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34646 $(HOST_EXPORTS) \
34647 for flag in $(EXTRA_HOST_FLAGS) ; do \
34648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34649 done; \
34650 echo "Doing html in guile"; \
34651 (cd $(HOST_SUBDIR)/guile && \
34652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34654 "RANLIB=$${RANLIB}" \
34655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34656 html) \
34657 || exit 1
34658
34659 @endif guile
34660
34661 .PHONY: maybe-TAGS-guile TAGS-guile
34662 maybe-TAGS-guile:
34663 @if guile
34664 maybe-TAGS-guile: TAGS-guile
34665
34666 TAGS-guile: \
34667 configure-guile
34668 @: $(MAKE); $(unstage)
34669 @[ -f ./guile/Makefile ] || exit 0; \
34670 r=`${PWD_COMMAND}`; export r; \
34671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34672 $(HOST_EXPORTS) \
34673 for flag in $(EXTRA_HOST_FLAGS) ; do \
34674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34675 done; \
34676 echo "Doing TAGS in guile"; \
34677 (cd $(HOST_SUBDIR)/guile && \
34678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34680 "RANLIB=$${RANLIB}" \
34681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34682 TAGS) \
34683 || exit 1
34684
34685 @endif guile
34686
34687 .PHONY: maybe-install-info-guile install-info-guile
34688 maybe-install-info-guile:
34689 @if guile
34690 maybe-install-info-guile: install-info-guile
34691
34692 install-info-guile: \
34693 configure-guile \
34694 info-guile
34695 @: $(MAKE); $(unstage)
34696 @[ -f ./guile/Makefile ] || exit 0; \
34697 r=`${PWD_COMMAND}`; export r; \
34698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34699 $(HOST_EXPORTS) \
34700 for flag in $(EXTRA_HOST_FLAGS) ; do \
34701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34702 done; \
34703 echo "Doing install-info in guile"; \
34704 (cd $(HOST_SUBDIR)/guile && \
34705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34707 "RANLIB=$${RANLIB}" \
34708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34709 install-info) \
34710 || exit 1
34711
34712 @endif guile
34713
34714 .PHONY: maybe-install-pdf-guile install-pdf-guile
34715 maybe-install-pdf-guile:
34716 @if guile
34717 maybe-install-pdf-guile: install-pdf-guile
34718
34719 install-pdf-guile: \
34720 configure-guile \
34721 pdf-guile
34722 @: $(MAKE); $(unstage)
34723 @[ -f ./guile/Makefile ] || exit 0; \
34724 r=`${PWD_COMMAND}`; export r; \
34725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34726 $(HOST_EXPORTS) \
34727 for flag in $(EXTRA_HOST_FLAGS) ; do \
34728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34729 done; \
34730 echo "Doing install-pdf in guile"; \
34731 (cd $(HOST_SUBDIR)/guile && \
34732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34734 "RANLIB=$${RANLIB}" \
34735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34736 install-pdf) \
34737 || exit 1
34738
34739 @endif guile
34740
34741 .PHONY: maybe-install-html-guile install-html-guile
34742 maybe-install-html-guile:
34743 @if guile
34744 maybe-install-html-guile: install-html-guile
34745
34746 install-html-guile: \
34747 configure-guile \
34748 html-guile
34749 @: $(MAKE); $(unstage)
34750 @[ -f ./guile/Makefile ] || exit 0; \
34751 r=`${PWD_COMMAND}`; export r; \
34752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34753 $(HOST_EXPORTS) \
34754 for flag in $(EXTRA_HOST_FLAGS) ; do \
34755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34756 done; \
34757 echo "Doing install-html in guile"; \
34758 (cd $(HOST_SUBDIR)/guile && \
34759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34761 "RANLIB=$${RANLIB}" \
34762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34763 install-html) \
34764 || exit 1
34765
34766 @endif guile
34767
34768 .PHONY: maybe-installcheck-guile installcheck-guile
34769 maybe-installcheck-guile:
34770 @if guile
34771 maybe-installcheck-guile: installcheck-guile
34772
34773 installcheck-guile: \
34774 configure-guile
34775 @: $(MAKE); $(unstage)
34776 @[ -f ./guile/Makefile ] || exit 0; \
34777 r=`${PWD_COMMAND}`; export r; \
34778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34779 $(HOST_EXPORTS) \
34780 for flag in $(EXTRA_HOST_FLAGS) ; do \
34781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34782 done; \
34783 echo "Doing installcheck in guile"; \
34784 (cd $(HOST_SUBDIR)/guile && \
34785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34787 "RANLIB=$${RANLIB}" \
34788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34789 installcheck) \
34790 || exit 1
34791
34792 @endif guile
34793
34794 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34795 maybe-mostlyclean-guile:
34796 @if guile
34797 maybe-mostlyclean-guile: mostlyclean-guile
34798
34799 mostlyclean-guile:
34800 @: $(MAKE); $(unstage)
34801 @[ -f ./guile/Makefile ] || exit 0; \
34802 r=`${PWD_COMMAND}`; export r; \
34803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34804 $(HOST_EXPORTS) \
34805 for flag in $(EXTRA_HOST_FLAGS) ; do \
34806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34807 done; \
34808 echo "Doing mostlyclean in guile"; \
34809 (cd $(HOST_SUBDIR)/guile && \
34810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34812 "RANLIB=$${RANLIB}" \
34813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34814 mostlyclean) \
34815 || exit 1
34816
34817 @endif guile
34818
34819 .PHONY: maybe-clean-guile clean-guile
34820 maybe-clean-guile:
34821 @if guile
34822 maybe-clean-guile: clean-guile
34823
34824 clean-guile:
34825 @: $(MAKE); $(unstage)
34826 @[ -f ./guile/Makefile ] || exit 0; \
34827 r=`${PWD_COMMAND}`; export r; \
34828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34829 $(HOST_EXPORTS) \
34830 for flag in $(EXTRA_HOST_FLAGS) ; do \
34831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34832 done; \
34833 echo "Doing clean in guile"; \
34834 (cd $(HOST_SUBDIR)/guile && \
34835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34837 "RANLIB=$${RANLIB}" \
34838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34839 clean) \
34840 || exit 1
34841
34842 @endif guile
34843
34844 .PHONY: maybe-distclean-guile distclean-guile
34845 maybe-distclean-guile:
34846 @if guile
34847 maybe-distclean-guile: distclean-guile
34848
34849 distclean-guile:
34850 @: $(MAKE); $(unstage)
34851 @[ -f ./guile/Makefile ] || exit 0; \
34852 r=`${PWD_COMMAND}`; export r; \
34853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34854 $(HOST_EXPORTS) \
34855 for flag in $(EXTRA_HOST_FLAGS) ; do \
34856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34857 done; \
34858 echo "Doing distclean in guile"; \
34859 (cd $(HOST_SUBDIR)/guile && \
34860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34862 "RANLIB=$${RANLIB}" \
34863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34864 distclean) \
34865 || exit 1
34866
34867 @endif guile
34868
34869 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34870 maybe-maintainer-clean-guile:
34871 @if guile
34872 maybe-maintainer-clean-guile: maintainer-clean-guile
34873
34874 maintainer-clean-guile:
34875 @: $(MAKE); $(unstage)
34876 @[ -f ./guile/Makefile ] || exit 0; \
34877 r=`${PWD_COMMAND}`; export r; \
34878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34879 $(HOST_EXPORTS) \
34880 for flag in $(EXTRA_HOST_FLAGS) ; do \
34881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34882 done; \
34883 echo "Doing maintainer-clean in guile"; \
34884 (cd $(HOST_SUBDIR)/guile && \
34885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34887 "RANLIB=$${RANLIB}" \
34888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34889 maintainer-clean) \
34890 || exit 1
34891
34892 @endif guile
34893
34894
34895
34896 .PHONY: configure-tk maybe-configure-tk
34897 maybe-configure-tk:
34898 @if gcc-bootstrap
34899 configure-tk: stage_current
34900 @endif gcc-bootstrap
34901 @if tk
34902 maybe-configure-tk: configure-tk
34903 configure-tk:
34904 @: $(MAKE); $(unstage)
34905 @r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34907 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34909 $(HOST_EXPORTS) \
34910 echo Configuring in $(HOST_SUBDIR)/tk; \
34911 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34912 case $(srcdir) in \
34913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34914 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34916 esac; \
34917 module_srcdir=tk; \
34918 $(SHELL) \
34919 $$s/$$module_srcdir/configure \
34920 --srcdir=$${topdir}/$$module_srcdir \
34921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34922 --target=${target_alias} \
34923 || exit 1
34924 @endif tk
34925
34926
34927
34928
34929
34930 .PHONY: all-tk maybe-all-tk
34931 maybe-all-tk:
34932 @if gcc-bootstrap
34933 all-tk: stage_current
34934 @endif gcc-bootstrap
34935 @if tk
34936 TARGET-tk=all
34937 maybe-all-tk: all-tk
34938 all-tk: configure-tk
34939 @: $(MAKE); $(unstage)
34940 @r=`${PWD_COMMAND}`; export r; \
34941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34942 $(HOST_EXPORTS) \
34943 (cd $(HOST_SUBDIR)/tk && \
34944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34945 $(TARGET-tk))
34946 @endif tk
34947
34948
34949
34950
34951 .PHONY: check-tk maybe-check-tk
34952 maybe-check-tk:
34953 @if tk
34954 maybe-check-tk: check-tk
34955
34956 check-tk:
34957 @: $(MAKE); $(unstage)
34958 @r=`${PWD_COMMAND}`; export r; \
34959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34960 $(HOST_EXPORTS) \
34961 (cd $(HOST_SUBDIR)/tk && \
34962 $(MAKE) $(FLAGS_TO_PASS) check)
34963
34964 @endif tk
34965
34966 .PHONY: install-tk maybe-install-tk
34967 maybe-install-tk:
34968 @if tk
34969 maybe-install-tk: install-tk
34970
34971 install-tk: installdirs
34972 @: $(MAKE); $(unstage)
34973 @r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(HOST_EXPORTS) \
34976 (cd $(HOST_SUBDIR)/tk && \
34977 $(MAKE) $(FLAGS_TO_PASS) install)
34978
34979 @endif tk
34980
34981 .PHONY: install-strip-tk maybe-install-strip-tk
34982 maybe-install-strip-tk:
34983 @if tk
34984 maybe-install-strip-tk: install-strip-tk
34985
34986 install-strip-tk: installdirs
34987 @: $(MAKE); $(unstage)
34988 @r=`${PWD_COMMAND}`; export r; \
34989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34990 $(HOST_EXPORTS) \
34991 (cd $(HOST_SUBDIR)/tk && \
34992 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34993
34994 @endif tk
34995
34996 # Other targets (info, dvi, pdf, etc.)
34997
34998 .PHONY: maybe-info-tk info-tk
34999 maybe-info-tk:
35000 @if tk
35001 maybe-info-tk: info-tk
35002
35003 info-tk: \
35004 configure-tk
35005 @: $(MAKE); $(unstage)
35006 @[ -f ./tk/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 info in tk"; \
35014 (cd $(HOST_SUBDIR)/tk && \
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 info) \
35020 || exit 1
35021
35022 @endif tk
35023
35024 .PHONY: maybe-dvi-tk dvi-tk
35025 maybe-dvi-tk:
35026 @if tk
35027 maybe-dvi-tk: dvi-tk
35028
35029 dvi-tk: \
35030 configure-tk
35031 @: $(MAKE); $(unstage)
35032 @[ -f ./tk/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 dvi in tk"; \
35040 (cd $(HOST_SUBDIR)/tk && \
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 dvi) \
35046 || exit 1
35047
35048 @endif tk
35049
35050 .PHONY: maybe-pdf-tk pdf-tk
35051 maybe-pdf-tk:
35052 @if tk
35053 maybe-pdf-tk: pdf-tk
35054
35055 pdf-tk: \
35056 configure-tk
35057 @: $(MAKE); $(unstage)
35058 @[ -f ./tk/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 pdf in tk"; \
35066 (cd $(HOST_SUBDIR)/tk && \
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 pdf) \
35072 || exit 1
35073
35074 @endif tk
35075
35076 .PHONY: maybe-html-tk html-tk
35077 maybe-html-tk:
35078 @if tk
35079 maybe-html-tk: html-tk
35080
35081 html-tk: \
35082 configure-tk
35083 @: $(MAKE); $(unstage)
35084 @[ -f ./tk/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 html in tk"; \
35092 (cd $(HOST_SUBDIR)/tk && \
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 html) \
35098 || exit 1
35099
35100 @endif tk
35101
35102 .PHONY: maybe-TAGS-tk TAGS-tk
35103 maybe-TAGS-tk:
35104 @if tk
35105 maybe-TAGS-tk: TAGS-tk
35106
35107 TAGS-tk: \
35108 configure-tk
35109 @: $(MAKE); $(unstage)
35110 @[ -f ./tk/Makefile ] || exit 0; \
35111 r=`${PWD_COMMAND}`; export r; \
35112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35113 $(HOST_EXPORTS) \
35114 for flag in $(EXTRA_HOST_FLAGS) ; do \
35115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35116 done; \
35117 echo "Doing TAGS in tk"; \
35118 (cd $(HOST_SUBDIR)/tk && \
35119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35121 "RANLIB=$${RANLIB}" \
35122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35123 TAGS) \
35124 || exit 1
35125
35126 @endif tk
35127
35128 .PHONY: maybe-install-info-tk install-info-tk
35129 maybe-install-info-tk:
35130 @if tk
35131 maybe-install-info-tk: install-info-tk
35132
35133 install-info-tk: \
35134 configure-tk \
35135 info-tk
35136 @: $(MAKE); $(unstage)
35137 @[ -f ./tk/Makefile ] || exit 0; \
35138 r=`${PWD_COMMAND}`; export r; \
35139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35140 $(HOST_EXPORTS) \
35141 for flag in $(EXTRA_HOST_FLAGS) ; do \
35142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35143 done; \
35144 echo "Doing install-info in tk"; \
35145 (cd $(HOST_SUBDIR)/tk && \
35146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35148 "RANLIB=$${RANLIB}" \
35149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35150 install-info) \
35151 || exit 1
35152
35153 @endif tk
35154
35155 .PHONY: maybe-install-pdf-tk install-pdf-tk
35156 maybe-install-pdf-tk:
35157 @if tk
35158 maybe-install-pdf-tk: install-pdf-tk
35159
35160 install-pdf-tk: \
35161 configure-tk \
35162 pdf-tk
35163 @: $(MAKE); $(unstage)
35164 @[ -f ./tk/Makefile ] || exit 0; \
35165 r=`${PWD_COMMAND}`; export r; \
35166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35167 $(HOST_EXPORTS) \
35168 for flag in $(EXTRA_HOST_FLAGS) ; do \
35169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35170 done; \
35171 echo "Doing install-pdf in tk"; \
35172 (cd $(HOST_SUBDIR)/tk && \
35173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35175 "RANLIB=$${RANLIB}" \
35176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35177 install-pdf) \
35178 || exit 1
35179
35180 @endif tk
35181
35182 .PHONY: maybe-install-html-tk install-html-tk
35183 maybe-install-html-tk:
35184 @if tk
35185 maybe-install-html-tk: install-html-tk
35186
35187 install-html-tk: \
35188 configure-tk \
35189 html-tk
35190 @: $(MAKE); $(unstage)
35191 @[ -f ./tk/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 install-html in tk"; \
35199 (cd $(HOST_SUBDIR)/tk && \
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 install-html) \
35205 || exit 1
35206
35207 @endif tk
35208
35209 .PHONY: maybe-installcheck-tk installcheck-tk
35210 maybe-installcheck-tk:
35211 @if tk
35212 maybe-installcheck-tk: installcheck-tk
35213
35214 installcheck-tk: \
35215 configure-tk
35216 @: $(MAKE); $(unstage)
35217 @[ -f ./tk/Makefile ] || exit 0; \
35218 r=`${PWD_COMMAND}`; export r; \
35219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35220 $(HOST_EXPORTS) \
35221 for flag in $(EXTRA_HOST_FLAGS) ; do \
35222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35223 done; \
35224 echo "Doing installcheck in tk"; \
35225 (cd $(HOST_SUBDIR)/tk && \
35226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35228 "RANLIB=$${RANLIB}" \
35229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35230 installcheck) \
35231 || exit 1
35232
35233 @endif tk
35234
35235 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
35236 maybe-mostlyclean-tk:
35237 @if tk
35238 maybe-mostlyclean-tk: mostlyclean-tk
35239
35240 mostlyclean-tk:
35241 @: $(MAKE); $(unstage)
35242 @[ -f ./tk/Makefile ] || exit 0; \
35243 r=`${PWD_COMMAND}`; export r; \
35244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35245 $(HOST_EXPORTS) \
35246 for flag in $(EXTRA_HOST_FLAGS) ; do \
35247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35248 done; \
35249 echo "Doing mostlyclean in tk"; \
35250 (cd $(HOST_SUBDIR)/tk && \
35251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35253 "RANLIB=$${RANLIB}" \
35254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35255 mostlyclean) \
35256 || exit 1
35257
35258 @endif tk
35259
35260 .PHONY: maybe-clean-tk clean-tk
35261 maybe-clean-tk:
35262 @if tk
35263 maybe-clean-tk: clean-tk
35264
35265 clean-tk:
35266 @: $(MAKE); $(unstage)
35267 @[ -f ./tk/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) ; do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing clean in tk"; \
35275 (cd $(HOST_SUBDIR)/tk && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35280 clean) \
35281 || exit 1
35282
35283 @endif tk
35284
35285 .PHONY: maybe-distclean-tk distclean-tk
35286 maybe-distclean-tk:
35287 @if tk
35288 maybe-distclean-tk: distclean-tk
35289
35290 distclean-tk:
35291 @: $(MAKE); $(unstage)
35292 @[ -f ./tk/Makefile ] || exit 0; \
35293 r=`${PWD_COMMAND}`; export r; \
35294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35295 $(HOST_EXPORTS) \
35296 for flag in $(EXTRA_HOST_FLAGS) ; do \
35297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35298 done; \
35299 echo "Doing distclean in tk"; \
35300 (cd $(HOST_SUBDIR)/tk && \
35301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35303 "RANLIB=$${RANLIB}" \
35304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35305 distclean) \
35306 || exit 1
35307
35308 @endif tk
35309
35310 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
35311 maybe-maintainer-clean-tk:
35312 @if tk
35313 maybe-maintainer-clean-tk: maintainer-clean-tk
35314
35315 maintainer-clean-tk:
35316 @: $(MAKE); $(unstage)
35317 @[ -f ./tk/Makefile ] || exit 0; \
35318 r=`${PWD_COMMAND}`; export r; \
35319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35320 $(HOST_EXPORTS) \
35321 for flag in $(EXTRA_HOST_FLAGS) ; do \
35322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35323 done; \
35324 echo "Doing maintainer-clean in tk"; \
35325 (cd $(HOST_SUBDIR)/tk && \
35326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35328 "RANLIB=$${RANLIB}" \
35329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35330 maintainer-clean) \
35331 || exit 1
35332
35333 @endif tk
35334
35335
35336
35337 .PHONY: configure-libtermcap maybe-configure-libtermcap
35338 maybe-configure-libtermcap:
35339 @if gcc-bootstrap
35340 configure-libtermcap: stage_current
35341 @endif gcc-bootstrap
35342 @if libtermcap
35343 maybe-configure-libtermcap: configure-libtermcap
35344 configure-libtermcap:
35345 @: $(MAKE); $(unstage)
35346 @r=`${PWD_COMMAND}`; export r; \
35347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35348 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
35349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
35350 $(HOST_EXPORTS) \
35351 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
35352 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
35353 case $(srcdir) in \
35354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35355 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
35356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35357 esac; \
35358 module_srcdir=libtermcap; \
35359 $(SHELL) \
35360 $$s/$$module_srcdir/configure \
35361 --srcdir=$${topdir}/$$module_srcdir \
35362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35363 --target=${target_alias} \
35364 || exit 1
35365 @endif libtermcap
35366
35367
35368
35369
35370
35371 .PHONY: all-libtermcap maybe-all-libtermcap
35372 maybe-all-libtermcap:
35373 @if gcc-bootstrap
35374 all-libtermcap: stage_current
35375 @endif gcc-bootstrap
35376 @if libtermcap
35377 TARGET-libtermcap=all
35378 maybe-all-libtermcap: all-libtermcap
35379 all-libtermcap: configure-libtermcap
35380 @: $(MAKE); $(unstage)
35381 @r=`${PWD_COMMAND}`; export r; \
35382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35383 $(HOST_EXPORTS) \
35384 (cd $(HOST_SUBDIR)/libtermcap && \
35385 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35386 $(TARGET-libtermcap))
35387 @endif libtermcap
35388
35389
35390
35391
35392 .PHONY: check-libtermcap maybe-check-libtermcap
35393 maybe-check-libtermcap:
35394 @if libtermcap
35395 maybe-check-libtermcap: check-libtermcap
35396
35397 check-libtermcap:
35398
35399 @endif libtermcap
35400
35401 .PHONY: install-libtermcap maybe-install-libtermcap
35402 maybe-install-libtermcap:
35403 @if libtermcap
35404 maybe-install-libtermcap: install-libtermcap
35405
35406 install-libtermcap: installdirs
35407 @: $(MAKE); $(unstage)
35408 @r=`${PWD_COMMAND}`; export r; \
35409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35410 $(HOST_EXPORTS) \
35411 (cd $(HOST_SUBDIR)/libtermcap && \
35412 $(MAKE) $(FLAGS_TO_PASS) install)
35413
35414 @endif libtermcap
35415
35416 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
35417 maybe-install-strip-libtermcap:
35418 @if libtermcap
35419 maybe-install-strip-libtermcap: install-strip-libtermcap
35420
35421 install-strip-libtermcap: installdirs
35422 @: $(MAKE); $(unstage)
35423 @r=`${PWD_COMMAND}`; export r; \
35424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35425 $(HOST_EXPORTS) \
35426 (cd $(HOST_SUBDIR)/libtermcap && \
35427 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35428
35429 @endif libtermcap
35430
35431 # Other targets (info, dvi, pdf, etc.)
35432
35433 .PHONY: maybe-info-libtermcap info-libtermcap
35434 maybe-info-libtermcap:
35435 @if libtermcap
35436 maybe-info-libtermcap: info-libtermcap
35437
35438 info-libtermcap: \
35439 configure-libtermcap
35440 @: $(MAKE); $(unstage)
35441 @[ -f ./libtermcap/Makefile ] || exit 0; \
35442 r=`${PWD_COMMAND}`; export r; \
35443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35444 $(HOST_EXPORTS) \
35445 for flag in $(EXTRA_HOST_FLAGS) ; do \
35446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35447 done; \
35448 echo "Doing info in libtermcap"; \
35449 (cd $(HOST_SUBDIR)/libtermcap && \
35450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35452 "RANLIB=$${RANLIB}" \
35453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35454 info) \
35455 || exit 1
35456
35457 @endif libtermcap
35458
35459 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
35460 maybe-dvi-libtermcap:
35461 @if libtermcap
35462 maybe-dvi-libtermcap: dvi-libtermcap
35463
35464 dvi-libtermcap: \
35465 configure-libtermcap
35466 @: $(MAKE); $(unstage)
35467 @[ -f ./libtermcap/Makefile ] || exit 0; \
35468 r=`${PWD_COMMAND}`; export r; \
35469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35470 $(HOST_EXPORTS) \
35471 for flag in $(EXTRA_HOST_FLAGS) ; do \
35472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35473 done; \
35474 echo "Doing dvi in libtermcap"; \
35475 (cd $(HOST_SUBDIR)/libtermcap && \
35476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35478 "RANLIB=$${RANLIB}" \
35479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35480 dvi) \
35481 || exit 1
35482
35483 @endif libtermcap
35484
35485 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
35486 maybe-pdf-libtermcap:
35487 @if libtermcap
35488 maybe-pdf-libtermcap: pdf-libtermcap
35489
35490 pdf-libtermcap: \
35491 configure-libtermcap
35492 @: $(MAKE); $(unstage)
35493 @[ -f ./libtermcap/Makefile ] || exit 0; \
35494 r=`${PWD_COMMAND}`; export r; \
35495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35496 $(HOST_EXPORTS) \
35497 for flag in $(EXTRA_HOST_FLAGS) ; do \
35498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35499 done; \
35500 echo "Doing pdf in libtermcap"; \
35501 (cd $(HOST_SUBDIR)/libtermcap && \
35502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35504 "RANLIB=$${RANLIB}" \
35505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35506 pdf) \
35507 || exit 1
35508
35509 @endif libtermcap
35510
35511 .PHONY: maybe-html-libtermcap html-libtermcap
35512 maybe-html-libtermcap:
35513 @if libtermcap
35514 maybe-html-libtermcap: html-libtermcap
35515
35516 html-libtermcap: \
35517 configure-libtermcap
35518 @: $(MAKE); $(unstage)
35519 @[ -f ./libtermcap/Makefile ] || exit 0; \
35520 r=`${PWD_COMMAND}`; export r; \
35521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35522 $(HOST_EXPORTS) \
35523 for flag in $(EXTRA_HOST_FLAGS) ; do \
35524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35525 done; \
35526 echo "Doing html in libtermcap"; \
35527 (cd $(HOST_SUBDIR)/libtermcap && \
35528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35530 "RANLIB=$${RANLIB}" \
35531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35532 html) \
35533 || exit 1
35534
35535 @endif libtermcap
35536
35537 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
35538 maybe-TAGS-libtermcap:
35539 @if libtermcap
35540 maybe-TAGS-libtermcap: TAGS-libtermcap
35541
35542 TAGS-libtermcap: \
35543 configure-libtermcap
35544 @: $(MAKE); $(unstage)
35545 @[ -f ./libtermcap/Makefile ] || exit 0; \
35546 r=`${PWD_COMMAND}`; export r; \
35547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35548 $(HOST_EXPORTS) \
35549 for flag in $(EXTRA_HOST_FLAGS) ; do \
35550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35551 done; \
35552 echo "Doing TAGS in libtermcap"; \
35553 (cd $(HOST_SUBDIR)/libtermcap && \
35554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35556 "RANLIB=$${RANLIB}" \
35557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35558 TAGS) \
35559 || exit 1
35560
35561 @endif libtermcap
35562
35563 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
35564 maybe-install-info-libtermcap:
35565 @if libtermcap
35566 maybe-install-info-libtermcap: install-info-libtermcap
35567
35568 install-info-libtermcap: \
35569 configure-libtermcap \
35570 info-libtermcap
35571 @: $(MAKE); $(unstage)
35572 @[ -f ./libtermcap/Makefile ] || exit 0; \
35573 r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 $(HOST_EXPORTS) \
35576 for flag in $(EXTRA_HOST_FLAGS) ; do \
35577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35578 done; \
35579 echo "Doing install-info in libtermcap"; \
35580 (cd $(HOST_SUBDIR)/libtermcap && \
35581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35583 "RANLIB=$${RANLIB}" \
35584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35585 install-info) \
35586 || exit 1
35587
35588 @endif libtermcap
35589
35590 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
35591 maybe-install-pdf-libtermcap:
35592 @if libtermcap
35593 maybe-install-pdf-libtermcap: install-pdf-libtermcap
35594
35595 install-pdf-libtermcap: \
35596 configure-libtermcap \
35597 pdf-libtermcap
35598 @: $(MAKE); $(unstage)
35599 @[ -f ./libtermcap/Makefile ] || exit 0; \
35600 r=`${PWD_COMMAND}`; export r; \
35601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35602 $(HOST_EXPORTS) \
35603 for flag in $(EXTRA_HOST_FLAGS) ; do \
35604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35605 done; \
35606 echo "Doing install-pdf in libtermcap"; \
35607 (cd $(HOST_SUBDIR)/libtermcap && \
35608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35610 "RANLIB=$${RANLIB}" \
35611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35612 install-pdf) \
35613 || exit 1
35614
35615 @endif libtermcap
35616
35617 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
35618 maybe-install-html-libtermcap:
35619 @if libtermcap
35620 maybe-install-html-libtermcap: install-html-libtermcap
35621
35622 install-html-libtermcap: \
35623 configure-libtermcap \
35624 html-libtermcap
35625 @: $(MAKE); $(unstage)
35626 @[ -f ./libtermcap/Makefile ] || exit 0; \
35627 r=`${PWD_COMMAND}`; export r; \
35628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35629 $(HOST_EXPORTS) \
35630 for flag in $(EXTRA_HOST_FLAGS) ; do \
35631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35632 done; \
35633 echo "Doing install-html in libtermcap"; \
35634 (cd $(HOST_SUBDIR)/libtermcap && \
35635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35637 "RANLIB=$${RANLIB}" \
35638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35639 install-html) \
35640 || exit 1
35641
35642 @endif libtermcap
35643
35644 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
35645 maybe-installcheck-libtermcap:
35646 @if libtermcap
35647 maybe-installcheck-libtermcap: installcheck-libtermcap
35648
35649 installcheck-libtermcap: \
35650 configure-libtermcap
35651 @: $(MAKE); $(unstage)
35652 @[ -f ./libtermcap/Makefile ] || exit 0; \
35653 r=`${PWD_COMMAND}`; export r; \
35654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35655 $(HOST_EXPORTS) \
35656 for flag in $(EXTRA_HOST_FLAGS) ; do \
35657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35658 done; \
35659 echo "Doing installcheck in libtermcap"; \
35660 (cd $(HOST_SUBDIR)/libtermcap && \
35661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35663 "RANLIB=$${RANLIB}" \
35664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35665 installcheck) \
35666 || exit 1
35667
35668 @endif libtermcap
35669
35670 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
35671 maybe-mostlyclean-libtermcap:
35672 @if libtermcap
35673 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
35674
35675 # libtermcap doesn't support mostlyclean.
35676 mostlyclean-libtermcap:
35677
35678 @endif libtermcap
35679
35680 .PHONY: maybe-clean-libtermcap clean-libtermcap
35681 maybe-clean-libtermcap:
35682 @if libtermcap
35683 maybe-clean-libtermcap: clean-libtermcap
35684
35685 # libtermcap doesn't support clean.
35686 clean-libtermcap:
35687
35688 @endif libtermcap
35689
35690 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
35691 maybe-distclean-libtermcap:
35692 @if libtermcap
35693 maybe-distclean-libtermcap: distclean-libtermcap
35694
35695 # libtermcap doesn't support distclean.
35696 distclean-libtermcap:
35697
35698 @endif libtermcap
35699
35700 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35701 maybe-maintainer-clean-libtermcap:
35702 @if libtermcap
35703 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35704
35705 # libtermcap doesn't support maintainer-clean.
35706 maintainer-clean-libtermcap:
35707
35708 @endif libtermcap
35709
35710
35711
35712 .PHONY: configure-utils maybe-configure-utils
35713 maybe-configure-utils:
35714 @if gcc-bootstrap
35715 configure-utils: stage_current
35716 @endif gcc-bootstrap
35717 @if utils
35718 maybe-configure-utils: configure-utils
35719 configure-utils:
35720 @: $(MAKE); $(unstage)
35721 @r=`${PWD_COMMAND}`; export r; \
35722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35723 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35725 $(HOST_EXPORTS) \
35726 echo Configuring in $(HOST_SUBDIR)/utils; \
35727 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35728 case $(srcdir) in \
35729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35730 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35732 esac; \
35733 module_srcdir=utils; \
35734 $(SHELL) \
35735 $$s/$$module_srcdir/configure \
35736 --srcdir=$${topdir}/$$module_srcdir \
35737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35738 --target=${target_alias} \
35739 || exit 1
35740 @endif utils
35741
35742
35743
35744
35745
35746 .PHONY: all-utils maybe-all-utils
35747 maybe-all-utils:
35748 @if gcc-bootstrap
35749 all-utils: stage_current
35750 @endif gcc-bootstrap
35751 @if utils
35752 TARGET-utils=all
35753 maybe-all-utils: all-utils
35754 all-utils: configure-utils
35755 @: $(MAKE); $(unstage)
35756 @r=`${PWD_COMMAND}`; export r; \
35757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35758 $(HOST_EXPORTS) \
35759 (cd $(HOST_SUBDIR)/utils && \
35760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35761 $(TARGET-utils))
35762 @endif utils
35763
35764
35765
35766
35767 .PHONY: check-utils maybe-check-utils
35768 maybe-check-utils:
35769 @if utils
35770 maybe-check-utils: check-utils
35771
35772 check-utils:
35773
35774 @endif utils
35775
35776 .PHONY: install-utils maybe-install-utils
35777 maybe-install-utils:
35778 @if utils
35779 maybe-install-utils: install-utils
35780
35781 install-utils: installdirs
35782 @: $(MAKE); $(unstage)
35783 @r=`${PWD_COMMAND}`; export r; \
35784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35785 $(HOST_EXPORTS) \
35786 (cd $(HOST_SUBDIR)/utils && \
35787 $(MAKE) $(FLAGS_TO_PASS) install)
35788
35789 @endif utils
35790
35791 .PHONY: install-strip-utils maybe-install-strip-utils
35792 maybe-install-strip-utils:
35793 @if utils
35794 maybe-install-strip-utils: install-strip-utils
35795
35796 install-strip-utils: installdirs
35797 @: $(MAKE); $(unstage)
35798 @r=`${PWD_COMMAND}`; export r; \
35799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35800 $(HOST_EXPORTS) \
35801 (cd $(HOST_SUBDIR)/utils && \
35802 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35803
35804 @endif utils
35805
35806 # Other targets (info, dvi, pdf, etc.)
35807
35808 .PHONY: maybe-info-utils info-utils
35809 maybe-info-utils:
35810 @if utils
35811 maybe-info-utils: info-utils
35812
35813 info-utils: \
35814 configure-utils
35815 @: $(MAKE); $(unstage)
35816 @[ -f ./utils/Makefile ] || exit 0; \
35817 r=`${PWD_COMMAND}`; export r; \
35818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35819 $(HOST_EXPORTS) \
35820 for flag in $(EXTRA_HOST_FLAGS) ; do \
35821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35822 done; \
35823 echo "Doing info in utils"; \
35824 (cd $(HOST_SUBDIR)/utils && \
35825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35827 "RANLIB=$${RANLIB}" \
35828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35829 info) \
35830 || exit 1
35831
35832 @endif utils
35833
35834 .PHONY: maybe-dvi-utils dvi-utils
35835 maybe-dvi-utils:
35836 @if utils
35837 maybe-dvi-utils: dvi-utils
35838
35839 dvi-utils: \
35840 configure-utils
35841 @: $(MAKE); $(unstage)
35842 @[ -f ./utils/Makefile ] || exit 0; \
35843 r=`${PWD_COMMAND}`; export r; \
35844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35845 $(HOST_EXPORTS) \
35846 for flag in $(EXTRA_HOST_FLAGS) ; do \
35847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35848 done; \
35849 echo "Doing dvi in utils"; \
35850 (cd $(HOST_SUBDIR)/utils && \
35851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35853 "RANLIB=$${RANLIB}" \
35854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35855 dvi) \
35856 || exit 1
35857
35858 @endif utils
35859
35860 .PHONY: maybe-pdf-utils pdf-utils
35861 maybe-pdf-utils:
35862 @if utils
35863 maybe-pdf-utils: pdf-utils
35864
35865 pdf-utils: \
35866 configure-utils
35867 @: $(MAKE); $(unstage)
35868 @[ -f ./utils/Makefile ] || exit 0; \
35869 r=`${PWD_COMMAND}`; export r; \
35870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35871 $(HOST_EXPORTS) \
35872 for flag in $(EXTRA_HOST_FLAGS) ; do \
35873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35874 done; \
35875 echo "Doing pdf in utils"; \
35876 (cd $(HOST_SUBDIR)/utils && \
35877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35879 "RANLIB=$${RANLIB}" \
35880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35881 pdf) \
35882 || exit 1
35883
35884 @endif utils
35885
35886 .PHONY: maybe-html-utils html-utils
35887 maybe-html-utils:
35888 @if utils
35889 maybe-html-utils: html-utils
35890
35891 html-utils: \
35892 configure-utils
35893 @: $(MAKE); $(unstage)
35894 @[ -f ./utils/Makefile ] || exit 0; \
35895 r=`${PWD_COMMAND}`; export r; \
35896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35897 $(HOST_EXPORTS) \
35898 for flag in $(EXTRA_HOST_FLAGS) ; do \
35899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35900 done; \
35901 echo "Doing html in utils"; \
35902 (cd $(HOST_SUBDIR)/utils && \
35903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35905 "RANLIB=$${RANLIB}" \
35906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35907 html) \
35908 || exit 1
35909
35910 @endif utils
35911
35912 .PHONY: maybe-TAGS-utils TAGS-utils
35913 maybe-TAGS-utils:
35914 @if utils
35915 maybe-TAGS-utils: TAGS-utils
35916
35917 TAGS-utils: \
35918 configure-utils
35919 @: $(MAKE); $(unstage)
35920 @[ -f ./utils/Makefile ] || exit 0; \
35921 r=`${PWD_COMMAND}`; export r; \
35922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35923 $(HOST_EXPORTS) \
35924 for flag in $(EXTRA_HOST_FLAGS) ; do \
35925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35926 done; \
35927 echo "Doing TAGS in utils"; \
35928 (cd $(HOST_SUBDIR)/utils && \
35929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35931 "RANLIB=$${RANLIB}" \
35932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35933 TAGS) \
35934 || exit 1
35935
35936 @endif utils
35937
35938 .PHONY: maybe-install-info-utils install-info-utils
35939 maybe-install-info-utils:
35940 @if utils
35941 maybe-install-info-utils: install-info-utils
35942
35943 install-info-utils: \
35944 configure-utils \
35945 info-utils
35946 @: $(MAKE); $(unstage)
35947 @[ -f ./utils/Makefile ] || exit 0; \
35948 r=`${PWD_COMMAND}`; export r; \
35949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35950 $(HOST_EXPORTS) \
35951 for flag in $(EXTRA_HOST_FLAGS) ; do \
35952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35953 done; \
35954 echo "Doing install-info in utils"; \
35955 (cd $(HOST_SUBDIR)/utils && \
35956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35958 "RANLIB=$${RANLIB}" \
35959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35960 install-info) \
35961 || exit 1
35962
35963 @endif utils
35964
35965 .PHONY: maybe-install-pdf-utils install-pdf-utils
35966 maybe-install-pdf-utils:
35967 @if utils
35968 maybe-install-pdf-utils: install-pdf-utils
35969
35970 install-pdf-utils: \
35971 configure-utils \
35972 pdf-utils
35973 @: $(MAKE); $(unstage)
35974 @[ -f ./utils/Makefile ] || exit 0; \
35975 r=`${PWD_COMMAND}`; export r; \
35976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35977 $(HOST_EXPORTS) \
35978 for flag in $(EXTRA_HOST_FLAGS) ; do \
35979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35980 done; \
35981 echo "Doing install-pdf in utils"; \
35982 (cd $(HOST_SUBDIR)/utils && \
35983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35985 "RANLIB=$${RANLIB}" \
35986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35987 install-pdf) \
35988 || exit 1
35989
35990 @endif utils
35991
35992 .PHONY: maybe-install-html-utils install-html-utils
35993 maybe-install-html-utils:
35994 @if utils
35995 maybe-install-html-utils: install-html-utils
35996
35997 install-html-utils: \
35998 configure-utils \
35999 html-utils
36000 @: $(MAKE); $(unstage)
36001 @[ -f ./utils/Makefile ] || exit 0; \
36002 r=`${PWD_COMMAND}`; export r; \
36003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36004 $(HOST_EXPORTS) \
36005 for flag in $(EXTRA_HOST_FLAGS) ; do \
36006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36007 done; \
36008 echo "Doing install-html in utils"; \
36009 (cd $(HOST_SUBDIR)/utils && \
36010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36012 "RANLIB=$${RANLIB}" \
36013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36014 install-html) \
36015 || exit 1
36016
36017 @endif utils
36018
36019 .PHONY: maybe-installcheck-utils installcheck-utils
36020 maybe-installcheck-utils:
36021 @if utils
36022 maybe-installcheck-utils: installcheck-utils
36023
36024 installcheck-utils: \
36025 configure-utils
36026 @: $(MAKE); $(unstage)
36027 @[ -f ./utils/Makefile ] || exit 0; \
36028 r=`${PWD_COMMAND}`; export r; \
36029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36030 $(HOST_EXPORTS) \
36031 for flag in $(EXTRA_HOST_FLAGS) ; do \
36032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36033 done; \
36034 echo "Doing installcheck in utils"; \
36035 (cd $(HOST_SUBDIR)/utils && \
36036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36038 "RANLIB=$${RANLIB}" \
36039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36040 installcheck) \
36041 || exit 1
36042
36043 @endif utils
36044
36045 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
36046 maybe-mostlyclean-utils:
36047 @if utils
36048 maybe-mostlyclean-utils: mostlyclean-utils
36049
36050 mostlyclean-utils:
36051 @: $(MAKE); $(unstage)
36052 @[ -f ./utils/Makefile ] || exit 0; \
36053 r=`${PWD_COMMAND}`; export r; \
36054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36055 $(HOST_EXPORTS) \
36056 for flag in $(EXTRA_HOST_FLAGS) ; do \
36057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36058 done; \
36059 echo "Doing mostlyclean in utils"; \
36060 (cd $(HOST_SUBDIR)/utils && \
36061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36063 "RANLIB=$${RANLIB}" \
36064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36065 mostlyclean) \
36066 || exit 1
36067
36068 @endif utils
36069
36070 .PHONY: maybe-clean-utils clean-utils
36071 maybe-clean-utils:
36072 @if utils
36073 maybe-clean-utils: clean-utils
36074
36075 clean-utils:
36076 @: $(MAKE); $(unstage)
36077 @[ -f ./utils/Makefile ] || exit 0; \
36078 r=`${PWD_COMMAND}`; export r; \
36079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36080 $(HOST_EXPORTS) \
36081 for flag in $(EXTRA_HOST_FLAGS) ; do \
36082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36083 done; \
36084 echo "Doing clean in utils"; \
36085 (cd $(HOST_SUBDIR)/utils && \
36086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36088 "RANLIB=$${RANLIB}" \
36089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36090 clean) \
36091 || exit 1
36092
36093 @endif utils
36094
36095 .PHONY: maybe-distclean-utils distclean-utils
36096 maybe-distclean-utils:
36097 @if utils
36098 maybe-distclean-utils: distclean-utils
36099
36100 distclean-utils:
36101 @: $(MAKE); $(unstage)
36102 @[ -f ./utils/Makefile ] || exit 0; \
36103 r=`${PWD_COMMAND}`; export r; \
36104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36105 $(HOST_EXPORTS) \
36106 for flag in $(EXTRA_HOST_FLAGS) ; do \
36107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36108 done; \
36109 echo "Doing distclean in utils"; \
36110 (cd $(HOST_SUBDIR)/utils && \
36111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36113 "RANLIB=$${RANLIB}" \
36114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36115 distclean) \
36116 || exit 1
36117
36118 @endif utils
36119
36120 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
36121 maybe-maintainer-clean-utils:
36122 @if utils
36123 maybe-maintainer-clean-utils: maintainer-clean-utils
36124
36125 maintainer-clean-utils:
36126 @: $(MAKE); $(unstage)
36127 @[ -f ./utils/Makefile ] || exit 0; \
36128 r=`${PWD_COMMAND}`; export r; \
36129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36130 $(HOST_EXPORTS) \
36131 for flag in $(EXTRA_HOST_FLAGS) ; do \
36132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36133 done; \
36134 echo "Doing maintainer-clean in utils"; \
36135 (cd $(HOST_SUBDIR)/utils && \
36136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36138 "RANLIB=$${RANLIB}" \
36139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36140 maintainer-clean) \
36141 || exit 1
36142
36143 @endif utils
36144
36145
36146
36147 .PHONY: configure-gnattools maybe-configure-gnattools
36148 maybe-configure-gnattools:
36149 @if gcc-bootstrap
36150 configure-gnattools: stage_current
36151 @endif gcc-bootstrap
36152 @if gnattools
36153 maybe-configure-gnattools: configure-gnattools
36154 configure-gnattools:
36155 @: $(MAKE); $(unstage)
36156 @r=`${PWD_COMMAND}`; export r; \
36157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36158 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
36159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
36160 $(HOST_EXPORTS) \
36161 echo Configuring in $(HOST_SUBDIR)/gnattools; \
36162 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
36163 case $(srcdir) in \
36164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36165 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
36166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36167 esac; \
36168 module_srcdir=gnattools; \
36169 $(SHELL) \
36170 $$s/$$module_srcdir/configure \
36171 --srcdir=$${topdir}/$$module_srcdir \
36172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36173 --target=${target_alias} \
36174 || exit 1
36175 @endif gnattools
36176
36177
36178
36179
36180
36181 .PHONY: all-gnattools maybe-all-gnattools
36182 maybe-all-gnattools:
36183 @if gcc-bootstrap
36184 all-gnattools: stage_current
36185 @endif gcc-bootstrap
36186 @if gnattools
36187 TARGET-gnattools=all
36188 maybe-all-gnattools: all-gnattools
36189 all-gnattools: configure-gnattools
36190 @: $(MAKE); $(unstage)
36191 @r=`${PWD_COMMAND}`; export r; \
36192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36193 $(HOST_EXPORTS) \
36194 (cd $(HOST_SUBDIR)/gnattools && \
36195 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36196 $(TARGET-gnattools))
36197 @endif gnattools
36198
36199
36200
36201
36202 .PHONY: check-gnattools maybe-check-gnattools
36203 maybe-check-gnattools:
36204 @if gnattools
36205 maybe-check-gnattools: check-gnattools
36206
36207 check-gnattools:
36208 @: $(MAKE); $(unstage)
36209 @r=`${PWD_COMMAND}`; export r; \
36210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36211 $(HOST_EXPORTS) \
36212 (cd $(HOST_SUBDIR)/gnattools && \
36213 $(MAKE) $(FLAGS_TO_PASS) check)
36214
36215 @endif gnattools
36216
36217 .PHONY: install-gnattools maybe-install-gnattools
36218 maybe-install-gnattools:
36219 @if gnattools
36220 maybe-install-gnattools: install-gnattools
36221
36222 install-gnattools: installdirs
36223 @: $(MAKE); $(unstage)
36224 @r=`${PWD_COMMAND}`; export r; \
36225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36226 $(HOST_EXPORTS) \
36227 (cd $(HOST_SUBDIR)/gnattools && \
36228 $(MAKE) $(FLAGS_TO_PASS) install)
36229
36230 @endif gnattools
36231
36232 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
36233 maybe-install-strip-gnattools:
36234 @if gnattools
36235 maybe-install-strip-gnattools: install-strip-gnattools
36236
36237 install-strip-gnattools: installdirs
36238 @: $(MAKE); $(unstage)
36239 @r=`${PWD_COMMAND}`; export r; \
36240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36241 $(HOST_EXPORTS) \
36242 (cd $(HOST_SUBDIR)/gnattools && \
36243 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36244
36245 @endif gnattools
36246
36247 # Other targets (info, dvi, pdf, etc.)
36248
36249 .PHONY: maybe-info-gnattools info-gnattools
36250 maybe-info-gnattools:
36251 @if gnattools
36252 maybe-info-gnattools: info-gnattools
36253
36254 info-gnattools: \
36255 configure-gnattools
36256 @: $(MAKE); $(unstage)
36257 @[ -f ./gnattools/Makefile ] || exit 0; \
36258 r=`${PWD_COMMAND}`; export r; \
36259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36260 $(HOST_EXPORTS) \
36261 for flag in $(EXTRA_HOST_FLAGS) ; do \
36262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36263 done; \
36264 echo "Doing info in gnattools"; \
36265 (cd $(HOST_SUBDIR)/gnattools && \
36266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36268 "RANLIB=$${RANLIB}" \
36269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36270 info) \
36271 || exit 1
36272
36273 @endif gnattools
36274
36275 .PHONY: maybe-dvi-gnattools dvi-gnattools
36276 maybe-dvi-gnattools:
36277 @if gnattools
36278 maybe-dvi-gnattools: dvi-gnattools
36279
36280 dvi-gnattools: \
36281 configure-gnattools
36282 @: $(MAKE); $(unstage)
36283 @[ -f ./gnattools/Makefile ] || exit 0; \
36284 r=`${PWD_COMMAND}`; export r; \
36285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36286 $(HOST_EXPORTS) \
36287 for flag in $(EXTRA_HOST_FLAGS) ; do \
36288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36289 done; \
36290 echo "Doing dvi in gnattools"; \
36291 (cd $(HOST_SUBDIR)/gnattools && \
36292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36294 "RANLIB=$${RANLIB}" \
36295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36296 dvi) \
36297 || exit 1
36298
36299 @endif gnattools
36300
36301 .PHONY: maybe-pdf-gnattools pdf-gnattools
36302 maybe-pdf-gnattools:
36303 @if gnattools
36304 maybe-pdf-gnattools: pdf-gnattools
36305
36306 pdf-gnattools: \
36307 configure-gnattools
36308 @: $(MAKE); $(unstage)
36309 @[ -f ./gnattools/Makefile ] || exit 0; \
36310 r=`${PWD_COMMAND}`; export r; \
36311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36312 $(HOST_EXPORTS) \
36313 for flag in $(EXTRA_HOST_FLAGS) ; do \
36314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36315 done; \
36316 echo "Doing pdf in gnattools"; \
36317 (cd $(HOST_SUBDIR)/gnattools && \
36318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36320 "RANLIB=$${RANLIB}" \
36321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36322 pdf) \
36323 || exit 1
36324
36325 @endif gnattools
36326
36327 .PHONY: maybe-html-gnattools html-gnattools
36328 maybe-html-gnattools:
36329 @if gnattools
36330 maybe-html-gnattools: html-gnattools
36331
36332 html-gnattools: \
36333 configure-gnattools
36334 @: $(MAKE); $(unstage)
36335 @[ -f ./gnattools/Makefile ] || exit 0; \
36336 r=`${PWD_COMMAND}`; export r; \
36337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36338 $(HOST_EXPORTS) \
36339 for flag in $(EXTRA_HOST_FLAGS) ; do \
36340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36341 done; \
36342 echo "Doing html in gnattools"; \
36343 (cd $(HOST_SUBDIR)/gnattools && \
36344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36346 "RANLIB=$${RANLIB}" \
36347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36348 html) \
36349 || exit 1
36350
36351 @endif gnattools
36352
36353 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
36354 maybe-TAGS-gnattools:
36355 @if gnattools
36356 maybe-TAGS-gnattools: TAGS-gnattools
36357
36358 TAGS-gnattools: \
36359 configure-gnattools
36360 @: $(MAKE); $(unstage)
36361 @[ -f ./gnattools/Makefile ] || exit 0; \
36362 r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36364 $(HOST_EXPORTS) \
36365 for flag in $(EXTRA_HOST_FLAGS) ; do \
36366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36367 done; \
36368 echo "Doing TAGS in gnattools"; \
36369 (cd $(HOST_SUBDIR)/gnattools && \
36370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36372 "RANLIB=$${RANLIB}" \
36373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36374 TAGS) \
36375 || exit 1
36376
36377 @endif gnattools
36378
36379 .PHONY: maybe-install-info-gnattools install-info-gnattools
36380 maybe-install-info-gnattools:
36381 @if gnattools
36382 maybe-install-info-gnattools: install-info-gnattools
36383
36384 install-info-gnattools: \
36385 configure-gnattools \
36386 info-gnattools
36387 @: $(MAKE); $(unstage)
36388 @[ -f ./gnattools/Makefile ] || exit 0; \
36389 r=`${PWD_COMMAND}`; export r; \
36390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36391 $(HOST_EXPORTS) \
36392 for flag in $(EXTRA_HOST_FLAGS) ; do \
36393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36394 done; \
36395 echo "Doing install-info in gnattools"; \
36396 (cd $(HOST_SUBDIR)/gnattools && \
36397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36399 "RANLIB=$${RANLIB}" \
36400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36401 install-info) \
36402 || exit 1
36403
36404 @endif gnattools
36405
36406 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
36407 maybe-install-pdf-gnattools:
36408 @if gnattools
36409 maybe-install-pdf-gnattools: install-pdf-gnattools
36410
36411 install-pdf-gnattools: \
36412 configure-gnattools \
36413 pdf-gnattools
36414 @: $(MAKE); $(unstage)
36415 @[ -f ./gnattools/Makefile ] || exit 0; \
36416 r=`${PWD_COMMAND}`; export r; \
36417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36418 $(HOST_EXPORTS) \
36419 for flag in $(EXTRA_HOST_FLAGS) ; do \
36420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36421 done; \
36422 echo "Doing install-pdf in gnattools"; \
36423 (cd $(HOST_SUBDIR)/gnattools && \
36424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36426 "RANLIB=$${RANLIB}" \
36427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36428 install-pdf) \
36429 || exit 1
36430
36431 @endif gnattools
36432
36433 .PHONY: maybe-install-html-gnattools install-html-gnattools
36434 maybe-install-html-gnattools:
36435 @if gnattools
36436 maybe-install-html-gnattools: install-html-gnattools
36437
36438 install-html-gnattools: \
36439 configure-gnattools \
36440 html-gnattools
36441 @: $(MAKE); $(unstage)
36442 @[ -f ./gnattools/Makefile ] || exit 0; \
36443 r=`${PWD_COMMAND}`; export r; \
36444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36445 $(HOST_EXPORTS) \
36446 for flag in $(EXTRA_HOST_FLAGS) ; do \
36447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36448 done; \
36449 echo "Doing install-html in gnattools"; \
36450 (cd $(HOST_SUBDIR)/gnattools && \
36451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36453 "RANLIB=$${RANLIB}" \
36454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36455 install-html) \
36456 || exit 1
36457
36458 @endif gnattools
36459
36460 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
36461 maybe-installcheck-gnattools:
36462 @if gnattools
36463 maybe-installcheck-gnattools: installcheck-gnattools
36464
36465 installcheck-gnattools: \
36466 configure-gnattools
36467 @: $(MAKE); $(unstage)
36468 @[ -f ./gnattools/Makefile ] || exit 0; \
36469 r=`${PWD_COMMAND}`; export r; \
36470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36471 $(HOST_EXPORTS) \
36472 for flag in $(EXTRA_HOST_FLAGS) ; do \
36473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36474 done; \
36475 echo "Doing installcheck in gnattools"; \
36476 (cd $(HOST_SUBDIR)/gnattools && \
36477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36479 "RANLIB=$${RANLIB}" \
36480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36481 installcheck) \
36482 || exit 1
36483
36484 @endif gnattools
36485
36486 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
36487 maybe-mostlyclean-gnattools:
36488 @if gnattools
36489 maybe-mostlyclean-gnattools: mostlyclean-gnattools
36490
36491 mostlyclean-gnattools:
36492 @: $(MAKE); $(unstage)
36493 @[ -f ./gnattools/Makefile ] || exit 0; \
36494 r=`${PWD_COMMAND}`; export r; \
36495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36496 $(HOST_EXPORTS) \
36497 for flag in $(EXTRA_HOST_FLAGS) ; do \
36498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36499 done; \
36500 echo "Doing mostlyclean in gnattools"; \
36501 (cd $(HOST_SUBDIR)/gnattools && \
36502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36504 "RANLIB=$${RANLIB}" \
36505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36506 mostlyclean) \
36507 || exit 1
36508
36509 @endif gnattools
36510
36511 .PHONY: maybe-clean-gnattools clean-gnattools
36512 maybe-clean-gnattools:
36513 @if gnattools
36514 maybe-clean-gnattools: clean-gnattools
36515
36516 clean-gnattools:
36517 @: $(MAKE); $(unstage)
36518 @[ -f ./gnattools/Makefile ] || exit 0; \
36519 r=`${PWD_COMMAND}`; export r; \
36520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36521 $(HOST_EXPORTS) \
36522 for flag in $(EXTRA_HOST_FLAGS) ; do \
36523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36524 done; \
36525 echo "Doing clean in gnattools"; \
36526 (cd $(HOST_SUBDIR)/gnattools && \
36527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36529 "RANLIB=$${RANLIB}" \
36530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36531 clean) \
36532 || exit 1
36533
36534 @endif gnattools
36535
36536 .PHONY: maybe-distclean-gnattools distclean-gnattools
36537 maybe-distclean-gnattools:
36538 @if gnattools
36539 maybe-distclean-gnattools: distclean-gnattools
36540
36541 distclean-gnattools:
36542 @: $(MAKE); $(unstage)
36543 @[ -f ./gnattools/Makefile ] || exit 0; \
36544 r=`${PWD_COMMAND}`; export r; \
36545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36546 $(HOST_EXPORTS) \
36547 for flag in $(EXTRA_HOST_FLAGS) ; do \
36548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36549 done; \
36550 echo "Doing distclean in gnattools"; \
36551 (cd $(HOST_SUBDIR)/gnattools && \
36552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36554 "RANLIB=$${RANLIB}" \
36555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36556 distclean) \
36557 || exit 1
36558
36559 @endif gnattools
36560
36561 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
36562 maybe-maintainer-clean-gnattools:
36563 @if gnattools
36564 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
36565
36566 maintainer-clean-gnattools:
36567 @: $(MAKE); $(unstage)
36568 @[ -f ./gnattools/Makefile ] || exit 0; \
36569 r=`${PWD_COMMAND}`; export r; \
36570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36571 $(HOST_EXPORTS) \
36572 for flag in $(EXTRA_HOST_FLAGS) ; do \
36573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36574 done; \
36575 echo "Doing maintainer-clean in gnattools"; \
36576 (cd $(HOST_SUBDIR)/gnattools && \
36577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36579 "RANLIB=$${RANLIB}" \
36580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36581 maintainer-clean) \
36582 || exit 1
36583
36584 @endif gnattools
36585
36586
36587
36588 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
36589 maybe-configure-lto-plugin:
36590 @if gcc-bootstrap
36591 configure-lto-plugin: stage_current
36592 @endif gcc-bootstrap
36593 @if lto-plugin
36594 maybe-configure-lto-plugin: configure-lto-plugin
36595 configure-lto-plugin:
36596 @r=`${PWD_COMMAND}`; export r; \
36597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36598 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36600 $(HOST_EXPORTS) \
36601 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
36602 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
36603 case $(srcdir) in \
36604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36605 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36607 esac; \
36608 module_srcdir=lto-plugin; \
36609 $(SHELL) \
36610 $$s/$$module_srcdir/configure \
36611 --srcdir=$${topdir}/$$module_srcdir \
36612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36613 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
36614 || exit 1
36615 @endif lto-plugin
36616
36617
36618
36619 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
36620 maybe-configure-stage1-lto-plugin:
36621 @if lto-plugin-bootstrap
36622 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
36623 configure-stage1-lto-plugin:
36624 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36626 @r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 TFLAGS="$(STAGE1_TFLAGS)"; \
36629 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36630 $(HOST_EXPORTS) \
36631 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
36632 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
36633 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
36634 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
36635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36636 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36637 case $(srcdir) in \
36638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36639 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36641 esac; \
36642 module_srcdir=lto-plugin; \
36643 $(SHELL) $$s/$$module_srcdir/configure \
36644 --srcdir=$${topdir}/$$module_srcdir \
36645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36646 --target=${target_alias} \
36647 \
36648 $(STAGE1_CONFIGURE_FLAGS) \
36649 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36650 @endif lto-plugin-bootstrap
36651
36652 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
36653 maybe-configure-stage2-lto-plugin:
36654 @if lto-plugin-bootstrap
36655 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
36656 configure-stage2-lto-plugin:
36657 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36659 @r=`${PWD_COMMAND}`; export r; \
36660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36661 TFLAGS="$(STAGE2_TFLAGS)"; \
36662 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36663 $(HOST_EXPORTS) \
36664 $(POSTSTAGE1_HOST_EXPORTS) \
36665 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
36666 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
36667 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
36668 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
36669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36670 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36671 case $(srcdir) in \
36672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36673 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36675 esac; \
36676 module_srcdir=lto-plugin; \
36677 $(SHELL) $$s/$$module_srcdir/configure \
36678 --srcdir=$${topdir}/$$module_srcdir \
36679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36680 --target=${target_alias} \
36681 --with-build-libsubdir=$(HOST_SUBDIR) \
36682 $(STAGE2_CONFIGURE_FLAGS) \
36683 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36684 @endif lto-plugin-bootstrap
36685
36686 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
36687 maybe-configure-stage3-lto-plugin:
36688 @if lto-plugin-bootstrap
36689 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
36690 configure-stage3-lto-plugin:
36691 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36693 @r=`${PWD_COMMAND}`; export r; \
36694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36695 TFLAGS="$(STAGE3_TFLAGS)"; \
36696 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36697 $(HOST_EXPORTS) \
36698 $(POSTSTAGE1_HOST_EXPORTS) \
36699 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36700 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36701 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36702 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36704 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36705 case $(srcdir) in \
36706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36707 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36709 esac; \
36710 module_srcdir=lto-plugin; \
36711 $(SHELL) $$s/$$module_srcdir/configure \
36712 --srcdir=$${topdir}/$$module_srcdir \
36713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36714 --target=${target_alias} \
36715 --with-build-libsubdir=$(HOST_SUBDIR) \
36716 $(STAGE3_CONFIGURE_FLAGS) \
36717 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36718 @endif lto-plugin-bootstrap
36719
36720 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36721 maybe-configure-stage4-lto-plugin:
36722 @if lto-plugin-bootstrap
36723 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36724 configure-stage4-lto-plugin:
36725 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36727 @r=`${PWD_COMMAND}`; export r; \
36728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36729 TFLAGS="$(STAGE4_TFLAGS)"; \
36730 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36731 $(HOST_EXPORTS) \
36732 $(POSTSTAGE1_HOST_EXPORTS) \
36733 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36734 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36735 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36736 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36738 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36739 case $(srcdir) in \
36740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36741 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36743 esac; \
36744 module_srcdir=lto-plugin; \
36745 $(SHELL) $$s/$$module_srcdir/configure \
36746 --srcdir=$${topdir}/$$module_srcdir \
36747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36748 --target=${target_alias} \
36749 --with-build-libsubdir=$(HOST_SUBDIR) \
36750 $(STAGE4_CONFIGURE_FLAGS) \
36751 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36752 @endif lto-plugin-bootstrap
36753
36754 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36755 maybe-configure-stageprofile-lto-plugin:
36756 @if lto-plugin-bootstrap
36757 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36758 configure-stageprofile-lto-plugin:
36759 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36761 @r=`${PWD_COMMAND}`; export r; \
36762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36763 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36764 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36765 $(HOST_EXPORTS) \
36766 $(POSTSTAGE1_HOST_EXPORTS) \
36767 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36768 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36769 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36770 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36772 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36773 case $(srcdir) in \
36774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36775 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36777 esac; \
36778 module_srcdir=lto-plugin; \
36779 $(SHELL) $$s/$$module_srcdir/configure \
36780 --srcdir=$${topdir}/$$module_srcdir \
36781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36782 --target=${target_alias} \
36783 --with-build-libsubdir=$(HOST_SUBDIR) \
36784 $(STAGEprofile_CONFIGURE_FLAGS) \
36785 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36786 @endif lto-plugin-bootstrap
36787
36788 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36789 maybe-configure-stagetrain-lto-plugin:
36790 @if lto-plugin-bootstrap
36791 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36792 configure-stagetrain-lto-plugin:
36793 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36795 @r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36798 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36799 $(HOST_EXPORTS) \
36800 $(POSTSTAGE1_HOST_EXPORTS) \
36801 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36802 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36803 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36804 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36806 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36807 case $(srcdir) in \
36808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36809 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36811 esac; \
36812 module_srcdir=lto-plugin; \
36813 $(SHELL) $$s/$$module_srcdir/configure \
36814 --srcdir=$${topdir}/$$module_srcdir \
36815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36816 --target=${target_alias} \
36817 --with-build-libsubdir=$(HOST_SUBDIR) \
36818 $(STAGEtrain_CONFIGURE_FLAGS) \
36819 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36820 @endif lto-plugin-bootstrap
36821
36822 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36823 maybe-configure-stagefeedback-lto-plugin:
36824 @if lto-plugin-bootstrap
36825 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36826 configure-stagefeedback-lto-plugin:
36827 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36829 @r=`${PWD_COMMAND}`; export r; \
36830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36831 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36832 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36833 $(HOST_EXPORTS) \
36834 $(POSTSTAGE1_HOST_EXPORTS) \
36835 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36836 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36837 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36838 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36840 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36841 case $(srcdir) in \
36842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36843 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36845 esac; \
36846 module_srcdir=lto-plugin; \
36847 $(SHELL) $$s/$$module_srcdir/configure \
36848 --srcdir=$${topdir}/$$module_srcdir \
36849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36850 --target=${target_alias} \
36851 --with-build-libsubdir=$(HOST_SUBDIR) \
36852 $(STAGEfeedback_CONFIGURE_FLAGS) \
36853 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36854 @endif lto-plugin-bootstrap
36855
36856 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36857 maybe-configure-stageautoprofile-lto-plugin:
36858 @if lto-plugin-bootstrap
36859 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36860 configure-stageautoprofile-lto-plugin:
36861 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36863 @r=`${PWD_COMMAND}`; export r; \
36864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36865 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36866 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36867 $(HOST_EXPORTS) \
36868 $(POSTSTAGE1_HOST_EXPORTS) \
36869 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36870 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36871 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36872 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36874 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36875 case $(srcdir) in \
36876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36877 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36879 esac; \
36880 module_srcdir=lto-plugin; \
36881 $(SHELL) $$s/$$module_srcdir/configure \
36882 --srcdir=$${topdir}/$$module_srcdir \
36883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36884 --target=${target_alias} \
36885 --with-build-libsubdir=$(HOST_SUBDIR) \
36886 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36887 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36888 @endif lto-plugin-bootstrap
36889
36890 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36891 maybe-configure-stageautofeedback-lto-plugin:
36892 @if lto-plugin-bootstrap
36893 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36894 configure-stageautofeedback-lto-plugin:
36895 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36896 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36897 @r=`${PWD_COMMAND}`; export r; \
36898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36899 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36900 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36901 $(HOST_EXPORTS) \
36902 $(POSTSTAGE1_HOST_EXPORTS) \
36903 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36904 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36905 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36906 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36908 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36909 case $(srcdir) in \
36910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36911 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36913 esac; \
36914 module_srcdir=lto-plugin; \
36915 $(SHELL) $$s/$$module_srcdir/configure \
36916 --srcdir=$${topdir}/$$module_srcdir \
36917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36918 --target=${target_alias} \
36919 --with-build-libsubdir=$(HOST_SUBDIR) \
36920 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36921 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36922 @endif lto-plugin-bootstrap
36923
36924
36925
36926
36927
36928 .PHONY: all-lto-plugin maybe-all-lto-plugin
36929 maybe-all-lto-plugin:
36930 @if gcc-bootstrap
36931 all-lto-plugin: stage_current
36932 @endif gcc-bootstrap
36933 @if lto-plugin
36934 TARGET-lto-plugin=all
36935 maybe-all-lto-plugin: all-lto-plugin
36936 all-lto-plugin: configure-lto-plugin
36937 @r=`${PWD_COMMAND}`; export r; \
36938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36939 $(HOST_EXPORTS) \
36940 (cd $(HOST_SUBDIR)/lto-plugin && \
36941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36942 $(TARGET-lto-plugin))
36943 @endif lto-plugin
36944
36945
36946
36947 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36948 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36949 maybe-all-stage1-lto-plugin:
36950 maybe-clean-stage1-lto-plugin:
36951 @if lto-plugin-bootstrap
36952 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36953 all-stage1: all-stage1-lto-plugin
36954 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36955 all-stage1-lto-plugin: configure-stage1-lto-plugin
36956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36957 @r=`${PWD_COMMAND}`; export r; \
36958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36959 TFLAGS="$(STAGE1_TFLAGS)"; \
36960 $(HOST_EXPORTS) \
36961 cd $(HOST_SUBDIR)/lto-plugin && \
36962 \
36963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36964 CFLAGS="$(STAGE1_CFLAGS)" \
36965 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
36966 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36967 LIBCFLAGS="$(LIBCFLAGS)" \
36968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36971 $(EXTRA_HOST_FLAGS) \
36972 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36973 TFLAGS="$(STAGE1_TFLAGS)" \
36974 $(TARGET-stage1-lto-plugin)
36975
36976 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36977 clean-stage1: clean-stage1-lto-plugin
36978 clean-stage1-lto-plugin:
36979 @if [ $(current_stage) = stage1 ]; then \
36980 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36981 else \
36982 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36983 $(MAKE) stage1-start; \
36984 fi; \
36985 cd $(HOST_SUBDIR)/lto-plugin && \
36986 $(MAKE) $(EXTRA_HOST_FLAGS) \
36987 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36988 @endif lto-plugin-bootstrap
36989
36990
36991 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36992 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36993 maybe-all-stage2-lto-plugin:
36994 maybe-clean-stage2-lto-plugin:
36995 @if lto-plugin-bootstrap
36996 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36997 all-stage2: all-stage2-lto-plugin
36998 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36999 all-stage2-lto-plugin: configure-stage2-lto-plugin
37000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37001 @r=`${PWD_COMMAND}`; export r; \
37002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37003 TFLAGS="$(STAGE2_TFLAGS)"; \
37004 $(HOST_EXPORTS) \
37005 $(POSTSTAGE1_HOST_EXPORTS) \
37006 cd $(HOST_SUBDIR)/lto-plugin && \
37007 \
37008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37009 CFLAGS="$(STAGE2_CFLAGS)" \
37010 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
37011 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
37012 LIBCFLAGS="$(STAGE2_CFLAGS)" \
37013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37017 TFLAGS="$(STAGE2_TFLAGS)" \
37018 $(TARGET-stage2-lto-plugin)
37019
37020 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
37021 clean-stage2: clean-stage2-lto-plugin
37022 clean-stage2-lto-plugin:
37023 @if [ $(current_stage) = stage2 ]; then \
37024 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37025 else \
37026 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
37027 $(MAKE) stage2-start; \
37028 fi; \
37029 cd $(HOST_SUBDIR)/lto-plugin && \
37030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37031 @endif lto-plugin-bootstrap
37032
37033
37034 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
37035 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
37036 maybe-all-stage3-lto-plugin:
37037 maybe-clean-stage3-lto-plugin:
37038 @if lto-plugin-bootstrap
37039 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
37040 all-stage3: all-stage3-lto-plugin
37041 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
37042 all-stage3-lto-plugin: configure-stage3-lto-plugin
37043 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37044 @r=`${PWD_COMMAND}`; export r; \
37045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37046 TFLAGS="$(STAGE3_TFLAGS)"; \
37047 $(HOST_EXPORTS) \
37048 $(POSTSTAGE1_HOST_EXPORTS) \
37049 cd $(HOST_SUBDIR)/lto-plugin && \
37050 \
37051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37052 CFLAGS="$(STAGE3_CFLAGS)" \
37053 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
37054 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
37055 LIBCFLAGS="$(STAGE3_CFLAGS)" \
37056 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37057 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37058 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37059 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37060 TFLAGS="$(STAGE3_TFLAGS)" \
37061 $(TARGET-stage3-lto-plugin)
37062
37063 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
37064 clean-stage3: clean-stage3-lto-plugin
37065 clean-stage3-lto-plugin:
37066 @if [ $(current_stage) = stage3 ]; then \
37067 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37068 else \
37069 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
37070 $(MAKE) stage3-start; \
37071 fi; \
37072 cd $(HOST_SUBDIR)/lto-plugin && \
37073 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37074 @endif lto-plugin-bootstrap
37075
37076
37077 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
37078 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
37079 maybe-all-stage4-lto-plugin:
37080 maybe-clean-stage4-lto-plugin:
37081 @if lto-plugin-bootstrap
37082 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
37083 all-stage4: all-stage4-lto-plugin
37084 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
37085 all-stage4-lto-plugin: configure-stage4-lto-plugin
37086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37087 @r=`${PWD_COMMAND}`; export r; \
37088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37089 TFLAGS="$(STAGE4_TFLAGS)"; \
37090 $(HOST_EXPORTS) \
37091 $(POSTSTAGE1_HOST_EXPORTS) \
37092 cd $(HOST_SUBDIR)/lto-plugin && \
37093 \
37094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37095 CFLAGS="$(STAGE4_CFLAGS)" \
37096 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
37097 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
37098 LIBCFLAGS="$(STAGE4_CFLAGS)" \
37099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37103 TFLAGS="$(STAGE4_TFLAGS)" \
37104 $(TARGET-stage4-lto-plugin)
37105
37106 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
37107 clean-stage4: clean-stage4-lto-plugin
37108 clean-stage4-lto-plugin:
37109 @if [ $(current_stage) = stage4 ]; then \
37110 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37111 else \
37112 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
37113 $(MAKE) stage4-start; \
37114 fi; \
37115 cd $(HOST_SUBDIR)/lto-plugin && \
37116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37117 @endif lto-plugin-bootstrap
37118
37119
37120 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
37121 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
37122 maybe-all-stageprofile-lto-plugin:
37123 maybe-clean-stageprofile-lto-plugin:
37124 @if lto-plugin-bootstrap
37125 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
37126 all-stageprofile: all-stageprofile-lto-plugin
37127 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
37128 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
37129 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37130 @r=`${PWD_COMMAND}`; export r; \
37131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37132 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37133 $(HOST_EXPORTS) \
37134 $(POSTSTAGE1_HOST_EXPORTS) \
37135 cd $(HOST_SUBDIR)/lto-plugin && \
37136 \
37137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37138 CFLAGS="$(STAGEprofile_CFLAGS)" \
37139 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
37140 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
37141 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
37142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37146 TFLAGS="$(STAGEprofile_TFLAGS)" \
37147 $(TARGET-stageprofile-lto-plugin)
37148
37149 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
37150 clean-stageprofile: clean-stageprofile-lto-plugin
37151 clean-stageprofile-lto-plugin:
37152 @if [ $(current_stage) = stageprofile ]; then \
37153 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37154 else \
37155 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
37156 $(MAKE) stageprofile-start; \
37157 fi; \
37158 cd $(HOST_SUBDIR)/lto-plugin && \
37159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37160 @endif lto-plugin-bootstrap
37161
37162
37163 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
37164 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
37165 maybe-all-stagetrain-lto-plugin:
37166 maybe-clean-stagetrain-lto-plugin:
37167 @if lto-plugin-bootstrap
37168 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
37169 all-stagetrain: all-stagetrain-lto-plugin
37170 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
37171 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
37172 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
37173 @r=`${PWD_COMMAND}`; export r; \
37174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37175 TFLAGS="$(STAGEtrain_TFLAGS)"; \
37176 $(HOST_EXPORTS) \
37177 $(POSTSTAGE1_HOST_EXPORTS) \
37178 cd $(HOST_SUBDIR)/lto-plugin && \
37179 \
37180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37181 CFLAGS="$(STAGEtrain_CFLAGS)" \
37182 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
37183 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
37184 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
37185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37189 TFLAGS="$(STAGEtrain_TFLAGS)" \
37190 $(TARGET-stagetrain-lto-plugin)
37191
37192 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
37193 clean-stagetrain: clean-stagetrain-lto-plugin
37194 clean-stagetrain-lto-plugin:
37195 @if [ $(current_stage) = stagetrain ]; then \
37196 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37197 else \
37198 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
37199 $(MAKE) stagetrain-start; \
37200 fi; \
37201 cd $(HOST_SUBDIR)/lto-plugin && \
37202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37203 @endif lto-plugin-bootstrap
37204
37205
37206 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
37207 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
37208 maybe-all-stagefeedback-lto-plugin:
37209 maybe-clean-stagefeedback-lto-plugin:
37210 @if lto-plugin-bootstrap
37211 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
37212 all-stagefeedback: all-stagefeedback-lto-plugin
37213 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
37214 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
37215 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37216 @r=`${PWD_COMMAND}`; export r; \
37217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37218 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37219 $(HOST_EXPORTS) \
37220 $(POSTSTAGE1_HOST_EXPORTS) \
37221 cd $(HOST_SUBDIR)/lto-plugin && \
37222 \
37223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37224 CFLAGS="$(STAGEfeedback_CFLAGS)" \
37225 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
37226 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
37227 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
37228 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37229 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37230 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37231 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37232 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37233 $(TARGET-stagefeedback-lto-plugin)
37234
37235 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
37236 clean-stagefeedback: clean-stagefeedback-lto-plugin
37237 clean-stagefeedback-lto-plugin:
37238 @if [ $(current_stage) = stagefeedback ]; then \
37239 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37240 else \
37241 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
37242 $(MAKE) stagefeedback-start; \
37243 fi; \
37244 cd $(HOST_SUBDIR)/lto-plugin && \
37245 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37246 @endif lto-plugin-bootstrap
37247
37248
37249 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
37250 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
37251 maybe-all-stageautoprofile-lto-plugin:
37252 maybe-clean-stageautoprofile-lto-plugin:
37253 @if lto-plugin-bootstrap
37254 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
37255 all-stageautoprofile: all-stageautoprofile-lto-plugin
37256 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
37257 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
37258 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37259 @r=`${PWD_COMMAND}`; export r; \
37260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37261 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37262 $(HOST_EXPORTS) \
37263 $(POSTSTAGE1_HOST_EXPORTS) \
37264 cd $(HOST_SUBDIR)/lto-plugin && \
37265 $$s/gcc/config/i386/$(AUTO_PROFILE) \
37266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37267 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
37268 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
37269 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
37270 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
37271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37275 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
37276 $(TARGET-stageautoprofile-lto-plugin)
37277
37278 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
37279 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
37280 clean-stageautoprofile-lto-plugin:
37281 @if [ $(current_stage) = stageautoprofile ]; then \
37282 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37283 else \
37284 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
37285 $(MAKE) stageautoprofile-start; \
37286 fi; \
37287 cd $(HOST_SUBDIR)/lto-plugin && \
37288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37289 @endif lto-plugin-bootstrap
37290
37291
37292 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
37293 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
37294 maybe-all-stageautofeedback-lto-plugin:
37295 maybe-clean-stageautofeedback-lto-plugin:
37296 @if lto-plugin-bootstrap
37297 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
37298 all-stageautofeedback: all-stageautofeedback-lto-plugin
37299 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
37300 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
37301 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37302 @r=`${PWD_COMMAND}`; export r; \
37303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37304 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37305 $(HOST_EXPORTS) \
37306 $(POSTSTAGE1_HOST_EXPORTS) \
37307 cd $(HOST_SUBDIR)/lto-plugin && \
37308 \
37309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37310 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
37311 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
37312 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
37313 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
37314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
37318 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
37319 $(TARGET-stageautofeedback-lto-plugin)
37320
37321 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
37322 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
37323 clean-stageautofeedback-lto-plugin:
37324 @if [ $(current_stage) = stageautofeedback ]; then \
37325 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
37326 else \
37327 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
37328 $(MAKE) stageautofeedback-start; \
37329 fi; \
37330 cd $(HOST_SUBDIR)/lto-plugin && \
37331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
37332 @endif lto-plugin-bootstrap
37333
37334
37335
37336
37337
37338 .PHONY: check-lto-plugin maybe-check-lto-plugin
37339 maybe-check-lto-plugin:
37340 @if lto-plugin
37341 maybe-check-lto-plugin: check-lto-plugin
37342
37343 check-lto-plugin:
37344 @: $(MAKE); $(unstage)
37345 @r=`${PWD_COMMAND}`; export r; \
37346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37347 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
37348 (cd $(HOST_SUBDIR)/lto-plugin && \
37349 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
37350
37351 @endif lto-plugin
37352
37353 .PHONY: install-lto-plugin maybe-install-lto-plugin
37354 maybe-install-lto-plugin:
37355 @if lto-plugin
37356 maybe-install-lto-plugin: install-lto-plugin
37357
37358 install-lto-plugin: installdirs
37359 @: $(MAKE); $(unstage)
37360 @r=`${PWD_COMMAND}`; export r; \
37361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37362 $(HOST_EXPORTS) \
37363 (cd $(HOST_SUBDIR)/lto-plugin && \
37364 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
37365
37366 @endif lto-plugin
37367
37368 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
37369 maybe-install-strip-lto-plugin:
37370 @if lto-plugin
37371 maybe-install-strip-lto-plugin: install-strip-lto-plugin
37372
37373 install-strip-lto-plugin: installdirs
37374 @: $(MAKE); $(unstage)
37375 @r=`${PWD_COMMAND}`; export r; \
37376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37377 $(HOST_EXPORTS) \
37378 (cd $(HOST_SUBDIR)/lto-plugin && \
37379 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
37380
37381 @endif lto-plugin
37382
37383 # Other targets (info, dvi, pdf, etc.)
37384
37385 .PHONY: maybe-info-lto-plugin info-lto-plugin
37386 maybe-info-lto-plugin:
37387 @if lto-plugin
37388 maybe-info-lto-plugin: info-lto-plugin
37389
37390 info-lto-plugin: \
37391 configure-lto-plugin
37392 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37393 r=`${PWD_COMMAND}`; export r; \
37394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37395 $(HOST_EXPORTS) \
37396 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37398 done; \
37399 echo "Doing info in lto-plugin"; \
37400 (cd $(HOST_SUBDIR)/lto-plugin && \
37401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37403 "RANLIB=$${RANLIB}" \
37404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37405 info) \
37406 || exit 1
37407
37408 @endif lto-plugin
37409
37410 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
37411 maybe-dvi-lto-plugin:
37412 @if lto-plugin
37413 maybe-dvi-lto-plugin: dvi-lto-plugin
37414
37415 dvi-lto-plugin: \
37416 configure-lto-plugin
37417 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37418 r=`${PWD_COMMAND}`; export r; \
37419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37420 $(HOST_EXPORTS) \
37421 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37423 done; \
37424 echo "Doing dvi in lto-plugin"; \
37425 (cd $(HOST_SUBDIR)/lto-plugin && \
37426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37428 "RANLIB=$${RANLIB}" \
37429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37430 dvi) \
37431 || exit 1
37432
37433 @endif lto-plugin
37434
37435 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
37436 maybe-pdf-lto-plugin:
37437 @if lto-plugin
37438 maybe-pdf-lto-plugin: pdf-lto-plugin
37439
37440 pdf-lto-plugin: \
37441 configure-lto-plugin
37442 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37443 r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 $(HOST_EXPORTS) \
37446 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37448 done; \
37449 echo "Doing pdf in lto-plugin"; \
37450 (cd $(HOST_SUBDIR)/lto-plugin && \
37451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37453 "RANLIB=$${RANLIB}" \
37454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37455 pdf) \
37456 || exit 1
37457
37458 @endif lto-plugin
37459
37460 .PHONY: maybe-html-lto-plugin html-lto-plugin
37461 maybe-html-lto-plugin:
37462 @if lto-plugin
37463 maybe-html-lto-plugin: html-lto-plugin
37464
37465 html-lto-plugin: \
37466 configure-lto-plugin
37467 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37468 r=`${PWD_COMMAND}`; export r; \
37469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37470 $(HOST_EXPORTS) \
37471 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37473 done; \
37474 echo "Doing html in lto-plugin"; \
37475 (cd $(HOST_SUBDIR)/lto-plugin && \
37476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37478 "RANLIB=$${RANLIB}" \
37479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37480 html) \
37481 || exit 1
37482
37483 @endif lto-plugin
37484
37485 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
37486 maybe-TAGS-lto-plugin:
37487 @if lto-plugin
37488 maybe-TAGS-lto-plugin: TAGS-lto-plugin
37489
37490 TAGS-lto-plugin: \
37491 configure-lto-plugin
37492 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37493 r=`${PWD_COMMAND}`; export r; \
37494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37495 $(HOST_EXPORTS) \
37496 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37498 done; \
37499 echo "Doing TAGS in lto-plugin"; \
37500 (cd $(HOST_SUBDIR)/lto-plugin && \
37501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37503 "RANLIB=$${RANLIB}" \
37504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37505 TAGS) \
37506 || exit 1
37507
37508 @endif lto-plugin
37509
37510 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
37511 maybe-install-info-lto-plugin:
37512 @if lto-plugin
37513 maybe-install-info-lto-plugin: install-info-lto-plugin
37514
37515 install-info-lto-plugin: \
37516 configure-lto-plugin \
37517 info-lto-plugin
37518 @[ -f ./lto-plugin/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) @extra_linker_plugin_flags@; do \
37523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37524 done; \
37525 echo "Doing install-info in lto-plugin"; \
37526 (cd $(HOST_SUBDIR)/lto-plugin && \
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-info) \
37532 || exit 1
37533
37534 @endif lto-plugin
37535
37536 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
37537 maybe-install-pdf-lto-plugin:
37538 @if lto-plugin
37539 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
37540
37541 install-pdf-lto-plugin: \
37542 configure-lto-plugin \
37543 pdf-lto-plugin
37544 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37545 r=`${PWD_COMMAND}`; export r; \
37546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37547 $(HOST_EXPORTS) \
37548 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37550 done; \
37551 echo "Doing install-pdf in lto-plugin"; \
37552 (cd $(HOST_SUBDIR)/lto-plugin && \
37553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37555 "RANLIB=$${RANLIB}" \
37556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37557 install-pdf) \
37558 || exit 1
37559
37560 @endif lto-plugin
37561
37562 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
37563 maybe-install-html-lto-plugin:
37564 @if lto-plugin
37565 maybe-install-html-lto-plugin: install-html-lto-plugin
37566
37567 install-html-lto-plugin: \
37568 configure-lto-plugin \
37569 html-lto-plugin
37570 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37571 r=`${PWD_COMMAND}`; export r; \
37572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37573 $(HOST_EXPORTS) \
37574 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37576 done; \
37577 echo "Doing install-html in lto-plugin"; \
37578 (cd $(HOST_SUBDIR)/lto-plugin && \
37579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37581 "RANLIB=$${RANLIB}" \
37582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37583 install-html) \
37584 || exit 1
37585
37586 @endif lto-plugin
37587
37588 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
37589 maybe-installcheck-lto-plugin:
37590 @if lto-plugin
37591 maybe-installcheck-lto-plugin: installcheck-lto-plugin
37592
37593 installcheck-lto-plugin: \
37594 configure-lto-plugin
37595 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37596 r=`${PWD_COMMAND}`; export r; \
37597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37598 $(HOST_EXPORTS) \
37599 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37601 done; \
37602 echo "Doing installcheck in lto-plugin"; \
37603 (cd $(HOST_SUBDIR)/lto-plugin && \
37604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37606 "RANLIB=$${RANLIB}" \
37607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37608 installcheck) \
37609 || exit 1
37610
37611 @endif lto-plugin
37612
37613 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
37614 maybe-mostlyclean-lto-plugin:
37615 @if lto-plugin
37616 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
37617
37618 mostlyclean-lto-plugin:
37619 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37620 r=`${PWD_COMMAND}`; export r; \
37621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37622 $(HOST_EXPORTS) \
37623 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37625 done; \
37626 echo "Doing mostlyclean in lto-plugin"; \
37627 (cd $(HOST_SUBDIR)/lto-plugin && \
37628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37630 "RANLIB=$${RANLIB}" \
37631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37632 mostlyclean) \
37633 || exit 1
37634
37635 @endif lto-plugin
37636
37637 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
37638 maybe-clean-lto-plugin:
37639 @if lto-plugin
37640 maybe-clean-lto-plugin: clean-lto-plugin
37641
37642 clean-lto-plugin:
37643 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37644 r=`${PWD_COMMAND}`; export r; \
37645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37646 $(HOST_EXPORTS) \
37647 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37649 done; \
37650 echo "Doing clean in lto-plugin"; \
37651 (cd $(HOST_SUBDIR)/lto-plugin && \
37652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37654 "RANLIB=$${RANLIB}" \
37655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37656 clean) \
37657 || exit 1
37658
37659 @endif lto-plugin
37660
37661 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
37662 maybe-distclean-lto-plugin:
37663 @if lto-plugin
37664 maybe-distclean-lto-plugin: distclean-lto-plugin
37665
37666 distclean-lto-plugin:
37667 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37668 r=`${PWD_COMMAND}`; export r; \
37669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37670 $(HOST_EXPORTS) \
37671 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37673 done; \
37674 echo "Doing distclean in lto-plugin"; \
37675 (cd $(HOST_SUBDIR)/lto-plugin && \
37676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37678 "RANLIB=$${RANLIB}" \
37679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37680 distclean) \
37681 || exit 1
37682
37683 @endif lto-plugin
37684
37685 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
37686 maybe-maintainer-clean-lto-plugin:
37687 @if lto-plugin
37688 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
37689
37690 maintainer-clean-lto-plugin:
37691 @[ -f ./lto-plugin/Makefile ] || exit 0; \
37692 r=`${PWD_COMMAND}`; export r; \
37693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37694 $(HOST_EXPORTS) \
37695 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37697 done; \
37698 echo "Doing maintainer-clean in lto-plugin"; \
37699 (cd $(HOST_SUBDIR)/lto-plugin && \
37700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37702 "RANLIB=$${RANLIB}" \
37703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37704 maintainer-clean) \
37705 || exit 1
37706
37707 @endif lto-plugin
37708
37709
37710
37711 .PHONY: configure-libcc1 maybe-configure-libcc1
37712 maybe-configure-libcc1:
37713 @if gcc-bootstrap
37714 configure-libcc1: stage_current
37715 @endif gcc-bootstrap
37716 @if libcc1
37717 maybe-configure-libcc1: configure-libcc1
37718 configure-libcc1:
37719 @: $(MAKE); $(unstage)
37720 @r=`${PWD_COMMAND}`; export r; \
37721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37722 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37724 $(HOST_EXPORTS) \
37725 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37726 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37727 case $(srcdir) in \
37728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37729 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37731 esac; \
37732 module_srcdir=libcc1; \
37733 $(SHELL) \
37734 $$s/$$module_srcdir/configure \
37735 --srcdir=$${topdir}/$$module_srcdir \
37736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37737 --target=${target_alias} --enable-shared \
37738 || exit 1
37739 @endif libcc1
37740
37741
37742
37743
37744
37745 .PHONY: all-libcc1 maybe-all-libcc1
37746 maybe-all-libcc1:
37747 @if gcc-bootstrap
37748 all-libcc1: stage_current
37749 @endif gcc-bootstrap
37750 @if libcc1
37751 TARGET-libcc1=all
37752 maybe-all-libcc1: all-libcc1
37753 all-libcc1: configure-libcc1
37754 @: $(MAKE); $(unstage)
37755 @r=`${PWD_COMMAND}`; export r; \
37756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37757 $(HOST_EXPORTS) \
37758 (cd $(HOST_SUBDIR)/libcc1 && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37760 $(TARGET-libcc1))
37761 @endif libcc1
37762
37763
37764
37765
37766 .PHONY: check-libcc1 maybe-check-libcc1
37767 maybe-check-libcc1:
37768 @if libcc1
37769 maybe-check-libcc1: check-libcc1
37770
37771 check-libcc1:
37772 @: $(MAKE); $(unstage)
37773 @r=`${PWD_COMMAND}`; export r; \
37774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37775 $(HOST_EXPORTS) \
37776 (cd $(HOST_SUBDIR)/libcc1 && \
37777 $(MAKE) $(FLAGS_TO_PASS) check)
37778
37779 @endif libcc1
37780
37781 .PHONY: install-libcc1 maybe-install-libcc1
37782 maybe-install-libcc1:
37783 @if libcc1
37784 maybe-install-libcc1: install-libcc1
37785
37786 install-libcc1: installdirs
37787 @: $(MAKE); $(unstage)
37788 @r=`${PWD_COMMAND}`; export r; \
37789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37790 $(HOST_EXPORTS) \
37791 (cd $(HOST_SUBDIR)/libcc1 && \
37792 $(MAKE) $(FLAGS_TO_PASS) install)
37793
37794 @endif libcc1
37795
37796 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37797 maybe-install-strip-libcc1:
37798 @if libcc1
37799 maybe-install-strip-libcc1: install-strip-libcc1
37800
37801 install-strip-libcc1: installdirs
37802 @: $(MAKE); $(unstage)
37803 @r=`${PWD_COMMAND}`; export r; \
37804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37805 $(HOST_EXPORTS) \
37806 (cd $(HOST_SUBDIR)/libcc1 && \
37807 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37808
37809 @endif libcc1
37810
37811 # Other targets (info, dvi, pdf, etc.)
37812
37813 .PHONY: maybe-info-libcc1 info-libcc1
37814 maybe-info-libcc1:
37815 @if libcc1
37816 maybe-info-libcc1: info-libcc1
37817
37818 info-libcc1: \
37819 configure-libcc1
37820 @: $(MAKE); $(unstage)
37821 @[ -f ./libcc1/Makefile ] || exit 0; \
37822 r=`${PWD_COMMAND}`; export r; \
37823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37824 $(HOST_EXPORTS) \
37825 for flag in $(EXTRA_HOST_FLAGS) ; do \
37826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37827 done; \
37828 echo "Doing info in libcc1"; \
37829 (cd $(HOST_SUBDIR)/libcc1 && \
37830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37832 "RANLIB=$${RANLIB}" \
37833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37834 info) \
37835 || exit 1
37836
37837 @endif libcc1
37838
37839 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37840 maybe-dvi-libcc1:
37841 @if libcc1
37842 maybe-dvi-libcc1: dvi-libcc1
37843
37844 dvi-libcc1: \
37845 configure-libcc1
37846 @: $(MAKE); $(unstage)
37847 @[ -f ./libcc1/Makefile ] || exit 0; \
37848 r=`${PWD_COMMAND}`; export r; \
37849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37850 $(HOST_EXPORTS) \
37851 for flag in $(EXTRA_HOST_FLAGS) ; do \
37852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37853 done; \
37854 echo "Doing dvi in libcc1"; \
37855 (cd $(HOST_SUBDIR)/libcc1 && \
37856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37858 "RANLIB=$${RANLIB}" \
37859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37860 dvi) \
37861 || exit 1
37862
37863 @endif libcc1
37864
37865 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37866 maybe-pdf-libcc1:
37867 @if libcc1
37868 maybe-pdf-libcc1: pdf-libcc1
37869
37870 pdf-libcc1: \
37871 configure-libcc1
37872 @: $(MAKE); $(unstage)
37873 @[ -f ./libcc1/Makefile ] || exit 0; \
37874 r=`${PWD_COMMAND}`; export r; \
37875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37876 $(HOST_EXPORTS) \
37877 for flag in $(EXTRA_HOST_FLAGS) ; do \
37878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37879 done; \
37880 echo "Doing pdf in libcc1"; \
37881 (cd $(HOST_SUBDIR)/libcc1 && \
37882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37884 "RANLIB=$${RANLIB}" \
37885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37886 pdf) \
37887 || exit 1
37888
37889 @endif libcc1
37890
37891 .PHONY: maybe-html-libcc1 html-libcc1
37892 maybe-html-libcc1:
37893 @if libcc1
37894 maybe-html-libcc1: html-libcc1
37895
37896 html-libcc1: \
37897 configure-libcc1
37898 @: $(MAKE); $(unstage)
37899 @[ -f ./libcc1/Makefile ] || exit 0; \
37900 r=`${PWD_COMMAND}`; export r; \
37901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37902 $(HOST_EXPORTS) \
37903 for flag in $(EXTRA_HOST_FLAGS) ; do \
37904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37905 done; \
37906 echo "Doing html in libcc1"; \
37907 (cd $(HOST_SUBDIR)/libcc1 && \
37908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37910 "RANLIB=$${RANLIB}" \
37911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37912 html) \
37913 || exit 1
37914
37915 @endif libcc1
37916
37917 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37918 maybe-TAGS-libcc1:
37919 @if libcc1
37920 maybe-TAGS-libcc1: TAGS-libcc1
37921
37922 TAGS-libcc1: \
37923 configure-libcc1
37924 @: $(MAKE); $(unstage)
37925 @[ -f ./libcc1/Makefile ] || exit 0; \
37926 r=`${PWD_COMMAND}`; export r; \
37927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37928 $(HOST_EXPORTS) \
37929 for flag in $(EXTRA_HOST_FLAGS) ; do \
37930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37931 done; \
37932 echo "Doing TAGS in libcc1"; \
37933 (cd $(HOST_SUBDIR)/libcc1 && \
37934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37936 "RANLIB=$${RANLIB}" \
37937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37938 TAGS) \
37939 || exit 1
37940
37941 @endif libcc1
37942
37943 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37944 maybe-install-info-libcc1:
37945 @if libcc1
37946 maybe-install-info-libcc1: install-info-libcc1
37947
37948 install-info-libcc1: \
37949 configure-libcc1 \
37950 info-libcc1
37951 @: $(MAKE); $(unstage)
37952 @[ -f ./libcc1/Makefile ] || exit 0; \
37953 r=`${PWD_COMMAND}`; export r; \
37954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37955 $(HOST_EXPORTS) \
37956 for flag in $(EXTRA_HOST_FLAGS) ; do \
37957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37958 done; \
37959 echo "Doing install-info in libcc1"; \
37960 (cd $(HOST_SUBDIR)/libcc1 && \
37961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37963 "RANLIB=$${RANLIB}" \
37964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37965 install-info) \
37966 || exit 1
37967
37968 @endif libcc1
37969
37970 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37971 maybe-install-pdf-libcc1:
37972 @if libcc1
37973 maybe-install-pdf-libcc1: install-pdf-libcc1
37974
37975 install-pdf-libcc1: \
37976 configure-libcc1 \
37977 pdf-libcc1
37978 @: $(MAKE); $(unstage)
37979 @[ -f ./libcc1/Makefile ] || exit 0; \
37980 r=`${PWD_COMMAND}`; export r; \
37981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37982 $(HOST_EXPORTS) \
37983 for flag in $(EXTRA_HOST_FLAGS) ; do \
37984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37985 done; \
37986 echo "Doing install-pdf in libcc1"; \
37987 (cd $(HOST_SUBDIR)/libcc1 && \
37988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37990 "RANLIB=$${RANLIB}" \
37991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37992 install-pdf) \
37993 || exit 1
37994
37995 @endif libcc1
37996
37997 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37998 maybe-install-html-libcc1:
37999 @if libcc1
38000 maybe-install-html-libcc1: install-html-libcc1
38001
38002 install-html-libcc1: \
38003 configure-libcc1 \
38004 html-libcc1
38005 @: $(MAKE); $(unstage)
38006 @[ -f ./libcc1/Makefile ] || exit 0; \
38007 r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 $(HOST_EXPORTS) \
38010 for flag in $(EXTRA_HOST_FLAGS) ; do \
38011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38012 done; \
38013 echo "Doing install-html in libcc1"; \
38014 (cd $(HOST_SUBDIR)/libcc1 && \
38015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38017 "RANLIB=$${RANLIB}" \
38018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38019 install-html) \
38020 || exit 1
38021
38022 @endif libcc1
38023
38024 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
38025 maybe-installcheck-libcc1:
38026 @if libcc1
38027 maybe-installcheck-libcc1: installcheck-libcc1
38028
38029 installcheck-libcc1: \
38030 configure-libcc1
38031 @: $(MAKE); $(unstage)
38032 @[ -f ./libcc1/Makefile ] || exit 0; \
38033 r=`${PWD_COMMAND}`; export r; \
38034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38035 $(HOST_EXPORTS) \
38036 for flag in $(EXTRA_HOST_FLAGS) ; do \
38037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38038 done; \
38039 echo "Doing installcheck in libcc1"; \
38040 (cd $(HOST_SUBDIR)/libcc1 && \
38041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38043 "RANLIB=$${RANLIB}" \
38044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38045 installcheck) \
38046 || exit 1
38047
38048 @endif libcc1
38049
38050 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
38051 maybe-mostlyclean-libcc1:
38052 @if libcc1
38053 maybe-mostlyclean-libcc1: mostlyclean-libcc1
38054
38055 mostlyclean-libcc1:
38056 @: $(MAKE); $(unstage)
38057 @[ -f ./libcc1/Makefile ] || exit 0; \
38058 r=`${PWD_COMMAND}`; export r; \
38059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38060 $(HOST_EXPORTS) \
38061 for flag in $(EXTRA_HOST_FLAGS) ; do \
38062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38063 done; \
38064 echo "Doing mostlyclean in libcc1"; \
38065 (cd $(HOST_SUBDIR)/libcc1 && \
38066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38068 "RANLIB=$${RANLIB}" \
38069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38070 mostlyclean) \
38071 || exit 1
38072
38073 @endif libcc1
38074
38075 .PHONY: maybe-clean-libcc1 clean-libcc1
38076 maybe-clean-libcc1:
38077 @if libcc1
38078 maybe-clean-libcc1: clean-libcc1
38079
38080 clean-libcc1:
38081 @: $(MAKE); $(unstage)
38082 @[ -f ./libcc1/Makefile ] || exit 0; \
38083 r=`${PWD_COMMAND}`; export r; \
38084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38085 $(HOST_EXPORTS) \
38086 for flag in $(EXTRA_HOST_FLAGS) ; do \
38087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38088 done; \
38089 echo "Doing clean in libcc1"; \
38090 (cd $(HOST_SUBDIR)/libcc1 && \
38091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38093 "RANLIB=$${RANLIB}" \
38094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38095 clean) \
38096 || exit 1
38097
38098 @endif libcc1
38099
38100 .PHONY: maybe-distclean-libcc1 distclean-libcc1
38101 maybe-distclean-libcc1:
38102 @if libcc1
38103 maybe-distclean-libcc1: distclean-libcc1
38104
38105 distclean-libcc1:
38106 @: $(MAKE); $(unstage)
38107 @[ -f ./libcc1/Makefile ] || exit 0; \
38108 r=`${PWD_COMMAND}`; export r; \
38109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38110 $(HOST_EXPORTS) \
38111 for flag in $(EXTRA_HOST_FLAGS) ; do \
38112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38113 done; \
38114 echo "Doing distclean in libcc1"; \
38115 (cd $(HOST_SUBDIR)/libcc1 && \
38116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38118 "RANLIB=$${RANLIB}" \
38119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38120 distclean) \
38121 || exit 1
38122
38123 @endif libcc1
38124
38125 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
38126 maybe-maintainer-clean-libcc1:
38127 @if libcc1
38128 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
38129
38130 maintainer-clean-libcc1:
38131 @: $(MAKE); $(unstage)
38132 @[ -f ./libcc1/Makefile ] || exit 0; \
38133 r=`${PWD_COMMAND}`; export r; \
38134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38135 $(HOST_EXPORTS) \
38136 for flag in $(EXTRA_HOST_FLAGS) ; do \
38137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38138 done; \
38139 echo "Doing maintainer-clean in libcc1"; \
38140 (cd $(HOST_SUBDIR)/libcc1 && \
38141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38143 "RANLIB=$${RANLIB}" \
38144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38145 maintainer-clean) \
38146 || exit 1
38147
38148 @endif libcc1
38149
38150
38151
38152 .PHONY: configure-gotools maybe-configure-gotools
38153 maybe-configure-gotools:
38154 @if gcc-bootstrap
38155 configure-gotools: stage_current
38156 @endif gcc-bootstrap
38157 @if gotools
38158 maybe-configure-gotools: configure-gotools
38159 configure-gotools:
38160 @: $(MAKE); $(unstage)
38161 @r=`${PWD_COMMAND}`; export r; \
38162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38163 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
38164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
38165 $(HOST_EXPORTS) \
38166 echo Configuring in $(HOST_SUBDIR)/gotools; \
38167 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
38168 case $(srcdir) in \
38169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38170 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
38171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38172 esac; \
38173 module_srcdir=gotools; \
38174 $(SHELL) \
38175 $$s/$$module_srcdir/configure \
38176 --srcdir=$${topdir}/$$module_srcdir \
38177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38178 --target=${target_alias} \
38179 || exit 1
38180 @endif gotools
38181
38182
38183
38184
38185
38186 .PHONY: all-gotools maybe-all-gotools
38187 maybe-all-gotools:
38188 @if gcc-bootstrap
38189 all-gotools: stage_current
38190 @endif gcc-bootstrap
38191 @if gotools
38192 TARGET-gotools=all
38193 maybe-all-gotools: all-gotools
38194 all-gotools: configure-gotools
38195 @: $(MAKE); $(unstage)
38196 @r=`${PWD_COMMAND}`; export r; \
38197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38198 $(HOST_EXPORTS) \
38199 (cd $(HOST_SUBDIR)/gotools && \
38200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38201 $(TARGET-gotools))
38202 @endif gotools
38203
38204
38205
38206
38207 .PHONY: check-gotools maybe-check-gotools
38208 maybe-check-gotools:
38209 @if gotools
38210 maybe-check-gotools: check-gotools
38211
38212 check-gotools:
38213 @: $(MAKE); $(unstage)
38214 @r=`${PWD_COMMAND}`; export r; \
38215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38216 $(HOST_EXPORTS) \
38217 (cd $(HOST_SUBDIR)/gotools && \
38218 $(MAKE) $(FLAGS_TO_PASS) check)
38219
38220 @endif gotools
38221
38222 .PHONY: install-gotools maybe-install-gotools
38223 maybe-install-gotools:
38224 @if gotools
38225 maybe-install-gotools: install-gotools
38226
38227 install-gotools: installdirs
38228 @: $(MAKE); $(unstage)
38229 @r=`${PWD_COMMAND}`; export r; \
38230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38231 $(HOST_EXPORTS) \
38232 (cd $(HOST_SUBDIR)/gotools && \
38233 $(MAKE) $(FLAGS_TO_PASS) install)
38234
38235 @endif gotools
38236
38237 .PHONY: install-strip-gotools maybe-install-strip-gotools
38238 maybe-install-strip-gotools:
38239 @if gotools
38240 maybe-install-strip-gotools: install-strip-gotools
38241
38242 install-strip-gotools: installdirs
38243 @: $(MAKE); $(unstage)
38244 @r=`${PWD_COMMAND}`; export r; \
38245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38246 $(HOST_EXPORTS) \
38247 (cd $(HOST_SUBDIR)/gotools && \
38248 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38249
38250 @endif gotools
38251
38252 # Other targets (info, dvi, pdf, etc.)
38253
38254 .PHONY: maybe-info-gotools info-gotools
38255 maybe-info-gotools:
38256 @if gotools
38257 maybe-info-gotools: info-gotools
38258
38259 info-gotools: \
38260 configure-gotools
38261 @: $(MAKE); $(unstage)
38262 @[ -f ./gotools/Makefile ] || exit 0; \
38263 r=`${PWD_COMMAND}`; export r; \
38264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38265 $(HOST_EXPORTS) \
38266 for flag in $(EXTRA_HOST_FLAGS) ; do \
38267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38268 done; \
38269 echo "Doing info in gotools"; \
38270 (cd $(HOST_SUBDIR)/gotools && \
38271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38273 "RANLIB=$${RANLIB}" \
38274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38275 info) \
38276 || exit 1
38277
38278 @endif gotools
38279
38280 .PHONY: maybe-dvi-gotools dvi-gotools
38281 maybe-dvi-gotools:
38282 @if gotools
38283 maybe-dvi-gotools: dvi-gotools
38284
38285 dvi-gotools: \
38286 configure-gotools
38287 @: $(MAKE); $(unstage)
38288 @[ -f ./gotools/Makefile ] || exit 0; \
38289 r=`${PWD_COMMAND}`; export r; \
38290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38291 $(HOST_EXPORTS) \
38292 for flag in $(EXTRA_HOST_FLAGS) ; do \
38293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38294 done; \
38295 echo "Doing dvi in gotools"; \
38296 (cd $(HOST_SUBDIR)/gotools && \
38297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38299 "RANLIB=$${RANLIB}" \
38300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38301 dvi) \
38302 || exit 1
38303
38304 @endif gotools
38305
38306 .PHONY: maybe-pdf-gotools pdf-gotools
38307 maybe-pdf-gotools:
38308 @if gotools
38309 maybe-pdf-gotools: pdf-gotools
38310
38311 pdf-gotools: \
38312 configure-gotools
38313 @: $(MAKE); $(unstage)
38314 @[ -f ./gotools/Makefile ] || exit 0; \
38315 r=`${PWD_COMMAND}`; export r; \
38316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38317 $(HOST_EXPORTS) \
38318 for flag in $(EXTRA_HOST_FLAGS) ; do \
38319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38320 done; \
38321 echo "Doing pdf in gotools"; \
38322 (cd $(HOST_SUBDIR)/gotools && \
38323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38325 "RANLIB=$${RANLIB}" \
38326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38327 pdf) \
38328 || exit 1
38329
38330 @endif gotools
38331
38332 .PHONY: maybe-html-gotools html-gotools
38333 maybe-html-gotools:
38334 @if gotools
38335 maybe-html-gotools: html-gotools
38336
38337 html-gotools: \
38338 configure-gotools
38339 @: $(MAKE); $(unstage)
38340 @[ -f ./gotools/Makefile ] || exit 0; \
38341 r=`${PWD_COMMAND}`; export r; \
38342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38343 $(HOST_EXPORTS) \
38344 for flag in $(EXTRA_HOST_FLAGS) ; do \
38345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38346 done; \
38347 echo "Doing html in gotools"; \
38348 (cd $(HOST_SUBDIR)/gotools && \
38349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38351 "RANLIB=$${RANLIB}" \
38352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38353 html) \
38354 || exit 1
38355
38356 @endif gotools
38357
38358 .PHONY: maybe-TAGS-gotools TAGS-gotools
38359 maybe-TAGS-gotools:
38360 @if gotools
38361 maybe-TAGS-gotools: TAGS-gotools
38362
38363 TAGS-gotools: \
38364 configure-gotools
38365 @: $(MAKE); $(unstage)
38366 @[ -f ./gotools/Makefile ] || exit 0; \
38367 r=`${PWD_COMMAND}`; export r; \
38368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38369 $(HOST_EXPORTS) \
38370 for flag in $(EXTRA_HOST_FLAGS) ; do \
38371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38372 done; \
38373 echo "Doing TAGS in gotools"; \
38374 (cd $(HOST_SUBDIR)/gotools && \
38375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38377 "RANLIB=$${RANLIB}" \
38378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38379 TAGS) \
38380 || exit 1
38381
38382 @endif gotools
38383
38384 .PHONY: maybe-install-info-gotools install-info-gotools
38385 maybe-install-info-gotools:
38386 @if gotools
38387 maybe-install-info-gotools: install-info-gotools
38388
38389 install-info-gotools: \
38390 configure-gotools \
38391 info-gotools
38392 @: $(MAKE); $(unstage)
38393 @[ -f ./gotools/Makefile ] || exit 0; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(HOST_EXPORTS) \
38397 for flag in $(EXTRA_HOST_FLAGS) ; do \
38398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38399 done; \
38400 echo "Doing install-info in gotools"; \
38401 (cd $(HOST_SUBDIR)/gotools && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38406 install-info) \
38407 || exit 1
38408
38409 @endif gotools
38410
38411 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
38412 maybe-install-pdf-gotools:
38413 @if gotools
38414 maybe-install-pdf-gotools: install-pdf-gotools
38415
38416 install-pdf-gotools: \
38417 configure-gotools \
38418 pdf-gotools
38419 @: $(MAKE); $(unstage)
38420 @[ -f ./gotools/Makefile ] || exit 0; \
38421 r=`${PWD_COMMAND}`; export r; \
38422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38423 $(HOST_EXPORTS) \
38424 for flag in $(EXTRA_HOST_FLAGS) ; do \
38425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38426 done; \
38427 echo "Doing install-pdf in gotools"; \
38428 (cd $(HOST_SUBDIR)/gotools && \
38429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38431 "RANLIB=$${RANLIB}" \
38432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38433 install-pdf) \
38434 || exit 1
38435
38436 @endif gotools
38437
38438 .PHONY: maybe-install-html-gotools install-html-gotools
38439 maybe-install-html-gotools:
38440 @if gotools
38441 maybe-install-html-gotools: install-html-gotools
38442
38443 install-html-gotools: \
38444 configure-gotools \
38445 html-gotools
38446 @: $(MAKE); $(unstage)
38447 @[ -f ./gotools/Makefile ] || exit 0; \
38448 r=`${PWD_COMMAND}`; export r; \
38449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38450 $(HOST_EXPORTS) \
38451 for flag in $(EXTRA_HOST_FLAGS) ; do \
38452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38453 done; \
38454 echo "Doing install-html in gotools"; \
38455 (cd $(HOST_SUBDIR)/gotools && \
38456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38458 "RANLIB=$${RANLIB}" \
38459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38460 install-html) \
38461 || exit 1
38462
38463 @endif gotools
38464
38465 .PHONY: maybe-installcheck-gotools installcheck-gotools
38466 maybe-installcheck-gotools:
38467 @if gotools
38468 maybe-installcheck-gotools: installcheck-gotools
38469
38470 installcheck-gotools: \
38471 configure-gotools
38472 @: $(MAKE); $(unstage)
38473 @[ -f ./gotools/Makefile ] || exit 0; \
38474 r=`${PWD_COMMAND}`; export r; \
38475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38476 $(HOST_EXPORTS) \
38477 for flag in $(EXTRA_HOST_FLAGS) ; do \
38478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38479 done; \
38480 echo "Doing installcheck in gotools"; \
38481 (cd $(HOST_SUBDIR)/gotools && \
38482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38484 "RANLIB=$${RANLIB}" \
38485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38486 installcheck) \
38487 || exit 1
38488
38489 @endif gotools
38490
38491 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
38492 maybe-mostlyclean-gotools:
38493 @if gotools
38494 maybe-mostlyclean-gotools: mostlyclean-gotools
38495
38496 mostlyclean-gotools:
38497 @: $(MAKE); $(unstage)
38498 @[ -f ./gotools/Makefile ] || exit 0; \
38499 r=`${PWD_COMMAND}`; export r; \
38500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38501 $(HOST_EXPORTS) \
38502 for flag in $(EXTRA_HOST_FLAGS) ; do \
38503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38504 done; \
38505 echo "Doing mostlyclean in gotools"; \
38506 (cd $(HOST_SUBDIR)/gotools && \
38507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38509 "RANLIB=$${RANLIB}" \
38510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38511 mostlyclean) \
38512 || exit 1
38513
38514 @endif gotools
38515
38516 .PHONY: maybe-clean-gotools clean-gotools
38517 maybe-clean-gotools:
38518 @if gotools
38519 maybe-clean-gotools: clean-gotools
38520
38521 clean-gotools:
38522 @: $(MAKE); $(unstage)
38523 @[ -f ./gotools/Makefile ] || exit 0; \
38524 r=`${PWD_COMMAND}`; export r; \
38525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38526 $(HOST_EXPORTS) \
38527 for flag in $(EXTRA_HOST_FLAGS) ; do \
38528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38529 done; \
38530 echo "Doing clean in gotools"; \
38531 (cd $(HOST_SUBDIR)/gotools && \
38532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38534 "RANLIB=$${RANLIB}" \
38535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38536 clean) \
38537 || exit 1
38538
38539 @endif gotools
38540
38541 .PHONY: maybe-distclean-gotools distclean-gotools
38542 maybe-distclean-gotools:
38543 @if gotools
38544 maybe-distclean-gotools: distclean-gotools
38545
38546 distclean-gotools:
38547 @: $(MAKE); $(unstage)
38548 @[ -f ./gotools/Makefile ] || exit 0; \
38549 r=`${PWD_COMMAND}`; export r; \
38550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38551 $(HOST_EXPORTS) \
38552 for flag in $(EXTRA_HOST_FLAGS) ; do \
38553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38554 done; \
38555 echo "Doing distclean in gotools"; \
38556 (cd $(HOST_SUBDIR)/gotools && \
38557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38559 "RANLIB=$${RANLIB}" \
38560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38561 distclean) \
38562 || exit 1
38563
38564 @endif gotools
38565
38566 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
38567 maybe-maintainer-clean-gotools:
38568 @if gotools
38569 maybe-maintainer-clean-gotools: maintainer-clean-gotools
38570
38571 maintainer-clean-gotools:
38572 @: $(MAKE); $(unstage)
38573 @[ -f ./gotools/Makefile ] || exit 0; \
38574 r=`${PWD_COMMAND}`; export r; \
38575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38576 $(HOST_EXPORTS) \
38577 for flag in $(EXTRA_HOST_FLAGS) ; do \
38578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38579 done; \
38580 echo "Doing maintainer-clean in gotools"; \
38581 (cd $(HOST_SUBDIR)/gotools && \
38582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38584 "RANLIB=$${RANLIB}" \
38585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38586 maintainer-clean) \
38587 || exit 1
38588
38589 @endif gotools
38590
38591
38592
38593 .PHONY: configure-libctf maybe-configure-libctf
38594 maybe-configure-libctf:
38595 @if gcc-bootstrap
38596 configure-libctf: stage_current
38597 @endif gcc-bootstrap
38598 @if libctf
38599 maybe-configure-libctf: configure-libctf
38600 configure-libctf:
38601 @r=`${PWD_COMMAND}`; export r; \
38602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38603 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38605 $(HOST_EXPORTS) \
38606 echo Configuring in $(HOST_SUBDIR)/libctf; \
38607 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
38608 case $(srcdir) in \
38609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38610 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38612 esac; \
38613 module_srcdir=libctf; \
38614 $(SHELL) \
38615 $$s/$$module_srcdir/configure \
38616 --srcdir=$${topdir}/$$module_srcdir \
38617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38618 --target=${target_alias} \
38619 || exit 1
38620 @endif libctf
38621
38622
38623
38624 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
38625 maybe-configure-stage1-libctf:
38626 @if libctf-bootstrap
38627 maybe-configure-stage1-libctf: configure-stage1-libctf
38628 configure-stage1-libctf:
38629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38631 @r=`${PWD_COMMAND}`; export r; \
38632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38633 TFLAGS="$(STAGE1_TFLAGS)"; \
38634 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38635 $(HOST_EXPORTS) \
38636 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
38637 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
38638 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
38639 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
38640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38641 cd $(HOST_SUBDIR)/libctf || exit 1; \
38642 case $(srcdir) in \
38643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38644 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38646 esac; \
38647 module_srcdir=libctf; \
38648 $(SHELL) $$s/$$module_srcdir/configure \
38649 --srcdir=$${topdir}/$$module_srcdir \
38650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38651 --target=${target_alias} \
38652 \
38653 $(STAGE1_CONFIGURE_FLAGS)
38654 @endif libctf-bootstrap
38655
38656 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
38657 maybe-configure-stage2-libctf:
38658 @if libctf-bootstrap
38659 maybe-configure-stage2-libctf: configure-stage2-libctf
38660 configure-stage2-libctf:
38661 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38663 @r=`${PWD_COMMAND}`; export r; \
38664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38665 TFLAGS="$(STAGE2_TFLAGS)"; \
38666 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38667 $(HOST_EXPORTS) \
38668 $(POSTSTAGE1_HOST_EXPORTS) \
38669 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
38670 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
38671 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
38672 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
38673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38674 cd $(HOST_SUBDIR)/libctf || exit 1; \
38675 case $(srcdir) in \
38676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38677 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38679 esac; \
38680 module_srcdir=libctf; \
38681 $(SHELL) $$s/$$module_srcdir/configure \
38682 --srcdir=$${topdir}/$$module_srcdir \
38683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38684 --target=${target_alias} \
38685 --with-build-libsubdir=$(HOST_SUBDIR) \
38686 $(STAGE2_CONFIGURE_FLAGS)
38687 @endif libctf-bootstrap
38688
38689 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
38690 maybe-configure-stage3-libctf:
38691 @if libctf-bootstrap
38692 maybe-configure-stage3-libctf: configure-stage3-libctf
38693 configure-stage3-libctf:
38694 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38696 @r=`${PWD_COMMAND}`; export r; \
38697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38698 TFLAGS="$(STAGE3_TFLAGS)"; \
38699 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38700 $(HOST_EXPORTS) \
38701 $(POSTSTAGE1_HOST_EXPORTS) \
38702 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
38703 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
38704 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
38705 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
38706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38707 cd $(HOST_SUBDIR)/libctf || exit 1; \
38708 case $(srcdir) in \
38709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38710 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38712 esac; \
38713 module_srcdir=libctf; \
38714 $(SHELL) $$s/$$module_srcdir/configure \
38715 --srcdir=$${topdir}/$$module_srcdir \
38716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38717 --target=${target_alias} \
38718 --with-build-libsubdir=$(HOST_SUBDIR) \
38719 $(STAGE3_CONFIGURE_FLAGS)
38720 @endif libctf-bootstrap
38721
38722 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
38723 maybe-configure-stage4-libctf:
38724 @if libctf-bootstrap
38725 maybe-configure-stage4-libctf: configure-stage4-libctf
38726 configure-stage4-libctf:
38727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38729 @r=`${PWD_COMMAND}`; export r; \
38730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38731 TFLAGS="$(STAGE4_TFLAGS)"; \
38732 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38733 $(HOST_EXPORTS) \
38734 $(POSTSTAGE1_HOST_EXPORTS) \
38735 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
38736 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
38737 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
38738 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
38739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38740 cd $(HOST_SUBDIR)/libctf || exit 1; \
38741 case $(srcdir) in \
38742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38743 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38745 esac; \
38746 module_srcdir=libctf; \
38747 $(SHELL) $$s/$$module_srcdir/configure \
38748 --srcdir=$${topdir}/$$module_srcdir \
38749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38750 --target=${target_alias} \
38751 --with-build-libsubdir=$(HOST_SUBDIR) \
38752 $(STAGE4_CONFIGURE_FLAGS)
38753 @endif libctf-bootstrap
38754
38755 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
38756 maybe-configure-stageprofile-libctf:
38757 @if libctf-bootstrap
38758 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
38759 configure-stageprofile-libctf:
38760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38762 @r=`${PWD_COMMAND}`; export r; \
38763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38764 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38765 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38766 $(HOST_EXPORTS) \
38767 $(POSTSTAGE1_HOST_EXPORTS) \
38768 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
38769 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
38770 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
38771 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
38772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38773 cd $(HOST_SUBDIR)/libctf || exit 1; \
38774 case $(srcdir) in \
38775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38776 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38778 esac; \
38779 module_srcdir=libctf; \
38780 $(SHELL) $$s/$$module_srcdir/configure \
38781 --srcdir=$${topdir}/$$module_srcdir \
38782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38783 --target=${target_alias} \
38784 --with-build-libsubdir=$(HOST_SUBDIR) \
38785 $(STAGEprofile_CONFIGURE_FLAGS)
38786 @endif libctf-bootstrap
38787
38788 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
38789 maybe-configure-stagetrain-libctf:
38790 @if libctf-bootstrap
38791 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
38792 configure-stagetrain-libctf:
38793 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38795 @r=`${PWD_COMMAND}`; export r; \
38796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38797 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38798 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38799 $(HOST_EXPORTS) \
38800 $(POSTSTAGE1_HOST_EXPORTS) \
38801 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
38802 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
38803 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
38804 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
38805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38806 cd $(HOST_SUBDIR)/libctf || exit 1; \
38807 case $(srcdir) in \
38808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38809 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38811 esac; \
38812 module_srcdir=libctf; \
38813 $(SHELL) $$s/$$module_srcdir/configure \
38814 --srcdir=$${topdir}/$$module_srcdir \
38815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38816 --target=${target_alias} \
38817 --with-build-libsubdir=$(HOST_SUBDIR) \
38818 $(STAGEtrain_CONFIGURE_FLAGS)
38819 @endif libctf-bootstrap
38820
38821 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
38822 maybe-configure-stagefeedback-libctf:
38823 @if libctf-bootstrap
38824 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
38825 configure-stagefeedback-libctf:
38826 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38831 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38832 $(HOST_EXPORTS) \
38833 $(POSTSTAGE1_HOST_EXPORTS) \
38834 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
38835 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
38836 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
38837 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
38838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38839 cd $(HOST_SUBDIR)/libctf || exit 1; \
38840 case $(srcdir) in \
38841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38842 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38844 esac; \
38845 module_srcdir=libctf; \
38846 $(SHELL) $$s/$$module_srcdir/configure \
38847 --srcdir=$${topdir}/$$module_srcdir \
38848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38849 --target=${target_alias} \
38850 --with-build-libsubdir=$(HOST_SUBDIR) \
38851 $(STAGEfeedback_CONFIGURE_FLAGS)
38852 @endif libctf-bootstrap
38853
38854 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
38855 maybe-configure-stageautoprofile-libctf:
38856 @if libctf-bootstrap
38857 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
38858 configure-stageautoprofile-libctf:
38859 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38861 @r=`${PWD_COMMAND}`; export r; \
38862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38863 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38864 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38865 $(HOST_EXPORTS) \
38866 $(POSTSTAGE1_HOST_EXPORTS) \
38867 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
38868 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
38869 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
38870 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
38871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38872 cd $(HOST_SUBDIR)/libctf || exit 1; \
38873 case $(srcdir) in \
38874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38875 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38877 esac; \
38878 module_srcdir=libctf; \
38879 $(SHELL) $$s/$$module_srcdir/configure \
38880 --srcdir=$${topdir}/$$module_srcdir \
38881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38882 --target=${target_alias} \
38883 --with-build-libsubdir=$(HOST_SUBDIR) \
38884 $(STAGEautoprofile_CONFIGURE_FLAGS)
38885 @endif libctf-bootstrap
38886
38887 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
38888 maybe-configure-stageautofeedback-libctf:
38889 @if libctf-bootstrap
38890 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
38891 configure-stageautofeedback-libctf:
38892 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
38894 @r=`${PWD_COMMAND}`; export r; \
38895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38896 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38897 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
38898 $(HOST_EXPORTS) \
38899 $(POSTSTAGE1_HOST_EXPORTS) \
38900 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
38901 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
38902 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
38903 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
38904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
38905 cd $(HOST_SUBDIR)/libctf || exit 1; \
38906 case $(srcdir) in \
38907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38908 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
38909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38910 esac; \
38911 module_srcdir=libctf; \
38912 $(SHELL) $$s/$$module_srcdir/configure \
38913 --srcdir=$${topdir}/$$module_srcdir \
38914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38915 --target=${target_alias} \
38916 --with-build-libsubdir=$(HOST_SUBDIR) \
38917 $(STAGEautofeedback_CONFIGURE_FLAGS)
38918 @endif libctf-bootstrap
38919
38920
38921
38922
38923
38924 .PHONY: all-libctf maybe-all-libctf
38925 maybe-all-libctf:
38926 @if gcc-bootstrap
38927 all-libctf: stage_current
38928 @endif gcc-bootstrap
38929 @if libctf
38930 TARGET-libctf=all
38931 maybe-all-libctf: all-libctf
38932 all-libctf: configure-libctf
38933 @r=`${PWD_COMMAND}`; export r; \
38934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38935 $(HOST_EXPORTS) \
38936 (cd $(HOST_SUBDIR)/libctf && \
38937 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38938 $(TARGET-libctf))
38939 @endif libctf
38940
38941
38942
38943 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
38944 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
38945 maybe-all-stage1-libctf:
38946 maybe-clean-stage1-libctf:
38947 @if libctf-bootstrap
38948 maybe-all-stage1-libctf: all-stage1-libctf
38949 all-stage1: all-stage1-libctf
38950 TARGET-stage1-libctf = $(TARGET-libctf)
38951 all-stage1-libctf: configure-stage1-libctf
38952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38953 @r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 TFLAGS="$(STAGE1_TFLAGS)"; \
38956 $(HOST_EXPORTS) \
38957 cd $(HOST_SUBDIR)/libctf && \
38958 \
38959 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38960 CFLAGS="$(STAGE1_CFLAGS)" \
38961 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
38962 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
38963 LIBCFLAGS="$(LIBCFLAGS)" \
38964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38967 $(EXTRA_HOST_FLAGS) \
38968 $(STAGE1_FLAGS_TO_PASS) \
38969 TFLAGS="$(STAGE1_TFLAGS)" \
38970 $(TARGET-stage1-libctf)
38971
38972 maybe-clean-stage1-libctf: clean-stage1-libctf
38973 clean-stage1: clean-stage1-libctf
38974 clean-stage1-libctf:
38975 @if [ $(current_stage) = stage1 ]; then \
38976 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
38977 else \
38978 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
38979 $(MAKE) stage1-start; \
38980 fi; \
38981 cd $(HOST_SUBDIR)/libctf && \
38982 $(MAKE) $(EXTRA_HOST_FLAGS) \
38983 $(STAGE1_FLAGS_TO_PASS) clean
38984 @endif libctf-bootstrap
38985
38986
38987 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
38988 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
38989 maybe-all-stage2-libctf:
38990 maybe-clean-stage2-libctf:
38991 @if libctf-bootstrap
38992 maybe-all-stage2-libctf: all-stage2-libctf
38993 all-stage2: all-stage2-libctf
38994 TARGET-stage2-libctf = $(TARGET-libctf)
38995 all-stage2-libctf: configure-stage2-libctf
38996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38997 @r=`${PWD_COMMAND}`; export r; \
38998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38999 TFLAGS="$(STAGE2_TFLAGS)"; \
39000 $(HOST_EXPORTS) \
39001 $(POSTSTAGE1_HOST_EXPORTS) \
39002 cd $(HOST_SUBDIR)/libctf && \
39003 \
39004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39005 CFLAGS="$(STAGE2_CFLAGS)" \
39006 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
39007 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
39008 LIBCFLAGS="$(STAGE2_CFLAGS)" \
39009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39013 TFLAGS="$(STAGE2_TFLAGS)" \
39014 $(TARGET-stage2-libctf)
39015
39016 maybe-clean-stage2-libctf: clean-stage2-libctf
39017 clean-stage2: clean-stage2-libctf
39018 clean-stage2-libctf:
39019 @if [ $(current_stage) = stage2 ]; then \
39020 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39021 else \
39022 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
39023 $(MAKE) stage2-start; \
39024 fi; \
39025 cd $(HOST_SUBDIR)/libctf && \
39026 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39027 @endif libctf-bootstrap
39028
39029
39030 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
39031 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
39032 maybe-all-stage3-libctf:
39033 maybe-clean-stage3-libctf:
39034 @if libctf-bootstrap
39035 maybe-all-stage3-libctf: all-stage3-libctf
39036 all-stage3: all-stage3-libctf
39037 TARGET-stage3-libctf = $(TARGET-libctf)
39038 all-stage3-libctf: configure-stage3-libctf
39039 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39040 @r=`${PWD_COMMAND}`; export r; \
39041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39042 TFLAGS="$(STAGE3_TFLAGS)"; \
39043 $(HOST_EXPORTS) \
39044 $(POSTSTAGE1_HOST_EXPORTS) \
39045 cd $(HOST_SUBDIR)/libctf && \
39046 \
39047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39048 CFLAGS="$(STAGE3_CFLAGS)" \
39049 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
39050 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
39051 LIBCFLAGS="$(STAGE3_CFLAGS)" \
39052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39056 TFLAGS="$(STAGE3_TFLAGS)" \
39057 $(TARGET-stage3-libctf)
39058
39059 maybe-clean-stage3-libctf: clean-stage3-libctf
39060 clean-stage3: clean-stage3-libctf
39061 clean-stage3-libctf:
39062 @if [ $(current_stage) = stage3 ]; then \
39063 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39064 else \
39065 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
39066 $(MAKE) stage3-start; \
39067 fi; \
39068 cd $(HOST_SUBDIR)/libctf && \
39069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39070 @endif libctf-bootstrap
39071
39072
39073 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
39074 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
39075 maybe-all-stage4-libctf:
39076 maybe-clean-stage4-libctf:
39077 @if libctf-bootstrap
39078 maybe-all-stage4-libctf: all-stage4-libctf
39079 all-stage4: all-stage4-libctf
39080 TARGET-stage4-libctf = $(TARGET-libctf)
39081 all-stage4-libctf: configure-stage4-libctf
39082 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39083 @r=`${PWD_COMMAND}`; export r; \
39084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39085 TFLAGS="$(STAGE4_TFLAGS)"; \
39086 $(HOST_EXPORTS) \
39087 $(POSTSTAGE1_HOST_EXPORTS) \
39088 cd $(HOST_SUBDIR)/libctf && \
39089 \
39090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39091 CFLAGS="$(STAGE4_CFLAGS)" \
39092 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
39093 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
39094 LIBCFLAGS="$(STAGE4_CFLAGS)" \
39095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39098 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39099 TFLAGS="$(STAGE4_TFLAGS)" \
39100 $(TARGET-stage4-libctf)
39101
39102 maybe-clean-stage4-libctf: clean-stage4-libctf
39103 clean-stage4: clean-stage4-libctf
39104 clean-stage4-libctf:
39105 @if [ $(current_stage) = stage4 ]; then \
39106 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39107 else \
39108 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
39109 $(MAKE) stage4-start; \
39110 fi; \
39111 cd $(HOST_SUBDIR)/libctf && \
39112 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39113 @endif libctf-bootstrap
39114
39115
39116 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
39117 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
39118 maybe-all-stageprofile-libctf:
39119 maybe-clean-stageprofile-libctf:
39120 @if libctf-bootstrap
39121 maybe-all-stageprofile-libctf: all-stageprofile-libctf
39122 all-stageprofile: all-stageprofile-libctf
39123 TARGET-stageprofile-libctf = $(TARGET-libctf)
39124 all-stageprofile-libctf: configure-stageprofile-libctf
39125 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39126 @r=`${PWD_COMMAND}`; export r; \
39127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39128 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39129 $(HOST_EXPORTS) \
39130 $(POSTSTAGE1_HOST_EXPORTS) \
39131 cd $(HOST_SUBDIR)/libctf && \
39132 \
39133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39134 CFLAGS="$(STAGEprofile_CFLAGS)" \
39135 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
39136 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
39137 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
39138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39141 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39142 TFLAGS="$(STAGEprofile_TFLAGS)" \
39143 $(TARGET-stageprofile-libctf)
39144
39145 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
39146 clean-stageprofile: clean-stageprofile-libctf
39147 clean-stageprofile-libctf:
39148 @if [ $(current_stage) = stageprofile ]; then \
39149 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39150 else \
39151 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
39152 $(MAKE) stageprofile-start; \
39153 fi; \
39154 cd $(HOST_SUBDIR)/libctf && \
39155 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39156 @endif libctf-bootstrap
39157
39158
39159 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
39160 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
39161 maybe-all-stagetrain-libctf:
39162 maybe-clean-stagetrain-libctf:
39163 @if libctf-bootstrap
39164 maybe-all-stagetrain-libctf: all-stagetrain-libctf
39165 all-stagetrain: all-stagetrain-libctf
39166 TARGET-stagetrain-libctf = $(TARGET-libctf)
39167 all-stagetrain-libctf: configure-stagetrain-libctf
39168 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39169 @r=`${PWD_COMMAND}`; export r; \
39170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39171 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39172 $(HOST_EXPORTS) \
39173 $(POSTSTAGE1_HOST_EXPORTS) \
39174 cd $(HOST_SUBDIR)/libctf && \
39175 \
39176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39177 CFLAGS="$(STAGEtrain_CFLAGS)" \
39178 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
39179 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
39180 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
39181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39185 TFLAGS="$(STAGEtrain_TFLAGS)" \
39186 $(TARGET-stagetrain-libctf)
39187
39188 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
39189 clean-stagetrain: clean-stagetrain-libctf
39190 clean-stagetrain-libctf:
39191 @if [ $(current_stage) = stagetrain ]; then \
39192 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39193 else \
39194 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
39195 $(MAKE) stagetrain-start; \
39196 fi; \
39197 cd $(HOST_SUBDIR)/libctf && \
39198 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39199 @endif libctf-bootstrap
39200
39201
39202 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
39203 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
39204 maybe-all-stagefeedback-libctf:
39205 maybe-clean-stagefeedback-libctf:
39206 @if libctf-bootstrap
39207 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
39208 all-stagefeedback: all-stagefeedback-libctf
39209 TARGET-stagefeedback-libctf = $(TARGET-libctf)
39210 all-stagefeedback-libctf: configure-stagefeedback-libctf
39211 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39212 @r=`${PWD_COMMAND}`; export r; \
39213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39214 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39215 $(HOST_EXPORTS) \
39216 $(POSTSTAGE1_HOST_EXPORTS) \
39217 cd $(HOST_SUBDIR)/libctf && \
39218 \
39219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39220 CFLAGS="$(STAGEfeedback_CFLAGS)" \
39221 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
39222 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
39223 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
39224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39228 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39229 $(TARGET-stagefeedback-libctf)
39230
39231 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
39232 clean-stagefeedback: clean-stagefeedback-libctf
39233 clean-stagefeedback-libctf:
39234 @if [ $(current_stage) = stagefeedback ]; then \
39235 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39236 else \
39237 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
39238 $(MAKE) stagefeedback-start; \
39239 fi; \
39240 cd $(HOST_SUBDIR)/libctf && \
39241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39242 @endif libctf-bootstrap
39243
39244
39245 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
39246 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
39247 maybe-all-stageautoprofile-libctf:
39248 maybe-clean-stageautoprofile-libctf:
39249 @if libctf-bootstrap
39250 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
39251 all-stageautoprofile: all-stageautoprofile-libctf
39252 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
39253 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
39254 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39255 @r=`${PWD_COMMAND}`; export r; \
39256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39257 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39258 $(HOST_EXPORTS) \
39259 $(POSTSTAGE1_HOST_EXPORTS) \
39260 cd $(HOST_SUBDIR)/libctf && \
39261 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39263 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
39264 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
39265 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
39266 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
39267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39271 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39272 $(TARGET-stageautoprofile-libctf)
39273
39274 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
39275 clean-stageautoprofile: clean-stageautoprofile-libctf
39276 clean-stageautoprofile-libctf:
39277 @if [ $(current_stage) = stageautoprofile ]; then \
39278 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39279 else \
39280 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
39281 $(MAKE) stageautoprofile-start; \
39282 fi; \
39283 cd $(HOST_SUBDIR)/libctf && \
39284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39285 @endif libctf-bootstrap
39286
39287
39288 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
39289 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
39290 maybe-all-stageautofeedback-libctf:
39291 maybe-clean-stageautofeedback-libctf:
39292 @if libctf-bootstrap
39293 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
39294 all-stageautofeedback: all-stageautofeedback-libctf
39295 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
39296 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
39297 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39298 @r=`${PWD_COMMAND}`; export r; \
39299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39300 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39301 $(HOST_EXPORTS) \
39302 $(POSTSTAGE1_HOST_EXPORTS) \
39303 cd $(HOST_SUBDIR)/libctf && \
39304 \
39305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39306 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
39307 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
39308 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
39309 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
39310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39313 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
39314 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39315 $(TARGET-stageautofeedback-libctf)
39316
39317 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
39318 clean-stageautofeedback: clean-stageautofeedback-libctf
39319 clean-stageautofeedback-libctf:
39320 @if [ $(current_stage) = stageautofeedback ]; then \
39321 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
39322 else \
39323 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
39324 $(MAKE) stageautofeedback-start; \
39325 fi; \
39326 cd $(HOST_SUBDIR)/libctf && \
39327 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
39328 @endif libctf-bootstrap
39329
39330
39331
39332
39333
39334 .PHONY: check-libctf maybe-check-libctf
39335 maybe-check-libctf:
39336 @if libctf
39337 maybe-check-libctf: check-libctf
39338
39339 check-libctf:
39340
39341 @endif libctf
39342
39343 .PHONY: install-libctf maybe-install-libctf
39344 maybe-install-libctf:
39345 @if libctf
39346 maybe-install-libctf: install-libctf
39347
39348 install-libctf:
39349
39350 @endif libctf
39351
39352 .PHONY: install-strip-libctf maybe-install-strip-libctf
39353 maybe-install-strip-libctf:
39354 @if libctf
39355 maybe-install-strip-libctf: install-strip-libctf
39356
39357 install-strip-libctf:
39358
39359 @endif libctf
39360
39361 # Other targets (info, dvi, pdf, etc.)
39362
39363 .PHONY: maybe-info-libctf info-libctf
39364 maybe-info-libctf:
39365 @if libctf
39366 maybe-info-libctf: info-libctf
39367
39368 info-libctf: \
39369 configure-libctf
39370 @[ -f ./libctf/Makefile ] || exit 0; \
39371 r=`${PWD_COMMAND}`; export r; \
39372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39373 $(HOST_EXPORTS) \
39374 for flag in $(EXTRA_HOST_FLAGS) ; do \
39375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39376 done; \
39377 echo "Doing info in libctf"; \
39378 (cd $(HOST_SUBDIR)/libctf && \
39379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39381 "RANLIB=$${RANLIB}" \
39382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39383 info) \
39384 || exit 1
39385
39386 @endif libctf
39387
39388 .PHONY: maybe-dvi-libctf dvi-libctf
39389 maybe-dvi-libctf:
39390 @if libctf
39391 maybe-dvi-libctf: dvi-libctf
39392
39393 dvi-libctf: \
39394 configure-libctf
39395 @[ -f ./libctf/Makefile ] || exit 0; \
39396 r=`${PWD_COMMAND}`; export r; \
39397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39398 $(HOST_EXPORTS) \
39399 for flag in $(EXTRA_HOST_FLAGS) ; do \
39400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39401 done; \
39402 echo "Doing dvi in libctf"; \
39403 (cd $(HOST_SUBDIR)/libctf && \
39404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39406 "RANLIB=$${RANLIB}" \
39407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39408 dvi) \
39409 || exit 1
39410
39411 @endif libctf
39412
39413 .PHONY: maybe-pdf-libctf pdf-libctf
39414 maybe-pdf-libctf:
39415 @if libctf
39416 maybe-pdf-libctf: pdf-libctf
39417
39418 pdf-libctf: \
39419 configure-libctf
39420 @[ -f ./libctf/Makefile ] || exit 0; \
39421 r=`${PWD_COMMAND}`; export r; \
39422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39423 $(HOST_EXPORTS) \
39424 for flag in $(EXTRA_HOST_FLAGS) ; do \
39425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39426 done; \
39427 echo "Doing pdf in libctf"; \
39428 (cd $(HOST_SUBDIR)/libctf && \
39429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39431 "RANLIB=$${RANLIB}" \
39432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39433 pdf) \
39434 || exit 1
39435
39436 @endif libctf
39437
39438 .PHONY: maybe-html-libctf html-libctf
39439 maybe-html-libctf:
39440 @if libctf
39441 maybe-html-libctf: html-libctf
39442
39443 html-libctf: \
39444 configure-libctf
39445 @[ -f ./libctf/Makefile ] || exit 0; \
39446 r=`${PWD_COMMAND}`; export r; \
39447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39448 $(HOST_EXPORTS) \
39449 for flag in $(EXTRA_HOST_FLAGS) ; do \
39450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39451 done; \
39452 echo "Doing html in libctf"; \
39453 (cd $(HOST_SUBDIR)/libctf && \
39454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39456 "RANLIB=$${RANLIB}" \
39457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39458 html) \
39459 || exit 1
39460
39461 @endif libctf
39462
39463 .PHONY: maybe-TAGS-libctf TAGS-libctf
39464 maybe-TAGS-libctf:
39465 @if libctf
39466 maybe-TAGS-libctf: TAGS-libctf
39467
39468 TAGS-libctf: \
39469 configure-libctf
39470 @[ -f ./libctf/Makefile ] || exit 0; \
39471 r=`${PWD_COMMAND}`; export r; \
39472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39473 $(HOST_EXPORTS) \
39474 for flag in $(EXTRA_HOST_FLAGS) ; do \
39475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39476 done; \
39477 echo "Doing TAGS in libctf"; \
39478 (cd $(HOST_SUBDIR)/libctf && \
39479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39481 "RANLIB=$${RANLIB}" \
39482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39483 TAGS) \
39484 || exit 1
39485
39486 @endif libctf
39487
39488 .PHONY: maybe-install-info-libctf install-info-libctf
39489 maybe-install-info-libctf:
39490 @if libctf
39491 maybe-install-info-libctf: install-info-libctf
39492
39493 install-info-libctf: \
39494 configure-libctf \
39495 info-libctf
39496 @[ -f ./libctf/Makefile ] || exit 0; \
39497 r=`${PWD_COMMAND}`; export r; \
39498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39499 $(HOST_EXPORTS) \
39500 for flag in $(EXTRA_HOST_FLAGS) ; do \
39501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39502 done; \
39503 echo "Doing install-info in libctf"; \
39504 (cd $(HOST_SUBDIR)/libctf && \
39505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39507 "RANLIB=$${RANLIB}" \
39508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39509 install-info) \
39510 || exit 1
39511
39512 @endif libctf
39513
39514 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
39515 maybe-install-pdf-libctf:
39516 @if libctf
39517 maybe-install-pdf-libctf: install-pdf-libctf
39518
39519 install-pdf-libctf: \
39520 configure-libctf \
39521 pdf-libctf
39522 @[ -f ./libctf/Makefile ] || exit 0; \
39523 r=`${PWD_COMMAND}`; export r; \
39524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39525 $(HOST_EXPORTS) \
39526 for flag in $(EXTRA_HOST_FLAGS) ; do \
39527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39528 done; \
39529 echo "Doing install-pdf in libctf"; \
39530 (cd $(HOST_SUBDIR)/libctf && \
39531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39533 "RANLIB=$${RANLIB}" \
39534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39535 install-pdf) \
39536 || exit 1
39537
39538 @endif libctf
39539
39540 .PHONY: maybe-install-html-libctf install-html-libctf
39541 maybe-install-html-libctf:
39542 @if libctf
39543 maybe-install-html-libctf: install-html-libctf
39544
39545 install-html-libctf: \
39546 configure-libctf \
39547 html-libctf
39548 @[ -f ./libctf/Makefile ] || exit 0; \
39549 r=`${PWD_COMMAND}`; export r; \
39550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39551 $(HOST_EXPORTS) \
39552 for flag in $(EXTRA_HOST_FLAGS) ; do \
39553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39554 done; \
39555 echo "Doing install-html in libctf"; \
39556 (cd $(HOST_SUBDIR)/libctf && \
39557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39559 "RANLIB=$${RANLIB}" \
39560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39561 install-html) \
39562 || exit 1
39563
39564 @endif libctf
39565
39566 .PHONY: maybe-installcheck-libctf installcheck-libctf
39567 maybe-installcheck-libctf:
39568 @if libctf
39569 maybe-installcheck-libctf: installcheck-libctf
39570
39571 installcheck-libctf: \
39572 configure-libctf
39573 @[ -f ./libctf/Makefile ] || exit 0; \
39574 r=`${PWD_COMMAND}`; export r; \
39575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39576 $(HOST_EXPORTS) \
39577 for flag in $(EXTRA_HOST_FLAGS) ; do \
39578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39579 done; \
39580 echo "Doing installcheck in libctf"; \
39581 (cd $(HOST_SUBDIR)/libctf && \
39582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39584 "RANLIB=$${RANLIB}" \
39585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39586 installcheck) \
39587 || exit 1
39588
39589 @endif libctf
39590
39591 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
39592 maybe-mostlyclean-libctf:
39593 @if libctf
39594 maybe-mostlyclean-libctf: mostlyclean-libctf
39595
39596 mostlyclean-libctf:
39597 @[ -f ./libctf/Makefile ] || exit 0; \
39598 r=`${PWD_COMMAND}`; export r; \
39599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39600 $(HOST_EXPORTS) \
39601 for flag in $(EXTRA_HOST_FLAGS) ; do \
39602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39603 done; \
39604 echo "Doing mostlyclean in libctf"; \
39605 (cd $(HOST_SUBDIR)/libctf && \
39606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39608 "RANLIB=$${RANLIB}" \
39609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39610 mostlyclean) \
39611 || exit 1
39612
39613 @endif libctf
39614
39615 .PHONY: maybe-clean-libctf clean-libctf
39616 maybe-clean-libctf:
39617 @if libctf
39618 maybe-clean-libctf: clean-libctf
39619
39620 clean-libctf:
39621 @[ -f ./libctf/Makefile ] || exit 0; \
39622 r=`${PWD_COMMAND}`; export r; \
39623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39624 $(HOST_EXPORTS) \
39625 for flag in $(EXTRA_HOST_FLAGS) ; do \
39626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39627 done; \
39628 echo "Doing clean in libctf"; \
39629 (cd $(HOST_SUBDIR)/libctf && \
39630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39632 "RANLIB=$${RANLIB}" \
39633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39634 clean) \
39635 || exit 1
39636
39637 @endif libctf
39638
39639 .PHONY: maybe-distclean-libctf distclean-libctf
39640 maybe-distclean-libctf:
39641 @if libctf
39642 maybe-distclean-libctf: distclean-libctf
39643
39644 distclean-libctf:
39645 @[ -f ./libctf/Makefile ] || exit 0; \
39646 r=`${PWD_COMMAND}`; export r; \
39647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39648 $(HOST_EXPORTS) \
39649 for flag in $(EXTRA_HOST_FLAGS) ; do \
39650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39651 done; \
39652 echo "Doing distclean in libctf"; \
39653 (cd $(HOST_SUBDIR)/libctf && \
39654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39656 "RANLIB=$${RANLIB}" \
39657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39658 distclean) \
39659 || exit 1
39660
39661 @endif libctf
39662
39663 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
39664 maybe-maintainer-clean-libctf:
39665 @if libctf
39666 maybe-maintainer-clean-libctf: maintainer-clean-libctf
39667
39668 maintainer-clean-libctf:
39669 @[ -f ./libctf/Makefile ] || exit 0; \
39670 r=`${PWD_COMMAND}`; export r; \
39671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39672 $(HOST_EXPORTS) \
39673 for flag in $(EXTRA_HOST_FLAGS) ; do \
39674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39675 done; \
39676 echo "Doing maintainer-clean in libctf"; \
39677 (cd $(HOST_SUBDIR)/libctf && \
39678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39680 "RANLIB=$${RANLIB}" \
39681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39682 maintainer-clean) \
39683 || exit 1
39684
39685 @endif libctf
39686
39687
39688
39689 # ---------------------------------------
39690 # Modules which run on the target machine
39691 # ---------------------------------------
39692
39693
39694
39695
39696 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
39697 maybe-configure-target-libstdc++-v3:
39698 @if gcc-bootstrap
39699 configure-target-libstdc++-v3: stage_current
39700 @endif gcc-bootstrap
39701 @if target-libstdc++-v3
39702 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
39703 configure-target-libstdc++-v3:
39704 @r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 echo "Checking multilib configuration for libstdc++-v3..."; \
39707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39708 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39709 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39710 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39711 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39712 else \
39713 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39714 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39715 fi; \
39716 else \
39717 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39718 fi; \
39719 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39720 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39721 $(RAW_CXX_TARGET_EXPORTS) \
39722 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
39723 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
39724 case $(srcdir) in \
39725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39726 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39728 esac; \
39729 module_srcdir=libstdc++-v3; \
39730 rm -f no-such-file || : ; \
39731 CONFIG_SITE=no-such-file $(SHELL) \
39732 $$s/$$module_srcdir/configure \
39733 --srcdir=$${topdir}/$$module_srcdir \
39734 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39735 --target=${target_alias} \
39736 || exit 1
39737 @endif target-libstdc++-v3
39738
39739
39740
39741 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
39742 maybe-configure-stage1-target-libstdc++-v3:
39743 @if target-libstdc++-v3-bootstrap
39744 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
39745 configure-stage1-target-libstdc++-v3:
39746 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39747 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39748 @r=`${PWD_COMMAND}`; export r; \
39749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39750 TFLAGS="$(STAGE1_TFLAGS)"; \
39751 echo "Checking multilib configuration for libstdc++-v3..."; \
39752 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39753 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39754 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39755 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39756 else \
39757 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39758 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39759 fi; \
39760 else \
39761 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39762 fi; \
39763 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39764 $(RAW_CXX_TARGET_EXPORTS) \
39765 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39766 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39767 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39768 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
39769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39770 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39771 case $(srcdir) in \
39772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39773 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39775 esac; \
39776 module_srcdir=libstdc++-v3; \
39777 $(SHELL) $$s/$$module_srcdir/configure \
39778 --srcdir=$${topdir}/$$module_srcdir \
39779 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39780 --target=${target_alias} \
39781 \
39782 $(STAGE1_CONFIGURE_FLAGS)
39783 @endif target-libstdc++-v3-bootstrap
39784
39785 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
39786 maybe-configure-stage2-target-libstdc++-v3:
39787 @if target-libstdc++-v3-bootstrap
39788 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
39789 configure-stage2-target-libstdc++-v3:
39790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39791 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39792 @r=`${PWD_COMMAND}`; export r; \
39793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39794 TFLAGS="$(STAGE2_TFLAGS)"; \
39795 echo "Checking multilib configuration for libstdc++-v3..."; \
39796 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39797 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39798 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39799 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39800 else \
39801 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39802 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39803 fi; \
39804 else \
39805 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39806 fi; \
39807 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39808 $(RAW_CXX_TARGET_EXPORTS) \
39809 \
39810 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39811 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39812 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39813 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
39814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39815 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39816 case $(srcdir) in \
39817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39818 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39820 esac; \
39821 module_srcdir=libstdc++-v3; \
39822 $(SHELL) $$s/$$module_srcdir/configure \
39823 --srcdir=$${topdir}/$$module_srcdir \
39824 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39825 --target=${target_alias} \
39826 --with-build-libsubdir=$(HOST_SUBDIR) \
39827 $(STAGE2_CONFIGURE_FLAGS)
39828 @endif target-libstdc++-v3-bootstrap
39829
39830 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
39831 maybe-configure-stage3-target-libstdc++-v3:
39832 @if target-libstdc++-v3-bootstrap
39833 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
39834 configure-stage3-target-libstdc++-v3:
39835 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39836 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39837 @r=`${PWD_COMMAND}`; export r; \
39838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39839 TFLAGS="$(STAGE3_TFLAGS)"; \
39840 echo "Checking multilib configuration for libstdc++-v3..."; \
39841 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39842 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39843 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39844 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39845 else \
39846 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39847 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39848 fi; \
39849 else \
39850 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39851 fi; \
39852 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39853 $(RAW_CXX_TARGET_EXPORTS) \
39854 \
39855 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39856 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39857 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39858 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
39859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39860 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39861 case $(srcdir) in \
39862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39863 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39865 esac; \
39866 module_srcdir=libstdc++-v3; \
39867 $(SHELL) $$s/$$module_srcdir/configure \
39868 --srcdir=$${topdir}/$$module_srcdir \
39869 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39870 --target=${target_alias} \
39871 --with-build-libsubdir=$(HOST_SUBDIR) \
39872 $(STAGE3_CONFIGURE_FLAGS)
39873 @endif target-libstdc++-v3-bootstrap
39874
39875 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
39876 maybe-configure-stage4-target-libstdc++-v3:
39877 @if target-libstdc++-v3-bootstrap
39878 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
39879 configure-stage4-target-libstdc++-v3:
39880 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39881 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39882 @r=`${PWD_COMMAND}`; export r; \
39883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39884 TFLAGS="$(STAGE4_TFLAGS)"; \
39885 echo "Checking multilib configuration for libstdc++-v3..."; \
39886 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39887 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39888 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39889 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39890 else \
39891 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39892 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39893 fi; \
39894 else \
39895 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39896 fi; \
39897 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39898 $(RAW_CXX_TARGET_EXPORTS) \
39899 \
39900 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39901 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39902 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39903 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
39904 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39905 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39906 case $(srcdir) in \
39907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39908 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39910 esac; \
39911 module_srcdir=libstdc++-v3; \
39912 $(SHELL) $$s/$$module_srcdir/configure \
39913 --srcdir=$${topdir}/$$module_srcdir \
39914 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39915 --target=${target_alias} \
39916 --with-build-libsubdir=$(HOST_SUBDIR) \
39917 $(STAGE4_CONFIGURE_FLAGS)
39918 @endif target-libstdc++-v3-bootstrap
39919
39920 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
39921 maybe-configure-stageprofile-target-libstdc++-v3:
39922 @if target-libstdc++-v3-bootstrap
39923 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
39924 configure-stageprofile-target-libstdc++-v3:
39925 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39926 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39927 @r=`${PWD_COMMAND}`; export r; \
39928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39929 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39930 echo "Checking multilib configuration for libstdc++-v3..."; \
39931 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39932 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39933 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39934 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39935 else \
39936 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39937 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39938 fi; \
39939 else \
39940 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39941 fi; \
39942 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39943 $(RAW_CXX_TARGET_EXPORTS) \
39944 \
39945 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39946 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39947 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39948 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
39949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39950 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39951 case $(srcdir) in \
39952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39953 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39955 esac; \
39956 module_srcdir=libstdc++-v3; \
39957 $(SHELL) $$s/$$module_srcdir/configure \
39958 --srcdir=$${topdir}/$$module_srcdir \
39959 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39960 --target=${target_alias} \
39961 --with-build-libsubdir=$(HOST_SUBDIR) \
39962 $(STAGEprofile_CONFIGURE_FLAGS)
39963 @endif target-libstdc++-v3-bootstrap
39964
39965 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
39966 maybe-configure-stagetrain-target-libstdc++-v3:
39967 @if target-libstdc++-v3-bootstrap
39968 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
39969 configure-stagetrain-target-libstdc++-v3:
39970 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39971 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
39972 @r=`${PWD_COMMAND}`; export r; \
39973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39974 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39975 echo "Checking multilib configuration for libstdc++-v3..."; \
39976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
39977 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39978 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
39979 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
39980 else \
39981 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
39982 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39983 fi; \
39984 else \
39985 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
39986 fi; \
39987 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
39988 $(RAW_CXX_TARGET_EXPORTS) \
39989 \
39990 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39991 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39992 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39993 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
39994 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
39995 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
39996 case $(srcdir) in \
39997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39998 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
39999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40000 esac; \
40001 module_srcdir=libstdc++-v3; \
40002 $(SHELL) $$s/$$module_srcdir/configure \
40003 --srcdir=$${topdir}/$$module_srcdir \
40004 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40005 --target=${target_alias} \
40006 --with-build-libsubdir=$(HOST_SUBDIR) \
40007 $(STAGEtrain_CONFIGURE_FLAGS)
40008 @endif target-libstdc++-v3-bootstrap
40009
40010 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
40011 maybe-configure-stagefeedback-target-libstdc++-v3:
40012 @if target-libstdc++-v3-bootstrap
40013 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
40014 configure-stagefeedback-target-libstdc++-v3:
40015 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40016 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40017 @r=`${PWD_COMMAND}`; export r; \
40018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40019 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40020 echo "Checking multilib configuration for libstdc++-v3..."; \
40021 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40022 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40023 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40024 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40025 else \
40026 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40027 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40028 fi; \
40029 else \
40030 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40031 fi; \
40032 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40033 $(RAW_CXX_TARGET_EXPORTS) \
40034 \
40035 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40036 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40037 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40038 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
40039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40040 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40041 case $(srcdir) in \
40042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40043 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40045 esac; \
40046 module_srcdir=libstdc++-v3; \
40047 $(SHELL) $$s/$$module_srcdir/configure \
40048 --srcdir=$${topdir}/$$module_srcdir \
40049 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40050 --target=${target_alias} \
40051 --with-build-libsubdir=$(HOST_SUBDIR) \
40052 $(STAGEfeedback_CONFIGURE_FLAGS)
40053 @endif target-libstdc++-v3-bootstrap
40054
40055 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
40056 maybe-configure-stageautoprofile-target-libstdc++-v3:
40057 @if target-libstdc++-v3-bootstrap
40058 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40059 configure-stageautoprofile-target-libstdc++-v3:
40060 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40061 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40062 @r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40065 echo "Checking multilib configuration for libstdc++-v3..."; \
40066 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40067 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40068 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40069 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40070 else \
40071 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40072 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40073 fi; \
40074 else \
40075 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40076 fi; \
40077 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40078 $(RAW_CXX_TARGET_EXPORTS) \
40079 \
40080 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40081 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40082 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40083 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
40084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40085 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40086 case $(srcdir) in \
40087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40088 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40090 esac; \
40091 module_srcdir=libstdc++-v3; \
40092 $(SHELL) $$s/$$module_srcdir/configure \
40093 --srcdir=$${topdir}/$$module_srcdir \
40094 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40095 --target=${target_alias} \
40096 --with-build-libsubdir=$(HOST_SUBDIR) \
40097 $(STAGEautoprofile_CONFIGURE_FLAGS)
40098 @endif target-libstdc++-v3-bootstrap
40099
40100 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
40101 maybe-configure-stageautofeedback-target-libstdc++-v3:
40102 @if target-libstdc++-v3-bootstrap
40103 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
40104 configure-stageautofeedback-target-libstdc++-v3:
40105 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40106 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
40107 @r=`${PWD_COMMAND}`; export r; \
40108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40109 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40110 echo "Checking multilib configuration for libstdc++-v3..."; \
40111 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
40112 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40113 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40114 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40115 else \
40116 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40117 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40118 fi; \
40119 else \
40120 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40121 fi; \
40122 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40123 $(RAW_CXX_TARGET_EXPORTS) \
40124 \
40125 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40126 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40127 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40128 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
40129 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
40130 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
40131 case $(srcdir) in \
40132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40133 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40135 esac; \
40136 module_srcdir=libstdc++-v3; \
40137 $(SHELL) $$s/$$module_srcdir/configure \
40138 --srcdir=$${topdir}/$$module_srcdir \
40139 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40140 --target=${target_alias} \
40141 --with-build-libsubdir=$(HOST_SUBDIR) \
40142 $(STAGEautofeedback_CONFIGURE_FLAGS)
40143 @endif target-libstdc++-v3-bootstrap
40144
40145
40146
40147
40148
40149 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
40150 maybe-all-target-libstdc++-v3:
40151 @if gcc-bootstrap
40152 all-target-libstdc++-v3: stage_current
40153 @endif gcc-bootstrap
40154 @if target-libstdc++-v3
40155 TARGET-target-libstdc++-v3=all
40156 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
40157 all-target-libstdc++-v3: configure-target-libstdc++-v3
40158 @r=`${PWD_COMMAND}`; export r; \
40159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40160 $(RAW_CXX_TARGET_EXPORTS) \
40161 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40162 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40163 $(TARGET-target-libstdc++-v3))
40164 @endif target-libstdc++-v3
40165
40166
40167
40168 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
40169 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
40170 maybe-all-stage1-target-libstdc++-v3:
40171 maybe-clean-stage1-target-libstdc++-v3:
40172 @if target-libstdc++-v3-bootstrap
40173 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
40174 all-stage1: all-stage1-target-libstdc++-v3
40175 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40176 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
40177 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40178 @r=`${PWD_COMMAND}`; export r; \
40179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40180 TFLAGS="$(STAGE1_TFLAGS)"; \
40181 $(RAW_CXX_TARGET_EXPORTS) \
40182 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40183 \
40184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40185 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40187 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40191 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40192 \
40193 TFLAGS="$(STAGE1_TFLAGS)" \
40194 $(TARGET-stage1-target-libstdc++-v3)
40195
40196 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
40197 clean-stage1: clean-stage1-target-libstdc++-v3
40198 clean-stage1-target-libstdc++-v3:
40199 @if [ $(current_stage) = stage1 ]; then \
40200 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40201 else \
40202 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
40203 $(MAKE) stage1-start; \
40204 fi; \
40205 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40206 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40207 clean
40208 @endif target-libstdc++-v3-bootstrap
40209
40210
40211 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
40212 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
40213 maybe-all-stage2-target-libstdc++-v3:
40214 maybe-clean-stage2-target-libstdc++-v3:
40215 @if target-libstdc++-v3-bootstrap
40216 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
40217 all-stage2: all-stage2-target-libstdc++-v3
40218 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40219 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
40220 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40221 @r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 TFLAGS="$(STAGE2_TFLAGS)"; \
40224 $(RAW_CXX_TARGET_EXPORTS) \
40225 \
40226 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40227 \
40228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40229 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40230 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40231 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40235 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40236 TFLAGS="$(STAGE2_TFLAGS)" \
40237 $(TARGET-stage2-target-libstdc++-v3)
40238
40239 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
40240 clean-stage2: clean-stage2-target-libstdc++-v3
40241 clean-stage2-target-libstdc++-v3:
40242 @if [ $(current_stage) = stage2 ]; then \
40243 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40244 else \
40245 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
40246 $(MAKE) stage2-start; \
40247 fi; \
40248 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40249 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40250 @endif target-libstdc++-v3-bootstrap
40251
40252
40253 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
40254 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
40255 maybe-all-stage3-target-libstdc++-v3:
40256 maybe-clean-stage3-target-libstdc++-v3:
40257 @if target-libstdc++-v3-bootstrap
40258 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
40259 all-stage3: all-stage3-target-libstdc++-v3
40260 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40261 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
40262 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40263 @r=`${PWD_COMMAND}`; export r; \
40264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40265 TFLAGS="$(STAGE3_TFLAGS)"; \
40266 $(RAW_CXX_TARGET_EXPORTS) \
40267 \
40268 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40269 \
40270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40271 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40277 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40278 TFLAGS="$(STAGE3_TFLAGS)" \
40279 $(TARGET-stage3-target-libstdc++-v3)
40280
40281 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
40282 clean-stage3: clean-stage3-target-libstdc++-v3
40283 clean-stage3-target-libstdc++-v3:
40284 @if [ $(current_stage) = stage3 ]; then \
40285 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40286 else \
40287 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
40288 $(MAKE) stage3-start; \
40289 fi; \
40290 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40291 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40292 @endif target-libstdc++-v3-bootstrap
40293
40294
40295 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
40296 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
40297 maybe-all-stage4-target-libstdc++-v3:
40298 maybe-clean-stage4-target-libstdc++-v3:
40299 @if target-libstdc++-v3-bootstrap
40300 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
40301 all-stage4: all-stage4-target-libstdc++-v3
40302 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40303 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
40304 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40305 @r=`${PWD_COMMAND}`; export r; \
40306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40307 TFLAGS="$(STAGE4_TFLAGS)"; \
40308 $(RAW_CXX_TARGET_EXPORTS) \
40309 \
40310 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40311 \
40312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40313 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40314 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40315 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40316 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40317 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40318 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40319 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40320 TFLAGS="$(STAGE4_TFLAGS)" \
40321 $(TARGET-stage4-target-libstdc++-v3)
40322
40323 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
40324 clean-stage4: clean-stage4-target-libstdc++-v3
40325 clean-stage4-target-libstdc++-v3:
40326 @if [ $(current_stage) = stage4 ]; then \
40327 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40328 else \
40329 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
40330 $(MAKE) stage4-start; \
40331 fi; \
40332 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40333 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40334 @endif target-libstdc++-v3-bootstrap
40335
40336
40337 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
40338 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
40339 maybe-all-stageprofile-target-libstdc++-v3:
40340 maybe-clean-stageprofile-target-libstdc++-v3:
40341 @if target-libstdc++-v3-bootstrap
40342 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
40343 all-stageprofile: all-stageprofile-target-libstdc++-v3
40344 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40345 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
40346 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40347 @r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40350 $(RAW_CXX_TARGET_EXPORTS) \
40351 \
40352 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40353 \
40354 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40355 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40356 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40357 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40361 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40362 TFLAGS="$(STAGEprofile_TFLAGS)" \
40363 $(TARGET-stageprofile-target-libstdc++-v3)
40364
40365 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
40366 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
40367 clean-stageprofile-target-libstdc++-v3:
40368 @if [ $(current_stage) = stageprofile ]; then \
40369 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40370 else \
40371 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
40372 $(MAKE) stageprofile-start; \
40373 fi; \
40374 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40375 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40376 @endif target-libstdc++-v3-bootstrap
40377
40378
40379 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
40380 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
40381 maybe-all-stagetrain-target-libstdc++-v3:
40382 maybe-clean-stagetrain-target-libstdc++-v3:
40383 @if target-libstdc++-v3-bootstrap
40384 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
40385 all-stagetrain: all-stagetrain-target-libstdc++-v3
40386 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40387 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
40388 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40389 @r=`${PWD_COMMAND}`; export r; \
40390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40391 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40392 $(RAW_CXX_TARGET_EXPORTS) \
40393 \
40394 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40395 \
40396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40397 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40398 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40399 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40403 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40404 TFLAGS="$(STAGEtrain_TFLAGS)" \
40405 $(TARGET-stagetrain-target-libstdc++-v3)
40406
40407 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
40408 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
40409 clean-stagetrain-target-libstdc++-v3:
40410 @if [ $(current_stage) = stagetrain ]; then \
40411 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40412 else \
40413 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
40414 $(MAKE) stagetrain-start; \
40415 fi; \
40416 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40417 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40418 @endif target-libstdc++-v3-bootstrap
40419
40420
40421 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
40422 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
40423 maybe-all-stagefeedback-target-libstdc++-v3:
40424 maybe-clean-stagefeedback-target-libstdc++-v3:
40425 @if target-libstdc++-v3-bootstrap
40426 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
40427 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
40428 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40429 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
40430 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40431 @r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40434 $(RAW_CXX_TARGET_EXPORTS) \
40435 \
40436 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40437 \
40438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40439 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40440 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40441 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40445 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40446 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40447 $(TARGET-stagefeedback-target-libstdc++-v3)
40448
40449 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
40450 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
40451 clean-stagefeedback-target-libstdc++-v3:
40452 @if [ $(current_stage) = stagefeedback ]; then \
40453 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40454 else \
40455 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
40456 $(MAKE) stagefeedback-start; \
40457 fi; \
40458 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40459 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40460 @endif target-libstdc++-v3-bootstrap
40461
40462
40463 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
40464 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
40465 maybe-all-stageautoprofile-target-libstdc++-v3:
40466 maybe-clean-stageautoprofile-target-libstdc++-v3:
40467 @if target-libstdc++-v3-bootstrap
40468 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
40469 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
40470 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40471 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
40472 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40473 @r=`${PWD_COMMAND}`; export r; \
40474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40475 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40476 $(RAW_CXX_TARGET_EXPORTS) \
40477 \
40478 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40479 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40481 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40482 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40483 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40487 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40488 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40489 $(TARGET-stageautoprofile-target-libstdc++-v3)
40490
40491 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
40492 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
40493 clean-stageautoprofile-target-libstdc++-v3:
40494 @if [ $(current_stage) = stageautoprofile ]; then \
40495 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40496 else \
40497 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
40498 $(MAKE) stageautoprofile-start; \
40499 fi; \
40500 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40501 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40502 @endif target-libstdc++-v3-bootstrap
40503
40504
40505 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
40506 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
40507 maybe-all-stageautofeedback-target-libstdc++-v3:
40508 maybe-clean-stageautofeedback-target-libstdc++-v3:
40509 @if target-libstdc++-v3-bootstrap
40510 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
40511 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
40512 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
40513 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
40514 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40515 @r=`${PWD_COMMAND}`; export r; \
40516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40517 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40518 $(RAW_CXX_TARGET_EXPORTS) \
40519 \
40520 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40521 \
40522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40523 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40529 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40530 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40531 $(TARGET-stageautofeedback-target-libstdc++-v3)
40532
40533 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
40534 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
40535 clean-stageautofeedback-target-libstdc++-v3:
40536 @if [ $(current_stage) = stageautofeedback ]; then \
40537 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40538 else \
40539 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
40540 $(MAKE) stageautofeedback-start; \
40541 fi; \
40542 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40543 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40544 @endif target-libstdc++-v3-bootstrap
40545
40546
40547
40548
40549
40550
40551 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
40552 maybe-check-target-libstdc++-v3:
40553 @if target-libstdc++-v3
40554 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
40555
40556 check-target-libstdc++-v3:
40557 @: $(MAKE); $(unstage)
40558 @r=`${PWD_COMMAND}`; export r; \
40559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40560 $(RAW_CXX_TARGET_EXPORTS) \
40561 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40562 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40563
40564 @endif target-libstdc++-v3
40565
40566 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
40567 maybe-install-target-libstdc++-v3:
40568 @if target-libstdc++-v3
40569 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
40570
40571 install-target-libstdc++-v3: installdirs
40572 @: $(MAKE); $(unstage)
40573 @r=`${PWD_COMMAND}`; export r; \
40574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40575 $(RAW_CXX_TARGET_EXPORTS) \
40576 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40577 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40578
40579 @endif target-libstdc++-v3
40580
40581 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
40582 maybe-install-strip-target-libstdc++-v3:
40583 @if target-libstdc++-v3
40584 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
40585
40586 install-strip-target-libstdc++-v3: installdirs
40587 @: $(MAKE); $(unstage)
40588 @r=`${PWD_COMMAND}`; export r; \
40589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40590 $(RAW_CXX_TARGET_EXPORTS) \
40591 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40592 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40593
40594 @endif target-libstdc++-v3
40595
40596 # Other targets (info, dvi, pdf, etc.)
40597
40598 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
40599 maybe-info-target-libstdc++-v3:
40600 @if target-libstdc++-v3
40601 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
40602
40603 info-target-libstdc++-v3: \
40604 configure-target-libstdc++-v3
40605 @: $(MAKE); $(unstage)
40606 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40607 r=`${PWD_COMMAND}`; export r; \
40608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40609 $(RAW_CXX_TARGET_EXPORTS) \
40610 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40611 for flag in $(EXTRA_TARGET_FLAGS); do \
40612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40613 done; \
40614 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40617 "RANLIB=$${RANLIB}" \
40618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40619 info) \
40620 || exit 1
40621
40622 @endif target-libstdc++-v3
40623
40624 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
40625 maybe-dvi-target-libstdc++-v3:
40626 @if target-libstdc++-v3
40627 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
40628
40629 dvi-target-libstdc++-v3: \
40630 configure-target-libstdc++-v3
40631 @: $(MAKE); $(unstage)
40632 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40633 r=`${PWD_COMMAND}`; export r; \
40634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40635 $(RAW_CXX_TARGET_EXPORTS) \
40636 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
40637 for flag in $(EXTRA_TARGET_FLAGS); do \
40638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40639 done; \
40640 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40643 "RANLIB=$${RANLIB}" \
40644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40645 dvi) \
40646 || exit 1
40647
40648 @endif target-libstdc++-v3
40649
40650 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
40651 maybe-pdf-target-libstdc++-v3:
40652 @if target-libstdc++-v3
40653 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
40654
40655 pdf-target-libstdc++-v3: \
40656 configure-target-libstdc++-v3
40657 @: $(MAKE); $(unstage)
40658 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40659 r=`${PWD_COMMAND}`; export r; \
40660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40661 $(RAW_CXX_TARGET_EXPORTS) \
40662 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40663 for flag in $(EXTRA_TARGET_FLAGS); do \
40664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40665 done; \
40666 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40669 "RANLIB=$${RANLIB}" \
40670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40671 pdf) \
40672 || exit 1
40673
40674 @endif target-libstdc++-v3
40675
40676 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
40677 maybe-html-target-libstdc++-v3:
40678 @if target-libstdc++-v3
40679 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
40680
40681 html-target-libstdc++-v3: \
40682 configure-target-libstdc++-v3
40683 @: $(MAKE); $(unstage)
40684 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40685 r=`${PWD_COMMAND}`; export r; \
40686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40687 $(RAW_CXX_TARGET_EXPORTS) \
40688 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40689 for flag in $(EXTRA_TARGET_FLAGS); do \
40690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40691 done; \
40692 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40695 "RANLIB=$${RANLIB}" \
40696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40697 html) \
40698 || exit 1
40699
40700 @endif target-libstdc++-v3
40701
40702 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
40703 maybe-TAGS-target-libstdc++-v3:
40704 @if target-libstdc++-v3
40705 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
40706
40707 TAGS-target-libstdc++-v3: \
40708 configure-target-libstdc++-v3
40709 @: $(MAKE); $(unstage)
40710 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40711 r=`${PWD_COMMAND}`; export r; \
40712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40713 $(RAW_CXX_TARGET_EXPORTS) \
40714 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
40715 for flag in $(EXTRA_TARGET_FLAGS); do \
40716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40717 done; \
40718 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40721 "RANLIB=$${RANLIB}" \
40722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40723 TAGS) \
40724 || exit 1
40725
40726 @endif target-libstdc++-v3
40727
40728 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
40729 maybe-install-info-target-libstdc++-v3:
40730 @if target-libstdc++-v3
40731 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
40732
40733 install-info-target-libstdc++-v3: \
40734 configure-target-libstdc++-v3 \
40735 info-target-libstdc++-v3
40736 @: $(MAKE); $(unstage)
40737 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40738 r=`${PWD_COMMAND}`; export r; \
40739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40740 $(RAW_CXX_TARGET_EXPORTS) \
40741 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
40742 for flag in $(EXTRA_TARGET_FLAGS); do \
40743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40744 done; \
40745 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40748 "RANLIB=$${RANLIB}" \
40749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40750 install-info) \
40751 || exit 1
40752
40753 @endif target-libstdc++-v3
40754
40755 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
40756 maybe-install-pdf-target-libstdc++-v3:
40757 @if target-libstdc++-v3
40758 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
40759
40760 install-pdf-target-libstdc++-v3: \
40761 configure-target-libstdc++-v3 \
40762 pdf-target-libstdc++-v3
40763 @: $(MAKE); $(unstage)
40764 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40765 r=`${PWD_COMMAND}`; export r; \
40766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40767 $(RAW_CXX_TARGET_EXPORTS) \
40768 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
40769 for flag in $(EXTRA_TARGET_FLAGS); do \
40770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40771 done; \
40772 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40775 "RANLIB=$${RANLIB}" \
40776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40777 install-pdf) \
40778 || exit 1
40779
40780 @endif target-libstdc++-v3
40781
40782 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
40783 maybe-install-html-target-libstdc++-v3:
40784 @if target-libstdc++-v3
40785 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
40786
40787 install-html-target-libstdc++-v3: \
40788 configure-target-libstdc++-v3 \
40789 html-target-libstdc++-v3
40790 @: $(MAKE); $(unstage)
40791 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40792 r=`${PWD_COMMAND}`; export r; \
40793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40794 $(RAW_CXX_TARGET_EXPORTS) \
40795 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
40796 for flag in $(EXTRA_TARGET_FLAGS); do \
40797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40798 done; \
40799 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40802 "RANLIB=$${RANLIB}" \
40803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40804 install-html) \
40805 || exit 1
40806
40807 @endif target-libstdc++-v3
40808
40809 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
40810 maybe-installcheck-target-libstdc++-v3:
40811 @if target-libstdc++-v3
40812 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
40813
40814 installcheck-target-libstdc++-v3: \
40815 configure-target-libstdc++-v3
40816 @: $(MAKE); $(unstage)
40817 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40818 r=`${PWD_COMMAND}`; export r; \
40819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40820 $(RAW_CXX_TARGET_EXPORTS) \
40821 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
40822 for flag in $(EXTRA_TARGET_FLAGS); do \
40823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40824 done; \
40825 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40828 "RANLIB=$${RANLIB}" \
40829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40830 installcheck) \
40831 || exit 1
40832
40833 @endif target-libstdc++-v3
40834
40835 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
40836 maybe-mostlyclean-target-libstdc++-v3:
40837 @if target-libstdc++-v3
40838 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
40839
40840 mostlyclean-target-libstdc++-v3:
40841 @: $(MAKE); $(unstage)
40842 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40843 r=`${PWD_COMMAND}`; export r; \
40844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40845 $(RAW_CXX_TARGET_EXPORTS) \
40846 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40847 for flag in $(EXTRA_TARGET_FLAGS); do \
40848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40849 done; \
40850 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40853 "RANLIB=$${RANLIB}" \
40854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40855 mostlyclean) \
40856 || exit 1
40857
40858 @endif target-libstdc++-v3
40859
40860 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
40861 maybe-clean-target-libstdc++-v3:
40862 @if target-libstdc++-v3
40863 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
40864
40865 clean-target-libstdc++-v3:
40866 @: $(MAKE); $(unstage)
40867 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40868 r=`${PWD_COMMAND}`; export r; \
40869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40870 $(RAW_CXX_TARGET_EXPORTS) \
40871 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40872 for flag in $(EXTRA_TARGET_FLAGS); do \
40873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40874 done; \
40875 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40878 "RANLIB=$${RANLIB}" \
40879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40880 clean) \
40881 || exit 1
40882
40883 @endif target-libstdc++-v3
40884
40885 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
40886 maybe-distclean-target-libstdc++-v3:
40887 @if target-libstdc++-v3
40888 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
40889
40890 distclean-target-libstdc++-v3:
40891 @: $(MAKE); $(unstage)
40892 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40893 r=`${PWD_COMMAND}`; export r; \
40894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40895 $(RAW_CXX_TARGET_EXPORTS) \
40896 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40897 for flag in $(EXTRA_TARGET_FLAGS); do \
40898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40899 done; \
40900 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40903 "RANLIB=$${RANLIB}" \
40904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40905 distclean) \
40906 || exit 1
40907
40908 @endif target-libstdc++-v3
40909
40910 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
40911 maybe-maintainer-clean-target-libstdc++-v3:
40912 @if target-libstdc++-v3
40913 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
40914
40915 maintainer-clean-target-libstdc++-v3:
40916 @: $(MAKE); $(unstage)
40917 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
40918 r=`${PWD_COMMAND}`; export r; \
40919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40920 $(RAW_CXX_TARGET_EXPORTS) \
40921 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
40922 for flag in $(EXTRA_TARGET_FLAGS); do \
40923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40924 done; \
40925 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40928 "RANLIB=$${RANLIB}" \
40929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40930 maintainer-clean) \
40931 || exit 1
40932
40933 @endif target-libstdc++-v3
40934
40935
40936
40937
40938
40939 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
40940 maybe-configure-target-libsanitizer:
40941 @if gcc-bootstrap
40942 configure-target-libsanitizer: stage_current
40943 @endif gcc-bootstrap
40944 @if target-libsanitizer
40945 maybe-configure-target-libsanitizer: configure-target-libsanitizer
40946 configure-target-libsanitizer:
40947 @r=`${PWD_COMMAND}`; export r; \
40948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40949 echo "Checking multilib configuration for libsanitizer..."; \
40950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40952 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40953 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40954 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40955 else \
40956 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
40957 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40958 fi; \
40959 else \
40960 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
40961 fi; \
40962 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
40963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
40964 $(RAW_CXX_TARGET_EXPORTS) \
40965 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
40966 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
40967 case $(srcdir) in \
40968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40969 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
40970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40971 esac; \
40972 module_srcdir=libsanitizer; \
40973 rm -f no-such-file || : ; \
40974 CONFIG_SITE=no-such-file $(SHELL) \
40975 $$s/$$module_srcdir/configure \
40976 --srcdir=$${topdir}/$$module_srcdir \
40977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40978 --target=${target_alias} \
40979 || exit 1
40980 @endif target-libsanitizer
40981
40982
40983
40984 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
40985 maybe-configure-stage1-target-libsanitizer:
40986 @if target-libsanitizer-bootstrap
40987 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
40988 configure-stage1-target-libsanitizer:
40989 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40990 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
40991 @r=`${PWD_COMMAND}`; export r; \
40992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40993 TFLAGS="$(STAGE1_TFLAGS)"; \
40994 echo "Checking multilib configuration for libsanitizer..."; \
40995 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
40996 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40997 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
40998 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
40999 else \
41000 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41001 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41002 fi; \
41003 else \
41004 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41005 fi; \
41006 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41007 $(RAW_CXX_TARGET_EXPORTS) \
41008 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41011 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
41012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41013 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41014 case $(srcdir) in \
41015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41016 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41018 esac; \
41019 module_srcdir=libsanitizer; \
41020 $(SHELL) $$s/$$module_srcdir/configure \
41021 --srcdir=$${topdir}/$$module_srcdir \
41022 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41023 --target=${target_alias} \
41024 \
41025 $(STAGE1_CONFIGURE_FLAGS)
41026 @endif target-libsanitizer-bootstrap
41027
41028 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
41029 maybe-configure-stage2-target-libsanitizer:
41030 @if target-libsanitizer-bootstrap
41031 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41032 configure-stage2-target-libsanitizer:
41033 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41034 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41035 @r=`${PWD_COMMAND}`; export r; \
41036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41037 TFLAGS="$(STAGE2_TFLAGS)"; \
41038 echo "Checking multilib configuration for libsanitizer..."; \
41039 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41040 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41041 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41042 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41043 else \
41044 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41045 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41046 fi; \
41047 else \
41048 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41049 fi; \
41050 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41051 $(RAW_CXX_TARGET_EXPORTS) \
41052 \
41053 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41056 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
41057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41058 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41059 case $(srcdir) in \
41060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41061 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41063 esac; \
41064 module_srcdir=libsanitizer; \
41065 $(SHELL) $$s/$$module_srcdir/configure \
41066 --srcdir=$${topdir}/$$module_srcdir \
41067 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41068 --target=${target_alias} \
41069 --with-build-libsubdir=$(HOST_SUBDIR) \
41070 $(STAGE2_CONFIGURE_FLAGS)
41071 @endif target-libsanitizer-bootstrap
41072
41073 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
41074 maybe-configure-stage3-target-libsanitizer:
41075 @if target-libsanitizer-bootstrap
41076 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41077 configure-stage3-target-libsanitizer:
41078 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41079 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41080 @r=`${PWD_COMMAND}`; export r; \
41081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41082 TFLAGS="$(STAGE3_TFLAGS)"; \
41083 echo "Checking multilib configuration for libsanitizer..."; \
41084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41085 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41086 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41087 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41088 else \
41089 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41090 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41091 fi; \
41092 else \
41093 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41094 fi; \
41095 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41096 $(RAW_CXX_TARGET_EXPORTS) \
41097 \
41098 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41099 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41100 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41101 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
41102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41103 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41104 case $(srcdir) in \
41105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41106 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41108 esac; \
41109 module_srcdir=libsanitizer; \
41110 $(SHELL) $$s/$$module_srcdir/configure \
41111 --srcdir=$${topdir}/$$module_srcdir \
41112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41113 --target=${target_alias} \
41114 --with-build-libsubdir=$(HOST_SUBDIR) \
41115 $(STAGE3_CONFIGURE_FLAGS)
41116 @endif target-libsanitizer-bootstrap
41117
41118 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
41119 maybe-configure-stage4-target-libsanitizer:
41120 @if target-libsanitizer-bootstrap
41121 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
41122 configure-stage4-target-libsanitizer:
41123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41124 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41125 @r=`${PWD_COMMAND}`; export r; \
41126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41127 TFLAGS="$(STAGE4_TFLAGS)"; \
41128 echo "Checking multilib configuration for libsanitizer..."; \
41129 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41130 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41131 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41132 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41133 else \
41134 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41135 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41136 fi; \
41137 else \
41138 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41139 fi; \
41140 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41141 $(RAW_CXX_TARGET_EXPORTS) \
41142 \
41143 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41145 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41146 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
41147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41148 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41149 case $(srcdir) in \
41150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41151 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41153 esac; \
41154 module_srcdir=libsanitizer; \
41155 $(SHELL) $$s/$$module_srcdir/configure \
41156 --srcdir=$${topdir}/$$module_srcdir \
41157 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41158 --target=${target_alias} \
41159 --with-build-libsubdir=$(HOST_SUBDIR) \
41160 $(STAGE4_CONFIGURE_FLAGS)
41161 @endif target-libsanitizer-bootstrap
41162
41163 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
41164 maybe-configure-stageprofile-target-libsanitizer:
41165 @if target-libsanitizer-bootstrap
41166 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
41167 configure-stageprofile-target-libsanitizer:
41168 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41169 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41170 @r=`${PWD_COMMAND}`; export r; \
41171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41173 echo "Checking multilib configuration for libsanitizer..."; \
41174 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41175 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41176 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41177 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41178 else \
41179 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41180 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41181 fi; \
41182 else \
41183 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41184 fi; \
41185 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41186 $(RAW_CXX_TARGET_EXPORTS) \
41187 \
41188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41190 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41191 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
41192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41193 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41194 case $(srcdir) in \
41195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41196 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41198 esac; \
41199 module_srcdir=libsanitizer; \
41200 $(SHELL) $$s/$$module_srcdir/configure \
41201 --srcdir=$${topdir}/$$module_srcdir \
41202 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41203 --target=${target_alias} \
41204 --with-build-libsubdir=$(HOST_SUBDIR) \
41205 $(STAGEprofile_CONFIGURE_FLAGS)
41206 @endif target-libsanitizer-bootstrap
41207
41208 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
41209 maybe-configure-stagetrain-target-libsanitizer:
41210 @if target-libsanitizer-bootstrap
41211 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
41212 configure-stagetrain-target-libsanitizer:
41213 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41215 @r=`${PWD_COMMAND}`; export r; \
41216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41217 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41218 echo "Checking multilib configuration for libsanitizer..."; \
41219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41220 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41221 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41222 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41223 else \
41224 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41225 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41226 fi; \
41227 else \
41228 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41229 fi; \
41230 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41231 $(RAW_CXX_TARGET_EXPORTS) \
41232 \
41233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41236 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
41237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41238 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41239 case $(srcdir) in \
41240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41241 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41243 esac; \
41244 module_srcdir=libsanitizer; \
41245 $(SHELL) $$s/$$module_srcdir/configure \
41246 --srcdir=$${topdir}/$$module_srcdir \
41247 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41248 --target=${target_alias} \
41249 --with-build-libsubdir=$(HOST_SUBDIR) \
41250 $(STAGEtrain_CONFIGURE_FLAGS)
41251 @endif target-libsanitizer-bootstrap
41252
41253 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
41254 maybe-configure-stagefeedback-target-libsanitizer:
41255 @if target-libsanitizer-bootstrap
41256 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
41257 configure-stagefeedback-target-libsanitizer:
41258 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41259 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41260 @r=`${PWD_COMMAND}`; export r; \
41261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41262 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41263 echo "Checking multilib configuration for libsanitizer..."; \
41264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41265 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41266 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41267 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41268 else \
41269 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41270 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41271 fi; \
41272 else \
41273 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41274 fi; \
41275 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41276 $(RAW_CXX_TARGET_EXPORTS) \
41277 \
41278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41281 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
41282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41283 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41284 case $(srcdir) in \
41285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41286 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41288 esac; \
41289 module_srcdir=libsanitizer; \
41290 $(SHELL) $$s/$$module_srcdir/configure \
41291 --srcdir=$${topdir}/$$module_srcdir \
41292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41293 --target=${target_alias} \
41294 --with-build-libsubdir=$(HOST_SUBDIR) \
41295 $(STAGEfeedback_CONFIGURE_FLAGS)
41296 @endif target-libsanitizer-bootstrap
41297
41298 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
41299 maybe-configure-stageautoprofile-target-libsanitizer:
41300 @if target-libsanitizer-bootstrap
41301 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
41302 configure-stageautoprofile-target-libsanitizer:
41303 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41305 @r=`${PWD_COMMAND}`; export r; \
41306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41307 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41308 echo "Checking multilib configuration for libsanitizer..."; \
41309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41310 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41311 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41312 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41313 else \
41314 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41315 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41316 fi; \
41317 else \
41318 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41319 fi; \
41320 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41321 $(RAW_CXX_TARGET_EXPORTS) \
41322 \
41323 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41326 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
41327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41328 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41329 case $(srcdir) in \
41330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41331 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41333 esac; \
41334 module_srcdir=libsanitizer; \
41335 $(SHELL) $$s/$$module_srcdir/configure \
41336 --srcdir=$${topdir}/$$module_srcdir \
41337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41338 --target=${target_alias} \
41339 --with-build-libsubdir=$(HOST_SUBDIR) \
41340 $(STAGEautoprofile_CONFIGURE_FLAGS)
41341 @endif target-libsanitizer-bootstrap
41342
41343 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
41344 maybe-configure-stageautofeedback-target-libsanitizer:
41345 @if target-libsanitizer-bootstrap
41346 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
41347 configure-stageautofeedback-target-libsanitizer:
41348 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41349 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
41350 @r=`${PWD_COMMAND}`; export r; \
41351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41352 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41353 echo "Checking multilib configuration for libsanitizer..."; \
41354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
41355 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41356 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
41357 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
41358 else \
41359 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
41360 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41361 fi; \
41362 else \
41363 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
41364 fi; \
41365 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
41366 $(RAW_CXX_TARGET_EXPORTS) \
41367 \
41368 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41369 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41370 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41371 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
41372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
41373 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
41374 case $(srcdir) in \
41375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41376 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
41377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41378 esac; \
41379 module_srcdir=libsanitizer; \
41380 $(SHELL) $$s/$$module_srcdir/configure \
41381 --srcdir=$${topdir}/$$module_srcdir \
41382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41383 --target=${target_alias} \
41384 --with-build-libsubdir=$(HOST_SUBDIR) \
41385 $(STAGEautofeedback_CONFIGURE_FLAGS)
41386 @endif target-libsanitizer-bootstrap
41387
41388
41389
41390
41391
41392 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
41393 maybe-all-target-libsanitizer:
41394 @if gcc-bootstrap
41395 all-target-libsanitizer: stage_current
41396 @endif gcc-bootstrap
41397 @if target-libsanitizer
41398 TARGET-target-libsanitizer=all
41399 maybe-all-target-libsanitizer: all-target-libsanitizer
41400 all-target-libsanitizer: configure-target-libsanitizer
41401 @r=`${PWD_COMMAND}`; export r; \
41402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41403 $(RAW_CXX_TARGET_EXPORTS) \
41404 (cd $(TARGET_SUBDIR)/libsanitizer && \
41405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41406 $(TARGET-target-libsanitizer))
41407 @endif target-libsanitizer
41408
41409
41410
41411 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
41412 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
41413 maybe-all-stage1-target-libsanitizer:
41414 maybe-clean-stage1-target-libsanitizer:
41415 @if target-libsanitizer-bootstrap
41416 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
41417 all-stage1: all-stage1-target-libsanitizer
41418 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
41419 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
41420 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41421 @r=`${PWD_COMMAND}`; export r; \
41422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41423 TFLAGS="$(STAGE1_TFLAGS)"; \
41424 $(RAW_CXX_TARGET_EXPORTS) \
41425 cd $(TARGET_SUBDIR)/libsanitizer && \
41426 \
41427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41428 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41429 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41430 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41434 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41435 \
41436 TFLAGS="$(STAGE1_TFLAGS)" \
41437 $(TARGET-stage1-target-libsanitizer)
41438
41439 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
41440 clean-stage1: clean-stage1-target-libsanitizer
41441 clean-stage1-target-libsanitizer:
41442 @if [ $(current_stage) = stage1 ]; then \
41443 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41444 else \
41445 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
41446 $(MAKE) stage1-start; \
41447 fi; \
41448 cd $(TARGET_SUBDIR)/libsanitizer && \
41449 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41450 clean
41451 @endif target-libsanitizer-bootstrap
41452
41453
41454 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
41455 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
41456 maybe-all-stage2-target-libsanitizer:
41457 maybe-clean-stage2-target-libsanitizer:
41458 @if target-libsanitizer-bootstrap
41459 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
41460 all-stage2: all-stage2-target-libsanitizer
41461 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
41462 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
41463 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41464 @r=`${PWD_COMMAND}`; export r; \
41465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41466 TFLAGS="$(STAGE2_TFLAGS)"; \
41467 $(RAW_CXX_TARGET_EXPORTS) \
41468 \
41469 cd $(TARGET_SUBDIR)/libsanitizer && \
41470 \
41471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41472 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41473 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41474 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41478 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41479 TFLAGS="$(STAGE2_TFLAGS)" \
41480 $(TARGET-stage2-target-libsanitizer)
41481
41482 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
41483 clean-stage2: clean-stage2-target-libsanitizer
41484 clean-stage2-target-libsanitizer:
41485 @if [ $(current_stage) = stage2 ]; then \
41486 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41487 else \
41488 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
41489 $(MAKE) stage2-start; \
41490 fi; \
41491 cd $(TARGET_SUBDIR)/libsanitizer && \
41492 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41493 @endif target-libsanitizer-bootstrap
41494
41495
41496 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
41497 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
41498 maybe-all-stage3-target-libsanitizer:
41499 maybe-clean-stage3-target-libsanitizer:
41500 @if target-libsanitizer-bootstrap
41501 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
41502 all-stage3: all-stage3-target-libsanitizer
41503 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
41504 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
41505 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41506 @r=`${PWD_COMMAND}`; export r; \
41507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41508 TFLAGS="$(STAGE3_TFLAGS)"; \
41509 $(RAW_CXX_TARGET_EXPORTS) \
41510 \
41511 cd $(TARGET_SUBDIR)/libsanitizer && \
41512 \
41513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41514 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41515 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41516 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41520 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41521 TFLAGS="$(STAGE3_TFLAGS)" \
41522 $(TARGET-stage3-target-libsanitizer)
41523
41524 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
41525 clean-stage3: clean-stage3-target-libsanitizer
41526 clean-stage3-target-libsanitizer:
41527 @if [ $(current_stage) = stage3 ]; then \
41528 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41529 else \
41530 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
41531 $(MAKE) stage3-start; \
41532 fi; \
41533 cd $(TARGET_SUBDIR)/libsanitizer && \
41534 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41535 @endif target-libsanitizer-bootstrap
41536
41537
41538 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
41539 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
41540 maybe-all-stage4-target-libsanitizer:
41541 maybe-clean-stage4-target-libsanitizer:
41542 @if target-libsanitizer-bootstrap
41543 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
41544 all-stage4: all-stage4-target-libsanitizer
41545 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
41546 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
41547 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41548 @r=`${PWD_COMMAND}`; export r; \
41549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41550 TFLAGS="$(STAGE4_TFLAGS)"; \
41551 $(RAW_CXX_TARGET_EXPORTS) \
41552 \
41553 cd $(TARGET_SUBDIR)/libsanitizer && \
41554 \
41555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41556 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41557 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41558 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41562 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41563 TFLAGS="$(STAGE4_TFLAGS)" \
41564 $(TARGET-stage4-target-libsanitizer)
41565
41566 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
41567 clean-stage4: clean-stage4-target-libsanitizer
41568 clean-stage4-target-libsanitizer:
41569 @if [ $(current_stage) = stage4 ]; then \
41570 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41571 else \
41572 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
41573 $(MAKE) stage4-start; \
41574 fi; \
41575 cd $(TARGET_SUBDIR)/libsanitizer && \
41576 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41577 @endif target-libsanitizer-bootstrap
41578
41579
41580 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
41581 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
41582 maybe-all-stageprofile-target-libsanitizer:
41583 maybe-clean-stageprofile-target-libsanitizer:
41584 @if target-libsanitizer-bootstrap
41585 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
41586 all-stageprofile: all-stageprofile-target-libsanitizer
41587 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41588 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
41589 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41590 @r=`${PWD_COMMAND}`; export r; \
41591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41592 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41593 $(RAW_CXX_TARGET_EXPORTS) \
41594 \
41595 cd $(TARGET_SUBDIR)/libsanitizer && \
41596 \
41597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41598 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41599 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41600 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41604 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41605 TFLAGS="$(STAGEprofile_TFLAGS)" \
41606 $(TARGET-stageprofile-target-libsanitizer)
41607
41608 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
41609 clean-stageprofile: clean-stageprofile-target-libsanitizer
41610 clean-stageprofile-target-libsanitizer:
41611 @if [ $(current_stage) = stageprofile ]; then \
41612 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41613 else \
41614 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
41615 $(MAKE) stageprofile-start; \
41616 fi; \
41617 cd $(TARGET_SUBDIR)/libsanitizer && \
41618 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41619 @endif target-libsanitizer-bootstrap
41620
41621
41622 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
41623 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
41624 maybe-all-stagetrain-target-libsanitizer:
41625 maybe-clean-stagetrain-target-libsanitizer:
41626 @if target-libsanitizer-bootstrap
41627 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
41628 all-stagetrain: all-stagetrain-target-libsanitizer
41629 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
41630 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
41631 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41632 @r=`${PWD_COMMAND}`; export r; \
41633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41634 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41635 $(RAW_CXX_TARGET_EXPORTS) \
41636 \
41637 cd $(TARGET_SUBDIR)/libsanitizer && \
41638 \
41639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41640 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41641 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41642 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41646 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41647 TFLAGS="$(STAGEtrain_TFLAGS)" \
41648 $(TARGET-stagetrain-target-libsanitizer)
41649
41650 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
41651 clean-stagetrain: clean-stagetrain-target-libsanitizer
41652 clean-stagetrain-target-libsanitizer:
41653 @if [ $(current_stage) = stagetrain ]; then \
41654 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41655 else \
41656 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
41657 $(MAKE) stagetrain-start; \
41658 fi; \
41659 cd $(TARGET_SUBDIR)/libsanitizer && \
41660 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41661 @endif target-libsanitizer-bootstrap
41662
41663
41664 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
41665 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
41666 maybe-all-stagefeedback-target-libsanitizer:
41667 maybe-clean-stagefeedback-target-libsanitizer:
41668 @if target-libsanitizer-bootstrap
41669 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
41670 all-stagefeedback: all-stagefeedback-target-libsanitizer
41671 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41672 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
41673 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41674 @r=`${PWD_COMMAND}`; export r; \
41675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41676 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41677 $(RAW_CXX_TARGET_EXPORTS) \
41678 \
41679 cd $(TARGET_SUBDIR)/libsanitizer && \
41680 \
41681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41682 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41683 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41684 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41688 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41689 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41690 $(TARGET-stagefeedback-target-libsanitizer)
41691
41692 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
41693 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
41694 clean-stagefeedback-target-libsanitizer:
41695 @if [ $(current_stage) = stagefeedback ]; then \
41696 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41697 else \
41698 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
41699 $(MAKE) stagefeedback-start; \
41700 fi; \
41701 cd $(TARGET_SUBDIR)/libsanitizer && \
41702 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41703 @endif target-libsanitizer-bootstrap
41704
41705
41706 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
41707 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
41708 maybe-all-stageautoprofile-target-libsanitizer:
41709 maybe-clean-stageautoprofile-target-libsanitizer:
41710 @if target-libsanitizer-bootstrap
41711 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
41712 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
41713 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
41714 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
41715 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41716 @r=`${PWD_COMMAND}`; export r; \
41717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41718 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41719 $(RAW_CXX_TARGET_EXPORTS) \
41720 \
41721 cd $(TARGET_SUBDIR)/libsanitizer && \
41722 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41724 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41725 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41726 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41730 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41731 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41732 $(TARGET-stageautoprofile-target-libsanitizer)
41733
41734 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
41735 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
41736 clean-stageautoprofile-target-libsanitizer:
41737 @if [ $(current_stage) = stageautoprofile ]; then \
41738 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41739 else \
41740 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
41741 $(MAKE) stageautoprofile-start; \
41742 fi; \
41743 cd $(TARGET_SUBDIR)/libsanitizer && \
41744 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41745 @endif target-libsanitizer-bootstrap
41746
41747
41748 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
41749 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
41750 maybe-all-stageautofeedback-target-libsanitizer:
41751 maybe-clean-stageautofeedback-target-libsanitizer:
41752 @if target-libsanitizer-bootstrap
41753 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
41754 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
41755 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
41756 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
41757 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41758 @r=`${PWD_COMMAND}`; export r; \
41759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41760 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41761 $(RAW_CXX_TARGET_EXPORTS) \
41762 \
41763 cd $(TARGET_SUBDIR)/libsanitizer && \
41764 \
41765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41766 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41767 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41768 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41772 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41773 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41774 $(TARGET-stageautofeedback-target-libsanitizer)
41775
41776 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
41777 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
41778 clean-stageautofeedback-target-libsanitizer:
41779 @if [ $(current_stage) = stageautofeedback ]; then \
41780 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41781 else \
41782 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
41783 $(MAKE) stageautofeedback-start; \
41784 fi; \
41785 cd $(TARGET_SUBDIR)/libsanitizer && \
41786 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41787 @endif target-libsanitizer-bootstrap
41788
41789
41790
41791
41792
41793
41794 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
41795 maybe-check-target-libsanitizer:
41796 @if target-libsanitizer
41797 maybe-check-target-libsanitizer: check-target-libsanitizer
41798
41799 check-target-libsanitizer:
41800 @: $(MAKE); $(unstage)
41801 @r=`${PWD_COMMAND}`; export r; \
41802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41803 $(RAW_CXX_TARGET_EXPORTS) \
41804 (cd $(TARGET_SUBDIR)/libsanitizer && \
41805 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41806
41807 @endif target-libsanitizer
41808
41809 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
41810 maybe-install-target-libsanitizer:
41811 @if target-libsanitizer
41812 maybe-install-target-libsanitizer: install-target-libsanitizer
41813
41814 install-target-libsanitizer: installdirs
41815 @: $(MAKE); $(unstage)
41816 @r=`${PWD_COMMAND}`; export r; \
41817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41818 $(RAW_CXX_TARGET_EXPORTS) \
41819 (cd $(TARGET_SUBDIR)/libsanitizer && \
41820 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41821
41822 @endif target-libsanitizer
41823
41824 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
41825 maybe-install-strip-target-libsanitizer:
41826 @if target-libsanitizer
41827 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
41828
41829 install-strip-target-libsanitizer: installdirs
41830 @: $(MAKE); $(unstage)
41831 @r=`${PWD_COMMAND}`; export r; \
41832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41833 $(RAW_CXX_TARGET_EXPORTS) \
41834 (cd $(TARGET_SUBDIR)/libsanitizer && \
41835 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41836
41837 @endif target-libsanitizer
41838
41839 # Other targets (info, dvi, pdf, etc.)
41840
41841 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
41842 maybe-info-target-libsanitizer:
41843 @if target-libsanitizer
41844 maybe-info-target-libsanitizer: info-target-libsanitizer
41845
41846 info-target-libsanitizer: \
41847 configure-target-libsanitizer
41848 @: $(MAKE); $(unstage)
41849 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41850 r=`${PWD_COMMAND}`; export r; \
41851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41852 $(RAW_CXX_TARGET_EXPORTS) \
41853 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
41854 for flag in $(EXTRA_TARGET_FLAGS); do \
41855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41856 done; \
41857 (cd $(TARGET_SUBDIR)/libsanitizer && \
41858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41860 "RANLIB=$${RANLIB}" \
41861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41862 info) \
41863 || exit 1
41864
41865 @endif target-libsanitizer
41866
41867 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
41868 maybe-dvi-target-libsanitizer:
41869 @if target-libsanitizer
41870 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
41871
41872 dvi-target-libsanitizer: \
41873 configure-target-libsanitizer
41874 @: $(MAKE); $(unstage)
41875 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41876 r=`${PWD_COMMAND}`; export r; \
41877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41878 $(RAW_CXX_TARGET_EXPORTS) \
41879 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
41880 for flag in $(EXTRA_TARGET_FLAGS); do \
41881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41882 done; \
41883 (cd $(TARGET_SUBDIR)/libsanitizer && \
41884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41886 "RANLIB=$${RANLIB}" \
41887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41888 dvi) \
41889 || exit 1
41890
41891 @endif target-libsanitizer
41892
41893 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
41894 maybe-pdf-target-libsanitizer:
41895 @if target-libsanitizer
41896 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
41897
41898 pdf-target-libsanitizer: \
41899 configure-target-libsanitizer
41900 @: $(MAKE); $(unstage)
41901 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41902 r=`${PWD_COMMAND}`; export r; \
41903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41904 $(RAW_CXX_TARGET_EXPORTS) \
41905 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
41906 for flag in $(EXTRA_TARGET_FLAGS); do \
41907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41908 done; \
41909 (cd $(TARGET_SUBDIR)/libsanitizer && \
41910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41912 "RANLIB=$${RANLIB}" \
41913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41914 pdf) \
41915 || exit 1
41916
41917 @endif target-libsanitizer
41918
41919 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
41920 maybe-html-target-libsanitizer:
41921 @if target-libsanitizer
41922 maybe-html-target-libsanitizer: html-target-libsanitizer
41923
41924 html-target-libsanitizer: \
41925 configure-target-libsanitizer
41926 @: $(MAKE); $(unstage)
41927 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41928 r=`${PWD_COMMAND}`; export r; \
41929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41930 $(RAW_CXX_TARGET_EXPORTS) \
41931 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
41932 for flag in $(EXTRA_TARGET_FLAGS); do \
41933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41934 done; \
41935 (cd $(TARGET_SUBDIR)/libsanitizer && \
41936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41938 "RANLIB=$${RANLIB}" \
41939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41940 html) \
41941 || exit 1
41942
41943 @endif target-libsanitizer
41944
41945 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
41946 maybe-TAGS-target-libsanitizer:
41947 @if target-libsanitizer
41948 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
41949
41950 TAGS-target-libsanitizer: \
41951 configure-target-libsanitizer
41952 @: $(MAKE); $(unstage)
41953 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41954 r=`${PWD_COMMAND}`; export r; \
41955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41956 $(RAW_CXX_TARGET_EXPORTS) \
41957 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
41958 for flag in $(EXTRA_TARGET_FLAGS); do \
41959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41960 done; \
41961 (cd $(TARGET_SUBDIR)/libsanitizer && \
41962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41964 "RANLIB=$${RANLIB}" \
41965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41966 TAGS) \
41967 || exit 1
41968
41969 @endif target-libsanitizer
41970
41971 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
41972 maybe-install-info-target-libsanitizer:
41973 @if target-libsanitizer
41974 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
41975
41976 install-info-target-libsanitizer: \
41977 configure-target-libsanitizer \
41978 info-target-libsanitizer
41979 @: $(MAKE); $(unstage)
41980 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
41981 r=`${PWD_COMMAND}`; export r; \
41982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41983 $(RAW_CXX_TARGET_EXPORTS) \
41984 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
41985 for flag in $(EXTRA_TARGET_FLAGS); do \
41986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41987 done; \
41988 (cd $(TARGET_SUBDIR)/libsanitizer && \
41989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41991 "RANLIB=$${RANLIB}" \
41992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41993 install-info) \
41994 || exit 1
41995
41996 @endif target-libsanitizer
41997
41998 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
41999 maybe-install-pdf-target-libsanitizer:
42000 @if target-libsanitizer
42001 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
42002
42003 install-pdf-target-libsanitizer: \
42004 configure-target-libsanitizer \
42005 pdf-target-libsanitizer
42006 @: $(MAKE); $(unstage)
42007 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42008 r=`${PWD_COMMAND}`; export r; \
42009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42010 $(RAW_CXX_TARGET_EXPORTS) \
42011 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
42012 for flag in $(EXTRA_TARGET_FLAGS); do \
42013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42014 done; \
42015 (cd $(TARGET_SUBDIR)/libsanitizer && \
42016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42018 "RANLIB=$${RANLIB}" \
42019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42020 install-pdf) \
42021 || exit 1
42022
42023 @endif target-libsanitizer
42024
42025 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
42026 maybe-install-html-target-libsanitizer:
42027 @if target-libsanitizer
42028 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
42029
42030 install-html-target-libsanitizer: \
42031 configure-target-libsanitizer \
42032 html-target-libsanitizer
42033 @: $(MAKE); $(unstage)
42034 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42035 r=`${PWD_COMMAND}`; export r; \
42036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42037 $(RAW_CXX_TARGET_EXPORTS) \
42038 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
42039 for flag in $(EXTRA_TARGET_FLAGS); do \
42040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42041 done; \
42042 (cd $(TARGET_SUBDIR)/libsanitizer && \
42043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42045 "RANLIB=$${RANLIB}" \
42046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42047 install-html) \
42048 || exit 1
42049
42050 @endif target-libsanitizer
42051
42052 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
42053 maybe-installcheck-target-libsanitizer:
42054 @if target-libsanitizer
42055 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
42056
42057 installcheck-target-libsanitizer: \
42058 configure-target-libsanitizer
42059 @: $(MAKE); $(unstage)
42060 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42061 r=`${PWD_COMMAND}`; export r; \
42062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42063 $(RAW_CXX_TARGET_EXPORTS) \
42064 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
42065 for flag in $(EXTRA_TARGET_FLAGS); do \
42066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42067 done; \
42068 (cd $(TARGET_SUBDIR)/libsanitizer && \
42069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42071 "RANLIB=$${RANLIB}" \
42072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42073 installcheck) \
42074 || exit 1
42075
42076 @endif target-libsanitizer
42077
42078 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
42079 maybe-mostlyclean-target-libsanitizer:
42080 @if target-libsanitizer
42081 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
42082
42083 mostlyclean-target-libsanitizer:
42084 @: $(MAKE); $(unstage)
42085 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42086 r=`${PWD_COMMAND}`; export r; \
42087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42088 $(RAW_CXX_TARGET_EXPORTS) \
42089 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
42090 for flag in $(EXTRA_TARGET_FLAGS); do \
42091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42092 done; \
42093 (cd $(TARGET_SUBDIR)/libsanitizer && \
42094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42096 "RANLIB=$${RANLIB}" \
42097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42098 mostlyclean) \
42099 || exit 1
42100
42101 @endif target-libsanitizer
42102
42103 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
42104 maybe-clean-target-libsanitizer:
42105 @if target-libsanitizer
42106 maybe-clean-target-libsanitizer: clean-target-libsanitizer
42107
42108 clean-target-libsanitizer:
42109 @: $(MAKE); $(unstage)
42110 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42111 r=`${PWD_COMMAND}`; export r; \
42112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42113 $(RAW_CXX_TARGET_EXPORTS) \
42114 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
42115 for flag in $(EXTRA_TARGET_FLAGS); do \
42116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42117 done; \
42118 (cd $(TARGET_SUBDIR)/libsanitizer && \
42119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42121 "RANLIB=$${RANLIB}" \
42122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42123 clean) \
42124 || exit 1
42125
42126 @endif target-libsanitizer
42127
42128 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
42129 maybe-distclean-target-libsanitizer:
42130 @if target-libsanitizer
42131 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
42132
42133 distclean-target-libsanitizer:
42134 @: $(MAKE); $(unstage)
42135 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42136 r=`${PWD_COMMAND}`; export r; \
42137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42138 $(RAW_CXX_TARGET_EXPORTS) \
42139 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
42140 for flag in $(EXTRA_TARGET_FLAGS); do \
42141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42142 done; \
42143 (cd $(TARGET_SUBDIR)/libsanitizer && \
42144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42146 "RANLIB=$${RANLIB}" \
42147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42148 distclean) \
42149 || exit 1
42150
42151 @endif target-libsanitizer
42152
42153 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
42154 maybe-maintainer-clean-target-libsanitizer:
42155 @if target-libsanitizer
42156 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
42157
42158 maintainer-clean-target-libsanitizer:
42159 @: $(MAKE); $(unstage)
42160 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
42161 r=`${PWD_COMMAND}`; export r; \
42162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42163 $(RAW_CXX_TARGET_EXPORTS) \
42164 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
42165 for flag in $(EXTRA_TARGET_FLAGS); do \
42166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42167 done; \
42168 (cd $(TARGET_SUBDIR)/libsanitizer && \
42169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42171 "RANLIB=$${RANLIB}" \
42172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42173 maintainer-clean) \
42174 || exit 1
42175
42176 @endif target-libsanitizer
42177
42178
42179
42180
42181
42182 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
42183 maybe-configure-target-libvtv:
42184 @if gcc-bootstrap
42185 configure-target-libvtv: stage_current
42186 @endif gcc-bootstrap
42187 @if target-libvtv
42188 maybe-configure-target-libvtv: configure-target-libvtv
42189 configure-target-libvtv:
42190 @r=`${PWD_COMMAND}`; export r; \
42191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42192 echo "Checking multilib configuration for libvtv..."; \
42193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42194 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42195 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42196 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42197 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42198 else \
42199 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42200 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42201 fi; \
42202 else \
42203 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42204 fi; \
42205 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42207 $(RAW_CXX_TARGET_EXPORTS) \
42208 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
42209 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
42210 case $(srcdir) in \
42211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42212 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42214 esac; \
42215 module_srcdir=libvtv; \
42216 rm -f no-such-file || : ; \
42217 CONFIG_SITE=no-such-file $(SHELL) \
42218 $$s/$$module_srcdir/configure \
42219 --srcdir=$${topdir}/$$module_srcdir \
42220 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42221 --target=${target_alias} \
42222 || exit 1
42223 @endif target-libvtv
42224
42225
42226
42227 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
42228 maybe-configure-stage1-target-libvtv:
42229 @if target-libvtv-bootstrap
42230 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
42231 configure-stage1-target-libvtv:
42232 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42233 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42234 @r=`${PWD_COMMAND}`; export r; \
42235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42236 TFLAGS="$(STAGE1_TFLAGS)"; \
42237 echo "Checking multilib configuration for libvtv..."; \
42238 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42239 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42240 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42241 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42242 else \
42243 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42244 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42245 fi; \
42246 else \
42247 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42248 fi; \
42249 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42250 $(RAW_CXX_TARGET_EXPORTS) \
42251 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42252 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42253 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42254 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
42255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42256 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42257 case $(srcdir) in \
42258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42259 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42261 esac; \
42262 module_srcdir=libvtv; \
42263 $(SHELL) $$s/$$module_srcdir/configure \
42264 --srcdir=$${topdir}/$$module_srcdir \
42265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42266 --target=${target_alias} \
42267 \
42268 $(STAGE1_CONFIGURE_FLAGS)
42269 @endif target-libvtv-bootstrap
42270
42271 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
42272 maybe-configure-stage2-target-libvtv:
42273 @if target-libvtv-bootstrap
42274 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
42275 configure-stage2-target-libvtv:
42276 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42277 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42278 @r=`${PWD_COMMAND}`; export r; \
42279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42280 TFLAGS="$(STAGE2_TFLAGS)"; \
42281 echo "Checking multilib configuration for libvtv..."; \
42282 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42283 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42284 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42285 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42286 else \
42287 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42288 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42289 fi; \
42290 else \
42291 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42292 fi; \
42293 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42294 $(RAW_CXX_TARGET_EXPORTS) \
42295 \
42296 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42297 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42298 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42299 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
42300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42301 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42302 case $(srcdir) in \
42303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42304 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42306 esac; \
42307 module_srcdir=libvtv; \
42308 $(SHELL) $$s/$$module_srcdir/configure \
42309 --srcdir=$${topdir}/$$module_srcdir \
42310 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42311 --target=${target_alias} \
42312 --with-build-libsubdir=$(HOST_SUBDIR) \
42313 $(STAGE2_CONFIGURE_FLAGS)
42314 @endif target-libvtv-bootstrap
42315
42316 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
42317 maybe-configure-stage3-target-libvtv:
42318 @if target-libvtv-bootstrap
42319 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
42320 configure-stage3-target-libvtv:
42321 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42322 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42323 @r=`${PWD_COMMAND}`; export r; \
42324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42325 TFLAGS="$(STAGE3_TFLAGS)"; \
42326 echo "Checking multilib configuration for libvtv..."; \
42327 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42328 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42329 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42330 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42331 else \
42332 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42333 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42334 fi; \
42335 else \
42336 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42337 fi; \
42338 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42339 $(RAW_CXX_TARGET_EXPORTS) \
42340 \
42341 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42342 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42343 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42344 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
42345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42346 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42347 case $(srcdir) in \
42348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42349 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42351 esac; \
42352 module_srcdir=libvtv; \
42353 $(SHELL) $$s/$$module_srcdir/configure \
42354 --srcdir=$${topdir}/$$module_srcdir \
42355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42356 --target=${target_alias} \
42357 --with-build-libsubdir=$(HOST_SUBDIR) \
42358 $(STAGE3_CONFIGURE_FLAGS)
42359 @endif target-libvtv-bootstrap
42360
42361 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
42362 maybe-configure-stage4-target-libvtv:
42363 @if target-libvtv-bootstrap
42364 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
42365 configure-stage4-target-libvtv:
42366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42367 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42368 @r=`${PWD_COMMAND}`; export r; \
42369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42370 TFLAGS="$(STAGE4_TFLAGS)"; \
42371 echo "Checking multilib configuration for libvtv..."; \
42372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42373 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42374 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42375 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42376 else \
42377 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42378 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42379 fi; \
42380 else \
42381 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42382 fi; \
42383 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42384 $(RAW_CXX_TARGET_EXPORTS) \
42385 \
42386 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42387 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42388 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42389 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
42390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42391 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42392 case $(srcdir) in \
42393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42394 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42396 esac; \
42397 module_srcdir=libvtv; \
42398 $(SHELL) $$s/$$module_srcdir/configure \
42399 --srcdir=$${topdir}/$$module_srcdir \
42400 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42401 --target=${target_alias} \
42402 --with-build-libsubdir=$(HOST_SUBDIR) \
42403 $(STAGE4_CONFIGURE_FLAGS)
42404 @endif target-libvtv-bootstrap
42405
42406 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
42407 maybe-configure-stageprofile-target-libvtv:
42408 @if target-libvtv-bootstrap
42409 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42410 configure-stageprofile-target-libvtv:
42411 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42412 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42413 @r=`${PWD_COMMAND}`; export r; \
42414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42415 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42416 echo "Checking multilib configuration for libvtv..."; \
42417 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42418 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42419 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42420 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42421 else \
42422 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42423 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42424 fi; \
42425 else \
42426 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42427 fi; \
42428 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42429 $(RAW_CXX_TARGET_EXPORTS) \
42430 \
42431 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42432 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42433 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42434 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
42435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42436 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42437 case $(srcdir) in \
42438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42439 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42441 esac; \
42442 module_srcdir=libvtv; \
42443 $(SHELL) $$s/$$module_srcdir/configure \
42444 --srcdir=$${topdir}/$$module_srcdir \
42445 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42446 --target=${target_alias} \
42447 --with-build-libsubdir=$(HOST_SUBDIR) \
42448 $(STAGEprofile_CONFIGURE_FLAGS)
42449 @endif target-libvtv-bootstrap
42450
42451 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
42452 maybe-configure-stagetrain-target-libvtv:
42453 @if target-libvtv-bootstrap
42454 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42455 configure-stagetrain-target-libvtv:
42456 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42457 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42458 @r=`${PWD_COMMAND}`; export r; \
42459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42460 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42461 echo "Checking multilib configuration for libvtv..."; \
42462 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42463 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42464 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42465 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42466 else \
42467 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42468 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42469 fi; \
42470 else \
42471 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42472 fi; \
42473 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42474 $(RAW_CXX_TARGET_EXPORTS) \
42475 \
42476 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42477 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42478 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42479 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
42480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42481 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42482 case $(srcdir) in \
42483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42484 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42486 esac; \
42487 module_srcdir=libvtv; \
42488 $(SHELL) $$s/$$module_srcdir/configure \
42489 --srcdir=$${topdir}/$$module_srcdir \
42490 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42491 --target=${target_alias} \
42492 --with-build-libsubdir=$(HOST_SUBDIR) \
42493 $(STAGEtrain_CONFIGURE_FLAGS)
42494 @endif target-libvtv-bootstrap
42495
42496 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
42497 maybe-configure-stagefeedback-target-libvtv:
42498 @if target-libvtv-bootstrap
42499 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42500 configure-stagefeedback-target-libvtv:
42501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42502 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42503 @r=`${PWD_COMMAND}`; export r; \
42504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42505 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42506 echo "Checking multilib configuration for libvtv..."; \
42507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42508 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42509 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42510 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42511 else \
42512 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42513 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42514 fi; \
42515 else \
42516 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42517 fi; \
42518 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42519 $(RAW_CXX_TARGET_EXPORTS) \
42520 \
42521 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42522 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42523 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42524 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
42525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42526 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42527 case $(srcdir) in \
42528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42529 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42531 esac; \
42532 module_srcdir=libvtv; \
42533 $(SHELL) $$s/$$module_srcdir/configure \
42534 --srcdir=$${topdir}/$$module_srcdir \
42535 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42536 --target=${target_alias} \
42537 --with-build-libsubdir=$(HOST_SUBDIR) \
42538 $(STAGEfeedback_CONFIGURE_FLAGS)
42539 @endif target-libvtv-bootstrap
42540
42541 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
42542 maybe-configure-stageautoprofile-target-libvtv:
42543 @if target-libvtv-bootstrap
42544 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42545 configure-stageautoprofile-target-libvtv:
42546 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42547 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42548 @r=`${PWD_COMMAND}`; export r; \
42549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42550 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42551 echo "Checking multilib configuration for libvtv..."; \
42552 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42553 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42554 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42555 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42556 else \
42557 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42558 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42559 fi; \
42560 else \
42561 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42562 fi; \
42563 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42564 $(RAW_CXX_TARGET_EXPORTS) \
42565 \
42566 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42567 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42568 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42569 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
42570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42571 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42572 case $(srcdir) in \
42573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42574 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42576 esac; \
42577 module_srcdir=libvtv; \
42578 $(SHELL) $$s/$$module_srcdir/configure \
42579 --srcdir=$${topdir}/$$module_srcdir \
42580 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42581 --target=${target_alias} \
42582 --with-build-libsubdir=$(HOST_SUBDIR) \
42583 $(STAGEautoprofile_CONFIGURE_FLAGS)
42584 @endif target-libvtv-bootstrap
42585
42586 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
42587 maybe-configure-stageautofeedback-target-libvtv:
42588 @if target-libvtv-bootstrap
42589 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
42590 configure-stageautofeedback-target-libvtv:
42591 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42592 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
42593 @r=`${PWD_COMMAND}`; export r; \
42594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42595 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42596 echo "Checking multilib configuration for libvtv..."; \
42597 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
42598 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42599 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
42600 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
42601 else \
42602 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
42603 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42604 fi; \
42605 else \
42606 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
42607 fi; \
42608 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
42609 $(RAW_CXX_TARGET_EXPORTS) \
42610 \
42611 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42612 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42613 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42614 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
42615 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
42616 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
42617 case $(srcdir) in \
42618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42619 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
42620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42621 esac; \
42622 module_srcdir=libvtv; \
42623 $(SHELL) $$s/$$module_srcdir/configure \
42624 --srcdir=$${topdir}/$$module_srcdir \
42625 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42626 --target=${target_alias} \
42627 --with-build-libsubdir=$(HOST_SUBDIR) \
42628 $(STAGEautofeedback_CONFIGURE_FLAGS)
42629 @endif target-libvtv-bootstrap
42630
42631
42632
42633
42634
42635 .PHONY: all-target-libvtv maybe-all-target-libvtv
42636 maybe-all-target-libvtv:
42637 @if gcc-bootstrap
42638 all-target-libvtv: stage_current
42639 @endif gcc-bootstrap
42640 @if target-libvtv
42641 TARGET-target-libvtv=all
42642 maybe-all-target-libvtv: all-target-libvtv
42643 all-target-libvtv: configure-target-libvtv
42644 @r=`${PWD_COMMAND}`; export r; \
42645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42646 $(RAW_CXX_TARGET_EXPORTS) \
42647 (cd $(TARGET_SUBDIR)/libvtv && \
42648 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42649 $(TARGET-target-libvtv))
42650 @endif target-libvtv
42651
42652
42653
42654 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
42655 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
42656 maybe-all-stage1-target-libvtv:
42657 maybe-clean-stage1-target-libvtv:
42658 @if target-libvtv-bootstrap
42659 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
42660 all-stage1: all-stage1-target-libvtv
42661 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
42662 all-stage1-target-libvtv: configure-stage1-target-libvtv
42663 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42664 @r=`${PWD_COMMAND}`; export r; \
42665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42666 TFLAGS="$(STAGE1_TFLAGS)"; \
42667 $(RAW_CXX_TARGET_EXPORTS) \
42668 cd $(TARGET_SUBDIR)/libvtv && \
42669 \
42670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42671 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42672 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42673 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42677 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42678 \
42679 TFLAGS="$(STAGE1_TFLAGS)" \
42680 $(TARGET-stage1-target-libvtv)
42681
42682 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
42683 clean-stage1: clean-stage1-target-libvtv
42684 clean-stage1-target-libvtv:
42685 @if [ $(current_stage) = stage1 ]; then \
42686 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42687 else \
42688 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
42689 $(MAKE) stage1-start; \
42690 fi; \
42691 cd $(TARGET_SUBDIR)/libvtv && \
42692 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42693 clean
42694 @endif target-libvtv-bootstrap
42695
42696
42697 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
42698 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
42699 maybe-all-stage2-target-libvtv:
42700 maybe-clean-stage2-target-libvtv:
42701 @if target-libvtv-bootstrap
42702 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
42703 all-stage2: all-stage2-target-libvtv
42704 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
42705 all-stage2-target-libvtv: configure-stage2-target-libvtv
42706 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42707 @r=`${PWD_COMMAND}`; export r; \
42708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42709 TFLAGS="$(STAGE2_TFLAGS)"; \
42710 $(RAW_CXX_TARGET_EXPORTS) \
42711 \
42712 cd $(TARGET_SUBDIR)/libvtv && \
42713 \
42714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42715 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42716 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42717 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42721 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42722 TFLAGS="$(STAGE2_TFLAGS)" \
42723 $(TARGET-stage2-target-libvtv)
42724
42725 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
42726 clean-stage2: clean-stage2-target-libvtv
42727 clean-stage2-target-libvtv:
42728 @if [ $(current_stage) = stage2 ]; then \
42729 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42730 else \
42731 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
42732 $(MAKE) stage2-start; \
42733 fi; \
42734 cd $(TARGET_SUBDIR)/libvtv && \
42735 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42736 @endif target-libvtv-bootstrap
42737
42738
42739 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
42740 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
42741 maybe-all-stage3-target-libvtv:
42742 maybe-clean-stage3-target-libvtv:
42743 @if target-libvtv-bootstrap
42744 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
42745 all-stage3: all-stage3-target-libvtv
42746 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
42747 all-stage3-target-libvtv: configure-stage3-target-libvtv
42748 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42749 @r=`${PWD_COMMAND}`; export r; \
42750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42751 TFLAGS="$(STAGE3_TFLAGS)"; \
42752 $(RAW_CXX_TARGET_EXPORTS) \
42753 \
42754 cd $(TARGET_SUBDIR)/libvtv && \
42755 \
42756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42757 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42758 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42759 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42763 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42764 TFLAGS="$(STAGE3_TFLAGS)" \
42765 $(TARGET-stage3-target-libvtv)
42766
42767 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
42768 clean-stage3: clean-stage3-target-libvtv
42769 clean-stage3-target-libvtv:
42770 @if [ $(current_stage) = stage3 ]; then \
42771 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42772 else \
42773 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
42774 $(MAKE) stage3-start; \
42775 fi; \
42776 cd $(TARGET_SUBDIR)/libvtv && \
42777 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42778 @endif target-libvtv-bootstrap
42779
42780
42781 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
42782 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
42783 maybe-all-stage4-target-libvtv:
42784 maybe-clean-stage4-target-libvtv:
42785 @if target-libvtv-bootstrap
42786 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
42787 all-stage4: all-stage4-target-libvtv
42788 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
42789 all-stage4-target-libvtv: configure-stage4-target-libvtv
42790 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42791 @r=`${PWD_COMMAND}`; export r; \
42792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42793 TFLAGS="$(STAGE4_TFLAGS)"; \
42794 $(RAW_CXX_TARGET_EXPORTS) \
42795 \
42796 cd $(TARGET_SUBDIR)/libvtv && \
42797 \
42798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42799 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42800 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42801 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42805 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42806 TFLAGS="$(STAGE4_TFLAGS)" \
42807 $(TARGET-stage4-target-libvtv)
42808
42809 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
42810 clean-stage4: clean-stage4-target-libvtv
42811 clean-stage4-target-libvtv:
42812 @if [ $(current_stage) = stage4 ]; then \
42813 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42814 else \
42815 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
42816 $(MAKE) stage4-start; \
42817 fi; \
42818 cd $(TARGET_SUBDIR)/libvtv && \
42819 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42820 @endif target-libvtv-bootstrap
42821
42822
42823 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
42824 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
42825 maybe-all-stageprofile-target-libvtv:
42826 maybe-clean-stageprofile-target-libvtv:
42827 @if target-libvtv-bootstrap
42828 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
42829 all-stageprofile: all-stageprofile-target-libvtv
42830 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
42831 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
42832 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42833 @r=`${PWD_COMMAND}`; export r; \
42834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42835 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42836 $(RAW_CXX_TARGET_EXPORTS) \
42837 \
42838 cd $(TARGET_SUBDIR)/libvtv && \
42839 \
42840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42841 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42842 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42843 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42847 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42848 TFLAGS="$(STAGEprofile_TFLAGS)" \
42849 $(TARGET-stageprofile-target-libvtv)
42850
42851 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
42852 clean-stageprofile: clean-stageprofile-target-libvtv
42853 clean-stageprofile-target-libvtv:
42854 @if [ $(current_stage) = stageprofile ]; then \
42855 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42856 else \
42857 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
42858 $(MAKE) stageprofile-start; \
42859 fi; \
42860 cd $(TARGET_SUBDIR)/libvtv && \
42861 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42862 @endif target-libvtv-bootstrap
42863
42864
42865 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
42866 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
42867 maybe-all-stagetrain-target-libvtv:
42868 maybe-clean-stagetrain-target-libvtv:
42869 @if target-libvtv-bootstrap
42870 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
42871 all-stagetrain: all-stagetrain-target-libvtv
42872 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
42873 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
42874 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42875 @r=`${PWD_COMMAND}`; export r; \
42876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42877 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42878 $(RAW_CXX_TARGET_EXPORTS) \
42879 \
42880 cd $(TARGET_SUBDIR)/libvtv && \
42881 \
42882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42883 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42884 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42885 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42889 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42890 TFLAGS="$(STAGEtrain_TFLAGS)" \
42891 $(TARGET-stagetrain-target-libvtv)
42892
42893 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
42894 clean-stagetrain: clean-stagetrain-target-libvtv
42895 clean-stagetrain-target-libvtv:
42896 @if [ $(current_stage) = stagetrain ]; then \
42897 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42898 else \
42899 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
42900 $(MAKE) stagetrain-start; \
42901 fi; \
42902 cd $(TARGET_SUBDIR)/libvtv && \
42903 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42904 @endif target-libvtv-bootstrap
42905
42906
42907 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
42908 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
42909 maybe-all-stagefeedback-target-libvtv:
42910 maybe-clean-stagefeedback-target-libvtv:
42911 @if target-libvtv-bootstrap
42912 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
42913 all-stagefeedback: all-stagefeedback-target-libvtv
42914 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
42915 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
42916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42917 @r=`${PWD_COMMAND}`; export r; \
42918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42919 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42920 $(RAW_CXX_TARGET_EXPORTS) \
42921 \
42922 cd $(TARGET_SUBDIR)/libvtv && \
42923 \
42924 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42925 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42926 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42927 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42928 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42929 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42930 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42931 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42932 TFLAGS="$(STAGEfeedback_TFLAGS)" \
42933 $(TARGET-stagefeedback-target-libvtv)
42934
42935 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
42936 clean-stagefeedback: clean-stagefeedback-target-libvtv
42937 clean-stagefeedback-target-libvtv:
42938 @if [ $(current_stage) = stagefeedback ]; then \
42939 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42940 else \
42941 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
42942 $(MAKE) stagefeedback-start; \
42943 fi; \
42944 cd $(TARGET_SUBDIR)/libvtv && \
42945 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42946 @endif target-libvtv-bootstrap
42947
42948
42949 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
42950 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
42951 maybe-all-stageautoprofile-target-libvtv:
42952 maybe-clean-stageautoprofile-target-libvtv:
42953 @if target-libvtv-bootstrap
42954 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
42955 all-stageautoprofile: all-stageautoprofile-target-libvtv
42956 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
42957 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
42958 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42959 @r=`${PWD_COMMAND}`; export r; \
42960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42961 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42962 $(RAW_CXX_TARGET_EXPORTS) \
42963 \
42964 cd $(TARGET_SUBDIR)/libvtv && \
42965 $$s/gcc/config/i386/$(AUTO_PROFILE) \
42966 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42967 CFLAGS="$(CFLAGS_FOR_TARGET)" \
42968 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
42969 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
42970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42973 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42974 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
42975 $(TARGET-stageautoprofile-target-libvtv)
42976
42977 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
42978 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
42979 clean-stageautoprofile-target-libvtv:
42980 @if [ $(current_stage) = stageautoprofile ]; then \
42981 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
42982 else \
42983 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
42984 $(MAKE) stageautoprofile-start; \
42985 fi; \
42986 cd $(TARGET_SUBDIR)/libvtv && \
42987 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
42988 @endif target-libvtv-bootstrap
42989
42990
42991 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
42992 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
42993 maybe-all-stageautofeedback-target-libvtv:
42994 maybe-clean-stageautofeedback-target-libvtv:
42995 @if target-libvtv-bootstrap
42996 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
42997 all-stageautofeedback: all-stageautofeedback-target-libvtv
42998 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
42999 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
43000 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43001 @r=`${PWD_COMMAND}`; export r; \
43002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43003 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43004 $(RAW_CXX_TARGET_EXPORTS) \
43005 \
43006 cd $(TARGET_SUBDIR)/libvtv && \
43007 \
43008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43009 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43010 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43011 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43015 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
43016 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43017 $(TARGET-stageautofeedback-target-libvtv)
43018
43019 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
43020 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
43021 clean-stageautofeedback-target-libvtv:
43022 @if [ $(current_stage) = stageautofeedback ]; then \
43023 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43024 else \
43025 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
43026 $(MAKE) stageautofeedback-start; \
43027 fi; \
43028 cd $(TARGET_SUBDIR)/libvtv && \
43029 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
43030 @endif target-libvtv-bootstrap
43031
43032
43033
43034
43035
43036
43037 .PHONY: check-target-libvtv maybe-check-target-libvtv
43038 maybe-check-target-libvtv:
43039 @if target-libvtv
43040 maybe-check-target-libvtv: check-target-libvtv
43041
43042 check-target-libvtv:
43043 @: $(MAKE); $(unstage)
43044 @r=`${PWD_COMMAND}`; export r; \
43045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43046 $(RAW_CXX_TARGET_EXPORTS) \
43047 (cd $(TARGET_SUBDIR)/libvtv && \
43048 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43049
43050 @endif target-libvtv
43051
43052 .PHONY: install-target-libvtv maybe-install-target-libvtv
43053 maybe-install-target-libvtv:
43054 @if target-libvtv
43055 maybe-install-target-libvtv: install-target-libvtv
43056
43057 install-target-libvtv: installdirs
43058 @: $(MAKE); $(unstage)
43059 @r=`${PWD_COMMAND}`; export r; \
43060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43061 $(RAW_CXX_TARGET_EXPORTS) \
43062 (cd $(TARGET_SUBDIR)/libvtv && \
43063 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43064
43065 @endif target-libvtv
43066
43067 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
43068 maybe-install-strip-target-libvtv:
43069 @if target-libvtv
43070 maybe-install-strip-target-libvtv: install-strip-target-libvtv
43071
43072 install-strip-target-libvtv: installdirs
43073 @: $(MAKE); $(unstage)
43074 @r=`${PWD_COMMAND}`; export r; \
43075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43076 $(RAW_CXX_TARGET_EXPORTS) \
43077 (cd $(TARGET_SUBDIR)/libvtv && \
43078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43079
43080 @endif target-libvtv
43081
43082 # Other targets (info, dvi, pdf, etc.)
43083
43084 .PHONY: maybe-info-target-libvtv info-target-libvtv
43085 maybe-info-target-libvtv:
43086 @if target-libvtv
43087 maybe-info-target-libvtv: info-target-libvtv
43088
43089 info-target-libvtv: \
43090 configure-target-libvtv
43091 @: $(MAKE); $(unstage)
43092 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43093 r=`${PWD_COMMAND}`; export r; \
43094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43095 $(RAW_CXX_TARGET_EXPORTS) \
43096 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
43097 for flag in $(EXTRA_TARGET_FLAGS); do \
43098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43099 done; \
43100 (cd $(TARGET_SUBDIR)/libvtv && \
43101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43103 "RANLIB=$${RANLIB}" \
43104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43105 info) \
43106 || exit 1
43107
43108 @endif target-libvtv
43109
43110 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
43111 maybe-dvi-target-libvtv:
43112 @if target-libvtv
43113 maybe-dvi-target-libvtv: dvi-target-libvtv
43114
43115 dvi-target-libvtv: \
43116 configure-target-libvtv
43117 @: $(MAKE); $(unstage)
43118 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43119 r=`${PWD_COMMAND}`; export r; \
43120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43121 $(RAW_CXX_TARGET_EXPORTS) \
43122 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
43123 for flag in $(EXTRA_TARGET_FLAGS); do \
43124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43125 done; \
43126 (cd $(TARGET_SUBDIR)/libvtv && \
43127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43129 "RANLIB=$${RANLIB}" \
43130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43131 dvi) \
43132 || exit 1
43133
43134 @endif target-libvtv
43135
43136 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
43137 maybe-pdf-target-libvtv:
43138 @if target-libvtv
43139 maybe-pdf-target-libvtv: pdf-target-libvtv
43140
43141 pdf-target-libvtv: \
43142 configure-target-libvtv
43143 @: $(MAKE); $(unstage)
43144 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43145 r=`${PWD_COMMAND}`; export r; \
43146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43147 $(RAW_CXX_TARGET_EXPORTS) \
43148 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
43149 for flag in $(EXTRA_TARGET_FLAGS); do \
43150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43151 done; \
43152 (cd $(TARGET_SUBDIR)/libvtv && \
43153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43155 "RANLIB=$${RANLIB}" \
43156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43157 pdf) \
43158 || exit 1
43159
43160 @endif target-libvtv
43161
43162 .PHONY: maybe-html-target-libvtv html-target-libvtv
43163 maybe-html-target-libvtv:
43164 @if target-libvtv
43165 maybe-html-target-libvtv: html-target-libvtv
43166
43167 html-target-libvtv: \
43168 configure-target-libvtv
43169 @: $(MAKE); $(unstage)
43170 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43171 r=`${PWD_COMMAND}`; export r; \
43172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43173 $(RAW_CXX_TARGET_EXPORTS) \
43174 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
43175 for flag in $(EXTRA_TARGET_FLAGS); do \
43176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43177 done; \
43178 (cd $(TARGET_SUBDIR)/libvtv && \
43179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43181 "RANLIB=$${RANLIB}" \
43182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43183 html) \
43184 || exit 1
43185
43186 @endif target-libvtv
43187
43188 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
43189 maybe-TAGS-target-libvtv:
43190 @if target-libvtv
43191 maybe-TAGS-target-libvtv: TAGS-target-libvtv
43192
43193 TAGS-target-libvtv: \
43194 configure-target-libvtv
43195 @: $(MAKE); $(unstage)
43196 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43197 r=`${PWD_COMMAND}`; export r; \
43198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43199 $(RAW_CXX_TARGET_EXPORTS) \
43200 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
43201 for flag in $(EXTRA_TARGET_FLAGS); do \
43202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43203 done; \
43204 (cd $(TARGET_SUBDIR)/libvtv && \
43205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43207 "RANLIB=$${RANLIB}" \
43208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43209 TAGS) \
43210 || exit 1
43211
43212 @endif target-libvtv
43213
43214 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
43215 maybe-install-info-target-libvtv:
43216 @if target-libvtv
43217 maybe-install-info-target-libvtv: install-info-target-libvtv
43218
43219 install-info-target-libvtv: \
43220 configure-target-libvtv \
43221 info-target-libvtv
43222 @: $(MAKE); $(unstage)
43223 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43224 r=`${PWD_COMMAND}`; export r; \
43225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43226 $(RAW_CXX_TARGET_EXPORTS) \
43227 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
43228 for flag in $(EXTRA_TARGET_FLAGS); do \
43229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43230 done; \
43231 (cd $(TARGET_SUBDIR)/libvtv && \
43232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43234 "RANLIB=$${RANLIB}" \
43235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43236 install-info) \
43237 || exit 1
43238
43239 @endif target-libvtv
43240
43241 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
43242 maybe-install-pdf-target-libvtv:
43243 @if target-libvtv
43244 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
43245
43246 install-pdf-target-libvtv: \
43247 configure-target-libvtv \
43248 pdf-target-libvtv
43249 @: $(MAKE); $(unstage)
43250 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43251 r=`${PWD_COMMAND}`; export r; \
43252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43253 $(RAW_CXX_TARGET_EXPORTS) \
43254 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
43255 for flag in $(EXTRA_TARGET_FLAGS); do \
43256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43257 done; \
43258 (cd $(TARGET_SUBDIR)/libvtv && \
43259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43261 "RANLIB=$${RANLIB}" \
43262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43263 install-pdf) \
43264 || exit 1
43265
43266 @endif target-libvtv
43267
43268 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
43269 maybe-install-html-target-libvtv:
43270 @if target-libvtv
43271 maybe-install-html-target-libvtv: install-html-target-libvtv
43272
43273 install-html-target-libvtv: \
43274 configure-target-libvtv \
43275 html-target-libvtv
43276 @: $(MAKE); $(unstage)
43277 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43278 r=`${PWD_COMMAND}`; export r; \
43279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43280 $(RAW_CXX_TARGET_EXPORTS) \
43281 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
43282 for flag in $(EXTRA_TARGET_FLAGS); do \
43283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43284 done; \
43285 (cd $(TARGET_SUBDIR)/libvtv && \
43286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43288 "RANLIB=$${RANLIB}" \
43289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43290 install-html) \
43291 || exit 1
43292
43293 @endif target-libvtv
43294
43295 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
43296 maybe-installcheck-target-libvtv:
43297 @if target-libvtv
43298 maybe-installcheck-target-libvtv: installcheck-target-libvtv
43299
43300 installcheck-target-libvtv: \
43301 configure-target-libvtv
43302 @: $(MAKE); $(unstage)
43303 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43304 r=`${PWD_COMMAND}`; export r; \
43305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43306 $(RAW_CXX_TARGET_EXPORTS) \
43307 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
43308 for flag in $(EXTRA_TARGET_FLAGS); do \
43309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43310 done; \
43311 (cd $(TARGET_SUBDIR)/libvtv && \
43312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43314 "RANLIB=$${RANLIB}" \
43315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43316 installcheck) \
43317 || exit 1
43318
43319 @endif target-libvtv
43320
43321 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
43322 maybe-mostlyclean-target-libvtv:
43323 @if target-libvtv
43324 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
43325
43326 mostlyclean-target-libvtv:
43327 @: $(MAKE); $(unstage)
43328 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43329 r=`${PWD_COMMAND}`; export r; \
43330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43331 $(RAW_CXX_TARGET_EXPORTS) \
43332 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
43333 for flag in $(EXTRA_TARGET_FLAGS); do \
43334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43335 done; \
43336 (cd $(TARGET_SUBDIR)/libvtv && \
43337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43339 "RANLIB=$${RANLIB}" \
43340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43341 mostlyclean) \
43342 || exit 1
43343
43344 @endif target-libvtv
43345
43346 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
43347 maybe-clean-target-libvtv:
43348 @if target-libvtv
43349 maybe-clean-target-libvtv: clean-target-libvtv
43350
43351 clean-target-libvtv:
43352 @: $(MAKE); $(unstage)
43353 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43354 r=`${PWD_COMMAND}`; export r; \
43355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43356 $(RAW_CXX_TARGET_EXPORTS) \
43357 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
43358 for flag in $(EXTRA_TARGET_FLAGS); do \
43359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43360 done; \
43361 (cd $(TARGET_SUBDIR)/libvtv && \
43362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43364 "RANLIB=$${RANLIB}" \
43365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43366 clean) \
43367 || exit 1
43368
43369 @endif target-libvtv
43370
43371 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
43372 maybe-distclean-target-libvtv:
43373 @if target-libvtv
43374 maybe-distclean-target-libvtv: distclean-target-libvtv
43375
43376 distclean-target-libvtv:
43377 @: $(MAKE); $(unstage)
43378 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43379 r=`${PWD_COMMAND}`; export r; \
43380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43381 $(RAW_CXX_TARGET_EXPORTS) \
43382 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
43383 for flag in $(EXTRA_TARGET_FLAGS); do \
43384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43385 done; \
43386 (cd $(TARGET_SUBDIR)/libvtv && \
43387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43389 "RANLIB=$${RANLIB}" \
43390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43391 distclean) \
43392 || exit 1
43393
43394 @endif target-libvtv
43395
43396 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
43397 maybe-maintainer-clean-target-libvtv:
43398 @if target-libvtv
43399 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
43400
43401 maintainer-clean-target-libvtv:
43402 @: $(MAKE); $(unstage)
43403 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
43404 r=`${PWD_COMMAND}`; export r; \
43405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43406 $(RAW_CXX_TARGET_EXPORTS) \
43407 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
43408 for flag in $(EXTRA_TARGET_FLAGS); do \
43409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43410 done; \
43411 (cd $(TARGET_SUBDIR)/libvtv && \
43412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43414 "RANLIB=$${RANLIB}" \
43415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43416 maintainer-clean) \
43417 || exit 1
43418
43419 @endif target-libvtv
43420
43421
43422
43423
43424
43425 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
43426 maybe-configure-target-liboffloadmic:
43427 @if gcc-bootstrap
43428 configure-target-liboffloadmic: stage_current
43429 @endif gcc-bootstrap
43430 @if target-liboffloadmic
43431 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
43432 configure-target-liboffloadmic:
43433 @: $(MAKE); $(unstage)
43434 @r=`${PWD_COMMAND}`; export r; \
43435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43436 echo "Checking multilib configuration for liboffloadmic..."; \
43437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43438 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
43439 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43440 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
43441 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
43442 else \
43443 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
43444 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43445 fi; \
43446 else \
43447 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
43448 fi; \
43449 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
43450 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
43451 $(NORMAL_TARGET_EXPORTS) \
43452 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
43453 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
43454 case $(srcdir) in \
43455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43456 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
43457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43458 esac; \
43459 module_srcdir=liboffloadmic; \
43460 rm -f no-such-file || : ; \
43461 CONFIG_SITE=no-such-file $(SHELL) \
43462 $$s/$$module_srcdir/configure \
43463 --srcdir=$${topdir}/$$module_srcdir \
43464 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43465 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
43466 || exit 1
43467 @endif target-liboffloadmic
43468
43469
43470
43471
43472
43473 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
43474 maybe-all-target-liboffloadmic:
43475 @if gcc-bootstrap
43476 all-target-liboffloadmic: stage_current
43477 @endif gcc-bootstrap
43478 @if target-liboffloadmic
43479 TARGET-target-liboffloadmic=all
43480 maybe-all-target-liboffloadmic: all-target-liboffloadmic
43481 all-target-liboffloadmic: configure-target-liboffloadmic
43482 @: $(MAKE); $(unstage)
43483 @r=`${PWD_COMMAND}`; export r; \
43484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43485 $(NORMAL_TARGET_EXPORTS) \
43486 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43487 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43488 $(TARGET-target-liboffloadmic))
43489 @endif target-liboffloadmic
43490
43491
43492
43493
43494
43495 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
43496 maybe-check-target-liboffloadmic:
43497 @if target-liboffloadmic
43498 maybe-check-target-liboffloadmic: check-target-liboffloadmic
43499
43500 check-target-liboffloadmic:
43501 @: $(MAKE); $(unstage)
43502 @r=`${PWD_COMMAND}`; export r; \
43503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43504 $(NORMAL_TARGET_EXPORTS) \
43505 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43506 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43507
43508 @endif target-liboffloadmic
43509
43510 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
43511 maybe-install-target-liboffloadmic:
43512 @if target-liboffloadmic
43513 maybe-install-target-liboffloadmic: install-target-liboffloadmic
43514
43515 install-target-liboffloadmic: installdirs
43516 @: $(MAKE); $(unstage)
43517 @r=`${PWD_COMMAND}`; export r; \
43518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43519 $(NORMAL_TARGET_EXPORTS) \
43520 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43522
43523 @endif target-liboffloadmic
43524
43525 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
43526 maybe-install-strip-target-liboffloadmic:
43527 @if target-liboffloadmic
43528 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
43529
43530 install-strip-target-liboffloadmic: installdirs
43531 @: $(MAKE); $(unstage)
43532 @r=`${PWD_COMMAND}`; export r; \
43533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43534 $(NORMAL_TARGET_EXPORTS) \
43535 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43536 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43537
43538 @endif target-liboffloadmic
43539
43540 # Other targets (info, dvi, pdf, etc.)
43541
43542 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
43543 maybe-info-target-liboffloadmic:
43544 @if target-liboffloadmic
43545 maybe-info-target-liboffloadmic: info-target-liboffloadmic
43546
43547 info-target-liboffloadmic: \
43548 configure-target-liboffloadmic
43549 @: $(MAKE); $(unstage)
43550 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43551 r=`${PWD_COMMAND}`; export r; \
43552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43553 $(NORMAL_TARGET_EXPORTS) \
43554 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
43555 for flag in $(EXTRA_TARGET_FLAGS); do \
43556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43557 done; \
43558 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43561 "RANLIB=$${RANLIB}" \
43562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43563 info) \
43564 || exit 1
43565
43566 @endif target-liboffloadmic
43567
43568 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
43569 maybe-dvi-target-liboffloadmic:
43570 @if target-liboffloadmic
43571 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
43572
43573 dvi-target-liboffloadmic: \
43574 configure-target-liboffloadmic
43575 @: $(MAKE); $(unstage)
43576 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43577 r=`${PWD_COMMAND}`; export r; \
43578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43579 $(NORMAL_TARGET_EXPORTS) \
43580 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
43581 for flag in $(EXTRA_TARGET_FLAGS); do \
43582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43583 done; \
43584 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43587 "RANLIB=$${RANLIB}" \
43588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43589 dvi) \
43590 || exit 1
43591
43592 @endif target-liboffloadmic
43593
43594 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
43595 maybe-pdf-target-liboffloadmic:
43596 @if target-liboffloadmic
43597 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
43598
43599 pdf-target-liboffloadmic: \
43600 configure-target-liboffloadmic
43601 @: $(MAKE); $(unstage)
43602 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43603 r=`${PWD_COMMAND}`; export r; \
43604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43605 $(NORMAL_TARGET_EXPORTS) \
43606 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43607 for flag in $(EXTRA_TARGET_FLAGS); do \
43608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43609 done; \
43610 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43613 "RANLIB=$${RANLIB}" \
43614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43615 pdf) \
43616 || exit 1
43617
43618 @endif target-liboffloadmic
43619
43620 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
43621 maybe-html-target-liboffloadmic:
43622 @if target-liboffloadmic
43623 maybe-html-target-liboffloadmic: html-target-liboffloadmic
43624
43625 html-target-liboffloadmic: \
43626 configure-target-liboffloadmic
43627 @: $(MAKE); $(unstage)
43628 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43629 r=`${PWD_COMMAND}`; export r; \
43630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43631 $(NORMAL_TARGET_EXPORTS) \
43632 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
43633 for flag in $(EXTRA_TARGET_FLAGS); do \
43634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43635 done; \
43636 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43639 "RANLIB=$${RANLIB}" \
43640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43641 html) \
43642 || exit 1
43643
43644 @endif target-liboffloadmic
43645
43646 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
43647 maybe-TAGS-target-liboffloadmic:
43648 @if target-liboffloadmic
43649 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
43650
43651 TAGS-target-liboffloadmic: \
43652 configure-target-liboffloadmic
43653 @: $(MAKE); $(unstage)
43654 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43655 r=`${PWD_COMMAND}`; export r; \
43656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43657 $(NORMAL_TARGET_EXPORTS) \
43658 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
43659 for flag in $(EXTRA_TARGET_FLAGS); do \
43660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43661 done; \
43662 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43665 "RANLIB=$${RANLIB}" \
43666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43667 TAGS) \
43668 || exit 1
43669
43670 @endif target-liboffloadmic
43671
43672 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
43673 maybe-install-info-target-liboffloadmic:
43674 @if target-liboffloadmic
43675 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
43676
43677 install-info-target-liboffloadmic: \
43678 configure-target-liboffloadmic \
43679 info-target-liboffloadmic
43680 @: $(MAKE); $(unstage)
43681 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43682 r=`${PWD_COMMAND}`; export r; \
43683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43684 $(NORMAL_TARGET_EXPORTS) \
43685 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
43686 for flag in $(EXTRA_TARGET_FLAGS); do \
43687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43688 done; \
43689 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43692 "RANLIB=$${RANLIB}" \
43693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43694 install-info) \
43695 || exit 1
43696
43697 @endif target-liboffloadmic
43698
43699 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
43700 maybe-install-pdf-target-liboffloadmic:
43701 @if target-liboffloadmic
43702 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
43703
43704 install-pdf-target-liboffloadmic: \
43705 configure-target-liboffloadmic \
43706 pdf-target-liboffloadmic
43707 @: $(MAKE); $(unstage)
43708 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43709 r=`${PWD_COMMAND}`; export r; \
43710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43711 $(NORMAL_TARGET_EXPORTS) \
43712 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
43713 for flag in $(EXTRA_TARGET_FLAGS); do \
43714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43715 done; \
43716 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43719 "RANLIB=$${RANLIB}" \
43720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43721 install-pdf) \
43722 || exit 1
43723
43724 @endif target-liboffloadmic
43725
43726 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
43727 maybe-install-html-target-liboffloadmic:
43728 @if target-liboffloadmic
43729 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
43730
43731 install-html-target-liboffloadmic: \
43732 configure-target-liboffloadmic \
43733 html-target-liboffloadmic
43734 @: $(MAKE); $(unstage)
43735 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43736 r=`${PWD_COMMAND}`; export r; \
43737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43738 $(NORMAL_TARGET_EXPORTS) \
43739 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
43740 for flag in $(EXTRA_TARGET_FLAGS); do \
43741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43742 done; \
43743 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43746 "RANLIB=$${RANLIB}" \
43747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43748 install-html) \
43749 || exit 1
43750
43751 @endif target-liboffloadmic
43752
43753 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
43754 maybe-installcheck-target-liboffloadmic:
43755 @if target-liboffloadmic
43756 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
43757
43758 installcheck-target-liboffloadmic: \
43759 configure-target-liboffloadmic
43760 @: $(MAKE); $(unstage)
43761 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43762 r=`${PWD_COMMAND}`; export r; \
43763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43764 $(NORMAL_TARGET_EXPORTS) \
43765 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
43766 for flag in $(EXTRA_TARGET_FLAGS); do \
43767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43768 done; \
43769 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43772 "RANLIB=$${RANLIB}" \
43773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43774 installcheck) \
43775 || exit 1
43776
43777 @endif target-liboffloadmic
43778
43779 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
43780 maybe-mostlyclean-target-liboffloadmic:
43781 @if target-liboffloadmic
43782 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
43783
43784 mostlyclean-target-liboffloadmic:
43785 @: $(MAKE); $(unstage)
43786 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43787 r=`${PWD_COMMAND}`; export r; \
43788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43789 $(NORMAL_TARGET_EXPORTS) \
43790 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43791 for flag in $(EXTRA_TARGET_FLAGS); do \
43792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43793 done; \
43794 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43797 "RANLIB=$${RANLIB}" \
43798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43799 mostlyclean) \
43800 || exit 1
43801
43802 @endif target-liboffloadmic
43803
43804 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
43805 maybe-clean-target-liboffloadmic:
43806 @if target-liboffloadmic
43807 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
43808
43809 clean-target-liboffloadmic:
43810 @: $(MAKE); $(unstage)
43811 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43812 r=`${PWD_COMMAND}`; export r; \
43813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43814 $(NORMAL_TARGET_EXPORTS) \
43815 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43816 for flag in $(EXTRA_TARGET_FLAGS); do \
43817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43818 done; \
43819 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43822 "RANLIB=$${RANLIB}" \
43823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43824 clean) \
43825 || exit 1
43826
43827 @endif target-liboffloadmic
43828
43829 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
43830 maybe-distclean-target-liboffloadmic:
43831 @if target-liboffloadmic
43832 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
43833
43834 distclean-target-liboffloadmic:
43835 @: $(MAKE); $(unstage)
43836 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43837 r=`${PWD_COMMAND}`; export r; \
43838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43839 $(NORMAL_TARGET_EXPORTS) \
43840 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
43841 for flag in $(EXTRA_TARGET_FLAGS); do \
43842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43843 done; \
43844 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43847 "RANLIB=$${RANLIB}" \
43848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43849 distclean) \
43850 || exit 1
43851
43852 @endif target-liboffloadmic
43853
43854 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
43855 maybe-maintainer-clean-target-liboffloadmic:
43856 @if target-liboffloadmic
43857 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
43858
43859 maintainer-clean-target-liboffloadmic:
43860 @: $(MAKE); $(unstage)
43861 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
43862 r=`${PWD_COMMAND}`; export r; \
43863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43864 $(NORMAL_TARGET_EXPORTS) \
43865 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
43866 for flag in $(EXTRA_TARGET_FLAGS); do \
43867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43868 done; \
43869 (cd $(TARGET_SUBDIR)/liboffloadmic && \
43870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43872 "RANLIB=$${RANLIB}" \
43873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43874 maintainer-clean) \
43875 || exit 1
43876
43877 @endif target-liboffloadmic
43878
43879
43880
43881
43882
43883 .PHONY: configure-target-libssp maybe-configure-target-libssp
43884 maybe-configure-target-libssp:
43885 @if gcc-bootstrap
43886 configure-target-libssp: stage_current
43887 @endif gcc-bootstrap
43888 @if target-libssp
43889 maybe-configure-target-libssp: configure-target-libssp
43890 configure-target-libssp:
43891 @: $(MAKE); $(unstage)
43892 @r=`${PWD_COMMAND}`; export r; \
43893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43894 echo "Checking multilib configuration for libssp..."; \
43895 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43896 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
43897 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
43898 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
43899 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
43900 else \
43901 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
43902 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43903 fi; \
43904 else \
43905 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
43906 fi; \
43907 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
43908 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
43909 $(NORMAL_TARGET_EXPORTS) \
43910 echo Configuring in $(TARGET_SUBDIR)/libssp; \
43911 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
43912 case $(srcdir) in \
43913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43914 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
43915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43916 esac; \
43917 module_srcdir=libssp; \
43918 rm -f no-such-file || : ; \
43919 CONFIG_SITE=no-such-file $(SHELL) \
43920 $$s/$$module_srcdir/configure \
43921 --srcdir=$${topdir}/$$module_srcdir \
43922 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43923 --target=${target_alias} \
43924 || exit 1
43925 @endif target-libssp
43926
43927
43928
43929
43930
43931 .PHONY: all-target-libssp maybe-all-target-libssp
43932 maybe-all-target-libssp:
43933 @if gcc-bootstrap
43934 all-target-libssp: stage_current
43935 @endif gcc-bootstrap
43936 @if target-libssp
43937 TARGET-target-libssp=all
43938 maybe-all-target-libssp: all-target-libssp
43939 all-target-libssp: configure-target-libssp
43940 @: $(MAKE); $(unstage)
43941 @r=`${PWD_COMMAND}`; export r; \
43942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43943 $(NORMAL_TARGET_EXPORTS) \
43944 (cd $(TARGET_SUBDIR)/libssp && \
43945 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43946 $(TARGET-target-libssp))
43947 @endif target-libssp
43948
43949
43950
43951
43952
43953 .PHONY: check-target-libssp maybe-check-target-libssp
43954 maybe-check-target-libssp:
43955 @if target-libssp
43956 maybe-check-target-libssp: check-target-libssp
43957
43958 check-target-libssp:
43959 @: $(MAKE); $(unstage)
43960 @r=`${PWD_COMMAND}`; export r; \
43961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43962 $(NORMAL_TARGET_EXPORTS) \
43963 (cd $(TARGET_SUBDIR)/libssp && \
43964 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43965
43966 @endif target-libssp
43967
43968 .PHONY: install-target-libssp maybe-install-target-libssp
43969 maybe-install-target-libssp:
43970 @if target-libssp
43971 maybe-install-target-libssp: install-target-libssp
43972
43973 install-target-libssp: installdirs
43974 @: $(MAKE); $(unstage)
43975 @r=`${PWD_COMMAND}`; export r; \
43976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43977 $(NORMAL_TARGET_EXPORTS) \
43978 (cd $(TARGET_SUBDIR)/libssp && \
43979 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43980
43981 @endif target-libssp
43982
43983 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
43984 maybe-install-strip-target-libssp:
43985 @if target-libssp
43986 maybe-install-strip-target-libssp: install-strip-target-libssp
43987
43988 install-strip-target-libssp: installdirs
43989 @: $(MAKE); $(unstage)
43990 @r=`${PWD_COMMAND}`; export r; \
43991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43992 $(NORMAL_TARGET_EXPORTS) \
43993 (cd $(TARGET_SUBDIR)/libssp && \
43994 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43995
43996 @endif target-libssp
43997
43998 # Other targets (info, dvi, pdf, etc.)
43999
44000 .PHONY: maybe-info-target-libssp info-target-libssp
44001 maybe-info-target-libssp:
44002 @if target-libssp
44003 maybe-info-target-libssp: info-target-libssp
44004
44005 info-target-libssp: \
44006 configure-target-libssp
44007 @: $(MAKE); $(unstage)
44008 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44009 r=`${PWD_COMMAND}`; export r; \
44010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44011 $(NORMAL_TARGET_EXPORTS) \
44012 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
44013 for flag in $(EXTRA_TARGET_FLAGS); do \
44014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44015 done; \
44016 (cd $(TARGET_SUBDIR)/libssp && \
44017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44019 "RANLIB=$${RANLIB}" \
44020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44021 info) \
44022 || exit 1
44023
44024 @endif target-libssp
44025
44026 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
44027 maybe-dvi-target-libssp:
44028 @if target-libssp
44029 maybe-dvi-target-libssp: dvi-target-libssp
44030
44031 dvi-target-libssp: \
44032 configure-target-libssp
44033 @: $(MAKE); $(unstage)
44034 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44035 r=`${PWD_COMMAND}`; export r; \
44036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44037 $(NORMAL_TARGET_EXPORTS) \
44038 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
44039 for flag in $(EXTRA_TARGET_FLAGS); do \
44040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44041 done; \
44042 (cd $(TARGET_SUBDIR)/libssp && \
44043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44045 "RANLIB=$${RANLIB}" \
44046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44047 dvi) \
44048 || exit 1
44049
44050 @endif target-libssp
44051
44052 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
44053 maybe-pdf-target-libssp:
44054 @if target-libssp
44055 maybe-pdf-target-libssp: pdf-target-libssp
44056
44057 pdf-target-libssp: \
44058 configure-target-libssp
44059 @: $(MAKE); $(unstage)
44060 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44061 r=`${PWD_COMMAND}`; export r; \
44062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44063 $(NORMAL_TARGET_EXPORTS) \
44064 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
44065 for flag in $(EXTRA_TARGET_FLAGS); do \
44066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44067 done; \
44068 (cd $(TARGET_SUBDIR)/libssp && \
44069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44071 "RANLIB=$${RANLIB}" \
44072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44073 pdf) \
44074 || exit 1
44075
44076 @endif target-libssp
44077
44078 .PHONY: maybe-html-target-libssp html-target-libssp
44079 maybe-html-target-libssp:
44080 @if target-libssp
44081 maybe-html-target-libssp: html-target-libssp
44082
44083 html-target-libssp: \
44084 configure-target-libssp
44085 @: $(MAKE); $(unstage)
44086 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44087 r=`${PWD_COMMAND}`; export r; \
44088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44089 $(NORMAL_TARGET_EXPORTS) \
44090 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
44091 for flag in $(EXTRA_TARGET_FLAGS); do \
44092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44093 done; \
44094 (cd $(TARGET_SUBDIR)/libssp && \
44095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44097 "RANLIB=$${RANLIB}" \
44098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44099 html) \
44100 || exit 1
44101
44102 @endif target-libssp
44103
44104 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
44105 maybe-TAGS-target-libssp:
44106 @if target-libssp
44107 maybe-TAGS-target-libssp: TAGS-target-libssp
44108
44109 TAGS-target-libssp: \
44110 configure-target-libssp
44111 @: $(MAKE); $(unstage)
44112 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44113 r=`${PWD_COMMAND}`; export r; \
44114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44115 $(NORMAL_TARGET_EXPORTS) \
44116 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
44117 for flag in $(EXTRA_TARGET_FLAGS); do \
44118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44119 done; \
44120 (cd $(TARGET_SUBDIR)/libssp && \
44121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44123 "RANLIB=$${RANLIB}" \
44124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44125 TAGS) \
44126 || exit 1
44127
44128 @endif target-libssp
44129
44130 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
44131 maybe-install-info-target-libssp:
44132 @if target-libssp
44133 maybe-install-info-target-libssp: install-info-target-libssp
44134
44135 install-info-target-libssp: \
44136 configure-target-libssp \
44137 info-target-libssp
44138 @: $(MAKE); $(unstage)
44139 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44140 r=`${PWD_COMMAND}`; export r; \
44141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44142 $(NORMAL_TARGET_EXPORTS) \
44143 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
44144 for flag in $(EXTRA_TARGET_FLAGS); do \
44145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44146 done; \
44147 (cd $(TARGET_SUBDIR)/libssp && \
44148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44150 "RANLIB=$${RANLIB}" \
44151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44152 install-info) \
44153 || exit 1
44154
44155 @endif target-libssp
44156
44157 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
44158 maybe-install-pdf-target-libssp:
44159 @if target-libssp
44160 maybe-install-pdf-target-libssp: install-pdf-target-libssp
44161
44162 install-pdf-target-libssp: \
44163 configure-target-libssp \
44164 pdf-target-libssp
44165 @: $(MAKE); $(unstage)
44166 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44167 r=`${PWD_COMMAND}`; export r; \
44168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44169 $(NORMAL_TARGET_EXPORTS) \
44170 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
44171 for flag in $(EXTRA_TARGET_FLAGS); do \
44172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44173 done; \
44174 (cd $(TARGET_SUBDIR)/libssp && \
44175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44177 "RANLIB=$${RANLIB}" \
44178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44179 install-pdf) \
44180 || exit 1
44181
44182 @endif target-libssp
44183
44184 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
44185 maybe-install-html-target-libssp:
44186 @if target-libssp
44187 maybe-install-html-target-libssp: install-html-target-libssp
44188
44189 install-html-target-libssp: \
44190 configure-target-libssp \
44191 html-target-libssp
44192 @: $(MAKE); $(unstage)
44193 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44194 r=`${PWD_COMMAND}`; export r; \
44195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44196 $(NORMAL_TARGET_EXPORTS) \
44197 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
44198 for flag in $(EXTRA_TARGET_FLAGS); do \
44199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44200 done; \
44201 (cd $(TARGET_SUBDIR)/libssp && \
44202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44204 "RANLIB=$${RANLIB}" \
44205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44206 install-html) \
44207 || exit 1
44208
44209 @endif target-libssp
44210
44211 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
44212 maybe-installcheck-target-libssp:
44213 @if target-libssp
44214 maybe-installcheck-target-libssp: installcheck-target-libssp
44215
44216 installcheck-target-libssp: \
44217 configure-target-libssp
44218 @: $(MAKE); $(unstage)
44219 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44220 r=`${PWD_COMMAND}`; export r; \
44221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44222 $(NORMAL_TARGET_EXPORTS) \
44223 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
44224 for flag in $(EXTRA_TARGET_FLAGS); do \
44225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44226 done; \
44227 (cd $(TARGET_SUBDIR)/libssp && \
44228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44230 "RANLIB=$${RANLIB}" \
44231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44232 installcheck) \
44233 || exit 1
44234
44235 @endif target-libssp
44236
44237 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
44238 maybe-mostlyclean-target-libssp:
44239 @if target-libssp
44240 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
44241
44242 mostlyclean-target-libssp:
44243 @: $(MAKE); $(unstage)
44244 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44245 r=`${PWD_COMMAND}`; export r; \
44246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44247 $(NORMAL_TARGET_EXPORTS) \
44248 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
44249 for flag in $(EXTRA_TARGET_FLAGS); do \
44250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44251 done; \
44252 (cd $(TARGET_SUBDIR)/libssp && \
44253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44255 "RANLIB=$${RANLIB}" \
44256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44257 mostlyclean) \
44258 || exit 1
44259
44260 @endif target-libssp
44261
44262 .PHONY: maybe-clean-target-libssp clean-target-libssp
44263 maybe-clean-target-libssp:
44264 @if target-libssp
44265 maybe-clean-target-libssp: clean-target-libssp
44266
44267 clean-target-libssp:
44268 @: $(MAKE); $(unstage)
44269 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44270 r=`${PWD_COMMAND}`; export r; \
44271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44272 $(NORMAL_TARGET_EXPORTS) \
44273 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
44274 for flag in $(EXTRA_TARGET_FLAGS); do \
44275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44276 done; \
44277 (cd $(TARGET_SUBDIR)/libssp && \
44278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44280 "RANLIB=$${RANLIB}" \
44281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44282 clean) \
44283 || exit 1
44284
44285 @endif target-libssp
44286
44287 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
44288 maybe-distclean-target-libssp:
44289 @if target-libssp
44290 maybe-distclean-target-libssp: distclean-target-libssp
44291
44292 distclean-target-libssp:
44293 @: $(MAKE); $(unstage)
44294 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44295 r=`${PWD_COMMAND}`; export r; \
44296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44297 $(NORMAL_TARGET_EXPORTS) \
44298 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
44299 for flag in $(EXTRA_TARGET_FLAGS); do \
44300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44301 done; \
44302 (cd $(TARGET_SUBDIR)/libssp && \
44303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44305 "RANLIB=$${RANLIB}" \
44306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44307 distclean) \
44308 || exit 1
44309
44310 @endif target-libssp
44311
44312 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
44313 maybe-maintainer-clean-target-libssp:
44314 @if target-libssp
44315 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
44316
44317 maintainer-clean-target-libssp:
44318 @: $(MAKE); $(unstage)
44319 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
44320 r=`${PWD_COMMAND}`; export r; \
44321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44322 $(NORMAL_TARGET_EXPORTS) \
44323 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
44324 for flag in $(EXTRA_TARGET_FLAGS); do \
44325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44326 done; \
44327 (cd $(TARGET_SUBDIR)/libssp && \
44328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44330 "RANLIB=$${RANLIB}" \
44331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44332 maintainer-clean) \
44333 || exit 1
44334
44335 @endif target-libssp
44336
44337
44338
44339
44340
44341 .PHONY: configure-target-newlib maybe-configure-target-newlib
44342 maybe-configure-target-newlib:
44343 @if gcc-bootstrap
44344 configure-target-newlib: stage_current
44345 @endif gcc-bootstrap
44346 @if target-newlib
44347 maybe-configure-target-newlib: configure-target-newlib
44348 configure-target-newlib:
44349 @: $(MAKE); $(unstage)
44350 @r=`${PWD_COMMAND}`; export r; \
44351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44352 echo "Checking multilib configuration for newlib..."; \
44353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
44355 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
44356 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
44357 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
44358 else \
44359 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
44360 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44361 fi; \
44362 else \
44363 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
44364 fi; \
44365 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
44366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
44367 $(NORMAL_TARGET_EXPORTS) \
44368 echo Configuring in $(TARGET_SUBDIR)/newlib; \
44369 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
44370 case $(srcdir) in \
44371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44372 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
44373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44374 esac; \
44375 module_srcdir=newlib; \
44376 rm -f no-such-file || : ; \
44377 CONFIG_SITE=no-such-file $(SHELL) \
44378 $$s/$$module_srcdir/configure \
44379 --srcdir=$${topdir}/$$module_srcdir \
44380 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44381 --target=${target_alias} \
44382 || exit 1
44383 @endif target-newlib
44384
44385
44386
44387
44388
44389 .PHONY: all-target-newlib maybe-all-target-newlib
44390 maybe-all-target-newlib:
44391 @if gcc-bootstrap
44392 all-target-newlib: stage_current
44393 @endif gcc-bootstrap
44394 @if target-newlib
44395 TARGET-target-newlib=all
44396 maybe-all-target-newlib: all-target-newlib
44397 all-target-newlib: configure-target-newlib
44398 @: $(MAKE); $(unstage)
44399 @r=`${PWD_COMMAND}`; export r; \
44400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44401 $(NORMAL_TARGET_EXPORTS) \
44402 (cd $(TARGET_SUBDIR)/newlib && \
44403 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44404 $(TARGET-target-newlib))
44405 @endif target-newlib
44406
44407
44408
44409
44410
44411 .PHONY: check-target-newlib maybe-check-target-newlib
44412 maybe-check-target-newlib:
44413 @if target-newlib
44414 maybe-check-target-newlib: check-target-newlib
44415
44416 check-target-newlib:
44417 @: $(MAKE); $(unstage)
44418 @r=`${PWD_COMMAND}`; export r; \
44419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44420 $(NORMAL_TARGET_EXPORTS) \
44421 (cd $(TARGET_SUBDIR)/newlib && \
44422 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44423
44424 @endif target-newlib
44425
44426 .PHONY: install-target-newlib maybe-install-target-newlib
44427 maybe-install-target-newlib:
44428 @if target-newlib
44429 maybe-install-target-newlib: install-target-newlib
44430
44431 install-target-newlib: installdirs
44432 @: $(MAKE); $(unstage)
44433 @r=`${PWD_COMMAND}`; export r; \
44434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44435 $(NORMAL_TARGET_EXPORTS) \
44436 (cd $(TARGET_SUBDIR)/newlib && \
44437 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44438
44439 @endif target-newlib
44440
44441 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
44442 maybe-install-strip-target-newlib:
44443 @if target-newlib
44444 maybe-install-strip-target-newlib: install-strip-target-newlib
44445
44446 install-strip-target-newlib: installdirs
44447 @: $(MAKE); $(unstage)
44448 @r=`${PWD_COMMAND}`; export r; \
44449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44450 $(NORMAL_TARGET_EXPORTS) \
44451 (cd $(TARGET_SUBDIR)/newlib && \
44452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44453
44454 @endif target-newlib
44455
44456 # Other targets (info, dvi, pdf, etc.)
44457
44458 .PHONY: maybe-info-target-newlib info-target-newlib
44459 maybe-info-target-newlib:
44460 @if target-newlib
44461 maybe-info-target-newlib: info-target-newlib
44462
44463 info-target-newlib: \
44464 configure-target-newlib
44465 @: $(MAKE); $(unstage)
44466 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44467 r=`${PWD_COMMAND}`; export r; \
44468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44469 $(NORMAL_TARGET_EXPORTS) \
44470 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
44471 for flag in $(EXTRA_TARGET_FLAGS); do \
44472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44473 done; \
44474 (cd $(TARGET_SUBDIR)/newlib && \
44475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44477 "RANLIB=$${RANLIB}" \
44478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44479 info) \
44480 || exit 1
44481
44482 @endif target-newlib
44483
44484 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
44485 maybe-dvi-target-newlib:
44486 @if target-newlib
44487 maybe-dvi-target-newlib: dvi-target-newlib
44488
44489 dvi-target-newlib: \
44490 configure-target-newlib
44491 @: $(MAKE); $(unstage)
44492 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44493 r=`${PWD_COMMAND}`; export r; \
44494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44495 $(NORMAL_TARGET_EXPORTS) \
44496 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
44497 for flag in $(EXTRA_TARGET_FLAGS); do \
44498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44499 done; \
44500 (cd $(TARGET_SUBDIR)/newlib && \
44501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44503 "RANLIB=$${RANLIB}" \
44504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44505 dvi) \
44506 || exit 1
44507
44508 @endif target-newlib
44509
44510 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
44511 maybe-pdf-target-newlib:
44512 @if target-newlib
44513 maybe-pdf-target-newlib: pdf-target-newlib
44514
44515 pdf-target-newlib: \
44516 configure-target-newlib
44517 @: $(MAKE); $(unstage)
44518 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44519 r=`${PWD_COMMAND}`; export r; \
44520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44521 $(NORMAL_TARGET_EXPORTS) \
44522 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
44523 for flag in $(EXTRA_TARGET_FLAGS); do \
44524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44525 done; \
44526 (cd $(TARGET_SUBDIR)/newlib && \
44527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44529 "RANLIB=$${RANLIB}" \
44530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44531 pdf) \
44532 || exit 1
44533
44534 @endif target-newlib
44535
44536 .PHONY: maybe-html-target-newlib html-target-newlib
44537 maybe-html-target-newlib:
44538 @if target-newlib
44539 maybe-html-target-newlib: html-target-newlib
44540
44541 html-target-newlib: \
44542 configure-target-newlib
44543 @: $(MAKE); $(unstage)
44544 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44545 r=`${PWD_COMMAND}`; export r; \
44546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44547 $(NORMAL_TARGET_EXPORTS) \
44548 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
44549 for flag in $(EXTRA_TARGET_FLAGS); do \
44550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44551 done; \
44552 (cd $(TARGET_SUBDIR)/newlib && \
44553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44555 "RANLIB=$${RANLIB}" \
44556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44557 html) \
44558 || exit 1
44559
44560 @endif target-newlib
44561
44562 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
44563 maybe-TAGS-target-newlib:
44564 @if target-newlib
44565 maybe-TAGS-target-newlib: TAGS-target-newlib
44566
44567 TAGS-target-newlib: \
44568 configure-target-newlib
44569 @: $(MAKE); $(unstage)
44570 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44571 r=`${PWD_COMMAND}`; export r; \
44572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44573 $(NORMAL_TARGET_EXPORTS) \
44574 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
44575 for flag in $(EXTRA_TARGET_FLAGS); do \
44576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44577 done; \
44578 (cd $(TARGET_SUBDIR)/newlib && \
44579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44581 "RANLIB=$${RANLIB}" \
44582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44583 TAGS) \
44584 || exit 1
44585
44586 @endif target-newlib
44587
44588 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
44589 maybe-install-info-target-newlib:
44590 @if target-newlib
44591 maybe-install-info-target-newlib: install-info-target-newlib
44592
44593 install-info-target-newlib: \
44594 configure-target-newlib \
44595 info-target-newlib
44596 @: $(MAKE); $(unstage)
44597 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44598 r=`${PWD_COMMAND}`; export r; \
44599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44600 $(NORMAL_TARGET_EXPORTS) \
44601 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
44602 for flag in $(EXTRA_TARGET_FLAGS); do \
44603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44604 done; \
44605 (cd $(TARGET_SUBDIR)/newlib && \
44606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44608 "RANLIB=$${RANLIB}" \
44609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44610 install-info) \
44611 || exit 1
44612
44613 @endif target-newlib
44614
44615 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
44616 maybe-install-pdf-target-newlib:
44617 @if target-newlib
44618 maybe-install-pdf-target-newlib: install-pdf-target-newlib
44619
44620 install-pdf-target-newlib: \
44621 configure-target-newlib \
44622 pdf-target-newlib
44623 @: $(MAKE); $(unstage)
44624 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44625 r=`${PWD_COMMAND}`; export r; \
44626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44627 $(NORMAL_TARGET_EXPORTS) \
44628 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
44629 for flag in $(EXTRA_TARGET_FLAGS); do \
44630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44631 done; \
44632 (cd $(TARGET_SUBDIR)/newlib && \
44633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44635 "RANLIB=$${RANLIB}" \
44636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44637 install-pdf) \
44638 || exit 1
44639
44640 @endif target-newlib
44641
44642 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
44643 maybe-install-html-target-newlib:
44644 @if target-newlib
44645 maybe-install-html-target-newlib: install-html-target-newlib
44646
44647 install-html-target-newlib: \
44648 configure-target-newlib \
44649 html-target-newlib
44650 @: $(MAKE); $(unstage)
44651 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44652 r=`${PWD_COMMAND}`; export r; \
44653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44654 $(NORMAL_TARGET_EXPORTS) \
44655 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
44656 for flag in $(EXTRA_TARGET_FLAGS); do \
44657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44658 done; \
44659 (cd $(TARGET_SUBDIR)/newlib && \
44660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44662 "RANLIB=$${RANLIB}" \
44663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44664 install-html) \
44665 || exit 1
44666
44667 @endif target-newlib
44668
44669 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
44670 maybe-installcheck-target-newlib:
44671 @if target-newlib
44672 maybe-installcheck-target-newlib: installcheck-target-newlib
44673
44674 installcheck-target-newlib: \
44675 configure-target-newlib
44676 @: $(MAKE); $(unstage)
44677 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44678 r=`${PWD_COMMAND}`; export r; \
44679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44680 $(NORMAL_TARGET_EXPORTS) \
44681 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
44682 for flag in $(EXTRA_TARGET_FLAGS); do \
44683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44684 done; \
44685 (cd $(TARGET_SUBDIR)/newlib && \
44686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44688 "RANLIB=$${RANLIB}" \
44689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44690 installcheck) \
44691 || exit 1
44692
44693 @endif target-newlib
44694
44695 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
44696 maybe-mostlyclean-target-newlib:
44697 @if target-newlib
44698 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
44699
44700 mostlyclean-target-newlib:
44701 @: $(MAKE); $(unstage)
44702 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44703 r=`${PWD_COMMAND}`; export r; \
44704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44705 $(NORMAL_TARGET_EXPORTS) \
44706 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
44707 for flag in $(EXTRA_TARGET_FLAGS); do \
44708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44709 done; \
44710 (cd $(TARGET_SUBDIR)/newlib && \
44711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44713 "RANLIB=$${RANLIB}" \
44714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44715 mostlyclean) \
44716 || exit 1
44717
44718 @endif target-newlib
44719
44720 .PHONY: maybe-clean-target-newlib clean-target-newlib
44721 maybe-clean-target-newlib:
44722 @if target-newlib
44723 maybe-clean-target-newlib: clean-target-newlib
44724
44725 clean-target-newlib:
44726 @: $(MAKE); $(unstage)
44727 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44728 r=`${PWD_COMMAND}`; export r; \
44729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44730 $(NORMAL_TARGET_EXPORTS) \
44731 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
44732 for flag in $(EXTRA_TARGET_FLAGS); do \
44733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44734 done; \
44735 (cd $(TARGET_SUBDIR)/newlib && \
44736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44738 "RANLIB=$${RANLIB}" \
44739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44740 clean) \
44741 || exit 1
44742
44743 @endif target-newlib
44744
44745 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
44746 maybe-distclean-target-newlib:
44747 @if target-newlib
44748 maybe-distclean-target-newlib: distclean-target-newlib
44749
44750 distclean-target-newlib:
44751 @: $(MAKE); $(unstage)
44752 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44753 r=`${PWD_COMMAND}`; export r; \
44754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44755 $(NORMAL_TARGET_EXPORTS) \
44756 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
44757 for flag in $(EXTRA_TARGET_FLAGS); do \
44758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44759 done; \
44760 (cd $(TARGET_SUBDIR)/newlib && \
44761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44763 "RANLIB=$${RANLIB}" \
44764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44765 distclean) \
44766 || exit 1
44767
44768 @endif target-newlib
44769
44770 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
44771 maybe-maintainer-clean-target-newlib:
44772 @if target-newlib
44773 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
44774
44775 maintainer-clean-target-newlib:
44776 @: $(MAKE); $(unstage)
44777 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
44778 r=`${PWD_COMMAND}`; export r; \
44779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44780 $(NORMAL_TARGET_EXPORTS) \
44781 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
44782 for flag in $(EXTRA_TARGET_FLAGS); do \
44783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44784 done; \
44785 (cd $(TARGET_SUBDIR)/newlib && \
44786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44788 "RANLIB=$${RANLIB}" \
44789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44790 maintainer-clean) \
44791 || exit 1
44792
44793 @endif target-newlib
44794
44795
44796
44797
44798
44799 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
44800 maybe-configure-target-libgcc:
44801 @if gcc-bootstrap
44802 configure-target-libgcc: stage_current
44803 @endif gcc-bootstrap
44804 @if target-libgcc
44805 maybe-configure-target-libgcc: configure-target-libgcc
44806 configure-target-libgcc:
44807 @r=`${PWD_COMMAND}`; export r; \
44808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44809 echo "Checking multilib configuration for libgcc..."; \
44810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44811 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44812 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44813 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44814 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44815 else \
44816 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44817 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44818 fi; \
44819 else \
44820 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44821 fi; \
44822 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44823 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44824 $(NORMAL_TARGET_EXPORTS) \
44825 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
44826 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
44827 case $(srcdir) in \
44828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44829 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44831 esac; \
44832 module_srcdir=libgcc; \
44833 rm -f no-such-file || : ; \
44834 CONFIG_SITE=no-such-file $(SHELL) \
44835 $$s/$$module_srcdir/configure \
44836 --srcdir=$${topdir}/$$module_srcdir \
44837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44838 --target=${target_alias} \
44839 || exit 1
44840 @endif target-libgcc
44841
44842
44843
44844 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
44845 maybe-configure-stage1-target-libgcc:
44846 @if target-libgcc-bootstrap
44847 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
44848 configure-stage1-target-libgcc:
44849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44850 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44851 @r=`${PWD_COMMAND}`; export r; \
44852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44853 TFLAGS="$(STAGE1_TFLAGS)"; \
44854 echo "Checking multilib configuration for libgcc..."; \
44855 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44856 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44857 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44858 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44859 else \
44860 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44861 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44862 fi; \
44863 else \
44864 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44865 fi; \
44866 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44867 $(NORMAL_TARGET_EXPORTS) \
44868 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44869 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44870 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44871 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
44872 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44873 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44874 case $(srcdir) in \
44875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44876 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44878 esac; \
44879 module_srcdir=libgcc; \
44880 $(SHELL) $$s/$$module_srcdir/configure \
44881 --srcdir=$${topdir}/$$module_srcdir \
44882 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44883 --target=${target_alias} \
44884 \
44885 $(STAGE1_CONFIGURE_FLAGS)
44886 @endif target-libgcc-bootstrap
44887
44888 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
44889 maybe-configure-stage2-target-libgcc:
44890 @if target-libgcc-bootstrap
44891 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
44892 configure-stage2-target-libgcc:
44893 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44894 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44895 @r=`${PWD_COMMAND}`; export r; \
44896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44897 TFLAGS="$(STAGE2_TFLAGS)"; \
44898 echo "Checking multilib configuration for libgcc..."; \
44899 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44900 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44901 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44902 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44903 else \
44904 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44905 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44906 fi; \
44907 else \
44908 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44909 fi; \
44910 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44911 $(NORMAL_TARGET_EXPORTS) \
44912 \
44913 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44914 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44915 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44916 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
44917 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44918 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44919 case $(srcdir) in \
44920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44921 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44923 esac; \
44924 module_srcdir=libgcc; \
44925 $(SHELL) $$s/$$module_srcdir/configure \
44926 --srcdir=$${topdir}/$$module_srcdir \
44927 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44928 --target=${target_alias} \
44929 --with-build-libsubdir=$(HOST_SUBDIR) \
44930 $(STAGE2_CONFIGURE_FLAGS)
44931 @endif target-libgcc-bootstrap
44932
44933 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
44934 maybe-configure-stage3-target-libgcc:
44935 @if target-libgcc-bootstrap
44936 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
44937 configure-stage3-target-libgcc:
44938 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44939 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44940 @r=`${PWD_COMMAND}`; export r; \
44941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44942 TFLAGS="$(STAGE3_TFLAGS)"; \
44943 echo "Checking multilib configuration for libgcc..."; \
44944 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44945 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44946 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44947 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44948 else \
44949 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44950 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44951 fi; \
44952 else \
44953 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44954 fi; \
44955 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
44956 $(NORMAL_TARGET_EXPORTS) \
44957 \
44958 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44959 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44960 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44961 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
44962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
44963 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
44964 case $(srcdir) in \
44965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44966 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
44967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44968 esac; \
44969 module_srcdir=libgcc; \
44970 $(SHELL) $$s/$$module_srcdir/configure \
44971 --srcdir=$${topdir}/$$module_srcdir \
44972 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44973 --target=${target_alias} \
44974 --with-build-libsubdir=$(HOST_SUBDIR) \
44975 $(STAGE3_CONFIGURE_FLAGS)
44976 @endif target-libgcc-bootstrap
44977
44978 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
44979 maybe-configure-stage4-target-libgcc:
44980 @if target-libgcc-bootstrap
44981 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
44982 configure-stage4-target-libgcc:
44983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44984 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
44985 @r=`${PWD_COMMAND}`; export r; \
44986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44987 TFLAGS="$(STAGE4_TFLAGS)"; \
44988 echo "Checking multilib configuration for libgcc..."; \
44989 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
44990 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44991 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
44992 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
44993 else \
44994 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
44995 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44996 fi; \
44997 else \
44998 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
44999 fi; \
45000 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45001 $(NORMAL_TARGET_EXPORTS) \
45002 \
45003 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45004 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45005 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45006 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
45007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45008 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45009 case $(srcdir) in \
45010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45011 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45013 esac; \
45014 module_srcdir=libgcc; \
45015 $(SHELL) $$s/$$module_srcdir/configure \
45016 --srcdir=$${topdir}/$$module_srcdir \
45017 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45018 --target=${target_alias} \
45019 --with-build-libsubdir=$(HOST_SUBDIR) \
45020 $(STAGE4_CONFIGURE_FLAGS)
45021 @endif target-libgcc-bootstrap
45022
45023 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
45024 maybe-configure-stageprofile-target-libgcc:
45025 @if target-libgcc-bootstrap
45026 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45027 configure-stageprofile-target-libgcc:
45028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45029 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45030 @r=`${PWD_COMMAND}`; export r; \
45031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45032 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45033 echo "Checking multilib configuration for libgcc..."; \
45034 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45035 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45036 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45037 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45038 else \
45039 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45040 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45041 fi; \
45042 else \
45043 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45044 fi; \
45045 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45046 $(NORMAL_TARGET_EXPORTS) \
45047 \
45048 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45049 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45050 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45051 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
45052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45053 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45054 case $(srcdir) in \
45055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45056 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45058 esac; \
45059 module_srcdir=libgcc; \
45060 $(SHELL) $$s/$$module_srcdir/configure \
45061 --srcdir=$${topdir}/$$module_srcdir \
45062 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45063 --target=${target_alias} \
45064 --with-build-libsubdir=$(HOST_SUBDIR) \
45065 $(STAGEprofile_CONFIGURE_FLAGS)
45066 @endif target-libgcc-bootstrap
45067
45068 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
45069 maybe-configure-stagetrain-target-libgcc:
45070 @if target-libgcc-bootstrap
45071 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45072 configure-stagetrain-target-libgcc:
45073 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45074 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45075 @r=`${PWD_COMMAND}`; export r; \
45076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45077 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45078 echo "Checking multilib configuration for libgcc..."; \
45079 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45080 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45081 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45082 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45083 else \
45084 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45085 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45086 fi; \
45087 else \
45088 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45089 fi; \
45090 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45091 $(NORMAL_TARGET_EXPORTS) \
45092 \
45093 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45094 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45095 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45096 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
45097 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45098 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45099 case $(srcdir) in \
45100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45101 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45103 esac; \
45104 module_srcdir=libgcc; \
45105 $(SHELL) $$s/$$module_srcdir/configure \
45106 --srcdir=$${topdir}/$$module_srcdir \
45107 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45108 --target=${target_alias} \
45109 --with-build-libsubdir=$(HOST_SUBDIR) \
45110 $(STAGEtrain_CONFIGURE_FLAGS)
45111 @endif target-libgcc-bootstrap
45112
45113 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
45114 maybe-configure-stagefeedback-target-libgcc:
45115 @if target-libgcc-bootstrap
45116 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45117 configure-stagefeedback-target-libgcc:
45118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45120 @r=`${PWD_COMMAND}`; export r; \
45121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45122 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45123 echo "Checking multilib configuration for libgcc..."; \
45124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45128 else \
45129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45131 fi; \
45132 else \
45133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45134 fi; \
45135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45136 $(NORMAL_TARGET_EXPORTS) \
45137 \
45138 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45139 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45140 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45141 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
45142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45143 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45144 case $(srcdir) in \
45145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45146 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45148 esac; \
45149 module_srcdir=libgcc; \
45150 $(SHELL) $$s/$$module_srcdir/configure \
45151 --srcdir=$${topdir}/$$module_srcdir \
45152 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45153 --target=${target_alias} \
45154 --with-build-libsubdir=$(HOST_SUBDIR) \
45155 $(STAGEfeedback_CONFIGURE_FLAGS)
45156 @endif target-libgcc-bootstrap
45157
45158 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
45159 maybe-configure-stageautoprofile-target-libgcc:
45160 @if target-libgcc-bootstrap
45161 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45162 configure-stageautoprofile-target-libgcc:
45163 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45164 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45165 @r=`${PWD_COMMAND}`; export r; \
45166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45167 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45168 echo "Checking multilib configuration for libgcc..."; \
45169 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45170 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45171 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45172 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45173 else \
45174 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45175 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45176 fi; \
45177 else \
45178 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45179 fi; \
45180 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45181 $(NORMAL_TARGET_EXPORTS) \
45182 \
45183 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45184 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45185 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45186 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
45187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45188 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45189 case $(srcdir) in \
45190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45191 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45193 esac; \
45194 module_srcdir=libgcc; \
45195 $(SHELL) $$s/$$module_srcdir/configure \
45196 --srcdir=$${topdir}/$$module_srcdir \
45197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45198 --target=${target_alias} \
45199 --with-build-libsubdir=$(HOST_SUBDIR) \
45200 $(STAGEautoprofile_CONFIGURE_FLAGS)
45201 @endif target-libgcc-bootstrap
45202
45203 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
45204 maybe-configure-stageautofeedback-target-libgcc:
45205 @if target-libgcc-bootstrap
45206 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45207 configure-stageautofeedback-target-libgcc:
45208 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45209 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
45210 @r=`${PWD_COMMAND}`; export r; \
45211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45212 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45213 echo "Checking multilib configuration for libgcc..."; \
45214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
45215 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45216 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
45217 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
45218 else \
45219 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
45220 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45221 fi; \
45222 else \
45223 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
45224 fi; \
45225 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
45226 $(NORMAL_TARGET_EXPORTS) \
45227 \
45228 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45231 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
45232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
45233 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
45234 case $(srcdir) in \
45235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45236 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
45237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45238 esac; \
45239 module_srcdir=libgcc; \
45240 $(SHELL) $$s/$$module_srcdir/configure \
45241 --srcdir=$${topdir}/$$module_srcdir \
45242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45243 --target=${target_alias} \
45244 --with-build-libsubdir=$(HOST_SUBDIR) \
45245 $(STAGEautofeedback_CONFIGURE_FLAGS)
45246 @endif target-libgcc-bootstrap
45247
45248
45249
45250
45251
45252 .PHONY: all-target-libgcc maybe-all-target-libgcc
45253 maybe-all-target-libgcc:
45254 @if gcc-bootstrap
45255 all-target-libgcc: stage_current
45256 @endif gcc-bootstrap
45257 @if target-libgcc
45258 TARGET-target-libgcc=all
45259 maybe-all-target-libgcc: all-target-libgcc
45260 all-target-libgcc: configure-target-libgcc
45261 @r=`${PWD_COMMAND}`; export r; \
45262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45263 $(NORMAL_TARGET_EXPORTS) \
45264 (cd $(TARGET_SUBDIR)/libgcc && \
45265 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45266 $(TARGET-target-libgcc))
45267 @endif target-libgcc
45268
45269
45270
45271 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
45272 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
45273 maybe-all-stage1-target-libgcc:
45274 maybe-clean-stage1-target-libgcc:
45275 @if target-libgcc-bootstrap
45276 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
45277 all-stage1: all-stage1-target-libgcc
45278 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
45279 all-stage1-target-libgcc: configure-stage1-target-libgcc
45280 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45281 @r=`${PWD_COMMAND}`; export r; \
45282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45283 TFLAGS="$(STAGE1_TFLAGS)"; \
45284 $(NORMAL_TARGET_EXPORTS) \
45285 cd $(TARGET_SUBDIR)/libgcc && \
45286 \
45287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45288 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45294 $(EXTRA_TARGET_FLAGS) \
45295 \
45296 TFLAGS="$(STAGE1_TFLAGS)" \
45297 $(TARGET-stage1-target-libgcc)
45298
45299 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
45300 clean-stage1: clean-stage1-target-libgcc
45301 clean-stage1-target-libgcc:
45302 @if [ $(current_stage) = stage1 ]; then \
45303 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45304 else \
45305 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
45306 $(MAKE) stage1-start; \
45307 fi; \
45308 cd $(TARGET_SUBDIR)/libgcc && \
45309 $(MAKE) $(EXTRA_TARGET_FLAGS) \
45310 clean
45311 @endif target-libgcc-bootstrap
45312
45313
45314 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
45315 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
45316 maybe-all-stage2-target-libgcc:
45317 maybe-clean-stage2-target-libgcc:
45318 @if target-libgcc-bootstrap
45319 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
45320 all-stage2: all-stage2-target-libgcc
45321 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
45322 all-stage2-target-libgcc: configure-stage2-target-libgcc
45323 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45324 @r=`${PWD_COMMAND}`; export r; \
45325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45326 TFLAGS="$(STAGE2_TFLAGS)"; \
45327 $(NORMAL_TARGET_EXPORTS) \
45328 \
45329 cd $(TARGET_SUBDIR)/libgcc && \
45330 \
45331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45332 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45333 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45334 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45338 $(EXTRA_TARGET_FLAGS) \
45339 TFLAGS="$(STAGE2_TFLAGS)" \
45340 $(TARGET-stage2-target-libgcc)
45341
45342 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
45343 clean-stage2: clean-stage2-target-libgcc
45344 clean-stage2-target-libgcc:
45345 @if [ $(current_stage) = stage2 ]; then \
45346 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45347 else \
45348 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
45349 $(MAKE) stage2-start; \
45350 fi; \
45351 cd $(TARGET_SUBDIR)/libgcc && \
45352 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45353 @endif target-libgcc-bootstrap
45354
45355
45356 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
45357 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
45358 maybe-all-stage3-target-libgcc:
45359 maybe-clean-stage3-target-libgcc:
45360 @if target-libgcc-bootstrap
45361 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
45362 all-stage3: all-stage3-target-libgcc
45363 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
45364 all-stage3-target-libgcc: configure-stage3-target-libgcc
45365 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45366 @r=`${PWD_COMMAND}`; export r; \
45367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45368 TFLAGS="$(STAGE3_TFLAGS)"; \
45369 $(NORMAL_TARGET_EXPORTS) \
45370 \
45371 cd $(TARGET_SUBDIR)/libgcc && \
45372 \
45373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45374 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45375 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45376 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45380 $(EXTRA_TARGET_FLAGS) \
45381 TFLAGS="$(STAGE3_TFLAGS)" \
45382 $(TARGET-stage3-target-libgcc)
45383
45384 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
45385 clean-stage3: clean-stage3-target-libgcc
45386 clean-stage3-target-libgcc:
45387 @if [ $(current_stage) = stage3 ]; then \
45388 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45389 else \
45390 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
45391 $(MAKE) stage3-start; \
45392 fi; \
45393 cd $(TARGET_SUBDIR)/libgcc && \
45394 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45395 @endif target-libgcc-bootstrap
45396
45397
45398 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
45399 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
45400 maybe-all-stage4-target-libgcc:
45401 maybe-clean-stage4-target-libgcc:
45402 @if target-libgcc-bootstrap
45403 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
45404 all-stage4: all-stage4-target-libgcc
45405 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
45406 all-stage4-target-libgcc: configure-stage4-target-libgcc
45407 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45408 @r=`${PWD_COMMAND}`; export r; \
45409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45410 TFLAGS="$(STAGE4_TFLAGS)"; \
45411 $(NORMAL_TARGET_EXPORTS) \
45412 \
45413 cd $(TARGET_SUBDIR)/libgcc && \
45414 \
45415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45416 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45417 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45418 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45422 $(EXTRA_TARGET_FLAGS) \
45423 TFLAGS="$(STAGE4_TFLAGS)" \
45424 $(TARGET-stage4-target-libgcc)
45425
45426 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
45427 clean-stage4: clean-stage4-target-libgcc
45428 clean-stage4-target-libgcc:
45429 @if [ $(current_stage) = stage4 ]; then \
45430 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45431 else \
45432 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
45433 $(MAKE) stage4-start; \
45434 fi; \
45435 cd $(TARGET_SUBDIR)/libgcc && \
45436 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45437 @endif target-libgcc-bootstrap
45438
45439
45440 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
45441 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
45442 maybe-all-stageprofile-target-libgcc:
45443 maybe-clean-stageprofile-target-libgcc:
45444 @if target-libgcc-bootstrap
45445 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
45446 all-stageprofile: all-stageprofile-target-libgcc
45447 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
45448 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
45449 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45450 @r=`${PWD_COMMAND}`; export r; \
45451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45452 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45453 $(NORMAL_TARGET_EXPORTS) \
45454 \
45455 cd $(TARGET_SUBDIR)/libgcc && \
45456 \
45457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45458 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45459 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45460 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45464 $(EXTRA_TARGET_FLAGS) \
45465 TFLAGS="$(STAGEprofile_TFLAGS)" \
45466 $(TARGET-stageprofile-target-libgcc)
45467
45468 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
45469 clean-stageprofile: clean-stageprofile-target-libgcc
45470 clean-stageprofile-target-libgcc:
45471 @if [ $(current_stage) = stageprofile ]; then \
45472 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45473 else \
45474 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
45475 $(MAKE) stageprofile-start; \
45476 fi; \
45477 cd $(TARGET_SUBDIR)/libgcc && \
45478 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45479 @endif target-libgcc-bootstrap
45480
45481
45482 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
45483 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
45484 maybe-all-stagetrain-target-libgcc:
45485 maybe-clean-stagetrain-target-libgcc:
45486 @if target-libgcc-bootstrap
45487 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
45488 all-stagetrain: all-stagetrain-target-libgcc
45489 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
45490 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
45491 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45492 @r=`${PWD_COMMAND}`; export r; \
45493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45494 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45495 $(NORMAL_TARGET_EXPORTS) \
45496 \
45497 cd $(TARGET_SUBDIR)/libgcc && \
45498 \
45499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45500 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45501 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45502 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45506 $(EXTRA_TARGET_FLAGS) \
45507 TFLAGS="$(STAGEtrain_TFLAGS)" \
45508 $(TARGET-stagetrain-target-libgcc)
45509
45510 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
45511 clean-stagetrain: clean-stagetrain-target-libgcc
45512 clean-stagetrain-target-libgcc:
45513 @if [ $(current_stage) = stagetrain ]; then \
45514 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45515 else \
45516 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
45517 $(MAKE) stagetrain-start; \
45518 fi; \
45519 cd $(TARGET_SUBDIR)/libgcc && \
45520 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45521 @endif target-libgcc-bootstrap
45522
45523
45524 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
45525 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
45526 maybe-all-stagefeedback-target-libgcc:
45527 maybe-clean-stagefeedback-target-libgcc:
45528 @if target-libgcc-bootstrap
45529 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
45530 all-stagefeedback: all-stagefeedback-target-libgcc
45531 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
45532 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
45533 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45534 @r=`${PWD_COMMAND}`; export r; \
45535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45536 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45537 $(NORMAL_TARGET_EXPORTS) \
45538 \
45539 cd $(TARGET_SUBDIR)/libgcc && \
45540 \
45541 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45542 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45543 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45544 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45545 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45546 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45547 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45548 $(EXTRA_TARGET_FLAGS) \
45549 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45550 $(TARGET-stagefeedback-target-libgcc)
45551
45552 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
45553 clean-stagefeedback: clean-stagefeedback-target-libgcc
45554 clean-stagefeedback-target-libgcc:
45555 @if [ $(current_stage) = stagefeedback ]; then \
45556 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45557 else \
45558 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
45559 $(MAKE) stagefeedback-start; \
45560 fi; \
45561 cd $(TARGET_SUBDIR)/libgcc && \
45562 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45563 @endif target-libgcc-bootstrap
45564
45565
45566 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
45567 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
45568 maybe-all-stageautoprofile-target-libgcc:
45569 maybe-clean-stageautoprofile-target-libgcc:
45570 @if target-libgcc-bootstrap
45571 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
45572 all-stageautoprofile: all-stageautoprofile-target-libgcc
45573 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
45574 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
45575 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45576 @r=`${PWD_COMMAND}`; export r; \
45577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45578 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45579 $(NORMAL_TARGET_EXPORTS) \
45580 \
45581 cd $(TARGET_SUBDIR)/libgcc && \
45582 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45584 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45585 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45586 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45587 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45588 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45589 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45590 $(EXTRA_TARGET_FLAGS) \
45591 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45592 $(TARGET-stageautoprofile-target-libgcc)
45593
45594 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
45595 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
45596 clean-stageautoprofile-target-libgcc:
45597 @if [ $(current_stage) = stageautoprofile ]; then \
45598 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45599 else \
45600 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
45601 $(MAKE) stageautoprofile-start; \
45602 fi; \
45603 cd $(TARGET_SUBDIR)/libgcc && \
45604 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45605 @endif target-libgcc-bootstrap
45606
45607
45608 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
45609 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
45610 maybe-all-stageautofeedback-target-libgcc:
45611 maybe-clean-stageautofeedback-target-libgcc:
45612 @if target-libgcc-bootstrap
45613 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
45614 all-stageautofeedback: all-stageautofeedback-target-libgcc
45615 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
45616 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
45617 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45618 @r=`${PWD_COMMAND}`; export r; \
45619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45620 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45621 $(NORMAL_TARGET_EXPORTS) \
45622 \
45623 cd $(TARGET_SUBDIR)/libgcc && \
45624 \
45625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45626 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45627 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45628 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45632 $(EXTRA_TARGET_FLAGS) \
45633 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45634 $(TARGET-stageautofeedback-target-libgcc)
45635
45636 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
45637 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
45638 clean-stageautofeedback-target-libgcc:
45639 @if [ $(current_stage) = stageautofeedback ]; then \
45640 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45641 else \
45642 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
45643 $(MAKE) stageautofeedback-start; \
45644 fi; \
45645 cd $(TARGET_SUBDIR)/libgcc && \
45646 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
45647 @endif target-libgcc-bootstrap
45648
45649
45650
45651
45652
45653
45654 .PHONY: check-target-libgcc maybe-check-target-libgcc
45655 maybe-check-target-libgcc:
45656 @if target-libgcc
45657 maybe-check-target-libgcc: check-target-libgcc
45658
45659 # Dummy target for uncheckable module.
45660 check-target-libgcc:
45661
45662 @endif target-libgcc
45663
45664 .PHONY: install-target-libgcc maybe-install-target-libgcc
45665 maybe-install-target-libgcc:
45666 @if target-libgcc
45667 maybe-install-target-libgcc: install-target-libgcc
45668
45669 install-target-libgcc: installdirs
45670 @: $(MAKE); $(unstage)
45671 @r=`${PWD_COMMAND}`; export r; \
45672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45673 $(NORMAL_TARGET_EXPORTS) \
45674 (cd $(TARGET_SUBDIR)/libgcc && \
45675 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45676
45677 @endif target-libgcc
45678
45679 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
45680 maybe-install-strip-target-libgcc:
45681 @if target-libgcc
45682 maybe-install-strip-target-libgcc: install-strip-target-libgcc
45683
45684 install-strip-target-libgcc: installdirs
45685 @: $(MAKE); $(unstage)
45686 @r=`${PWD_COMMAND}`; export r; \
45687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45688 $(NORMAL_TARGET_EXPORTS) \
45689 (cd $(TARGET_SUBDIR)/libgcc && \
45690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45691
45692 @endif target-libgcc
45693
45694 # Other targets (info, dvi, pdf, etc.)
45695
45696 .PHONY: maybe-info-target-libgcc info-target-libgcc
45697 maybe-info-target-libgcc:
45698 @if target-libgcc
45699 maybe-info-target-libgcc: info-target-libgcc
45700
45701 info-target-libgcc: \
45702 configure-target-libgcc
45703 @: $(MAKE); $(unstage)
45704 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45705 r=`${PWD_COMMAND}`; export r; \
45706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45707 $(NORMAL_TARGET_EXPORTS) \
45708 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
45709 for flag in $(EXTRA_TARGET_FLAGS); do \
45710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45711 done; \
45712 (cd $(TARGET_SUBDIR)/libgcc && \
45713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45715 "RANLIB=$${RANLIB}" \
45716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45717 info) \
45718 || exit 1
45719
45720 @endif target-libgcc
45721
45722 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
45723 maybe-dvi-target-libgcc:
45724 @if target-libgcc
45725 maybe-dvi-target-libgcc: dvi-target-libgcc
45726
45727 dvi-target-libgcc: \
45728 configure-target-libgcc
45729 @: $(MAKE); $(unstage)
45730 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45731 r=`${PWD_COMMAND}`; export r; \
45732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45733 $(NORMAL_TARGET_EXPORTS) \
45734 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
45735 for flag in $(EXTRA_TARGET_FLAGS); do \
45736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45737 done; \
45738 (cd $(TARGET_SUBDIR)/libgcc && \
45739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45741 "RANLIB=$${RANLIB}" \
45742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45743 dvi) \
45744 || exit 1
45745
45746 @endif target-libgcc
45747
45748 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
45749 maybe-pdf-target-libgcc:
45750 @if target-libgcc
45751 maybe-pdf-target-libgcc: pdf-target-libgcc
45752
45753 pdf-target-libgcc: \
45754 configure-target-libgcc
45755 @: $(MAKE); $(unstage)
45756 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45757 r=`${PWD_COMMAND}`; export r; \
45758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45759 $(NORMAL_TARGET_EXPORTS) \
45760 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
45761 for flag in $(EXTRA_TARGET_FLAGS); do \
45762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45763 done; \
45764 (cd $(TARGET_SUBDIR)/libgcc && \
45765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45767 "RANLIB=$${RANLIB}" \
45768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45769 pdf) \
45770 || exit 1
45771
45772 @endif target-libgcc
45773
45774 .PHONY: maybe-html-target-libgcc html-target-libgcc
45775 maybe-html-target-libgcc:
45776 @if target-libgcc
45777 maybe-html-target-libgcc: html-target-libgcc
45778
45779 html-target-libgcc: \
45780 configure-target-libgcc
45781 @: $(MAKE); $(unstage)
45782 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45783 r=`${PWD_COMMAND}`; export r; \
45784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45785 $(NORMAL_TARGET_EXPORTS) \
45786 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
45787 for flag in $(EXTRA_TARGET_FLAGS); do \
45788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45789 done; \
45790 (cd $(TARGET_SUBDIR)/libgcc && \
45791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45793 "RANLIB=$${RANLIB}" \
45794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45795 html) \
45796 || exit 1
45797
45798 @endif target-libgcc
45799
45800 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
45801 maybe-TAGS-target-libgcc:
45802 @if target-libgcc
45803 maybe-TAGS-target-libgcc: TAGS-target-libgcc
45804
45805 TAGS-target-libgcc: \
45806 configure-target-libgcc
45807 @: $(MAKE); $(unstage)
45808 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45809 r=`${PWD_COMMAND}`; export r; \
45810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45811 $(NORMAL_TARGET_EXPORTS) \
45812 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
45813 for flag in $(EXTRA_TARGET_FLAGS); do \
45814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45815 done; \
45816 (cd $(TARGET_SUBDIR)/libgcc && \
45817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45819 "RANLIB=$${RANLIB}" \
45820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45821 TAGS) \
45822 || exit 1
45823
45824 @endif target-libgcc
45825
45826 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
45827 maybe-install-info-target-libgcc:
45828 @if target-libgcc
45829 maybe-install-info-target-libgcc: install-info-target-libgcc
45830
45831 install-info-target-libgcc: \
45832 configure-target-libgcc \
45833 info-target-libgcc
45834 @: $(MAKE); $(unstage)
45835 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45836 r=`${PWD_COMMAND}`; export r; \
45837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45838 $(NORMAL_TARGET_EXPORTS) \
45839 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
45840 for flag in $(EXTRA_TARGET_FLAGS); do \
45841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45842 done; \
45843 (cd $(TARGET_SUBDIR)/libgcc && \
45844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45846 "RANLIB=$${RANLIB}" \
45847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45848 install-info) \
45849 || exit 1
45850
45851 @endif target-libgcc
45852
45853 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
45854 maybe-install-pdf-target-libgcc:
45855 @if target-libgcc
45856 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
45857
45858 install-pdf-target-libgcc: \
45859 configure-target-libgcc \
45860 pdf-target-libgcc
45861 @: $(MAKE); $(unstage)
45862 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45863 r=`${PWD_COMMAND}`; export r; \
45864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45865 $(NORMAL_TARGET_EXPORTS) \
45866 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
45867 for flag in $(EXTRA_TARGET_FLAGS); do \
45868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45869 done; \
45870 (cd $(TARGET_SUBDIR)/libgcc && \
45871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45873 "RANLIB=$${RANLIB}" \
45874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45875 install-pdf) \
45876 || exit 1
45877
45878 @endif target-libgcc
45879
45880 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
45881 maybe-install-html-target-libgcc:
45882 @if target-libgcc
45883 maybe-install-html-target-libgcc: install-html-target-libgcc
45884
45885 install-html-target-libgcc: \
45886 configure-target-libgcc \
45887 html-target-libgcc
45888 @: $(MAKE); $(unstage)
45889 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45890 r=`${PWD_COMMAND}`; export r; \
45891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45892 $(NORMAL_TARGET_EXPORTS) \
45893 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
45894 for flag in $(EXTRA_TARGET_FLAGS); do \
45895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45896 done; \
45897 (cd $(TARGET_SUBDIR)/libgcc && \
45898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45900 "RANLIB=$${RANLIB}" \
45901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45902 install-html) \
45903 || exit 1
45904
45905 @endif target-libgcc
45906
45907 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
45908 maybe-installcheck-target-libgcc:
45909 @if target-libgcc
45910 maybe-installcheck-target-libgcc: installcheck-target-libgcc
45911
45912 installcheck-target-libgcc: \
45913 configure-target-libgcc
45914 @: $(MAKE); $(unstage)
45915 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45916 r=`${PWD_COMMAND}`; export r; \
45917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45918 $(NORMAL_TARGET_EXPORTS) \
45919 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
45920 for flag in $(EXTRA_TARGET_FLAGS); do \
45921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45922 done; \
45923 (cd $(TARGET_SUBDIR)/libgcc && \
45924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45926 "RANLIB=$${RANLIB}" \
45927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45928 installcheck) \
45929 || exit 1
45930
45931 @endif target-libgcc
45932
45933 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
45934 maybe-mostlyclean-target-libgcc:
45935 @if target-libgcc
45936 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
45937
45938 mostlyclean-target-libgcc:
45939 @: $(MAKE); $(unstage)
45940 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45941 r=`${PWD_COMMAND}`; export r; \
45942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45943 $(NORMAL_TARGET_EXPORTS) \
45944 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
45945 for flag in $(EXTRA_TARGET_FLAGS); do \
45946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45947 done; \
45948 (cd $(TARGET_SUBDIR)/libgcc && \
45949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45951 "RANLIB=$${RANLIB}" \
45952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45953 mostlyclean) \
45954 || exit 1
45955
45956 @endif target-libgcc
45957
45958 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
45959 maybe-clean-target-libgcc:
45960 @if target-libgcc
45961 maybe-clean-target-libgcc: clean-target-libgcc
45962
45963 clean-target-libgcc:
45964 @: $(MAKE); $(unstage)
45965 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45966 r=`${PWD_COMMAND}`; export r; \
45967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45968 $(NORMAL_TARGET_EXPORTS) \
45969 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
45970 for flag in $(EXTRA_TARGET_FLAGS); do \
45971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45972 done; \
45973 (cd $(TARGET_SUBDIR)/libgcc && \
45974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45976 "RANLIB=$${RANLIB}" \
45977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45978 clean) \
45979 || exit 1
45980
45981 @endif target-libgcc
45982
45983 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
45984 maybe-distclean-target-libgcc:
45985 @if target-libgcc
45986 maybe-distclean-target-libgcc: distclean-target-libgcc
45987
45988 distclean-target-libgcc:
45989 @: $(MAKE); $(unstage)
45990 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
45991 r=`${PWD_COMMAND}`; export r; \
45992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45993 $(NORMAL_TARGET_EXPORTS) \
45994 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
45995 for flag in $(EXTRA_TARGET_FLAGS); do \
45996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45997 done; \
45998 (cd $(TARGET_SUBDIR)/libgcc && \
45999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46001 "RANLIB=$${RANLIB}" \
46002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46003 distclean) \
46004 || exit 1
46005
46006 @endif target-libgcc
46007
46008 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
46009 maybe-maintainer-clean-target-libgcc:
46010 @if target-libgcc
46011 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
46012
46013 maintainer-clean-target-libgcc:
46014 @: $(MAKE); $(unstage)
46015 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
46016 r=`${PWD_COMMAND}`; export r; \
46017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46018 $(NORMAL_TARGET_EXPORTS) \
46019 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
46020 for flag in $(EXTRA_TARGET_FLAGS); do \
46021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46022 done; \
46023 (cd $(TARGET_SUBDIR)/libgcc && \
46024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46026 "RANLIB=$${RANLIB}" \
46027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46028 maintainer-clean) \
46029 || exit 1
46030
46031 @endif target-libgcc
46032
46033
46034
46035
46036
46037 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
46038 maybe-configure-target-libbacktrace:
46039 @if gcc-bootstrap
46040 configure-target-libbacktrace: stage_current
46041 @endif gcc-bootstrap
46042 @if target-libbacktrace
46043 maybe-configure-target-libbacktrace: configure-target-libbacktrace
46044 configure-target-libbacktrace:
46045 @: $(MAKE); $(unstage)
46046 @r=`${PWD_COMMAND}`; export r; \
46047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46048 echo "Checking multilib configuration for libbacktrace..."; \
46049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46050 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
46051 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46052 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
46053 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
46054 else \
46055 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
46056 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46057 fi; \
46058 else \
46059 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
46060 fi; \
46061 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
46062 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
46063 $(NORMAL_TARGET_EXPORTS) \
46064 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
46065 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
46066 case $(srcdir) in \
46067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46068 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
46069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46070 esac; \
46071 module_srcdir=libbacktrace; \
46072 rm -f no-such-file || : ; \
46073 CONFIG_SITE=no-such-file $(SHELL) \
46074 $$s/$$module_srcdir/configure \
46075 --srcdir=$${topdir}/$$module_srcdir \
46076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46077 --target=${target_alias} \
46078 || exit 1
46079 @endif target-libbacktrace
46080
46081
46082
46083
46084
46085 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
46086 maybe-all-target-libbacktrace:
46087 @if gcc-bootstrap
46088 all-target-libbacktrace: stage_current
46089 @endif gcc-bootstrap
46090 @if target-libbacktrace
46091 TARGET-target-libbacktrace=all
46092 maybe-all-target-libbacktrace: all-target-libbacktrace
46093 all-target-libbacktrace: configure-target-libbacktrace
46094 @: $(MAKE); $(unstage)
46095 @r=`${PWD_COMMAND}`; export r; \
46096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46097 $(NORMAL_TARGET_EXPORTS) \
46098 (cd $(TARGET_SUBDIR)/libbacktrace && \
46099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46100 $(TARGET-target-libbacktrace))
46101 @endif target-libbacktrace
46102
46103
46104
46105
46106
46107 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
46108 maybe-check-target-libbacktrace:
46109 @if target-libbacktrace
46110 maybe-check-target-libbacktrace: check-target-libbacktrace
46111
46112 check-target-libbacktrace:
46113 @: $(MAKE); $(unstage)
46114 @r=`${PWD_COMMAND}`; export r; \
46115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46116 $(NORMAL_TARGET_EXPORTS) \
46117 (cd $(TARGET_SUBDIR)/libbacktrace && \
46118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46119
46120 @endif target-libbacktrace
46121
46122 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
46123 maybe-install-target-libbacktrace:
46124 @if target-libbacktrace
46125 maybe-install-target-libbacktrace: install-target-libbacktrace
46126
46127 install-target-libbacktrace: installdirs
46128 @: $(MAKE); $(unstage)
46129 @r=`${PWD_COMMAND}`; export r; \
46130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46131 $(NORMAL_TARGET_EXPORTS) \
46132 (cd $(TARGET_SUBDIR)/libbacktrace && \
46133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46134
46135 @endif target-libbacktrace
46136
46137 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
46138 maybe-install-strip-target-libbacktrace:
46139 @if target-libbacktrace
46140 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
46141
46142 install-strip-target-libbacktrace: installdirs
46143 @: $(MAKE); $(unstage)
46144 @r=`${PWD_COMMAND}`; export r; \
46145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46146 $(NORMAL_TARGET_EXPORTS) \
46147 (cd $(TARGET_SUBDIR)/libbacktrace && \
46148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46149
46150 @endif target-libbacktrace
46151
46152 # Other targets (info, dvi, pdf, etc.)
46153
46154 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
46155 maybe-info-target-libbacktrace:
46156 @if target-libbacktrace
46157 maybe-info-target-libbacktrace: info-target-libbacktrace
46158
46159 info-target-libbacktrace: \
46160 configure-target-libbacktrace
46161 @: $(MAKE); $(unstage)
46162 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46163 r=`${PWD_COMMAND}`; export r; \
46164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46165 $(NORMAL_TARGET_EXPORTS) \
46166 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
46167 for flag in $(EXTRA_TARGET_FLAGS); do \
46168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46169 done; \
46170 (cd $(TARGET_SUBDIR)/libbacktrace && \
46171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46173 "RANLIB=$${RANLIB}" \
46174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46175 info) \
46176 || exit 1
46177
46178 @endif target-libbacktrace
46179
46180 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
46181 maybe-dvi-target-libbacktrace:
46182 @if target-libbacktrace
46183 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
46184
46185 dvi-target-libbacktrace: \
46186 configure-target-libbacktrace
46187 @: $(MAKE); $(unstage)
46188 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46189 r=`${PWD_COMMAND}`; export r; \
46190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46191 $(NORMAL_TARGET_EXPORTS) \
46192 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
46193 for flag in $(EXTRA_TARGET_FLAGS); do \
46194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46195 done; \
46196 (cd $(TARGET_SUBDIR)/libbacktrace && \
46197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46199 "RANLIB=$${RANLIB}" \
46200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46201 dvi) \
46202 || exit 1
46203
46204 @endif target-libbacktrace
46205
46206 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
46207 maybe-pdf-target-libbacktrace:
46208 @if target-libbacktrace
46209 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
46210
46211 pdf-target-libbacktrace: \
46212 configure-target-libbacktrace
46213 @: $(MAKE); $(unstage)
46214 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46215 r=`${PWD_COMMAND}`; export r; \
46216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46217 $(NORMAL_TARGET_EXPORTS) \
46218 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46219 for flag in $(EXTRA_TARGET_FLAGS); do \
46220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46221 done; \
46222 (cd $(TARGET_SUBDIR)/libbacktrace && \
46223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46225 "RANLIB=$${RANLIB}" \
46226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46227 pdf) \
46228 || exit 1
46229
46230 @endif target-libbacktrace
46231
46232 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
46233 maybe-html-target-libbacktrace:
46234 @if target-libbacktrace
46235 maybe-html-target-libbacktrace: html-target-libbacktrace
46236
46237 html-target-libbacktrace: \
46238 configure-target-libbacktrace
46239 @: $(MAKE); $(unstage)
46240 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46241 r=`${PWD_COMMAND}`; export r; \
46242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46243 $(NORMAL_TARGET_EXPORTS) \
46244 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
46245 for flag in $(EXTRA_TARGET_FLAGS); do \
46246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46247 done; \
46248 (cd $(TARGET_SUBDIR)/libbacktrace && \
46249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46251 "RANLIB=$${RANLIB}" \
46252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46253 html) \
46254 || exit 1
46255
46256 @endif target-libbacktrace
46257
46258 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
46259 maybe-TAGS-target-libbacktrace:
46260 @if target-libbacktrace
46261 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
46262
46263 TAGS-target-libbacktrace: \
46264 configure-target-libbacktrace
46265 @: $(MAKE); $(unstage)
46266 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46267 r=`${PWD_COMMAND}`; export r; \
46268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46269 $(NORMAL_TARGET_EXPORTS) \
46270 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
46271 for flag in $(EXTRA_TARGET_FLAGS); do \
46272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46273 done; \
46274 (cd $(TARGET_SUBDIR)/libbacktrace && \
46275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46277 "RANLIB=$${RANLIB}" \
46278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46279 TAGS) \
46280 || exit 1
46281
46282 @endif target-libbacktrace
46283
46284 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
46285 maybe-install-info-target-libbacktrace:
46286 @if target-libbacktrace
46287 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
46288
46289 install-info-target-libbacktrace: \
46290 configure-target-libbacktrace \
46291 info-target-libbacktrace
46292 @: $(MAKE); $(unstage)
46293 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46294 r=`${PWD_COMMAND}`; export r; \
46295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46296 $(NORMAL_TARGET_EXPORTS) \
46297 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
46298 for flag in $(EXTRA_TARGET_FLAGS); do \
46299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46300 done; \
46301 (cd $(TARGET_SUBDIR)/libbacktrace && \
46302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46304 "RANLIB=$${RANLIB}" \
46305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46306 install-info) \
46307 || exit 1
46308
46309 @endif target-libbacktrace
46310
46311 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
46312 maybe-install-pdf-target-libbacktrace:
46313 @if target-libbacktrace
46314 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
46315
46316 install-pdf-target-libbacktrace: \
46317 configure-target-libbacktrace \
46318 pdf-target-libbacktrace
46319 @: $(MAKE); $(unstage)
46320 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46321 r=`${PWD_COMMAND}`; export r; \
46322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46323 $(NORMAL_TARGET_EXPORTS) \
46324 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
46325 for flag in $(EXTRA_TARGET_FLAGS); do \
46326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46327 done; \
46328 (cd $(TARGET_SUBDIR)/libbacktrace && \
46329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46331 "RANLIB=$${RANLIB}" \
46332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46333 install-pdf) \
46334 || exit 1
46335
46336 @endif target-libbacktrace
46337
46338 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
46339 maybe-install-html-target-libbacktrace:
46340 @if target-libbacktrace
46341 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
46342
46343 install-html-target-libbacktrace: \
46344 configure-target-libbacktrace \
46345 html-target-libbacktrace
46346 @: $(MAKE); $(unstage)
46347 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46348 r=`${PWD_COMMAND}`; export r; \
46349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46350 $(NORMAL_TARGET_EXPORTS) \
46351 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
46352 for flag in $(EXTRA_TARGET_FLAGS); do \
46353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46354 done; \
46355 (cd $(TARGET_SUBDIR)/libbacktrace && \
46356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46358 "RANLIB=$${RANLIB}" \
46359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46360 install-html) \
46361 || exit 1
46362
46363 @endif target-libbacktrace
46364
46365 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
46366 maybe-installcheck-target-libbacktrace:
46367 @if target-libbacktrace
46368 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
46369
46370 installcheck-target-libbacktrace: \
46371 configure-target-libbacktrace
46372 @: $(MAKE); $(unstage)
46373 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46374 r=`${PWD_COMMAND}`; export r; \
46375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46376 $(NORMAL_TARGET_EXPORTS) \
46377 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
46378 for flag in $(EXTRA_TARGET_FLAGS); do \
46379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46380 done; \
46381 (cd $(TARGET_SUBDIR)/libbacktrace && \
46382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46384 "RANLIB=$${RANLIB}" \
46385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46386 installcheck) \
46387 || exit 1
46388
46389 @endif target-libbacktrace
46390
46391 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
46392 maybe-mostlyclean-target-libbacktrace:
46393 @if target-libbacktrace
46394 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
46395
46396 mostlyclean-target-libbacktrace:
46397 @: $(MAKE); $(unstage)
46398 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46399 r=`${PWD_COMMAND}`; export r; \
46400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46401 $(NORMAL_TARGET_EXPORTS) \
46402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
46403 for flag in $(EXTRA_TARGET_FLAGS); do \
46404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46405 done; \
46406 (cd $(TARGET_SUBDIR)/libbacktrace && \
46407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46409 "RANLIB=$${RANLIB}" \
46410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46411 mostlyclean) \
46412 || exit 1
46413
46414 @endif target-libbacktrace
46415
46416 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
46417 maybe-clean-target-libbacktrace:
46418 @if target-libbacktrace
46419 maybe-clean-target-libbacktrace: clean-target-libbacktrace
46420
46421 clean-target-libbacktrace:
46422 @: $(MAKE); $(unstage)
46423 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46424 r=`${PWD_COMMAND}`; export r; \
46425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46426 $(NORMAL_TARGET_EXPORTS) \
46427 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
46428 for flag in $(EXTRA_TARGET_FLAGS); do \
46429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46430 done; \
46431 (cd $(TARGET_SUBDIR)/libbacktrace && \
46432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46434 "RANLIB=$${RANLIB}" \
46435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46436 clean) \
46437 || exit 1
46438
46439 @endif target-libbacktrace
46440
46441 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
46442 maybe-distclean-target-libbacktrace:
46443 @if target-libbacktrace
46444 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
46445
46446 distclean-target-libbacktrace:
46447 @: $(MAKE); $(unstage)
46448 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46449 r=`${PWD_COMMAND}`; export r; \
46450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46451 $(NORMAL_TARGET_EXPORTS) \
46452 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
46453 for flag in $(EXTRA_TARGET_FLAGS); do \
46454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46455 done; \
46456 (cd $(TARGET_SUBDIR)/libbacktrace && \
46457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46459 "RANLIB=$${RANLIB}" \
46460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46461 distclean) \
46462 || exit 1
46463
46464 @endif target-libbacktrace
46465
46466 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
46467 maybe-maintainer-clean-target-libbacktrace:
46468 @if target-libbacktrace
46469 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
46470
46471 maintainer-clean-target-libbacktrace:
46472 @: $(MAKE); $(unstage)
46473 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
46474 r=`${PWD_COMMAND}`; export r; \
46475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46476 $(NORMAL_TARGET_EXPORTS) \
46477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
46478 for flag in $(EXTRA_TARGET_FLAGS); do \
46479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46480 done; \
46481 (cd $(TARGET_SUBDIR)/libbacktrace && \
46482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46484 "RANLIB=$${RANLIB}" \
46485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46486 maintainer-clean) \
46487 || exit 1
46488
46489 @endif target-libbacktrace
46490
46491
46492
46493
46494
46495 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
46496 maybe-configure-target-libquadmath:
46497 @if gcc-bootstrap
46498 configure-target-libquadmath: stage_current
46499 @endif gcc-bootstrap
46500 @if target-libquadmath
46501 maybe-configure-target-libquadmath: configure-target-libquadmath
46502 configure-target-libquadmath:
46503 @: $(MAKE); $(unstage)
46504 @r=`${PWD_COMMAND}`; export r; \
46505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46506 echo "Checking multilib configuration for libquadmath..."; \
46507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
46509 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46510 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
46511 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
46512 else \
46513 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
46514 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46515 fi; \
46516 else \
46517 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
46518 fi; \
46519 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
46520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
46521 $(NORMAL_TARGET_EXPORTS) \
46522 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
46523 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
46524 case $(srcdir) in \
46525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46526 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
46527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46528 esac; \
46529 module_srcdir=libquadmath; \
46530 rm -f no-such-file || : ; \
46531 CONFIG_SITE=no-such-file $(SHELL) \
46532 $$s/$$module_srcdir/configure \
46533 --srcdir=$${topdir}/$$module_srcdir \
46534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46535 --target=${target_alias} \
46536 || exit 1
46537 @endif target-libquadmath
46538
46539
46540
46541
46542
46543 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
46544 maybe-all-target-libquadmath:
46545 @if gcc-bootstrap
46546 all-target-libquadmath: stage_current
46547 @endif gcc-bootstrap
46548 @if target-libquadmath
46549 TARGET-target-libquadmath=all
46550 maybe-all-target-libquadmath: all-target-libquadmath
46551 all-target-libquadmath: configure-target-libquadmath
46552 @: $(MAKE); $(unstage)
46553 @r=`${PWD_COMMAND}`; export r; \
46554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46555 $(NORMAL_TARGET_EXPORTS) \
46556 (cd $(TARGET_SUBDIR)/libquadmath && \
46557 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46558 $(TARGET-target-libquadmath))
46559 @endif target-libquadmath
46560
46561
46562
46563
46564
46565 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
46566 maybe-check-target-libquadmath:
46567 @if target-libquadmath
46568 maybe-check-target-libquadmath: check-target-libquadmath
46569
46570 check-target-libquadmath:
46571 @: $(MAKE); $(unstage)
46572 @r=`${PWD_COMMAND}`; export r; \
46573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46574 $(NORMAL_TARGET_EXPORTS) \
46575 (cd $(TARGET_SUBDIR)/libquadmath && \
46576 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46577
46578 @endif target-libquadmath
46579
46580 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
46581 maybe-install-target-libquadmath:
46582 @if target-libquadmath
46583 maybe-install-target-libquadmath: install-target-libquadmath
46584
46585 install-target-libquadmath: installdirs
46586 @: $(MAKE); $(unstage)
46587 @r=`${PWD_COMMAND}`; export r; \
46588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46589 $(NORMAL_TARGET_EXPORTS) \
46590 (cd $(TARGET_SUBDIR)/libquadmath && \
46591 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46592
46593 @endif target-libquadmath
46594
46595 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
46596 maybe-install-strip-target-libquadmath:
46597 @if target-libquadmath
46598 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
46599
46600 install-strip-target-libquadmath: installdirs
46601 @: $(MAKE); $(unstage)
46602 @r=`${PWD_COMMAND}`; export r; \
46603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46604 $(NORMAL_TARGET_EXPORTS) \
46605 (cd $(TARGET_SUBDIR)/libquadmath && \
46606 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46607
46608 @endif target-libquadmath
46609
46610 # Other targets (info, dvi, pdf, etc.)
46611
46612 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
46613 maybe-info-target-libquadmath:
46614 @if target-libquadmath
46615 maybe-info-target-libquadmath: info-target-libquadmath
46616
46617 info-target-libquadmath: \
46618 configure-target-libquadmath
46619 @: $(MAKE); $(unstage)
46620 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46621 r=`${PWD_COMMAND}`; export r; \
46622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46623 $(NORMAL_TARGET_EXPORTS) \
46624 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
46625 for flag in $(EXTRA_TARGET_FLAGS); do \
46626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46627 done; \
46628 (cd $(TARGET_SUBDIR)/libquadmath && \
46629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46631 "RANLIB=$${RANLIB}" \
46632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46633 info) \
46634 || exit 1
46635
46636 @endif target-libquadmath
46637
46638 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
46639 maybe-dvi-target-libquadmath:
46640 @if target-libquadmath
46641 maybe-dvi-target-libquadmath: dvi-target-libquadmath
46642
46643 dvi-target-libquadmath: \
46644 configure-target-libquadmath
46645 @: $(MAKE); $(unstage)
46646 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46647 r=`${PWD_COMMAND}`; export r; \
46648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46649 $(NORMAL_TARGET_EXPORTS) \
46650 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
46651 for flag in $(EXTRA_TARGET_FLAGS); do \
46652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46653 done; \
46654 (cd $(TARGET_SUBDIR)/libquadmath && \
46655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46657 "RANLIB=$${RANLIB}" \
46658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46659 dvi) \
46660 || exit 1
46661
46662 @endif target-libquadmath
46663
46664 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
46665 maybe-pdf-target-libquadmath:
46666 @if target-libquadmath
46667 maybe-pdf-target-libquadmath: pdf-target-libquadmath
46668
46669 pdf-target-libquadmath: \
46670 configure-target-libquadmath
46671 @: $(MAKE); $(unstage)
46672 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46673 r=`${PWD_COMMAND}`; export r; \
46674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46675 $(NORMAL_TARGET_EXPORTS) \
46676 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
46677 for flag in $(EXTRA_TARGET_FLAGS); do \
46678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46679 done; \
46680 (cd $(TARGET_SUBDIR)/libquadmath && \
46681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46683 "RANLIB=$${RANLIB}" \
46684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46685 pdf) \
46686 || exit 1
46687
46688 @endif target-libquadmath
46689
46690 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
46691 maybe-html-target-libquadmath:
46692 @if target-libquadmath
46693 maybe-html-target-libquadmath: html-target-libquadmath
46694
46695 html-target-libquadmath: \
46696 configure-target-libquadmath
46697 @: $(MAKE); $(unstage)
46698 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46699 r=`${PWD_COMMAND}`; export r; \
46700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46701 $(NORMAL_TARGET_EXPORTS) \
46702 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
46703 for flag in $(EXTRA_TARGET_FLAGS); do \
46704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46705 done; \
46706 (cd $(TARGET_SUBDIR)/libquadmath && \
46707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46709 "RANLIB=$${RANLIB}" \
46710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46711 html) \
46712 || exit 1
46713
46714 @endif target-libquadmath
46715
46716 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
46717 maybe-TAGS-target-libquadmath:
46718 @if target-libquadmath
46719 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
46720
46721 TAGS-target-libquadmath: \
46722 configure-target-libquadmath
46723 @: $(MAKE); $(unstage)
46724 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46725 r=`${PWD_COMMAND}`; export r; \
46726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46727 $(NORMAL_TARGET_EXPORTS) \
46728 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
46729 for flag in $(EXTRA_TARGET_FLAGS); do \
46730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46731 done; \
46732 (cd $(TARGET_SUBDIR)/libquadmath && \
46733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46735 "RANLIB=$${RANLIB}" \
46736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46737 TAGS) \
46738 || exit 1
46739
46740 @endif target-libquadmath
46741
46742 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
46743 maybe-install-info-target-libquadmath:
46744 @if target-libquadmath
46745 maybe-install-info-target-libquadmath: install-info-target-libquadmath
46746
46747 install-info-target-libquadmath: \
46748 configure-target-libquadmath \
46749 info-target-libquadmath
46750 @: $(MAKE); $(unstage)
46751 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46752 r=`${PWD_COMMAND}`; export r; \
46753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46754 $(NORMAL_TARGET_EXPORTS) \
46755 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
46756 for flag in $(EXTRA_TARGET_FLAGS); do \
46757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46758 done; \
46759 (cd $(TARGET_SUBDIR)/libquadmath && \
46760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46762 "RANLIB=$${RANLIB}" \
46763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46764 install-info) \
46765 || exit 1
46766
46767 @endif target-libquadmath
46768
46769 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
46770 maybe-install-pdf-target-libquadmath:
46771 @if target-libquadmath
46772 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
46773
46774 install-pdf-target-libquadmath: \
46775 configure-target-libquadmath \
46776 pdf-target-libquadmath
46777 @: $(MAKE); $(unstage)
46778 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46779 r=`${PWD_COMMAND}`; export r; \
46780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46781 $(NORMAL_TARGET_EXPORTS) \
46782 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
46783 for flag in $(EXTRA_TARGET_FLAGS); do \
46784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46785 done; \
46786 (cd $(TARGET_SUBDIR)/libquadmath && \
46787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46789 "RANLIB=$${RANLIB}" \
46790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46791 install-pdf) \
46792 || exit 1
46793
46794 @endif target-libquadmath
46795
46796 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
46797 maybe-install-html-target-libquadmath:
46798 @if target-libquadmath
46799 maybe-install-html-target-libquadmath: install-html-target-libquadmath
46800
46801 install-html-target-libquadmath: \
46802 configure-target-libquadmath \
46803 html-target-libquadmath
46804 @: $(MAKE); $(unstage)
46805 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46806 r=`${PWD_COMMAND}`; export r; \
46807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46808 $(NORMAL_TARGET_EXPORTS) \
46809 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
46810 for flag in $(EXTRA_TARGET_FLAGS); do \
46811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46812 done; \
46813 (cd $(TARGET_SUBDIR)/libquadmath && \
46814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46816 "RANLIB=$${RANLIB}" \
46817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46818 install-html) \
46819 || exit 1
46820
46821 @endif target-libquadmath
46822
46823 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
46824 maybe-installcheck-target-libquadmath:
46825 @if target-libquadmath
46826 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
46827
46828 installcheck-target-libquadmath: \
46829 configure-target-libquadmath
46830 @: $(MAKE); $(unstage)
46831 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46832 r=`${PWD_COMMAND}`; export r; \
46833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46834 $(NORMAL_TARGET_EXPORTS) \
46835 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
46836 for flag in $(EXTRA_TARGET_FLAGS); do \
46837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46838 done; \
46839 (cd $(TARGET_SUBDIR)/libquadmath && \
46840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46842 "RANLIB=$${RANLIB}" \
46843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46844 installcheck) \
46845 || exit 1
46846
46847 @endif target-libquadmath
46848
46849 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
46850 maybe-mostlyclean-target-libquadmath:
46851 @if target-libquadmath
46852 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
46853
46854 mostlyclean-target-libquadmath:
46855 @: $(MAKE); $(unstage)
46856 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46857 r=`${PWD_COMMAND}`; export r; \
46858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46859 $(NORMAL_TARGET_EXPORTS) \
46860 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
46861 for flag in $(EXTRA_TARGET_FLAGS); do \
46862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46863 done; \
46864 (cd $(TARGET_SUBDIR)/libquadmath && \
46865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46867 "RANLIB=$${RANLIB}" \
46868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46869 mostlyclean) \
46870 || exit 1
46871
46872 @endif target-libquadmath
46873
46874 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
46875 maybe-clean-target-libquadmath:
46876 @if target-libquadmath
46877 maybe-clean-target-libquadmath: clean-target-libquadmath
46878
46879 clean-target-libquadmath:
46880 @: $(MAKE); $(unstage)
46881 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46882 r=`${PWD_COMMAND}`; export r; \
46883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46884 $(NORMAL_TARGET_EXPORTS) \
46885 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
46886 for flag in $(EXTRA_TARGET_FLAGS); do \
46887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46888 done; \
46889 (cd $(TARGET_SUBDIR)/libquadmath && \
46890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46892 "RANLIB=$${RANLIB}" \
46893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46894 clean) \
46895 || exit 1
46896
46897 @endif target-libquadmath
46898
46899 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
46900 maybe-distclean-target-libquadmath:
46901 @if target-libquadmath
46902 maybe-distclean-target-libquadmath: distclean-target-libquadmath
46903
46904 distclean-target-libquadmath:
46905 @: $(MAKE); $(unstage)
46906 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46907 r=`${PWD_COMMAND}`; export r; \
46908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46909 $(NORMAL_TARGET_EXPORTS) \
46910 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
46911 for flag in $(EXTRA_TARGET_FLAGS); do \
46912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46913 done; \
46914 (cd $(TARGET_SUBDIR)/libquadmath && \
46915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46917 "RANLIB=$${RANLIB}" \
46918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46919 distclean) \
46920 || exit 1
46921
46922 @endif target-libquadmath
46923
46924 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
46925 maybe-maintainer-clean-target-libquadmath:
46926 @if target-libquadmath
46927 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
46928
46929 maintainer-clean-target-libquadmath:
46930 @: $(MAKE); $(unstage)
46931 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
46932 r=`${PWD_COMMAND}`; export r; \
46933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46934 $(NORMAL_TARGET_EXPORTS) \
46935 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
46936 for flag in $(EXTRA_TARGET_FLAGS); do \
46937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46938 done; \
46939 (cd $(TARGET_SUBDIR)/libquadmath && \
46940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46942 "RANLIB=$${RANLIB}" \
46943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46944 maintainer-clean) \
46945 || exit 1
46946
46947 @endif target-libquadmath
46948
46949
46950
46951
46952
46953 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
46954 maybe-configure-target-libgfortran:
46955 @if gcc-bootstrap
46956 configure-target-libgfortran: stage_current
46957 @endif gcc-bootstrap
46958 @if target-libgfortran
46959 maybe-configure-target-libgfortran: configure-target-libgfortran
46960 configure-target-libgfortran:
46961 @: $(MAKE); $(unstage)
46962 @r=`${PWD_COMMAND}`; export r; \
46963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46964 echo "Checking multilib configuration for libgfortran..."; \
46965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46966 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
46967 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46968 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
46969 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
46970 else \
46971 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
46972 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46973 fi; \
46974 else \
46975 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
46976 fi; \
46977 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
46978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
46979 $(NORMAL_TARGET_EXPORTS) \
46980 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
46981 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
46982 case $(srcdir) in \
46983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46984 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
46985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46986 esac; \
46987 module_srcdir=libgfortran; \
46988 rm -f no-such-file || : ; \
46989 CONFIG_SITE=no-such-file $(SHELL) \
46990 $$s/$$module_srcdir/configure \
46991 --srcdir=$${topdir}/$$module_srcdir \
46992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46993 --target=${target_alias} \
46994 || exit 1
46995 @endif target-libgfortran
46996
46997
46998
46999
47000
47001 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
47002 maybe-all-target-libgfortran:
47003 @if gcc-bootstrap
47004 all-target-libgfortran: stage_current
47005 @endif gcc-bootstrap
47006 @if target-libgfortran
47007 TARGET-target-libgfortran=all
47008 maybe-all-target-libgfortran: all-target-libgfortran
47009 all-target-libgfortran: configure-target-libgfortran
47010 @: $(MAKE); $(unstage)
47011 @r=`${PWD_COMMAND}`; export r; \
47012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47013 $(NORMAL_TARGET_EXPORTS) \
47014 (cd $(TARGET_SUBDIR)/libgfortran && \
47015 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47016 $(TARGET-target-libgfortran))
47017 @endif target-libgfortran
47018
47019
47020
47021
47022
47023 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
47024 maybe-check-target-libgfortran:
47025 @if target-libgfortran
47026 maybe-check-target-libgfortran: check-target-libgfortran
47027
47028 check-target-libgfortran:
47029 @: $(MAKE); $(unstage)
47030 @r=`${PWD_COMMAND}`; export r; \
47031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47032 $(NORMAL_TARGET_EXPORTS) \
47033 (cd $(TARGET_SUBDIR)/libgfortran && \
47034 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47035
47036 @endif target-libgfortran
47037
47038 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
47039 maybe-install-target-libgfortran:
47040 @if target-libgfortran
47041 maybe-install-target-libgfortran: install-target-libgfortran
47042
47043 install-target-libgfortran: installdirs
47044 @: $(MAKE); $(unstage)
47045 @r=`${PWD_COMMAND}`; export r; \
47046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47047 $(NORMAL_TARGET_EXPORTS) \
47048 (cd $(TARGET_SUBDIR)/libgfortran && \
47049 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47050
47051 @endif target-libgfortran
47052
47053 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
47054 maybe-install-strip-target-libgfortran:
47055 @if target-libgfortran
47056 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
47057
47058 install-strip-target-libgfortran: installdirs
47059 @: $(MAKE); $(unstage)
47060 @r=`${PWD_COMMAND}`; export r; \
47061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47062 $(NORMAL_TARGET_EXPORTS) \
47063 (cd $(TARGET_SUBDIR)/libgfortran && \
47064 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47065
47066 @endif target-libgfortran
47067
47068 # Other targets (info, dvi, pdf, etc.)
47069
47070 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
47071 maybe-info-target-libgfortran:
47072 @if target-libgfortran
47073 maybe-info-target-libgfortran: info-target-libgfortran
47074
47075 info-target-libgfortran: \
47076 configure-target-libgfortran
47077 @: $(MAKE); $(unstage)
47078 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47079 r=`${PWD_COMMAND}`; export r; \
47080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47081 $(NORMAL_TARGET_EXPORTS) \
47082 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
47083 for flag in $(EXTRA_TARGET_FLAGS); do \
47084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47085 done; \
47086 (cd $(TARGET_SUBDIR)/libgfortran && \
47087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47089 "RANLIB=$${RANLIB}" \
47090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47091 info) \
47092 || exit 1
47093
47094 @endif target-libgfortran
47095
47096 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
47097 maybe-dvi-target-libgfortran:
47098 @if target-libgfortran
47099 maybe-dvi-target-libgfortran: dvi-target-libgfortran
47100
47101 dvi-target-libgfortran: \
47102 configure-target-libgfortran
47103 @: $(MAKE); $(unstage)
47104 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47105 r=`${PWD_COMMAND}`; export r; \
47106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47107 $(NORMAL_TARGET_EXPORTS) \
47108 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
47109 for flag in $(EXTRA_TARGET_FLAGS); do \
47110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47111 done; \
47112 (cd $(TARGET_SUBDIR)/libgfortran && \
47113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47115 "RANLIB=$${RANLIB}" \
47116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47117 dvi) \
47118 || exit 1
47119
47120 @endif target-libgfortran
47121
47122 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
47123 maybe-pdf-target-libgfortran:
47124 @if target-libgfortran
47125 maybe-pdf-target-libgfortran: pdf-target-libgfortran
47126
47127 pdf-target-libgfortran: \
47128 configure-target-libgfortran
47129 @: $(MAKE); $(unstage)
47130 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47131 r=`${PWD_COMMAND}`; export r; \
47132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47133 $(NORMAL_TARGET_EXPORTS) \
47134 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
47135 for flag in $(EXTRA_TARGET_FLAGS); do \
47136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47137 done; \
47138 (cd $(TARGET_SUBDIR)/libgfortran && \
47139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47141 "RANLIB=$${RANLIB}" \
47142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47143 pdf) \
47144 || exit 1
47145
47146 @endif target-libgfortran
47147
47148 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
47149 maybe-html-target-libgfortran:
47150 @if target-libgfortran
47151 maybe-html-target-libgfortran: html-target-libgfortran
47152
47153 html-target-libgfortran: \
47154 configure-target-libgfortran
47155 @: $(MAKE); $(unstage)
47156 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47157 r=`${PWD_COMMAND}`; export r; \
47158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47159 $(NORMAL_TARGET_EXPORTS) \
47160 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
47161 for flag in $(EXTRA_TARGET_FLAGS); do \
47162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47163 done; \
47164 (cd $(TARGET_SUBDIR)/libgfortran && \
47165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47167 "RANLIB=$${RANLIB}" \
47168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47169 html) \
47170 || exit 1
47171
47172 @endif target-libgfortran
47173
47174 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
47175 maybe-TAGS-target-libgfortran:
47176 @if target-libgfortran
47177 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
47178
47179 TAGS-target-libgfortran: \
47180 configure-target-libgfortran
47181 @: $(MAKE); $(unstage)
47182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47183 r=`${PWD_COMMAND}`; export r; \
47184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47185 $(NORMAL_TARGET_EXPORTS) \
47186 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
47187 for flag in $(EXTRA_TARGET_FLAGS); do \
47188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47189 done; \
47190 (cd $(TARGET_SUBDIR)/libgfortran && \
47191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47193 "RANLIB=$${RANLIB}" \
47194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47195 TAGS) \
47196 || exit 1
47197
47198 @endif target-libgfortran
47199
47200 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
47201 maybe-install-info-target-libgfortran:
47202 @if target-libgfortran
47203 maybe-install-info-target-libgfortran: install-info-target-libgfortran
47204
47205 install-info-target-libgfortran: \
47206 configure-target-libgfortran \
47207 info-target-libgfortran
47208 @: $(MAKE); $(unstage)
47209 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47210 r=`${PWD_COMMAND}`; export r; \
47211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47212 $(NORMAL_TARGET_EXPORTS) \
47213 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
47214 for flag in $(EXTRA_TARGET_FLAGS); do \
47215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47216 done; \
47217 (cd $(TARGET_SUBDIR)/libgfortran && \
47218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47220 "RANLIB=$${RANLIB}" \
47221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47222 install-info) \
47223 || exit 1
47224
47225 @endif target-libgfortran
47226
47227 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
47228 maybe-install-pdf-target-libgfortran:
47229 @if target-libgfortran
47230 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
47231
47232 install-pdf-target-libgfortran: \
47233 configure-target-libgfortran \
47234 pdf-target-libgfortran
47235 @: $(MAKE); $(unstage)
47236 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47237 r=`${PWD_COMMAND}`; export r; \
47238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47239 $(NORMAL_TARGET_EXPORTS) \
47240 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
47241 for flag in $(EXTRA_TARGET_FLAGS); do \
47242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47243 done; \
47244 (cd $(TARGET_SUBDIR)/libgfortran && \
47245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47247 "RANLIB=$${RANLIB}" \
47248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47249 install-pdf) \
47250 || exit 1
47251
47252 @endif target-libgfortran
47253
47254 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
47255 maybe-install-html-target-libgfortran:
47256 @if target-libgfortran
47257 maybe-install-html-target-libgfortran: install-html-target-libgfortran
47258
47259 install-html-target-libgfortran: \
47260 configure-target-libgfortran \
47261 html-target-libgfortran
47262 @: $(MAKE); $(unstage)
47263 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47264 r=`${PWD_COMMAND}`; export r; \
47265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47266 $(NORMAL_TARGET_EXPORTS) \
47267 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
47268 for flag in $(EXTRA_TARGET_FLAGS); do \
47269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47270 done; \
47271 (cd $(TARGET_SUBDIR)/libgfortran && \
47272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47274 "RANLIB=$${RANLIB}" \
47275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47276 install-html) \
47277 || exit 1
47278
47279 @endif target-libgfortran
47280
47281 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
47282 maybe-installcheck-target-libgfortran:
47283 @if target-libgfortran
47284 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
47285
47286 installcheck-target-libgfortran: \
47287 configure-target-libgfortran
47288 @: $(MAKE); $(unstage)
47289 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47290 r=`${PWD_COMMAND}`; export r; \
47291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47292 $(NORMAL_TARGET_EXPORTS) \
47293 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
47294 for flag in $(EXTRA_TARGET_FLAGS); do \
47295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47296 done; \
47297 (cd $(TARGET_SUBDIR)/libgfortran && \
47298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47300 "RANLIB=$${RANLIB}" \
47301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47302 installcheck) \
47303 || exit 1
47304
47305 @endif target-libgfortran
47306
47307 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
47308 maybe-mostlyclean-target-libgfortran:
47309 @if target-libgfortran
47310 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
47311
47312 mostlyclean-target-libgfortran:
47313 @: $(MAKE); $(unstage)
47314 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47315 r=`${PWD_COMMAND}`; export r; \
47316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47317 $(NORMAL_TARGET_EXPORTS) \
47318 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
47319 for flag in $(EXTRA_TARGET_FLAGS); do \
47320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47321 done; \
47322 (cd $(TARGET_SUBDIR)/libgfortran && \
47323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47325 "RANLIB=$${RANLIB}" \
47326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47327 mostlyclean) \
47328 || exit 1
47329
47330 @endif target-libgfortran
47331
47332 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
47333 maybe-clean-target-libgfortran:
47334 @if target-libgfortran
47335 maybe-clean-target-libgfortran: clean-target-libgfortran
47336
47337 clean-target-libgfortran:
47338 @: $(MAKE); $(unstage)
47339 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47340 r=`${PWD_COMMAND}`; export r; \
47341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47342 $(NORMAL_TARGET_EXPORTS) \
47343 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
47344 for flag in $(EXTRA_TARGET_FLAGS); do \
47345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47346 done; \
47347 (cd $(TARGET_SUBDIR)/libgfortran && \
47348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47350 "RANLIB=$${RANLIB}" \
47351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47352 clean) \
47353 || exit 1
47354
47355 @endif target-libgfortran
47356
47357 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
47358 maybe-distclean-target-libgfortran:
47359 @if target-libgfortran
47360 maybe-distclean-target-libgfortran: distclean-target-libgfortran
47361
47362 distclean-target-libgfortran:
47363 @: $(MAKE); $(unstage)
47364 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47365 r=`${PWD_COMMAND}`; export r; \
47366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47367 $(NORMAL_TARGET_EXPORTS) \
47368 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
47369 for flag in $(EXTRA_TARGET_FLAGS); do \
47370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47371 done; \
47372 (cd $(TARGET_SUBDIR)/libgfortran && \
47373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47375 "RANLIB=$${RANLIB}" \
47376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47377 distclean) \
47378 || exit 1
47379
47380 @endif target-libgfortran
47381
47382 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
47383 maybe-maintainer-clean-target-libgfortran:
47384 @if target-libgfortran
47385 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
47386
47387 maintainer-clean-target-libgfortran:
47388 @: $(MAKE); $(unstage)
47389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
47390 r=`${PWD_COMMAND}`; export r; \
47391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47392 $(NORMAL_TARGET_EXPORTS) \
47393 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
47394 for flag in $(EXTRA_TARGET_FLAGS); do \
47395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47396 done; \
47397 (cd $(TARGET_SUBDIR)/libgfortran && \
47398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47400 "RANLIB=$${RANLIB}" \
47401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47402 maintainer-clean) \
47403 || exit 1
47404
47405 @endif target-libgfortran
47406
47407
47408
47409
47410
47411 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
47412 maybe-configure-target-libobjc:
47413 @if gcc-bootstrap
47414 configure-target-libobjc: stage_current
47415 @endif gcc-bootstrap
47416 @if target-libobjc
47417 maybe-configure-target-libobjc: configure-target-libobjc
47418 configure-target-libobjc:
47419 @: $(MAKE); $(unstage)
47420 @r=`${PWD_COMMAND}`; export r; \
47421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47422 echo "Checking multilib configuration for libobjc..."; \
47423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
47425 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47426 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
47427 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
47428 else \
47429 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
47430 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47431 fi; \
47432 else \
47433 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
47434 fi; \
47435 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
47436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
47437 $(NORMAL_TARGET_EXPORTS) \
47438 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
47439 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
47440 case $(srcdir) in \
47441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47442 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
47443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47444 esac; \
47445 module_srcdir=libobjc; \
47446 rm -f no-such-file || : ; \
47447 CONFIG_SITE=no-such-file $(SHELL) \
47448 $$s/$$module_srcdir/configure \
47449 --srcdir=$${topdir}/$$module_srcdir \
47450 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47451 --target=${target_alias} \
47452 || exit 1
47453 @endif target-libobjc
47454
47455
47456
47457
47458
47459 .PHONY: all-target-libobjc maybe-all-target-libobjc
47460 maybe-all-target-libobjc:
47461 @if gcc-bootstrap
47462 all-target-libobjc: stage_current
47463 @endif gcc-bootstrap
47464 @if target-libobjc
47465 TARGET-target-libobjc=all
47466 maybe-all-target-libobjc: all-target-libobjc
47467 all-target-libobjc: configure-target-libobjc
47468 @: $(MAKE); $(unstage)
47469 @r=`${PWD_COMMAND}`; export r; \
47470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47471 $(NORMAL_TARGET_EXPORTS) \
47472 (cd $(TARGET_SUBDIR)/libobjc && \
47473 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47474 $(TARGET-target-libobjc))
47475 @endif target-libobjc
47476
47477
47478
47479
47480
47481 .PHONY: check-target-libobjc maybe-check-target-libobjc
47482 maybe-check-target-libobjc:
47483 @if target-libobjc
47484 maybe-check-target-libobjc: check-target-libobjc
47485
47486 check-target-libobjc:
47487 @: $(MAKE); $(unstage)
47488 @r=`${PWD_COMMAND}`; export r; \
47489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47490 $(NORMAL_TARGET_EXPORTS) \
47491 (cd $(TARGET_SUBDIR)/libobjc && \
47492 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47493
47494 @endif target-libobjc
47495
47496 .PHONY: install-target-libobjc maybe-install-target-libobjc
47497 maybe-install-target-libobjc:
47498 @if target-libobjc
47499 maybe-install-target-libobjc: install-target-libobjc
47500
47501 install-target-libobjc: installdirs
47502 @: $(MAKE); $(unstage)
47503 @r=`${PWD_COMMAND}`; export r; \
47504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47505 $(NORMAL_TARGET_EXPORTS) \
47506 (cd $(TARGET_SUBDIR)/libobjc && \
47507 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47508
47509 @endif target-libobjc
47510
47511 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
47512 maybe-install-strip-target-libobjc:
47513 @if target-libobjc
47514 maybe-install-strip-target-libobjc: install-strip-target-libobjc
47515
47516 install-strip-target-libobjc: installdirs
47517 @: $(MAKE); $(unstage)
47518 @r=`${PWD_COMMAND}`; export r; \
47519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47520 $(NORMAL_TARGET_EXPORTS) \
47521 (cd $(TARGET_SUBDIR)/libobjc && \
47522 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47523
47524 @endif target-libobjc
47525
47526 # Other targets (info, dvi, pdf, etc.)
47527
47528 .PHONY: maybe-info-target-libobjc info-target-libobjc
47529 maybe-info-target-libobjc:
47530 @if target-libobjc
47531 maybe-info-target-libobjc: info-target-libobjc
47532
47533 info-target-libobjc: \
47534 configure-target-libobjc
47535 @: $(MAKE); $(unstage)
47536 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47537 r=`${PWD_COMMAND}`; export r; \
47538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47539 $(NORMAL_TARGET_EXPORTS) \
47540 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
47541 for flag in $(EXTRA_TARGET_FLAGS); do \
47542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47543 done; \
47544 (cd $(TARGET_SUBDIR)/libobjc && \
47545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47547 "RANLIB=$${RANLIB}" \
47548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47549 info) \
47550 || exit 1
47551
47552 @endif target-libobjc
47553
47554 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
47555 maybe-dvi-target-libobjc:
47556 @if target-libobjc
47557 maybe-dvi-target-libobjc: dvi-target-libobjc
47558
47559 dvi-target-libobjc: \
47560 configure-target-libobjc
47561 @: $(MAKE); $(unstage)
47562 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47563 r=`${PWD_COMMAND}`; export r; \
47564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47565 $(NORMAL_TARGET_EXPORTS) \
47566 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
47567 for flag in $(EXTRA_TARGET_FLAGS); do \
47568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47569 done; \
47570 (cd $(TARGET_SUBDIR)/libobjc && \
47571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47573 "RANLIB=$${RANLIB}" \
47574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47575 dvi) \
47576 || exit 1
47577
47578 @endif target-libobjc
47579
47580 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
47581 maybe-pdf-target-libobjc:
47582 @if target-libobjc
47583 maybe-pdf-target-libobjc: pdf-target-libobjc
47584
47585 pdf-target-libobjc: \
47586 configure-target-libobjc
47587 @: $(MAKE); $(unstage)
47588 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47589 r=`${PWD_COMMAND}`; export r; \
47590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47591 $(NORMAL_TARGET_EXPORTS) \
47592 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
47593 for flag in $(EXTRA_TARGET_FLAGS); do \
47594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47595 done; \
47596 (cd $(TARGET_SUBDIR)/libobjc && \
47597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47599 "RANLIB=$${RANLIB}" \
47600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47601 pdf) \
47602 || exit 1
47603
47604 @endif target-libobjc
47605
47606 .PHONY: maybe-html-target-libobjc html-target-libobjc
47607 maybe-html-target-libobjc:
47608 @if target-libobjc
47609 maybe-html-target-libobjc: html-target-libobjc
47610
47611 html-target-libobjc: \
47612 configure-target-libobjc
47613 @: $(MAKE); $(unstage)
47614 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47615 r=`${PWD_COMMAND}`; export r; \
47616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47617 $(NORMAL_TARGET_EXPORTS) \
47618 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
47619 for flag in $(EXTRA_TARGET_FLAGS); do \
47620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47621 done; \
47622 (cd $(TARGET_SUBDIR)/libobjc && \
47623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47625 "RANLIB=$${RANLIB}" \
47626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47627 html) \
47628 || exit 1
47629
47630 @endif target-libobjc
47631
47632 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
47633 maybe-TAGS-target-libobjc:
47634 @if target-libobjc
47635 maybe-TAGS-target-libobjc: TAGS-target-libobjc
47636
47637 TAGS-target-libobjc: \
47638 configure-target-libobjc
47639 @: $(MAKE); $(unstage)
47640 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47641 r=`${PWD_COMMAND}`; export r; \
47642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47643 $(NORMAL_TARGET_EXPORTS) \
47644 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
47645 for flag in $(EXTRA_TARGET_FLAGS); do \
47646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47647 done; \
47648 (cd $(TARGET_SUBDIR)/libobjc && \
47649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47651 "RANLIB=$${RANLIB}" \
47652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47653 TAGS) \
47654 || exit 1
47655
47656 @endif target-libobjc
47657
47658 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
47659 maybe-install-info-target-libobjc:
47660 @if target-libobjc
47661 maybe-install-info-target-libobjc: install-info-target-libobjc
47662
47663 install-info-target-libobjc: \
47664 configure-target-libobjc \
47665 info-target-libobjc
47666 @: $(MAKE); $(unstage)
47667 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47668 r=`${PWD_COMMAND}`; export r; \
47669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47670 $(NORMAL_TARGET_EXPORTS) \
47671 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
47672 for flag in $(EXTRA_TARGET_FLAGS); do \
47673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47674 done; \
47675 (cd $(TARGET_SUBDIR)/libobjc && \
47676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47678 "RANLIB=$${RANLIB}" \
47679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47680 install-info) \
47681 || exit 1
47682
47683 @endif target-libobjc
47684
47685 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
47686 maybe-install-pdf-target-libobjc:
47687 @if target-libobjc
47688 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
47689
47690 install-pdf-target-libobjc: \
47691 configure-target-libobjc \
47692 pdf-target-libobjc
47693 @: $(MAKE); $(unstage)
47694 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47695 r=`${PWD_COMMAND}`; export r; \
47696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47697 $(NORMAL_TARGET_EXPORTS) \
47698 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
47699 for flag in $(EXTRA_TARGET_FLAGS); do \
47700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47701 done; \
47702 (cd $(TARGET_SUBDIR)/libobjc && \
47703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47705 "RANLIB=$${RANLIB}" \
47706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47707 install-pdf) \
47708 || exit 1
47709
47710 @endif target-libobjc
47711
47712 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
47713 maybe-install-html-target-libobjc:
47714 @if target-libobjc
47715 maybe-install-html-target-libobjc: install-html-target-libobjc
47716
47717 install-html-target-libobjc: \
47718 configure-target-libobjc \
47719 html-target-libobjc
47720 @: $(MAKE); $(unstage)
47721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47722 r=`${PWD_COMMAND}`; export r; \
47723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47724 $(NORMAL_TARGET_EXPORTS) \
47725 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
47726 for flag in $(EXTRA_TARGET_FLAGS); do \
47727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47728 done; \
47729 (cd $(TARGET_SUBDIR)/libobjc && \
47730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47732 "RANLIB=$${RANLIB}" \
47733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47734 install-html) \
47735 || exit 1
47736
47737 @endif target-libobjc
47738
47739 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
47740 maybe-installcheck-target-libobjc:
47741 @if target-libobjc
47742 maybe-installcheck-target-libobjc: installcheck-target-libobjc
47743
47744 installcheck-target-libobjc: \
47745 configure-target-libobjc
47746 @: $(MAKE); $(unstage)
47747 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47748 r=`${PWD_COMMAND}`; export r; \
47749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47750 $(NORMAL_TARGET_EXPORTS) \
47751 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
47752 for flag in $(EXTRA_TARGET_FLAGS); do \
47753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47754 done; \
47755 (cd $(TARGET_SUBDIR)/libobjc && \
47756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47758 "RANLIB=$${RANLIB}" \
47759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47760 installcheck) \
47761 || exit 1
47762
47763 @endif target-libobjc
47764
47765 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
47766 maybe-mostlyclean-target-libobjc:
47767 @if target-libobjc
47768 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
47769
47770 mostlyclean-target-libobjc:
47771 @: $(MAKE); $(unstage)
47772 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47773 r=`${PWD_COMMAND}`; export r; \
47774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47775 $(NORMAL_TARGET_EXPORTS) \
47776 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
47777 for flag in $(EXTRA_TARGET_FLAGS); do \
47778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47779 done; \
47780 (cd $(TARGET_SUBDIR)/libobjc && \
47781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47783 "RANLIB=$${RANLIB}" \
47784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47785 mostlyclean) \
47786 || exit 1
47787
47788 @endif target-libobjc
47789
47790 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
47791 maybe-clean-target-libobjc:
47792 @if target-libobjc
47793 maybe-clean-target-libobjc: clean-target-libobjc
47794
47795 clean-target-libobjc:
47796 @: $(MAKE); $(unstage)
47797 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47798 r=`${PWD_COMMAND}`; export r; \
47799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47800 $(NORMAL_TARGET_EXPORTS) \
47801 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
47802 for flag in $(EXTRA_TARGET_FLAGS); do \
47803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47804 done; \
47805 (cd $(TARGET_SUBDIR)/libobjc && \
47806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47808 "RANLIB=$${RANLIB}" \
47809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47810 clean) \
47811 || exit 1
47812
47813 @endif target-libobjc
47814
47815 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
47816 maybe-distclean-target-libobjc:
47817 @if target-libobjc
47818 maybe-distclean-target-libobjc: distclean-target-libobjc
47819
47820 distclean-target-libobjc:
47821 @: $(MAKE); $(unstage)
47822 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47823 r=`${PWD_COMMAND}`; export r; \
47824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47825 $(NORMAL_TARGET_EXPORTS) \
47826 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
47827 for flag in $(EXTRA_TARGET_FLAGS); do \
47828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47829 done; \
47830 (cd $(TARGET_SUBDIR)/libobjc && \
47831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47833 "RANLIB=$${RANLIB}" \
47834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47835 distclean) \
47836 || exit 1
47837
47838 @endif target-libobjc
47839
47840 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
47841 maybe-maintainer-clean-target-libobjc:
47842 @if target-libobjc
47843 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
47844
47845 maintainer-clean-target-libobjc:
47846 @: $(MAKE); $(unstage)
47847 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
47848 r=`${PWD_COMMAND}`; export r; \
47849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47850 $(NORMAL_TARGET_EXPORTS) \
47851 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
47852 for flag in $(EXTRA_TARGET_FLAGS); do \
47853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47854 done; \
47855 (cd $(TARGET_SUBDIR)/libobjc && \
47856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47858 "RANLIB=$${RANLIB}" \
47859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47860 maintainer-clean) \
47861 || exit 1
47862
47863 @endif target-libobjc
47864
47865
47866
47867
47868
47869 .PHONY: configure-target-libgo maybe-configure-target-libgo
47870 maybe-configure-target-libgo:
47871 @if gcc-bootstrap
47872 configure-target-libgo: stage_current
47873 @endif gcc-bootstrap
47874 @if target-libgo
47875 maybe-configure-target-libgo: configure-target-libgo
47876 configure-target-libgo:
47877 @: $(MAKE); $(unstage)
47878 @r=`${PWD_COMMAND}`; export r; \
47879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47880 echo "Checking multilib configuration for libgo..."; \
47881 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47882 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
47883 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
47884 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
47885 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
47886 else \
47887 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
47888 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47889 fi; \
47890 else \
47891 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
47892 fi; \
47893 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
47894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
47895 $(NORMAL_TARGET_EXPORTS) \
47896 echo Configuring in $(TARGET_SUBDIR)/libgo; \
47897 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
47898 case $(srcdir) in \
47899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47900 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
47901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47902 esac; \
47903 module_srcdir=libgo; \
47904 rm -f no-such-file || : ; \
47905 CONFIG_SITE=no-such-file $(SHELL) \
47906 $$s/$$module_srcdir/configure \
47907 --srcdir=$${topdir}/$$module_srcdir \
47908 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47909 --target=${target_alias} \
47910 || exit 1
47911 @endif target-libgo
47912
47913
47914
47915
47916
47917 .PHONY: all-target-libgo maybe-all-target-libgo
47918 maybe-all-target-libgo:
47919 @if gcc-bootstrap
47920 all-target-libgo: stage_current
47921 @endif gcc-bootstrap
47922 @if target-libgo
47923 TARGET-target-libgo=all
47924 maybe-all-target-libgo: all-target-libgo
47925 all-target-libgo: configure-target-libgo
47926 @: $(MAKE); $(unstage)
47927 @r=`${PWD_COMMAND}`; export r; \
47928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47929 $(NORMAL_TARGET_EXPORTS) \
47930 (cd $(TARGET_SUBDIR)/libgo && \
47931 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47932 $(TARGET-target-libgo))
47933 @endif target-libgo
47934
47935
47936
47937
47938
47939 .PHONY: check-target-libgo maybe-check-target-libgo
47940 maybe-check-target-libgo:
47941 @if target-libgo
47942 maybe-check-target-libgo: check-target-libgo
47943
47944 check-target-libgo:
47945 @: $(MAKE); $(unstage)
47946 @r=`${PWD_COMMAND}`; export r; \
47947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47948 $(NORMAL_TARGET_EXPORTS) \
47949 (cd $(TARGET_SUBDIR)/libgo && \
47950 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47951
47952 @endif target-libgo
47953
47954 .PHONY: install-target-libgo maybe-install-target-libgo
47955 maybe-install-target-libgo:
47956 @if target-libgo
47957 maybe-install-target-libgo: install-target-libgo
47958
47959 install-target-libgo: installdirs
47960 @: $(MAKE); $(unstage)
47961 @r=`${PWD_COMMAND}`; export r; \
47962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47963 $(NORMAL_TARGET_EXPORTS) \
47964 (cd $(TARGET_SUBDIR)/libgo && \
47965 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47966
47967 @endif target-libgo
47968
47969 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
47970 maybe-install-strip-target-libgo:
47971 @if target-libgo
47972 maybe-install-strip-target-libgo: install-strip-target-libgo
47973
47974 install-strip-target-libgo: installdirs
47975 @: $(MAKE); $(unstage)
47976 @r=`${PWD_COMMAND}`; export r; \
47977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47978 $(NORMAL_TARGET_EXPORTS) \
47979 (cd $(TARGET_SUBDIR)/libgo && \
47980 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47981
47982 @endif target-libgo
47983
47984 # Other targets (info, dvi, pdf, etc.)
47985
47986 .PHONY: maybe-info-target-libgo info-target-libgo
47987 maybe-info-target-libgo:
47988 @if target-libgo
47989 maybe-info-target-libgo: info-target-libgo
47990
47991 info-target-libgo: \
47992 configure-target-libgo
47993 @: $(MAKE); $(unstage)
47994 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
47995 r=`${PWD_COMMAND}`; export r; \
47996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47997 $(NORMAL_TARGET_EXPORTS) \
47998 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
47999 for flag in $(EXTRA_TARGET_FLAGS); do \
48000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48001 done; \
48002 (cd $(TARGET_SUBDIR)/libgo && \
48003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48005 "RANLIB=$${RANLIB}" \
48006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48007 info) \
48008 || exit 1
48009
48010 @endif target-libgo
48011
48012 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
48013 maybe-dvi-target-libgo:
48014 @if target-libgo
48015 maybe-dvi-target-libgo: dvi-target-libgo
48016
48017 dvi-target-libgo: \
48018 configure-target-libgo
48019 @: $(MAKE); $(unstage)
48020 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48021 r=`${PWD_COMMAND}`; export r; \
48022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48023 $(NORMAL_TARGET_EXPORTS) \
48024 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
48025 for flag in $(EXTRA_TARGET_FLAGS); do \
48026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48027 done; \
48028 (cd $(TARGET_SUBDIR)/libgo && \
48029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48031 "RANLIB=$${RANLIB}" \
48032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48033 dvi) \
48034 || exit 1
48035
48036 @endif target-libgo
48037
48038 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
48039 maybe-pdf-target-libgo:
48040 @if target-libgo
48041 maybe-pdf-target-libgo: pdf-target-libgo
48042
48043 pdf-target-libgo: \
48044 configure-target-libgo
48045 @: $(MAKE); $(unstage)
48046 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48047 r=`${PWD_COMMAND}`; export r; \
48048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48049 $(NORMAL_TARGET_EXPORTS) \
48050 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
48051 for flag in $(EXTRA_TARGET_FLAGS); do \
48052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48053 done; \
48054 (cd $(TARGET_SUBDIR)/libgo && \
48055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48057 "RANLIB=$${RANLIB}" \
48058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48059 pdf) \
48060 || exit 1
48061
48062 @endif target-libgo
48063
48064 .PHONY: maybe-html-target-libgo html-target-libgo
48065 maybe-html-target-libgo:
48066 @if target-libgo
48067 maybe-html-target-libgo: html-target-libgo
48068
48069 html-target-libgo: \
48070 configure-target-libgo
48071 @: $(MAKE); $(unstage)
48072 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48073 r=`${PWD_COMMAND}`; export r; \
48074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48075 $(NORMAL_TARGET_EXPORTS) \
48076 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
48077 for flag in $(EXTRA_TARGET_FLAGS); do \
48078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48079 done; \
48080 (cd $(TARGET_SUBDIR)/libgo && \
48081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48083 "RANLIB=$${RANLIB}" \
48084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48085 html) \
48086 || exit 1
48087
48088 @endif target-libgo
48089
48090 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
48091 maybe-TAGS-target-libgo:
48092 @if target-libgo
48093 maybe-TAGS-target-libgo: TAGS-target-libgo
48094
48095 TAGS-target-libgo: \
48096 configure-target-libgo
48097 @: $(MAKE); $(unstage)
48098 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48099 r=`${PWD_COMMAND}`; export r; \
48100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48101 $(NORMAL_TARGET_EXPORTS) \
48102 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
48103 for flag in $(EXTRA_TARGET_FLAGS); do \
48104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48105 done; \
48106 (cd $(TARGET_SUBDIR)/libgo && \
48107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48109 "RANLIB=$${RANLIB}" \
48110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48111 TAGS) \
48112 || exit 1
48113
48114 @endif target-libgo
48115
48116 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
48117 maybe-install-info-target-libgo:
48118 @if target-libgo
48119 maybe-install-info-target-libgo: install-info-target-libgo
48120
48121 install-info-target-libgo: \
48122 configure-target-libgo \
48123 info-target-libgo
48124 @: $(MAKE); $(unstage)
48125 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48126 r=`${PWD_COMMAND}`; export r; \
48127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48128 $(NORMAL_TARGET_EXPORTS) \
48129 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
48130 for flag in $(EXTRA_TARGET_FLAGS); do \
48131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48132 done; \
48133 (cd $(TARGET_SUBDIR)/libgo && \
48134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48136 "RANLIB=$${RANLIB}" \
48137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48138 install-info) \
48139 || exit 1
48140
48141 @endif target-libgo
48142
48143 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
48144 maybe-install-pdf-target-libgo:
48145 @if target-libgo
48146 maybe-install-pdf-target-libgo: install-pdf-target-libgo
48147
48148 install-pdf-target-libgo: \
48149 configure-target-libgo \
48150 pdf-target-libgo
48151 @: $(MAKE); $(unstage)
48152 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48153 r=`${PWD_COMMAND}`; export r; \
48154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48155 $(NORMAL_TARGET_EXPORTS) \
48156 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
48157 for flag in $(EXTRA_TARGET_FLAGS); do \
48158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48159 done; \
48160 (cd $(TARGET_SUBDIR)/libgo && \
48161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48163 "RANLIB=$${RANLIB}" \
48164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48165 install-pdf) \
48166 || exit 1
48167
48168 @endif target-libgo
48169
48170 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
48171 maybe-install-html-target-libgo:
48172 @if target-libgo
48173 maybe-install-html-target-libgo: install-html-target-libgo
48174
48175 install-html-target-libgo: \
48176 configure-target-libgo \
48177 html-target-libgo
48178 @: $(MAKE); $(unstage)
48179 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48180 r=`${PWD_COMMAND}`; export r; \
48181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48182 $(NORMAL_TARGET_EXPORTS) \
48183 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
48184 for flag in $(EXTRA_TARGET_FLAGS); do \
48185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48186 done; \
48187 (cd $(TARGET_SUBDIR)/libgo && \
48188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48190 "RANLIB=$${RANLIB}" \
48191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48192 install-html) \
48193 || exit 1
48194
48195 @endif target-libgo
48196
48197 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
48198 maybe-installcheck-target-libgo:
48199 @if target-libgo
48200 maybe-installcheck-target-libgo: installcheck-target-libgo
48201
48202 installcheck-target-libgo: \
48203 configure-target-libgo
48204 @: $(MAKE); $(unstage)
48205 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48206 r=`${PWD_COMMAND}`; export r; \
48207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48208 $(NORMAL_TARGET_EXPORTS) \
48209 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
48210 for flag in $(EXTRA_TARGET_FLAGS); do \
48211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48212 done; \
48213 (cd $(TARGET_SUBDIR)/libgo && \
48214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48216 "RANLIB=$${RANLIB}" \
48217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48218 installcheck) \
48219 || exit 1
48220
48221 @endif target-libgo
48222
48223 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
48224 maybe-mostlyclean-target-libgo:
48225 @if target-libgo
48226 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
48227
48228 mostlyclean-target-libgo:
48229 @: $(MAKE); $(unstage)
48230 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48231 r=`${PWD_COMMAND}`; export r; \
48232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48233 $(NORMAL_TARGET_EXPORTS) \
48234 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
48235 for flag in $(EXTRA_TARGET_FLAGS); do \
48236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48237 done; \
48238 (cd $(TARGET_SUBDIR)/libgo && \
48239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48241 "RANLIB=$${RANLIB}" \
48242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48243 mostlyclean) \
48244 || exit 1
48245
48246 @endif target-libgo
48247
48248 .PHONY: maybe-clean-target-libgo clean-target-libgo
48249 maybe-clean-target-libgo:
48250 @if target-libgo
48251 maybe-clean-target-libgo: clean-target-libgo
48252
48253 clean-target-libgo:
48254 @: $(MAKE); $(unstage)
48255 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48256 r=`${PWD_COMMAND}`; export r; \
48257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48258 $(NORMAL_TARGET_EXPORTS) \
48259 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
48260 for flag in $(EXTRA_TARGET_FLAGS); do \
48261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48262 done; \
48263 (cd $(TARGET_SUBDIR)/libgo && \
48264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48266 "RANLIB=$${RANLIB}" \
48267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48268 clean) \
48269 || exit 1
48270
48271 @endif target-libgo
48272
48273 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
48274 maybe-distclean-target-libgo:
48275 @if target-libgo
48276 maybe-distclean-target-libgo: distclean-target-libgo
48277
48278 distclean-target-libgo:
48279 @: $(MAKE); $(unstage)
48280 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48281 r=`${PWD_COMMAND}`; export r; \
48282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48283 $(NORMAL_TARGET_EXPORTS) \
48284 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
48285 for flag in $(EXTRA_TARGET_FLAGS); do \
48286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48287 done; \
48288 (cd $(TARGET_SUBDIR)/libgo && \
48289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48291 "RANLIB=$${RANLIB}" \
48292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48293 distclean) \
48294 || exit 1
48295
48296 @endif target-libgo
48297
48298 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
48299 maybe-maintainer-clean-target-libgo:
48300 @if target-libgo
48301 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
48302
48303 maintainer-clean-target-libgo:
48304 @: $(MAKE); $(unstage)
48305 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
48306 r=`${PWD_COMMAND}`; export r; \
48307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48308 $(NORMAL_TARGET_EXPORTS) \
48309 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
48310 for flag in $(EXTRA_TARGET_FLAGS); do \
48311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48312 done; \
48313 (cd $(TARGET_SUBDIR)/libgo && \
48314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48316 "RANLIB=$${RANLIB}" \
48317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48318 maintainer-clean) \
48319 || exit 1
48320
48321 @endif target-libgo
48322
48323
48324
48325
48326
48327 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
48328 maybe-configure-target-libhsail-rt:
48329 @if gcc-bootstrap
48330 configure-target-libhsail-rt: stage_current
48331 @endif gcc-bootstrap
48332 @if target-libhsail-rt
48333 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
48334 configure-target-libhsail-rt:
48335 @: $(MAKE); $(unstage)
48336 @r=`${PWD_COMMAND}`; export r; \
48337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48338 echo "Checking multilib configuration for libhsail-rt..."; \
48339 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48340 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
48341 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48342 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
48343 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
48344 else \
48345 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
48346 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48347 fi; \
48348 else \
48349 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
48350 fi; \
48351 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
48352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
48353 $(NORMAL_TARGET_EXPORTS) \
48354 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
48355 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
48356 case $(srcdir) in \
48357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48358 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
48359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48360 esac; \
48361 module_srcdir=libhsail-rt; \
48362 rm -f no-such-file || : ; \
48363 CONFIG_SITE=no-such-file $(SHELL) \
48364 $$s/$$module_srcdir/configure \
48365 --srcdir=$${topdir}/$$module_srcdir \
48366 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48367 --target=${target_alias} \
48368 || exit 1
48369 @endif target-libhsail-rt
48370
48371
48372
48373
48374
48375 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
48376 maybe-all-target-libhsail-rt:
48377 @if gcc-bootstrap
48378 all-target-libhsail-rt: stage_current
48379 @endif gcc-bootstrap
48380 @if target-libhsail-rt
48381 TARGET-target-libhsail-rt=all
48382 maybe-all-target-libhsail-rt: all-target-libhsail-rt
48383 all-target-libhsail-rt: configure-target-libhsail-rt
48384 @: $(MAKE); $(unstage)
48385 @r=`${PWD_COMMAND}`; export r; \
48386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48387 $(NORMAL_TARGET_EXPORTS) \
48388 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48389 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48390 $(TARGET-target-libhsail-rt))
48391 @endif target-libhsail-rt
48392
48393
48394
48395
48396
48397 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
48398 maybe-check-target-libhsail-rt:
48399 @if target-libhsail-rt
48400 maybe-check-target-libhsail-rt: check-target-libhsail-rt
48401
48402 check-target-libhsail-rt:
48403 @: $(MAKE); $(unstage)
48404 @r=`${PWD_COMMAND}`; export r; \
48405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48406 $(NORMAL_TARGET_EXPORTS) \
48407 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48408 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48409
48410 @endif target-libhsail-rt
48411
48412 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
48413 maybe-install-target-libhsail-rt:
48414 @if target-libhsail-rt
48415 maybe-install-target-libhsail-rt: install-target-libhsail-rt
48416
48417 install-target-libhsail-rt: installdirs
48418 @: $(MAKE); $(unstage)
48419 @r=`${PWD_COMMAND}`; export r; \
48420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48421 $(NORMAL_TARGET_EXPORTS) \
48422 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48423 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48424
48425 @endif target-libhsail-rt
48426
48427 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
48428 maybe-install-strip-target-libhsail-rt:
48429 @if target-libhsail-rt
48430 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
48431
48432 install-strip-target-libhsail-rt: installdirs
48433 @: $(MAKE); $(unstage)
48434 @r=`${PWD_COMMAND}`; export r; \
48435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48436 $(NORMAL_TARGET_EXPORTS) \
48437 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48438 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48439
48440 @endif target-libhsail-rt
48441
48442 # Other targets (info, dvi, pdf, etc.)
48443
48444 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
48445 maybe-info-target-libhsail-rt:
48446 @if target-libhsail-rt
48447 maybe-info-target-libhsail-rt: info-target-libhsail-rt
48448
48449 info-target-libhsail-rt: \
48450 configure-target-libhsail-rt
48451 @: $(MAKE); $(unstage)
48452 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48453 r=`${PWD_COMMAND}`; export r; \
48454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48455 $(NORMAL_TARGET_EXPORTS) \
48456 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
48457 for flag in $(EXTRA_TARGET_FLAGS); do \
48458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48459 done; \
48460 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48463 "RANLIB=$${RANLIB}" \
48464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48465 info) \
48466 || exit 1
48467
48468 @endif target-libhsail-rt
48469
48470 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
48471 maybe-dvi-target-libhsail-rt:
48472 @if target-libhsail-rt
48473 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
48474
48475 dvi-target-libhsail-rt: \
48476 configure-target-libhsail-rt
48477 @: $(MAKE); $(unstage)
48478 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48479 r=`${PWD_COMMAND}`; export r; \
48480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48481 $(NORMAL_TARGET_EXPORTS) \
48482 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
48483 for flag in $(EXTRA_TARGET_FLAGS); do \
48484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48485 done; \
48486 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48489 "RANLIB=$${RANLIB}" \
48490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48491 dvi) \
48492 || exit 1
48493
48494 @endif target-libhsail-rt
48495
48496 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
48497 maybe-pdf-target-libhsail-rt:
48498 @if target-libhsail-rt
48499 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
48500
48501 pdf-target-libhsail-rt: \
48502 configure-target-libhsail-rt
48503 @: $(MAKE); $(unstage)
48504 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48505 r=`${PWD_COMMAND}`; export r; \
48506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48507 $(NORMAL_TARGET_EXPORTS) \
48508 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48509 for flag in $(EXTRA_TARGET_FLAGS); do \
48510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48511 done; \
48512 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48515 "RANLIB=$${RANLIB}" \
48516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48517 pdf) \
48518 || exit 1
48519
48520 @endif target-libhsail-rt
48521
48522 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
48523 maybe-html-target-libhsail-rt:
48524 @if target-libhsail-rt
48525 maybe-html-target-libhsail-rt: html-target-libhsail-rt
48526
48527 html-target-libhsail-rt: \
48528 configure-target-libhsail-rt
48529 @: $(MAKE); $(unstage)
48530 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48531 r=`${PWD_COMMAND}`; export r; \
48532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48533 $(NORMAL_TARGET_EXPORTS) \
48534 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
48535 for flag in $(EXTRA_TARGET_FLAGS); do \
48536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48537 done; \
48538 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48541 "RANLIB=$${RANLIB}" \
48542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48543 html) \
48544 || exit 1
48545
48546 @endif target-libhsail-rt
48547
48548 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
48549 maybe-TAGS-target-libhsail-rt:
48550 @if target-libhsail-rt
48551 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
48552
48553 TAGS-target-libhsail-rt: \
48554 configure-target-libhsail-rt
48555 @: $(MAKE); $(unstage)
48556 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48557 r=`${PWD_COMMAND}`; export r; \
48558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48559 $(NORMAL_TARGET_EXPORTS) \
48560 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
48561 for flag in $(EXTRA_TARGET_FLAGS); do \
48562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48563 done; \
48564 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48567 "RANLIB=$${RANLIB}" \
48568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48569 TAGS) \
48570 || exit 1
48571
48572 @endif target-libhsail-rt
48573
48574 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
48575 maybe-install-info-target-libhsail-rt:
48576 @if target-libhsail-rt
48577 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
48578
48579 install-info-target-libhsail-rt: \
48580 configure-target-libhsail-rt \
48581 info-target-libhsail-rt
48582 @: $(MAKE); $(unstage)
48583 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48584 r=`${PWD_COMMAND}`; export r; \
48585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48586 $(NORMAL_TARGET_EXPORTS) \
48587 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
48588 for flag in $(EXTRA_TARGET_FLAGS); do \
48589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48590 done; \
48591 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48594 "RANLIB=$${RANLIB}" \
48595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48596 install-info) \
48597 || exit 1
48598
48599 @endif target-libhsail-rt
48600
48601 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
48602 maybe-install-pdf-target-libhsail-rt:
48603 @if target-libhsail-rt
48604 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
48605
48606 install-pdf-target-libhsail-rt: \
48607 configure-target-libhsail-rt \
48608 pdf-target-libhsail-rt
48609 @: $(MAKE); $(unstage)
48610 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48611 r=`${PWD_COMMAND}`; export r; \
48612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48613 $(NORMAL_TARGET_EXPORTS) \
48614 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
48615 for flag in $(EXTRA_TARGET_FLAGS); do \
48616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48617 done; \
48618 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48621 "RANLIB=$${RANLIB}" \
48622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48623 install-pdf) \
48624 || exit 1
48625
48626 @endif target-libhsail-rt
48627
48628 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
48629 maybe-install-html-target-libhsail-rt:
48630 @if target-libhsail-rt
48631 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
48632
48633 install-html-target-libhsail-rt: \
48634 configure-target-libhsail-rt \
48635 html-target-libhsail-rt
48636 @: $(MAKE); $(unstage)
48637 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48638 r=`${PWD_COMMAND}`; export r; \
48639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48640 $(NORMAL_TARGET_EXPORTS) \
48641 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
48642 for flag in $(EXTRA_TARGET_FLAGS); do \
48643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48644 done; \
48645 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48648 "RANLIB=$${RANLIB}" \
48649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48650 install-html) \
48651 || exit 1
48652
48653 @endif target-libhsail-rt
48654
48655 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
48656 maybe-installcheck-target-libhsail-rt:
48657 @if target-libhsail-rt
48658 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
48659
48660 installcheck-target-libhsail-rt: \
48661 configure-target-libhsail-rt
48662 @: $(MAKE); $(unstage)
48663 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48664 r=`${PWD_COMMAND}`; export r; \
48665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48666 $(NORMAL_TARGET_EXPORTS) \
48667 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
48668 for flag in $(EXTRA_TARGET_FLAGS); do \
48669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48670 done; \
48671 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48674 "RANLIB=$${RANLIB}" \
48675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48676 installcheck) \
48677 || exit 1
48678
48679 @endif target-libhsail-rt
48680
48681 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
48682 maybe-mostlyclean-target-libhsail-rt:
48683 @if target-libhsail-rt
48684 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
48685
48686 mostlyclean-target-libhsail-rt:
48687 @: $(MAKE); $(unstage)
48688 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48689 r=`${PWD_COMMAND}`; export r; \
48690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48691 $(NORMAL_TARGET_EXPORTS) \
48692 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48693 for flag in $(EXTRA_TARGET_FLAGS); do \
48694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48695 done; \
48696 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48699 "RANLIB=$${RANLIB}" \
48700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48701 mostlyclean) \
48702 || exit 1
48703
48704 @endif target-libhsail-rt
48705
48706 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
48707 maybe-clean-target-libhsail-rt:
48708 @if target-libhsail-rt
48709 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
48710
48711 clean-target-libhsail-rt:
48712 @: $(MAKE); $(unstage)
48713 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48714 r=`${PWD_COMMAND}`; export r; \
48715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48716 $(NORMAL_TARGET_EXPORTS) \
48717 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48718 for flag in $(EXTRA_TARGET_FLAGS); do \
48719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48720 done; \
48721 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48724 "RANLIB=$${RANLIB}" \
48725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48726 clean) \
48727 || exit 1
48728
48729 @endif target-libhsail-rt
48730
48731 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
48732 maybe-distclean-target-libhsail-rt:
48733 @if target-libhsail-rt
48734 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
48735
48736 distclean-target-libhsail-rt:
48737 @: $(MAKE); $(unstage)
48738 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48739 r=`${PWD_COMMAND}`; export r; \
48740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48741 $(NORMAL_TARGET_EXPORTS) \
48742 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
48743 for flag in $(EXTRA_TARGET_FLAGS); do \
48744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48745 done; \
48746 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48749 "RANLIB=$${RANLIB}" \
48750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48751 distclean) \
48752 || exit 1
48753
48754 @endif target-libhsail-rt
48755
48756 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
48757 maybe-maintainer-clean-target-libhsail-rt:
48758 @if target-libhsail-rt
48759 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
48760
48761 maintainer-clean-target-libhsail-rt:
48762 @: $(MAKE); $(unstage)
48763 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
48764 r=`${PWD_COMMAND}`; export r; \
48765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48766 $(NORMAL_TARGET_EXPORTS) \
48767 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
48768 for flag in $(EXTRA_TARGET_FLAGS); do \
48769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48770 done; \
48771 (cd $(TARGET_SUBDIR)/libhsail-rt && \
48772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48774 "RANLIB=$${RANLIB}" \
48775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48776 maintainer-clean) \
48777 || exit 1
48778
48779 @endif target-libhsail-rt
48780
48781
48782
48783
48784
48785 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
48786 maybe-configure-target-libphobos:
48787 @if gcc-bootstrap
48788 configure-target-libphobos: stage_current
48789 @endif gcc-bootstrap
48790 @if target-libphobos
48791 maybe-configure-target-libphobos: configure-target-libphobos
48792 configure-target-libphobos:
48793 @: $(MAKE); $(unstage)
48794 @r=`${PWD_COMMAND}`; export r; \
48795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48796 echo "Checking multilib configuration for libphobos..."; \
48797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
48799 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48800 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
48801 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
48802 else \
48803 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
48804 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48805 fi; \
48806 else \
48807 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
48808 fi; \
48809 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
48810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
48811 $(NORMAL_TARGET_EXPORTS) \
48812 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
48813 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
48814 case $(srcdir) in \
48815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48816 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
48817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48818 esac; \
48819 module_srcdir=libphobos; \
48820 rm -f no-such-file || : ; \
48821 CONFIG_SITE=no-such-file $(SHELL) \
48822 $$s/$$module_srcdir/configure \
48823 --srcdir=$${topdir}/$$module_srcdir \
48824 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48825 --target=${target_alias} \
48826 || exit 1
48827 @endif target-libphobos
48828
48829
48830
48831
48832
48833 .PHONY: all-target-libphobos maybe-all-target-libphobos
48834 maybe-all-target-libphobos:
48835 @if gcc-bootstrap
48836 all-target-libphobos: stage_current
48837 @endif gcc-bootstrap
48838 @if target-libphobos
48839 TARGET-target-libphobos=all
48840 maybe-all-target-libphobos: all-target-libphobos
48841 all-target-libphobos: configure-target-libphobos
48842 @: $(MAKE); $(unstage)
48843 @r=`${PWD_COMMAND}`; export r; \
48844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48845 $(NORMAL_TARGET_EXPORTS) \
48846 (cd $(TARGET_SUBDIR)/libphobos && \
48847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48848 $(TARGET-target-libphobos))
48849 @endif target-libphobos
48850
48851
48852
48853
48854
48855 .PHONY: check-target-libphobos maybe-check-target-libphobos
48856 maybe-check-target-libphobos:
48857 @if target-libphobos
48858 maybe-check-target-libphobos: check-target-libphobos
48859
48860 check-target-libphobos:
48861 @: $(MAKE); $(unstage)
48862 @r=`${PWD_COMMAND}`; export r; \
48863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48864 $(NORMAL_TARGET_EXPORTS) \
48865 (cd $(TARGET_SUBDIR)/libphobos && \
48866 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48867
48868 @endif target-libphobos
48869
48870 .PHONY: install-target-libphobos maybe-install-target-libphobos
48871 maybe-install-target-libphobos:
48872 @if target-libphobos
48873 maybe-install-target-libphobos: install-target-libphobos
48874
48875 install-target-libphobos: installdirs
48876 @: $(MAKE); $(unstage)
48877 @r=`${PWD_COMMAND}`; export r; \
48878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48879 $(NORMAL_TARGET_EXPORTS) \
48880 (cd $(TARGET_SUBDIR)/libphobos && \
48881 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48882
48883 @endif target-libphobos
48884
48885 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
48886 maybe-install-strip-target-libphobos:
48887 @if target-libphobos
48888 maybe-install-strip-target-libphobos: install-strip-target-libphobos
48889
48890 install-strip-target-libphobos: installdirs
48891 @: $(MAKE); $(unstage)
48892 @r=`${PWD_COMMAND}`; export r; \
48893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48894 $(NORMAL_TARGET_EXPORTS) \
48895 (cd $(TARGET_SUBDIR)/libphobos && \
48896 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48897
48898 @endif target-libphobos
48899
48900 # Other targets (info, dvi, pdf, etc.)
48901
48902 .PHONY: maybe-info-target-libphobos info-target-libphobos
48903 maybe-info-target-libphobos:
48904 @if target-libphobos
48905 maybe-info-target-libphobos: info-target-libphobos
48906
48907 info-target-libphobos: \
48908 configure-target-libphobos
48909 @: $(MAKE); $(unstage)
48910 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48911 r=`${PWD_COMMAND}`; export r; \
48912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48913 $(NORMAL_TARGET_EXPORTS) \
48914 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
48915 for flag in $(EXTRA_TARGET_FLAGS); do \
48916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48917 done; \
48918 (cd $(TARGET_SUBDIR)/libphobos && \
48919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48921 "RANLIB=$${RANLIB}" \
48922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48923 info) \
48924 || exit 1
48925
48926 @endif target-libphobos
48927
48928 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
48929 maybe-dvi-target-libphobos:
48930 @if target-libphobos
48931 maybe-dvi-target-libphobos: dvi-target-libphobos
48932
48933 dvi-target-libphobos: \
48934 configure-target-libphobos
48935 @: $(MAKE); $(unstage)
48936 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48937 r=`${PWD_COMMAND}`; export r; \
48938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48939 $(NORMAL_TARGET_EXPORTS) \
48940 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
48941 for flag in $(EXTRA_TARGET_FLAGS); do \
48942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48943 done; \
48944 (cd $(TARGET_SUBDIR)/libphobos && \
48945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48947 "RANLIB=$${RANLIB}" \
48948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48949 dvi) \
48950 || exit 1
48951
48952 @endif target-libphobos
48953
48954 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
48955 maybe-pdf-target-libphobos:
48956 @if target-libphobos
48957 maybe-pdf-target-libphobos: pdf-target-libphobos
48958
48959 pdf-target-libphobos: \
48960 configure-target-libphobos
48961 @: $(MAKE); $(unstage)
48962 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48963 r=`${PWD_COMMAND}`; export r; \
48964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48965 $(NORMAL_TARGET_EXPORTS) \
48966 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
48967 for flag in $(EXTRA_TARGET_FLAGS); do \
48968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48969 done; \
48970 (cd $(TARGET_SUBDIR)/libphobos && \
48971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48973 "RANLIB=$${RANLIB}" \
48974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48975 pdf) \
48976 || exit 1
48977
48978 @endif target-libphobos
48979
48980 .PHONY: maybe-html-target-libphobos html-target-libphobos
48981 maybe-html-target-libphobos:
48982 @if target-libphobos
48983 maybe-html-target-libphobos: html-target-libphobos
48984
48985 html-target-libphobos: \
48986 configure-target-libphobos
48987 @: $(MAKE); $(unstage)
48988 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
48989 r=`${PWD_COMMAND}`; export r; \
48990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48991 $(NORMAL_TARGET_EXPORTS) \
48992 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
48993 for flag in $(EXTRA_TARGET_FLAGS); do \
48994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48995 done; \
48996 (cd $(TARGET_SUBDIR)/libphobos && \
48997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48999 "RANLIB=$${RANLIB}" \
49000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49001 html) \
49002 || exit 1
49003
49004 @endif target-libphobos
49005
49006 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
49007 maybe-TAGS-target-libphobos:
49008 @if target-libphobos
49009 maybe-TAGS-target-libphobos: TAGS-target-libphobos
49010
49011 TAGS-target-libphobos: \
49012 configure-target-libphobos
49013 @: $(MAKE); $(unstage)
49014 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49015 r=`${PWD_COMMAND}`; export r; \
49016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49017 $(NORMAL_TARGET_EXPORTS) \
49018 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
49019 for flag in $(EXTRA_TARGET_FLAGS); do \
49020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49021 done; \
49022 (cd $(TARGET_SUBDIR)/libphobos && \
49023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49025 "RANLIB=$${RANLIB}" \
49026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49027 TAGS) \
49028 || exit 1
49029
49030 @endif target-libphobos
49031
49032 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
49033 maybe-install-info-target-libphobos:
49034 @if target-libphobos
49035 maybe-install-info-target-libphobos: install-info-target-libphobos
49036
49037 install-info-target-libphobos: \
49038 configure-target-libphobos \
49039 info-target-libphobos
49040 @: $(MAKE); $(unstage)
49041 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49042 r=`${PWD_COMMAND}`; export r; \
49043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49044 $(NORMAL_TARGET_EXPORTS) \
49045 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
49046 for flag in $(EXTRA_TARGET_FLAGS); do \
49047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49048 done; \
49049 (cd $(TARGET_SUBDIR)/libphobos && \
49050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49052 "RANLIB=$${RANLIB}" \
49053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49054 install-info) \
49055 || exit 1
49056
49057 @endif target-libphobos
49058
49059 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
49060 maybe-install-pdf-target-libphobos:
49061 @if target-libphobos
49062 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
49063
49064 install-pdf-target-libphobos: \
49065 configure-target-libphobos \
49066 pdf-target-libphobos
49067 @: $(MAKE); $(unstage)
49068 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49069 r=`${PWD_COMMAND}`; export r; \
49070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49071 $(NORMAL_TARGET_EXPORTS) \
49072 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
49073 for flag in $(EXTRA_TARGET_FLAGS); do \
49074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49075 done; \
49076 (cd $(TARGET_SUBDIR)/libphobos && \
49077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49079 "RANLIB=$${RANLIB}" \
49080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49081 install-pdf) \
49082 || exit 1
49083
49084 @endif target-libphobos
49085
49086 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
49087 maybe-install-html-target-libphobos:
49088 @if target-libphobos
49089 maybe-install-html-target-libphobos: install-html-target-libphobos
49090
49091 install-html-target-libphobos: \
49092 configure-target-libphobos \
49093 html-target-libphobos
49094 @: $(MAKE); $(unstage)
49095 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49096 r=`${PWD_COMMAND}`; export r; \
49097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49098 $(NORMAL_TARGET_EXPORTS) \
49099 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
49100 for flag in $(EXTRA_TARGET_FLAGS); do \
49101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49102 done; \
49103 (cd $(TARGET_SUBDIR)/libphobos && \
49104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49106 "RANLIB=$${RANLIB}" \
49107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49108 install-html) \
49109 || exit 1
49110
49111 @endif target-libphobos
49112
49113 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
49114 maybe-installcheck-target-libphobos:
49115 @if target-libphobos
49116 maybe-installcheck-target-libphobos: installcheck-target-libphobos
49117
49118 installcheck-target-libphobos: \
49119 configure-target-libphobos
49120 @: $(MAKE); $(unstage)
49121 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49122 r=`${PWD_COMMAND}`; export r; \
49123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49124 $(NORMAL_TARGET_EXPORTS) \
49125 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
49126 for flag in $(EXTRA_TARGET_FLAGS); do \
49127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49128 done; \
49129 (cd $(TARGET_SUBDIR)/libphobos && \
49130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49132 "RANLIB=$${RANLIB}" \
49133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49134 installcheck) \
49135 || exit 1
49136
49137 @endif target-libphobos
49138
49139 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
49140 maybe-mostlyclean-target-libphobos:
49141 @if target-libphobos
49142 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
49143
49144 mostlyclean-target-libphobos:
49145 @: $(MAKE); $(unstage)
49146 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49147 r=`${PWD_COMMAND}`; export r; \
49148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49149 $(NORMAL_TARGET_EXPORTS) \
49150 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
49151 for flag in $(EXTRA_TARGET_FLAGS); do \
49152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49153 done; \
49154 (cd $(TARGET_SUBDIR)/libphobos && \
49155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49157 "RANLIB=$${RANLIB}" \
49158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49159 mostlyclean) \
49160 || exit 1
49161
49162 @endif target-libphobos
49163
49164 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
49165 maybe-clean-target-libphobos:
49166 @if target-libphobos
49167 maybe-clean-target-libphobos: clean-target-libphobos
49168
49169 clean-target-libphobos:
49170 @: $(MAKE); $(unstage)
49171 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49172 r=`${PWD_COMMAND}`; export r; \
49173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49174 $(NORMAL_TARGET_EXPORTS) \
49175 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
49176 for flag in $(EXTRA_TARGET_FLAGS); do \
49177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49178 done; \
49179 (cd $(TARGET_SUBDIR)/libphobos && \
49180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49182 "RANLIB=$${RANLIB}" \
49183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49184 clean) \
49185 || exit 1
49186
49187 @endif target-libphobos
49188
49189 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
49190 maybe-distclean-target-libphobos:
49191 @if target-libphobos
49192 maybe-distclean-target-libphobos: distclean-target-libphobos
49193
49194 distclean-target-libphobos:
49195 @: $(MAKE); $(unstage)
49196 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49197 r=`${PWD_COMMAND}`; export r; \
49198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49199 $(NORMAL_TARGET_EXPORTS) \
49200 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
49201 for flag in $(EXTRA_TARGET_FLAGS); do \
49202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49203 done; \
49204 (cd $(TARGET_SUBDIR)/libphobos && \
49205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49207 "RANLIB=$${RANLIB}" \
49208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49209 distclean) \
49210 || exit 1
49211
49212 @endif target-libphobos
49213
49214 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
49215 maybe-maintainer-clean-target-libphobos:
49216 @if target-libphobos
49217 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
49218
49219 maintainer-clean-target-libphobos:
49220 @: $(MAKE); $(unstage)
49221 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
49222 r=`${PWD_COMMAND}`; export r; \
49223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49224 $(NORMAL_TARGET_EXPORTS) \
49225 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
49226 for flag in $(EXTRA_TARGET_FLAGS); do \
49227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49228 done; \
49229 (cd $(TARGET_SUBDIR)/libphobos && \
49230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49232 "RANLIB=$${RANLIB}" \
49233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49234 maintainer-clean) \
49235 || exit 1
49236
49237 @endif target-libphobos
49238
49239
49240
49241
49242
49243 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
49244 maybe-configure-target-libtermcap:
49245 @if gcc-bootstrap
49246 configure-target-libtermcap: stage_current
49247 @endif gcc-bootstrap
49248 @if target-libtermcap
49249 maybe-configure-target-libtermcap: configure-target-libtermcap
49250 configure-target-libtermcap:
49251 @: $(MAKE); $(unstage)
49252 @r=`${PWD_COMMAND}`; export r; \
49253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49254 echo "Checking multilib configuration for libtermcap..."; \
49255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
49256 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
49257 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
49258 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
49259 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
49260 else \
49261 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
49262 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
49263 fi; \
49264 else \
49265 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
49266 fi; \
49267 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
49268 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
49269 $(NORMAL_TARGET_EXPORTS) \
49270 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
49271 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
49272 case $(srcdir) in \
49273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49274 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
49275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49276 esac; \
49277 module_srcdir=libtermcap; \
49278 rm -f no-such-file || : ; \
49279 CONFIG_SITE=no-such-file $(SHELL) \
49280 $$s/$$module_srcdir/configure \
49281 --srcdir=$${topdir}/$$module_srcdir \
49282 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49283 --target=${target_alias} \
49284 || exit 1
49285 @endif target-libtermcap
49286
49287
49288
49289
49290
49291 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
49292 maybe-all-target-libtermcap:
49293 @if gcc-bootstrap
49294 all-target-libtermcap: stage_current
49295 @endif gcc-bootstrap
49296 @if target-libtermcap
49297 TARGET-target-libtermcap=all
49298 maybe-all-target-libtermcap: all-target-libtermcap
49299 all-target-libtermcap: configure-target-libtermcap
49300 @: $(MAKE); $(unstage)
49301 @r=`${PWD_COMMAND}`; export r; \
49302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49303 $(NORMAL_TARGET_EXPORTS) \
49304 (cd $(TARGET_SUBDIR)/libtermcap && \
49305 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49306 $(TARGET-target-libtermcap))
49307 @endif target-libtermcap
49308
49309
49310
49311
49312
49313 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
49314 maybe-check-target-libtermcap:
49315 @if target-libtermcap
49316 maybe-check-target-libtermcap: check-target-libtermcap
49317
49318 # Dummy target for uncheckable module.
49319 check-target-libtermcap:
49320
49321 @endif target-libtermcap
49322
49323 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
49324 maybe-install-target-libtermcap:
49325 @if target-libtermcap
49326 maybe-install-target-libtermcap: install-target-libtermcap
49327
49328 install-target-libtermcap: installdirs
49329 @: $(MAKE); $(unstage)
49330 @r=`${PWD_COMMAND}`; export r; \
49331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49332 $(NORMAL_TARGET_EXPORTS) \
49333 (cd $(TARGET_SUBDIR)/libtermcap && \
49334 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49335
49336 @endif target-libtermcap
49337
49338 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
49339 maybe-install-strip-target-libtermcap:
49340 @if target-libtermcap
49341 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
49342
49343 install-strip-target-libtermcap: installdirs
49344 @: $(MAKE); $(unstage)
49345 @r=`${PWD_COMMAND}`; export r; \
49346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49347 $(NORMAL_TARGET_EXPORTS) \
49348 (cd $(TARGET_SUBDIR)/libtermcap && \
49349 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49350
49351 @endif target-libtermcap
49352
49353 # Other targets (info, dvi, pdf, etc.)
49354
49355 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
49356 maybe-info-target-libtermcap:
49357 @if target-libtermcap
49358 maybe-info-target-libtermcap: info-target-libtermcap
49359
49360 info-target-libtermcap: \
49361 configure-target-libtermcap
49362 @: $(MAKE); $(unstage)
49363 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49364 r=`${PWD_COMMAND}`; export r; \
49365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49366 $(NORMAL_TARGET_EXPORTS) \
49367 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
49368 for flag in $(EXTRA_TARGET_FLAGS); do \
49369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49370 done; \
49371 (cd $(TARGET_SUBDIR)/libtermcap && \
49372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49374 "RANLIB=$${RANLIB}" \
49375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49376 info) \
49377 || exit 1
49378
49379 @endif target-libtermcap
49380
49381 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
49382 maybe-dvi-target-libtermcap:
49383 @if target-libtermcap
49384 maybe-dvi-target-libtermcap: dvi-target-libtermcap
49385
49386 dvi-target-libtermcap: \
49387 configure-target-libtermcap
49388 @: $(MAKE); $(unstage)
49389 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49390 r=`${PWD_COMMAND}`; export r; \
49391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49392 $(NORMAL_TARGET_EXPORTS) \
49393 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
49394 for flag in $(EXTRA_TARGET_FLAGS); do \
49395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49396 done; \
49397 (cd $(TARGET_SUBDIR)/libtermcap && \
49398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49400 "RANLIB=$${RANLIB}" \
49401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49402 dvi) \
49403 || exit 1
49404
49405 @endif target-libtermcap
49406
49407 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
49408 maybe-pdf-target-libtermcap:
49409 @if target-libtermcap
49410 maybe-pdf-target-libtermcap: pdf-target-libtermcap
49411
49412 pdf-target-libtermcap: \
49413 configure-target-libtermcap
49414 @: $(MAKE); $(unstage)
49415 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49416 r=`${PWD_COMMAND}`; export r; \
49417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49418 $(NORMAL_TARGET_EXPORTS) \
49419 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
49420 for flag in $(EXTRA_TARGET_FLAGS); do \
49421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49422 done; \
49423 (cd $(TARGET_SUBDIR)/libtermcap && \
49424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49426 "RANLIB=$${RANLIB}" \
49427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49428 pdf) \
49429 || exit 1
49430
49431 @endif target-libtermcap
49432
49433 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
49434 maybe-html-target-libtermcap:
49435 @if target-libtermcap
49436 maybe-html-target-libtermcap: html-target-libtermcap
49437
49438 html-target-libtermcap: \
49439 configure-target-libtermcap
49440 @: $(MAKE); $(unstage)
49441 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49442 r=`${PWD_COMMAND}`; export r; \
49443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49444 $(NORMAL_TARGET_EXPORTS) \
49445 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
49446 for flag in $(EXTRA_TARGET_FLAGS); do \
49447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49448 done; \
49449 (cd $(TARGET_SUBDIR)/libtermcap && \
49450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49452 "RANLIB=$${RANLIB}" \
49453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49454 html) \
49455 || exit 1
49456
49457 @endif target-libtermcap
49458
49459 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
49460 maybe-TAGS-target-libtermcap:
49461 @if target-libtermcap
49462 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
49463
49464 TAGS-target-libtermcap: \
49465 configure-target-libtermcap
49466 @: $(MAKE); $(unstage)
49467 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49468 r=`${PWD_COMMAND}`; export r; \
49469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49470 $(NORMAL_TARGET_EXPORTS) \
49471 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
49472 for flag in $(EXTRA_TARGET_FLAGS); do \
49473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49474 done; \
49475 (cd $(TARGET_SUBDIR)/libtermcap && \
49476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49478 "RANLIB=$${RANLIB}" \
49479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49480 TAGS) \
49481 || exit 1
49482
49483 @endif target-libtermcap
49484
49485 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
49486 maybe-install-info-target-libtermcap:
49487 @if target-libtermcap
49488 maybe-install-info-target-libtermcap: install-info-target-libtermcap
49489
49490 install-info-target-libtermcap: \
49491 configure-target-libtermcap \
49492 info-target-libtermcap
49493 @: $(MAKE); $(unstage)
49494 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49495 r=`${PWD_COMMAND}`; export r; \
49496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49497 $(NORMAL_TARGET_EXPORTS) \
49498 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
49499 for flag in $(EXTRA_TARGET_FLAGS); do \
49500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49501 done; \
49502 (cd $(TARGET_SUBDIR)/libtermcap && \
49503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49505 "RANLIB=$${RANLIB}" \
49506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49507 install-info) \
49508 || exit 1
49509
49510 @endif target-libtermcap
49511
49512 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
49513 maybe-install-pdf-target-libtermcap:
49514 @if target-libtermcap
49515 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
49516
49517 install-pdf-target-libtermcap: \
49518 configure-target-libtermcap \
49519 pdf-target-libtermcap
49520 @: $(MAKE); $(unstage)
49521 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49522 r=`${PWD_COMMAND}`; export r; \
49523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49524 $(NORMAL_TARGET_EXPORTS) \
49525 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
49526 for flag in $(EXTRA_TARGET_FLAGS); do \
49527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49528 done; \
49529 (cd $(TARGET_SUBDIR)/libtermcap && \
49530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49532 "RANLIB=$${RANLIB}" \
49533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49534 install-pdf) \
49535 || exit 1
49536
49537 @endif target-libtermcap
49538
49539 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
49540 maybe-install-html-target-libtermcap:
49541 @if target-libtermcap
49542 maybe-install-html-target-libtermcap: install-html-target-libtermcap
49543
49544 install-html-target-libtermcap: \
49545 configure-target-libtermcap \
49546 html-target-libtermcap
49547 @: $(MAKE); $(unstage)
49548 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49549 r=`${PWD_COMMAND}`; export r; \
49550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49551 $(NORMAL_TARGET_EXPORTS) \
49552 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
49553 for flag in $(EXTRA_TARGET_FLAGS); do \
49554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49555 done; \
49556 (cd $(TARGET_SUBDIR)/libtermcap && \
49557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49559 "RANLIB=$${RANLIB}" \
49560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49561 install-html) \
49562 || exit 1
49563
49564 @endif target-libtermcap
49565
49566 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
49567 maybe-installcheck-target-libtermcap:
49568 @if target-libtermcap
49569 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
49570
49571 installcheck-target-libtermcap: \
49572 configure-target-libtermcap
49573 @: $(MAKE); $(unstage)
49574 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
49575 r=`${PWD_COMMAND}`; export r; \
49576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49577 $(NORMAL_TARGET_EXPORTS) \
49578 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
49579 for flag in $(EXTRA_TARGET_FLAGS); do \
49580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49581 done; \
49582 (cd $(TARGET_SUBDIR)/libtermcap && \
49583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49585 "RANLIB=$${RANLIB}" \
49586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49587 installcheck) \
49588 || exit 1
49589
49590 @endif target-libtermcap
49591
49592 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
49593 maybe-mostlyclean-target-libtermcap:
49594 @if target-libtermcap
49595 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
49596
49597 # libtermcap doesn't support mostlyclean.
49598 mostlyclean-target-libtermcap:
49599
49600 @endif target-libtermcap
49601
49602 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
49603 maybe-clean-target-libtermcap:
49604 @if target-libtermcap
49605 maybe-clean-target-libtermcap: clean-target-libtermcap
49606
49607 # libtermcap doesn't support clean.
49608 clean-target-libtermcap:
49609
49610 @endif target-libtermcap
49611
49612 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
49613 maybe-distclean-target-libtermcap:
49614 @if target-libtermcap
49615 maybe-distclean-target-libtermcap: distclean-target-libtermcap
49616
49617 # libtermcap doesn't support distclean.
49618 distclean-target-libtermcap:
49619
49620 @endif target-libtermcap
49621
49622 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
49623 maybe-maintainer-clean-target-libtermcap:
49624 @if target-libtermcap
49625 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
49626
49627 # libtermcap doesn't support maintainer-clean.
49628 maintainer-clean-target-libtermcap:
49629
49630 @endif target-libtermcap
49631
49632
49633
49634
49635
49636 .PHONY: configure-target-winsup maybe-configure-target-winsup
49637 maybe-configure-target-winsup:
49638 @if gcc-bootstrap
49639 configure-target-winsup: stage_current
49640 @endif gcc-bootstrap
49641 @if target-winsup
49642 maybe-configure-target-winsup: configure-target-winsup
49643 configure-target-winsup:
49644 @: $(MAKE); $(unstage)
49645 @r=`${PWD_COMMAND}`; export r; \
49646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49647 echo "Checking multilib configuration for winsup..."; \
49648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
49650 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
49651 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
49652 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
49653 else \
49654 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
49655 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49656 fi; \
49657 else \
49658 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49659 fi; \
49660 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
49661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
49662 $(NORMAL_TARGET_EXPORTS) \
49663 echo Configuring in $(TARGET_SUBDIR)/winsup; \
49664 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
49665 case $(srcdir) in \
49666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49667 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
49668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49669 esac; \
49670 module_srcdir=winsup; \
49671 rm -f no-such-file || : ; \
49672 CONFIG_SITE=no-such-file $(SHELL) \
49673 $$s/$$module_srcdir/configure \
49674 --srcdir=$${topdir}/$$module_srcdir \
49675 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49676 --target=${target_alias} \
49677 || exit 1
49678 @endif target-winsup
49679
49680
49681
49682
49683
49684 .PHONY: all-target-winsup maybe-all-target-winsup
49685 maybe-all-target-winsup:
49686 @if gcc-bootstrap
49687 all-target-winsup: stage_current
49688 @endif gcc-bootstrap
49689 @if target-winsup
49690 TARGET-target-winsup=all
49691 maybe-all-target-winsup: all-target-winsup
49692 all-target-winsup: configure-target-winsup
49693 @: $(MAKE); $(unstage)
49694 @r=`${PWD_COMMAND}`; export r; \
49695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49696 $(NORMAL_TARGET_EXPORTS) \
49697 (cd $(TARGET_SUBDIR)/winsup && \
49698 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49699 $(TARGET-target-winsup))
49700 @endif target-winsup
49701
49702
49703
49704
49705
49706 .PHONY: check-target-winsup maybe-check-target-winsup
49707 maybe-check-target-winsup:
49708 @if target-winsup
49709 maybe-check-target-winsup: check-target-winsup
49710
49711 check-target-winsup:
49712 @: $(MAKE); $(unstage)
49713 @r=`${PWD_COMMAND}`; export r; \
49714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49715 $(NORMAL_TARGET_EXPORTS) \
49716 (cd $(TARGET_SUBDIR)/winsup && \
49717 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49718
49719 @endif target-winsup
49720
49721 .PHONY: install-target-winsup maybe-install-target-winsup
49722 maybe-install-target-winsup:
49723 @if target-winsup
49724 maybe-install-target-winsup: install-target-winsup
49725
49726 install-target-winsup: installdirs
49727 @: $(MAKE); $(unstage)
49728 @r=`${PWD_COMMAND}`; export r; \
49729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49730 $(NORMAL_TARGET_EXPORTS) \
49731 (cd $(TARGET_SUBDIR)/winsup && \
49732 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49733
49734 @endif target-winsup
49735
49736 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
49737 maybe-install-strip-target-winsup:
49738 @if target-winsup
49739 maybe-install-strip-target-winsup: install-strip-target-winsup
49740
49741 install-strip-target-winsup: installdirs
49742 @: $(MAKE); $(unstage)
49743 @r=`${PWD_COMMAND}`; export r; \
49744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49745 $(NORMAL_TARGET_EXPORTS) \
49746 (cd $(TARGET_SUBDIR)/winsup && \
49747 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49748
49749 @endif target-winsup
49750
49751 # Other targets (info, dvi, pdf, etc.)
49752
49753 .PHONY: maybe-info-target-winsup info-target-winsup
49754 maybe-info-target-winsup:
49755 @if target-winsup
49756 maybe-info-target-winsup: info-target-winsup
49757
49758 info-target-winsup: \
49759 configure-target-winsup
49760 @: $(MAKE); $(unstage)
49761 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49762 r=`${PWD_COMMAND}`; export r; \
49763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49764 $(NORMAL_TARGET_EXPORTS) \
49765 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
49766 for flag in $(EXTRA_TARGET_FLAGS); do \
49767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49768 done; \
49769 (cd $(TARGET_SUBDIR)/winsup && \
49770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49772 "RANLIB=$${RANLIB}" \
49773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49774 info) \
49775 || exit 1
49776
49777 @endif target-winsup
49778
49779 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
49780 maybe-dvi-target-winsup:
49781 @if target-winsup
49782 maybe-dvi-target-winsup: dvi-target-winsup
49783
49784 dvi-target-winsup: \
49785 configure-target-winsup
49786 @: $(MAKE); $(unstage)
49787 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49788 r=`${PWD_COMMAND}`; export r; \
49789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49790 $(NORMAL_TARGET_EXPORTS) \
49791 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
49792 for flag in $(EXTRA_TARGET_FLAGS); do \
49793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49794 done; \
49795 (cd $(TARGET_SUBDIR)/winsup && \
49796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49798 "RANLIB=$${RANLIB}" \
49799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49800 dvi) \
49801 || exit 1
49802
49803 @endif target-winsup
49804
49805 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
49806 maybe-pdf-target-winsup:
49807 @if target-winsup
49808 maybe-pdf-target-winsup: pdf-target-winsup
49809
49810 pdf-target-winsup: \
49811 configure-target-winsup
49812 @: $(MAKE); $(unstage)
49813 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49814 r=`${PWD_COMMAND}`; export r; \
49815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49816 $(NORMAL_TARGET_EXPORTS) \
49817 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
49818 for flag in $(EXTRA_TARGET_FLAGS); do \
49819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49820 done; \
49821 (cd $(TARGET_SUBDIR)/winsup && \
49822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49824 "RANLIB=$${RANLIB}" \
49825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49826 pdf) \
49827 || exit 1
49828
49829 @endif target-winsup
49830
49831 .PHONY: maybe-html-target-winsup html-target-winsup
49832 maybe-html-target-winsup:
49833 @if target-winsup
49834 maybe-html-target-winsup: html-target-winsup
49835
49836 html-target-winsup: \
49837 configure-target-winsup
49838 @: $(MAKE); $(unstage)
49839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49840 r=`${PWD_COMMAND}`; export r; \
49841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49842 $(NORMAL_TARGET_EXPORTS) \
49843 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
49844 for flag in $(EXTRA_TARGET_FLAGS); do \
49845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49846 done; \
49847 (cd $(TARGET_SUBDIR)/winsup && \
49848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49850 "RANLIB=$${RANLIB}" \
49851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49852 html) \
49853 || exit 1
49854
49855 @endif target-winsup
49856
49857 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
49858 maybe-TAGS-target-winsup:
49859 @if target-winsup
49860 maybe-TAGS-target-winsup: TAGS-target-winsup
49861
49862 TAGS-target-winsup: \
49863 configure-target-winsup
49864 @: $(MAKE); $(unstage)
49865 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49866 r=`${PWD_COMMAND}`; export r; \
49867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49868 $(NORMAL_TARGET_EXPORTS) \
49869 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
49870 for flag in $(EXTRA_TARGET_FLAGS); do \
49871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49872 done; \
49873 (cd $(TARGET_SUBDIR)/winsup && \
49874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49876 "RANLIB=$${RANLIB}" \
49877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49878 TAGS) \
49879 || exit 1
49880
49881 @endif target-winsup
49882
49883 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
49884 maybe-install-info-target-winsup:
49885 @if target-winsup
49886 maybe-install-info-target-winsup: install-info-target-winsup
49887
49888 install-info-target-winsup: \
49889 configure-target-winsup \
49890 info-target-winsup
49891 @: $(MAKE); $(unstage)
49892 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49893 r=`${PWD_COMMAND}`; export r; \
49894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49895 $(NORMAL_TARGET_EXPORTS) \
49896 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
49897 for flag in $(EXTRA_TARGET_FLAGS); do \
49898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49899 done; \
49900 (cd $(TARGET_SUBDIR)/winsup && \
49901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49903 "RANLIB=$${RANLIB}" \
49904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49905 install-info) \
49906 || exit 1
49907
49908 @endif target-winsup
49909
49910 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
49911 maybe-install-pdf-target-winsup:
49912 @if target-winsup
49913 maybe-install-pdf-target-winsup: install-pdf-target-winsup
49914
49915 install-pdf-target-winsup: \
49916 configure-target-winsup \
49917 pdf-target-winsup
49918 @: $(MAKE); $(unstage)
49919 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49920 r=`${PWD_COMMAND}`; export r; \
49921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49922 $(NORMAL_TARGET_EXPORTS) \
49923 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
49924 for flag in $(EXTRA_TARGET_FLAGS); do \
49925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49926 done; \
49927 (cd $(TARGET_SUBDIR)/winsup && \
49928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49930 "RANLIB=$${RANLIB}" \
49931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49932 install-pdf) \
49933 || exit 1
49934
49935 @endif target-winsup
49936
49937 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
49938 maybe-install-html-target-winsup:
49939 @if target-winsup
49940 maybe-install-html-target-winsup: install-html-target-winsup
49941
49942 install-html-target-winsup: \
49943 configure-target-winsup \
49944 html-target-winsup
49945 @: $(MAKE); $(unstage)
49946 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49947 r=`${PWD_COMMAND}`; export r; \
49948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49949 $(NORMAL_TARGET_EXPORTS) \
49950 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
49951 for flag in $(EXTRA_TARGET_FLAGS); do \
49952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49953 done; \
49954 (cd $(TARGET_SUBDIR)/winsup && \
49955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49957 "RANLIB=$${RANLIB}" \
49958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49959 install-html) \
49960 || exit 1
49961
49962 @endif target-winsup
49963
49964 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
49965 maybe-installcheck-target-winsup:
49966 @if target-winsup
49967 maybe-installcheck-target-winsup: installcheck-target-winsup
49968
49969 installcheck-target-winsup: \
49970 configure-target-winsup
49971 @: $(MAKE); $(unstage)
49972 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49973 r=`${PWD_COMMAND}`; export r; \
49974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49975 $(NORMAL_TARGET_EXPORTS) \
49976 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
49977 for flag in $(EXTRA_TARGET_FLAGS); do \
49978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49979 done; \
49980 (cd $(TARGET_SUBDIR)/winsup && \
49981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49983 "RANLIB=$${RANLIB}" \
49984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49985 installcheck) \
49986 || exit 1
49987
49988 @endif target-winsup
49989
49990 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
49991 maybe-mostlyclean-target-winsup:
49992 @if target-winsup
49993 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
49994
49995 mostlyclean-target-winsup:
49996 @: $(MAKE); $(unstage)
49997 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
49998 r=`${PWD_COMMAND}`; export r; \
49999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50000 $(NORMAL_TARGET_EXPORTS) \
50001 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
50002 for flag in $(EXTRA_TARGET_FLAGS); do \
50003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50004 done; \
50005 (cd $(TARGET_SUBDIR)/winsup && \
50006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50008 "RANLIB=$${RANLIB}" \
50009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50010 mostlyclean) \
50011 || exit 1
50012
50013 @endif target-winsup
50014
50015 .PHONY: maybe-clean-target-winsup clean-target-winsup
50016 maybe-clean-target-winsup:
50017 @if target-winsup
50018 maybe-clean-target-winsup: clean-target-winsup
50019
50020 clean-target-winsup:
50021 @: $(MAKE); $(unstage)
50022 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50023 r=`${PWD_COMMAND}`; export r; \
50024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50025 $(NORMAL_TARGET_EXPORTS) \
50026 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
50027 for flag in $(EXTRA_TARGET_FLAGS); do \
50028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50029 done; \
50030 (cd $(TARGET_SUBDIR)/winsup && \
50031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50033 "RANLIB=$${RANLIB}" \
50034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50035 clean) \
50036 || exit 1
50037
50038 @endif target-winsup
50039
50040 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
50041 maybe-distclean-target-winsup:
50042 @if target-winsup
50043 maybe-distclean-target-winsup: distclean-target-winsup
50044
50045 distclean-target-winsup:
50046 @: $(MAKE); $(unstage)
50047 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50048 r=`${PWD_COMMAND}`; export r; \
50049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50050 $(NORMAL_TARGET_EXPORTS) \
50051 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
50052 for flag in $(EXTRA_TARGET_FLAGS); do \
50053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50054 done; \
50055 (cd $(TARGET_SUBDIR)/winsup && \
50056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50058 "RANLIB=$${RANLIB}" \
50059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50060 distclean) \
50061 || exit 1
50062
50063 @endif target-winsup
50064
50065 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
50066 maybe-maintainer-clean-target-winsup:
50067 @if target-winsup
50068 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
50069
50070 maintainer-clean-target-winsup:
50071 @: $(MAKE); $(unstage)
50072 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
50073 r=`${PWD_COMMAND}`; export r; \
50074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50075 $(NORMAL_TARGET_EXPORTS) \
50076 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
50077 for flag in $(EXTRA_TARGET_FLAGS); do \
50078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50079 done; \
50080 (cd $(TARGET_SUBDIR)/winsup && \
50081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50083 "RANLIB=$${RANLIB}" \
50084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50085 maintainer-clean) \
50086 || exit 1
50087
50088 @endif target-winsup
50089
50090
50091
50092
50093
50094 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
50095 maybe-configure-target-libgloss:
50096 @if gcc-bootstrap
50097 configure-target-libgloss: stage_current
50098 @endif gcc-bootstrap
50099 @if target-libgloss
50100 maybe-configure-target-libgloss: configure-target-libgloss
50101 configure-target-libgloss:
50102 @: $(MAKE); $(unstage)
50103 @r=`${PWD_COMMAND}`; export r; \
50104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50105 echo "Checking multilib configuration for libgloss..."; \
50106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
50107 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
50108 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
50109 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
50110 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
50111 else \
50112 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
50113 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
50114 fi; \
50115 else \
50116 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
50117 fi; \
50118 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
50119 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
50120 $(NORMAL_TARGET_EXPORTS) \
50121 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
50122 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
50123 case $(srcdir) in \
50124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50125 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
50126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50127 esac; \
50128 module_srcdir=libgloss; \
50129 rm -f no-such-file || : ; \
50130 CONFIG_SITE=no-such-file $(SHELL) \
50131 $$s/$$module_srcdir/configure \
50132 --srcdir=$${topdir}/$$module_srcdir \
50133 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50134 --target=${target_alias} \
50135 || exit 1
50136 @endif target-libgloss
50137
50138
50139
50140
50141
50142 .PHONY: all-target-libgloss maybe-all-target-libgloss
50143 maybe-all-target-libgloss:
50144 @if gcc-bootstrap
50145 all-target-libgloss: stage_current
50146 @endif gcc-bootstrap
50147 @if target-libgloss
50148 TARGET-target-libgloss=all
50149 maybe-all-target-libgloss: all-target-libgloss
50150 all-target-libgloss: configure-target-libgloss
50151 @: $(MAKE); $(unstage)
50152 @r=`${PWD_COMMAND}`; export r; \
50153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50154 $(NORMAL_TARGET_EXPORTS) \
50155 (cd $(TARGET_SUBDIR)/libgloss && \
50156 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50157 $(TARGET-target-libgloss))
50158 @endif target-libgloss
50159
50160
50161
50162
50163
50164 .PHONY: check-target-libgloss maybe-check-target-libgloss
50165 maybe-check-target-libgloss:
50166 @if target-libgloss
50167 maybe-check-target-libgloss: check-target-libgloss
50168
50169 # Dummy target for uncheckable module.
50170 check-target-libgloss:
50171
50172 @endif target-libgloss
50173
50174 .PHONY: install-target-libgloss maybe-install-target-libgloss
50175 maybe-install-target-libgloss:
50176 @if target-libgloss
50177 maybe-install-target-libgloss: install-target-libgloss
50178
50179 install-target-libgloss: installdirs
50180 @: $(MAKE); $(unstage)
50181 @r=`${PWD_COMMAND}`; export r; \
50182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50183 $(NORMAL_TARGET_EXPORTS) \
50184 (cd $(TARGET_SUBDIR)/libgloss && \
50185 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50186
50187 @endif target-libgloss
50188
50189 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
50190 maybe-install-strip-target-libgloss:
50191 @if target-libgloss
50192 maybe-install-strip-target-libgloss: install-strip-target-libgloss
50193
50194 install-strip-target-libgloss: installdirs
50195 @: $(MAKE); $(unstage)
50196 @r=`${PWD_COMMAND}`; export r; \
50197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50198 $(NORMAL_TARGET_EXPORTS) \
50199 (cd $(TARGET_SUBDIR)/libgloss && \
50200 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50201
50202 @endif target-libgloss
50203
50204 # Other targets (info, dvi, pdf, etc.)
50205
50206 .PHONY: maybe-info-target-libgloss info-target-libgloss
50207 maybe-info-target-libgloss:
50208 @if target-libgloss
50209 maybe-info-target-libgloss: info-target-libgloss
50210
50211 info-target-libgloss: \
50212 configure-target-libgloss
50213 @: $(MAKE); $(unstage)
50214 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50215 r=`${PWD_COMMAND}`; export r; \
50216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50217 $(NORMAL_TARGET_EXPORTS) \
50218 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
50219 for flag in $(EXTRA_TARGET_FLAGS); do \
50220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50221 done; \
50222 (cd $(TARGET_SUBDIR)/libgloss && \
50223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50225 "RANLIB=$${RANLIB}" \
50226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50227 info) \
50228 || exit 1
50229
50230 @endif target-libgloss
50231
50232 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
50233 maybe-dvi-target-libgloss:
50234 @if target-libgloss
50235 maybe-dvi-target-libgloss: dvi-target-libgloss
50236
50237 dvi-target-libgloss: \
50238 configure-target-libgloss
50239 @: $(MAKE); $(unstage)
50240 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50241 r=`${PWD_COMMAND}`; export r; \
50242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50243 $(NORMAL_TARGET_EXPORTS) \
50244 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
50245 for flag in $(EXTRA_TARGET_FLAGS); do \
50246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50247 done; \
50248 (cd $(TARGET_SUBDIR)/libgloss && \
50249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50251 "RANLIB=$${RANLIB}" \
50252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50253 dvi) \
50254 || exit 1
50255
50256 @endif target-libgloss
50257
50258 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
50259 maybe-pdf-target-libgloss:
50260 @if target-libgloss
50261 maybe-pdf-target-libgloss: pdf-target-libgloss
50262
50263 pdf-target-libgloss: \
50264 configure-target-libgloss
50265 @: $(MAKE); $(unstage)
50266 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50267 r=`${PWD_COMMAND}`; export r; \
50268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50269 $(NORMAL_TARGET_EXPORTS) \
50270 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
50271 for flag in $(EXTRA_TARGET_FLAGS); do \
50272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50273 done; \
50274 (cd $(TARGET_SUBDIR)/libgloss && \
50275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50277 "RANLIB=$${RANLIB}" \
50278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50279 pdf) \
50280 || exit 1
50281
50282 @endif target-libgloss
50283
50284 .PHONY: maybe-html-target-libgloss html-target-libgloss
50285 maybe-html-target-libgloss:
50286 @if target-libgloss
50287 maybe-html-target-libgloss: html-target-libgloss
50288
50289 html-target-libgloss: \
50290 configure-target-libgloss
50291 @: $(MAKE); $(unstage)
50292 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50293 r=`${PWD_COMMAND}`; export r; \
50294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50295 $(NORMAL_TARGET_EXPORTS) \
50296 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
50297 for flag in $(EXTRA_TARGET_FLAGS); do \
50298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50299 done; \
50300 (cd $(TARGET_SUBDIR)/libgloss && \
50301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50303 "RANLIB=$${RANLIB}" \
50304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50305 html) \
50306 || exit 1
50307
50308 @endif target-libgloss
50309
50310 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
50311 maybe-TAGS-target-libgloss:
50312 @if target-libgloss
50313 maybe-TAGS-target-libgloss: TAGS-target-libgloss
50314
50315 TAGS-target-libgloss: \
50316 configure-target-libgloss
50317 @: $(MAKE); $(unstage)
50318 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50319 r=`${PWD_COMMAND}`; export r; \
50320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50321 $(NORMAL_TARGET_EXPORTS) \
50322 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
50323 for flag in $(EXTRA_TARGET_FLAGS); do \
50324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50325 done; \
50326 (cd $(TARGET_SUBDIR)/libgloss && \
50327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50329 "RANLIB=$${RANLIB}" \
50330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50331 TAGS) \
50332 || exit 1
50333
50334 @endif target-libgloss
50335
50336 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
50337 maybe-install-info-target-libgloss:
50338 @if target-libgloss
50339 maybe-install-info-target-libgloss: install-info-target-libgloss
50340
50341 install-info-target-libgloss: \
50342 configure-target-libgloss \
50343 info-target-libgloss
50344 @: $(MAKE); $(unstage)
50345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50346 r=`${PWD_COMMAND}`; export r; \
50347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50348 $(NORMAL_TARGET_EXPORTS) \
50349 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
50350 for flag in $(EXTRA_TARGET_FLAGS); do \
50351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50352 done; \
50353 (cd $(TARGET_SUBDIR)/libgloss && \
50354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50356 "RANLIB=$${RANLIB}" \
50357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50358 install-info) \
50359 || exit 1
50360
50361 @endif target-libgloss
50362
50363 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
50364 maybe-install-pdf-target-libgloss:
50365 @if target-libgloss
50366 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
50367
50368 install-pdf-target-libgloss: \
50369 configure-target-libgloss \
50370 pdf-target-libgloss
50371 @: $(MAKE); $(unstage)
50372 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50373 r=`${PWD_COMMAND}`; export r; \
50374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50375 $(NORMAL_TARGET_EXPORTS) \
50376 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
50377 for flag in $(EXTRA_TARGET_FLAGS); do \
50378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50379 done; \
50380 (cd $(TARGET_SUBDIR)/libgloss && \
50381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50383 "RANLIB=$${RANLIB}" \
50384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50385 install-pdf) \
50386 || exit 1
50387
50388 @endif target-libgloss
50389
50390 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
50391 maybe-install-html-target-libgloss:
50392 @if target-libgloss
50393 maybe-install-html-target-libgloss: install-html-target-libgloss
50394
50395 install-html-target-libgloss: \
50396 configure-target-libgloss \
50397 html-target-libgloss
50398 @: $(MAKE); $(unstage)
50399 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50400 r=`${PWD_COMMAND}`; export r; \
50401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50402 $(NORMAL_TARGET_EXPORTS) \
50403 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
50404 for flag in $(EXTRA_TARGET_FLAGS); do \
50405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50406 done; \
50407 (cd $(TARGET_SUBDIR)/libgloss && \
50408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50410 "RANLIB=$${RANLIB}" \
50411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50412 install-html) \
50413 || exit 1
50414
50415 @endif target-libgloss
50416
50417 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
50418 maybe-installcheck-target-libgloss:
50419 @if target-libgloss
50420 maybe-installcheck-target-libgloss: installcheck-target-libgloss
50421
50422 installcheck-target-libgloss: \
50423 configure-target-libgloss
50424 @: $(MAKE); $(unstage)
50425 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50426 r=`${PWD_COMMAND}`; export r; \
50427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50428 $(NORMAL_TARGET_EXPORTS) \
50429 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
50430 for flag in $(EXTRA_TARGET_FLAGS); do \
50431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50432 done; \
50433 (cd $(TARGET_SUBDIR)/libgloss && \
50434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50436 "RANLIB=$${RANLIB}" \
50437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50438 installcheck) \
50439 || exit 1
50440
50441 @endif target-libgloss
50442
50443 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
50444 maybe-mostlyclean-target-libgloss:
50445 @if target-libgloss
50446 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
50447
50448 mostlyclean-target-libgloss:
50449 @: $(MAKE); $(unstage)
50450 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50451 r=`${PWD_COMMAND}`; export r; \
50452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50453 $(NORMAL_TARGET_EXPORTS) \
50454 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
50455 for flag in $(EXTRA_TARGET_FLAGS); do \
50456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50457 done; \
50458 (cd $(TARGET_SUBDIR)/libgloss && \
50459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50461 "RANLIB=$${RANLIB}" \
50462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50463 mostlyclean) \
50464 || exit 1
50465
50466 @endif target-libgloss
50467
50468 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
50469 maybe-clean-target-libgloss:
50470 @if target-libgloss
50471 maybe-clean-target-libgloss: clean-target-libgloss
50472
50473 clean-target-libgloss:
50474 @: $(MAKE); $(unstage)
50475 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50476 r=`${PWD_COMMAND}`; export r; \
50477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50478 $(NORMAL_TARGET_EXPORTS) \
50479 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
50480 for flag in $(EXTRA_TARGET_FLAGS); do \
50481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50482 done; \
50483 (cd $(TARGET_SUBDIR)/libgloss && \
50484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50486 "RANLIB=$${RANLIB}" \
50487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50488 clean) \
50489 || exit 1
50490
50491 @endif target-libgloss
50492
50493 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
50494 maybe-distclean-target-libgloss:
50495 @if target-libgloss
50496 maybe-distclean-target-libgloss: distclean-target-libgloss
50497
50498 distclean-target-libgloss:
50499 @: $(MAKE); $(unstage)
50500 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50501 r=`${PWD_COMMAND}`; export r; \
50502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50503 $(NORMAL_TARGET_EXPORTS) \
50504 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
50505 for flag in $(EXTRA_TARGET_FLAGS); do \
50506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50507 done; \
50508 (cd $(TARGET_SUBDIR)/libgloss && \
50509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50511 "RANLIB=$${RANLIB}" \
50512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50513 distclean) \
50514 || exit 1
50515
50516 @endif target-libgloss
50517
50518 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
50519 maybe-maintainer-clean-target-libgloss:
50520 @if target-libgloss
50521 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
50522
50523 maintainer-clean-target-libgloss:
50524 @: $(MAKE); $(unstage)
50525 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
50526 r=`${PWD_COMMAND}`; export r; \
50527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50528 $(NORMAL_TARGET_EXPORTS) \
50529 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
50530 for flag in $(EXTRA_TARGET_FLAGS); do \
50531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50532 done; \
50533 (cd $(TARGET_SUBDIR)/libgloss && \
50534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50536 "RANLIB=$${RANLIB}" \
50537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50538 maintainer-clean) \
50539 || exit 1
50540
50541 @endif target-libgloss
50542
50543
50544
50545
50546
50547 .PHONY: configure-target-libffi maybe-configure-target-libffi
50548 maybe-configure-target-libffi:
50549 @if gcc-bootstrap
50550 configure-target-libffi: stage_current
50551 @endif gcc-bootstrap
50552 @if target-libffi
50553 maybe-configure-target-libffi: configure-target-libffi
50554 configure-target-libffi:
50555 @: $(MAKE); $(unstage)
50556 @r=`${PWD_COMMAND}`; export r; \
50557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50558 echo "Checking multilib configuration for libffi..."; \
50559 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50560 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
50561 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
50562 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
50563 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
50564 else \
50565 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
50566 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50567 fi; \
50568 else \
50569 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
50570 fi; \
50571 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
50572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
50573 $(NORMAL_TARGET_EXPORTS) \
50574 echo Configuring in $(TARGET_SUBDIR)/libffi; \
50575 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
50576 case $(srcdir) in \
50577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50578 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
50579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50580 esac; \
50581 module_srcdir=libffi; \
50582 rm -f no-such-file || : ; \
50583 CONFIG_SITE=no-such-file $(SHELL) \
50584 $$s/$$module_srcdir/configure \
50585 --srcdir=$${topdir}/$$module_srcdir \
50586 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50587 --target=${target_alias} \
50588 || exit 1
50589 @endif target-libffi
50590
50591
50592
50593
50594
50595 .PHONY: all-target-libffi maybe-all-target-libffi
50596 maybe-all-target-libffi:
50597 @if gcc-bootstrap
50598 all-target-libffi: stage_current
50599 @endif gcc-bootstrap
50600 @if target-libffi
50601 TARGET-target-libffi=all
50602 maybe-all-target-libffi: all-target-libffi
50603 all-target-libffi: configure-target-libffi
50604 @: $(MAKE); $(unstage)
50605 @r=`${PWD_COMMAND}`; export r; \
50606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50607 $(NORMAL_TARGET_EXPORTS) \
50608 (cd $(TARGET_SUBDIR)/libffi && \
50609 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50610 $(TARGET-target-libffi))
50611 @endif target-libffi
50612
50613
50614
50615
50616
50617 .PHONY: check-target-libffi maybe-check-target-libffi
50618 maybe-check-target-libffi:
50619 @if target-libffi
50620 maybe-check-target-libffi: check-target-libffi
50621
50622 check-target-libffi:
50623 @: $(MAKE); $(unstage)
50624 @r=`${PWD_COMMAND}`; export r; \
50625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50626 $(NORMAL_TARGET_EXPORTS) \
50627 (cd $(TARGET_SUBDIR)/libffi && \
50628 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50629
50630 @endif target-libffi
50631
50632 .PHONY: install-target-libffi maybe-install-target-libffi
50633 maybe-install-target-libffi:
50634 @if target-libffi
50635 maybe-install-target-libffi: install-target-libffi
50636
50637 # Dummy target for uninstallable.
50638 install-target-libffi:
50639
50640 @endif target-libffi
50641
50642 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
50643 maybe-install-strip-target-libffi:
50644 @if target-libffi
50645 maybe-install-strip-target-libffi: install-strip-target-libffi
50646
50647 # Dummy target for uninstallable.
50648 install-strip-target-libffi:
50649
50650 @endif target-libffi
50651
50652 # Other targets (info, dvi, pdf, etc.)
50653
50654 .PHONY: maybe-info-target-libffi info-target-libffi
50655 maybe-info-target-libffi:
50656 @if target-libffi
50657 maybe-info-target-libffi: info-target-libffi
50658
50659 info-target-libffi: \
50660 configure-target-libffi
50661 @: $(MAKE); $(unstage)
50662 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50663 r=`${PWD_COMMAND}`; export r; \
50664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50665 $(NORMAL_TARGET_EXPORTS) \
50666 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
50667 for flag in $(EXTRA_TARGET_FLAGS); do \
50668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50669 done; \
50670 (cd $(TARGET_SUBDIR)/libffi && \
50671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50673 "RANLIB=$${RANLIB}" \
50674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50675 info) \
50676 || exit 1
50677
50678 @endif target-libffi
50679
50680 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
50681 maybe-dvi-target-libffi:
50682 @if target-libffi
50683 maybe-dvi-target-libffi: dvi-target-libffi
50684
50685 dvi-target-libffi: \
50686 configure-target-libffi
50687 @: $(MAKE); $(unstage)
50688 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50689 r=`${PWD_COMMAND}`; export r; \
50690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50691 $(NORMAL_TARGET_EXPORTS) \
50692 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
50693 for flag in $(EXTRA_TARGET_FLAGS); do \
50694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50695 done; \
50696 (cd $(TARGET_SUBDIR)/libffi && \
50697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50699 "RANLIB=$${RANLIB}" \
50700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50701 dvi) \
50702 || exit 1
50703
50704 @endif target-libffi
50705
50706 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
50707 maybe-pdf-target-libffi:
50708 @if target-libffi
50709 maybe-pdf-target-libffi: pdf-target-libffi
50710
50711 pdf-target-libffi: \
50712 configure-target-libffi
50713 @: $(MAKE); $(unstage)
50714 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50715 r=`${PWD_COMMAND}`; export r; \
50716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50717 $(NORMAL_TARGET_EXPORTS) \
50718 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
50719 for flag in $(EXTRA_TARGET_FLAGS); do \
50720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50721 done; \
50722 (cd $(TARGET_SUBDIR)/libffi && \
50723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50725 "RANLIB=$${RANLIB}" \
50726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50727 pdf) \
50728 || exit 1
50729
50730 @endif target-libffi
50731
50732 .PHONY: maybe-html-target-libffi html-target-libffi
50733 maybe-html-target-libffi:
50734 @if target-libffi
50735 maybe-html-target-libffi: html-target-libffi
50736
50737 html-target-libffi: \
50738 configure-target-libffi
50739 @: $(MAKE); $(unstage)
50740 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50741 r=`${PWD_COMMAND}`; export r; \
50742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50743 $(NORMAL_TARGET_EXPORTS) \
50744 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
50745 for flag in $(EXTRA_TARGET_FLAGS); do \
50746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50747 done; \
50748 (cd $(TARGET_SUBDIR)/libffi && \
50749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50751 "RANLIB=$${RANLIB}" \
50752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50753 html) \
50754 || exit 1
50755
50756 @endif target-libffi
50757
50758 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
50759 maybe-TAGS-target-libffi:
50760 @if target-libffi
50761 maybe-TAGS-target-libffi: TAGS-target-libffi
50762
50763 TAGS-target-libffi: \
50764 configure-target-libffi
50765 @: $(MAKE); $(unstage)
50766 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50767 r=`${PWD_COMMAND}`; export r; \
50768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50769 $(NORMAL_TARGET_EXPORTS) \
50770 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
50771 for flag in $(EXTRA_TARGET_FLAGS); do \
50772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50773 done; \
50774 (cd $(TARGET_SUBDIR)/libffi && \
50775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50777 "RANLIB=$${RANLIB}" \
50778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50779 TAGS) \
50780 || exit 1
50781
50782 @endif target-libffi
50783
50784 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
50785 maybe-install-info-target-libffi:
50786 @if target-libffi
50787 maybe-install-info-target-libffi: install-info-target-libffi
50788
50789 install-info-target-libffi: \
50790 configure-target-libffi \
50791 info-target-libffi
50792 @: $(MAKE); $(unstage)
50793 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50794 r=`${PWD_COMMAND}`; export r; \
50795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50796 $(NORMAL_TARGET_EXPORTS) \
50797 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
50798 for flag in $(EXTRA_TARGET_FLAGS); do \
50799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50800 done; \
50801 (cd $(TARGET_SUBDIR)/libffi && \
50802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50804 "RANLIB=$${RANLIB}" \
50805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50806 install-info) \
50807 || exit 1
50808
50809 @endif target-libffi
50810
50811 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
50812 maybe-install-pdf-target-libffi:
50813 @if target-libffi
50814 maybe-install-pdf-target-libffi: install-pdf-target-libffi
50815
50816 install-pdf-target-libffi: \
50817 configure-target-libffi \
50818 pdf-target-libffi
50819 @: $(MAKE); $(unstage)
50820 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50821 r=`${PWD_COMMAND}`; export r; \
50822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50823 $(NORMAL_TARGET_EXPORTS) \
50824 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
50825 for flag in $(EXTRA_TARGET_FLAGS); do \
50826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50827 done; \
50828 (cd $(TARGET_SUBDIR)/libffi && \
50829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50831 "RANLIB=$${RANLIB}" \
50832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50833 install-pdf) \
50834 || exit 1
50835
50836 @endif target-libffi
50837
50838 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
50839 maybe-install-html-target-libffi:
50840 @if target-libffi
50841 maybe-install-html-target-libffi: install-html-target-libffi
50842
50843 install-html-target-libffi: \
50844 configure-target-libffi \
50845 html-target-libffi
50846 @: $(MAKE); $(unstage)
50847 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50848 r=`${PWD_COMMAND}`; export r; \
50849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50850 $(NORMAL_TARGET_EXPORTS) \
50851 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
50852 for flag in $(EXTRA_TARGET_FLAGS); do \
50853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50854 done; \
50855 (cd $(TARGET_SUBDIR)/libffi && \
50856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50858 "RANLIB=$${RANLIB}" \
50859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50860 install-html) \
50861 || exit 1
50862
50863 @endif target-libffi
50864
50865 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
50866 maybe-installcheck-target-libffi:
50867 @if target-libffi
50868 maybe-installcheck-target-libffi: installcheck-target-libffi
50869
50870 installcheck-target-libffi: \
50871 configure-target-libffi
50872 @: $(MAKE); $(unstage)
50873 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50874 r=`${PWD_COMMAND}`; export r; \
50875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50876 $(NORMAL_TARGET_EXPORTS) \
50877 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
50878 for flag in $(EXTRA_TARGET_FLAGS); do \
50879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50880 done; \
50881 (cd $(TARGET_SUBDIR)/libffi && \
50882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50884 "RANLIB=$${RANLIB}" \
50885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50886 installcheck) \
50887 || exit 1
50888
50889 @endif target-libffi
50890
50891 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
50892 maybe-mostlyclean-target-libffi:
50893 @if target-libffi
50894 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
50895
50896 mostlyclean-target-libffi:
50897 @: $(MAKE); $(unstage)
50898 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50899 r=`${PWD_COMMAND}`; export r; \
50900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50901 $(NORMAL_TARGET_EXPORTS) \
50902 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
50903 for flag in $(EXTRA_TARGET_FLAGS); do \
50904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50905 done; \
50906 (cd $(TARGET_SUBDIR)/libffi && \
50907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50909 "RANLIB=$${RANLIB}" \
50910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50911 mostlyclean) \
50912 || exit 1
50913
50914 @endif target-libffi
50915
50916 .PHONY: maybe-clean-target-libffi clean-target-libffi
50917 maybe-clean-target-libffi:
50918 @if target-libffi
50919 maybe-clean-target-libffi: clean-target-libffi
50920
50921 clean-target-libffi:
50922 @: $(MAKE); $(unstage)
50923 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50924 r=`${PWD_COMMAND}`; export r; \
50925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50926 $(NORMAL_TARGET_EXPORTS) \
50927 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
50928 for flag in $(EXTRA_TARGET_FLAGS); do \
50929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50930 done; \
50931 (cd $(TARGET_SUBDIR)/libffi && \
50932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50934 "RANLIB=$${RANLIB}" \
50935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50936 clean) \
50937 || exit 1
50938
50939 @endif target-libffi
50940
50941 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
50942 maybe-distclean-target-libffi:
50943 @if target-libffi
50944 maybe-distclean-target-libffi: distclean-target-libffi
50945
50946 distclean-target-libffi:
50947 @: $(MAKE); $(unstage)
50948 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50949 r=`${PWD_COMMAND}`; export r; \
50950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50951 $(NORMAL_TARGET_EXPORTS) \
50952 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
50953 for flag in $(EXTRA_TARGET_FLAGS); do \
50954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50955 done; \
50956 (cd $(TARGET_SUBDIR)/libffi && \
50957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50959 "RANLIB=$${RANLIB}" \
50960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50961 distclean) \
50962 || exit 1
50963
50964 @endif target-libffi
50965
50966 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
50967 maybe-maintainer-clean-target-libffi:
50968 @if target-libffi
50969 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
50970
50971 maintainer-clean-target-libffi:
50972 @: $(MAKE); $(unstage)
50973 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
50974 r=`${PWD_COMMAND}`; export r; \
50975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50976 $(NORMAL_TARGET_EXPORTS) \
50977 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
50978 for flag in $(EXTRA_TARGET_FLAGS); do \
50979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50980 done; \
50981 (cd $(TARGET_SUBDIR)/libffi && \
50982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50984 "RANLIB=$${RANLIB}" \
50985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50986 maintainer-clean) \
50987 || exit 1
50988
50989 @endif target-libffi
50990
50991
50992
50993
50994
50995 .PHONY: configure-target-zlib maybe-configure-target-zlib
50996 maybe-configure-target-zlib:
50997 @if gcc-bootstrap
50998 configure-target-zlib: stage_current
50999 @endif gcc-bootstrap
51000 @if target-zlib
51001 maybe-configure-target-zlib: configure-target-zlib
51002 configure-target-zlib:
51003 @: $(MAKE); $(unstage)
51004 @r=`${PWD_COMMAND}`; export r; \
51005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51006 echo "Checking multilib configuration for zlib..."; \
51007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51008 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
51009 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
51010 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
51011 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
51012 else \
51013 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
51014 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51015 fi; \
51016 else \
51017 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
51018 fi; \
51019 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
51020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
51021 $(NORMAL_TARGET_EXPORTS) \
51022 echo Configuring in $(TARGET_SUBDIR)/zlib; \
51023 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
51024 case $(srcdir) in \
51025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51026 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
51027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51028 esac; \
51029 module_srcdir=zlib; \
51030 rm -f no-such-file || : ; \
51031 CONFIG_SITE=no-such-file $(SHELL) \
51032 $$s/$$module_srcdir/configure \
51033 --srcdir=$${topdir}/$$module_srcdir \
51034 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51035 --target=${target_alias} \
51036 || exit 1
51037 @endif target-zlib
51038
51039
51040
51041
51042
51043 .PHONY: all-target-zlib maybe-all-target-zlib
51044 maybe-all-target-zlib:
51045 @if gcc-bootstrap
51046 all-target-zlib: stage_current
51047 @endif gcc-bootstrap
51048 @if target-zlib
51049 TARGET-target-zlib=all
51050 maybe-all-target-zlib: all-target-zlib
51051 all-target-zlib: configure-target-zlib
51052 @: $(MAKE); $(unstage)
51053 @r=`${PWD_COMMAND}`; export r; \
51054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51055 $(NORMAL_TARGET_EXPORTS) \
51056 (cd $(TARGET_SUBDIR)/zlib && \
51057 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51058 $(TARGET-target-zlib))
51059 @endif target-zlib
51060
51061
51062
51063
51064
51065 .PHONY: check-target-zlib maybe-check-target-zlib
51066 maybe-check-target-zlib:
51067 @if target-zlib
51068 maybe-check-target-zlib: check-target-zlib
51069
51070 check-target-zlib:
51071 @: $(MAKE); $(unstage)
51072 @r=`${PWD_COMMAND}`; export r; \
51073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51074 $(NORMAL_TARGET_EXPORTS) \
51075 (cd $(TARGET_SUBDIR)/zlib && \
51076 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51077
51078 @endif target-zlib
51079
51080 .PHONY: install-target-zlib maybe-install-target-zlib
51081 maybe-install-target-zlib:
51082 @if target-zlib
51083 maybe-install-target-zlib: install-target-zlib
51084
51085 install-target-zlib: installdirs
51086 @: $(MAKE); $(unstage)
51087 @r=`${PWD_COMMAND}`; export r; \
51088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51089 $(NORMAL_TARGET_EXPORTS) \
51090 (cd $(TARGET_SUBDIR)/zlib && \
51091 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51092
51093 @endif target-zlib
51094
51095 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
51096 maybe-install-strip-target-zlib:
51097 @if target-zlib
51098 maybe-install-strip-target-zlib: install-strip-target-zlib
51099
51100 install-strip-target-zlib: installdirs
51101 @: $(MAKE); $(unstage)
51102 @r=`${PWD_COMMAND}`; export r; \
51103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51104 $(NORMAL_TARGET_EXPORTS) \
51105 (cd $(TARGET_SUBDIR)/zlib && \
51106 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51107
51108 @endif target-zlib
51109
51110 # Other targets (info, dvi, pdf, etc.)
51111
51112 .PHONY: maybe-info-target-zlib info-target-zlib
51113 maybe-info-target-zlib:
51114 @if target-zlib
51115 maybe-info-target-zlib: info-target-zlib
51116
51117 info-target-zlib: \
51118 configure-target-zlib
51119 @: $(MAKE); $(unstage)
51120 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51121 r=`${PWD_COMMAND}`; export r; \
51122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51123 $(NORMAL_TARGET_EXPORTS) \
51124 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
51125 for flag in $(EXTRA_TARGET_FLAGS); do \
51126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51127 done; \
51128 (cd $(TARGET_SUBDIR)/zlib && \
51129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51131 "RANLIB=$${RANLIB}" \
51132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51133 info) \
51134 || exit 1
51135
51136 @endif target-zlib
51137
51138 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
51139 maybe-dvi-target-zlib:
51140 @if target-zlib
51141 maybe-dvi-target-zlib: dvi-target-zlib
51142
51143 dvi-target-zlib: \
51144 configure-target-zlib
51145 @: $(MAKE); $(unstage)
51146 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51147 r=`${PWD_COMMAND}`; export r; \
51148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51149 $(NORMAL_TARGET_EXPORTS) \
51150 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
51151 for flag in $(EXTRA_TARGET_FLAGS); do \
51152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51153 done; \
51154 (cd $(TARGET_SUBDIR)/zlib && \
51155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51157 "RANLIB=$${RANLIB}" \
51158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51159 dvi) \
51160 || exit 1
51161
51162 @endif target-zlib
51163
51164 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
51165 maybe-pdf-target-zlib:
51166 @if target-zlib
51167 maybe-pdf-target-zlib: pdf-target-zlib
51168
51169 pdf-target-zlib: \
51170 configure-target-zlib
51171 @: $(MAKE); $(unstage)
51172 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51173 r=`${PWD_COMMAND}`; export r; \
51174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51175 $(NORMAL_TARGET_EXPORTS) \
51176 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
51177 for flag in $(EXTRA_TARGET_FLAGS); do \
51178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51179 done; \
51180 (cd $(TARGET_SUBDIR)/zlib && \
51181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51183 "RANLIB=$${RANLIB}" \
51184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51185 pdf) \
51186 || exit 1
51187
51188 @endif target-zlib
51189
51190 .PHONY: maybe-html-target-zlib html-target-zlib
51191 maybe-html-target-zlib:
51192 @if target-zlib
51193 maybe-html-target-zlib: html-target-zlib
51194
51195 html-target-zlib: \
51196 configure-target-zlib
51197 @: $(MAKE); $(unstage)
51198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51199 r=`${PWD_COMMAND}`; export r; \
51200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51201 $(NORMAL_TARGET_EXPORTS) \
51202 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
51203 for flag in $(EXTRA_TARGET_FLAGS); do \
51204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51205 done; \
51206 (cd $(TARGET_SUBDIR)/zlib && \
51207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51209 "RANLIB=$${RANLIB}" \
51210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51211 html) \
51212 || exit 1
51213
51214 @endif target-zlib
51215
51216 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
51217 maybe-TAGS-target-zlib:
51218 @if target-zlib
51219 maybe-TAGS-target-zlib: TAGS-target-zlib
51220
51221 TAGS-target-zlib: \
51222 configure-target-zlib
51223 @: $(MAKE); $(unstage)
51224 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51225 r=`${PWD_COMMAND}`; export r; \
51226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51227 $(NORMAL_TARGET_EXPORTS) \
51228 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
51229 for flag in $(EXTRA_TARGET_FLAGS); do \
51230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51231 done; \
51232 (cd $(TARGET_SUBDIR)/zlib && \
51233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51235 "RANLIB=$${RANLIB}" \
51236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51237 TAGS) \
51238 || exit 1
51239
51240 @endif target-zlib
51241
51242 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
51243 maybe-install-info-target-zlib:
51244 @if target-zlib
51245 maybe-install-info-target-zlib: install-info-target-zlib
51246
51247 install-info-target-zlib: \
51248 configure-target-zlib \
51249 info-target-zlib
51250 @: $(MAKE); $(unstage)
51251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51252 r=`${PWD_COMMAND}`; export r; \
51253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51254 $(NORMAL_TARGET_EXPORTS) \
51255 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
51256 for flag in $(EXTRA_TARGET_FLAGS); do \
51257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51258 done; \
51259 (cd $(TARGET_SUBDIR)/zlib && \
51260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51262 "RANLIB=$${RANLIB}" \
51263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51264 install-info) \
51265 || exit 1
51266
51267 @endif target-zlib
51268
51269 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
51270 maybe-install-pdf-target-zlib:
51271 @if target-zlib
51272 maybe-install-pdf-target-zlib: install-pdf-target-zlib
51273
51274 install-pdf-target-zlib: \
51275 configure-target-zlib \
51276 pdf-target-zlib
51277 @: $(MAKE); $(unstage)
51278 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51279 r=`${PWD_COMMAND}`; export r; \
51280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51281 $(NORMAL_TARGET_EXPORTS) \
51282 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
51283 for flag in $(EXTRA_TARGET_FLAGS); do \
51284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51285 done; \
51286 (cd $(TARGET_SUBDIR)/zlib && \
51287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51289 "RANLIB=$${RANLIB}" \
51290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51291 install-pdf) \
51292 || exit 1
51293
51294 @endif target-zlib
51295
51296 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
51297 maybe-install-html-target-zlib:
51298 @if target-zlib
51299 maybe-install-html-target-zlib: install-html-target-zlib
51300
51301 install-html-target-zlib: \
51302 configure-target-zlib \
51303 html-target-zlib
51304 @: $(MAKE); $(unstage)
51305 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51306 r=`${PWD_COMMAND}`; export r; \
51307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51308 $(NORMAL_TARGET_EXPORTS) \
51309 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
51310 for flag in $(EXTRA_TARGET_FLAGS); do \
51311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51312 done; \
51313 (cd $(TARGET_SUBDIR)/zlib && \
51314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51316 "RANLIB=$${RANLIB}" \
51317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51318 install-html) \
51319 || exit 1
51320
51321 @endif target-zlib
51322
51323 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
51324 maybe-installcheck-target-zlib:
51325 @if target-zlib
51326 maybe-installcheck-target-zlib: installcheck-target-zlib
51327
51328 installcheck-target-zlib: \
51329 configure-target-zlib
51330 @: $(MAKE); $(unstage)
51331 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51332 r=`${PWD_COMMAND}`; export r; \
51333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51334 $(NORMAL_TARGET_EXPORTS) \
51335 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
51336 for flag in $(EXTRA_TARGET_FLAGS); do \
51337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51338 done; \
51339 (cd $(TARGET_SUBDIR)/zlib && \
51340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51342 "RANLIB=$${RANLIB}" \
51343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51344 installcheck) \
51345 || exit 1
51346
51347 @endif target-zlib
51348
51349 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
51350 maybe-mostlyclean-target-zlib:
51351 @if target-zlib
51352 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
51353
51354 mostlyclean-target-zlib:
51355 @: $(MAKE); $(unstage)
51356 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51357 r=`${PWD_COMMAND}`; export r; \
51358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51359 $(NORMAL_TARGET_EXPORTS) \
51360 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
51361 for flag in $(EXTRA_TARGET_FLAGS); do \
51362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51363 done; \
51364 (cd $(TARGET_SUBDIR)/zlib && \
51365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51367 "RANLIB=$${RANLIB}" \
51368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51369 mostlyclean) \
51370 || exit 1
51371
51372 @endif target-zlib
51373
51374 .PHONY: maybe-clean-target-zlib clean-target-zlib
51375 maybe-clean-target-zlib:
51376 @if target-zlib
51377 maybe-clean-target-zlib: clean-target-zlib
51378
51379 clean-target-zlib:
51380 @: $(MAKE); $(unstage)
51381 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51382 r=`${PWD_COMMAND}`; export r; \
51383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51384 $(NORMAL_TARGET_EXPORTS) \
51385 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
51386 for flag in $(EXTRA_TARGET_FLAGS); do \
51387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51388 done; \
51389 (cd $(TARGET_SUBDIR)/zlib && \
51390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51392 "RANLIB=$${RANLIB}" \
51393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51394 clean) \
51395 || exit 1
51396
51397 @endif target-zlib
51398
51399 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
51400 maybe-distclean-target-zlib:
51401 @if target-zlib
51402 maybe-distclean-target-zlib: distclean-target-zlib
51403
51404 distclean-target-zlib:
51405 @: $(MAKE); $(unstage)
51406 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51407 r=`${PWD_COMMAND}`; export r; \
51408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51409 $(NORMAL_TARGET_EXPORTS) \
51410 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
51411 for flag in $(EXTRA_TARGET_FLAGS); do \
51412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51413 done; \
51414 (cd $(TARGET_SUBDIR)/zlib && \
51415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51417 "RANLIB=$${RANLIB}" \
51418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51419 distclean) \
51420 || exit 1
51421
51422 @endif target-zlib
51423
51424 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
51425 maybe-maintainer-clean-target-zlib:
51426 @if target-zlib
51427 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
51428
51429 maintainer-clean-target-zlib:
51430 @: $(MAKE); $(unstage)
51431 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
51432 r=`${PWD_COMMAND}`; export r; \
51433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51434 $(NORMAL_TARGET_EXPORTS) \
51435 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
51436 for flag in $(EXTRA_TARGET_FLAGS); do \
51437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51438 done; \
51439 (cd $(TARGET_SUBDIR)/zlib && \
51440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51442 "RANLIB=$${RANLIB}" \
51443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51444 maintainer-clean) \
51445 || exit 1
51446
51447 @endif target-zlib
51448
51449
51450
51451
51452
51453 .PHONY: configure-target-rda maybe-configure-target-rda
51454 maybe-configure-target-rda:
51455 @if gcc-bootstrap
51456 configure-target-rda: stage_current
51457 @endif gcc-bootstrap
51458 @if target-rda
51459 maybe-configure-target-rda: configure-target-rda
51460 configure-target-rda:
51461 @: $(MAKE); $(unstage)
51462 @r=`${PWD_COMMAND}`; export r; \
51463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51464 echo "Checking multilib configuration for rda..."; \
51465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
51467 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
51468 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
51469 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
51470 else \
51471 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
51472 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51473 fi; \
51474 else \
51475 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
51476 fi; \
51477 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
51478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
51479 $(NORMAL_TARGET_EXPORTS) \
51480 echo Configuring in $(TARGET_SUBDIR)/rda; \
51481 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
51482 case $(srcdir) in \
51483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51484 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
51485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51486 esac; \
51487 module_srcdir=rda; \
51488 rm -f no-such-file || : ; \
51489 CONFIG_SITE=no-such-file $(SHELL) \
51490 $$s/$$module_srcdir/configure \
51491 --srcdir=$${topdir}/$$module_srcdir \
51492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51493 --target=${target_alias} \
51494 || exit 1
51495 @endif target-rda
51496
51497
51498
51499
51500
51501 .PHONY: all-target-rda maybe-all-target-rda
51502 maybe-all-target-rda:
51503 @if gcc-bootstrap
51504 all-target-rda: stage_current
51505 @endif gcc-bootstrap
51506 @if target-rda
51507 TARGET-target-rda=all
51508 maybe-all-target-rda: all-target-rda
51509 all-target-rda: configure-target-rda
51510 @: $(MAKE); $(unstage)
51511 @r=`${PWD_COMMAND}`; export r; \
51512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51513 $(NORMAL_TARGET_EXPORTS) \
51514 (cd $(TARGET_SUBDIR)/rda && \
51515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51516 $(TARGET-target-rda))
51517 @endif target-rda
51518
51519
51520
51521
51522
51523 .PHONY: check-target-rda maybe-check-target-rda
51524 maybe-check-target-rda:
51525 @if target-rda
51526 maybe-check-target-rda: check-target-rda
51527
51528 check-target-rda:
51529 @: $(MAKE); $(unstage)
51530 @r=`${PWD_COMMAND}`; export r; \
51531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51532 $(NORMAL_TARGET_EXPORTS) \
51533 (cd $(TARGET_SUBDIR)/rda && \
51534 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51535
51536 @endif target-rda
51537
51538 .PHONY: install-target-rda maybe-install-target-rda
51539 maybe-install-target-rda:
51540 @if target-rda
51541 maybe-install-target-rda: install-target-rda
51542
51543 install-target-rda: installdirs
51544 @: $(MAKE); $(unstage)
51545 @r=`${PWD_COMMAND}`; export r; \
51546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51547 $(NORMAL_TARGET_EXPORTS) \
51548 (cd $(TARGET_SUBDIR)/rda && \
51549 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51550
51551 @endif target-rda
51552
51553 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
51554 maybe-install-strip-target-rda:
51555 @if target-rda
51556 maybe-install-strip-target-rda: install-strip-target-rda
51557
51558 install-strip-target-rda: installdirs
51559 @: $(MAKE); $(unstage)
51560 @r=`${PWD_COMMAND}`; export r; \
51561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51562 $(NORMAL_TARGET_EXPORTS) \
51563 (cd $(TARGET_SUBDIR)/rda && \
51564 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51565
51566 @endif target-rda
51567
51568 # Other targets (info, dvi, pdf, etc.)
51569
51570 .PHONY: maybe-info-target-rda info-target-rda
51571 maybe-info-target-rda:
51572 @if target-rda
51573 maybe-info-target-rda: info-target-rda
51574
51575 info-target-rda: \
51576 configure-target-rda
51577 @: $(MAKE); $(unstage)
51578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51579 r=`${PWD_COMMAND}`; export r; \
51580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51581 $(NORMAL_TARGET_EXPORTS) \
51582 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
51583 for flag in $(EXTRA_TARGET_FLAGS); do \
51584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51585 done; \
51586 (cd $(TARGET_SUBDIR)/rda && \
51587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51589 "RANLIB=$${RANLIB}" \
51590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51591 info) \
51592 || exit 1
51593
51594 @endif target-rda
51595
51596 .PHONY: maybe-dvi-target-rda dvi-target-rda
51597 maybe-dvi-target-rda:
51598 @if target-rda
51599 maybe-dvi-target-rda: dvi-target-rda
51600
51601 dvi-target-rda: \
51602 configure-target-rda
51603 @: $(MAKE); $(unstage)
51604 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51605 r=`${PWD_COMMAND}`; export r; \
51606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51607 $(NORMAL_TARGET_EXPORTS) \
51608 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
51609 for flag in $(EXTRA_TARGET_FLAGS); do \
51610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51611 done; \
51612 (cd $(TARGET_SUBDIR)/rda && \
51613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51615 "RANLIB=$${RANLIB}" \
51616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51617 dvi) \
51618 || exit 1
51619
51620 @endif target-rda
51621
51622 .PHONY: maybe-pdf-target-rda pdf-target-rda
51623 maybe-pdf-target-rda:
51624 @if target-rda
51625 maybe-pdf-target-rda: pdf-target-rda
51626
51627 pdf-target-rda: \
51628 configure-target-rda
51629 @: $(MAKE); $(unstage)
51630 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51631 r=`${PWD_COMMAND}`; export r; \
51632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51633 $(NORMAL_TARGET_EXPORTS) \
51634 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
51635 for flag in $(EXTRA_TARGET_FLAGS); do \
51636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51637 done; \
51638 (cd $(TARGET_SUBDIR)/rda && \
51639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51641 "RANLIB=$${RANLIB}" \
51642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51643 pdf) \
51644 || exit 1
51645
51646 @endif target-rda
51647
51648 .PHONY: maybe-html-target-rda html-target-rda
51649 maybe-html-target-rda:
51650 @if target-rda
51651 maybe-html-target-rda: html-target-rda
51652
51653 html-target-rda: \
51654 configure-target-rda
51655 @: $(MAKE); $(unstage)
51656 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51657 r=`${PWD_COMMAND}`; export r; \
51658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51659 $(NORMAL_TARGET_EXPORTS) \
51660 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
51661 for flag in $(EXTRA_TARGET_FLAGS); do \
51662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51663 done; \
51664 (cd $(TARGET_SUBDIR)/rda && \
51665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51667 "RANLIB=$${RANLIB}" \
51668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51669 html) \
51670 || exit 1
51671
51672 @endif target-rda
51673
51674 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
51675 maybe-TAGS-target-rda:
51676 @if target-rda
51677 maybe-TAGS-target-rda: TAGS-target-rda
51678
51679 TAGS-target-rda: \
51680 configure-target-rda
51681 @: $(MAKE); $(unstage)
51682 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51683 r=`${PWD_COMMAND}`; export r; \
51684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51685 $(NORMAL_TARGET_EXPORTS) \
51686 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
51687 for flag in $(EXTRA_TARGET_FLAGS); do \
51688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51689 done; \
51690 (cd $(TARGET_SUBDIR)/rda && \
51691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51693 "RANLIB=$${RANLIB}" \
51694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51695 TAGS) \
51696 || exit 1
51697
51698 @endif target-rda
51699
51700 .PHONY: maybe-install-info-target-rda install-info-target-rda
51701 maybe-install-info-target-rda:
51702 @if target-rda
51703 maybe-install-info-target-rda: install-info-target-rda
51704
51705 install-info-target-rda: \
51706 configure-target-rda \
51707 info-target-rda
51708 @: $(MAKE); $(unstage)
51709 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51710 r=`${PWD_COMMAND}`; export r; \
51711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51712 $(NORMAL_TARGET_EXPORTS) \
51713 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
51714 for flag in $(EXTRA_TARGET_FLAGS); do \
51715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51716 done; \
51717 (cd $(TARGET_SUBDIR)/rda && \
51718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51720 "RANLIB=$${RANLIB}" \
51721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51722 install-info) \
51723 || exit 1
51724
51725 @endif target-rda
51726
51727 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
51728 maybe-install-pdf-target-rda:
51729 @if target-rda
51730 maybe-install-pdf-target-rda: install-pdf-target-rda
51731
51732 install-pdf-target-rda: \
51733 configure-target-rda \
51734 pdf-target-rda
51735 @: $(MAKE); $(unstage)
51736 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51737 r=`${PWD_COMMAND}`; export r; \
51738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51739 $(NORMAL_TARGET_EXPORTS) \
51740 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
51741 for flag in $(EXTRA_TARGET_FLAGS); do \
51742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51743 done; \
51744 (cd $(TARGET_SUBDIR)/rda && \
51745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51747 "RANLIB=$${RANLIB}" \
51748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51749 install-pdf) \
51750 || exit 1
51751
51752 @endif target-rda
51753
51754 .PHONY: maybe-install-html-target-rda install-html-target-rda
51755 maybe-install-html-target-rda:
51756 @if target-rda
51757 maybe-install-html-target-rda: install-html-target-rda
51758
51759 install-html-target-rda: \
51760 configure-target-rda \
51761 html-target-rda
51762 @: $(MAKE); $(unstage)
51763 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51764 r=`${PWD_COMMAND}`; export r; \
51765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51766 $(NORMAL_TARGET_EXPORTS) \
51767 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
51768 for flag in $(EXTRA_TARGET_FLAGS); do \
51769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51770 done; \
51771 (cd $(TARGET_SUBDIR)/rda && \
51772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51774 "RANLIB=$${RANLIB}" \
51775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51776 install-html) \
51777 || exit 1
51778
51779 @endif target-rda
51780
51781 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
51782 maybe-installcheck-target-rda:
51783 @if target-rda
51784 maybe-installcheck-target-rda: installcheck-target-rda
51785
51786 installcheck-target-rda: \
51787 configure-target-rda
51788 @: $(MAKE); $(unstage)
51789 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51790 r=`${PWD_COMMAND}`; export r; \
51791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51792 $(NORMAL_TARGET_EXPORTS) \
51793 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
51794 for flag in $(EXTRA_TARGET_FLAGS); do \
51795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51796 done; \
51797 (cd $(TARGET_SUBDIR)/rda && \
51798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51800 "RANLIB=$${RANLIB}" \
51801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51802 installcheck) \
51803 || exit 1
51804
51805 @endif target-rda
51806
51807 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
51808 maybe-mostlyclean-target-rda:
51809 @if target-rda
51810 maybe-mostlyclean-target-rda: mostlyclean-target-rda
51811
51812 mostlyclean-target-rda:
51813 @: $(MAKE); $(unstage)
51814 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51815 r=`${PWD_COMMAND}`; export r; \
51816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51817 $(NORMAL_TARGET_EXPORTS) \
51818 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
51819 for flag in $(EXTRA_TARGET_FLAGS); do \
51820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51821 done; \
51822 (cd $(TARGET_SUBDIR)/rda && \
51823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51825 "RANLIB=$${RANLIB}" \
51826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51827 mostlyclean) \
51828 || exit 1
51829
51830 @endif target-rda
51831
51832 .PHONY: maybe-clean-target-rda clean-target-rda
51833 maybe-clean-target-rda:
51834 @if target-rda
51835 maybe-clean-target-rda: clean-target-rda
51836
51837 clean-target-rda:
51838 @: $(MAKE); $(unstage)
51839 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51840 r=`${PWD_COMMAND}`; export r; \
51841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51842 $(NORMAL_TARGET_EXPORTS) \
51843 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
51844 for flag in $(EXTRA_TARGET_FLAGS); do \
51845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51846 done; \
51847 (cd $(TARGET_SUBDIR)/rda && \
51848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51850 "RANLIB=$${RANLIB}" \
51851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51852 clean) \
51853 || exit 1
51854
51855 @endif target-rda
51856
51857 .PHONY: maybe-distclean-target-rda distclean-target-rda
51858 maybe-distclean-target-rda:
51859 @if target-rda
51860 maybe-distclean-target-rda: distclean-target-rda
51861
51862 distclean-target-rda:
51863 @: $(MAKE); $(unstage)
51864 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51865 r=`${PWD_COMMAND}`; export r; \
51866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51867 $(NORMAL_TARGET_EXPORTS) \
51868 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
51869 for flag in $(EXTRA_TARGET_FLAGS); do \
51870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51871 done; \
51872 (cd $(TARGET_SUBDIR)/rda && \
51873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51875 "RANLIB=$${RANLIB}" \
51876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51877 distclean) \
51878 || exit 1
51879
51880 @endif target-rda
51881
51882 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
51883 maybe-maintainer-clean-target-rda:
51884 @if target-rda
51885 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
51886
51887 maintainer-clean-target-rda:
51888 @: $(MAKE); $(unstage)
51889 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
51890 r=`${PWD_COMMAND}`; export r; \
51891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51892 $(NORMAL_TARGET_EXPORTS) \
51893 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
51894 for flag in $(EXTRA_TARGET_FLAGS); do \
51895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51896 done; \
51897 (cd $(TARGET_SUBDIR)/rda && \
51898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51900 "RANLIB=$${RANLIB}" \
51901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51902 maintainer-clean) \
51903 || exit 1
51904
51905 @endif target-rda
51906
51907
51908
51909
51910
51911 .PHONY: configure-target-libada maybe-configure-target-libada
51912 maybe-configure-target-libada:
51913 @if gcc-bootstrap
51914 configure-target-libada: stage_current
51915 @endif gcc-bootstrap
51916 @if target-libada
51917 maybe-configure-target-libada: configure-target-libada
51918 configure-target-libada:
51919 @: $(MAKE); $(unstage)
51920 @r=`${PWD_COMMAND}`; export r; \
51921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51922 echo "Checking multilib configuration for libada..."; \
51923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51924 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
51925 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
51926 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
51927 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
51928 else \
51929 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
51930 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51931 fi; \
51932 else \
51933 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
51934 fi; \
51935 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
51936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
51937 $(NORMAL_TARGET_EXPORTS) \
51938 echo Configuring in $(TARGET_SUBDIR)/libada; \
51939 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
51940 case $(srcdir) in \
51941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51942 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
51943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51944 esac; \
51945 module_srcdir=libada; \
51946 rm -f no-such-file || : ; \
51947 CONFIG_SITE=no-such-file $(SHELL) \
51948 $$s/$$module_srcdir/configure \
51949 --srcdir=$${topdir}/$$module_srcdir \
51950 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51951 --target=${target_alias} \
51952 || exit 1
51953 @endif target-libada
51954
51955
51956
51957
51958
51959 .PHONY: all-target-libada maybe-all-target-libada
51960 maybe-all-target-libada:
51961 @if gcc-bootstrap
51962 all-target-libada: stage_current
51963 @endif gcc-bootstrap
51964 @if target-libada
51965 TARGET-target-libada=all
51966 maybe-all-target-libada: all-target-libada
51967 all-target-libada: configure-target-libada
51968 @: $(MAKE); $(unstage)
51969 @r=`${PWD_COMMAND}`; export r; \
51970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51971 $(NORMAL_TARGET_EXPORTS) \
51972 (cd $(TARGET_SUBDIR)/libada && \
51973 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51974 $(TARGET-target-libada))
51975 @endif target-libada
51976
51977
51978
51979
51980
51981 .PHONY: check-target-libada maybe-check-target-libada
51982 maybe-check-target-libada:
51983 @if target-libada
51984 maybe-check-target-libada: check-target-libada
51985
51986 check-target-libada:
51987 @: $(MAKE); $(unstage)
51988 @r=`${PWD_COMMAND}`; export r; \
51989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51990 $(NORMAL_TARGET_EXPORTS) \
51991 (cd $(TARGET_SUBDIR)/libada && \
51992 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51993
51994 @endif target-libada
51995
51996 .PHONY: install-target-libada maybe-install-target-libada
51997 maybe-install-target-libada:
51998 @if target-libada
51999 maybe-install-target-libada: install-target-libada
52000
52001 install-target-libada: installdirs
52002 @: $(MAKE); $(unstage)
52003 @r=`${PWD_COMMAND}`; export r; \
52004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52005 $(NORMAL_TARGET_EXPORTS) \
52006 (cd $(TARGET_SUBDIR)/libada && \
52007 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52008
52009 @endif target-libada
52010
52011 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
52012 maybe-install-strip-target-libada:
52013 @if target-libada
52014 maybe-install-strip-target-libada: install-strip-target-libada
52015
52016 install-strip-target-libada: installdirs
52017 @: $(MAKE); $(unstage)
52018 @r=`${PWD_COMMAND}`; export r; \
52019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52020 $(NORMAL_TARGET_EXPORTS) \
52021 (cd $(TARGET_SUBDIR)/libada && \
52022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52023
52024 @endif target-libada
52025
52026 # Other targets (info, dvi, pdf, etc.)
52027
52028 .PHONY: maybe-info-target-libada info-target-libada
52029 maybe-info-target-libada:
52030 @if target-libada
52031 maybe-info-target-libada: info-target-libada
52032
52033 info-target-libada: \
52034 configure-target-libada
52035 @: $(MAKE); $(unstage)
52036 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52037 r=`${PWD_COMMAND}`; export r; \
52038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52039 $(NORMAL_TARGET_EXPORTS) \
52040 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
52041 for flag in $(EXTRA_TARGET_FLAGS); do \
52042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52043 done; \
52044 (cd $(TARGET_SUBDIR)/libada && \
52045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52047 "RANLIB=$${RANLIB}" \
52048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52049 info) \
52050 || exit 1
52051
52052 @endif target-libada
52053
52054 .PHONY: maybe-dvi-target-libada dvi-target-libada
52055 maybe-dvi-target-libada:
52056 @if target-libada
52057 maybe-dvi-target-libada: dvi-target-libada
52058
52059 dvi-target-libada: \
52060 configure-target-libada
52061 @: $(MAKE); $(unstage)
52062 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52063 r=`${PWD_COMMAND}`; export r; \
52064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52065 $(NORMAL_TARGET_EXPORTS) \
52066 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
52067 for flag in $(EXTRA_TARGET_FLAGS); do \
52068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52069 done; \
52070 (cd $(TARGET_SUBDIR)/libada && \
52071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52073 "RANLIB=$${RANLIB}" \
52074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52075 dvi) \
52076 || exit 1
52077
52078 @endif target-libada
52079
52080 .PHONY: maybe-pdf-target-libada pdf-target-libada
52081 maybe-pdf-target-libada:
52082 @if target-libada
52083 maybe-pdf-target-libada: pdf-target-libada
52084
52085 pdf-target-libada: \
52086 configure-target-libada
52087 @: $(MAKE); $(unstage)
52088 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52089 r=`${PWD_COMMAND}`; export r; \
52090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52091 $(NORMAL_TARGET_EXPORTS) \
52092 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
52093 for flag in $(EXTRA_TARGET_FLAGS); do \
52094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52095 done; \
52096 (cd $(TARGET_SUBDIR)/libada && \
52097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52099 "RANLIB=$${RANLIB}" \
52100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52101 pdf) \
52102 || exit 1
52103
52104 @endif target-libada
52105
52106 .PHONY: maybe-html-target-libada html-target-libada
52107 maybe-html-target-libada:
52108 @if target-libada
52109 maybe-html-target-libada: html-target-libada
52110
52111 html-target-libada: \
52112 configure-target-libada
52113 @: $(MAKE); $(unstage)
52114 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52115 r=`${PWD_COMMAND}`; export r; \
52116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52117 $(NORMAL_TARGET_EXPORTS) \
52118 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
52119 for flag in $(EXTRA_TARGET_FLAGS); do \
52120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52121 done; \
52122 (cd $(TARGET_SUBDIR)/libada && \
52123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52125 "RANLIB=$${RANLIB}" \
52126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52127 html) \
52128 || exit 1
52129
52130 @endif target-libada
52131
52132 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
52133 maybe-TAGS-target-libada:
52134 @if target-libada
52135 maybe-TAGS-target-libada: TAGS-target-libada
52136
52137 TAGS-target-libada: \
52138 configure-target-libada
52139 @: $(MAKE); $(unstage)
52140 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52141 r=`${PWD_COMMAND}`; export r; \
52142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52143 $(NORMAL_TARGET_EXPORTS) \
52144 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
52145 for flag in $(EXTRA_TARGET_FLAGS); do \
52146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52147 done; \
52148 (cd $(TARGET_SUBDIR)/libada && \
52149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52151 "RANLIB=$${RANLIB}" \
52152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52153 TAGS) \
52154 || exit 1
52155
52156 @endif target-libada
52157
52158 .PHONY: maybe-install-info-target-libada install-info-target-libada
52159 maybe-install-info-target-libada:
52160 @if target-libada
52161 maybe-install-info-target-libada: install-info-target-libada
52162
52163 install-info-target-libada: \
52164 configure-target-libada \
52165 info-target-libada
52166 @: $(MAKE); $(unstage)
52167 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52168 r=`${PWD_COMMAND}`; export r; \
52169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52170 $(NORMAL_TARGET_EXPORTS) \
52171 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
52172 for flag in $(EXTRA_TARGET_FLAGS); do \
52173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52174 done; \
52175 (cd $(TARGET_SUBDIR)/libada && \
52176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52178 "RANLIB=$${RANLIB}" \
52179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52180 install-info) \
52181 || exit 1
52182
52183 @endif target-libada
52184
52185 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
52186 maybe-install-pdf-target-libada:
52187 @if target-libada
52188 maybe-install-pdf-target-libada: install-pdf-target-libada
52189
52190 install-pdf-target-libada: \
52191 configure-target-libada \
52192 pdf-target-libada
52193 @: $(MAKE); $(unstage)
52194 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52195 r=`${PWD_COMMAND}`; export r; \
52196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52197 $(NORMAL_TARGET_EXPORTS) \
52198 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
52199 for flag in $(EXTRA_TARGET_FLAGS); do \
52200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52201 done; \
52202 (cd $(TARGET_SUBDIR)/libada && \
52203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52205 "RANLIB=$${RANLIB}" \
52206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52207 install-pdf) \
52208 || exit 1
52209
52210 @endif target-libada
52211
52212 .PHONY: maybe-install-html-target-libada install-html-target-libada
52213 maybe-install-html-target-libada:
52214 @if target-libada
52215 maybe-install-html-target-libada: install-html-target-libada
52216
52217 install-html-target-libada: \
52218 configure-target-libada \
52219 html-target-libada
52220 @: $(MAKE); $(unstage)
52221 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52222 r=`${PWD_COMMAND}`; export r; \
52223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52224 $(NORMAL_TARGET_EXPORTS) \
52225 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
52226 for flag in $(EXTRA_TARGET_FLAGS); do \
52227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52228 done; \
52229 (cd $(TARGET_SUBDIR)/libada && \
52230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52232 "RANLIB=$${RANLIB}" \
52233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52234 install-html) \
52235 || exit 1
52236
52237 @endif target-libada
52238
52239 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
52240 maybe-installcheck-target-libada:
52241 @if target-libada
52242 maybe-installcheck-target-libada: installcheck-target-libada
52243
52244 installcheck-target-libada: \
52245 configure-target-libada
52246 @: $(MAKE); $(unstage)
52247 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52248 r=`${PWD_COMMAND}`; export r; \
52249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52250 $(NORMAL_TARGET_EXPORTS) \
52251 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
52252 for flag in $(EXTRA_TARGET_FLAGS); do \
52253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52254 done; \
52255 (cd $(TARGET_SUBDIR)/libada && \
52256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52258 "RANLIB=$${RANLIB}" \
52259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52260 installcheck) \
52261 || exit 1
52262
52263 @endif target-libada
52264
52265 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
52266 maybe-mostlyclean-target-libada:
52267 @if target-libada
52268 maybe-mostlyclean-target-libada: mostlyclean-target-libada
52269
52270 mostlyclean-target-libada:
52271 @: $(MAKE); $(unstage)
52272 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52273 r=`${PWD_COMMAND}`; export r; \
52274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52275 $(NORMAL_TARGET_EXPORTS) \
52276 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
52277 for flag in $(EXTRA_TARGET_FLAGS); do \
52278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52279 done; \
52280 (cd $(TARGET_SUBDIR)/libada && \
52281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52283 "RANLIB=$${RANLIB}" \
52284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52285 mostlyclean) \
52286 || exit 1
52287
52288 @endif target-libada
52289
52290 .PHONY: maybe-clean-target-libada clean-target-libada
52291 maybe-clean-target-libada:
52292 @if target-libada
52293 maybe-clean-target-libada: clean-target-libada
52294
52295 clean-target-libada:
52296 @: $(MAKE); $(unstage)
52297 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52298 r=`${PWD_COMMAND}`; export r; \
52299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52300 $(NORMAL_TARGET_EXPORTS) \
52301 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
52302 for flag in $(EXTRA_TARGET_FLAGS); do \
52303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52304 done; \
52305 (cd $(TARGET_SUBDIR)/libada && \
52306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52308 "RANLIB=$${RANLIB}" \
52309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52310 clean) \
52311 || exit 1
52312
52313 @endif target-libada
52314
52315 .PHONY: maybe-distclean-target-libada distclean-target-libada
52316 maybe-distclean-target-libada:
52317 @if target-libada
52318 maybe-distclean-target-libada: distclean-target-libada
52319
52320 distclean-target-libada:
52321 @: $(MAKE); $(unstage)
52322 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52323 r=`${PWD_COMMAND}`; export r; \
52324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52325 $(NORMAL_TARGET_EXPORTS) \
52326 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
52327 for flag in $(EXTRA_TARGET_FLAGS); do \
52328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52329 done; \
52330 (cd $(TARGET_SUBDIR)/libada && \
52331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52333 "RANLIB=$${RANLIB}" \
52334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52335 distclean) \
52336 || exit 1
52337
52338 @endif target-libada
52339
52340 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
52341 maybe-maintainer-clean-target-libada:
52342 @if target-libada
52343 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
52344
52345 maintainer-clean-target-libada:
52346 @: $(MAKE); $(unstage)
52347 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
52348 r=`${PWD_COMMAND}`; export r; \
52349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52350 $(NORMAL_TARGET_EXPORTS) \
52351 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
52352 for flag in $(EXTRA_TARGET_FLAGS); do \
52353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52354 done; \
52355 (cd $(TARGET_SUBDIR)/libada && \
52356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52358 "RANLIB=$${RANLIB}" \
52359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52360 maintainer-clean) \
52361 || exit 1
52362
52363 @endif target-libada
52364
52365
52366
52367
52368
52369 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
52370 maybe-configure-target-libgomp:
52371 @if gcc-bootstrap
52372 configure-target-libgomp: stage_current
52373 @endif gcc-bootstrap
52374 @if target-libgomp
52375 maybe-configure-target-libgomp: configure-target-libgomp
52376 configure-target-libgomp:
52377 @r=`${PWD_COMMAND}`; export r; \
52378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52379 echo "Checking multilib configuration for libgomp..."; \
52380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52381 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52382 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52383 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52384 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52385 else \
52386 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52387 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52388 fi; \
52389 else \
52390 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52391 fi; \
52392 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52393 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52394 $(NORMAL_TARGET_EXPORTS) \
52395 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
52396 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
52397 case $(srcdir) in \
52398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52399 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52401 esac; \
52402 module_srcdir=libgomp; \
52403 rm -f no-such-file || : ; \
52404 CONFIG_SITE=no-such-file $(SHELL) \
52405 $$s/$$module_srcdir/configure \
52406 --srcdir=$${topdir}/$$module_srcdir \
52407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52408 --target=${target_alias} \
52409 || exit 1
52410 @endif target-libgomp
52411
52412
52413
52414 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
52415 maybe-configure-stage1-target-libgomp:
52416 @if target-libgomp-bootstrap
52417 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
52418 configure-stage1-target-libgomp:
52419 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52420 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52421 @r=`${PWD_COMMAND}`; export r; \
52422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52423 TFLAGS="$(STAGE1_TFLAGS)"; \
52424 echo "Checking multilib configuration for libgomp..."; \
52425 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52426 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52427 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52428 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52429 else \
52430 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52431 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52432 fi; \
52433 else \
52434 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52435 fi; \
52436 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52437 $(NORMAL_TARGET_EXPORTS) \
52438 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52441 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
52442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52443 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52444 case $(srcdir) in \
52445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52446 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52448 esac; \
52449 module_srcdir=libgomp; \
52450 $(SHELL) $$s/$$module_srcdir/configure \
52451 --srcdir=$${topdir}/$$module_srcdir \
52452 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52453 --target=${target_alias} \
52454 \
52455 $(STAGE1_CONFIGURE_FLAGS)
52456 @endif target-libgomp-bootstrap
52457
52458 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
52459 maybe-configure-stage2-target-libgomp:
52460 @if target-libgomp-bootstrap
52461 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
52462 configure-stage2-target-libgomp:
52463 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52464 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52465 @r=`${PWD_COMMAND}`; export r; \
52466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52467 TFLAGS="$(STAGE2_TFLAGS)"; \
52468 echo "Checking multilib configuration for libgomp..."; \
52469 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52470 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52471 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52472 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52473 else \
52474 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52475 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52476 fi; \
52477 else \
52478 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52479 fi; \
52480 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52481 $(NORMAL_TARGET_EXPORTS) \
52482 \
52483 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52486 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
52487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52488 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52489 case $(srcdir) in \
52490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52491 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52493 esac; \
52494 module_srcdir=libgomp; \
52495 $(SHELL) $$s/$$module_srcdir/configure \
52496 --srcdir=$${topdir}/$$module_srcdir \
52497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52498 --target=${target_alias} \
52499 --with-build-libsubdir=$(HOST_SUBDIR) \
52500 $(STAGE2_CONFIGURE_FLAGS)
52501 @endif target-libgomp-bootstrap
52502
52503 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
52504 maybe-configure-stage3-target-libgomp:
52505 @if target-libgomp-bootstrap
52506 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
52507 configure-stage3-target-libgomp:
52508 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52509 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52510 @r=`${PWD_COMMAND}`; export r; \
52511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52512 TFLAGS="$(STAGE3_TFLAGS)"; \
52513 echo "Checking multilib configuration for libgomp..."; \
52514 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52515 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52516 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52517 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52518 else \
52519 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52520 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52521 fi; \
52522 else \
52523 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52524 fi; \
52525 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52526 $(NORMAL_TARGET_EXPORTS) \
52527 \
52528 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52531 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
52532 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52533 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52534 case $(srcdir) in \
52535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52536 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52538 esac; \
52539 module_srcdir=libgomp; \
52540 $(SHELL) $$s/$$module_srcdir/configure \
52541 --srcdir=$${topdir}/$$module_srcdir \
52542 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52543 --target=${target_alias} \
52544 --with-build-libsubdir=$(HOST_SUBDIR) \
52545 $(STAGE3_CONFIGURE_FLAGS)
52546 @endif target-libgomp-bootstrap
52547
52548 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
52549 maybe-configure-stage4-target-libgomp:
52550 @if target-libgomp-bootstrap
52551 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
52552 configure-stage4-target-libgomp:
52553 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52554 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52555 @r=`${PWD_COMMAND}`; export r; \
52556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52557 TFLAGS="$(STAGE4_TFLAGS)"; \
52558 echo "Checking multilib configuration for libgomp..."; \
52559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52560 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52561 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52562 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52563 else \
52564 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52565 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52566 fi; \
52567 else \
52568 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52569 fi; \
52570 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52571 $(NORMAL_TARGET_EXPORTS) \
52572 \
52573 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52574 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52575 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52576 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
52577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52578 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52579 case $(srcdir) in \
52580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52581 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52583 esac; \
52584 module_srcdir=libgomp; \
52585 $(SHELL) $$s/$$module_srcdir/configure \
52586 --srcdir=$${topdir}/$$module_srcdir \
52587 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52588 --target=${target_alias} \
52589 --with-build-libsubdir=$(HOST_SUBDIR) \
52590 $(STAGE4_CONFIGURE_FLAGS)
52591 @endif target-libgomp-bootstrap
52592
52593 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
52594 maybe-configure-stageprofile-target-libgomp:
52595 @if target-libgomp-bootstrap
52596 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
52597 configure-stageprofile-target-libgomp:
52598 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
52599 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52600 @r=`${PWD_COMMAND}`; export r; \
52601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52602 TFLAGS="$(STAGEprofile_TFLAGS)"; \
52603 echo "Checking multilib configuration for libgomp..."; \
52604 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52605 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52606 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52607 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52608 else \
52609 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52610 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52611 fi; \
52612 else \
52613 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52614 fi; \
52615 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52616 $(NORMAL_TARGET_EXPORTS) \
52617 \
52618 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52619 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52620 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52621 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
52622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52623 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52624 case $(srcdir) in \
52625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52626 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52628 esac; \
52629 module_srcdir=libgomp; \
52630 $(SHELL) $$s/$$module_srcdir/configure \
52631 --srcdir=$${topdir}/$$module_srcdir \
52632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52633 --target=${target_alias} \
52634 --with-build-libsubdir=$(HOST_SUBDIR) \
52635 $(STAGEprofile_CONFIGURE_FLAGS)
52636 @endif target-libgomp-bootstrap
52637
52638 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
52639 maybe-configure-stagetrain-target-libgomp:
52640 @if target-libgomp-bootstrap
52641 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
52642 configure-stagetrain-target-libgomp:
52643 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
52644 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52645 @r=`${PWD_COMMAND}`; export r; \
52646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52647 TFLAGS="$(STAGEtrain_TFLAGS)"; \
52648 echo "Checking multilib configuration for libgomp..."; \
52649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52650 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52651 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52652 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52653 else \
52654 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52655 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52656 fi; \
52657 else \
52658 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52659 fi; \
52660 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52661 $(NORMAL_TARGET_EXPORTS) \
52662 \
52663 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52664 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52665 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52666 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
52667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52668 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52669 case $(srcdir) in \
52670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52671 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52673 esac; \
52674 module_srcdir=libgomp; \
52675 $(SHELL) $$s/$$module_srcdir/configure \
52676 --srcdir=$${topdir}/$$module_srcdir \
52677 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52678 --target=${target_alias} \
52679 --with-build-libsubdir=$(HOST_SUBDIR) \
52680 $(STAGEtrain_CONFIGURE_FLAGS)
52681 @endif target-libgomp-bootstrap
52682
52683 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
52684 maybe-configure-stagefeedback-target-libgomp:
52685 @if target-libgomp-bootstrap
52686 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
52687 configure-stagefeedback-target-libgomp:
52688 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
52689 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52690 @r=`${PWD_COMMAND}`; export r; \
52691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52692 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
52693 echo "Checking multilib configuration for libgomp..."; \
52694 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52695 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52696 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52697 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52698 else \
52699 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52700 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52701 fi; \
52702 else \
52703 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52704 fi; \
52705 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52706 $(NORMAL_TARGET_EXPORTS) \
52707 \
52708 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52709 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52710 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52711 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
52712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52713 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52714 case $(srcdir) in \
52715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52716 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52718 esac; \
52719 module_srcdir=libgomp; \
52720 $(SHELL) $$s/$$module_srcdir/configure \
52721 --srcdir=$${topdir}/$$module_srcdir \
52722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52723 --target=${target_alias} \
52724 --with-build-libsubdir=$(HOST_SUBDIR) \
52725 $(STAGEfeedback_CONFIGURE_FLAGS)
52726 @endif target-libgomp-bootstrap
52727
52728 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
52729 maybe-configure-stageautoprofile-target-libgomp:
52730 @if target-libgomp-bootstrap
52731 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
52732 configure-stageautoprofile-target-libgomp:
52733 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
52734 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52735 @r=`${PWD_COMMAND}`; export r; \
52736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52737 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
52738 echo "Checking multilib configuration for libgomp..."; \
52739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52740 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52741 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52742 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52743 else \
52744 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52745 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52746 fi; \
52747 else \
52748 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52749 fi; \
52750 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52751 $(NORMAL_TARGET_EXPORTS) \
52752 \
52753 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52755 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52756 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
52757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52758 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52759 case $(srcdir) in \
52760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52761 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52763 esac; \
52764 module_srcdir=libgomp; \
52765 $(SHELL) $$s/$$module_srcdir/configure \
52766 --srcdir=$${topdir}/$$module_srcdir \
52767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52768 --target=${target_alias} \
52769 --with-build-libsubdir=$(HOST_SUBDIR) \
52770 $(STAGEautoprofile_CONFIGURE_FLAGS)
52771 @endif target-libgomp-bootstrap
52772
52773 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
52774 maybe-configure-stageautofeedback-target-libgomp:
52775 @if target-libgomp-bootstrap
52776 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
52777 configure-stageautofeedback-target-libgomp:
52778 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
52779 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
52780 @r=`${PWD_COMMAND}`; export r; \
52781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52782 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
52783 echo "Checking multilib configuration for libgomp..."; \
52784 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
52785 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52786 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
52787 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
52788 else \
52789 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
52790 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52791 fi; \
52792 else \
52793 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
52794 fi; \
52795 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
52796 $(NORMAL_TARGET_EXPORTS) \
52797 \
52798 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
52799 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
52800 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
52801 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
52802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
52803 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
52804 case $(srcdir) in \
52805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52806 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
52807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52808 esac; \
52809 module_srcdir=libgomp; \
52810 $(SHELL) $$s/$$module_srcdir/configure \
52811 --srcdir=$${topdir}/$$module_srcdir \
52812 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52813 --target=${target_alias} \
52814 --with-build-libsubdir=$(HOST_SUBDIR) \
52815 $(STAGEautofeedback_CONFIGURE_FLAGS)
52816 @endif target-libgomp-bootstrap
52817
52818
52819
52820
52821
52822 .PHONY: all-target-libgomp maybe-all-target-libgomp
52823 maybe-all-target-libgomp:
52824 @if gcc-bootstrap
52825 all-target-libgomp: stage_current
52826 @endif gcc-bootstrap
52827 @if target-libgomp
52828 TARGET-target-libgomp=all
52829 maybe-all-target-libgomp: all-target-libgomp
52830 all-target-libgomp: configure-target-libgomp
52831 @r=`${PWD_COMMAND}`; export r; \
52832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52833 $(NORMAL_TARGET_EXPORTS) \
52834 (cd $(TARGET_SUBDIR)/libgomp && \
52835 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52836 $(TARGET-target-libgomp))
52837 @endif target-libgomp
52838
52839
52840
52841 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
52842 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
52843 maybe-all-stage1-target-libgomp:
52844 maybe-clean-stage1-target-libgomp:
52845 @if target-libgomp-bootstrap
52846 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
52847 all-stage1: all-stage1-target-libgomp
52848 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
52849 all-stage1-target-libgomp: configure-stage1-target-libgomp
52850 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
52851 @r=`${PWD_COMMAND}`; export r; \
52852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52853 TFLAGS="$(STAGE1_TFLAGS)"; \
52854 $(NORMAL_TARGET_EXPORTS) \
52855 cd $(TARGET_SUBDIR)/libgomp && \
52856 \
52857 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52858 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52859 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52860 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52861 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52862 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52863 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52864 $(EXTRA_TARGET_FLAGS) \
52865 \
52866 TFLAGS="$(STAGE1_TFLAGS)" \
52867 $(TARGET-stage1-target-libgomp)
52868
52869 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
52870 clean-stage1: clean-stage1-target-libgomp
52871 clean-stage1-target-libgomp:
52872 @if [ $(current_stage) = stage1 ]; then \
52873 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52874 else \
52875 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
52876 $(MAKE) stage1-start; \
52877 fi; \
52878 cd $(TARGET_SUBDIR)/libgomp && \
52879 $(MAKE) $(EXTRA_TARGET_FLAGS) \
52880 clean
52881 @endif target-libgomp-bootstrap
52882
52883
52884 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
52885 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
52886 maybe-all-stage2-target-libgomp:
52887 maybe-clean-stage2-target-libgomp:
52888 @if target-libgomp-bootstrap
52889 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
52890 all-stage2: all-stage2-target-libgomp
52891 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
52892 all-stage2-target-libgomp: configure-stage2-target-libgomp
52893 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
52894 @r=`${PWD_COMMAND}`; export r; \
52895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52896 TFLAGS="$(STAGE2_TFLAGS)"; \
52897 $(NORMAL_TARGET_EXPORTS) \
52898 \
52899 cd $(TARGET_SUBDIR)/libgomp && \
52900 \
52901 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52902 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52903 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52904 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52905 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52906 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52907 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52908 $(EXTRA_TARGET_FLAGS) \
52909 TFLAGS="$(STAGE2_TFLAGS)" \
52910 $(TARGET-stage2-target-libgomp)
52911
52912 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
52913 clean-stage2: clean-stage2-target-libgomp
52914 clean-stage2-target-libgomp:
52915 @if [ $(current_stage) = stage2 ]; then \
52916 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52917 else \
52918 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
52919 $(MAKE) stage2-start; \
52920 fi; \
52921 cd $(TARGET_SUBDIR)/libgomp && \
52922 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52923 @endif target-libgomp-bootstrap
52924
52925
52926 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
52927 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
52928 maybe-all-stage3-target-libgomp:
52929 maybe-clean-stage3-target-libgomp:
52930 @if target-libgomp-bootstrap
52931 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
52932 all-stage3: all-stage3-target-libgomp
52933 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
52934 all-stage3-target-libgomp: configure-stage3-target-libgomp
52935 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
52936 @r=`${PWD_COMMAND}`; export r; \
52937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52938 TFLAGS="$(STAGE3_TFLAGS)"; \
52939 $(NORMAL_TARGET_EXPORTS) \
52940 \
52941 cd $(TARGET_SUBDIR)/libgomp && \
52942 \
52943 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52944 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52945 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52946 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52947 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52948 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52949 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52950 $(EXTRA_TARGET_FLAGS) \
52951 TFLAGS="$(STAGE3_TFLAGS)" \
52952 $(TARGET-stage3-target-libgomp)
52953
52954 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
52955 clean-stage3: clean-stage3-target-libgomp
52956 clean-stage3-target-libgomp:
52957 @if [ $(current_stage) = stage3 ]; then \
52958 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
52959 else \
52960 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
52961 $(MAKE) stage3-start; \
52962 fi; \
52963 cd $(TARGET_SUBDIR)/libgomp && \
52964 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
52965 @endif target-libgomp-bootstrap
52966
52967
52968 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
52969 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
52970 maybe-all-stage4-target-libgomp:
52971 maybe-clean-stage4-target-libgomp:
52972 @if target-libgomp-bootstrap
52973 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
52974 all-stage4: all-stage4-target-libgomp
52975 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
52976 all-stage4-target-libgomp: configure-stage4-target-libgomp
52977 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
52978 @r=`${PWD_COMMAND}`; export r; \
52979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52980 TFLAGS="$(STAGE4_TFLAGS)"; \
52981 $(NORMAL_TARGET_EXPORTS) \
52982 \
52983 cd $(TARGET_SUBDIR)/libgomp && \
52984 \
52985 $(MAKE) $(BASE_FLAGS_TO_PASS) \
52986 CFLAGS="$(CFLAGS_FOR_TARGET)" \
52987 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
52988 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
52989 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
52990 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
52991 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
52992 $(EXTRA_TARGET_FLAGS) \
52993 TFLAGS="$(STAGE4_TFLAGS)" \
52994 $(TARGET-stage4-target-libgomp)
52995
52996 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
52997 clean-stage4: clean-stage4-target-libgomp
52998 clean-stage4-target-libgomp:
52999 @if [ $(current_stage) = stage4 ]; then \
53000 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53001 else \
53002 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
53003 $(MAKE) stage4-start; \
53004 fi; \
53005 cd $(TARGET_SUBDIR)/libgomp && \
53006 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53007 @endif target-libgomp-bootstrap
53008
53009
53010 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
53011 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
53012 maybe-all-stageprofile-target-libgomp:
53013 maybe-clean-stageprofile-target-libgomp:
53014 @if target-libgomp-bootstrap
53015 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
53016 all-stageprofile: all-stageprofile-target-libgomp
53017 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
53018 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
53019 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53020 @r=`${PWD_COMMAND}`; export r; \
53021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53022 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53023 $(NORMAL_TARGET_EXPORTS) \
53024 \
53025 cd $(TARGET_SUBDIR)/libgomp && \
53026 \
53027 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53028 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53029 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53030 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53034 $(EXTRA_TARGET_FLAGS) \
53035 TFLAGS="$(STAGEprofile_TFLAGS)" \
53036 $(TARGET-stageprofile-target-libgomp)
53037
53038 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
53039 clean-stageprofile: clean-stageprofile-target-libgomp
53040 clean-stageprofile-target-libgomp:
53041 @if [ $(current_stage) = stageprofile ]; then \
53042 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53043 else \
53044 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
53045 $(MAKE) stageprofile-start; \
53046 fi; \
53047 cd $(TARGET_SUBDIR)/libgomp && \
53048 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53049 @endif target-libgomp-bootstrap
53050
53051
53052 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
53053 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
53054 maybe-all-stagetrain-target-libgomp:
53055 maybe-clean-stagetrain-target-libgomp:
53056 @if target-libgomp-bootstrap
53057 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
53058 all-stagetrain: all-stagetrain-target-libgomp
53059 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
53060 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
53061 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53062 @r=`${PWD_COMMAND}`; export r; \
53063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53064 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53065 $(NORMAL_TARGET_EXPORTS) \
53066 \
53067 cd $(TARGET_SUBDIR)/libgomp && \
53068 \
53069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53070 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53072 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53076 $(EXTRA_TARGET_FLAGS) \
53077 TFLAGS="$(STAGEtrain_TFLAGS)" \
53078 $(TARGET-stagetrain-target-libgomp)
53079
53080 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
53081 clean-stagetrain: clean-stagetrain-target-libgomp
53082 clean-stagetrain-target-libgomp:
53083 @if [ $(current_stage) = stagetrain ]; then \
53084 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53085 else \
53086 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
53087 $(MAKE) stagetrain-start; \
53088 fi; \
53089 cd $(TARGET_SUBDIR)/libgomp && \
53090 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53091 @endif target-libgomp-bootstrap
53092
53093
53094 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
53095 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
53096 maybe-all-stagefeedback-target-libgomp:
53097 maybe-clean-stagefeedback-target-libgomp:
53098 @if target-libgomp-bootstrap
53099 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
53100 all-stagefeedback: all-stagefeedback-target-libgomp
53101 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
53102 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
53103 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53104 @r=`${PWD_COMMAND}`; export r; \
53105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53106 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53107 $(NORMAL_TARGET_EXPORTS) \
53108 \
53109 cd $(TARGET_SUBDIR)/libgomp && \
53110 \
53111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53118 $(EXTRA_TARGET_FLAGS) \
53119 TFLAGS="$(STAGEfeedback_TFLAGS)" \
53120 $(TARGET-stagefeedback-target-libgomp)
53121
53122 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
53123 clean-stagefeedback: clean-stagefeedback-target-libgomp
53124 clean-stagefeedback-target-libgomp:
53125 @if [ $(current_stage) = stagefeedback ]; then \
53126 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53127 else \
53128 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
53129 $(MAKE) stagefeedback-start; \
53130 fi; \
53131 cd $(TARGET_SUBDIR)/libgomp && \
53132 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53133 @endif target-libgomp-bootstrap
53134
53135
53136 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
53137 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
53138 maybe-all-stageautoprofile-target-libgomp:
53139 maybe-clean-stageautoprofile-target-libgomp:
53140 @if target-libgomp-bootstrap
53141 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
53142 all-stageautoprofile: all-stageautoprofile-target-libgomp
53143 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
53144 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
53145 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53146 @r=`${PWD_COMMAND}`; export r; \
53147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53148 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53149 $(NORMAL_TARGET_EXPORTS) \
53150 \
53151 cd $(TARGET_SUBDIR)/libgomp && \
53152 $$s/gcc/config/i386/$(AUTO_PROFILE) \
53153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53154 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53155 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53156 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53160 $(EXTRA_TARGET_FLAGS) \
53161 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
53162 $(TARGET-stageautoprofile-target-libgomp)
53163
53164 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
53165 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
53166 clean-stageautoprofile-target-libgomp:
53167 @if [ $(current_stage) = stageautoprofile ]; then \
53168 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53169 else \
53170 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
53171 $(MAKE) stageautoprofile-start; \
53172 fi; \
53173 cd $(TARGET_SUBDIR)/libgomp && \
53174 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53175 @endif target-libgomp-bootstrap
53176
53177
53178 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
53179 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
53180 maybe-all-stageautofeedback-target-libgomp:
53181 maybe-clean-stageautofeedback-target-libgomp:
53182 @if target-libgomp-bootstrap
53183 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
53184 all-stageautofeedback: all-stageautofeedback-target-libgomp
53185 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
53186 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
53187 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53188 @r=`${PWD_COMMAND}`; export r; \
53189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53190 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53191 $(NORMAL_TARGET_EXPORTS) \
53192 \
53193 cd $(TARGET_SUBDIR)/libgomp && \
53194 \
53195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53196 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53202 $(EXTRA_TARGET_FLAGS) \
53203 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
53204 $(TARGET-stageautofeedback-target-libgomp)
53205
53206 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
53207 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
53208 clean-stageautofeedback-target-libgomp:
53209 @if [ $(current_stage) = stageautofeedback ]; then \
53210 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53211 else \
53212 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
53213 $(MAKE) stageautofeedback-start; \
53214 fi; \
53215 cd $(TARGET_SUBDIR)/libgomp && \
53216 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53217 @endif target-libgomp-bootstrap
53218
53219
53220
53221
53222
53223
53224 .PHONY: check-target-libgomp maybe-check-target-libgomp
53225 maybe-check-target-libgomp:
53226 @if target-libgomp
53227 maybe-check-target-libgomp: check-target-libgomp
53228
53229 check-target-libgomp:
53230 @: $(MAKE); $(unstage)
53231 @r=`${PWD_COMMAND}`; export r; \
53232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53233 $(NORMAL_TARGET_EXPORTS) \
53234 (cd $(TARGET_SUBDIR)/libgomp && \
53235 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53236
53237 @endif target-libgomp
53238
53239 .PHONY: install-target-libgomp maybe-install-target-libgomp
53240 maybe-install-target-libgomp:
53241 @if target-libgomp
53242 maybe-install-target-libgomp: install-target-libgomp
53243
53244 install-target-libgomp: installdirs
53245 @: $(MAKE); $(unstage)
53246 @r=`${PWD_COMMAND}`; export r; \
53247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53248 $(NORMAL_TARGET_EXPORTS) \
53249 (cd $(TARGET_SUBDIR)/libgomp && \
53250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53251
53252 @endif target-libgomp
53253
53254 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
53255 maybe-install-strip-target-libgomp:
53256 @if target-libgomp
53257 maybe-install-strip-target-libgomp: install-strip-target-libgomp
53258
53259 install-strip-target-libgomp: installdirs
53260 @: $(MAKE); $(unstage)
53261 @r=`${PWD_COMMAND}`; export r; \
53262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53263 $(NORMAL_TARGET_EXPORTS) \
53264 (cd $(TARGET_SUBDIR)/libgomp && \
53265 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53266
53267 @endif target-libgomp
53268
53269 # Other targets (info, dvi, pdf, etc.)
53270
53271 .PHONY: maybe-info-target-libgomp info-target-libgomp
53272 maybe-info-target-libgomp:
53273 @if target-libgomp
53274 maybe-info-target-libgomp: info-target-libgomp
53275
53276 info-target-libgomp: \
53277 configure-target-libgomp
53278 @: $(MAKE); $(unstage)
53279 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53280 r=`${PWD_COMMAND}`; export r; \
53281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53282 $(NORMAL_TARGET_EXPORTS) \
53283 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
53284 for flag in $(EXTRA_TARGET_FLAGS); do \
53285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53286 done; \
53287 (cd $(TARGET_SUBDIR)/libgomp && \
53288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53290 "RANLIB=$${RANLIB}" \
53291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53292 info) \
53293 || exit 1
53294
53295 @endif target-libgomp
53296
53297 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
53298 maybe-dvi-target-libgomp:
53299 @if target-libgomp
53300 maybe-dvi-target-libgomp: dvi-target-libgomp
53301
53302 dvi-target-libgomp: \
53303 configure-target-libgomp
53304 @: $(MAKE); $(unstage)
53305 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53306 r=`${PWD_COMMAND}`; export r; \
53307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53308 $(NORMAL_TARGET_EXPORTS) \
53309 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
53310 for flag in $(EXTRA_TARGET_FLAGS); do \
53311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53312 done; \
53313 (cd $(TARGET_SUBDIR)/libgomp && \
53314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53316 "RANLIB=$${RANLIB}" \
53317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53318 dvi) \
53319 || exit 1
53320
53321 @endif target-libgomp
53322
53323 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
53324 maybe-pdf-target-libgomp:
53325 @if target-libgomp
53326 maybe-pdf-target-libgomp: pdf-target-libgomp
53327
53328 pdf-target-libgomp: \
53329 configure-target-libgomp
53330 @: $(MAKE); $(unstage)
53331 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53332 r=`${PWD_COMMAND}`; export r; \
53333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53334 $(NORMAL_TARGET_EXPORTS) \
53335 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
53336 for flag in $(EXTRA_TARGET_FLAGS); do \
53337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53338 done; \
53339 (cd $(TARGET_SUBDIR)/libgomp && \
53340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53342 "RANLIB=$${RANLIB}" \
53343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53344 pdf) \
53345 || exit 1
53346
53347 @endif target-libgomp
53348
53349 .PHONY: maybe-html-target-libgomp html-target-libgomp
53350 maybe-html-target-libgomp:
53351 @if target-libgomp
53352 maybe-html-target-libgomp: html-target-libgomp
53353
53354 html-target-libgomp: \
53355 configure-target-libgomp
53356 @: $(MAKE); $(unstage)
53357 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53358 r=`${PWD_COMMAND}`; export r; \
53359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53360 $(NORMAL_TARGET_EXPORTS) \
53361 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
53362 for flag in $(EXTRA_TARGET_FLAGS); do \
53363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53364 done; \
53365 (cd $(TARGET_SUBDIR)/libgomp && \
53366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53368 "RANLIB=$${RANLIB}" \
53369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53370 html) \
53371 || exit 1
53372
53373 @endif target-libgomp
53374
53375 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
53376 maybe-TAGS-target-libgomp:
53377 @if target-libgomp
53378 maybe-TAGS-target-libgomp: TAGS-target-libgomp
53379
53380 TAGS-target-libgomp: \
53381 configure-target-libgomp
53382 @: $(MAKE); $(unstage)
53383 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53384 r=`${PWD_COMMAND}`; export r; \
53385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53386 $(NORMAL_TARGET_EXPORTS) \
53387 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
53388 for flag in $(EXTRA_TARGET_FLAGS); do \
53389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53390 done; \
53391 (cd $(TARGET_SUBDIR)/libgomp && \
53392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53394 "RANLIB=$${RANLIB}" \
53395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53396 TAGS) \
53397 || exit 1
53398
53399 @endif target-libgomp
53400
53401 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
53402 maybe-install-info-target-libgomp:
53403 @if target-libgomp
53404 maybe-install-info-target-libgomp: install-info-target-libgomp
53405
53406 install-info-target-libgomp: \
53407 configure-target-libgomp \
53408 info-target-libgomp
53409 @: $(MAKE); $(unstage)
53410 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53411 r=`${PWD_COMMAND}`; export r; \
53412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53413 $(NORMAL_TARGET_EXPORTS) \
53414 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
53415 for flag in $(EXTRA_TARGET_FLAGS); do \
53416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53417 done; \
53418 (cd $(TARGET_SUBDIR)/libgomp && \
53419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53421 "RANLIB=$${RANLIB}" \
53422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53423 install-info) \
53424 || exit 1
53425
53426 @endif target-libgomp
53427
53428 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
53429 maybe-install-pdf-target-libgomp:
53430 @if target-libgomp
53431 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
53432
53433 install-pdf-target-libgomp: \
53434 configure-target-libgomp \
53435 pdf-target-libgomp
53436 @: $(MAKE); $(unstage)
53437 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53438 r=`${PWD_COMMAND}`; export r; \
53439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53440 $(NORMAL_TARGET_EXPORTS) \
53441 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
53442 for flag in $(EXTRA_TARGET_FLAGS); do \
53443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53444 done; \
53445 (cd $(TARGET_SUBDIR)/libgomp && \
53446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53448 "RANLIB=$${RANLIB}" \
53449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53450 install-pdf) \
53451 || exit 1
53452
53453 @endif target-libgomp
53454
53455 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
53456 maybe-install-html-target-libgomp:
53457 @if target-libgomp
53458 maybe-install-html-target-libgomp: install-html-target-libgomp
53459
53460 install-html-target-libgomp: \
53461 configure-target-libgomp \
53462 html-target-libgomp
53463 @: $(MAKE); $(unstage)
53464 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53465 r=`${PWD_COMMAND}`; export r; \
53466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53467 $(NORMAL_TARGET_EXPORTS) \
53468 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
53469 for flag in $(EXTRA_TARGET_FLAGS); do \
53470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53471 done; \
53472 (cd $(TARGET_SUBDIR)/libgomp && \
53473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53475 "RANLIB=$${RANLIB}" \
53476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53477 install-html) \
53478 || exit 1
53479
53480 @endif target-libgomp
53481
53482 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
53483 maybe-installcheck-target-libgomp:
53484 @if target-libgomp
53485 maybe-installcheck-target-libgomp: installcheck-target-libgomp
53486
53487 installcheck-target-libgomp: \
53488 configure-target-libgomp
53489 @: $(MAKE); $(unstage)
53490 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53491 r=`${PWD_COMMAND}`; export r; \
53492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53493 $(NORMAL_TARGET_EXPORTS) \
53494 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
53495 for flag in $(EXTRA_TARGET_FLAGS); do \
53496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53497 done; \
53498 (cd $(TARGET_SUBDIR)/libgomp && \
53499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53501 "RANLIB=$${RANLIB}" \
53502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53503 installcheck) \
53504 || exit 1
53505
53506 @endif target-libgomp
53507
53508 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
53509 maybe-mostlyclean-target-libgomp:
53510 @if target-libgomp
53511 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
53512
53513 mostlyclean-target-libgomp:
53514 @: $(MAKE); $(unstage)
53515 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53516 r=`${PWD_COMMAND}`; export r; \
53517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53518 $(NORMAL_TARGET_EXPORTS) \
53519 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
53520 for flag in $(EXTRA_TARGET_FLAGS); do \
53521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53522 done; \
53523 (cd $(TARGET_SUBDIR)/libgomp && \
53524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53526 "RANLIB=$${RANLIB}" \
53527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53528 mostlyclean) \
53529 || exit 1
53530
53531 @endif target-libgomp
53532
53533 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
53534 maybe-clean-target-libgomp:
53535 @if target-libgomp
53536 maybe-clean-target-libgomp: clean-target-libgomp
53537
53538 clean-target-libgomp:
53539 @: $(MAKE); $(unstage)
53540 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53541 r=`${PWD_COMMAND}`; export r; \
53542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53543 $(NORMAL_TARGET_EXPORTS) \
53544 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
53545 for flag in $(EXTRA_TARGET_FLAGS); do \
53546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53547 done; \
53548 (cd $(TARGET_SUBDIR)/libgomp && \
53549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53551 "RANLIB=$${RANLIB}" \
53552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53553 clean) \
53554 || exit 1
53555
53556 @endif target-libgomp
53557
53558 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
53559 maybe-distclean-target-libgomp:
53560 @if target-libgomp
53561 maybe-distclean-target-libgomp: distclean-target-libgomp
53562
53563 distclean-target-libgomp:
53564 @: $(MAKE); $(unstage)
53565 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53566 r=`${PWD_COMMAND}`; export r; \
53567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53568 $(NORMAL_TARGET_EXPORTS) \
53569 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
53570 for flag in $(EXTRA_TARGET_FLAGS); do \
53571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53572 done; \
53573 (cd $(TARGET_SUBDIR)/libgomp && \
53574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53576 "RANLIB=$${RANLIB}" \
53577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53578 distclean) \
53579 || exit 1
53580
53581 @endif target-libgomp
53582
53583 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
53584 maybe-maintainer-clean-target-libgomp:
53585 @if target-libgomp
53586 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
53587
53588 maintainer-clean-target-libgomp:
53589 @: $(MAKE); $(unstage)
53590 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
53591 r=`${PWD_COMMAND}`; export r; \
53592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53593 $(NORMAL_TARGET_EXPORTS) \
53594 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
53595 for flag in $(EXTRA_TARGET_FLAGS); do \
53596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53597 done; \
53598 (cd $(TARGET_SUBDIR)/libgomp && \
53599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53601 "RANLIB=$${RANLIB}" \
53602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53603 maintainer-clean) \
53604 || exit 1
53605
53606 @endif target-libgomp
53607
53608
53609
53610
53611
53612 .PHONY: configure-target-libitm maybe-configure-target-libitm
53613 maybe-configure-target-libitm:
53614 @if gcc-bootstrap
53615 configure-target-libitm: stage_current
53616 @endif gcc-bootstrap
53617 @if target-libitm
53618 maybe-configure-target-libitm: configure-target-libitm
53619 configure-target-libitm:
53620 @: $(MAKE); $(unstage)
53621 @r=`${PWD_COMMAND}`; export r; \
53622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53623 echo "Checking multilib configuration for libitm..."; \
53624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
53626 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
53627 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
53628 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
53629 else \
53630 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
53631 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53632 fi; \
53633 else \
53634 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
53635 fi; \
53636 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
53637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
53638 $(NORMAL_TARGET_EXPORTS) \
53639 echo Configuring in $(TARGET_SUBDIR)/libitm; \
53640 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
53641 case $(srcdir) in \
53642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53643 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
53644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53645 esac; \
53646 module_srcdir=libitm; \
53647 rm -f no-such-file || : ; \
53648 CONFIG_SITE=no-such-file $(SHELL) \
53649 $$s/$$module_srcdir/configure \
53650 --srcdir=$${topdir}/$$module_srcdir \
53651 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53652 --target=${target_alias} \
53653 || exit 1
53654 @endif target-libitm
53655
53656
53657
53658
53659
53660 .PHONY: all-target-libitm maybe-all-target-libitm
53661 maybe-all-target-libitm:
53662 @if gcc-bootstrap
53663 all-target-libitm: stage_current
53664 @endif gcc-bootstrap
53665 @if target-libitm
53666 TARGET-target-libitm=all
53667 maybe-all-target-libitm: all-target-libitm
53668 all-target-libitm: configure-target-libitm
53669 @: $(MAKE); $(unstage)
53670 @r=`${PWD_COMMAND}`; export r; \
53671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53672 $(NORMAL_TARGET_EXPORTS) \
53673 (cd $(TARGET_SUBDIR)/libitm && \
53674 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53675 $(TARGET-target-libitm))
53676 @endif target-libitm
53677
53678
53679
53680
53681
53682 .PHONY: check-target-libitm maybe-check-target-libitm
53683 maybe-check-target-libitm:
53684 @if target-libitm
53685 maybe-check-target-libitm: check-target-libitm
53686
53687 check-target-libitm:
53688 @: $(MAKE); $(unstage)
53689 @r=`${PWD_COMMAND}`; export r; \
53690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53691 $(NORMAL_TARGET_EXPORTS) \
53692 (cd $(TARGET_SUBDIR)/libitm && \
53693 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53694
53695 @endif target-libitm
53696
53697 .PHONY: install-target-libitm maybe-install-target-libitm
53698 maybe-install-target-libitm:
53699 @if target-libitm
53700 maybe-install-target-libitm: install-target-libitm
53701
53702 install-target-libitm: installdirs
53703 @: $(MAKE); $(unstage)
53704 @r=`${PWD_COMMAND}`; export r; \
53705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53706 $(NORMAL_TARGET_EXPORTS) \
53707 (cd $(TARGET_SUBDIR)/libitm && \
53708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53709
53710 @endif target-libitm
53711
53712 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
53713 maybe-install-strip-target-libitm:
53714 @if target-libitm
53715 maybe-install-strip-target-libitm: install-strip-target-libitm
53716
53717 install-strip-target-libitm: installdirs
53718 @: $(MAKE); $(unstage)
53719 @r=`${PWD_COMMAND}`; export r; \
53720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53721 $(NORMAL_TARGET_EXPORTS) \
53722 (cd $(TARGET_SUBDIR)/libitm && \
53723 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53724
53725 @endif target-libitm
53726
53727 # Other targets (info, dvi, pdf, etc.)
53728
53729 .PHONY: maybe-info-target-libitm info-target-libitm
53730 maybe-info-target-libitm:
53731 @if target-libitm
53732 maybe-info-target-libitm: info-target-libitm
53733
53734 info-target-libitm: \
53735 configure-target-libitm
53736 @: $(MAKE); $(unstage)
53737 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53738 r=`${PWD_COMMAND}`; export r; \
53739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53740 $(NORMAL_TARGET_EXPORTS) \
53741 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
53742 for flag in $(EXTRA_TARGET_FLAGS); do \
53743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53744 done; \
53745 (cd $(TARGET_SUBDIR)/libitm && \
53746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53748 "RANLIB=$${RANLIB}" \
53749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53750 info) \
53751 || exit 1
53752
53753 @endif target-libitm
53754
53755 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
53756 maybe-dvi-target-libitm:
53757 @if target-libitm
53758 maybe-dvi-target-libitm: dvi-target-libitm
53759
53760 dvi-target-libitm: \
53761 configure-target-libitm
53762 @: $(MAKE); $(unstage)
53763 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53764 r=`${PWD_COMMAND}`; export r; \
53765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53766 $(NORMAL_TARGET_EXPORTS) \
53767 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
53768 for flag in $(EXTRA_TARGET_FLAGS); do \
53769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53770 done; \
53771 (cd $(TARGET_SUBDIR)/libitm && \
53772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53774 "RANLIB=$${RANLIB}" \
53775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53776 dvi) \
53777 || exit 1
53778
53779 @endif target-libitm
53780
53781 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
53782 maybe-pdf-target-libitm:
53783 @if target-libitm
53784 maybe-pdf-target-libitm: pdf-target-libitm
53785
53786 pdf-target-libitm: \
53787 configure-target-libitm
53788 @: $(MAKE); $(unstage)
53789 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53790 r=`${PWD_COMMAND}`; export r; \
53791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53792 $(NORMAL_TARGET_EXPORTS) \
53793 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
53794 for flag in $(EXTRA_TARGET_FLAGS); do \
53795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53796 done; \
53797 (cd $(TARGET_SUBDIR)/libitm && \
53798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53800 "RANLIB=$${RANLIB}" \
53801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53802 pdf) \
53803 || exit 1
53804
53805 @endif target-libitm
53806
53807 .PHONY: maybe-html-target-libitm html-target-libitm
53808 maybe-html-target-libitm:
53809 @if target-libitm
53810 maybe-html-target-libitm: html-target-libitm
53811
53812 html-target-libitm: \
53813 configure-target-libitm
53814 @: $(MAKE); $(unstage)
53815 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53816 r=`${PWD_COMMAND}`; export r; \
53817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53818 $(NORMAL_TARGET_EXPORTS) \
53819 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
53820 for flag in $(EXTRA_TARGET_FLAGS); do \
53821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53822 done; \
53823 (cd $(TARGET_SUBDIR)/libitm && \
53824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53826 "RANLIB=$${RANLIB}" \
53827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53828 html) \
53829 || exit 1
53830
53831 @endif target-libitm
53832
53833 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
53834 maybe-TAGS-target-libitm:
53835 @if target-libitm
53836 maybe-TAGS-target-libitm: TAGS-target-libitm
53837
53838 TAGS-target-libitm: \
53839 configure-target-libitm
53840 @: $(MAKE); $(unstage)
53841 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53842 r=`${PWD_COMMAND}`; export r; \
53843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53844 $(NORMAL_TARGET_EXPORTS) \
53845 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
53846 for flag in $(EXTRA_TARGET_FLAGS); do \
53847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53848 done; \
53849 (cd $(TARGET_SUBDIR)/libitm && \
53850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53852 "RANLIB=$${RANLIB}" \
53853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53854 TAGS) \
53855 || exit 1
53856
53857 @endif target-libitm
53858
53859 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
53860 maybe-install-info-target-libitm:
53861 @if target-libitm
53862 maybe-install-info-target-libitm: install-info-target-libitm
53863
53864 install-info-target-libitm: \
53865 configure-target-libitm \
53866 info-target-libitm
53867 @: $(MAKE); $(unstage)
53868 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53869 r=`${PWD_COMMAND}`; export r; \
53870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53871 $(NORMAL_TARGET_EXPORTS) \
53872 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
53873 for flag in $(EXTRA_TARGET_FLAGS); do \
53874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53875 done; \
53876 (cd $(TARGET_SUBDIR)/libitm && \
53877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53879 "RANLIB=$${RANLIB}" \
53880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53881 install-info) \
53882 || exit 1
53883
53884 @endif target-libitm
53885
53886 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
53887 maybe-install-pdf-target-libitm:
53888 @if target-libitm
53889 maybe-install-pdf-target-libitm: install-pdf-target-libitm
53890
53891 install-pdf-target-libitm: \
53892 configure-target-libitm \
53893 pdf-target-libitm
53894 @: $(MAKE); $(unstage)
53895 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53896 r=`${PWD_COMMAND}`; export r; \
53897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53898 $(NORMAL_TARGET_EXPORTS) \
53899 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
53900 for flag in $(EXTRA_TARGET_FLAGS); do \
53901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53902 done; \
53903 (cd $(TARGET_SUBDIR)/libitm && \
53904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53906 "RANLIB=$${RANLIB}" \
53907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53908 install-pdf) \
53909 || exit 1
53910
53911 @endif target-libitm
53912
53913 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
53914 maybe-install-html-target-libitm:
53915 @if target-libitm
53916 maybe-install-html-target-libitm: install-html-target-libitm
53917
53918 install-html-target-libitm: \
53919 configure-target-libitm \
53920 html-target-libitm
53921 @: $(MAKE); $(unstage)
53922 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53923 r=`${PWD_COMMAND}`; export r; \
53924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53925 $(NORMAL_TARGET_EXPORTS) \
53926 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
53927 for flag in $(EXTRA_TARGET_FLAGS); do \
53928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53929 done; \
53930 (cd $(TARGET_SUBDIR)/libitm && \
53931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53933 "RANLIB=$${RANLIB}" \
53934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53935 install-html) \
53936 || exit 1
53937
53938 @endif target-libitm
53939
53940 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
53941 maybe-installcheck-target-libitm:
53942 @if target-libitm
53943 maybe-installcheck-target-libitm: installcheck-target-libitm
53944
53945 installcheck-target-libitm: \
53946 configure-target-libitm
53947 @: $(MAKE); $(unstage)
53948 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53949 r=`${PWD_COMMAND}`; export r; \
53950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53951 $(NORMAL_TARGET_EXPORTS) \
53952 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
53953 for flag in $(EXTRA_TARGET_FLAGS); do \
53954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53955 done; \
53956 (cd $(TARGET_SUBDIR)/libitm && \
53957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53959 "RANLIB=$${RANLIB}" \
53960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53961 installcheck) \
53962 || exit 1
53963
53964 @endif target-libitm
53965
53966 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
53967 maybe-mostlyclean-target-libitm:
53968 @if target-libitm
53969 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
53970
53971 mostlyclean-target-libitm:
53972 @: $(MAKE); $(unstage)
53973 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53974 r=`${PWD_COMMAND}`; export r; \
53975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53976 $(NORMAL_TARGET_EXPORTS) \
53977 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
53978 for flag in $(EXTRA_TARGET_FLAGS); do \
53979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53980 done; \
53981 (cd $(TARGET_SUBDIR)/libitm && \
53982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53984 "RANLIB=$${RANLIB}" \
53985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53986 mostlyclean) \
53987 || exit 1
53988
53989 @endif target-libitm
53990
53991 .PHONY: maybe-clean-target-libitm clean-target-libitm
53992 maybe-clean-target-libitm:
53993 @if target-libitm
53994 maybe-clean-target-libitm: clean-target-libitm
53995
53996 clean-target-libitm:
53997 @: $(MAKE); $(unstage)
53998 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
53999 r=`${PWD_COMMAND}`; export r; \
54000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54001 $(NORMAL_TARGET_EXPORTS) \
54002 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
54003 for flag in $(EXTRA_TARGET_FLAGS); do \
54004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54005 done; \
54006 (cd $(TARGET_SUBDIR)/libitm && \
54007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54009 "RANLIB=$${RANLIB}" \
54010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54011 clean) \
54012 || exit 1
54013
54014 @endif target-libitm
54015
54016 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
54017 maybe-distclean-target-libitm:
54018 @if target-libitm
54019 maybe-distclean-target-libitm: distclean-target-libitm
54020
54021 distclean-target-libitm:
54022 @: $(MAKE); $(unstage)
54023 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54024 r=`${PWD_COMMAND}`; export r; \
54025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54026 $(NORMAL_TARGET_EXPORTS) \
54027 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
54028 for flag in $(EXTRA_TARGET_FLAGS); do \
54029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54030 done; \
54031 (cd $(TARGET_SUBDIR)/libitm && \
54032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54034 "RANLIB=$${RANLIB}" \
54035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54036 distclean) \
54037 || exit 1
54038
54039 @endif target-libitm
54040
54041 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
54042 maybe-maintainer-clean-target-libitm:
54043 @if target-libitm
54044 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
54045
54046 maintainer-clean-target-libitm:
54047 @: $(MAKE); $(unstage)
54048 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
54049 r=`${PWD_COMMAND}`; export r; \
54050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54051 $(NORMAL_TARGET_EXPORTS) \
54052 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
54053 for flag in $(EXTRA_TARGET_FLAGS); do \
54054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54055 done; \
54056 (cd $(TARGET_SUBDIR)/libitm && \
54057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54059 "RANLIB=$${RANLIB}" \
54060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54061 maintainer-clean) \
54062 || exit 1
54063
54064 @endif target-libitm
54065
54066
54067
54068
54069
54070 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
54071 maybe-configure-target-libatomic:
54072 @if gcc-bootstrap
54073 configure-target-libatomic: stage_current
54074 @endif gcc-bootstrap
54075 @if target-libatomic
54076 maybe-configure-target-libatomic: configure-target-libatomic
54077 configure-target-libatomic:
54078 @: $(MAKE); $(unstage)
54079 @r=`${PWD_COMMAND}`; export r; \
54080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54081 echo "Checking multilib configuration for libatomic..."; \
54082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
54083 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
54084 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
54085 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
54086 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
54087 else \
54088 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
54089 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
54090 fi; \
54091 else \
54092 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
54093 fi; \
54094 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
54095 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
54096 $(NORMAL_TARGET_EXPORTS) \
54097 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
54098 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
54099 case $(srcdir) in \
54100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54101 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
54102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54103 esac; \
54104 module_srcdir=libatomic; \
54105 rm -f no-such-file || : ; \
54106 CONFIG_SITE=no-such-file $(SHELL) \
54107 $$s/$$module_srcdir/configure \
54108 --srcdir=$${topdir}/$$module_srcdir \
54109 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54110 --target=${target_alias} \
54111 || exit 1
54112 @endif target-libatomic
54113
54114
54115
54116
54117
54118 .PHONY: all-target-libatomic maybe-all-target-libatomic
54119 maybe-all-target-libatomic:
54120 @if gcc-bootstrap
54121 all-target-libatomic: stage_current
54122 @endif gcc-bootstrap
54123 @if target-libatomic
54124 TARGET-target-libatomic=all
54125 maybe-all-target-libatomic: all-target-libatomic
54126 all-target-libatomic: configure-target-libatomic
54127 @: $(MAKE); $(unstage)
54128 @r=`${PWD_COMMAND}`; export r; \
54129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54130 $(NORMAL_TARGET_EXPORTS) \
54131 (cd $(TARGET_SUBDIR)/libatomic && \
54132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54133 $(TARGET-target-libatomic))
54134 @endif target-libatomic
54135
54136
54137
54138
54139
54140 .PHONY: check-target-libatomic maybe-check-target-libatomic
54141 maybe-check-target-libatomic:
54142 @if target-libatomic
54143 maybe-check-target-libatomic: check-target-libatomic
54144
54145 check-target-libatomic:
54146 @: $(MAKE); $(unstage)
54147 @r=`${PWD_COMMAND}`; export r; \
54148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54149 $(NORMAL_TARGET_EXPORTS) \
54150 (cd $(TARGET_SUBDIR)/libatomic && \
54151 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54152
54153 @endif target-libatomic
54154
54155 .PHONY: install-target-libatomic maybe-install-target-libatomic
54156 maybe-install-target-libatomic:
54157 @if target-libatomic
54158 maybe-install-target-libatomic: install-target-libatomic
54159
54160 install-target-libatomic: installdirs
54161 @: $(MAKE); $(unstage)
54162 @r=`${PWD_COMMAND}`; export r; \
54163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54164 $(NORMAL_TARGET_EXPORTS) \
54165 (cd $(TARGET_SUBDIR)/libatomic && \
54166 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54167
54168 @endif target-libatomic
54169
54170 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
54171 maybe-install-strip-target-libatomic:
54172 @if target-libatomic
54173 maybe-install-strip-target-libatomic: install-strip-target-libatomic
54174
54175 install-strip-target-libatomic: installdirs
54176 @: $(MAKE); $(unstage)
54177 @r=`${PWD_COMMAND}`; export r; \
54178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54179 $(NORMAL_TARGET_EXPORTS) \
54180 (cd $(TARGET_SUBDIR)/libatomic && \
54181 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54182
54183 @endif target-libatomic
54184
54185 # Other targets (info, dvi, pdf, etc.)
54186
54187 .PHONY: maybe-info-target-libatomic info-target-libatomic
54188 maybe-info-target-libatomic:
54189 @if target-libatomic
54190 maybe-info-target-libatomic: info-target-libatomic
54191
54192 info-target-libatomic: \
54193 configure-target-libatomic
54194 @: $(MAKE); $(unstage)
54195 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54196 r=`${PWD_COMMAND}`; export r; \
54197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54198 $(NORMAL_TARGET_EXPORTS) \
54199 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
54200 for flag in $(EXTRA_TARGET_FLAGS); do \
54201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54202 done; \
54203 (cd $(TARGET_SUBDIR)/libatomic && \
54204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54206 "RANLIB=$${RANLIB}" \
54207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54208 info) \
54209 || exit 1
54210
54211 @endif target-libatomic
54212
54213 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
54214 maybe-dvi-target-libatomic:
54215 @if target-libatomic
54216 maybe-dvi-target-libatomic: dvi-target-libatomic
54217
54218 dvi-target-libatomic: \
54219 configure-target-libatomic
54220 @: $(MAKE); $(unstage)
54221 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54222 r=`${PWD_COMMAND}`; export r; \
54223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54224 $(NORMAL_TARGET_EXPORTS) \
54225 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
54226 for flag in $(EXTRA_TARGET_FLAGS); do \
54227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54228 done; \
54229 (cd $(TARGET_SUBDIR)/libatomic && \
54230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54232 "RANLIB=$${RANLIB}" \
54233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54234 dvi) \
54235 || exit 1
54236
54237 @endif target-libatomic
54238
54239 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
54240 maybe-pdf-target-libatomic:
54241 @if target-libatomic
54242 maybe-pdf-target-libatomic: pdf-target-libatomic
54243
54244 pdf-target-libatomic: \
54245 configure-target-libatomic
54246 @: $(MAKE); $(unstage)
54247 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54248 r=`${PWD_COMMAND}`; export r; \
54249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54250 $(NORMAL_TARGET_EXPORTS) \
54251 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
54252 for flag in $(EXTRA_TARGET_FLAGS); do \
54253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54254 done; \
54255 (cd $(TARGET_SUBDIR)/libatomic && \
54256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54258 "RANLIB=$${RANLIB}" \
54259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54260 pdf) \
54261 || exit 1
54262
54263 @endif target-libatomic
54264
54265 .PHONY: maybe-html-target-libatomic html-target-libatomic
54266 maybe-html-target-libatomic:
54267 @if target-libatomic
54268 maybe-html-target-libatomic: html-target-libatomic
54269
54270 html-target-libatomic: \
54271 configure-target-libatomic
54272 @: $(MAKE); $(unstage)
54273 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54274 r=`${PWD_COMMAND}`; export r; \
54275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54276 $(NORMAL_TARGET_EXPORTS) \
54277 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
54278 for flag in $(EXTRA_TARGET_FLAGS); do \
54279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54280 done; \
54281 (cd $(TARGET_SUBDIR)/libatomic && \
54282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54284 "RANLIB=$${RANLIB}" \
54285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54286 html) \
54287 || exit 1
54288
54289 @endif target-libatomic
54290
54291 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
54292 maybe-TAGS-target-libatomic:
54293 @if target-libatomic
54294 maybe-TAGS-target-libatomic: TAGS-target-libatomic
54295
54296 TAGS-target-libatomic: \
54297 configure-target-libatomic
54298 @: $(MAKE); $(unstage)
54299 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54300 r=`${PWD_COMMAND}`; export r; \
54301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54302 $(NORMAL_TARGET_EXPORTS) \
54303 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
54304 for flag in $(EXTRA_TARGET_FLAGS); do \
54305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54306 done; \
54307 (cd $(TARGET_SUBDIR)/libatomic && \
54308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54310 "RANLIB=$${RANLIB}" \
54311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54312 TAGS) \
54313 || exit 1
54314
54315 @endif target-libatomic
54316
54317 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
54318 maybe-install-info-target-libatomic:
54319 @if target-libatomic
54320 maybe-install-info-target-libatomic: install-info-target-libatomic
54321
54322 install-info-target-libatomic: \
54323 configure-target-libatomic \
54324 info-target-libatomic
54325 @: $(MAKE); $(unstage)
54326 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54327 r=`${PWD_COMMAND}`; export r; \
54328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54329 $(NORMAL_TARGET_EXPORTS) \
54330 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
54331 for flag in $(EXTRA_TARGET_FLAGS); do \
54332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54333 done; \
54334 (cd $(TARGET_SUBDIR)/libatomic && \
54335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54337 "RANLIB=$${RANLIB}" \
54338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54339 install-info) \
54340 || exit 1
54341
54342 @endif target-libatomic
54343
54344 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
54345 maybe-install-pdf-target-libatomic:
54346 @if target-libatomic
54347 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
54348
54349 install-pdf-target-libatomic: \
54350 configure-target-libatomic \
54351 pdf-target-libatomic
54352 @: $(MAKE); $(unstage)
54353 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54354 r=`${PWD_COMMAND}`; export r; \
54355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54356 $(NORMAL_TARGET_EXPORTS) \
54357 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
54358 for flag in $(EXTRA_TARGET_FLAGS); do \
54359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54360 done; \
54361 (cd $(TARGET_SUBDIR)/libatomic && \
54362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54364 "RANLIB=$${RANLIB}" \
54365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54366 install-pdf) \
54367 || exit 1
54368
54369 @endif target-libatomic
54370
54371 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
54372 maybe-install-html-target-libatomic:
54373 @if target-libatomic
54374 maybe-install-html-target-libatomic: install-html-target-libatomic
54375
54376 install-html-target-libatomic: \
54377 configure-target-libatomic \
54378 html-target-libatomic
54379 @: $(MAKE); $(unstage)
54380 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54381 r=`${PWD_COMMAND}`; export r; \
54382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54383 $(NORMAL_TARGET_EXPORTS) \
54384 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
54385 for flag in $(EXTRA_TARGET_FLAGS); do \
54386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54387 done; \
54388 (cd $(TARGET_SUBDIR)/libatomic && \
54389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54391 "RANLIB=$${RANLIB}" \
54392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54393 install-html) \
54394 || exit 1
54395
54396 @endif target-libatomic
54397
54398 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
54399 maybe-installcheck-target-libatomic:
54400 @if target-libatomic
54401 maybe-installcheck-target-libatomic: installcheck-target-libatomic
54402
54403 installcheck-target-libatomic: \
54404 configure-target-libatomic
54405 @: $(MAKE); $(unstage)
54406 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54407 r=`${PWD_COMMAND}`; export r; \
54408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54409 $(NORMAL_TARGET_EXPORTS) \
54410 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
54411 for flag in $(EXTRA_TARGET_FLAGS); do \
54412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54413 done; \
54414 (cd $(TARGET_SUBDIR)/libatomic && \
54415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54417 "RANLIB=$${RANLIB}" \
54418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54419 installcheck) \
54420 || exit 1
54421
54422 @endif target-libatomic
54423
54424 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
54425 maybe-mostlyclean-target-libatomic:
54426 @if target-libatomic
54427 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
54428
54429 mostlyclean-target-libatomic:
54430 @: $(MAKE); $(unstage)
54431 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54432 r=`${PWD_COMMAND}`; export r; \
54433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54434 $(NORMAL_TARGET_EXPORTS) \
54435 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
54436 for flag in $(EXTRA_TARGET_FLAGS); do \
54437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54438 done; \
54439 (cd $(TARGET_SUBDIR)/libatomic && \
54440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54442 "RANLIB=$${RANLIB}" \
54443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54444 mostlyclean) \
54445 || exit 1
54446
54447 @endif target-libatomic
54448
54449 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
54450 maybe-clean-target-libatomic:
54451 @if target-libatomic
54452 maybe-clean-target-libatomic: clean-target-libatomic
54453
54454 clean-target-libatomic:
54455 @: $(MAKE); $(unstage)
54456 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54457 r=`${PWD_COMMAND}`; export r; \
54458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54459 $(NORMAL_TARGET_EXPORTS) \
54460 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
54461 for flag in $(EXTRA_TARGET_FLAGS); do \
54462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54463 done; \
54464 (cd $(TARGET_SUBDIR)/libatomic && \
54465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54467 "RANLIB=$${RANLIB}" \
54468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54469 clean) \
54470 || exit 1
54471
54472 @endif target-libatomic
54473
54474 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
54475 maybe-distclean-target-libatomic:
54476 @if target-libatomic
54477 maybe-distclean-target-libatomic: distclean-target-libatomic
54478
54479 distclean-target-libatomic:
54480 @: $(MAKE); $(unstage)
54481 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54482 r=`${PWD_COMMAND}`; export r; \
54483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54484 $(NORMAL_TARGET_EXPORTS) \
54485 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
54486 for flag in $(EXTRA_TARGET_FLAGS); do \
54487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54488 done; \
54489 (cd $(TARGET_SUBDIR)/libatomic && \
54490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54492 "RANLIB=$${RANLIB}" \
54493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54494 distclean) \
54495 || exit 1
54496
54497 @endif target-libatomic
54498
54499 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
54500 maybe-maintainer-clean-target-libatomic:
54501 @if target-libatomic
54502 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
54503
54504 maintainer-clean-target-libatomic:
54505 @: $(MAKE); $(unstage)
54506 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
54507 r=`${PWD_COMMAND}`; export r; \
54508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54509 $(NORMAL_TARGET_EXPORTS) \
54510 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
54511 for flag in $(EXTRA_TARGET_FLAGS); do \
54512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54513 done; \
54514 (cd $(TARGET_SUBDIR)/libatomic && \
54515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54517 "RANLIB=$${RANLIB}" \
54518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54519 maintainer-clean) \
54520 || exit 1
54521
54522 @endif target-libatomic
54523
54524
54525
54526 @if target-libgomp
54527 .PHONY: check-target-libgomp-c++
54528 check-target-libgomp-c++:
54529 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
54530
54531 .PHONY: check-target-libgomp-fortran
54532 check-target-libgomp-fortran:
54533 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
54534
54535 @endif target-libgomp
54536
54537 @if target-libitm
54538 .PHONY: check-target-libitm-c++
54539 check-target-libitm-c++:
54540 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
54541
54542 @endif target-libitm
54543
54544 # ----------
54545 # GCC module
54546 # ----------
54547
54548 @if gcc-no-bootstrap
54549 .PHONY: cross
54550 cross: all-build all-gas all-ld
54551 @r=`${PWD_COMMAND}`; export r; \
54552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54553 $(HOST_EXPORTS) \
54554 echo "Building the C and C++ compiler"; \
54555 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
54556 @r=`${PWD_COMMAND}`; export r; \
54557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54558 echo "Building runtime libraries"; \
54559 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
54560 @endif gcc-no-bootstrap
54561
54562 @if gcc
54563
54564 .PHONY: check-gcc-c check-c
54565 check-gcc-c:
54566 r=`${PWD_COMMAND}`; export r; \
54567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54568 $(HOST_EXPORTS) \
54569 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
54570 check-c: check-gcc-c
54571
54572 .PHONY: check-gcc-c++ check-c++
54573 check-gcc-c++:
54574 r=`${PWD_COMMAND}`; export r; \
54575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54576 $(HOST_EXPORTS) \
54577 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
54578 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
54579
54580 .PHONY: check-gcc-fortran check-fortran
54581 check-gcc-fortran:
54582 r=`${PWD_COMMAND}`; export r; \
54583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54584 $(HOST_EXPORTS) \
54585 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
54586 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
54587
54588 .PHONY: check-gcc-ada check-ada
54589 check-gcc-ada:
54590 r=`${PWD_COMMAND}`; export r; \
54591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54592 $(HOST_EXPORTS) \
54593 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
54594 check-ada: check-gcc-ada check-target-libada
54595
54596 .PHONY: check-gcc-objc check-objc
54597 check-gcc-objc:
54598 r=`${PWD_COMMAND}`; export r; \
54599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54600 $(HOST_EXPORTS) \
54601 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
54602 check-objc: check-gcc-objc check-target-libobjc
54603
54604 .PHONY: check-gcc-obj-c++ check-obj-c++
54605 check-gcc-obj-c++:
54606 r=`${PWD_COMMAND}`; export r; \
54607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54608 $(HOST_EXPORTS) \
54609 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
54610 check-obj-c++: check-gcc-obj-c++
54611
54612 .PHONY: check-gcc-go check-go
54613 check-gcc-go:
54614 r=`${PWD_COMMAND}`; export r; \
54615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54616 $(HOST_EXPORTS) \
54617 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
54618 check-go: check-gcc-go check-target-libgo check-gotools
54619
54620 .PHONY: check-gcc-brig check-brig
54621 check-gcc-brig:
54622 r=`${PWD_COMMAND}`; export r; \
54623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54624 $(HOST_EXPORTS) \
54625 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
54626 check-brig: check-gcc-brig check-target-libhsail-rt
54627
54628 .PHONY: check-gcc-d check-d
54629 check-gcc-d:
54630 r=`${PWD_COMMAND}`; export r; \
54631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54632 $(HOST_EXPORTS) \
54633 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
54634 check-d: check-gcc-d check-target-libphobos
54635
54636
54637 # The gcc part of install-no-fixedincludes, which relies on an intimate
54638 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
54639 .PHONY: gcc-install-no-fixedincludes
54640 gcc-install-no-fixedincludes:
54641 @if [ -f ./gcc/Makefile ]; then \
54642 r=`${PWD_COMMAND}`; export r; \
54643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54644 $(HOST_EXPORTS) \
54645 (cd ./gcc \
54646 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
54647 else true; fi
54648 @endif gcc
54649
54650 # ---------------------
54651 # GCC bootstrap support
54652 # ---------------------
54653
54654 # We track the current stage (the one in 'gcc') in the stage_current file.
54655 # stage_last instead tracks the stage that was built last. These targets
54656 # are dummy when toplevel bootstrap is not active.
54657
54658 # While making host and target tools, symlinks to the final stage must be
54659 # there, so $(unstage) should be run at various points. To avoid excessive
54660 # recursive invocations of make, we "inline" them using a variable. These
54661 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
54662 # to avoid warnings from the GNU Make job server.
54663
54664 unstage = :
54665 stage = :
54666 current_stage = ""
54667
54668 @if gcc-bootstrap
54669 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
54670 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
54671 current_stage = "`cat stage_current 2> /dev/null`"
54672 @endif gcc-bootstrap
54673
54674 .PHONY: unstage stage
54675 unstage:
54676 @: $(MAKE); $(unstage)
54677 stage:
54678 @: $(MAKE); $(stage)
54679
54680 # Disable commands for lean bootstrap.
54681 LEAN = false
54682
54683 # We name the build directories for the various stages "stage1-gcc",
54684 # "stage2-gcc","stage3-gcc", etc.
54685
54686 # Since the 'compare' process will fail (on debugging information) if any
54687 # directory names are different, we need to link the gcc directory for
54688 # the previous stage to a constant name ('prev-gcc'), and to make the name of
54689 # the build directories constant as well. For the latter, we use naked names
54690 # like 'gcc', because the scripts in that directory assume it. We use
54691 # mv on platforms where symlinks to directories do not work or are not
54692 # reliable.
54693
54694 # 'touch' doesn't work right on some platforms.
54695 STAMP = echo timestamp >
54696
54697 # We only want to compare .o files, so set this!
54698 objext = .o
54699
54700
54701 .PHONY: stage1-start stage1-end
54702
54703 stage1-start::
54704 @: $(MAKE); $(stage); \
54705 echo stage1 > stage_current; \
54706 echo stage1 > stage_last; \
54707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54708 @if bfd
54709 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
54710 mkdir stage1-bfd; \
54711 mv stage1-bfd bfd
54712 @endif bfd
54713 @if opcodes
54714 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
54715 mkdir stage1-opcodes; \
54716 mv stage1-opcodes opcodes
54717 @endif opcodes
54718 @if binutils
54719 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
54720 mkdir stage1-binutils; \
54721 mv stage1-binutils binutils
54722 @endif binutils
54723 @if fixincludes
54724 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
54725 mkdir stage1-fixincludes; \
54726 mv stage1-fixincludes fixincludes
54727 @endif fixincludes
54728 @if gas
54729 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
54730 mkdir stage1-gas; \
54731 mv stage1-gas gas
54732 @endif gas
54733 @if gcc
54734 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
54735 mkdir stage1-gcc; \
54736 mv stage1-gcc gcc
54737 @endif gcc
54738 @if gmp
54739 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
54740 mkdir stage1-gmp; \
54741 mv stage1-gmp gmp
54742 @endif gmp
54743 @if mpfr
54744 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
54745 mkdir stage1-mpfr; \
54746 mv stage1-mpfr mpfr
54747 @endif mpfr
54748 @if mpc
54749 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
54750 mkdir stage1-mpc; \
54751 mv stage1-mpc mpc
54752 @endif mpc
54753 @if isl
54754 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
54755 mkdir stage1-isl; \
54756 mv stage1-isl isl
54757 @endif isl
54758 @if libelf
54759 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
54760 mkdir stage1-libelf; \
54761 mv stage1-libelf libelf
54762 @endif libelf
54763 @if gold
54764 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
54765 mkdir stage1-gold; \
54766 mv stage1-gold gold
54767 @endif gold
54768 @if intl
54769 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
54770 mkdir stage1-intl; \
54771 mv stage1-intl intl
54772 @endif intl
54773 @if ld
54774 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
54775 mkdir stage1-ld; \
54776 mv stage1-ld ld
54777 @endif ld
54778 @if libbacktrace
54779 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
54780 mkdir stage1-libbacktrace; \
54781 mv stage1-libbacktrace libbacktrace
54782 @endif libbacktrace
54783 @if libcpp
54784 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
54785 mkdir stage1-libcpp; \
54786 mv stage1-libcpp libcpp
54787 @endif libcpp
54788 @if libdecnumber
54789 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
54790 mkdir stage1-libdecnumber; \
54791 mv stage1-libdecnumber libdecnumber
54792 @endif libdecnumber
54793 @if libiberty
54794 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
54795 mkdir stage1-libiberty; \
54796 mv stage1-libiberty libiberty
54797 @endif libiberty
54798 @if libiberty-linker-plugin
54799 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
54800 mkdir stage1-libiberty-linker-plugin; \
54801 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
54802 @endif libiberty-linker-plugin
54803 @if libiconv
54804 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
54805 mkdir stage1-libiconv; \
54806 mv stage1-libiconv libiconv
54807 @endif libiconv
54808 @if zlib
54809 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
54810 mkdir stage1-zlib; \
54811 mv stage1-zlib zlib
54812 @endif zlib
54813 @if lto-plugin
54814 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
54815 mkdir stage1-lto-plugin; \
54816 mv stage1-lto-plugin lto-plugin
54817 @endif lto-plugin
54818 @if libctf
54819 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
54820 mkdir stage1-libctf; \
54821 mv stage1-libctf libctf
54822 @endif libctf
54823 @[ -d stage1-$(TARGET_SUBDIR) ] || \
54824 mkdir stage1-$(TARGET_SUBDIR); \
54825 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
54826
54827 stage1-end::
54828 @if bfd
54829 @if test -d $(HOST_SUBDIR)/bfd; then \
54830 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
54831 fi
54832 @endif bfd
54833 @if opcodes
54834 @if test -d $(HOST_SUBDIR)/opcodes; then \
54835 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
54836 fi
54837 @endif opcodes
54838 @if binutils
54839 @if test -d $(HOST_SUBDIR)/binutils; then \
54840 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
54841 fi
54842 @endif binutils
54843 @if fixincludes
54844 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54845 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
54846 fi
54847 @endif fixincludes
54848 @if gas
54849 @if test -d $(HOST_SUBDIR)/gas; then \
54850 cd $(HOST_SUBDIR); mv gas stage1-gas; \
54851 fi
54852 @endif gas
54853 @if gcc
54854 @if test -d $(HOST_SUBDIR)/gcc; then \
54855 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
54856 fi
54857 @endif gcc
54858 @if gmp
54859 @if test -d $(HOST_SUBDIR)/gmp; then \
54860 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
54861 fi
54862 @endif gmp
54863 @if mpfr
54864 @if test -d $(HOST_SUBDIR)/mpfr; then \
54865 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
54866 fi
54867 @endif mpfr
54868 @if mpc
54869 @if test -d $(HOST_SUBDIR)/mpc; then \
54870 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
54871 fi
54872 @endif mpc
54873 @if isl
54874 @if test -d $(HOST_SUBDIR)/isl; then \
54875 cd $(HOST_SUBDIR); mv isl stage1-isl; \
54876 fi
54877 @endif isl
54878 @if libelf
54879 @if test -d $(HOST_SUBDIR)/libelf; then \
54880 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
54881 fi
54882 @endif libelf
54883 @if gold
54884 @if test -d $(HOST_SUBDIR)/gold; then \
54885 cd $(HOST_SUBDIR); mv gold stage1-gold; \
54886 fi
54887 @endif gold
54888 @if intl
54889 @if test -d $(HOST_SUBDIR)/intl; then \
54890 cd $(HOST_SUBDIR); mv intl stage1-intl; \
54891 fi
54892 @endif intl
54893 @if ld
54894 @if test -d $(HOST_SUBDIR)/ld; then \
54895 cd $(HOST_SUBDIR); mv ld stage1-ld; \
54896 fi
54897 @endif ld
54898 @if libbacktrace
54899 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54900 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
54901 fi
54902 @endif libbacktrace
54903 @if libcpp
54904 @if test -d $(HOST_SUBDIR)/libcpp; then \
54905 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
54906 fi
54907 @endif libcpp
54908 @if libdecnumber
54909 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54910 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
54911 fi
54912 @endif libdecnumber
54913 @if libiberty
54914 @if test -d $(HOST_SUBDIR)/libiberty; then \
54915 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
54916 fi
54917 @endif libiberty
54918 @if libiberty-linker-plugin
54919 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54920 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
54921 fi
54922 @endif libiberty-linker-plugin
54923 @if libiconv
54924 @if test -d $(HOST_SUBDIR)/libiconv; then \
54925 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
54926 fi
54927 @endif libiconv
54928 @if zlib
54929 @if test -d $(HOST_SUBDIR)/zlib; then \
54930 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
54931 fi
54932 @endif zlib
54933 @if lto-plugin
54934 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54935 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
54936 fi
54937 @endif lto-plugin
54938 @if libctf
54939 @if test -d $(HOST_SUBDIR)/libctf; then \
54940 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
54941 fi
54942 @endif libctf
54943 @if test -d $(TARGET_SUBDIR); then \
54944 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
54945 fi
54946 rm -f stage_current
54947
54948 # Bubble a bug fix through all the stages up to stage 1. They are
54949 # remade, but not reconfigured. The next stage (if any) will not be
54950 # reconfigured either.
54951 .PHONY: stage1-bubble
54952 stage1-bubble::
54953 @r=`${PWD_COMMAND}`; export r; \
54954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54955 if test -f stage1-lean ; then \
54956 echo Skipping rebuild of stage1; \
54957 else \
54958 $(MAKE) stage1-start; \
54959 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
54960 fi
54961
54962 .PHONY: all-stage1 clean-stage1
54963 do-clean: clean-stage1
54964
54965 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54966 # only possibility, but now it conflicts with no-bootstrap rules
54967 @if gcc-bootstrap
54968
54969
54970
54971
54972 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54973
54974 .PHONY: distclean-stage1
54975 distclean-stage1::
54976 @: $(MAKE); $(stage)
54977 @test "`cat stage_last`" != stage1 || rm -f stage_last
54978 rm -rf stage1-*
54979
54980
54981 @endif gcc-bootstrap
54982
54983
54984 .PHONY: stage2-start stage2-end
54985
54986 stage2-start::
54987 @: $(MAKE); $(stage); \
54988 echo stage2 > stage_current; \
54989 echo stage2 > stage_last; \
54990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54991 @if bfd
54992 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
54993 mkdir stage2-bfd; \
54994 mv stage2-bfd bfd; \
54995 mv stage1-bfd prev-bfd || test -f stage1-lean
54996 @endif bfd
54997 @if opcodes
54998 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
54999 mkdir stage2-opcodes; \
55000 mv stage2-opcodes opcodes; \
55001 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55002 @endif opcodes
55003 @if binutils
55004 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
55005 mkdir stage2-binutils; \
55006 mv stage2-binutils binutils; \
55007 mv stage1-binutils prev-binutils || test -f stage1-lean
55008 @endif binutils
55009 @if fixincludes
55010 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
55011 mkdir stage2-fixincludes; \
55012 mv stage2-fixincludes fixincludes; \
55013 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55014 @endif fixincludes
55015 @if gas
55016 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
55017 mkdir stage2-gas; \
55018 mv stage2-gas gas; \
55019 mv stage1-gas prev-gas || test -f stage1-lean
55020 @endif gas
55021 @if gcc
55022 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
55023 mkdir stage2-gcc; \
55024 mv stage2-gcc gcc; \
55025 mv stage1-gcc prev-gcc || test -f stage1-lean
55026 @endif gcc
55027 @if gmp
55028 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
55029 mkdir stage2-gmp; \
55030 mv stage2-gmp gmp; \
55031 mv stage1-gmp prev-gmp || test -f stage1-lean
55032 @endif gmp
55033 @if mpfr
55034 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
55035 mkdir stage2-mpfr; \
55036 mv stage2-mpfr mpfr; \
55037 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55038 @endif mpfr
55039 @if mpc
55040 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
55041 mkdir stage2-mpc; \
55042 mv stage2-mpc mpc; \
55043 mv stage1-mpc prev-mpc || test -f stage1-lean
55044 @endif mpc
55045 @if isl
55046 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
55047 mkdir stage2-isl; \
55048 mv stage2-isl isl; \
55049 mv stage1-isl prev-isl || test -f stage1-lean
55050 @endif isl
55051 @if libelf
55052 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
55053 mkdir stage2-libelf; \
55054 mv stage2-libelf libelf; \
55055 mv stage1-libelf prev-libelf || test -f stage1-lean
55056 @endif libelf
55057 @if gold
55058 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
55059 mkdir stage2-gold; \
55060 mv stage2-gold gold; \
55061 mv stage1-gold prev-gold || test -f stage1-lean
55062 @endif gold
55063 @if intl
55064 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
55065 mkdir stage2-intl; \
55066 mv stage2-intl intl; \
55067 mv stage1-intl prev-intl || test -f stage1-lean
55068 @endif intl
55069 @if ld
55070 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
55071 mkdir stage2-ld; \
55072 mv stage2-ld ld; \
55073 mv stage1-ld prev-ld || test -f stage1-lean
55074 @endif ld
55075 @if libbacktrace
55076 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
55077 mkdir stage2-libbacktrace; \
55078 mv stage2-libbacktrace libbacktrace; \
55079 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55080 @endif libbacktrace
55081 @if libcpp
55082 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
55083 mkdir stage2-libcpp; \
55084 mv stage2-libcpp libcpp; \
55085 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55086 @endif libcpp
55087 @if libdecnumber
55088 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
55089 mkdir stage2-libdecnumber; \
55090 mv stage2-libdecnumber libdecnumber; \
55091 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55092 @endif libdecnumber
55093 @if libiberty
55094 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
55095 mkdir stage2-libiberty; \
55096 mv stage2-libiberty libiberty; \
55097 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55098 @endif libiberty
55099 @if libiberty-linker-plugin
55100 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
55101 mkdir stage2-libiberty-linker-plugin; \
55102 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
55103 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55104 @endif libiberty-linker-plugin
55105 @if libiconv
55106 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
55107 mkdir stage2-libiconv; \
55108 mv stage2-libiconv libiconv; \
55109 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55110 @endif libiconv
55111 @if zlib
55112 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
55113 mkdir stage2-zlib; \
55114 mv stage2-zlib zlib; \
55115 mv stage1-zlib prev-zlib || test -f stage1-lean
55116 @endif zlib
55117 @if lto-plugin
55118 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
55119 mkdir stage2-lto-plugin; \
55120 mv stage2-lto-plugin lto-plugin; \
55121 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55122 @endif lto-plugin
55123 @if libctf
55124 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
55125 mkdir stage2-libctf; \
55126 mv stage2-libctf libctf; \
55127 mv stage1-libctf prev-libctf || test -f stage1-lean
55128 @endif libctf
55129 @[ -d stage2-$(TARGET_SUBDIR) ] || \
55130 mkdir stage2-$(TARGET_SUBDIR); \
55131 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55132 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55133
55134 stage2-end::
55135 @if bfd
55136 @if test -d $(HOST_SUBDIR)/bfd; then \
55137 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
55138 mv prev-bfd stage1-bfd; : ; \
55139 fi
55140 @endif bfd
55141 @if opcodes
55142 @if test -d $(HOST_SUBDIR)/opcodes; then \
55143 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
55144 mv prev-opcodes stage1-opcodes; : ; \
55145 fi
55146 @endif opcodes
55147 @if binutils
55148 @if test -d $(HOST_SUBDIR)/binutils; then \
55149 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
55150 mv prev-binutils stage1-binutils; : ; \
55151 fi
55152 @endif binutils
55153 @if fixincludes
55154 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55155 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
55156 mv prev-fixincludes stage1-fixincludes; : ; \
55157 fi
55158 @endif fixincludes
55159 @if gas
55160 @if test -d $(HOST_SUBDIR)/gas; then \
55161 cd $(HOST_SUBDIR); mv gas stage2-gas; \
55162 mv prev-gas stage1-gas; : ; \
55163 fi
55164 @endif gas
55165 @if gcc
55166 @if test -d $(HOST_SUBDIR)/gcc; then \
55167 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
55168 mv prev-gcc stage1-gcc; : ; \
55169 fi
55170 @endif gcc
55171 @if gmp
55172 @if test -d $(HOST_SUBDIR)/gmp; then \
55173 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
55174 mv prev-gmp stage1-gmp; : ; \
55175 fi
55176 @endif gmp
55177 @if mpfr
55178 @if test -d $(HOST_SUBDIR)/mpfr; then \
55179 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
55180 mv prev-mpfr stage1-mpfr; : ; \
55181 fi
55182 @endif mpfr
55183 @if mpc
55184 @if test -d $(HOST_SUBDIR)/mpc; then \
55185 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
55186 mv prev-mpc stage1-mpc; : ; \
55187 fi
55188 @endif mpc
55189 @if isl
55190 @if test -d $(HOST_SUBDIR)/isl; then \
55191 cd $(HOST_SUBDIR); mv isl stage2-isl; \
55192 mv prev-isl stage1-isl; : ; \
55193 fi
55194 @endif isl
55195 @if libelf
55196 @if test -d $(HOST_SUBDIR)/libelf; then \
55197 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
55198 mv prev-libelf stage1-libelf; : ; \
55199 fi
55200 @endif libelf
55201 @if gold
55202 @if test -d $(HOST_SUBDIR)/gold; then \
55203 cd $(HOST_SUBDIR); mv gold stage2-gold; \
55204 mv prev-gold stage1-gold; : ; \
55205 fi
55206 @endif gold
55207 @if intl
55208 @if test -d $(HOST_SUBDIR)/intl; then \
55209 cd $(HOST_SUBDIR); mv intl stage2-intl; \
55210 mv prev-intl stage1-intl; : ; \
55211 fi
55212 @endif intl
55213 @if ld
55214 @if test -d $(HOST_SUBDIR)/ld; then \
55215 cd $(HOST_SUBDIR); mv ld stage2-ld; \
55216 mv prev-ld stage1-ld; : ; \
55217 fi
55218 @endif ld
55219 @if libbacktrace
55220 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55221 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
55222 mv prev-libbacktrace stage1-libbacktrace; : ; \
55223 fi
55224 @endif libbacktrace
55225 @if libcpp
55226 @if test -d $(HOST_SUBDIR)/libcpp; then \
55227 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
55228 mv prev-libcpp stage1-libcpp; : ; \
55229 fi
55230 @endif libcpp
55231 @if libdecnumber
55232 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55233 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
55234 mv prev-libdecnumber stage1-libdecnumber; : ; \
55235 fi
55236 @endif libdecnumber
55237 @if libiberty
55238 @if test -d $(HOST_SUBDIR)/libiberty; then \
55239 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
55240 mv prev-libiberty stage1-libiberty; : ; \
55241 fi
55242 @endif libiberty
55243 @if libiberty-linker-plugin
55244 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55245 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
55246 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55247 fi
55248 @endif libiberty-linker-plugin
55249 @if libiconv
55250 @if test -d $(HOST_SUBDIR)/libiconv; then \
55251 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
55252 mv prev-libiconv stage1-libiconv; : ; \
55253 fi
55254 @endif libiconv
55255 @if zlib
55256 @if test -d $(HOST_SUBDIR)/zlib; then \
55257 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
55258 mv prev-zlib stage1-zlib; : ; \
55259 fi
55260 @endif zlib
55261 @if lto-plugin
55262 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55263 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
55264 mv prev-lto-plugin stage1-lto-plugin; : ; \
55265 fi
55266 @endif lto-plugin
55267 @if libctf
55268 @if test -d $(HOST_SUBDIR)/libctf; then \
55269 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
55270 mv prev-libctf stage1-libctf; : ; \
55271 fi
55272 @endif libctf
55273 @if test -d $(TARGET_SUBDIR); then \
55274 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
55275 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55276 fi
55277 rm -f stage_current
55278
55279 # Bubble a bug fix through all the stages up to stage 2. They are
55280 # remade, but not reconfigured. The next stage (if any) will not be
55281 # reconfigured either.
55282 .PHONY: stage2-bubble
55283 stage2-bubble:: stage1-bubble
55284 @r=`${PWD_COMMAND}`; export r; \
55285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55286 if test -f stage2-lean || test -f stage1-lean ; then \
55287 echo Skipping rebuild of stage2; \
55288 else \
55289 $(MAKE) stage2-start; \
55290 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
55291 fi
55292
55293 .PHONY: all-stage2 clean-stage2
55294 do-clean: clean-stage2
55295
55296 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55297 # only possibility, but now it conflicts with no-bootstrap rules
55298 @if gcc-bootstrap
55299
55300
55301
55302 .PHONY: bootstrap2 bootstrap2-lean
55303 bootstrap2:
55304 echo stage2 > stage_final
55305 @r=`${PWD_COMMAND}`; export r; \
55306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55307 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
55308 @: $(MAKE); $(unstage)
55309 @r=`${PWD_COMMAND}`; export r; \
55310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55311 TFLAGS="$(STAGE2_TFLAGS)"; \
55312 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55313
55314 bootstrap2-lean:
55315 echo stage2 > stage_final
55316 @r=`${PWD_COMMAND}`; export r; \
55317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
55319 @: $(MAKE); $(unstage)
55320 @r=`${PWD_COMMAND}`; export r; \
55321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55322 TFLAGS="$(STAGE2_TFLAGS)"; \
55323 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55324
55325
55326 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55327 distclean-stage1:: distclean-stage2
55328 .PHONY: distclean-stage2
55329 distclean-stage2::
55330 @: $(MAKE); $(stage)
55331 @test "`cat stage_last`" != stage2 || rm -f stage_last
55332 rm -rf stage2-*
55333
55334
55335 @endif gcc-bootstrap
55336
55337
55338 .PHONY: stage3-start stage3-end
55339
55340 stage3-start::
55341 @: $(MAKE); $(stage); \
55342 echo stage3 > stage_current; \
55343 echo stage3 > stage_last; \
55344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55345 @if bfd
55346 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
55347 mkdir stage3-bfd; \
55348 mv stage3-bfd bfd; \
55349 mv stage2-bfd prev-bfd || test -f stage2-lean
55350 @endif bfd
55351 @if opcodes
55352 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
55353 mkdir stage3-opcodes; \
55354 mv stage3-opcodes opcodes; \
55355 mv stage2-opcodes prev-opcodes || test -f stage2-lean
55356 @endif opcodes
55357 @if binutils
55358 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
55359 mkdir stage3-binutils; \
55360 mv stage3-binutils binutils; \
55361 mv stage2-binutils prev-binutils || test -f stage2-lean
55362 @endif binutils
55363 @if fixincludes
55364 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
55365 mkdir stage3-fixincludes; \
55366 mv stage3-fixincludes fixincludes; \
55367 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
55368 @endif fixincludes
55369 @if gas
55370 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
55371 mkdir stage3-gas; \
55372 mv stage3-gas gas; \
55373 mv stage2-gas prev-gas || test -f stage2-lean
55374 @endif gas
55375 @if gcc
55376 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
55377 mkdir stage3-gcc; \
55378 mv stage3-gcc gcc; \
55379 mv stage2-gcc prev-gcc || test -f stage2-lean
55380 @endif gcc
55381 @if gmp
55382 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
55383 mkdir stage3-gmp; \
55384 mv stage3-gmp gmp; \
55385 mv stage2-gmp prev-gmp || test -f stage2-lean
55386 @endif gmp
55387 @if mpfr
55388 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
55389 mkdir stage3-mpfr; \
55390 mv stage3-mpfr mpfr; \
55391 mv stage2-mpfr prev-mpfr || test -f stage2-lean
55392 @endif mpfr
55393 @if mpc
55394 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
55395 mkdir stage3-mpc; \
55396 mv stage3-mpc mpc; \
55397 mv stage2-mpc prev-mpc || test -f stage2-lean
55398 @endif mpc
55399 @if isl
55400 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
55401 mkdir stage3-isl; \
55402 mv stage3-isl isl; \
55403 mv stage2-isl prev-isl || test -f stage2-lean
55404 @endif isl
55405 @if libelf
55406 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
55407 mkdir stage3-libelf; \
55408 mv stage3-libelf libelf; \
55409 mv stage2-libelf prev-libelf || test -f stage2-lean
55410 @endif libelf
55411 @if gold
55412 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
55413 mkdir stage3-gold; \
55414 mv stage3-gold gold; \
55415 mv stage2-gold prev-gold || test -f stage2-lean
55416 @endif gold
55417 @if intl
55418 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
55419 mkdir stage3-intl; \
55420 mv stage3-intl intl; \
55421 mv stage2-intl prev-intl || test -f stage2-lean
55422 @endif intl
55423 @if ld
55424 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
55425 mkdir stage3-ld; \
55426 mv stage3-ld ld; \
55427 mv stage2-ld prev-ld || test -f stage2-lean
55428 @endif ld
55429 @if libbacktrace
55430 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
55431 mkdir stage3-libbacktrace; \
55432 mv stage3-libbacktrace libbacktrace; \
55433 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
55434 @endif libbacktrace
55435 @if libcpp
55436 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
55437 mkdir stage3-libcpp; \
55438 mv stage3-libcpp libcpp; \
55439 mv stage2-libcpp prev-libcpp || test -f stage2-lean
55440 @endif libcpp
55441 @if libdecnumber
55442 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
55443 mkdir stage3-libdecnumber; \
55444 mv stage3-libdecnumber libdecnumber; \
55445 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
55446 @endif libdecnumber
55447 @if libiberty
55448 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
55449 mkdir stage3-libiberty; \
55450 mv stage3-libiberty libiberty; \
55451 mv stage2-libiberty prev-libiberty || test -f stage2-lean
55452 @endif libiberty
55453 @if libiberty-linker-plugin
55454 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
55455 mkdir stage3-libiberty-linker-plugin; \
55456 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
55457 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
55458 @endif libiberty-linker-plugin
55459 @if libiconv
55460 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
55461 mkdir stage3-libiconv; \
55462 mv stage3-libiconv libiconv; \
55463 mv stage2-libiconv prev-libiconv || test -f stage2-lean
55464 @endif libiconv
55465 @if zlib
55466 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
55467 mkdir stage3-zlib; \
55468 mv stage3-zlib zlib; \
55469 mv stage2-zlib prev-zlib || test -f stage2-lean
55470 @endif zlib
55471 @if lto-plugin
55472 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
55473 mkdir stage3-lto-plugin; \
55474 mv stage3-lto-plugin lto-plugin; \
55475 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
55476 @endif lto-plugin
55477 @if libctf
55478 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
55479 mkdir stage3-libctf; \
55480 mv stage3-libctf libctf; \
55481 mv stage2-libctf prev-libctf || test -f stage2-lean
55482 @endif libctf
55483 @[ -d stage3-$(TARGET_SUBDIR) ] || \
55484 mkdir stage3-$(TARGET_SUBDIR); \
55485 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55486 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
55487
55488 stage3-end::
55489 @if bfd
55490 @if test -d $(HOST_SUBDIR)/bfd; then \
55491 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
55492 mv prev-bfd stage2-bfd; : ; \
55493 fi
55494 @endif bfd
55495 @if opcodes
55496 @if test -d $(HOST_SUBDIR)/opcodes; then \
55497 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
55498 mv prev-opcodes stage2-opcodes; : ; \
55499 fi
55500 @endif opcodes
55501 @if binutils
55502 @if test -d $(HOST_SUBDIR)/binutils; then \
55503 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
55504 mv prev-binutils stage2-binutils; : ; \
55505 fi
55506 @endif binutils
55507 @if fixincludes
55508 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55509 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
55510 mv prev-fixincludes stage2-fixincludes; : ; \
55511 fi
55512 @endif fixincludes
55513 @if gas
55514 @if test -d $(HOST_SUBDIR)/gas; then \
55515 cd $(HOST_SUBDIR); mv gas stage3-gas; \
55516 mv prev-gas stage2-gas; : ; \
55517 fi
55518 @endif gas
55519 @if gcc
55520 @if test -d $(HOST_SUBDIR)/gcc; then \
55521 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
55522 mv prev-gcc stage2-gcc; : ; \
55523 fi
55524 @endif gcc
55525 @if gmp
55526 @if test -d $(HOST_SUBDIR)/gmp; then \
55527 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
55528 mv prev-gmp stage2-gmp; : ; \
55529 fi
55530 @endif gmp
55531 @if mpfr
55532 @if test -d $(HOST_SUBDIR)/mpfr; then \
55533 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
55534 mv prev-mpfr stage2-mpfr; : ; \
55535 fi
55536 @endif mpfr
55537 @if mpc
55538 @if test -d $(HOST_SUBDIR)/mpc; then \
55539 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
55540 mv prev-mpc stage2-mpc; : ; \
55541 fi
55542 @endif mpc
55543 @if isl
55544 @if test -d $(HOST_SUBDIR)/isl; then \
55545 cd $(HOST_SUBDIR); mv isl stage3-isl; \
55546 mv prev-isl stage2-isl; : ; \
55547 fi
55548 @endif isl
55549 @if libelf
55550 @if test -d $(HOST_SUBDIR)/libelf; then \
55551 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
55552 mv prev-libelf stage2-libelf; : ; \
55553 fi
55554 @endif libelf
55555 @if gold
55556 @if test -d $(HOST_SUBDIR)/gold; then \
55557 cd $(HOST_SUBDIR); mv gold stage3-gold; \
55558 mv prev-gold stage2-gold; : ; \
55559 fi
55560 @endif gold
55561 @if intl
55562 @if test -d $(HOST_SUBDIR)/intl; then \
55563 cd $(HOST_SUBDIR); mv intl stage3-intl; \
55564 mv prev-intl stage2-intl; : ; \
55565 fi
55566 @endif intl
55567 @if ld
55568 @if test -d $(HOST_SUBDIR)/ld; then \
55569 cd $(HOST_SUBDIR); mv ld stage3-ld; \
55570 mv prev-ld stage2-ld; : ; \
55571 fi
55572 @endif ld
55573 @if libbacktrace
55574 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55575 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
55576 mv prev-libbacktrace stage2-libbacktrace; : ; \
55577 fi
55578 @endif libbacktrace
55579 @if libcpp
55580 @if test -d $(HOST_SUBDIR)/libcpp; then \
55581 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
55582 mv prev-libcpp stage2-libcpp; : ; \
55583 fi
55584 @endif libcpp
55585 @if libdecnumber
55586 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55587 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
55588 mv prev-libdecnumber stage2-libdecnumber; : ; \
55589 fi
55590 @endif libdecnumber
55591 @if libiberty
55592 @if test -d $(HOST_SUBDIR)/libiberty; then \
55593 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
55594 mv prev-libiberty stage2-libiberty; : ; \
55595 fi
55596 @endif libiberty
55597 @if libiberty-linker-plugin
55598 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55599 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
55600 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
55601 fi
55602 @endif libiberty-linker-plugin
55603 @if libiconv
55604 @if test -d $(HOST_SUBDIR)/libiconv; then \
55605 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
55606 mv prev-libiconv stage2-libiconv; : ; \
55607 fi
55608 @endif libiconv
55609 @if zlib
55610 @if test -d $(HOST_SUBDIR)/zlib; then \
55611 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
55612 mv prev-zlib stage2-zlib; : ; \
55613 fi
55614 @endif zlib
55615 @if lto-plugin
55616 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55617 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
55618 mv prev-lto-plugin stage2-lto-plugin; : ; \
55619 fi
55620 @endif lto-plugin
55621 @if libctf
55622 @if test -d $(HOST_SUBDIR)/libctf; then \
55623 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
55624 mv prev-libctf stage2-libctf; : ; \
55625 fi
55626 @endif libctf
55627 @if test -d $(TARGET_SUBDIR); then \
55628 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
55629 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
55630 fi
55631 rm -f stage_current
55632
55633 # Bubble a bug fix through all the stages up to stage 3. They are
55634 # remade, but not reconfigured. The next stage (if any) will not be
55635 # reconfigured either.
55636 .PHONY: stage3-bubble
55637 stage3-bubble:: stage2-bubble
55638 @r=`${PWD_COMMAND}`; export r; \
55639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55640 if test -f stage3-lean || test -f stage2-lean ; then \
55641 echo Skipping rebuild of stage3; \
55642 else \
55643 $(MAKE) stage3-start; \
55644 if $(LEAN); then \
55645 rm -rf stage1-*; \
55646 $(STAMP) stage1-lean; \
55647 fi; \
55648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
55649 fi
55650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
55651
55652 .PHONY: all-stage3 clean-stage3
55653 do-clean: clean-stage3
55654
55655 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55656 # only possibility, but now it conflicts with no-bootstrap rules
55657 @if gcc-bootstrap
55658
55659 compare:
55660 @r=`${PWD_COMMAND}`; export r; \
55661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55662 if test -f stage2-lean; then \
55663 echo Cannot compare object files as stage 2 was deleted.; \
55664 exit 0; \
55665 fi; \
55666 : $(MAKE); $(stage); \
55667 rm -f .bad_compare; \
55668 echo Comparing stages 2 and 3; \
55669 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
55670 files=`find stage3-* -name "*$(objext)" -print | \
55671 sed -n s,^stage$$sed-,,p`; \
55672 for file in $${files} ${extra-compare}; do \
55673 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
55674 if test ! -f $$f1; then continue; fi; \
55675 $(do-compare) > /dev/null 2>&1; \
55676 if test $$? -eq 1; then \
55677 case $$file in \
55678 @compare_exclusions@) \
55679 echo warning: $$file differs ;; \
55680 *) \
55681 echo $$file differs >> .bad_compare ;; \
55682 esac; \
55683 fi; \
55684 done; \
55685 if [ -f .bad_compare ]; then \
55686 echo "Bootstrap comparison failure!"; \
55687 cat .bad_compare; \
55688 exit 1; \
55689 else \
55690 echo Comparison successful.; \
55691 fi; \
55692 $(STAMP) compare
55693 if $(LEAN); then \
55694 rm -rf stage2-*; \
55695 $(STAMP) stage2-lean; \
55696 fi
55697
55698
55699
55700 .PHONY: bootstrap bootstrap-lean
55701 bootstrap:
55702 echo stage3 > stage_final
55703 @r=`${PWD_COMMAND}`; export r; \
55704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55705 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55706 @: $(MAKE); $(unstage)
55707 @r=`${PWD_COMMAND}`; export r; \
55708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55709 TFLAGS="$(STAGE3_TFLAGS)"; \
55710 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55711
55712 bootstrap-lean:
55713 echo stage3 > stage_final
55714 @r=`${PWD_COMMAND}`; export r; \
55715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55716 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
55717 @: $(MAKE); $(unstage)
55718 @r=`${PWD_COMMAND}`; export r; \
55719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55720 TFLAGS="$(STAGE3_TFLAGS)"; \
55721 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55722
55723
55724 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55725 distclean-stage2:: distclean-stage3
55726 .PHONY: distclean-stage3
55727 distclean-stage3::
55728 @: $(MAKE); $(stage)
55729 @test "`cat stage_last`" != stage3 || rm -f stage_last
55730 rm -rf stage3-* compare
55731
55732
55733 .PHONY: cleanstrap
55734 cleanstrap: do-distclean local-clean
55735 echo stage3 > stage_final
55736 @r=`${PWD_COMMAND}`; export r; \
55737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55738 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
55739 @: $(MAKE); $(unstage)
55740 @r=`${PWD_COMMAND}`; export r; \
55741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55742 TFLAGS="$(STAGE3_TFLAGS)"; \
55743 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55744
55745 @endif gcc-bootstrap
55746
55747
55748 .PHONY: stage4-start stage4-end
55749
55750 stage4-start::
55751 @: $(MAKE); $(stage); \
55752 echo stage4 > stage_current; \
55753 echo stage4 > stage_last; \
55754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55755 @if bfd
55756 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
55757 mkdir stage4-bfd; \
55758 mv stage4-bfd bfd; \
55759 mv stage3-bfd prev-bfd || test -f stage3-lean
55760 @endif bfd
55761 @if opcodes
55762 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
55763 mkdir stage4-opcodes; \
55764 mv stage4-opcodes opcodes; \
55765 mv stage3-opcodes prev-opcodes || test -f stage3-lean
55766 @endif opcodes
55767 @if binutils
55768 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
55769 mkdir stage4-binutils; \
55770 mv stage4-binutils binutils; \
55771 mv stage3-binutils prev-binutils || test -f stage3-lean
55772 @endif binutils
55773 @if fixincludes
55774 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
55775 mkdir stage4-fixincludes; \
55776 mv stage4-fixincludes fixincludes; \
55777 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
55778 @endif fixincludes
55779 @if gas
55780 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
55781 mkdir stage4-gas; \
55782 mv stage4-gas gas; \
55783 mv stage3-gas prev-gas || test -f stage3-lean
55784 @endif gas
55785 @if gcc
55786 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
55787 mkdir stage4-gcc; \
55788 mv stage4-gcc gcc; \
55789 mv stage3-gcc prev-gcc || test -f stage3-lean
55790 @endif gcc
55791 @if gmp
55792 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
55793 mkdir stage4-gmp; \
55794 mv stage4-gmp gmp; \
55795 mv stage3-gmp prev-gmp || test -f stage3-lean
55796 @endif gmp
55797 @if mpfr
55798 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
55799 mkdir stage4-mpfr; \
55800 mv stage4-mpfr mpfr; \
55801 mv stage3-mpfr prev-mpfr || test -f stage3-lean
55802 @endif mpfr
55803 @if mpc
55804 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
55805 mkdir stage4-mpc; \
55806 mv stage4-mpc mpc; \
55807 mv stage3-mpc prev-mpc || test -f stage3-lean
55808 @endif mpc
55809 @if isl
55810 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
55811 mkdir stage4-isl; \
55812 mv stage4-isl isl; \
55813 mv stage3-isl prev-isl || test -f stage3-lean
55814 @endif isl
55815 @if libelf
55816 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
55817 mkdir stage4-libelf; \
55818 mv stage4-libelf libelf; \
55819 mv stage3-libelf prev-libelf || test -f stage3-lean
55820 @endif libelf
55821 @if gold
55822 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
55823 mkdir stage4-gold; \
55824 mv stage4-gold gold; \
55825 mv stage3-gold prev-gold || test -f stage3-lean
55826 @endif gold
55827 @if intl
55828 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
55829 mkdir stage4-intl; \
55830 mv stage4-intl intl; \
55831 mv stage3-intl prev-intl || test -f stage3-lean
55832 @endif intl
55833 @if ld
55834 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
55835 mkdir stage4-ld; \
55836 mv stage4-ld ld; \
55837 mv stage3-ld prev-ld || test -f stage3-lean
55838 @endif ld
55839 @if libbacktrace
55840 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
55841 mkdir stage4-libbacktrace; \
55842 mv stage4-libbacktrace libbacktrace; \
55843 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
55844 @endif libbacktrace
55845 @if libcpp
55846 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
55847 mkdir stage4-libcpp; \
55848 mv stage4-libcpp libcpp; \
55849 mv stage3-libcpp prev-libcpp || test -f stage3-lean
55850 @endif libcpp
55851 @if libdecnumber
55852 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
55853 mkdir stage4-libdecnumber; \
55854 mv stage4-libdecnumber libdecnumber; \
55855 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
55856 @endif libdecnumber
55857 @if libiberty
55858 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
55859 mkdir stage4-libiberty; \
55860 mv stage4-libiberty libiberty; \
55861 mv stage3-libiberty prev-libiberty || test -f stage3-lean
55862 @endif libiberty
55863 @if libiberty-linker-plugin
55864 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
55865 mkdir stage4-libiberty-linker-plugin; \
55866 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
55867 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
55868 @endif libiberty-linker-plugin
55869 @if libiconv
55870 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
55871 mkdir stage4-libiconv; \
55872 mv stage4-libiconv libiconv; \
55873 mv stage3-libiconv prev-libiconv || test -f stage3-lean
55874 @endif libiconv
55875 @if zlib
55876 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
55877 mkdir stage4-zlib; \
55878 mv stage4-zlib zlib; \
55879 mv stage3-zlib prev-zlib || test -f stage3-lean
55880 @endif zlib
55881 @if lto-plugin
55882 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
55883 mkdir stage4-lto-plugin; \
55884 mv stage4-lto-plugin lto-plugin; \
55885 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
55886 @endif lto-plugin
55887 @if libctf
55888 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
55889 mkdir stage4-libctf; \
55890 mv stage4-libctf libctf; \
55891 mv stage3-libctf prev-libctf || test -f stage3-lean
55892 @endif libctf
55893 @[ -d stage4-$(TARGET_SUBDIR) ] || \
55894 mkdir stage4-$(TARGET_SUBDIR); \
55895 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55896 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
55897
55898 stage4-end::
55899 @if bfd
55900 @if test -d $(HOST_SUBDIR)/bfd; then \
55901 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
55902 mv prev-bfd stage3-bfd; : ; \
55903 fi
55904 @endif bfd
55905 @if opcodes
55906 @if test -d $(HOST_SUBDIR)/opcodes; then \
55907 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
55908 mv prev-opcodes stage3-opcodes; : ; \
55909 fi
55910 @endif opcodes
55911 @if binutils
55912 @if test -d $(HOST_SUBDIR)/binutils; then \
55913 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
55914 mv prev-binutils stage3-binutils; : ; \
55915 fi
55916 @endif binutils
55917 @if fixincludes
55918 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55919 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
55920 mv prev-fixincludes stage3-fixincludes; : ; \
55921 fi
55922 @endif fixincludes
55923 @if gas
55924 @if test -d $(HOST_SUBDIR)/gas; then \
55925 cd $(HOST_SUBDIR); mv gas stage4-gas; \
55926 mv prev-gas stage3-gas; : ; \
55927 fi
55928 @endif gas
55929 @if gcc
55930 @if test -d $(HOST_SUBDIR)/gcc; then \
55931 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
55932 mv prev-gcc stage3-gcc; : ; \
55933 fi
55934 @endif gcc
55935 @if gmp
55936 @if test -d $(HOST_SUBDIR)/gmp; then \
55937 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
55938 mv prev-gmp stage3-gmp; : ; \
55939 fi
55940 @endif gmp
55941 @if mpfr
55942 @if test -d $(HOST_SUBDIR)/mpfr; then \
55943 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
55944 mv prev-mpfr stage3-mpfr; : ; \
55945 fi
55946 @endif mpfr
55947 @if mpc
55948 @if test -d $(HOST_SUBDIR)/mpc; then \
55949 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
55950 mv prev-mpc stage3-mpc; : ; \
55951 fi
55952 @endif mpc
55953 @if isl
55954 @if test -d $(HOST_SUBDIR)/isl; then \
55955 cd $(HOST_SUBDIR); mv isl stage4-isl; \
55956 mv prev-isl stage3-isl; : ; \
55957 fi
55958 @endif isl
55959 @if libelf
55960 @if test -d $(HOST_SUBDIR)/libelf; then \
55961 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
55962 mv prev-libelf stage3-libelf; : ; \
55963 fi
55964 @endif libelf
55965 @if gold
55966 @if test -d $(HOST_SUBDIR)/gold; then \
55967 cd $(HOST_SUBDIR); mv gold stage4-gold; \
55968 mv prev-gold stage3-gold; : ; \
55969 fi
55970 @endif gold
55971 @if intl
55972 @if test -d $(HOST_SUBDIR)/intl; then \
55973 cd $(HOST_SUBDIR); mv intl stage4-intl; \
55974 mv prev-intl stage3-intl; : ; \
55975 fi
55976 @endif intl
55977 @if ld
55978 @if test -d $(HOST_SUBDIR)/ld; then \
55979 cd $(HOST_SUBDIR); mv ld stage4-ld; \
55980 mv prev-ld stage3-ld; : ; \
55981 fi
55982 @endif ld
55983 @if libbacktrace
55984 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55985 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
55986 mv prev-libbacktrace stage3-libbacktrace; : ; \
55987 fi
55988 @endif libbacktrace
55989 @if libcpp
55990 @if test -d $(HOST_SUBDIR)/libcpp; then \
55991 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
55992 mv prev-libcpp stage3-libcpp; : ; \
55993 fi
55994 @endif libcpp
55995 @if libdecnumber
55996 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55997 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
55998 mv prev-libdecnumber stage3-libdecnumber; : ; \
55999 fi
56000 @endif libdecnumber
56001 @if libiberty
56002 @if test -d $(HOST_SUBDIR)/libiberty; then \
56003 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
56004 mv prev-libiberty stage3-libiberty; : ; \
56005 fi
56006 @endif libiberty
56007 @if libiberty-linker-plugin
56008 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56009 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
56010 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
56011 fi
56012 @endif libiberty-linker-plugin
56013 @if libiconv
56014 @if test -d $(HOST_SUBDIR)/libiconv; then \
56015 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
56016 mv prev-libiconv stage3-libiconv; : ; \
56017 fi
56018 @endif libiconv
56019 @if zlib
56020 @if test -d $(HOST_SUBDIR)/zlib; then \
56021 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
56022 mv prev-zlib stage3-zlib; : ; \
56023 fi
56024 @endif zlib
56025 @if lto-plugin
56026 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56027 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
56028 mv prev-lto-plugin stage3-lto-plugin; : ; \
56029 fi
56030 @endif lto-plugin
56031 @if libctf
56032 @if test -d $(HOST_SUBDIR)/libctf; then \
56033 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
56034 mv prev-libctf stage3-libctf; : ; \
56035 fi
56036 @endif libctf
56037 @if test -d $(TARGET_SUBDIR); then \
56038 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
56039 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
56040 fi
56041 rm -f stage_current
56042
56043 # Bubble a bug fix through all the stages up to stage 4. They are
56044 # remade, but not reconfigured. The next stage (if any) will not be
56045 # reconfigured either.
56046 .PHONY: stage4-bubble
56047 stage4-bubble:: stage3-bubble
56048 @r=`${PWD_COMMAND}`; export r; \
56049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56050 if test -f stage4-lean || test -f stage3-lean ; then \
56051 echo Skipping rebuild of stage4; \
56052 else \
56053 $(MAKE) stage4-start; \
56054 if $(LEAN); then \
56055 rm -rf stage2-*; \
56056 $(STAMP) stage2-lean; \
56057 fi; \
56058 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
56059 fi
56060 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
56061
56062 .PHONY: all-stage4 clean-stage4
56063 do-clean: clean-stage4
56064
56065 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56066 # only possibility, but now it conflicts with no-bootstrap rules
56067 @if gcc-bootstrap
56068
56069 compare3:
56070 @r=`${PWD_COMMAND}`; export r; \
56071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56072 if test -f stage3-lean; then \
56073 echo Cannot compare object files as stage 3 was deleted.; \
56074 exit 0; \
56075 fi; \
56076 : $(MAKE); $(stage); \
56077 rm -f .bad_compare; \
56078 echo Comparing stages 3 and 4; \
56079 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
56080 files=`find stage4-* -name "*$(objext)" -print | \
56081 sed -n s,^stage$$sed-,,p`; \
56082 for file in $${files} ${extra-compare}; do \
56083 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
56084 if test ! -f $$f1; then continue; fi; \
56085 $(do-compare3) > /dev/null 2>&1; \
56086 if test $$? -eq 1; then \
56087 case $$file in \
56088 @compare_exclusions@) \
56089 echo warning: $$file differs ;; \
56090 *) \
56091 echo $$file differs >> .bad_compare ;; \
56092 esac; \
56093 fi; \
56094 done; \
56095 if [ -f .bad_compare ]; then \
56096 echo "Bootstrap comparison failure!"; \
56097 cat .bad_compare; \
56098 exit 1; \
56099 else \
56100 echo Comparison successful.; \
56101 fi; \
56102 $(STAMP) compare3
56103 if $(LEAN); then \
56104 rm -rf stage3-*; \
56105 $(STAMP) stage3-lean; \
56106 fi
56107
56108
56109
56110 .PHONY: bootstrap4 bootstrap4-lean
56111 bootstrap4:
56112 echo stage4 > stage_final
56113 @r=`${PWD_COMMAND}`; export r; \
56114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
56116 @: $(MAKE); $(unstage)
56117 @r=`${PWD_COMMAND}`; export r; \
56118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56119 TFLAGS="$(STAGE4_TFLAGS)"; \
56120 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56121
56122 bootstrap4-lean:
56123 echo stage4 > stage_final
56124 @r=`${PWD_COMMAND}`; export r; \
56125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56126 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
56127 @: $(MAKE); $(unstage)
56128 @r=`${PWD_COMMAND}`; export r; \
56129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56130 TFLAGS="$(STAGE4_TFLAGS)"; \
56131 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56132
56133
56134 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56135 distclean-stage3:: distclean-stage4
56136 .PHONY: distclean-stage4
56137 distclean-stage4::
56138 @: $(MAKE); $(stage)
56139 @test "`cat stage_last`" != stage4 || rm -f stage_last
56140 rm -rf stage4-* compare3
56141
56142
56143 @endif gcc-bootstrap
56144
56145
56146 .PHONY: stageprofile-start stageprofile-end
56147
56148 stageprofile-start::
56149 @: $(MAKE); $(stage); \
56150 echo stageprofile > stage_current; \
56151 echo stageprofile > stage_last; \
56152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56153 @if bfd
56154 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
56155 mkdir stageprofile-bfd; \
56156 mv stageprofile-bfd bfd; \
56157 mv stage1-bfd prev-bfd || test -f stage1-lean
56158 @endif bfd
56159 @if opcodes
56160 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
56161 mkdir stageprofile-opcodes; \
56162 mv stageprofile-opcodes opcodes; \
56163 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56164 @endif opcodes
56165 @if binutils
56166 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
56167 mkdir stageprofile-binutils; \
56168 mv stageprofile-binutils binutils; \
56169 mv stage1-binutils prev-binutils || test -f stage1-lean
56170 @endif binutils
56171 @if fixincludes
56172 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
56173 mkdir stageprofile-fixincludes; \
56174 mv stageprofile-fixincludes fixincludes; \
56175 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
56176 @endif fixincludes
56177 @if gas
56178 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
56179 mkdir stageprofile-gas; \
56180 mv stageprofile-gas gas; \
56181 mv stage1-gas prev-gas || test -f stage1-lean
56182 @endif gas
56183 @if gcc
56184 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
56185 mkdir stageprofile-gcc; \
56186 mv stageprofile-gcc gcc; \
56187 mv stage1-gcc prev-gcc || test -f stage1-lean
56188 @endif gcc
56189 @if gmp
56190 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
56191 mkdir stageprofile-gmp; \
56192 mv stageprofile-gmp gmp; \
56193 mv stage1-gmp prev-gmp || test -f stage1-lean
56194 @endif gmp
56195 @if mpfr
56196 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
56197 mkdir stageprofile-mpfr; \
56198 mv stageprofile-mpfr mpfr; \
56199 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56200 @endif mpfr
56201 @if mpc
56202 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
56203 mkdir stageprofile-mpc; \
56204 mv stageprofile-mpc mpc; \
56205 mv stage1-mpc prev-mpc || test -f stage1-lean
56206 @endif mpc
56207 @if isl
56208 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
56209 mkdir stageprofile-isl; \
56210 mv stageprofile-isl isl; \
56211 mv stage1-isl prev-isl || test -f stage1-lean
56212 @endif isl
56213 @if libelf
56214 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
56215 mkdir stageprofile-libelf; \
56216 mv stageprofile-libelf libelf; \
56217 mv stage1-libelf prev-libelf || test -f stage1-lean
56218 @endif libelf
56219 @if gold
56220 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
56221 mkdir stageprofile-gold; \
56222 mv stageprofile-gold gold; \
56223 mv stage1-gold prev-gold || test -f stage1-lean
56224 @endif gold
56225 @if intl
56226 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
56227 mkdir stageprofile-intl; \
56228 mv stageprofile-intl intl; \
56229 mv stage1-intl prev-intl || test -f stage1-lean
56230 @endif intl
56231 @if ld
56232 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
56233 mkdir stageprofile-ld; \
56234 mv stageprofile-ld ld; \
56235 mv stage1-ld prev-ld || test -f stage1-lean
56236 @endif ld
56237 @if libbacktrace
56238 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
56239 mkdir stageprofile-libbacktrace; \
56240 mv stageprofile-libbacktrace libbacktrace; \
56241 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
56242 @endif libbacktrace
56243 @if libcpp
56244 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
56245 mkdir stageprofile-libcpp; \
56246 mv stageprofile-libcpp libcpp; \
56247 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56248 @endif libcpp
56249 @if libdecnumber
56250 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
56251 mkdir stageprofile-libdecnumber; \
56252 mv stageprofile-libdecnumber libdecnumber; \
56253 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56254 @endif libdecnumber
56255 @if libiberty
56256 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
56257 mkdir stageprofile-libiberty; \
56258 mv stageprofile-libiberty libiberty; \
56259 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56260 @endif libiberty
56261 @if libiberty-linker-plugin
56262 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
56263 mkdir stageprofile-libiberty-linker-plugin; \
56264 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
56265 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
56266 @endif libiberty-linker-plugin
56267 @if libiconv
56268 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
56269 mkdir stageprofile-libiconv; \
56270 mv stageprofile-libiconv libiconv; \
56271 mv stage1-libiconv prev-libiconv || test -f stage1-lean
56272 @endif libiconv
56273 @if zlib
56274 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
56275 mkdir stageprofile-zlib; \
56276 mv stageprofile-zlib zlib; \
56277 mv stage1-zlib prev-zlib || test -f stage1-lean
56278 @endif zlib
56279 @if lto-plugin
56280 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
56281 mkdir stageprofile-lto-plugin; \
56282 mv stageprofile-lto-plugin lto-plugin; \
56283 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56284 @endif lto-plugin
56285 @if libctf
56286 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
56287 mkdir stageprofile-libctf; \
56288 mv stageprofile-libctf libctf; \
56289 mv stage1-libctf prev-libctf || test -f stage1-lean
56290 @endif libctf
56291 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
56292 mkdir stageprofile-$(TARGET_SUBDIR); \
56293 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56294 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56295
56296 stageprofile-end::
56297 @if bfd
56298 @if test -d $(HOST_SUBDIR)/bfd; then \
56299 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
56300 mv prev-bfd stage1-bfd; : ; \
56301 fi
56302 @endif bfd
56303 @if opcodes
56304 @if test -d $(HOST_SUBDIR)/opcodes; then \
56305 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
56306 mv prev-opcodes stage1-opcodes; : ; \
56307 fi
56308 @endif opcodes
56309 @if binutils
56310 @if test -d $(HOST_SUBDIR)/binutils; then \
56311 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
56312 mv prev-binutils stage1-binutils; : ; \
56313 fi
56314 @endif binutils
56315 @if fixincludes
56316 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56317 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
56318 mv prev-fixincludes stage1-fixincludes; : ; \
56319 fi
56320 @endif fixincludes
56321 @if gas
56322 @if test -d $(HOST_SUBDIR)/gas; then \
56323 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
56324 mv prev-gas stage1-gas; : ; \
56325 fi
56326 @endif gas
56327 @if gcc
56328 @if test -d $(HOST_SUBDIR)/gcc; then \
56329 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
56330 mv prev-gcc stage1-gcc; : ; \
56331 fi
56332 @endif gcc
56333 @if gmp
56334 @if test -d $(HOST_SUBDIR)/gmp; then \
56335 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
56336 mv prev-gmp stage1-gmp; : ; \
56337 fi
56338 @endif gmp
56339 @if mpfr
56340 @if test -d $(HOST_SUBDIR)/mpfr; then \
56341 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
56342 mv prev-mpfr stage1-mpfr; : ; \
56343 fi
56344 @endif mpfr
56345 @if mpc
56346 @if test -d $(HOST_SUBDIR)/mpc; then \
56347 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
56348 mv prev-mpc stage1-mpc; : ; \
56349 fi
56350 @endif mpc
56351 @if isl
56352 @if test -d $(HOST_SUBDIR)/isl; then \
56353 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
56354 mv prev-isl stage1-isl; : ; \
56355 fi
56356 @endif isl
56357 @if libelf
56358 @if test -d $(HOST_SUBDIR)/libelf; then \
56359 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
56360 mv prev-libelf stage1-libelf; : ; \
56361 fi
56362 @endif libelf
56363 @if gold
56364 @if test -d $(HOST_SUBDIR)/gold; then \
56365 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
56366 mv prev-gold stage1-gold; : ; \
56367 fi
56368 @endif gold
56369 @if intl
56370 @if test -d $(HOST_SUBDIR)/intl; then \
56371 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
56372 mv prev-intl stage1-intl; : ; \
56373 fi
56374 @endif intl
56375 @if ld
56376 @if test -d $(HOST_SUBDIR)/ld; then \
56377 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
56378 mv prev-ld stage1-ld; : ; \
56379 fi
56380 @endif ld
56381 @if libbacktrace
56382 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56383 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
56384 mv prev-libbacktrace stage1-libbacktrace; : ; \
56385 fi
56386 @endif libbacktrace
56387 @if libcpp
56388 @if test -d $(HOST_SUBDIR)/libcpp; then \
56389 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
56390 mv prev-libcpp stage1-libcpp; : ; \
56391 fi
56392 @endif libcpp
56393 @if libdecnumber
56394 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56395 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
56396 mv prev-libdecnumber stage1-libdecnumber; : ; \
56397 fi
56398 @endif libdecnumber
56399 @if libiberty
56400 @if test -d $(HOST_SUBDIR)/libiberty; then \
56401 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
56402 mv prev-libiberty stage1-libiberty; : ; \
56403 fi
56404 @endif libiberty
56405 @if libiberty-linker-plugin
56406 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56407 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
56408 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
56409 fi
56410 @endif libiberty-linker-plugin
56411 @if libiconv
56412 @if test -d $(HOST_SUBDIR)/libiconv; then \
56413 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
56414 mv prev-libiconv stage1-libiconv; : ; \
56415 fi
56416 @endif libiconv
56417 @if zlib
56418 @if test -d $(HOST_SUBDIR)/zlib; then \
56419 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
56420 mv prev-zlib stage1-zlib; : ; \
56421 fi
56422 @endif zlib
56423 @if lto-plugin
56424 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56425 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
56426 mv prev-lto-plugin stage1-lto-plugin; : ; \
56427 fi
56428 @endif lto-plugin
56429 @if libctf
56430 @if test -d $(HOST_SUBDIR)/libctf; then \
56431 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
56432 mv prev-libctf stage1-libctf; : ; \
56433 fi
56434 @endif libctf
56435 @if test -d $(TARGET_SUBDIR); then \
56436 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
56437 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
56438 fi
56439 rm -f stage_current
56440
56441 # Bubble a bug fix through all the stages up to stage profile. They are
56442 # remade, but not reconfigured. The next stage (if any) will not be
56443 # reconfigured either.
56444 .PHONY: stageprofile-bubble
56445 stageprofile-bubble:: stage1-bubble
56446 @r=`${PWD_COMMAND}`; export r; \
56447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56448 if test -f stageprofile-lean || test -f stage1-lean ; then \
56449 echo Skipping rebuild of stageprofile; \
56450 else \
56451 $(MAKE) stageprofile-start; \
56452 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
56453 fi
56454
56455 .PHONY: all-stageprofile clean-stageprofile
56456 do-clean: clean-stageprofile
56457
56458 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56459 # only possibility, but now it conflicts with no-bootstrap rules
56460 @if gcc-bootstrap
56461
56462
56463
56464
56465 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56466 distclean-stage1:: distclean-stageprofile
56467 .PHONY: distclean-stageprofile
56468 distclean-stageprofile::
56469 @: $(MAKE); $(stage)
56470 @test "`cat stage_last`" != stageprofile || rm -f stage_last
56471 rm -rf stageprofile-*
56472
56473
56474 @endif gcc-bootstrap
56475
56476
56477 .PHONY: stagetrain-start stagetrain-end
56478
56479 stagetrain-start::
56480 @: $(MAKE); $(stage); \
56481 echo stagetrain > stage_current; \
56482 echo stagetrain > stage_last; \
56483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56484 @if bfd
56485 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
56486 mkdir stagetrain-bfd; \
56487 mv stagetrain-bfd bfd; \
56488 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
56489 @endif bfd
56490 @if opcodes
56491 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
56492 mkdir stagetrain-opcodes; \
56493 mv stagetrain-opcodes opcodes; \
56494 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
56495 @endif opcodes
56496 @if binutils
56497 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
56498 mkdir stagetrain-binutils; \
56499 mv stagetrain-binutils binutils; \
56500 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
56501 @endif binutils
56502 @if fixincludes
56503 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
56504 mkdir stagetrain-fixincludes; \
56505 mv stagetrain-fixincludes fixincludes; \
56506 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
56507 @endif fixincludes
56508 @if gas
56509 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
56510 mkdir stagetrain-gas; \
56511 mv stagetrain-gas gas; \
56512 mv stageprofile-gas prev-gas || test -f stageprofile-lean
56513 @endif gas
56514 @if gcc
56515 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
56516 mkdir stagetrain-gcc; \
56517 mv stagetrain-gcc gcc; \
56518 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
56519 @endif gcc
56520 @if gmp
56521 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
56522 mkdir stagetrain-gmp; \
56523 mv stagetrain-gmp gmp; \
56524 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
56525 @endif gmp
56526 @if mpfr
56527 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
56528 mkdir stagetrain-mpfr; \
56529 mv stagetrain-mpfr mpfr; \
56530 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
56531 @endif mpfr
56532 @if mpc
56533 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
56534 mkdir stagetrain-mpc; \
56535 mv stagetrain-mpc mpc; \
56536 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
56537 @endif mpc
56538 @if isl
56539 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
56540 mkdir stagetrain-isl; \
56541 mv stagetrain-isl isl; \
56542 mv stageprofile-isl prev-isl || test -f stageprofile-lean
56543 @endif isl
56544 @if libelf
56545 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
56546 mkdir stagetrain-libelf; \
56547 mv stagetrain-libelf libelf; \
56548 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
56549 @endif libelf
56550 @if gold
56551 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
56552 mkdir stagetrain-gold; \
56553 mv stagetrain-gold gold; \
56554 mv stageprofile-gold prev-gold || test -f stageprofile-lean
56555 @endif gold
56556 @if intl
56557 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
56558 mkdir stagetrain-intl; \
56559 mv stagetrain-intl intl; \
56560 mv stageprofile-intl prev-intl || test -f stageprofile-lean
56561 @endif intl
56562 @if ld
56563 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
56564 mkdir stagetrain-ld; \
56565 mv stagetrain-ld ld; \
56566 mv stageprofile-ld prev-ld || test -f stageprofile-lean
56567 @endif ld
56568 @if libbacktrace
56569 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
56570 mkdir stagetrain-libbacktrace; \
56571 mv stagetrain-libbacktrace libbacktrace; \
56572 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
56573 @endif libbacktrace
56574 @if libcpp
56575 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
56576 mkdir stagetrain-libcpp; \
56577 mv stagetrain-libcpp libcpp; \
56578 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
56579 @endif libcpp
56580 @if libdecnumber
56581 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
56582 mkdir stagetrain-libdecnumber; \
56583 mv stagetrain-libdecnumber libdecnumber; \
56584 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
56585 @endif libdecnumber
56586 @if libiberty
56587 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
56588 mkdir stagetrain-libiberty; \
56589 mv stagetrain-libiberty libiberty; \
56590 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
56591 @endif libiberty
56592 @if libiberty-linker-plugin
56593 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
56594 mkdir stagetrain-libiberty-linker-plugin; \
56595 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
56596 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
56597 @endif libiberty-linker-plugin
56598 @if libiconv
56599 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
56600 mkdir stagetrain-libiconv; \
56601 mv stagetrain-libiconv libiconv; \
56602 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
56603 @endif libiconv
56604 @if zlib
56605 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
56606 mkdir stagetrain-zlib; \
56607 mv stagetrain-zlib zlib; \
56608 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
56609 @endif zlib
56610 @if lto-plugin
56611 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
56612 mkdir stagetrain-lto-plugin; \
56613 mv stagetrain-lto-plugin lto-plugin; \
56614 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
56615 @endif lto-plugin
56616 @if libctf
56617 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
56618 mkdir stagetrain-libctf; \
56619 mv stagetrain-libctf libctf; \
56620 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
56621 @endif libctf
56622 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
56623 mkdir stagetrain-$(TARGET_SUBDIR); \
56624 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56625 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
56626
56627 stagetrain-end::
56628 @if bfd
56629 @if test -d $(HOST_SUBDIR)/bfd; then \
56630 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
56631 mv prev-bfd stageprofile-bfd; : ; \
56632 fi
56633 @endif bfd
56634 @if opcodes
56635 @if test -d $(HOST_SUBDIR)/opcodes; then \
56636 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
56637 mv prev-opcodes stageprofile-opcodes; : ; \
56638 fi
56639 @endif opcodes
56640 @if binutils
56641 @if test -d $(HOST_SUBDIR)/binutils; then \
56642 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
56643 mv prev-binutils stageprofile-binutils; : ; \
56644 fi
56645 @endif binutils
56646 @if fixincludes
56647 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56648 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
56649 mv prev-fixincludes stageprofile-fixincludes; : ; \
56650 fi
56651 @endif fixincludes
56652 @if gas
56653 @if test -d $(HOST_SUBDIR)/gas; then \
56654 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
56655 mv prev-gas stageprofile-gas; : ; \
56656 fi
56657 @endif gas
56658 @if gcc
56659 @if test -d $(HOST_SUBDIR)/gcc; then \
56660 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
56661 mv prev-gcc stageprofile-gcc; : ; \
56662 fi
56663 @endif gcc
56664 @if gmp
56665 @if test -d $(HOST_SUBDIR)/gmp; then \
56666 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
56667 mv prev-gmp stageprofile-gmp; : ; \
56668 fi
56669 @endif gmp
56670 @if mpfr
56671 @if test -d $(HOST_SUBDIR)/mpfr; then \
56672 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
56673 mv prev-mpfr stageprofile-mpfr; : ; \
56674 fi
56675 @endif mpfr
56676 @if mpc
56677 @if test -d $(HOST_SUBDIR)/mpc; then \
56678 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
56679 mv prev-mpc stageprofile-mpc; : ; \
56680 fi
56681 @endif mpc
56682 @if isl
56683 @if test -d $(HOST_SUBDIR)/isl; then \
56684 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
56685 mv prev-isl stageprofile-isl; : ; \
56686 fi
56687 @endif isl
56688 @if libelf
56689 @if test -d $(HOST_SUBDIR)/libelf; then \
56690 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
56691 mv prev-libelf stageprofile-libelf; : ; \
56692 fi
56693 @endif libelf
56694 @if gold
56695 @if test -d $(HOST_SUBDIR)/gold; then \
56696 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
56697 mv prev-gold stageprofile-gold; : ; \
56698 fi
56699 @endif gold
56700 @if intl
56701 @if test -d $(HOST_SUBDIR)/intl; then \
56702 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
56703 mv prev-intl stageprofile-intl; : ; \
56704 fi
56705 @endif intl
56706 @if ld
56707 @if test -d $(HOST_SUBDIR)/ld; then \
56708 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
56709 mv prev-ld stageprofile-ld; : ; \
56710 fi
56711 @endif ld
56712 @if libbacktrace
56713 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
56714 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
56715 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
56716 fi
56717 @endif libbacktrace
56718 @if libcpp
56719 @if test -d $(HOST_SUBDIR)/libcpp; then \
56720 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
56721 mv prev-libcpp stageprofile-libcpp; : ; \
56722 fi
56723 @endif libcpp
56724 @if libdecnumber
56725 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
56726 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
56727 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
56728 fi
56729 @endif libdecnumber
56730 @if libiberty
56731 @if test -d $(HOST_SUBDIR)/libiberty; then \
56732 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
56733 mv prev-libiberty stageprofile-libiberty; : ; \
56734 fi
56735 @endif libiberty
56736 @if libiberty-linker-plugin
56737 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
56738 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
56739 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
56740 fi
56741 @endif libiberty-linker-plugin
56742 @if libiconv
56743 @if test -d $(HOST_SUBDIR)/libiconv; then \
56744 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
56745 mv prev-libiconv stageprofile-libiconv; : ; \
56746 fi
56747 @endif libiconv
56748 @if zlib
56749 @if test -d $(HOST_SUBDIR)/zlib; then \
56750 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
56751 mv prev-zlib stageprofile-zlib; : ; \
56752 fi
56753 @endif zlib
56754 @if lto-plugin
56755 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
56756 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
56757 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
56758 fi
56759 @endif lto-plugin
56760 @if libctf
56761 @if test -d $(HOST_SUBDIR)/libctf; then \
56762 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
56763 mv prev-libctf stageprofile-libctf; : ; \
56764 fi
56765 @endif libctf
56766 @if test -d $(TARGET_SUBDIR); then \
56767 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
56768 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
56769 fi
56770 rm -f stage_current
56771
56772 # Bubble a bug fix through all the stages up to stage train. They are
56773 # remade, but not reconfigured. The next stage (if any) will not be
56774 # reconfigured either.
56775 .PHONY: stagetrain-bubble
56776 stagetrain-bubble:: stageprofile-bubble
56777 @r=`${PWD_COMMAND}`; export r; \
56778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56779 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
56780 echo Skipping rebuild of stagetrain; \
56781 else \
56782 $(MAKE) stagetrain-start; \
56783 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
56784 fi
56785
56786 .PHONY: all-stagetrain clean-stagetrain
56787 do-clean: clean-stagetrain
56788
56789 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56790 # only possibility, but now it conflicts with no-bootstrap rules
56791 @if gcc-bootstrap
56792
56793
56794
56795
56796 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56797 distclean-stageprofile:: distclean-stagetrain
56798 .PHONY: distclean-stagetrain
56799 distclean-stagetrain::
56800 @: $(MAKE); $(stage)
56801 @test "`cat stage_last`" != stagetrain || rm -f stage_last
56802 rm -rf stagetrain-*
56803
56804
56805 @endif gcc-bootstrap
56806
56807
56808 .PHONY: stagefeedback-start stagefeedback-end
56809
56810 stagefeedback-start::
56811 @: $(MAKE); $(stage); \
56812 echo stagefeedback > stage_current; \
56813 echo stagefeedback > stage_last; \
56814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56815 @if bfd
56816 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
56817 mkdir stagefeedback-bfd; \
56818 mv stagefeedback-bfd bfd; \
56819 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
56820 @endif bfd
56821 @if opcodes
56822 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
56823 mkdir stagefeedback-opcodes; \
56824 mv stagefeedback-opcodes opcodes; \
56825 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
56826 @endif opcodes
56827 @if binutils
56828 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
56829 mkdir stagefeedback-binutils; \
56830 mv stagefeedback-binutils binutils; \
56831 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
56832 @endif binutils
56833 @if fixincludes
56834 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
56835 mkdir stagefeedback-fixincludes; \
56836 mv stagefeedback-fixincludes fixincludes; \
56837 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
56838 @endif fixincludes
56839 @if gas
56840 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
56841 mkdir stagefeedback-gas; \
56842 mv stagefeedback-gas gas; \
56843 mv stagetrain-gas prev-gas || test -f stagetrain-lean
56844 @endif gas
56845 @if gcc
56846 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
56847 mkdir stagefeedback-gcc; \
56848 mv stagefeedback-gcc gcc; \
56849 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
56850 @endif gcc
56851 @if gmp
56852 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
56853 mkdir stagefeedback-gmp; \
56854 mv stagefeedback-gmp gmp; \
56855 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
56856 @endif gmp
56857 @if mpfr
56858 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
56859 mkdir stagefeedback-mpfr; \
56860 mv stagefeedback-mpfr mpfr; \
56861 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
56862 @endif mpfr
56863 @if mpc
56864 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
56865 mkdir stagefeedback-mpc; \
56866 mv stagefeedback-mpc mpc; \
56867 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
56868 @endif mpc
56869 @if isl
56870 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
56871 mkdir stagefeedback-isl; \
56872 mv stagefeedback-isl isl; \
56873 mv stagetrain-isl prev-isl || test -f stagetrain-lean
56874 @endif isl
56875 @if libelf
56876 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
56877 mkdir stagefeedback-libelf; \
56878 mv stagefeedback-libelf libelf; \
56879 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
56880 @endif libelf
56881 @if gold
56882 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
56883 mkdir stagefeedback-gold; \
56884 mv stagefeedback-gold gold; \
56885 mv stagetrain-gold prev-gold || test -f stagetrain-lean
56886 @endif gold
56887 @if intl
56888 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
56889 mkdir stagefeedback-intl; \
56890 mv stagefeedback-intl intl; \
56891 mv stagetrain-intl prev-intl || test -f stagetrain-lean
56892 @endif intl
56893 @if ld
56894 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
56895 mkdir stagefeedback-ld; \
56896 mv stagefeedback-ld ld; \
56897 mv stagetrain-ld prev-ld || test -f stagetrain-lean
56898 @endif ld
56899 @if libbacktrace
56900 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
56901 mkdir stagefeedback-libbacktrace; \
56902 mv stagefeedback-libbacktrace libbacktrace; \
56903 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
56904 @endif libbacktrace
56905 @if libcpp
56906 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
56907 mkdir stagefeedback-libcpp; \
56908 mv stagefeedback-libcpp libcpp; \
56909 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
56910 @endif libcpp
56911 @if libdecnumber
56912 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
56913 mkdir stagefeedback-libdecnumber; \
56914 mv stagefeedback-libdecnumber libdecnumber; \
56915 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
56916 @endif libdecnumber
56917 @if libiberty
56918 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
56919 mkdir stagefeedback-libiberty; \
56920 mv stagefeedback-libiberty libiberty; \
56921 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
56922 @endif libiberty
56923 @if libiberty-linker-plugin
56924 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
56925 mkdir stagefeedback-libiberty-linker-plugin; \
56926 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
56927 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
56928 @endif libiberty-linker-plugin
56929 @if libiconv
56930 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
56931 mkdir stagefeedback-libiconv; \
56932 mv stagefeedback-libiconv libiconv; \
56933 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
56934 @endif libiconv
56935 @if zlib
56936 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
56937 mkdir stagefeedback-zlib; \
56938 mv stagefeedback-zlib zlib; \
56939 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
56940 @endif zlib
56941 @if lto-plugin
56942 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
56943 mkdir stagefeedback-lto-plugin; \
56944 mv stagefeedback-lto-plugin lto-plugin; \
56945 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
56946 @endif lto-plugin
56947 @if libctf
56948 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
56949 mkdir stagefeedback-libctf; \
56950 mv stagefeedback-libctf libctf; \
56951 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
56952 @endif libctf
56953 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
56954 mkdir stagefeedback-$(TARGET_SUBDIR); \
56955 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
56956 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
56957
56958 stagefeedback-end::
56959 @if bfd
56960 @if test -d $(HOST_SUBDIR)/bfd; then \
56961 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
56962 mv prev-bfd stagetrain-bfd; : ; \
56963 fi
56964 @endif bfd
56965 @if opcodes
56966 @if test -d $(HOST_SUBDIR)/opcodes; then \
56967 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
56968 mv prev-opcodes stagetrain-opcodes; : ; \
56969 fi
56970 @endif opcodes
56971 @if binutils
56972 @if test -d $(HOST_SUBDIR)/binutils; then \
56973 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
56974 mv prev-binutils stagetrain-binutils; : ; \
56975 fi
56976 @endif binutils
56977 @if fixincludes
56978 @if test -d $(HOST_SUBDIR)/fixincludes; then \
56979 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
56980 mv prev-fixincludes stagetrain-fixincludes; : ; \
56981 fi
56982 @endif fixincludes
56983 @if gas
56984 @if test -d $(HOST_SUBDIR)/gas; then \
56985 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
56986 mv prev-gas stagetrain-gas; : ; \
56987 fi
56988 @endif gas
56989 @if gcc
56990 @if test -d $(HOST_SUBDIR)/gcc; then \
56991 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
56992 mv prev-gcc stagetrain-gcc; : ; \
56993 fi
56994 @endif gcc
56995 @if gmp
56996 @if test -d $(HOST_SUBDIR)/gmp; then \
56997 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
56998 mv prev-gmp stagetrain-gmp; : ; \
56999 fi
57000 @endif gmp
57001 @if mpfr
57002 @if test -d $(HOST_SUBDIR)/mpfr; then \
57003 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
57004 mv prev-mpfr stagetrain-mpfr; : ; \
57005 fi
57006 @endif mpfr
57007 @if mpc
57008 @if test -d $(HOST_SUBDIR)/mpc; then \
57009 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
57010 mv prev-mpc stagetrain-mpc; : ; \
57011 fi
57012 @endif mpc
57013 @if isl
57014 @if test -d $(HOST_SUBDIR)/isl; then \
57015 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
57016 mv prev-isl stagetrain-isl; : ; \
57017 fi
57018 @endif isl
57019 @if libelf
57020 @if test -d $(HOST_SUBDIR)/libelf; then \
57021 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
57022 mv prev-libelf stagetrain-libelf; : ; \
57023 fi
57024 @endif libelf
57025 @if gold
57026 @if test -d $(HOST_SUBDIR)/gold; then \
57027 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
57028 mv prev-gold stagetrain-gold; : ; \
57029 fi
57030 @endif gold
57031 @if intl
57032 @if test -d $(HOST_SUBDIR)/intl; then \
57033 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
57034 mv prev-intl stagetrain-intl; : ; \
57035 fi
57036 @endif intl
57037 @if ld
57038 @if test -d $(HOST_SUBDIR)/ld; then \
57039 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
57040 mv prev-ld stagetrain-ld; : ; \
57041 fi
57042 @endif ld
57043 @if libbacktrace
57044 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57045 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
57046 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
57047 fi
57048 @endif libbacktrace
57049 @if libcpp
57050 @if test -d $(HOST_SUBDIR)/libcpp; then \
57051 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
57052 mv prev-libcpp stagetrain-libcpp; : ; \
57053 fi
57054 @endif libcpp
57055 @if libdecnumber
57056 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57057 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
57058 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
57059 fi
57060 @endif libdecnumber
57061 @if libiberty
57062 @if test -d $(HOST_SUBDIR)/libiberty; then \
57063 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
57064 mv prev-libiberty stagetrain-libiberty; : ; \
57065 fi
57066 @endif libiberty
57067 @if libiberty-linker-plugin
57068 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57069 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
57070 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
57071 fi
57072 @endif libiberty-linker-plugin
57073 @if libiconv
57074 @if test -d $(HOST_SUBDIR)/libiconv; then \
57075 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
57076 mv prev-libiconv stagetrain-libiconv; : ; \
57077 fi
57078 @endif libiconv
57079 @if zlib
57080 @if test -d $(HOST_SUBDIR)/zlib; then \
57081 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
57082 mv prev-zlib stagetrain-zlib; : ; \
57083 fi
57084 @endif zlib
57085 @if lto-plugin
57086 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57087 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
57088 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
57089 fi
57090 @endif lto-plugin
57091 @if libctf
57092 @if test -d $(HOST_SUBDIR)/libctf; then \
57093 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
57094 mv prev-libctf stagetrain-libctf; : ; \
57095 fi
57096 @endif libctf
57097 @if test -d $(TARGET_SUBDIR); then \
57098 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
57099 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
57100 fi
57101 rm -f stage_current
57102
57103 # Bubble a bug fix through all the stages up to stage feedback. They are
57104 # remade, but not reconfigured. The next stage (if any) will not be
57105 # reconfigured either.
57106 .PHONY: stagefeedback-bubble
57107 stagefeedback-bubble:: stagetrain-bubble
57108 @r=`${PWD_COMMAND}`; export r; \
57109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57110 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
57111 echo Skipping rebuild of stagefeedback; \
57112 else \
57113 $(MAKE) stagefeedback-start; \
57114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
57115 fi
57116
57117 .PHONY: all-stagefeedback clean-stagefeedback
57118 do-clean: clean-stagefeedback
57119
57120 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57121 # only possibility, but now it conflicts with no-bootstrap rules
57122 @if gcc-bootstrap
57123
57124
57125
57126 .PHONY: profiledbootstrap profiledbootstrap-lean
57127 profiledbootstrap:
57128 echo stagefeedback > stage_final
57129 @r=`${PWD_COMMAND}`; export r; \
57130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57131 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
57132 @: $(MAKE); $(unstage)
57133 @r=`${PWD_COMMAND}`; export r; \
57134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57135 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57136 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57137
57138 profiledbootstrap-lean:
57139 echo stagefeedback > stage_final
57140 @r=`${PWD_COMMAND}`; export r; \
57141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57142 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
57143 @: $(MAKE); $(unstage)
57144 @r=`${PWD_COMMAND}`; export r; \
57145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57146 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57147 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57148
57149
57150 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57151 distclean-stagetrain:: distclean-stagefeedback
57152 .PHONY: distclean-stagefeedback
57153 distclean-stagefeedback::
57154 @: $(MAKE); $(stage)
57155 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
57156 rm -rf stagefeedback-*
57157
57158
57159 @endif gcc-bootstrap
57160
57161
57162 .PHONY: stageautoprofile-start stageautoprofile-end
57163
57164 stageautoprofile-start::
57165 @: $(MAKE); $(stage); \
57166 echo stageautoprofile > stage_current; \
57167 echo stageautoprofile > stage_last; \
57168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57169 @if bfd
57170 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
57171 mkdir stageautoprofile-bfd; \
57172 mv stageautoprofile-bfd bfd; \
57173 mv stage1-bfd prev-bfd || test -f stage1-lean
57174 @endif bfd
57175 @if opcodes
57176 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
57177 mkdir stageautoprofile-opcodes; \
57178 mv stageautoprofile-opcodes opcodes; \
57179 mv stage1-opcodes prev-opcodes || test -f stage1-lean
57180 @endif opcodes
57181 @if binutils
57182 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
57183 mkdir stageautoprofile-binutils; \
57184 mv stageautoprofile-binutils binutils; \
57185 mv stage1-binutils prev-binutils || test -f stage1-lean
57186 @endif binutils
57187 @if fixincludes
57188 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
57189 mkdir stageautoprofile-fixincludes; \
57190 mv stageautoprofile-fixincludes fixincludes; \
57191 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
57192 @endif fixincludes
57193 @if gas
57194 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
57195 mkdir stageautoprofile-gas; \
57196 mv stageautoprofile-gas gas; \
57197 mv stage1-gas prev-gas || test -f stage1-lean
57198 @endif gas
57199 @if gcc
57200 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
57201 mkdir stageautoprofile-gcc; \
57202 mv stageautoprofile-gcc gcc; \
57203 mv stage1-gcc prev-gcc || test -f stage1-lean
57204 @endif gcc
57205 @if gmp
57206 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
57207 mkdir stageautoprofile-gmp; \
57208 mv stageautoprofile-gmp gmp; \
57209 mv stage1-gmp prev-gmp || test -f stage1-lean
57210 @endif gmp
57211 @if mpfr
57212 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
57213 mkdir stageautoprofile-mpfr; \
57214 mv stageautoprofile-mpfr mpfr; \
57215 mv stage1-mpfr prev-mpfr || test -f stage1-lean
57216 @endif mpfr
57217 @if mpc
57218 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
57219 mkdir stageautoprofile-mpc; \
57220 mv stageautoprofile-mpc mpc; \
57221 mv stage1-mpc prev-mpc || test -f stage1-lean
57222 @endif mpc
57223 @if isl
57224 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
57225 mkdir stageautoprofile-isl; \
57226 mv stageautoprofile-isl isl; \
57227 mv stage1-isl prev-isl || test -f stage1-lean
57228 @endif isl
57229 @if libelf
57230 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
57231 mkdir stageautoprofile-libelf; \
57232 mv stageautoprofile-libelf libelf; \
57233 mv stage1-libelf prev-libelf || test -f stage1-lean
57234 @endif libelf
57235 @if gold
57236 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
57237 mkdir stageautoprofile-gold; \
57238 mv stageautoprofile-gold gold; \
57239 mv stage1-gold prev-gold || test -f stage1-lean
57240 @endif gold
57241 @if intl
57242 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
57243 mkdir stageautoprofile-intl; \
57244 mv stageautoprofile-intl intl; \
57245 mv stage1-intl prev-intl || test -f stage1-lean
57246 @endif intl
57247 @if ld
57248 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
57249 mkdir stageautoprofile-ld; \
57250 mv stageautoprofile-ld ld; \
57251 mv stage1-ld prev-ld || test -f stage1-lean
57252 @endif ld
57253 @if libbacktrace
57254 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
57255 mkdir stageautoprofile-libbacktrace; \
57256 mv stageautoprofile-libbacktrace libbacktrace; \
57257 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
57258 @endif libbacktrace
57259 @if libcpp
57260 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
57261 mkdir stageautoprofile-libcpp; \
57262 mv stageautoprofile-libcpp libcpp; \
57263 mv stage1-libcpp prev-libcpp || test -f stage1-lean
57264 @endif libcpp
57265 @if libdecnumber
57266 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
57267 mkdir stageautoprofile-libdecnumber; \
57268 mv stageautoprofile-libdecnumber libdecnumber; \
57269 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
57270 @endif libdecnumber
57271 @if libiberty
57272 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
57273 mkdir stageautoprofile-libiberty; \
57274 mv stageautoprofile-libiberty libiberty; \
57275 mv stage1-libiberty prev-libiberty || test -f stage1-lean
57276 @endif libiberty
57277 @if libiberty-linker-plugin
57278 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
57279 mkdir stageautoprofile-libiberty-linker-plugin; \
57280 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
57281 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
57282 @endif libiberty-linker-plugin
57283 @if libiconv
57284 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
57285 mkdir stageautoprofile-libiconv; \
57286 mv stageautoprofile-libiconv libiconv; \
57287 mv stage1-libiconv prev-libiconv || test -f stage1-lean
57288 @endif libiconv
57289 @if zlib
57290 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
57291 mkdir stageautoprofile-zlib; \
57292 mv stageautoprofile-zlib zlib; \
57293 mv stage1-zlib prev-zlib || test -f stage1-lean
57294 @endif zlib
57295 @if lto-plugin
57296 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
57297 mkdir stageautoprofile-lto-plugin; \
57298 mv stageautoprofile-lto-plugin lto-plugin; \
57299 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
57300 @endif lto-plugin
57301 @if libctf
57302 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
57303 mkdir stageautoprofile-libctf; \
57304 mv stageautoprofile-libctf libctf; \
57305 mv stage1-libctf prev-libctf || test -f stage1-lean
57306 @endif libctf
57307 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
57308 mkdir stageautoprofile-$(TARGET_SUBDIR); \
57309 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57310 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
57311
57312 stageautoprofile-end::
57313 @if bfd
57314 @if test -d $(HOST_SUBDIR)/bfd; then \
57315 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
57316 mv prev-bfd stage1-bfd; : ; \
57317 fi
57318 @endif bfd
57319 @if opcodes
57320 @if test -d $(HOST_SUBDIR)/opcodes; then \
57321 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
57322 mv prev-opcodes stage1-opcodes; : ; \
57323 fi
57324 @endif opcodes
57325 @if binutils
57326 @if test -d $(HOST_SUBDIR)/binutils; then \
57327 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
57328 mv prev-binutils stage1-binutils; : ; \
57329 fi
57330 @endif binutils
57331 @if fixincludes
57332 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57333 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
57334 mv prev-fixincludes stage1-fixincludes; : ; \
57335 fi
57336 @endif fixincludes
57337 @if gas
57338 @if test -d $(HOST_SUBDIR)/gas; then \
57339 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
57340 mv prev-gas stage1-gas; : ; \
57341 fi
57342 @endif gas
57343 @if gcc
57344 @if test -d $(HOST_SUBDIR)/gcc; then \
57345 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
57346 mv prev-gcc stage1-gcc; : ; \
57347 fi
57348 @endif gcc
57349 @if gmp
57350 @if test -d $(HOST_SUBDIR)/gmp; then \
57351 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
57352 mv prev-gmp stage1-gmp; : ; \
57353 fi
57354 @endif gmp
57355 @if mpfr
57356 @if test -d $(HOST_SUBDIR)/mpfr; then \
57357 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
57358 mv prev-mpfr stage1-mpfr; : ; \
57359 fi
57360 @endif mpfr
57361 @if mpc
57362 @if test -d $(HOST_SUBDIR)/mpc; then \
57363 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
57364 mv prev-mpc stage1-mpc; : ; \
57365 fi
57366 @endif mpc
57367 @if isl
57368 @if test -d $(HOST_SUBDIR)/isl; then \
57369 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
57370 mv prev-isl stage1-isl; : ; \
57371 fi
57372 @endif isl
57373 @if libelf
57374 @if test -d $(HOST_SUBDIR)/libelf; then \
57375 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
57376 mv prev-libelf stage1-libelf; : ; \
57377 fi
57378 @endif libelf
57379 @if gold
57380 @if test -d $(HOST_SUBDIR)/gold; then \
57381 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
57382 mv prev-gold stage1-gold; : ; \
57383 fi
57384 @endif gold
57385 @if intl
57386 @if test -d $(HOST_SUBDIR)/intl; then \
57387 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
57388 mv prev-intl stage1-intl; : ; \
57389 fi
57390 @endif intl
57391 @if ld
57392 @if test -d $(HOST_SUBDIR)/ld; then \
57393 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
57394 mv prev-ld stage1-ld; : ; \
57395 fi
57396 @endif ld
57397 @if libbacktrace
57398 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57399 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
57400 mv prev-libbacktrace stage1-libbacktrace; : ; \
57401 fi
57402 @endif libbacktrace
57403 @if libcpp
57404 @if test -d $(HOST_SUBDIR)/libcpp; then \
57405 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
57406 mv prev-libcpp stage1-libcpp; : ; \
57407 fi
57408 @endif libcpp
57409 @if libdecnumber
57410 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57411 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
57412 mv prev-libdecnumber stage1-libdecnumber; : ; \
57413 fi
57414 @endif libdecnumber
57415 @if libiberty
57416 @if test -d $(HOST_SUBDIR)/libiberty; then \
57417 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
57418 mv prev-libiberty stage1-libiberty; : ; \
57419 fi
57420 @endif libiberty
57421 @if libiberty-linker-plugin
57422 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57423 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
57424 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
57425 fi
57426 @endif libiberty-linker-plugin
57427 @if libiconv
57428 @if test -d $(HOST_SUBDIR)/libiconv; then \
57429 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
57430 mv prev-libiconv stage1-libiconv; : ; \
57431 fi
57432 @endif libiconv
57433 @if zlib
57434 @if test -d $(HOST_SUBDIR)/zlib; then \
57435 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
57436 mv prev-zlib stage1-zlib; : ; \
57437 fi
57438 @endif zlib
57439 @if lto-plugin
57440 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57441 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
57442 mv prev-lto-plugin stage1-lto-plugin; : ; \
57443 fi
57444 @endif lto-plugin
57445 @if libctf
57446 @if test -d $(HOST_SUBDIR)/libctf; then \
57447 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
57448 mv prev-libctf stage1-libctf; : ; \
57449 fi
57450 @endif libctf
57451 @if test -d $(TARGET_SUBDIR); then \
57452 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
57453 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
57454 fi
57455 rm -f stage_current
57456
57457 # Bubble a bug fix through all the stages up to stage autoprofile. They are
57458 # remade, but not reconfigured. The next stage (if any) will not be
57459 # reconfigured either.
57460 .PHONY: stageautoprofile-bubble
57461 stageautoprofile-bubble:: stage1-bubble
57462 @r=`${PWD_COMMAND}`; export r; \
57463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57464 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
57465 echo Skipping rebuild of stageautoprofile; \
57466 else \
57467 $(MAKE) stageautoprofile-start; \
57468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
57469 fi
57470
57471 .PHONY: all-stageautoprofile clean-stageautoprofile
57472 do-clean: clean-stageautoprofile
57473
57474 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57475 # only possibility, but now it conflicts with no-bootstrap rules
57476 @if gcc-bootstrap
57477
57478
57479
57480
57481 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57482 distclean-stage1:: distclean-stageautoprofile
57483 .PHONY: distclean-stageautoprofile
57484 distclean-stageautoprofile::
57485 @: $(MAKE); $(stage)
57486 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
57487 rm -rf stageautoprofile-*
57488
57489
57490 @endif gcc-bootstrap
57491
57492
57493 .PHONY: stageautofeedback-start stageautofeedback-end
57494
57495 stageautofeedback-start::
57496 @: $(MAKE); $(stage); \
57497 echo stageautofeedback > stage_current; \
57498 echo stageautofeedback > stage_last; \
57499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57500 @if bfd
57501 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
57502 mkdir stageautofeedback-bfd; \
57503 mv stageautofeedback-bfd bfd; \
57504 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
57505 @endif bfd
57506 @if opcodes
57507 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
57508 mkdir stageautofeedback-opcodes; \
57509 mv stageautofeedback-opcodes opcodes; \
57510 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
57511 @endif opcodes
57512 @if binutils
57513 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
57514 mkdir stageautofeedback-binutils; \
57515 mv stageautofeedback-binutils binutils; \
57516 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
57517 @endif binutils
57518 @if fixincludes
57519 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
57520 mkdir stageautofeedback-fixincludes; \
57521 mv stageautofeedback-fixincludes fixincludes; \
57522 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
57523 @endif fixincludes
57524 @if gas
57525 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
57526 mkdir stageautofeedback-gas; \
57527 mv stageautofeedback-gas gas; \
57528 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
57529 @endif gas
57530 @if gcc
57531 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
57532 mkdir stageautofeedback-gcc; \
57533 mv stageautofeedback-gcc gcc; \
57534 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
57535 @endif gcc
57536 @if gmp
57537 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
57538 mkdir stageautofeedback-gmp; \
57539 mv stageautofeedback-gmp gmp; \
57540 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
57541 @endif gmp
57542 @if mpfr
57543 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
57544 mkdir stageautofeedback-mpfr; \
57545 mv stageautofeedback-mpfr mpfr; \
57546 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
57547 @endif mpfr
57548 @if mpc
57549 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
57550 mkdir stageautofeedback-mpc; \
57551 mv stageautofeedback-mpc mpc; \
57552 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
57553 @endif mpc
57554 @if isl
57555 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
57556 mkdir stageautofeedback-isl; \
57557 mv stageautofeedback-isl isl; \
57558 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
57559 @endif isl
57560 @if libelf
57561 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
57562 mkdir stageautofeedback-libelf; \
57563 mv stageautofeedback-libelf libelf; \
57564 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
57565 @endif libelf
57566 @if gold
57567 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
57568 mkdir stageautofeedback-gold; \
57569 mv stageautofeedback-gold gold; \
57570 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
57571 @endif gold
57572 @if intl
57573 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
57574 mkdir stageautofeedback-intl; \
57575 mv stageautofeedback-intl intl; \
57576 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
57577 @endif intl
57578 @if ld
57579 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
57580 mkdir stageautofeedback-ld; \
57581 mv stageautofeedback-ld ld; \
57582 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
57583 @endif ld
57584 @if libbacktrace
57585 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
57586 mkdir stageautofeedback-libbacktrace; \
57587 mv stageautofeedback-libbacktrace libbacktrace; \
57588 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
57589 @endif libbacktrace
57590 @if libcpp
57591 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
57592 mkdir stageautofeedback-libcpp; \
57593 mv stageautofeedback-libcpp libcpp; \
57594 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
57595 @endif libcpp
57596 @if libdecnumber
57597 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
57598 mkdir stageautofeedback-libdecnumber; \
57599 mv stageautofeedback-libdecnumber libdecnumber; \
57600 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
57601 @endif libdecnumber
57602 @if libiberty
57603 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
57604 mkdir stageautofeedback-libiberty; \
57605 mv stageautofeedback-libiberty libiberty; \
57606 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
57607 @endif libiberty
57608 @if libiberty-linker-plugin
57609 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
57610 mkdir stageautofeedback-libiberty-linker-plugin; \
57611 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
57612 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
57613 @endif libiberty-linker-plugin
57614 @if libiconv
57615 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
57616 mkdir stageautofeedback-libiconv; \
57617 mv stageautofeedback-libiconv libiconv; \
57618 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
57619 @endif libiconv
57620 @if zlib
57621 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
57622 mkdir stageautofeedback-zlib; \
57623 mv stageautofeedback-zlib zlib; \
57624 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
57625 @endif zlib
57626 @if lto-plugin
57627 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
57628 mkdir stageautofeedback-lto-plugin; \
57629 mv stageautofeedback-lto-plugin lto-plugin; \
57630 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
57631 @endif lto-plugin
57632 @if libctf
57633 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
57634 mkdir stageautofeedback-libctf; \
57635 mv stageautofeedback-libctf libctf; \
57636 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
57637 @endif libctf
57638 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
57639 mkdir stageautofeedback-$(TARGET_SUBDIR); \
57640 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
57641 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
57642
57643 stageautofeedback-end::
57644 @if bfd
57645 @if test -d $(HOST_SUBDIR)/bfd; then \
57646 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
57647 mv prev-bfd stageautoprofile-bfd; : ; \
57648 fi
57649 @endif bfd
57650 @if opcodes
57651 @if test -d $(HOST_SUBDIR)/opcodes; then \
57652 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
57653 mv prev-opcodes stageautoprofile-opcodes; : ; \
57654 fi
57655 @endif opcodes
57656 @if binutils
57657 @if test -d $(HOST_SUBDIR)/binutils; then \
57658 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
57659 mv prev-binutils stageautoprofile-binutils; : ; \
57660 fi
57661 @endif binutils
57662 @if fixincludes
57663 @if test -d $(HOST_SUBDIR)/fixincludes; then \
57664 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
57665 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
57666 fi
57667 @endif fixincludes
57668 @if gas
57669 @if test -d $(HOST_SUBDIR)/gas; then \
57670 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
57671 mv prev-gas stageautoprofile-gas; : ; \
57672 fi
57673 @endif gas
57674 @if gcc
57675 @if test -d $(HOST_SUBDIR)/gcc; then \
57676 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
57677 mv prev-gcc stageautoprofile-gcc; : ; \
57678 fi
57679 @endif gcc
57680 @if gmp
57681 @if test -d $(HOST_SUBDIR)/gmp; then \
57682 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
57683 mv prev-gmp stageautoprofile-gmp; : ; \
57684 fi
57685 @endif gmp
57686 @if mpfr
57687 @if test -d $(HOST_SUBDIR)/mpfr; then \
57688 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
57689 mv prev-mpfr stageautoprofile-mpfr; : ; \
57690 fi
57691 @endif mpfr
57692 @if mpc
57693 @if test -d $(HOST_SUBDIR)/mpc; then \
57694 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
57695 mv prev-mpc stageautoprofile-mpc; : ; \
57696 fi
57697 @endif mpc
57698 @if isl
57699 @if test -d $(HOST_SUBDIR)/isl; then \
57700 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
57701 mv prev-isl stageautoprofile-isl; : ; \
57702 fi
57703 @endif isl
57704 @if libelf
57705 @if test -d $(HOST_SUBDIR)/libelf; then \
57706 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
57707 mv prev-libelf stageautoprofile-libelf; : ; \
57708 fi
57709 @endif libelf
57710 @if gold
57711 @if test -d $(HOST_SUBDIR)/gold; then \
57712 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
57713 mv prev-gold stageautoprofile-gold; : ; \
57714 fi
57715 @endif gold
57716 @if intl
57717 @if test -d $(HOST_SUBDIR)/intl; then \
57718 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
57719 mv prev-intl stageautoprofile-intl; : ; \
57720 fi
57721 @endif intl
57722 @if ld
57723 @if test -d $(HOST_SUBDIR)/ld; then \
57724 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
57725 mv prev-ld stageautoprofile-ld; : ; \
57726 fi
57727 @endif ld
57728 @if libbacktrace
57729 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
57730 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
57731 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
57732 fi
57733 @endif libbacktrace
57734 @if libcpp
57735 @if test -d $(HOST_SUBDIR)/libcpp; then \
57736 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
57737 mv prev-libcpp stageautoprofile-libcpp; : ; \
57738 fi
57739 @endif libcpp
57740 @if libdecnumber
57741 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
57742 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
57743 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
57744 fi
57745 @endif libdecnumber
57746 @if libiberty
57747 @if test -d $(HOST_SUBDIR)/libiberty; then \
57748 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
57749 mv prev-libiberty stageautoprofile-libiberty; : ; \
57750 fi
57751 @endif libiberty
57752 @if libiberty-linker-plugin
57753 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
57754 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
57755 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
57756 fi
57757 @endif libiberty-linker-plugin
57758 @if libiconv
57759 @if test -d $(HOST_SUBDIR)/libiconv; then \
57760 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
57761 mv prev-libiconv stageautoprofile-libiconv; : ; \
57762 fi
57763 @endif libiconv
57764 @if zlib
57765 @if test -d $(HOST_SUBDIR)/zlib; then \
57766 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
57767 mv prev-zlib stageautoprofile-zlib; : ; \
57768 fi
57769 @endif zlib
57770 @if lto-plugin
57771 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
57772 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
57773 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
57774 fi
57775 @endif lto-plugin
57776 @if libctf
57777 @if test -d $(HOST_SUBDIR)/libctf; then \
57778 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
57779 mv prev-libctf stageautoprofile-libctf; : ; \
57780 fi
57781 @endif libctf
57782 @if test -d $(TARGET_SUBDIR); then \
57783 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
57784 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
57785 fi
57786 rm -f stage_current
57787
57788 # Bubble a bug fix through all the stages up to stage autofeedback. They are
57789 # remade, but not reconfigured. The next stage (if any) will not be
57790 # reconfigured either.
57791 .PHONY: stageautofeedback-bubble
57792 stageautofeedback-bubble:: stageautoprofile-bubble
57793 @r=`${PWD_COMMAND}`; export r; \
57794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57795 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
57796 echo Skipping rebuild of stageautofeedback; \
57797 else \
57798 $(MAKE) stageautofeedback-start; \
57799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
57800 fi
57801
57802 .PHONY: all-stageautofeedback clean-stageautofeedback
57803 do-clean: clean-stageautofeedback
57804
57805 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57806 # only possibility, but now it conflicts with no-bootstrap rules
57807 @if gcc-bootstrap
57808
57809
57810
57811 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
57812 autoprofiledbootstrap:
57813 echo stageautofeedback > stage_final
57814 @r=`${PWD_COMMAND}`; export r; \
57815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57816 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
57817 @: $(MAKE); $(unstage)
57818 @r=`${PWD_COMMAND}`; export r; \
57819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57820 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57821 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57822
57823 autoprofiledbootstrap-lean:
57824 echo stageautofeedback > stage_final
57825 @r=`${PWD_COMMAND}`; export r; \
57826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
57828 @: $(MAKE); $(unstage)
57829 @r=`${PWD_COMMAND}`; export r; \
57830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57831 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57832 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57833
57834
57835 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57836 distclean-stageautoprofile:: distclean-stageautofeedback
57837 .PHONY: distclean-stageautofeedback
57838 distclean-stageautofeedback::
57839 @: $(MAKE); $(stage)
57840 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
57841 rm -rf stageautofeedback-*
57842
57843
57844 @endif gcc-bootstrap
57845
57846
57847
57848 stageprofile-end::
57849 $(MAKE) distclean-stagefeedback
57850
57851 stagefeedback-start::
57852 @r=`${PWD_COMMAND}`; export r; \
57853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57854 for i in prev-*; do \
57855 j=`echo $$i | sed s/^prev-//`; \
57856 cd $$r/$$i && \
57857 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
57858 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
57859 done
57860
57861 @if gcc-bootstrap
57862 do-distclean: distclean-stage1
57863
57864 # Provide a GCC build when we're building target libraries. This does
57865 # not work as a dependency, just as the minimum necessary to avoid errors.
57866 stage_last:
57867 @r=`${PWD_COMMAND}`; export r; \
57868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57869 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
57870
57871 # Same as unstage, but not phony and defaulting to stage1-start. We place
57872 # it in the dependency so that for example `make -j3 all-gcc' works.
57873 stage_current:
57874 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
57875
57876 .PHONY: restrap
57877 restrap::
57878 @: $(MAKE); $(stage)
57879 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
57880 restrap:: all
57881 @endif gcc-bootstrap
57882
57883 # --------------------------------------
57884 # Dependencies between different modules
57885 # --------------------------------------
57886
57887 # Generic dependencies for target modules on host stuff, especially gcc
57888 @if gcc-bootstrap
57889 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
57890 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
57891 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
57892 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
57893 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
57894 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
57895 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
57896 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
57897 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
57898 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
57899 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
57900 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
57901 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
57902 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
57903 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
57904 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
57905 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
57906 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
57907 configure-stage1-target-libvtv: maybe-all-stage1-gcc
57908 configure-stage2-target-libvtv: maybe-all-stage2-gcc
57909 configure-stage3-target-libvtv: maybe-all-stage3-gcc
57910 configure-stage4-target-libvtv: maybe-all-stage4-gcc
57911 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
57912 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
57913 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
57914 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
57915 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
57916 configure-target-liboffloadmic: stage_last
57917 configure-target-libssp: stage_last
57918 configure-target-newlib: stage_last
57919 configure-stage1-target-libgcc: maybe-all-stage1-gcc
57920 configure-stage2-target-libgcc: maybe-all-stage2-gcc
57921 configure-stage3-target-libgcc: maybe-all-stage3-gcc
57922 configure-stage4-target-libgcc: maybe-all-stage4-gcc
57923 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
57924 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
57925 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
57926 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
57927 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
57928 configure-target-libbacktrace: stage_last
57929 configure-target-libquadmath: stage_last
57930 configure-target-libgfortran: stage_last
57931 configure-target-libobjc: stage_last
57932 configure-target-libgo: stage_last
57933 configure-target-libhsail-rt: stage_last
57934 configure-target-libphobos: stage_last
57935 configure-target-libtermcap: stage_last
57936 configure-target-winsup: stage_last
57937 configure-target-libgloss: stage_last
57938 configure-target-libffi: stage_last
57939 configure-target-zlib: stage_last
57940 configure-target-rda: stage_last
57941 configure-target-libada: stage_last
57942 configure-stage1-target-libgomp: maybe-all-stage1-gcc
57943 configure-stage2-target-libgomp: maybe-all-stage2-gcc
57944 configure-stage3-target-libgomp: maybe-all-stage3-gcc
57945 configure-stage4-target-libgomp: maybe-all-stage4-gcc
57946 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
57947 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
57948 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
57949 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
57950 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
57951 configure-target-libitm: stage_last
57952 configure-target-libatomic: stage_last
57953 @endif gcc-bootstrap
57954
57955 @if gcc-no-bootstrap
57956 configure-target-libstdc++-v3: maybe-all-gcc
57957 configure-target-libsanitizer: maybe-all-gcc
57958 configure-target-libvtv: maybe-all-gcc
57959 configure-target-liboffloadmic: maybe-all-gcc
57960 configure-target-libssp: maybe-all-gcc
57961 configure-target-newlib: maybe-all-gcc
57962 configure-target-libgcc: maybe-all-gcc
57963 configure-target-libbacktrace: maybe-all-gcc
57964 configure-target-libquadmath: maybe-all-gcc
57965 configure-target-libgfortran: maybe-all-gcc
57966 configure-target-libobjc: maybe-all-gcc
57967 configure-target-libgo: maybe-all-gcc
57968 configure-target-libhsail-rt: maybe-all-gcc
57969 configure-target-libphobos: maybe-all-gcc
57970 configure-target-libtermcap: maybe-all-gcc
57971 configure-target-winsup: maybe-all-gcc
57972 configure-target-libgloss: maybe-all-gcc
57973 configure-target-libffi: maybe-all-gcc
57974 configure-target-zlib: maybe-all-gcc
57975 configure-target-rda: maybe-all-gcc
57976 configure-target-libada: maybe-all-gcc
57977 configure-target-libgomp: maybe-all-gcc
57978 configure-target-libitm: maybe-all-gcc
57979 configure-target-libatomic: maybe-all-gcc
57980 @endif gcc-no-bootstrap
57981
57982
57983 # There are two types of dependencies here: 'hard' dependencies, where one
57984 # module simply won't build without the other; and 'soft' dependencies, where
57985 # if the depended-on module is missing, the depending module will do without
57986 # or find a substitute somewhere (perhaps installed). Soft dependencies
57987 # are made here to depend on a 'maybe-' target. If you're not sure,
57988 # it's safer to use a soft dependency.
57989
57990
57991
57992
57993
57994
57995 # With all the machinery above in place, it is pretty easy to generate
57996 # dependencies. Host dependencies are a bit more complex because we have
57997 # to check for bootstrap/prebootstrap dependencies. To resolve
57998 # prebootstrap dependencies, prebootstrap modules are gathered in
57999 # a hash table.
58000 all-build-bison: maybe-all-build-texinfo
58001 all-build-flex: maybe-all-build-texinfo
58002 all-build-flex: maybe-all-build-bison
58003 all-build-flex: maybe-all-build-m4
58004 all-build-libiberty: maybe-all-build-texinfo
58005 all-build-m4: maybe-all-build-texinfo
58006 all-build-fixincludes: maybe-all-build-libiberty
58007 all-build-libcpp: maybe-all-build-libiberty
58008 configure-gcc: maybe-configure-intl
58009 configure-stage1-gcc: maybe-configure-stage1-intl
58010 configure-stage2-gcc: maybe-configure-stage2-intl
58011 configure-stage3-gcc: maybe-configure-stage3-intl
58012 configure-stage4-gcc: maybe-configure-stage4-intl
58013 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
58014 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
58015 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
58016 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
58017 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
58018 configure-gcc: maybe-all-gmp
58019 configure-stage1-gcc: maybe-all-stage1-gmp
58020 configure-stage2-gcc: maybe-all-stage2-gmp
58021 configure-stage3-gcc: maybe-all-stage3-gmp
58022 configure-stage4-gcc: maybe-all-stage4-gmp
58023 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
58024 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
58025 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
58026 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
58027 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
58028 configure-gcc: maybe-all-mpfr
58029 configure-stage1-gcc: maybe-all-stage1-mpfr
58030 configure-stage2-gcc: maybe-all-stage2-mpfr
58031 configure-stage3-gcc: maybe-all-stage3-mpfr
58032 configure-stage4-gcc: maybe-all-stage4-mpfr
58033 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
58034 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
58035 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
58036 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
58037 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
58038 configure-gcc: maybe-all-mpc
58039 configure-stage1-gcc: maybe-all-stage1-mpc
58040 configure-stage2-gcc: maybe-all-stage2-mpc
58041 configure-stage3-gcc: maybe-all-stage3-mpc
58042 configure-stage4-gcc: maybe-all-stage4-mpc
58043 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
58044 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
58045 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
58046 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
58047 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
58048 configure-gcc: maybe-all-isl
58049 configure-stage1-gcc: maybe-all-stage1-isl
58050 configure-stage2-gcc: maybe-all-stage2-isl
58051 configure-stage3-gcc: maybe-all-stage3-isl
58052 configure-stage4-gcc: maybe-all-stage4-isl
58053 configure-stageprofile-gcc: maybe-all-stageprofile-isl
58054 configure-stagetrain-gcc: maybe-all-stagetrain-isl
58055 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
58056 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
58057 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
58058 configure-gcc: maybe-all-lto-plugin
58059 configure-stage1-gcc: maybe-all-stage1-lto-plugin
58060 configure-stage2-gcc: maybe-all-stage2-lto-plugin
58061 configure-stage3-gcc: maybe-all-stage3-lto-plugin
58062 configure-stage4-gcc: maybe-all-stage4-lto-plugin
58063 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
58064 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
58065 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
58066 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
58067 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
58068 configure-gcc: maybe-all-binutils
58069 configure-stage1-gcc: maybe-all-stage1-binutils
58070 configure-stage2-gcc: maybe-all-stage2-binutils
58071 configure-stage3-gcc: maybe-all-stage3-binutils
58072 configure-stage4-gcc: maybe-all-stage4-binutils
58073 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
58074 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
58075 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
58076 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
58077 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
58078 configure-gcc: maybe-all-gas
58079 configure-stage1-gcc: maybe-all-stage1-gas
58080 configure-stage2-gcc: maybe-all-stage2-gas
58081 configure-stage3-gcc: maybe-all-stage3-gas
58082 configure-stage4-gcc: maybe-all-stage4-gas
58083 configure-stageprofile-gcc: maybe-all-stageprofile-gas
58084 configure-stagetrain-gcc: maybe-all-stagetrain-gas
58085 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
58086 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
58087 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
58088 configure-gcc: maybe-all-ld
58089 configure-stage1-gcc: maybe-all-stage1-ld
58090 configure-stage2-gcc: maybe-all-stage2-ld
58091 configure-stage3-gcc: maybe-all-stage3-ld
58092 configure-stage4-gcc: maybe-all-stage4-ld
58093 configure-stageprofile-gcc: maybe-all-stageprofile-ld
58094 configure-stagetrain-gcc: maybe-all-stagetrain-ld
58095 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
58096 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
58097 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
58098 configure-gcc: maybe-all-gold
58099 configure-stage1-gcc: maybe-all-stage1-gold
58100 configure-stage2-gcc: maybe-all-stage2-gold
58101 configure-stage3-gcc: maybe-all-stage3-gold
58102 configure-stage4-gcc: maybe-all-stage4-gold
58103 configure-stageprofile-gcc: maybe-all-stageprofile-gold
58104 configure-stagetrain-gcc: maybe-all-stagetrain-gold
58105 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
58106 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
58107 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
58108 configure-gcc: maybe-all-libelf
58109 configure-stage1-gcc: maybe-all-stage1-libelf
58110 configure-stage2-gcc: maybe-all-stage2-libelf
58111 configure-stage3-gcc: maybe-all-stage3-libelf
58112 configure-stage4-gcc: maybe-all-stage4-libelf
58113 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
58114 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
58115 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
58116 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
58117 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
58118 configure-gcc: maybe-all-libiconv
58119 configure-stage1-gcc: maybe-all-stage1-libiconv
58120 configure-stage2-gcc: maybe-all-stage2-libiconv
58121 configure-stage3-gcc: maybe-all-stage3-libiconv
58122 configure-stage4-gcc: maybe-all-stage4-libiconv
58123 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
58124 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
58125 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
58126 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
58127 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
58128 all-gcc: all-libiberty
58129 all-stage1-gcc: all-stage1-libiberty
58130 all-stage2-gcc: all-stage2-libiberty
58131 all-stage3-gcc: all-stage3-libiberty
58132 all-stage4-gcc: all-stage4-libiberty
58133 all-stageprofile-gcc: all-stageprofile-libiberty
58134 all-stagetrain-gcc: all-stagetrain-libiberty
58135 all-stagefeedback-gcc: all-stagefeedback-libiberty
58136 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
58137 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
58138 all-gcc: maybe-all-intl
58139 all-stage1-gcc: maybe-all-stage1-intl
58140 all-stage2-gcc: maybe-all-stage2-intl
58141 all-stage3-gcc: maybe-all-stage3-intl
58142 all-stage4-gcc: maybe-all-stage4-intl
58143 all-stageprofile-gcc: maybe-all-stageprofile-intl
58144 all-stagetrain-gcc: maybe-all-stagetrain-intl
58145 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
58146 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
58147 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
58148 all-gcc: maybe-all-mpfr
58149 all-stage1-gcc: maybe-all-stage1-mpfr
58150 all-stage2-gcc: maybe-all-stage2-mpfr
58151 all-stage3-gcc: maybe-all-stage3-mpfr
58152 all-stage4-gcc: maybe-all-stage4-mpfr
58153 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
58154 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
58155 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
58156 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
58157 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
58158 all-gcc: maybe-all-mpc
58159 all-stage1-gcc: maybe-all-stage1-mpc
58160 all-stage2-gcc: maybe-all-stage2-mpc
58161 all-stage3-gcc: maybe-all-stage3-mpc
58162 all-stage4-gcc: maybe-all-stage4-mpc
58163 all-stageprofile-gcc: maybe-all-stageprofile-mpc
58164 all-stagetrain-gcc: maybe-all-stagetrain-mpc
58165 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
58166 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
58167 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
58168 all-gcc: maybe-all-isl
58169 all-stage1-gcc: maybe-all-stage1-isl
58170 all-stage2-gcc: maybe-all-stage2-isl
58171 all-stage3-gcc: maybe-all-stage3-isl
58172 all-stage4-gcc: maybe-all-stage4-isl
58173 all-stageprofile-gcc: maybe-all-stageprofile-isl
58174 all-stagetrain-gcc: maybe-all-stagetrain-isl
58175 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
58176 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
58177 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
58178 all-gcc: maybe-all-build-texinfo
58179 all-stage1-gcc: maybe-all-build-texinfo
58180 all-stage2-gcc: maybe-all-build-texinfo
58181 all-stage3-gcc: maybe-all-build-texinfo
58182 all-stage4-gcc: maybe-all-build-texinfo
58183 all-stageprofile-gcc: maybe-all-build-texinfo
58184 all-stagetrain-gcc: maybe-all-build-texinfo
58185 all-stagefeedback-gcc: maybe-all-build-texinfo
58186 all-stageautoprofile-gcc: maybe-all-build-texinfo
58187 all-stageautofeedback-gcc: maybe-all-build-texinfo
58188 all-gcc: maybe-all-build-bison
58189 all-stage1-gcc: maybe-all-build-bison
58190 all-stage2-gcc: maybe-all-build-bison
58191 all-stage3-gcc: maybe-all-build-bison
58192 all-stage4-gcc: maybe-all-build-bison
58193 all-stageprofile-gcc: maybe-all-build-bison
58194 all-stagetrain-gcc: maybe-all-build-bison
58195 all-stagefeedback-gcc: maybe-all-build-bison
58196 all-stageautoprofile-gcc: maybe-all-build-bison
58197 all-stageautofeedback-gcc: maybe-all-build-bison
58198 all-gcc: maybe-all-build-flex
58199 all-stage1-gcc: maybe-all-build-flex
58200 all-stage2-gcc: maybe-all-build-flex
58201 all-stage3-gcc: maybe-all-build-flex
58202 all-stage4-gcc: maybe-all-build-flex
58203 all-stageprofile-gcc: maybe-all-build-flex
58204 all-stagetrain-gcc: maybe-all-build-flex
58205 all-stagefeedback-gcc: maybe-all-build-flex
58206 all-stageautoprofile-gcc: maybe-all-build-flex
58207 all-stageautofeedback-gcc: maybe-all-build-flex
58208 all-gcc: maybe-all-build-libiberty
58209 all-stage1-gcc: maybe-all-build-libiberty
58210 all-stage2-gcc: maybe-all-build-libiberty
58211 all-stage3-gcc: maybe-all-build-libiberty
58212 all-stage4-gcc: maybe-all-build-libiberty
58213 all-stageprofile-gcc: maybe-all-build-libiberty
58214 all-stagetrain-gcc: maybe-all-build-libiberty
58215 all-stagefeedback-gcc: maybe-all-build-libiberty
58216 all-stageautoprofile-gcc: maybe-all-build-libiberty
58217 all-stageautofeedback-gcc: maybe-all-build-libiberty
58218 all-gcc: maybe-all-build-fixincludes
58219 all-stage1-gcc: maybe-all-build-fixincludes
58220 all-stage2-gcc: maybe-all-build-fixincludes
58221 all-stage3-gcc: maybe-all-build-fixincludes
58222 all-stage4-gcc: maybe-all-build-fixincludes
58223 all-stageprofile-gcc: maybe-all-build-fixincludes
58224 all-stagetrain-gcc: maybe-all-build-fixincludes
58225 all-stagefeedback-gcc: maybe-all-build-fixincludes
58226 all-stageautoprofile-gcc: maybe-all-build-fixincludes
58227 all-stageautofeedback-gcc: maybe-all-build-fixincludes
58228 all-gcc: maybe-all-build-libcpp
58229 all-stage1-gcc: maybe-all-build-libcpp
58230 all-stage2-gcc: maybe-all-build-libcpp
58231 all-stage3-gcc: maybe-all-build-libcpp
58232 all-stage4-gcc: maybe-all-build-libcpp
58233 all-stageprofile-gcc: maybe-all-build-libcpp
58234 all-stagetrain-gcc: maybe-all-build-libcpp
58235 all-stagefeedback-gcc: maybe-all-build-libcpp
58236 all-stageautoprofile-gcc: maybe-all-build-libcpp
58237 all-stageautofeedback-gcc: maybe-all-build-libcpp
58238 all-gcc: maybe-all-zlib
58239 all-stage1-gcc: maybe-all-stage1-zlib
58240 all-stage2-gcc: maybe-all-stage2-zlib
58241 all-stage3-gcc: maybe-all-stage3-zlib
58242 all-stage4-gcc: maybe-all-stage4-zlib
58243 all-stageprofile-gcc: maybe-all-stageprofile-zlib
58244 all-stagetrain-gcc: maybe-all-stagetrain-zlib
58245 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
58246 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
58247 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
58248 all-gcc: all-libbacktrace
58249 all-stage1-gcc: all-stage1-libbacktrace
58250 all-stage2-gcc: all-stage2-libbacktrace
58251 all-stage3-gcc: all-stage3-libbacktrace
58252 all-stage4-gcc: all-stage4-libbacktrace
58253 all-stageprofile-gcc: all-stageprofile-libbacktrace
58254 all-stagetrain-gcc: all-stagetrain-libbacktrace
58255 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
58256 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
58257 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
58258 all-gcc: all-libcpp
58259 all-stage1-gcc: all-stage1-libcpp
58260 all-stage2-gcc: all-stage2-libcpp
58261 all-stage3-gcc: all-stage3-libcpp
58262 all-stage4-gcc: all-stage4-libcpp
58263 all-stageprofile-gcc: all-stageprofile-libcpp
58264 all-stagetrain-gcc: all-stagetrain-libcpp
58265 all-stagefeedback-gcc: all-stagefeedback-libcpp
58266 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
58267 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
58268 all-gcc: all-libdecnumber
58269 all-stage1-gcc: all-stage1-libdecnumber
58270 all-stage2-gcc: all-stage2-libdecnumber
58271 all-stage3-gcc: all-stage3-libdecnumber
58272 all-stage4-gcc: all-stage4-libdecnumber
58273 all-stageprofile-gcc: all-stageprofile-libdecnumber
58274 all-stagetrain-gcc: all-stagetrain-libdecnumber
58275 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
58276 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
58277 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
58278 all-gcc: maybe-all-libiberty
58279 all-stage1-gcc: maybe-all-stage1-libiberty
58280 all-stage2-gcc: maybe-all-stage2-libiberty
58281 all-stage3-gcc: maybe-all-stage3-libiberty
58282 all-stage4-gcc: maybe-all-stage4-libiberty
58283 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
58284 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
58285 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
58286 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
58287 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
58288 all-gcc: maybe-all-fixincludes
58289 all-stage1-gcc: maybe-all-stage1-fixincludes
58290 all-stage2-gcc: maybe-all-stage2-fixincludes
58291 all-stage3-gcc: maybe-all-stage3-fixincludes
58292 all-stage4-gcc: maybe-all-stage4-fixincludes
58293 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
58294 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
58295 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
58296 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
58297 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
58298 all-gcc: maybe-all-lto-plugin
58299 all-stage1-gcc: maybe-all-stage1-lto-plugin
58300 all-stage2-gcc: maybe-all-stage2-lto-plugin
58301 all-stage3-gcc: maybe-all-stage3-lto-plugin
58302 all-stage4-gcc: maybe-all-stage4-lto-plugin
58303 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
58304 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
58305 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
58306 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
58307 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
58308 all-gcc: maybe-all-libiconv
58309 all-stage1-gcc: maybe-all-stage1-libiconv
58310 all-stage2-gcc: maybe-all-stage2-libiconv
58311 all-stage3-gcc: maybe-all-stage3-libiconv
58312 all-stage4-gcc: maybe-all-stage4-libiconv
58313 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
58314 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
58315 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
58316 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
58317 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
58318 info-gcc: maybe-all-build-libiberty
58319 info-stage1-gcc: maybe-all-build-libiberty
58320 info-stage2-gcc: maybe-all-build-libiberty
58321 info-stage3-gcc: maybe-all-build-libiberty
58322 info-stage4-gcc: maybe-all-build-libiberty
58323 info-stageprofile-gcc: maybe-all-build-libiberty
58324 info-stagetrain-gcc: maybe-all-build-libiberty
58325 info-stagefeedback-gcc: maybe-all-build-libiberty
58326 info-stageautoprofile-gcc: maybe-all-build-libiberty
58327 info-stageautofeedback-gcc: maybe-all-build-libiberty
58328 dvi-gcc: maybe-all-build-libiberty
58329 dvi-stage1-gcc: maybe-all-build-libiberty
58330 dvi-stage2-gcc: maybe-all-build-libiberty
58331 dvi-stage3-gcc: maybe-all-build-libiberty
58332 dvi-stage4-gcc: maybe-all-build-libiberty
58333 dvi-stageprofile-gcc: maybe-all-build-libiberty
58334 dvi-stagetrain-gcc: maybe-all-build-libiberty
58335 dvi-stagefeedback-gcc: maybe-all-build-libiberty
58336 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
58337 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
58338 pdf-gcc: maybe-all-build-libiberty
58339 pdf-stage1-gcc: maybe-all-build-libiberty
58340 pdf-stage2-gcc: maybe-all-build-libiberty
58341 pdf-stage3-gcc: maybe-all-build-libiberty
58342 pdf-stage4-gcc: maybe-all-build-libiberty
58343 pdf-stageprofile-gcc: maybe-all-build-libiberty
58344 pdf-stagetrain-gcc: maybe-all-build-libiberty
58345 pdf-stagefeedback-gcc: maybe-all-build-libiberty
58346 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
58347 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
58348 html-gcc: maybe-all-build-libiberty
58349 html-stage1-gcc: maybe-all-build-libiberty
58350 html-stage2-gcc: maybe-all-build-libiberty
58351 html-stage3-gcc: maybe-all-build-libiberty
58352 html-stage4-gcc: maybe-all-build-libiberty
58353 html-stageprofile-gcc: maybe-all-build-libiberty
58354 html-stagetrain-gcc: maybe-all-build-libiberty
58355 html-stagefeedback-gcc: maybe-all-build-libiberty
58356 html-stageautoprofile-gcc: maybe-all-build-libiberty
58357 html-stageautofeedback-gcc: maybe-all-build-libiberty
58358 install-gcc: maybe-install-fixincludes
58359 install-gcc: maybe-install-lto-plugin
58360 install-strip-gcc: maybe-install-strip-fixincludes
58361 install-strip-gcc: maybe-install-strip-lto-plugin
58362 configure-libcpp: configure-libiberty
58363 configure-stage1-libcpp: configure-stage1-libiberty
58364 configure-stage2-libcpp: configure-stage2-libiberty
58365 configure-stage3-libcpp: configure-stage3-libiberty
58366 configure-stage4-libcpp: configure-stage4-libiberty
58367 configure-stageprofile-libcpp: configure-stageprofile-libiberty
58368 configure-stagetrain-libcpp: configure-stagetrain-libiberty
58369 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
58370 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
58371 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
58372 configure-libcpp: maybe-configure-intl
58373 configure-stage1-libcpp: maybe-configure-stage1-intl
58374 configure-stage2-libcpp: maybe-configure-stage2-intl
58375 configure-stage3-libcpp: maybe-configure-stage3-intl
58376 configure-stage4-libcpp: maybe-configure-stage4-intl
58377 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
58378 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
58379 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
58380 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
58381 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
58382 configure-libcpp: maybe-all-libiconv
58383 configure-stage1-libcpp: maybe-all-stage1-libiconv
58384 configure-stage2-libcpp: maybe-all-stage2-libiconv
58385 configure-stage3-libcpp: maybe-all-stage3-libiconv
58386 configure-stage4-libcpp: maybe-all-stage4-libiconv
58387 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
58388 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
58389 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
58390 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
58391 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
58392 all-libcpp: all-libiberty
58393 all-stage1-libcpp: all-stage1-libiberty
58394 all-stage2-libcpp: all-stage2-libiberty
58395 all-stage3-libcpp: all-stage3-libiberty
58396 all-stage4-libcpp: all-stage4-libiberty
58397 all-stageprofile-libcpp: all-stageprofile-libiberty
58398 all-stagetrain-libcpp: all-stagetrain-libiberty
58399 all-stagefeedback-libcpp: all-stagefeedback-libiberty
58400 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
58401 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
58402 all-libcpp: maybe-all-intl
58403 all-stage1-libcpp: maybe-all-stage1-intl
58404 all-stage2-libcpp: maybe-all-stage2-intl
58405 all-stage3-libcpp: maybe-all-stage3-intl
58406 all-stage4-libcpp: maybe-all-stage4-intl
58407 all-stageprofile-libcpp: maybe-all-stageprofile-intl
58408 all-stagetrain-libcpp: maybe-all-stagetrain-intl
58409 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
58410 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
58411 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
58412 all-libcpp: maybe-all-libiconv
58413 all-stage1-libcpp: maybe-all-stage1-libiconv
58414 all-stage2-libcpp: maybe-all-stage2-libiconv
58415 all-stage3-libcpp: maybe-all-stage3-libiconv
58416 all-stage4-libcpp: maybe-all-stage4-libiconv
58417 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
58418 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
58419 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
58420 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
58421 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
58422 all-fixincludes: maybe-all-libiberty
58423 all-stage1-fixincludes: maybe-all-stage1-libiberty
58424 all-stage2-fixincludes: maybe-all-stage2-libiberty
58425 all-stage3-fixincludes: maybe-all-stage3-libiberty
58426 all-stage4-fixincludes: maybe-all-stage4-libiberty
58427 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
58428 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
58429 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
58430 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
58431 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
58432 all-gnattools: maybe-all-target-libada
58433 all-lto-plugin: maybe-all-libiberty
58434 all-stage1-lto-plugin: maybe-all-stage1-libiberty
58435 all-stage2-lto-plugin: maybe-all-stage2-libiberty
58436 all-stage3-lto-plugin: maybe-all-stage3-libiberty
58437 all-stage4-lto-plugin: maybe-all-stage4-libiberty
58438 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
58439 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
58440 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
58441 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
58442 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
58443 all-lto-plugin: maybe-all-libiberty-linker-plugin
58444 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
58445 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
58446 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
58447 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
58448 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
58449 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
58450 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
58451 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
58452 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
58453 all-gotools: maybe-all-target-libgo
58454 configure-intl: maybe-all-libiconv
58455 configure-stage1-intl: maybe-all-stage1-libiconv
58456 configure-stage2-intl: maybe-all-stage2-libiconv
58457 configure-stage3-intl: maybe-all-stage3-libiconv
58458 configure-stage4-intl: maybe-all-stage4-libiconv
58459 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
58460 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
58461 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58462 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58463 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58464 configure-mpfr: maybe-all-gmp
58465 configure-stage1-mpfr: maybe-all-stage1-gmp
58466 configure-stage2-mpfr: maybe-all-stage2-gmp
58467 configure-stage3-mpfr: maybe-all-stage3-gmp
58468 configure-stage4-mpfr: maybe-all-stage4-gmp
58469 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
58470 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
58471 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
58472 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
58473 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
58474 configure-mpc: maybe-all-mpfr
58475 configure-stage1-mpc: maybe-all-stage1-mpfr
58476 configure-stage2-mpc: maybe-all-stage2-mpfr
58477 configure-stage3-mpc: maybe-all-stage3-mpfr
58478 configure-stage4-mpc: maybe-all-stage4-mpfr
58479 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
58480 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
58481 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
58482 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
58483 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
58484 configure-isl: maybe-all-gmp
58485 configure-stage1-isl: maybe-all-stage1-gmp
58486 configure-stage2-isl: maybe-all-stage2-gmp
58487 configure-stage3-isl: maybe-all-stage3-gmp
58488 configure-stage4-isl: maybe-all-stage4-gmp
58489 configure-stageprofile-isl: maybe-all-stageprofile-gmp
58490 configure-stagetrain-isl: maybe-all-stagetrain-gmp
58491 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
58492 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
58493 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
58494 all-intl: maybe-all-libiconv
58495 all-stage1-intl: maybe-all-stage1-libiconv
58496 all-stage2-intl: maybe-all-stage2-libiconv
58497 all-stage3-intl: maybe-all-stage3-libiconv
58498 all-stage4-intl: maybe-all-stage4-libiconv
58499 all-stageprofile-intl: maybe-all-stageprofile-libiconv
58500 all-stagetrain-intl: maybe-all-stagetrain-libiconv
58501 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
58502 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
58503 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
58504 configure-gdb: maybe-configure-sim
58505 configure-gdb: maybe-all-gnulib
58506 all-gdb: maybe-all-gnulib
58507 all-gdb: maybe-all-readline
58508 all-gdb: maybe-all-build-bison
58509 all-gdb: maybe-all-sim
58510 all-gdb: maybe-all-libtermcap
58511 configure-libgui: maybe-configure-tcl
58512 configure-libgui: maybe-configure-tk
58513 all-libgui: maybe-all-tcl
58514 all-libgui: maybe-all-tk
58515 all-libgui: maybe-all-itcl
58516 configure-bfd: configure-libiberty
58517 configure-stage1-bfd: configure-stage1-libiberty
58518 configure-stage2-bfd: configure-stage2-libiberty
58519 configure-stage3-bfd: configure-stage3-libiberty
58520 configure-stage4-bfd: configure-stage4-libiberty
58521 configure-stageprofile-bfd: configure-stageprofile-libiberty
58522 configure-stagetrain-bfd: configure-stagetrain-libiberty
58523 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
58524 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
58525 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
58526 configure-bfd: maybe-configure-intl
58527 configure-stage1-bfd: maybe-configure-stage1-intl
58528 configure-stage2-bfd: maybe-configure-stage2-intl
58529 configure-stage3-bfd: maybe-configure-stage3-intl
58530 configure-stage4-bfd: maybe-configure-stage4-intl
58531 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
58532 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
58533 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
58534 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
58535 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
58536 all-bfd: maybe-all-libiberty
58537 all-stage1-bfd: maybe-all-stage1-libiberty
58538 all-stage2-bfd: maybe-all-stage2-libiberty
58539 all-stage3-bfd: maybe-all-stage3-libiberty
58540 all-stage4-bfd: maybe-all-stage4-libiberty
58541 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
58542 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
58543 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
58544 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
58545 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
58546 all-bfd: maybe-all-intl
58547 all-stage1-bfd: maybe-all-stage1-intl
58548 all-stage2-bfd: maybe-all-stage2-intl
58549 all-stage3-bfd: maybe-all-stage3-intl
58550 all-stage4-bfd: maybe-all-stage4-intl
58551 all-stageprofile-bfd: maybe-all-stageprofile-intl
58552 all-stagetrain-bfd: maybe-all-stagetrain-intl
58553 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
58554 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
58555 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
58556 all-bfd: maybe-all-zlib
58557 all-stage1-bfd: maybe-all-stage1-zlib
58558 all-stage2-bfd: maybe-all-stage2-zlib
58559 all-stage3-bfd: maybe-all-stage3-zlib
58560 all-stage4-bfd: maybe-all-stage4-zlib
58561 all-stageprofile-bfd: maybe-all-stageprofile-zlib
58562 all-stagetrain-bfd: maybe-all-stagetrain-zlib
58563 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
58564 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
58565 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
58566 configure-opcodes: configure-libiberty
58567 configure-stage1-opcodes: configure-stage1-libiberty
58568 configure-stage2-opcodes: configure-stage2-libiberty
58569 configure-stage3-opcodes: configure-stage3-libiberty
58570 configure-stage4-opcodes: configure-stage4-libiberty
58571 configure-stageprofile-opcodes: configure-stageprofile-libiberty
58572 configure-stagetrain-opcodes: configure-stagetrain-libiberty
58573 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
58574 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
58575 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
58576 all-opcodes: maybe-all-libiberty
58577 all-stage1-opcodes: maybe-all-stage1-libiberty
58578 all-stage2-opcodes: maybe-all-stage2-libiberty
58579 all-stage3-opcodes: maybe-all-stage3-libiberty
58580 all-stage4-opcodes: maybe-all-stage4-libiberty
58581 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58582 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58583 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58584 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58585 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58586 configure-binutils: maybe-configure-intl
58587 configure-stage1-binutils: maybe-configure-stage1-intl
58588 configure-stage2-binutils: maybe-configure-stage2-intl
58589 configure-stage3-binutils: maybe-configure-stage3-intl
58590 configure-stage4-binutils: maybe-configure-stage4-intl
58591 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
58592 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
58593 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
58594 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
58595 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
58596 all-binutils: maybe-all-libiberty
58597 all-stage1-binutils: maybe-all-stage1-libiberty
58598 all-stage2-binutils: maybe-all-stage2-libiberty
58599 all-stage3-binutils: maybe-all-stage3-libiberty
58600 all-stage4-binutils: maybe-all-stage4-libiberty
58601 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
58602 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
58603 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
58604 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
58605 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
58606 all-binutils: maybe-all-opcodes
58607 all-stage1-binutils: maybe-all-stage1-opcodes
58608 all-stage2-binutils: maybe-all-stage2-opcodes
58609 all-stage3-binutils: maybe-all-stage3-opcodes
58610 all-stage4-binutils: maybe-all-stage4-opcodes
58611 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
58612 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
58613 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
58614 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
58615 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
58616 all-binutils: maybe-all-bfd
58617 all-stage1-binutils: maybe-all-stage1-bfd
58618 all-stage2-binutils: maybe-all-stage2-bfd
58619 all-stage3-binutils: maybe-all-stage3-bfd
58620 all-stage4-binutils: maybe-all-stage4-bfd
58621 all-stageprofile-binutils: maybe-all-stageprofile-bfd
58622 all-stagetrain-binutils: maybe-all-stagetrain-bfd
58623 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
58624 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
58625 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
58626 all-binutils: maybe-all-build-flex
58627 all-stage1-binutils: maybe-all-build-flex
58628 all-stage2-binutils: maybe-all-build-flex
58629 all-stage3-binutils: maybe-all-build-flex
58630 all-stage4-binutils: maybe-all-build-flex
58631 all-stageprofile-binutils: maybe-all-build-flex
58632 all-stagetrain-binutils: maybe-all-build-flex
58633 all-stagefeedback-binutils: maybe-all-build-flex
58634 all-stageautoprofile-binutils: maybe-all-build-flex
58635 all-stageautofeedback-binutils: maybe-all-build-flex
58636 all-binutils: maybe-all-build-bison
58637 all-stage1-binutils: maybe-all-build-bison
58638 all-stage2-binutils: maybe-all-build-bison
58639 all-stage3-binutils: maybe-all-build-bison
58640 all-stage4-binutils: maybe-all-build-bison
58641 all-stageprofile-binutils: maybe-all-build-bison
58642 all-stagetrain-binutils: maybe-all-build-bison
58643 all-stagefeedback-binutils: maybe-all-build-bison
58644 all-stageautoprofile-binutils: maybe-all-build-bison
58645 all-stageautofeedback-binutils: maybe-all-build-bison
58646 all-binutils: maybe-all-intl
58647 all-stage1-binutils: maybe-all-stage1-intl
58648 all-stage2-binutils: maybe-all-stage2-intl
58649 all-stage3-binutils: maybe-all-stage3-intl
58650 all-stage4-binutils: maybe-all-stage4-intl
58651 all-stageprofile-binutils: maybe-all-stageprofile-intl
58652 all-stagetrain-binutils: maybe-all-stagetrain-intl
58653 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
58654 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
58655 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
58656 all-binutils: maybe-all-gas
58657 all-stage1-binutils: maybe-all-stage1-gas
58658 all-stage2-binutils: maybe-all-stage2-gas
58659 all-stage3-binutils: maybe-all-stage3-gas
58660 all-stage4-binutils: maybe-all-stage4-gas
58661 all-stageprofile-binutils: maybe-all-stageprofile-gas
58662 all-stagetrain-binutils: maybe-all-stagetrain-gas
58663 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
58664 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
58665 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
58666 all-binutils: maybe-all-libctf
58667 all-stage1-binutils: maybe-all-stage1-libctf
58668 all-stage2-binutils: maybe-all-stage2-libctf
58669 all-stage3-binutils: maybe-all-stage3-libctf
58670 all-stage4-binutils: maybe-all-stage4-libctf
58671 all-stageprofile-binutils: maybe-all-stageprofile-libctf
58672 all-stagetrain-binutils: maybe-all-stagetrain-libctf
58673 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
58674 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
58675 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
58676 install-binutils: maybe-install-opcodes
58677 install-strip-binutils: maybe-install-strip-opcodes
58678 install-opcodes: maybe-install-bfd
58679 install-strip-opcodes: maybe-install-strip-bfd
58680 configure-gas: maybe-configure-intl
58681 configure-stage1-gas: maybe-configure-stage1-intl
58682 configure-stage2-gas: maybe-configure-stage2-intl
58683 configure-stage3-gas: maybe-configure-stage3-intl
58684 configure-stage4-gas: maybe-configure-stage4-intl
58685 configure-stageprofile-gas: maybe-configure-stageprofile-intl
58686 configure-stagetrain-gas: maybe-configure-stagetrain-intl
58687 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
58688 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
58689 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
58690 all-gas: maybe-all-libiberty
58691 all-stage1-gas: maybe-all-stage1-libiberty
58692 all-stage2-gas: maybe-all-stage2-libiberty
58693 all-stage3-gas: maybe-all-stage3-libiberty
58694 all-stage4-gas: maybe-all-stage4-libiberty
58695 all-stageprofile-gas: maybe-all-stageprofile-libiberty
58696 all-stagetrain-gas: maybe-all-stagetrain-libiberty
58697 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
58698 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
58699 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
58700 all-gas: maybe-all-opcodes
58701 all-stage1-gas: maybe-all-stage1-opcodes
58702 all-stage2-gas: maybe-all-stage2-opcodes
58703 all-stage3-gas: maybe-all-stage3-opcodes
58704 all-stage4-gas: maybe-all-stage4-opcodes
58705 all-stageprofile-gas: maybe-all-stageprofile-opcodes
58706 all-stagetrain-gas: maybe-all-stagetrain-opcodes
58707 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
58708 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
58709 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
58710 all-gas: maybe-all-bfd
58711 all-stage1-gas: maybe-all-stage1-bfd
58712 all-stage2-gas: maybe-all-stage2-bfd
58713 all-stage3-gas: maybe-all-stage3-bfd
58714 all-stage4-gas: maybe-all-stage4-bfd
58715 all-stageprofile-gas: maybe-all-stageprofile-bfd
58716 all-stagetrain-gas: maybe-all-stagetrain-bfd
58717 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
58718 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
58719 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
58720 all-gas: maybe-all-intl
58721 all-stage1-gas: maybe-all-stage1-intl
58722 all-stage2-gas: maybe-all-stage2-intl
58723 all-stage3-gas: maybe-all-stage3-intl
58724 all-stage4-gas: maybe-all-stage4-intl
58725 all-stageprofile-gas: maybe-all-stageprofile-intl
58726 all-stagetrain-gas: maybe-all-stagetrain-intl
58727 all-stagefeedback-gas: maybe-all-stagefeedback-intl
58728 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
58729 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
58730 configure-ld: maybe-configure-intl
58731 configure-stage1-ld: maybe-configure-stage1-intl
58732 configure-stage2-ld: maybe-configure-stage2-intl
58733 configure-stage3-ld: maybe-configure-stage3-intl
58734 configure-stage4-ld: maybe-configure-stage4-intl
58735 configure-stageprofile-ld: maybe-configure-stageprofile-intl
58736 configure-stagetrain-ld: maybe-configure-stagetrain-intl
58737 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
58738 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
58739 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
58740 all-ld: maybe-all-libiberty
58741 all-stage1-ld: maybe-all-stage1-libiberty
58742 all-stage2-ld: maybe-all-stage2-libiberty
58743 all-stage3-ld: maybe-all-stage3-libiberty
58744 all-stage4-ld: maybe-all-stage4-libiberty
58745 all-stageprofile-ld: maybe-all-stageprofile-libiberty
58746 all-stagetrain-ld: maybe-all-stagetrain-libiberty
58747 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
58748 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
58749 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
58750 all-ld: maybe-all-bfd
58751 all-stage1-ld: maybe-all-stage1-bfd
58752 all-stage2-ld: maybe-all-stage2-bfd
58753 all-stage3-ld: maybe-all-stage3-bfd
58754 all-stage4-ld: maybe-all-stage4-bfd
58755 all-stageprofile-ld: maybe-all-stageprofile-bfd
58756 all-stagetrain-ld: maybe-all-stagetrain-bfd
58757 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
58758 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
58759 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
58760 all-ld: maybe-all-opcodes
58761 all-stage1-ld: maybe-all-stage1-opcodes
58762 all-stage2-ld: maybe-all-stage2-opcodes
58763 all-stage3-ld: maybe-all-stage3-opcodes
58764 all-stage4-ld: maybe-all-stage4-opcodes
58765 all-stageprofile-ld: maybe-all-stageprofile-opcodes
58766 all-stagetrain-ld: maybe-all-stagetrain-opcodes
58767 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
58768 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
58769 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
58770 all-ld: maybe-all-build-bison
58771 all-stage1-ld: maybe-all-build-bison
58772 all-stage2-ld: maybe-all-build-bison
58773 all-stage3-ld: maybe-all-build-bison
58774 all-stage4-ld: maybe-all-build-bison
58775 all-stageprofile-ld: maybe-all-build-bison
58776 all-stagetrain-ld: maybe-all-build-bison
58777 all-stagefeedback-ld: maybe-all-build-bison
58778 all-stageautoprofile-ld: maybe-all-build-bison
58779 all-stageautofeedback-ld: maybe-all-build-bison
58780 all-ld: maybe-all-build-flex
58781 all-stage1-ld: maybe-all-build-flex
58782 all-stage2-ld: maybe-all-build-flex
58783 all-stage3-ld: maybe-all-build-flex
58784 all-stage4-ld: maybe-all-build-flex
58785 all-stageprofile-ld: maybe-all-build-flex
58786 all-stagetrain-ld: maybe-all-build-flex
58787 all-stagefeedback-ld: maybe-all-build-flex
58788 all-stageautoprofile-ld: maybe-all-build-flex
58789 all-stageautofeedback-ld: maybe-all-build-flex
58790 all-ld: maybe-all-intl
58791 all-stage1-ld: maybe-all-stage1-intl
58792 all-stage2-ld: maybe-all-stage2-intl
58793 all-stage3-ld: maybe-all-stage3-intl
58794 all-stage4-ld: maybe-all-stage4-intl
58795 all-stageprofile-ld: maybe-all-stageprofile-intl
58796 all-stagetrain-ld: maybe-all-stagetrain-intl
58797 all-stagefeedback-ld: maybe-all-stagefeedback-intl
58798 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
58799 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
58800 all-ld: maybe-all-gas
58801 all-stage1-ld: maybe-all-stage1-gas
58802 all-stage2-ld: maybe-all-stage2-gas
58803 all-stage3-ld: maybe-all-stage3-gas
58804 all-stage4-ld: maybe-all-stage4-gas
58805 all-stageprofile-ld: maybe-all-stageprofile-gas
58806 all-stagetrain-ld: maybe-all-stagetrain-gas
58807 all-stagefeedback-ld: maybe-all-stagefeedback-gas
58808 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
58809 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
58810 all-ld: maybe-all-binutils
58811 all-stage1-ld: maybe-all-stage1-binutils
58812 all-stage2-ld: maybe-all-stage2-binutils
58813 all-stage3-ld: maybe-all-stage3-binutils
58814 all-stage4-ld: maybe-all-stage4-binutils
58815 all-stageprofile-ld: maybe-all-stageprofile-binutils
58816 all-stagetrain-ld: maybe-all-stagetrain-binutils
58817 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
58818 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
58819 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
58820 install-ld: maybe-install-gold
58821 install-strip-ld: maybe-install-strip-gold
58822 configure-gold: maybe-configure-intl
58823 configure-stage1-gold: maybe-configure-stage1-intl
58824 configure-stage2-gold: maybe-configure-stage2-intl
58825 configure-stage3-gold: maybe-configure-stage3-intl
58826 configure-stage4-gold: maybe-configure-stage4-intl
58827 configure-stageprofile-gold: maybe-configure-stageprofile-intl
58828 configure-stagetrain-gold: maybe-configure-stagetrain-intl
58829 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
58830 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
58831 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
58832 all-gold: maybe-all-libiberty
58833 all-stage1-gold: maybe-all-stage1-libiberty
58834 all-stage2-gold: maybe-all-stage2-libiberty
58835 all-stage3-gold: maybe-all-stage3-libiberty
58836 all-stage4-gold: maybe-all-stage4-libiberty
58837 all-stageprofile-gold: maybe-all-stageprofile-libiberty
58838 all-stagetrain-gold: maybe-all-stagetrain-libiberty
58839 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
58840 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
58841 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
58842 all-gold: maybe-all-intl
58843 all-stage1-gold: maybe-all-stage1-intl
58844 all-stage2-gold: maybe-all-stage2-intl
58845 all-stage3-gold: maybe-all-stage3-intl
58846 all-stage4-gold: maybe-all-stage4-intl
58847 all-stageprofile-gold: maybe-all-stageprofile-intl
58848 all-stagetrain-gold: maybe-all-stagetrain-intl
58849 all-stagefeedback-gold: maybe-all-stagefeedback-intl
58850 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
58851 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
58852 all-gold: maybe-all-bfd
58853 all-stage1-gold: maybe-all-stage1-bfd
58854 all-stage2-gold: maybe-all-stage2-bfd
58855 all-stage3-gold: maybe-all-stage3-bfd
58856 all-stage4-gold: maybe-all-stage4-bfd
58857 all-stageprofile-gold: maybe-all-stageprofile-bfd
58858 all-stagetrain-gold: maybe-all-stagetrain-bfd
58859 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
58860 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
58861 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
58862 all-gold: maybe-all-build-bison
58863 all-stage1-gold: maybe-all-build-bison
58864 all-stage2-gold: maybe-all-build-bison
58865 all-stage3-gold: maybe-all-build-bison
58866 all-stage4-gold: maybe-all-build-bison
58867 all-stageprofile-gold: maybe-all-build-bison
58868 all-stagetrain-gold: maybe-all-build-bison
58869 all-stagefeedback-gold: maybe-all-build-bison
58870 all-stageautoprofile-gold: maybe-all-build-bison
58871 all-stageautofeedback-gold: maybe-all-build-bison
58872 all-gold: maybe-all-gas
58873 all-stage1-gold: maybe-all-stage1-gas
58874 all-stage2-gold: maybe-all-stage2-gas
58875 all-stage3-gold: maybe-all-stage3-gas
58876 all-stage4-gold: maybe-all-stage4-gas
58877 all-stageprofile-gold: maybe-all-stageprofile-gas
58878 all-stagetrain-gold: maybe-all-stagetrain-gas
58879 all-stagefeedback-gold: maybe-all-stagefeedback-gas
58880 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58881 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58882 check-gold: maybe-all-binutils
58883 check-stage1-gold: maybe-all-stage1-binutils
58884 check-stage2-gold: maybe-all-stage2-binutils
58885 check-stage3-gold: maybe-all-stage3-binutils
58886 check-stage4-gold: maybe-all-stage4-binutils
58887 check-stageprofile-gold: maybe-all-stageprofile-binutils
58888 check-stagetrain-gold: maybe-all-stagetrain-binutils
58889 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
58890 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
58891 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
58892 check-gold: maybe-all-gas
58893 check-stage1-gold: maybe-all-stage1-gas
58894 check-stage2-gold: maybe-all-stage2-gas
58895 check-stage3-gold: maybe-all-stage3-gas
58896 check-stage4-gold: maybe-all-stage4-gas
58897 check-stageprofile-gold: maybe-all-stageprofile-gas
58898 check-stagetrain-gold: maybe-all-stagetrain-gas
58899 check-stagefeedback-gold: maybe-all-stagefeedback-gas
58900 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
58901 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
58902 configure-opcodes: maybe-configure-intl
58903 configure-stage1-opcodes: maybe-configure-stage1-intl
58904 configure-stage2-opcodes: maybe-configure-stage2-intl
58905 configure-stage3-opcodes: maybe-configure-stage3-intl
58906 configure-stage4-opcodes: maybe-configure-stage4-intl
58907 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
58908 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
58909 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
58910 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
58911 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
58912 all-opcodes: maybe-all-bfd
58913 all-stage1-opcodes: maybe-all-stage1-bfd
58914 all-stage2-opcodes: maybe-all-stage2-bfd
58915 all-stage3-opcodes: maybe-all-stage3-bfd
58916 all-stage4-opcodes: maybe-all-stage4-bfd
58917 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
58918 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
58919 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
58920 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
58921 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
58922 all-opcodes: maybe-all-libiberty
58923 all-stage1-opcodes: maybe-all-stage1-libiberty
58924 all-stage2-opcodes: maybe-all-stage2-libiberty
58925 all-stage3-opcodes: maybe-all-stage3-libiberty
58926 all-stage4-opcodes: maybe-all-stage4-libiberty
58927 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58928 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
58929 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58930 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
58931 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
58932 all-opcodes: maybe-all-intl
58933 all-stage1-opcodes: maybe-all-stage1-intl
58934 all-stage2-opcodes: maybe-all-stage2-intl
58935 all-stage3-opcodes: maybe-all-stage3-intl
58936 all-stage4-opcodes: maybe-all-stage4-intl
58937 all-stageprofile-opcodes: maybe-all-stageprofile-intl
58938 all-stagetrain-opcodes: maybe-all-stagetrain-intl
58939 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
58940 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
58941 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
58942 all-dejagnu: maybe-all-tcl
58943 all-dejagnu: maybe-all-expect
58944 all-dejagnu: maybe-all-tk
58945 configure-expect: maybe-configure-tcl
58946 configure-expect: maybe-configure-tk
58947 all-expect: maybe-all-tcl
58948 all-expect: maybe-all-tk
58949 configure-itcl: maybe-configure-tcl
58950 configure-itcl: maybe-configure-tk
58951 all-itcl: maybe-all-tcl
58952 all-itcl: maybe-all-tk
58953 install-itcl: maybe-install-tcl
58954 install-strip-itcl: maybe-install-strip-tcl
58955 configure-tk: maybe-configure-tcl
58956 all-tk: maybe-all-tcl
58957 all-sid: maybe-all-tcl
58958 all-sid: maybe-all-tk
58959 install-sid: maybe-install-tcl
58960 install-strip-sid: maybe-install-strip-tcl
58961 install-sid: maybe-install-tk
58962 install-strip-sid: maybe-install-strip-tk
58963 all-sim: maybe-all-readline
58964 all-sim: maybe-configure-gdb
58965 all-fastjar: maybe-all-build-texinfo
58966 all-libctf: all-libiberty
58967 all-stage1-libctf: all-stage1-libiberty
58968 all-stage2-libctf: all-stage2-libiberty
58969 all-stage3-libctf: all-stage3-libiberty
58970 all-stage4-libctf: all-stage4-libiberty
58971 all-stageprofile-libctf: all-stageprofile-libiberty
58972 all-stagetrain-libctf: all-stagetrain-libiberty
58973 all-stagefeedback-libctf: all-stagefeedback-libiberty
58974 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
58975 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
58976 all-libctf: maybe-all-bfd
58977 all-stage1-libctf: maybe-all-stage1-bfd
58978 all-stage2-libctf: maybe-all-stage2-bfd
58979 all-stage3-libctf: maybe-all-stage3-bfd
58980 all-stage4-libctf: maybe-all-stage4-bfd
58981 all-stageprofile-libctf: maybe-all-stageprofile-bfd
58982 all-stagetrain-libctf: maybe-all-stagetrain-bfd
58983 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
58984 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
58985 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
58986 all-libctf: maybe-all-zlib
58987 all-stage1-libctf: maybe-all-stage1-zlib
58988 all-stage2-libctf: maybe-all-stage2-zlib
58989 all-stage3-libctf: maybe-all-stage3-zlib
58990 all-stage4-libctf: maybe-all-stage4-zlib
58991 all-stageprofile-libctf: maybe-all-stageprofile-zlib
58992 all-stagetrain-libctf: maybe-all-stagetrain-zlib
58993 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
58994 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
58995 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
58996 configure-libctf: maybe-all-bfd
58997 configure-stage1-libctf: maybe-all-stage1-bfd
58998 configure-stage2-libctf: maybe-all-stage2-bfd
58999 configure-stage3-libctf: maybe-all-stage3-bfd
59000 configure-stage4-libctf: maybe-all-stage4-bfd
59001 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
59002 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
59003 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
59004 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
59005 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
59006 configure-libctf: maybe-all-intl
59007 configure-stage1-libctf: maybe-all-stage1-intl
59008 configure-stage2-libctf: maybe-all-stage2-intl
59009 configure-stage3-libctf: maybe-all-stage3-intl
59010 configure-stage4-libctf: maybe-all-stage4-intl
59011 configure-stageprofile-libctf: maybe-all-stageprofile-intl
59012 configure-stagetrain-libctf: maybe-all-stagetrain-intl
59013 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
59014 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
59015 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
59016 configure-libctf: maybe-all-zlib
59017 configure-stage1-libctf: maybe-all-stage1-zlib
59018 configure-stage2-libctf: maybe-all-stage2-zlib
59019 configure-stage3-libctf: maybe-all-stage3-zlib
59020 configure-stage4-libctf: maybe-all-stage4-zlib
59021 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
59022 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
59023 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
59024 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
59025 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
59026 configure-libctf: maybe-all-libiconv
59027 configure-stage1-libctf: maybe-all-stage1-libiconv
59028 configure-stage2-libctf: maybe-all-stage2-libiconv
59029 configure-stage3-libctf: maybe-all-stage3-libiconv
59030 configure-stage4-libctf: maybe-all-stage4-libiconv
59031 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
59032 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
59033 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
59034 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
59035 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
59036 all-bison: maybe-all-build-texinfo
59037 all-flex: maybe-all-build-bison
59038 all-flex: maybe-all-m4
59039 all-flex: maybe-all-build-texinfo
59040 all-m4: maybe-all-build-texinfo
59041 configure-target-fastjar: maybe-configure-target-zlib
59042 all-target-fastjar: maybe-all-target-zlib
59043 configure-target-libgo: maybe-configure-target-libffi
59044 all-target-libgo: maybe-all-target-libbacktrace
59045 all-target-libgo: maybe-all-target-libffi
59046 all-target-libgo: maybe-all-target-libatomic
59047 configure-target-libphobos: maybe-configure-target-libbacktrace
59048 configure-target-libphobos: maybe-configure-target-zlib
59049 all-target-libphobos: maybe-all-target-libbacktrace
59050 all-target-libphobos: maybe-all-target-zlib
59051 all-target-libphobos: maybe-all-target-libatomic
59052 configure-target-libstdc++-v3: maybe-configure-target-libgomp
59053 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
59054 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
59055 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
59056 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
59057 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
59058 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
59059 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
59060 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
59061 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
59062 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
59063 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
59064 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
59065 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
59066 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
59067 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
59068 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
59069 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
59070 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
59071 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
59072 configure-target-libvtv: maybe-all-target-libstdc++-v3
59073 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
59074 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
59075 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
59076 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
59077 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
59078 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
59079 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
59080 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
59081 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
59082 all-target-libstdc++-v3: maybe-configure-target-libgomp
59083 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
59084 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
59085 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
59086 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
59087 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
59088 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
59089 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
59090 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
59091 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
59092 install-target-libgo: maybe-install-target-libatomic
59093 install-target-libgfortran: maybe-install-target-libquadmath
59094 install-target-libgfortran: maybe-install-target-libgcc
59095 install-target-libphobos: maybe-install-target-libatomic
59096 install-target-libsanitizer: maybe-install-target-libstdc++-v3
59097 install-target-libsanitizer: maybe-install-target-libgcc
59098 install-target-libvtv: maybe-install-target-libstdc++-v3
59099 install-target-libvtv: maybe-install-target-libgcc
59100 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
59101 install-target-liboffloadmic: maybe-install-target-libgcc
59102 install-target-libitm: maybe-install-target-libgcc
59103 install-target-libobjc: maybe-install-target-libgcc
59104 install-target-libstdc++-v3: maybe-install-target-libgcc
59105 all-target-libgloss: maybe-all-target-newlib
59106 all-target-winsup: maybe-all-target-libtermcap
59107 configure-target-libgfortran: maybe-all-target-libquadmath
59108 configure-target-libgfortran: maybe-all-target-libbacktrace
59109
59110
59111 @if gcc-bootstrap
59112 configure-gnattools: stage_last
59113 configure-libcc1: stage_last
59114 configure-utils: stage_last
59115 configure-gdb: stage_last
59116 configure-gprof: stage_last
59117 configure-sid: stage_last
59118 configure-sim: stage_last
59119 configure-fastjar: stage_last
59120 configure-bison: stage_last
59121 configure-flex: stage_last
59122 configure-m4: stage_last
59123 @endif gcc-bootstrap
59124
59125 @unless gcc-bootstrap
59126 all-gnattools: maybe-all-target-libstdc++-v3
59127 configure-libcc1: maybe-configure-gcc
59128 all-libcc1: maybe-all-gcc
59129 all-utils: maybe-all-libiberty
59130 configure-gdb: maybe-all-intl
59131 configure-gdb: maybe-all-bfd
59132 configure-gdb: maybe-all-libiconv
59133 all-gdb: maybe-all-libiberty
59134 all-gdb: maybe-all-libiconv
59135 all-gdb: maybe-all-opcodes
59136 all-gdb: maybe-all-libdecnumber
59137 configure-gprof: maybe-configure-intl
59138 all-gprof: maybe-all-libiberty
59139 all-gprof: maybe-all-bfd
59140 all-gprof: maybe-all-opcodes
59141 all-gprof: maybe-all-intl
59142 all-gprof: maybe-all-gas
59143 all-sid: maybe-all-libiberty
59144 all-sid: maybe-all-bfd
59145 all-sid: maybe-all-opcodes
59146 configure-sim: maybe-configure-intl
59147 all-sim: maybe-all-intl
59148 all-sim: maybe-all-libiberty
59149 all-sim: maybe-all-bfd
59150 all-sim: maybe-all-opcodes
59151 all-fastjar: maybe-all-zlib
59152 all-fastjar: maybe-all-libiberty
59153 all-bison: maybe-all-intl
59154 all-flex: maybe-all-intl
59155 all-m4: maybe-all-intl
59156 configure-target-libgo: maybe-all-target-libstdc++-v3
59157 configure-target-liboffloadmic: maybe-configure-target-libgomp
59158 all-target-liboffloadmic: maybe-all-target-libgomp
59159 configure-target-newlib: maybe-all-binutils
59160 configure-target-newlib: maybe-all-ld
59161 @endunless gcc-bootstrap
59162
59163 # Dependencies for target modules on other target modules are
59164 # described by lang_env_dependencies; the defaults apply to anything
59165 # not mentioned there.
59166
59167
59168 @if gcc-bootstrap
59169 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
59170 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
59171 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
59172 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
59173 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
59174 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
59175 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
59176 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
59177 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
59178 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
59179 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
59180 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
59181 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
59182 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
59183 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
59184 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
59185 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
59186 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
59187 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
59188 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
59189 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
59190 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
59191 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
59192 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
59193 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
59194 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
59195 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
59196 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
59197 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
59198 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
59199 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
59200 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
59201 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
59202 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
59203 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
59204 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
59205 @endif gcc-bootstrap
59206
59207 @if gcc-no-bootstrap
59208 configure-target-libstdc++-v3: maybe-all-target-libgcc
59209 configure-target-libsanitizer: maybe-all-target-libgcc
59210 configure-target-libvtv: maybe-all-target-libgcc
59211 configure-target-liboffloadmic: maybe-all-target-libgcc
59212 configure-target-libssp: maybe-all-target-libgcc
59213 configure-target-newlib: maybe-all-target-libgcc
59214 configure-target-libbacktrace: maybe-all-target-libgcc
59215 configure-target-libquadmath: maybe-all-target-libgcc
59216 configure-target-libgfortran: maybe-all-target-libgcc
59217 configure-target-libobjc: maybe-all-target-libgcc
59218 configure-target-libgo: maybe-all-target-libgcc
59219 configure-target-libhsail-rt: maybe-all-target-libgcc
59220 configure-target-libphobos: maybe-all-target-libgcc
59221 configure-target-libtermcap: maybe-all-target-libgcc
59222 configure-target-winsup: maybe-all-target-libgcc
59223 configure-target-libgloss: maybe-all-target-libgcc
59224 configure-target-libffi: maybe-all-target-libgcc
59225 configure-target-zlib: maybe-all-target-libgcc
59226 configure-target-rda: maybe-all-target-libgcc
59227 configure-target-libada: maybe-all-target-libgcc
59228 configure-target-libgomp: maybe-all-target-libgcc
59229 configure-target-libitm: maybe-all-target-libgcc
59230 configure-target-libatomic: maybe-all-target-libgcc
59231 @endif gcc-no-bootstrap
59232
59233
59234 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
59235
59236 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
59237
59238 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
59239
59240 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
59241 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
59242
59243 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
59244
59245
59246
59247 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
59248
59249 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
59250
59251 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
59252
59253 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
59254
59255 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
59256
59257 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
59258
59259 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
59260
59261 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
59262
59263 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
59264
59265
59266 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
59267 configure-target-libffi: maybe-all-target-libstdc++-v3
59268
59269 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
59270
59271 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
59272
59273 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
59274
59275 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
59276
59277 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
59278 configure-target-libitm: maybe-all-target-libstdc++-v3
59279
59280 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
59281
59282
59283 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
59284 GDB_TK = @GDB_TK@
59285 INSTALL_GDB_TK = @INSTALL_GDB_TK@
59286 configure-gdb: $(CONFIGURE_GDB_TK)
59287 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
59288 install-gdb: $(INSTALL_GDB_TK)
59289
59290 # Serialization dependencies. Host configures don't work well in parallel to
59291 # each other, due to contention over config.cache. Target configures and
59292 # build configures are similar.
59293 @serialization_dependencies@
59294
59295 # --------------------------------
59296 # Regenerating top level configury
59297 # --------------------------------
59298
59299 # Rebuilding Makefile.in, using autogen.
59300 AUTOGEN = autogen
59301 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
59302 cd $(srcdir) && $(AUTOGEN) Makefile.def
59303
59304 # Rebuilding Makefile.
59305 Makefile: $(srcdir)/Makefile.in config.status
59306 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
59307
59308 config.status: configure
59309 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
59310
59311 # Rebuilding configure.
59312 AUTOCONF = autoconf
59313 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
59314 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
59315 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
59316 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
59317 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
59318 cd $(srcdir) && $(AUTOCONF)
59319
59320 # ------------------------------
59321 # Special directives to GNU Make
59322 # ------------------------------
59323
59324 # Don't pass command-line variables to submakes.
59325 .NOEXPORT:
59326 MAKEOVERRIDES=
59327
59328 # end of Makefile.in