/
[official-gcc.git] / Makefile.in
blob945fc5ddb8d003ae6e85270e75f3a72dfb5d00a3
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 GDB_NLM_DEPS =
105 # This is the name of the environment variable used for the path to
106 # the libraries.
107 RPATH_ENVVAR = @RPATH_ENVVAR@
109 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
110 # is used instead of the directory itself to avoid including built
111 # executables in PATH.
112 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
114 # Build programs are put under this directory.
115 BUILD_SUBDIR = @build_subdir@
116 # This is set by the configure script to the arguments to use when configuring
117 # directories built for the build system.
118 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
120 # Linker flags to use on the host, for stage1 or when not
121 # bootstrapping.
122 STAGE1_LDFLAGS = @stage1_ldflags@
124 # Libraries to use on the host, for stage1 or when not bootstrapping.
125 STAGE1_LIBS = @stage1_libs@
127 # Linker flags to use for stage2 and later.
128 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
130 # Libraries to use for stage2 and later.
131 POSTSTAGE1_LIBS = @poststage1_libs@
133 # This is the list of variables to export in the environment when
134 # configuring any subdirectory. It must also be exported whenever
135 # recursing into a build directory in case that directory's Makefile
136 # re-runs configure.
137 BASE_EXPORTS = \
138 FLEX="$(FLEX)"; export FLEX; \
139 LEX="$(LEX)"; export LEX; \
140 BISON="$(BISON)"; export BISON; \
141 YACC="$(YACC)"; export YACC; \
142 M4="$(M4)"; export M4; \
143 SED="$(SED)"; export SED; \
144 AWK="$(AWK)"; export AWK; \
145 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
147 # This is the list of variables to export in the environment when
148 # configuring subdirectories for the build system.
149 BUILD_EXPORTS = \
150 $(BASE_EXPORTS) \
151 AR="$(AR_FOR_BUILD)"; export AR; \
152 AS="$(AS_FOR_BUILD)"; export AS; \
153 CC="$(CC_FOR_BUILD)"; export CC; \
154 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
155 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
156 CXX="$(CXX_FOR_BUILD)"; export CXX; \
157 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
158 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
159 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
160 GOC="$(GOC_FOR_BUILD)"; export GOC; \
161 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
162 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
163 LD="$(LD_FOR_BUILD)"; export LD; \
164 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
165 NM="$(NM_FOR_BUILD)"; export NM; \
166 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
167 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
168 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
170 # These variables must be set on the make command line for directories
171 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
172 EXTRA_BUILD_FLAGS = \
173 CFLAGS="$(CFLAGS_FOR_BUILD)" \
174 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
176 # This is the list of directories to built for the host system.
177 SUBDIRS = @configdirs@
178 TARGET_CONFIGDIRS = @target_configdirs@
179 # This is set by the configure script to the arguments to use when configuring
180 # directories built for the host system.
181 HOST_CONFIGARGS = @host_configargs@
182 # Host programs are put under this directory, which is . except if building
183 # with srcdir=..
184 HOST_SUBDIR = @host_subdir@
185 # This is the list of variables to export in the environment when
186 # configuring subdirectories for the host system. We need to pass
187 # some to the GCC configure because of its hybrid host/target nature.
188 HOST_EXPORTS = \
189 $(BASE_EXPORTS) \
190 CC="$(CC)"; export CC; \
191 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
192 CFLAGS="$(CFLAGS)"; export CFLAGS; \
193 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
194 CXX="$(CXX)"; export CXX; \
195 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
196 GCJ="$(GCJ)"; export GCJ; \
197 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
198 GOC="$(GOC)"; export GOC; \
199 AR="$(AR)"; export AR; \
200 AS="$(AS)"; export AS; \
201 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_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 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
212 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
213 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
214 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
215 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
216 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
223 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
224 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 POSTSTAGE1_CXX_EXPORT = \
234 CXX='$(CXX)'; export CXX; \
235 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
240 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 -I$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
246 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
247 @endif target-libstdc++-v3-bootstrap
249 # Similar, for later GCC stages.
250 POSTSTAGE1_HOST_EXPORTS = \
251 $(HOST_EXPORTS) \
252 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
253 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
254 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
255 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
256 $(POSTSTAGE1_CXX_EXPORT) \
257 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
258 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
259 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
261 # Target libraries are put under this directory:
262 TARGET_SUBDIR = @target_subdir@
263 # This is set by the configure script to the arguments to use when configuring
264 # directories built for the target.
265 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
266 # This is the list of variables to export in the environment when
267 # configuring subdirectories for the target system.
268 BASE_TARGET_EXPORTS = \
269 $(BASE_EXPORTS) \
270 AR="$(AR_FOR_TARGET)"; export AR; \
271 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
272 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
274 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
275 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
276 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
277 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
278 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
279 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
280 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
281 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
282 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
283 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
284 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
285 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
286 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
287 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
288 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
289 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
290 @if gcc-bootstrap
291 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
292 @endif gcc-bootstrap
293 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
294 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
296 RAW_CXX_TARGET_EXPORTS = \
297 $(BASE_TARGET_EXPORTS) \
298 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
299 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
301 NORMAL_TARGET_EXPORTS = \
302 $(BASE_TARGET_EXPORTS) \
303 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
305 # Where to find GMP
306 HOST_GMPLIBS = @gmplibs@
307 HOST_GMPINC = @gmpinc@
309 # Where to find PPL
310 HOST_PPLLIBS = @ppllibs@
311 HOST_PPLINC = @pplinc@
313 # Where to find CLOOG
314 HOST_CLOOGLIBS = @clooglibs@
315 HOST_CLOOGINC = @clooginc@
317 # Where to find libelf
318 HOST_LIBELFLIBS = @libelflibs@
319 HOST_LIBELFINC = @libelfinc@
321 # ----------------------------------------------
322 # Programs producing files for the BUILD machine
323 # ----------------------------------------------
325 SHELL = @config_shell@
327 # pwd command to use. Allow user to override default by setting PWDCMD in
328 # the environment to account for automounters. The make variable must not
329 # be called PWDCMD, otherwise the value set here is passed to make
330 # subprocesses and overrides the setting from the user's environment.
331 # Don't use PWD since it is a common shell environment variable and we
332 # don't want to corrupt it.
333 PWD_COMMAND = $${PWDCMD-pwd}
335 # compilers to use to create programs which must be run in the build
336 # environment.
337 AR_FOR_BUILD = @AR_FOR_BUILD@
338 AS_FOR_BUILD = @AS_FOR_BUILD@
339 CC_FOR_BUILD = @CC_FOR_BUILD@
340 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
341 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
342 CXX_FOR_BUILD = @CXX_FOR_BUILD@
343 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
344 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
345 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
346 GOC_FOR_BUILD = @GOC_FOR_BUILD@
347 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
348 LD_FOR_BUILD = @LD_FOR_BUILD@
349 NM_FOR_BUILD = @NM_FOR_BUILD@
350 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
351 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
352 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
354 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
355 # here so that they can be overridden by Makefile fragments.
356 BUILD_PREFIX = @BUILD_PREFIX@
357 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
359 # Flags to pass to stage2 and later makes. They are defined
360 # here so that they can be overridden by Makefile fragments.
361 BOOT_CFLAGS= -g -O2
362 BOOT_LDFLAGS=
363 BOOT_ADAFLAGS=-gnatpg -gnata
365 AWK = @AWK@
366 SED = @SED@
367 BISON = @BISON@
368 YACC = @YACC@
369 FLEX = @FLEX@
370 LEX = @LEX@
371 M4 = @M4@
372 MAKEINFO = @MAKEINFO@
373 EXPECT = @EXPECT@
374 RUNTEST = @RUNTEST@
376 # This just becomes part of the MAKEINFO definition passed down to
377 # sub-makes. It lets flags be given on the command line while still
378 # using the makeinfo from the object tree.
379 # (Default to avoid splitting info files by setting the threshold high.)
380 MAKEINFOFLAGS = --split-size=5000000
382 # ---------------------------------------------
383 # Programs producing files for the HOST machine
384 # ---------------------------------------------
386 AS = @AS@
387 AR = @AR@
388 AR_FLAGS = rc
389 CC = @CC@
390 CXX = @CXX@
391 DLLTOOL = @DLLTOOL@
392 LD = @LD@
393 LIPO = @LIPO@
394 NM = @NM@
395 OBJDUMP = @OBJDUMP@
396 RANLIB = @RANLIB@
397 STRIP = @STRIP@
398 WINDRES = @WINDRES@
399 WINDMC = @WINDMC@
401 GNATBIND = @GNATBIND@
402 GNATMAKE = @GNATMAKE@
404 CFLAGS = @CFLAGS@
405 LDFLAGS = @LDFLAGS@
406 LIBCFLAGS = $(CFLAGS)
407 CXXFLAGS = @CXXFLAGS@
408 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
409 GOCFLAGS = $(CFLAGS)
411 TFLAGS =
413 # Defaults for all stages; some are overridden below.
415 STAGE_CFLAGS = $(BOOT_CFLAGS)
416 STAGE_TFLAGS = $(TFLAGS)
417 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
420 # Defaults for stage 1; some are overridden below.
421 STAGE1_CFLAGS = $(STAGE_CFLAGS)
422 STAGE1_CXXFLAGS = $(CXXFLAGS)
423 @if target-libstdc++-v3-bootstrap
424 # Override the above if we're bootstrapping C++.
425 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
426 @endif target-libstdc++-v3-bootstrap
427 STAGE1_TFLAGS = $(STAGE_TFLAGS)
428 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
430 # Defaults for stage 2; some are overridden below.
431 STAGE2_CFLAGS = $(STAGE_CFLAGS)
432 STAGE2_CXXFLAGS = $(CXXFLAGS)
433 @if target-libstdc++-v3-bootstrap
434 # Override the above if we're bootstrapping C++.
435 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
436 @endif target-libstdc++-v3-bootstrap
437 STAGE2_TFLAGS = $(STAGE_TFLAGS)
438 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
440 # Defaults for stage 3; some are overridden below.
441 STAGE3_CFLAGS = $(STAGE_CFLAGS)
442 STAGE3_CXXFLAGS = $(CXXFLAGS)
443 @if target-libstdc++-v3-bootstrap
444 # Override the above if we're bootstrapping C++.
445 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
446 @endif target-libstdc++-v3-bootstrap
447 STAGE3_TFLAGS = $(STAGE_TFLAGS)
448 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
450 # Defaults for stage 4; some are overridden below.
451 STAGE4_CFLAGS = $(STAGE_CFLAGS)
452 STAGE4_CXXFLAGS = $(CXXFLAGS)
453 @if target-libstdc++-v3-bootstrap
454 # Override the above if we're bootstrapping C++.
455 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
456 @endif target-libstdc++-v3-bootstrap
457 STAGE4_TFLAGS = $(STAGE_TFLAGS)
458 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
460 # Defaults for stage profile; some are overridden below.
461 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
462 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
463 @if target-libstdc++-v3-bootstrap
464 # Override the above if we're bootstrapping C++.
465 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
466 @endif target-libstdc++-v3-bootstrap
467 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
468 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
470 # Defaults for stage feedback; some are overridden below.
471 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
472 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
473 @if target-libstdc++-v3-bootstrap
474 # Override the above if we're bootstrapping C++.
475 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
476 @endif target-libstdc++-v3-bootstrap
477 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
478 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
481 # Only build the C compiler for stage1, because that is the only one that
482 # we can guarantee will build with the native compiler, and also it is the
483 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
484 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
485 # overrideable (for a bootstrap build stage1 also builds gcc.info).
487 STAGE1_CFLAGS = @stage1_cflags@
488 STAGE1_CHECKING = @stage1_checking@
489 STAGE1_LANGUAGES = @stage1_languages@
490 # * We force-disable intermodule optimizations, even if
491 # --enable-intermodule was passed, since the installed compiler
492 # probably can't handle them. Luckily, autoconf always respects
493 # the last argument when conflicting --enable arguments are passed.
494 # * Likewise, we force-disable coverage flags, since the installed
495 # compiler probably has never heard of them.
496 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
497 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
499 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
500 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
502 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
503 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
505 do-compare = @do_compare@
506 do-compare3 = $(do-compare)
508 # -----------------------------------------------
509 # Programs producing files for the TARGET machine
510 # -----------------------------------------------
512 AR_FOR_TARGET=@AR_FOR_TARGET@
513 AS_FOR_TARGET=@AS_FOR_TARGET@
514 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
516 # If GCC_FOR_TARGET is not overriden on the command line, then this
517 # variable is passed down to the gcc Makefile, where it is used to
518 # build libgcc2.a. We define it here so that it can itself be
519 # overridden on the command line.
520 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
521 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
522 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
523 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
524 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
525 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
526 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
527 LD_FOR_TARGET=@LD_FOR_TARGET@
529 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
530 NM_FOR_TARGET=@NM_FOR_TARGET@
531 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
532 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
533 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
534 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
535 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
537 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
538 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
539 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
541 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
542 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
544 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
545 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
546 LDFLAGS_FOR_TARGET =
547 GOCFLAGS_FOR_TARGET = -O2 -g
549 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
550 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
551 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
553 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
555 # ------------------------------------
556 # Miscellaneous targets and flag lists
557 # ------------------------------------
559 # The first rule in the file had better be this one. Don't put any above it.
560 # This lives here to allow makefile fragments to contain dependencies.
561 all:
563 #### host and target specific makefile fragments come in here.
564 @target_makefile_frag@
565 @alphaieee_frag@
566 @ospace_frag@
567 @host_makefile_frag@
570 # This is the list of directories that may be needed in RPATH_ENVVAR
571 # so that programs built for the target machine work.
572 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
574 @if target-libstdc++-v3
575 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
576 @endif target-libstdc++-v3
578 @if target-libmudflap
579 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
580 @endif target-libmudflap
582 @if target-libssp
583 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
584 @endif target-libssp
586 @if target-libgomp
587 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
588 @endif target-libgomp
592 # This is the list of directories that may be needed in RPATH_ENVVAR
593 # so that programs built for the host machine work.
594 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
596 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
597 @if gcc
598 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
599 @endif gcc
602 @if bfd
603 HOST_LIB_PATH_bfd = \
604 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
605 @endif bfd
607 @if opcodes
608 HOST_LIB_PATH_opcodes = \
609 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
610 @endif opcodes
612 @if gmp
613 HOST_LIB_PATH_gmp = \
614 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
615 @endif gmp
617 @if mpfr
618 HOST_LIB_PATH_mpfr = \
619 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
620 @endif mpfr
622 @if mpc
623 HOST_LIB_PATH_mpc = \
624 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
625 @endif mpc
627 @if ppl
628 HOST_LIB_PATH_ppl = \
629 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
630 @endif ppl
632 @if cloog
633 HOST_LIB_PATH_cloog = \
634 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
635 @endif cloog
637 @if libelf
638 HOST_LIB_PATH_libelf = \
639 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
640 @endif libelf
643 CXX_FOR_TARGET_FLAG_TO_PASS = \
644 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
645 @if target-libstdc++-v3
646 # CXX_FOR_TARGET is tricky to get right for target libs that require a
647 # functional C++ compiler. When we recurse, if we expand
648 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
649 # libstdc++ include flags from the script. Instead, we get an
650 # -funconfigured-* word, so that we'll get errors if this invalid C++
651 # command line is used for anything, but also so that we can use the
652 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
653 # don't pass it on, sub-make will use the default definition, that
654 # re-expands it at the time of use, so we'll get it right when we need
655 # it. One potential exception is the expansion of CXX_FOR_TARGET
656 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
657 # really work, for C++ host programs can't depend on the current-stage
658 # C++ target library.
659 CXX_FOR_TARGET_FLAG_TO_PASS = \
660 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
661 @endif target-libstdc++-v3
663 # Flags to pass down to all sub-makes.
664 BASE_FLAGS_TO_PASS = \
665 "DESTDIR=$(DESTDIR)" \
666 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
667 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
668 "bindir=$(bindir)" \
669 "datadir=$(datadir)" \
670 "exec_prefix=$(exec_prefix)" \
671 "includedir=$(includedir)" \
672 "datarootdir=$(datarootdir)" \
673 "docdir=$(docdir)" \
674 "infodir=$(infodir)" \
675 "pdfdir=$(pdfdir)" \
676 "htmldir=$(htmldir)" \
677 "libdir=$(libdir)" \
678 "libexecdir=$(libexecdir)" \
679 "lispdir=$(lispdir)" \
680 "localstatedir=$(localstatedir)" \
681 "mandir=$(mandir)" \
682 "oldincludedir=$(oldincludedir)" \
683 "prefix=$(prefix)" \
684 "sbindir=$(sbindir)" \
685 "sharedstatedir=$(sharedstatedir)" \
686 "sysconfdir=$(sysconfdir)" \
687 "tooldir=$(tooldir)" \
688 "build_tooldir=$(build_tooldir)" \
689 "target_alias=$(target_alias)" \
690 "AWK=$(AWK)" \
691 "BISON=$(BISON)" \
692 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
693 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
694 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
695 "EXPECT=$(EXPECT)" \
696 "FLEX=$(FLEX)" \
697 "INSTALL=$(INSTALL)" \
698 "INSTALL_DATA=$(INSTALL_DATA)" \
699 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
700 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
701 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
702 "LEX=$(LEX)" \
703 "M4=$(M4)" \
704 "MAKE=$(MAKE)" \
705 "RUNTEST=$(RUNTEST)" \
706 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
707 "SED=$(SED)" \
708 "SHELL=$(SHELL)" \
709 "YACC=$(YACC)" \
710 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
711 "ADA_CFLAGS=$(ADA_CFLAGS)" \
712 "AR_FLAGS=$(AR_FLAGS)" \
713 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
714 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
715 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
716 "CFLAGS=$(CFLAGS)" \
717 "CXXFLAGS=$(CXXFLAGS)" \
718 "LDFLAGS=$(LDFLAGS)" \
719 "LIBCFLAGS=$(LIBCFLAGS)" \
720 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
721 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
722 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
723 "GNATBIND=$(GNATBIND)" \
724 "GNATMAKE=$(GNATMAKE)" \
725 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
726 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
727 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
728 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
729 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
730 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
731 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
732 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
733 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
734 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
735 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
736 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
737 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
738 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
739 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
740 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
741 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
742 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
743 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
744 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
745 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
746 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
747 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
748 "BUILD_CONFIG=$(BUILD_CONFIG)" \
749 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
750 "LEAN=$(LEAN)" \
751 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
752 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
753 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
754 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
755 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
756 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
757 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
758 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
759 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
760 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
761 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
762 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
763 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
764 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
765 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
766 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
767 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
768 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
769 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
770 "TFLAGS=$(TFLAGS)" \
771 "CONFIG_SHELL=$(SHELL)" \
772 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
774 # We leave this in just in case, but it is not needed anymore.
775 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
777 # Flags to pass down to most sub-makes, in which we're building with
778 # the host environment.
779 EXTRA_HOST_FLAGS = \
780 'AR=$(AR)' \
781 'AS=$(AS)' \
782 'CC=$(CC)' \
783 'CXX=$(CXX)' \
784 'DLLTOOL=$(DLLTOOL)' \
785 'GCJ=$(GCJ)' \
786 'GFORTRAN=$(GFORTRAN)' \
787 'GOC=$(GOC)' \
788 'LD=$(LD)' \
789 'LIPO=$(LIPO)' \
790 'NM=$(NM)' \
791 'OBJDUMP=$(OBJDUMP)' \
792 'RANLIB=$(RANLIB)' \
793 'STRIP=$(STRIP)' \
794 'WINDRES=$(WINDRES)' \
795 'WINDMC=$(WINDMC)'
797 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
799 # Flags that are concerned with the location of the X11 include files
800 # and library files
802 # NOTE: until the top-level is getting the values via autoconf, it only
803 # causes problems to have this top-level Makefile overriding the autoconf-set
804 # values in child directories. Only variables that don't conflict with
805 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
807 X11_FLAGS_TO_PASS = \
808 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
809 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
811 # Flags to pass to stage2 and later makes.
813 POSTSTAGE1_FLAGS_TO_PASS = \
814 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
815 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
816 GNATBIND="$${GNATBIND}" \
817 LDFLAGS="$${LDFLAGS}" \
818 HOST_LIBS="$${HOST_LIBS}" \
819 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
821 # Flags to pass down to makes which are built with the target environment.
822 # The double $ decreases the length of the command line; those variables
823 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
824 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
825 # so we expand them here.
826 EXTRA_TARGET_FLAGS = \
827 'AR=$$(AR_FOR_TARGET)' \
828 'AS=$(COMPILER_AS_FOR_TARGET)' \
829 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
830 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
831 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
832 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
833 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
834 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
835 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
838 'LD=$(COMPILER_LD_FOR_TARGET)' \
839 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
840 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
841 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
842 'NM=$(COMPILER_NM_FOR_TARGET)' \
843 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
844 'RANLIB=$$(RANLIB_FOR_TARGET)' \
845 'WINDRES=$$(WINDRES_FOR_TARGET)' \
846 'WINDMC=$$(WINDMC_FOR_TARGET)' \
847 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
848 "TFLAGS=$$TFLAGS"
850 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
852 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
853 # unfortunately needs the native compiler and the target ar and
854 # ranlib.
855 # If any variables are added here, they must be added to do-*, below.
856 # The BUILD_* variables are a special case, which are used for the gcc
857 # cross-building scheme.
858 EXTRA_GCC_FLAGS = \
859 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
860 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
861 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
862 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
863 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
864 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
866 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
868 @if gcc
869 BUILD_CONFIG = @BUILD_CONFIG@
870 ifneq ($(BUILD_CONFIG),)
871 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
872 endif
873 @endif gcc
875 .PHONY: configure-host
876 configure-host: \
877 maybe-configure-ash \
878 maybe-configure-autoconf \
879 maybe-configure-automake \
880 maybe-configure-bash \
881 maybe-configure-bfd \
882 maybe-configure-opcodes \
883 maybe-configure-binutils \
884 maybe-configure-bison \
885 maybe-configure-byacc \
886 maybe-configure-bzip2 \
887 maybe-configure-cgen \
888 maybe-configure-dejagnu \
889 maybe-configure-diff \
890 maybe-configure-dosutils \
891 maybe-configure-etc \
892 maybe-configure-fastjar \
893 maybe-configure-fileutils \
894 maybe-configure-findutils \
895 maybe-configure-find \
896 maybe-configure-fixincludes \
897 maybe-configure-flex \
898 maybe-configure-gas \
899 maybe-configure-gcc \
900 maybe-configure-gawk \
901 maybe-configure-gettext \
902 maybe-configure-gmp \
903 maybe-configure-mpfr \
904 maybe-configure-mpc \
905 maybe-configure-ppl \
906 maybe-configure-cloog \
907 maybe-configure-libelf \
908 maybe-configure-gnuserv \
909 maybe-configure-gold \
910 maybe-configure-gprof \
911 maybe-configure-gzip \
912 maybe-configure-hello \
913 maybe-configure-indent \
914 maybe-configure-intl \
915 maybe-configure-tcl \
916 maybe-configure-itcl \
917 maybe-configure-ld \
918 maybe-configure-libcpp \
919 maybe-configure-libdecnumber \
920 maybe-configure-libgui \
921 maybe-configure-libiberty \
922 maybe-configure-libiconv \
923 maybe-configure-libtool \
924 maybe-configure-m4 \
925 maybe-configure-make \
926 maybe-configure-mmalloc \
927 maybe-configure-patch \
928 maybe-configure-perl \
929 maybe-configure-prms \
930 maybe-configure-rcs \
931 maybe-configure-readline \
932 maybe-configure-release \
933 maybe-configure-recode \
934 maybe-configure-sed \
935 maybe-configure-send-pr \
936 maybe-configure-shellutils \
937 maybe-configure-sid \
938 maybe-configure-sim \
939 maybe-configure-tar \
940 maybe-configure-texinfo \
941 maybe-configure-textutils \
942 maybe-configure-time \
943 maybe-configure-uudecode \
944 maybe-configure-wdiff \
945 maybe-configure-zip \
946 maybe-configure-zlib \
947 maybe-configure-gdb \
948 maybe-configure-expect \
949 maybe-configure-guile \
950 maybe-configure-tk \
951 maybe-configure-libtermcap \
952 maybe-configure-utils \
953 maybe-configure-gnattools \
954 maybe-configure-lto-plugin
955 .PHONY: configure-target
956 configure-target: \
957 maybe-configure-target-libstdc++-v3 \
958 maybe-configure-target-libmudflap \
959 maybe-configure-target-libssp \
960 maybe-configure-target-newlib \
961 maybe-configure-target-libgcc \
962 maybe-configure-target-libquadmath \
963 maybe-configure-target-libgfortran \
964 maybe-configure-target-libobjc \
965 maybe-configure-target-libgo \
966 maybe-configure-target-libtermcap \
967 maybe-configure-target-winsup \
968 maybe-configure-target-libgloss \
969 maybe-configure-target-libiberty \
970 maybe-configure-target-gperf \
971 maybe-configure-target-examples \
972 maybe-configure-target-libffi \
973 maybe-configure-target-libjava \
974 maybe-configure-target-zlib \
975 maybe-configure-target-boehm-gc \
976 maybe-configure-target-qthreads \
977 maybe-configure-target-rda \
978 maybe-configure-target-libada \
979 maybe-configure-target-libgomp
981 # The target built for a native non-bootstrap build.
982 .PHONY: all
983 all:
984 @if gcc-bootstrap
985 [ -f stage_final ] || echo stage3 > stage_final
986 @r=`${PWD_COMMAND}`; export r; \
987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
988 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
989 @endif gcc-bootstrap
990 @: $(MAKE); $(unstage)
991 @r=`${PWD_COMMAND}`; export r; \
992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
993 @if gcc-bootstrap
994 if [ -f stage_last ]; then \
995 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
996 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
997 else \
998 @endif gcc-bootstrap
999 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1000 @if gcc-bootstrap
1002 fi \
1003 @endif gcc-bootstrap
1004 && :
1006 .PHONY: all-build
1008 all-build: maybe-all-build-libiberty
1009 all-build: maybe-all-build-bison
1010 all-build: maybe-all-build-byacc
1011 all-build: maybe-all-build-flex
1012 all-build: maybe-all-build-m4
1013 all-build: maybe-all-build-texinfo
1014 all-build: maybe-all-build-fixincludes
1016 .PHONY: all-host
1018 all-host: maybe-all-ash
1019 all-host: maybe-all-autoconf
1020 all-host: maybe-all-automake
1021 all-host: maybe-all-bash
1022 @if bfd-no-bootstrap
1023 all-host: maybe-all-bfd
1024 @endif bfd-no-bootstrap
1025 @if opcodes-no-bootstrap
1026 all-host: maybe-all-opcodes
1027 @endif opcodes-no-bootstrap
1028 @if binutils-no-bootstrap
1029 all-host: maybe-all-binutils
1030 @endif binutils-no-bootstrap
1031 all-host: maybe-all-bison
1032 all-host: maybe-all-byacc
1033 all-host: maybe-all-bzip2
1034 all-host: maybe-all-cgen
1035 all-host: maybe-all-dejagnu
1036 all-host: maybe-all-diff
1037 all-host: maybe-all-dosutils
1038 all-host: maybe-all-etc
1039 all-host: maybe-all-fastjar
1040 all-host: maybe-all-fileutils
1041 all-host: maybe-all-findutils
1042 all-host: maybe-all-find
1043 all-host: maybe-all-fixincludes
1044 all-host: maybe-all-flex
1045 @if gas-no-bootstrap
1046 all-host: maybe-all-gas
1047 @endif gas-no-bootstrap
1048 @if gcc-no-bootstrap
1049 all-host: maybe-all-gcc
1050 @endif gcc-no-bootstrap
1051 all-host: maybe-all-gawk
1052 all-host: maybe-all-gettext
1053 @if gmp-no-bootstrap
1054 all-host: maybe-all-gmp
1055 @endif gmp-no-bootstrap
1056 @if mpfr-no-bootstrap
1057 all-host: maybe-all-mpfr
1058 @endif mpfr-no-bootstrap
1059 @if mpc-no-bootstrap
1060 all-host: maybe-all-mpc
1061 @endif mpc-no-bootstrap
1062 @if ppl-no-bootstrap
1063 all-host: maybe-all-ppl
1064 @endif ppl-no-bootstrap
1065 @if cloog-no-bootstrap
1066 all-host: maybe-all-cloog
1067 @endif cloog-no-bootstrap
1068 @if libelf-no-bootstrap
1069 all-host: maybe-all-libelf
1070 @endif libelf-no-bootstrap
1071 all-host: maybe-all-gnuserv
1072 @if gold-no-bootstrap
1073 all-host: maybe-all-gold
1074 @endif gold-no-bootstrap
1075 all-host: maybe-all-gprof
1076 all-host: maybe-all-gzip
1077 all-host: maybe-all-hello
1078 all-host: maybe-all-indent
1079 @if intl-no-bootstrap
1080 all-host: maybe-all-intl
1081 @endif intl-no-bootstrap
1082 all-host: maybe-all-tcl
1083 all-host: maybe-all-itcl
1084 @if ld-no-bootstrap
1085 all-host: maybe-all-ld
1086 @endif ld-no-bootstrap
1087 @if libcpp-no-bootstrap
1088 all-host: maybe-all-libcpp
1089 @endif libcpp-no-bootstrap
1090 @if libdecnumber-no-bootstrap
1091 all-host: maybe-all-libdecnumber
1092 @endif libdecnumber-no-bootstrap
1093 all-host: maybe-all-libgui
1094 @if libiberty-no-bootstrap
1095 all-host: maybe-all-libiberty
1096 @endif libiberty-no-bootstrap
1097 all-host: maybe-all-libiconv
1098 all-host: maybe-all-libtool
1099 all-host: maybe-all-m4
1100 all-host: maybe-all-make
1101 all-host: maybe-all-mmalloc
1102 all-host: maybe-all-patch
1103 all-host: maybe-all-perl
1104 all-host: maybe-all-prms
1105 all-host: maybe-all-rcs
1106 all-host: maybe-all-readline
1107 all-host: maybe-all-release
1108 all-host: maybe-all-recode
1109 all-host: maybe-all-sed
1110 all-host: maybe-all-send-pr
1111 all-host: maybe-all-shellutils
1112 all-host: maybe-all-sid
1113 all-host: maybe-all-sim
1114 all-host: maybe-all-tar
1115 all-host: maybe-all-texinfo
1116 all-host: maybe-all-textutils
1117 all-host: maybe-all-time
1118 all-host: maybe-all-uudecode
1119 all-host: maybe-all-wdiff
1120 all-host: maybe-all-zip
1121 @if zlib-no-bootstrap
1122 all-host: maybe-all-zlib
1123 @endif zlib-no-bootstrap
1124 all-host: maybe-all-gdb
1125 all-host: maybe-all-expect
1126 all-host: maybe-all-guile
1127 all-host: maybe-all-tk
1128 all-host: maybe-all-libtermcap
1129 all-host: maybe-all-utils
1130 all-host: maybe-all-gnattools
1131 @if lto-plugin-no-bootstrap
1132 all-host: maybe-all-lto-plugin
1133 @endif lto-plugin-no-bootstrap
1135 .PHONY: all-target
1137 @if target-libstdc++-v3-no-bootstrap
1138 all-target: maybe-all-target-libstdc++-v3
1139 @endif target-libstdc++-v3-no-bootstrap
1140 all-target: maybe-all-target-libmudflap
1141 all-target: maybe-all-target-libssp
1142 all-target: maybe-all-target-newlib
1143 @if target-libgcc-no-bootstrap
1144 all-target: maybe-all-target-libgcc
1145 @endif target-libgcc-no-bootstrap
1146 all-target: maybe-all-target-libquadmath
1147 all-target: maybe-all-target-libgfortran
1148 all-target: maybe-all-target-libobjc
1149 all-target: maybe-all-target-libgo
1150 all-target: maybe-all-target-libtermcap
1151 all-target: maybe-all-target-winsup
1152 all-target: maybe-all-target-libgloss
1153 all-target: maybe-all-target-libiberty
1154 all-target: maybe-all-target-gperf
1155 all-target: maybe-all-target-examples
1156 all-target: maybe-all-target-libffi
1157 all-target: maybe-all-target-libjava
1158 all-target: maybe-all-target-zlib
1159 all-target: maybe-all-target-boehm-gc
1160 all-target: maybe-all-target-qthreads
1161 all-target: maybe-all-target-rda
1162 all-target: maybe-all-target-libada
1163 @if target-libgomp-no-bootstrap
1164 all-target: maybe-all-target-libgomp
1165 @endif target-libgomp-no-bootstrap
1167 # Do a target for all the subdirectories. A ``make do-X'' will do a
1168 # ``make X'' in all subdirectories (because, in general, there is a
1169 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1170 # but it may do additional work as well).
1172 .PHONY: do-info
1173 do-info:
1174 @: $(MAKE); $(unstage)
1175 @r=`${PWD_COMMAND}`; export r; \
1176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1177 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1178 info-target
1181 .PHONY: info-host
1183 info-host: maybe-info-ash
1184 info-host: maybe-info-autoconf
1185 info-host: maybe-info-automake
1186 info-host: maybe-info-bash
1187 info-host: maybe-info-bfd
1188 info-host: maybe-info-opcodes
1189 info-host: maybe-info-binutils
1190 info-host: maybe-info-bison
1191 info-host: maybe-info-byacc
1192 info-host: maybe-info-bzip2
1193 info-host: maybe-info-cgen
1194 info-host: maybe-info-dejagnu
1195 info-host: maybe-info-diff
1196 info-host: maybe-info-dosutils
1197 info-host: maybe-info-etc
1198 info-host: maybe-info-fastjar
1199 info-host: maybe-info-fileutils
1200 info-host: maybe-info-findutils
1201 info-host: maybe-info-find
1202 info-host: maybe-info-fixincludes
1203 info-host: maybe-info-flex
1204 info-host: maybe-info-gas
1205 info-host: maybe-info-gcc
1206 info-host: maybe-info-gawk
1207 info-host: maybe-info-gettext
1208 info-host: maybe-info-gmp
1209 info-host: maybe-info-mpfr
1210 info-host: maybe-info-mpc
1211 info-host: maybe-info-ppl
1212 info-host: maybe-info-cloog
1213 info-host: maybe-info-libelf
1214 info-host: maybe-info-gnuserv
1215 info-host: maybe-info-gold
1216 info-host: maybe-info-gprof
1217 info-host: maybe-info-gzip
1218 info-host: maybe-info-hello
1219 info-host: maybe-info-indent
1220 info-host: maybe-info-intl
1221 info-host: maybe-info-tcl
1222 info-host: maybe-info-itcl
1223 info-host: maybe-info-ld
1224 info-host: maybe-info-libcpp
1225 info-host: maybe-info-libdecnumber
1226 info-host: maybe-info-libgui
1227 info-host: maybe-info-libiberty
1228 info-host: maybe-info-libiconv
1229 info-host: maybe-info-libtool
1230 info-host: maybe-info-m4
1231 info-host: maybe-info-make
1232 info-host: maybe-info-mmalloc
1233 info-host: maybe-info-patch
1234 info-host: maybe-info-perl
1235 info-host: maybe-info-prms
1236 info-host: maybe-info-rcs
1237 info-host: maybe-info-readline
1238 info-host: maybe-info-release
1239 info-host: maybe-info-recode
1240 info-host: maybe-info-sed
1241 info-host: maybe-info-send-pr
1242 info-host: maybe-info-shellutils
1243 info-host: maybe-info-sid
1244 info-host: maybe-info-sim
1245 info-host: maybe-info-tar
1246 info-host: maybe-info-texinfo
1247 info-host: maybe-info-textutils
1248 info-host: maybe-info-time
1249 info-host: maybe-info-uudecode
1250 info-host: maybe-info-wdiff
1251 info-host: maybe-info-zip
1252 info-host: maybe-info-zlib
1253 info-host: maybe-info-gdb
1254 info-host: maybe-info-expect
1255 info-host: maybe-info-guile
1256 info-host: maybe-info-tk
1257 info-host: maybe-info-libtermcap
1258 info-host: maybe-info-utils
1259 info-host: maybe-info-gnattools
1260 info-host: maybe-info-lto-plugin
1262 .PHONY: info-target
1264 info-target: maybe-info-target-libstdc++-v3
1265 info-target: maybe-info-target-libmudflap
1266 info-target: maybe-info-target-libssp
1267 info-target: maybe-info-target-newlib
1268 info-target: maybe-info-target-libgcc
1269 info-target: maybe-info-target-libquadmath
1270 info-target: maybe-info-target-libgfortran
1271 info-target: maybe-info-target-libobjc
1272 info-target: maybe-info-target-libgo
1273 info-target: maybe-info-target-libtermcap
1274 info-target: maybe-info-target-winsup
1275 info-target: maybe-info-target-libgloss
1276 info-target: maybe-info-target-libiberty
1277 info-target: maybe-info-target-gperf
1278 info-target: maybe-info-target-examples
1279 info-target: maybe-info-target-libffi
1280 info-target: maybe-info-target-libjava
1281 info-target: maybe-info-target-zlib
1282 info-target: maybe-info-target-boehm-gc
1283 info-target: maybe-info-target-qthreads
1284 info-target: maybe-info-target-rda
1285 info-target: maybe-info-target-libada
1286 info-target: maybe-info-target-libgomp
1288 .PHONY: do-dvi
1289 do-dvi:
1290 @: $(MAKE); $(unstage)
1291 @r=`${PWD_COMMAND}`; export r; \
1292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1293 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1294 dvi-target
1297 .PHONY: dvi-host
1299 dvi-host: maybe-dvi-ash
1300 dvi-host: maybe-dvi-autoconf
1301 dvi-host: maybe-dvi-automake
1302 dvi-host: maybe-dvi-bash
1303 dvi-host: maybe-dvi-bfd
1304 dvi-host: maybe-dvi-opcodes
1305 dvi-host: maybe-dvi-binutils
1306 dvi-host: maybe-dvi-bison
1307 dvi-host: maybe-dvi-byacc
1308 dvi-host: maybe-dvi-bzip2
1309 dvi-host: maybe-dvi-cgen
1310 dvi-host: maybe-dvi-dejagnu
1311 dvi-host: maybe-dvi-diff
1312 dvi-host: maybe-dvi-dosutils
1313 dvi-host: maybe-dvi-etc
1314 dvi-host: maybe-dvi-fastjar
1315 dvi-host: maybe-dvi-fileutils
1316 dvi-host: maybe-dvi-findutils
1317 dvi-host: maybe-dvi-find
1318 dvi-host: maybe-dvi-fixincludes
1319 dvi-host: maybe-dvi-flex
1320 dvi-host: maybe-dvi-gas
1321 dvi-host: maybe-dvi-gcc
1322 dvi-host: maybe-dvi-gawk
1323 dvi-host: maybe-dvi-gettext
1324 dvi-host: maybe-dvi-gmp
1325 dvi-host: maybe-dvi-mpfr
1326 dvi-host: maybe-dvi-mpc
1327 dvi-host: maybe-dvi-ppl
1328 dvi-host: maybe-dvi-cloog
1329 dvi-host: maybe-dvi-libelf
1330 dvi-host: maybe-dvi-gnuserv
1331 dvi-host: maybe-dvi-gold
1332 dvi-host: maybe-dvi-gprof
1333 dvi-host: maybe-dvi-gzip
1334 dvi-host: maybe-dvi-hello
1335 dvi-host: maybe-dvi-indent
1336 dvi-host: maybe-dvi-intl
1337 dvi-host: maybe-dvi-tcl
1338 dvi-host: maybe-dvi-itcl
1339 dvi-host: maybe-dvi-ld
1340 dvi-host: maybe-dvi-libcpp
1341 dvi-host: maybe-dvi-libdecnumber
1342 dvi-host: maybe-dvi-libgui
1343 dvi-host: maybe-dvi-libiberty
1344 dvi-host: maybe-dvi-libiconv
1345 dvi-host: maybe-dvi-libtool
1346 dvi-host: maybe-dvi-m4
1347 dvi-host: maybe-dvi-make
1348 dvi-host: maybe-dvi-mmalloc
1349 dvi-host: maybe-dvi-patch
1350 dvi-host: maybe-dvi-perl
1351 dvi-host: maybe-dvi-prms
1352 dvi-host: maybe-dvi-rcs
1353 dvi-host: maybe-dvi-readline
1354 dvi-host: maybe-dvi-release
1355 dvi-host: maybe-dvi-recode
1356 dvi-host: maybe-dvi-sed
1357 dvi-host: maybe-dvi-send-pr
1358 dvi-host: maybe-dvi-shellutils
1359 dvi-host: maybe-dvi-sid
1360 dvi-host: maybe-dvi-sim
1361 dvi-host: maybe-dvi-tar
1362 dvi-host: maybe-dvi-texinfo
1363 dvi-host: maybe-dvi-textutils
1364 dvi-host: maybe-dvi-time
1365 dvi-host: maybe-dvi-uudecode
1366 dvi-host: maybe-dvi-wdiff
1367 dvi-host: maybe-dvi-zip
1368 dvi-host: maybe-dvi-zlib
1369 dvi-host: maybe-dvi-gdb
1370 dvi-host: maybe-dvi-expect
1371 dvi-host: maybe-dvi-guile
1372 dvi-host: maybe-dvi-tk
1373 dvi-host: maybe-dvi-libtermcap
1374 dvi-host: maybe-dvi-utils
1375 dvi-host: maybe-dvi-gnattools
1376 dvi-host: maybe-dvi-lto-plugin
1378 .PHONY: dvi-target
1380 dvi-target: maybe-dvi-target-libstdc++-v3
1381 dvi-target: maybe-dvi-target-libmudflap
1382 dvi-target: maybe-dvi-target-libssp
1383 dvi-target: maybe-dvi-target-newlib
1384 dvi-target: maybe-dvi-target-libgcc
1385 dvi-target: maybe-dvi-target-libquadmath
1386 dvi-target: maybe-dvi-target-libgfortran
1387 dvi-target: maybe-dvi-target-libobjc
1388 dvi-target: maybe-dvi-target-libgo
1389 dvi-target: maybe-dvi-target-libtermcap
1390 dvi-target: maybe-dvi-target-winsup
1391 dvi-target: maybe-dvi-target-libgloss
1392 dvi-target: maybe-dvi-target-libiberty
1393 dvi-target: maybe-dvi-target-gperf
1394 dvi-target: maybe-dvi-target-examples
1395 dvi-target: maybe-dvi-target-libffi
1396 dvi-target: maybe-dvi-target-libjava
1397 dvi-target: maybe-dvi-target-zlib
1398 dvi-target: maybe-dvi-target-boehm-gc
1399 dvi-target: maybe-dvi-target-qthreads
1400 dvi-target: maybe-dvi-target-rda
1401 dvi-target: maybe-dvi-target-libada
1402 dvi-target: maybe-dvi-target-libgomp
1404 .PHONY: do-pdf
1405 do-pdf:
1406 @: $(MAKE); $(unstage)
1407 @r=`${PWD_COMMAND}`; export r; \
1408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1409 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1410 pdf-target
1413 .PHONY: pdf-host
1415 pdf-host: maybe-pdf-ash
1416 pdf-host: maybe-pdf-autoconf
1417 pdf-host: maybe-pdf-automake
1418 pdf-host: maybe-pdf-bash
1419 pdf-host: maybe-pdf-bfd
1420 pdf-host: maybe-pdf-opcodes
1421 pdf-host: maybe-pdf-binutils
1422 pdf-host: maybe-pdf-bison
1423 pdf-host: maybe-pdf-byacc
1424 pdf-host: maybe-pdf-bzip2
1425 pdf-host: maybe-pdf-cgen
1426 pdf-host: maybe-pdf-dejagnu
1427 pdf-host: maybe-pdf-diff
1428 pdf-host: maybe-pdf-dosutils
1429 pdf-host: maybe-pdf-etc
1430 pdf-host: maybe-pdf-fastjar
1431 pdf-host: maybe-pdf-fileutils
1432 pdf-host: maybe-pdf-findutils
1433 pdf-host: maybe-pdf-find
1434 pdf-host: maybe-pdf-fixincludes
1435 pdf-host: maybe-pdf-flex
1436 pdf-host: maybe-pdf-gas
1437 pdf-host: maybe-pdf-gcc
1438 pdf-host: maybe-pdf-gawk
1439 pdf-host: maybe-pdf-gettext
1440 pdf-host: maybe-pdf-gmp
1441 pdf-host: maybe-pdf-mpfr
1442 pdf-host: maybe-pdf-mpc
1443 pdf-host: maybe-pdf-ppl
1444 pdf-host: maybe-pdf-cloog
1445 pdf-host: maybe-pdf-libelf
1446 pdf-host: maybe-pdf-gnuserv
1447 pdf-host: maybe-pdf-gold
1448 pdf-host: maybe-pdf-gprof
1449 pdf-host: maybe-pdf-gzip
1450 pdf-host: maybe-pdf-hello
1451 pdf-host: maybe-pdf-indent
1452 pdf-host: maybe-pdf-intl
1453 pdf-host: maybe-pdf-tcl
1454 pdf-host: maybe-pdf-itcl
1455 pdf-host: maybe-pdf-ld
1456 pdf-host: maybe-pdf-libcpp
1457 pdf-host: maybe-pdf-libdecnumber
1458 pdf-host: maybe-pdf-libgui
1459 pdf-host: maybe-pdf-libiberty
1460 pdf-host: maybe-pdf-libiconv
1461 pdf-host: maybe-pdf-libtool
1462 pdf-host: maybe-pdf-m4
1463 pdf-host: maybe-pdf-make
1464 pdf-host: maybe-pdf-mmalloc
1465 pdf-host: maybe-pdf-patch
1466 pdf-host: maybe-pdf-perl
1467 pdf-host: maybe-pdf-prms
1468 pdf-host: maybe-pdf-rcs
1469 pdf-host: maybe-pdf-readline
1470 pdf-host: maybe-pdf-release
1471 pdf-host: maybe-pdf-recode
1472 pdf-host: maybe-pdf-sed
1473 pdf-host: maybe-pdf-send-pr
1474 pdf-host: maybe-pdf-shellutils
1475 pdf-host: maybe-pdf-sid
1476 pdf-host: maybe-pdf-sim
1477 pdf-host: maybe-pdf-tar
1478 pdf-host: maybe-pdf-texinfo
1479 pdf-host: maybe-pdf-textutils
1480 pdf-host: maybe-pdf-time
1481 pdf-host: maybe-pdf-uudecode
1482 pdf-host: maybe-pdf-wdiff
1483 pdf-host: maybe-pdf-zip
1484 pdf-host: maybe-pdf-zlib
1485 pdf-host: maybe-pdf-gdb
1486 pdf-host: maybe-pdf-expect
1487 pdf-host: maybe-pdf-guile
1488 pdf-host: maybe-pdf-tk
1489 pdf-host: maybe-pdf-libtermcap
1490 pdf-host: maybe-pdf-utils
1491 pdf-host: maybe-pdf-gnattools
1492 pdf-host: maybe-pdf-lto-plugin
1494 .PHONY: pdf-target
1496 pdf-target: maybe-pdf-target-libstdc++-v3
1497 pdf-target: maybe-pdf-target-libmudflap
1498 pdf-target: maybe-pdf-target-libssp
1499 pdf-target: maybe-pdf-target-newlib
1500 pdf-target: maybe-pdf-target-libgcc
1501 pdf-target: maybe-pdf-target-libquadmath
1502 pdf-target: maybe-pdf-target-libgfortran
1503 pdf-target: maybe-pdf-target-libobjc
1504 pdf-target: maybe-pdf-target-libgo
1505 pdf-target: maybe-pdf-target-libtermcap
1506 pdf-target: maybe-pdf-target-winsup
1507 pdf-target: maybe-pdf-target-libgloss
1508 pdf-target: maybe-pdf-target-libiberty
1509 pdf-target: maybe-pdf-target-gperf
1510 pdf-target: maybe-pdf-target-examples
1511 pdf-target: maybe-pdf-target-libffi
1512 pdf-target: maybe-pdf-target-libjava
1513 pdf-target: maybe-pdf-target-zlib
1514 pdf-target: maybe-pdf-target-boehm-gc
1515 pdf-target: maybe-pdf-target-qthreads
1516 pdf-target: maybe-pdf-target-rda
1517 pdf-target: maybe-pdf-target-libada
1518 pdf-target: maybe-pdf-target-libgomp
1520 .PHONY: do-html
1521 do-html:
1522 @: $(MAKE); $(unstage)
1523 @r=`${PWD_COMMAND}`; export r; \
1524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1525 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1526 html-target
1529 .PHONY: html-host
1531 html-host: maybe-html-ash
1532 html-host: maybe-html-autoconf
1533 html-host: maybe-html-automake
1534 html-host: maybe-html-bash
1535 html-host: maybe-html-bfd
1536 html-host: maybe-html-opcodes
1537 html-host: maybe-html-binutils
1538 html-host: maybe-html-bison
1539 html-host: maybe-html-byacc
1540 html-host: maybe-html-bzip2
1541 html-host: maybe-html-cgen
1542 html-host: maybe-html-dejagnu
1543 html-host: maybe-html-diff
1544 html-host: maybe-html-dosutils
1545 html-host: maybe-html-etc
1546 html-host: maybe-html-fastjar
1547 html-host: maybe-html-fileutils
1548 html-host: maybe-html-findutils
1549 html-host: maybe-html-find
1550 html-host: maybe-html-fixincludes
1551 html-host: maybe-html-flex
1552 html-host: maybe-html-gas
1553 html-host: maybe-html-gcc
1554 html-host: maybe-html-gawk
1555 html-host: maybe-html-gettext
1556 html-host: maybe-html-gmp
1557 html-host: maybe-html-mpfr
1558 html-host: maybe-html-mpc
1559 html-host: maybe-html-ppl
1560 html-host: maybe-html-cloog
1561 html-host: maybe-html-libelf
1562 html-host: maybe-html-gnuserv
1563 html-host: maybe-html-gold
1564 html-host: maybe-html-gprof
1565 html-host: maybe-html-gzip
1566 html-host: maybe-html-hello
1567 html-host: maybe-html-indent
1568 html-host: maybe-html-intl
1569 html-host: maybe-html-tcl
1570 html-host: maybe-html-itcl
1571 html-host: maybe-html-ld
1572 html-host: maybe-html-libcpp
1573 html-host: maybe-html-libdecnumber
1574 html-host: maybe-html-libgui
1575 html-host: maybe-html-libiberty
1576 html-host: maybe-html-libiconv
1577 html-host: maybe-html-libtool
1578 html-host: maybe-html-m4
1579 html-host: maybe-html-make
1580 html-host: maybe-html-mmalloc
1581 html-host: maybe-html-patch
1582 html-host: maybe-html-perl
1583 html-host: maybe-html-prms
1584 html-host: maybe-html-rcs
1585 html-host: maybe-html-readline
1586 html-host: maybe-html-release
1587 html-host: maybe-html-recode
1588 html-host: maybe-html-sed
1589 html-host: maybe-html-send-pr
1590 html-host: maybe-html-shellutils
1591 html-host: maybe-html-sid
1592 html-host: maybe-html-sim
1593 html-host: maybe-html-tar
1594 html-host: maybe-html-texinfo
1595 html-host: maybe-html-textutils
1596 html-host: maybe-html-time
1597 html-host: maybe-html-uudecode
1598 html-host: maybe-html-wdiff
1599 html-host: maybe-html-zip
1600 html-host: maybe-html-zlib
1601 html-host: maybe-html-gdb
1602 html-host: maybe-html-expect
1603 html-host: maybe-html-guile
1604 html-host: maybe-html-tk
1605 html-host: maybe-html-libtermcap
1606 html-host: maybe-html-utils
1607 html-host: maybe-html-gnattools
1608 html-host: maybe-html-lto-plugin
1610 .PHONY: html-target
1612 html-target: maybe-html-target-libstdc++-v3
1613 html-target: maybe-html-target-libmudflap
1614 html-target: maybe-html-target-libssp
1615 html-target: maybe-html-target-newlib
1616 html-target: maybe-html-target-libgcc
1617 html-target: maybe-html-target-libquadmath
1618 html-target: maybe-html-target-libgfortran
1619 html-target: maybe-html-target-libobjc
1620 html-target: maybe-html-target-libgo
1621 html-target: maybe-html-target-libtermcap
1622 html-target: maybe-html-target-winsup
1623 html-target: maybe-html-target-libgloss
1624 html-target: maybe-html-target-libiberty
1625 html-target: maybe-html-target-gperf
1626 html-target: maybe-html-target-examples
1627 html-target: maybe-html-target-libffi
1628 html-target: maybe-html-target-libjava
1629 html-target: maybe-html-target-zlib
1630 html-target: maybe-html-target-boehm-gc
1631 html-target: maybe-html-target-qthreads
1632 html-target: maybe-html-target-rda
1633 html-target: maybe-html-target-libada
1634 html-target: maybe-html-target-libgomp
1636 .PHONY: do-TAGS
1637 do-TAGS:
1638 @: $(MAKE); $(unstage)
1639 @r=`${PWD_COMMAND}`; export r; \
1640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1642 TAGS-target
1645 .PHONY: TAGS-host
1647 TAGS-host: maybe-TAGS-ash
1648 TAGS-host: maybe-TAGS-autoconf
1649 TAGS-host: maybe-TAGS-automake
1650 TAGS-host: maybe-TAGS-bash
1651 TAGS-host: maybe-TAGS-bfd
1652 TAGS-host: maybe-TAGS-opcodes
1653 TAGS-host: maybe-TAGS-binutils
1654 TAGS-host: maybe-TAGS-bison
1655 TAGS-host: maybe-TAGS-byacc
1656 TAGS-host: maybe-TAGS-bzip2
1657 TAGS-host: maybe-TAGS-cgen
1658 TAGS-host: maybe-TAGS-dejagnu
1659 TAGS-host: maybe-TAGS-diff
1660 TAGS-host: maybe-TAGS-dosutils
1661 TAGS-host: maybe-TAGS-etc
1662 TAGS-host: maybe-TAGS-fastjar
1663 TAGS-host: maybe-TAGS-fileutils
1664 TAGS-host: maybe-TAGS-findutils
1665 TAGS-host: maybe-TAGS-find
1666 TAGS-host: maybe-TAGS-fixincludes
1667 TAGS-host: maybe-TAGS-flex
1668 TAGS-host: maybe-TAGS-gas
1669 TAGS-host: maybe-TAGS-gcc
1670 TAGS-host: maybe-TAGS-gawk
1671 TAGS-host: maybe-TAGS-gettext
1672 TAGS-host: maybe-TAGS-gmp
1673 TAGS-host: maybe-TAGS-mpfr
1674 TAGS-host: maybe-TAGS-mpc
1675 TAGS-host: maybe-TAGS-ppl
1676 TAGS-host: maybe-TAGS-cloog
1677 TAGS-host: maybe-TAGS-libelf
1678 TAGS-host: maybe-TAGS-gnuserv
1679 TAGS-host: maybe-TAGS-gold
1680 TAGS-host: maybe-TAGS-gprof
1681 TAGS-host: maybe-TAGS-gzip
1682 TAGS-host: maybe-TAGS-hello
1683 TAGS-host: maybe-TAGS-indent
1684 TAGS-host: maybe-TAGS-intl
1685 TAGS-host: maybe-TAGS-tcl
1686 TAGS-host: maybe-TAGS-itcl
1687 TAGS-host: maybe-TAGS-ld
1688 TAGS-host: maybe-TAGS-libcpp
1689 TAGS-host: maybe-TAGS-libdecnumber
1690 TAGS-host: maybe-TAGS-libgui
1691 TAGS-host: maybe-TAGS-libiberty
1692 TAGS-host: maybe-TAGS-libiconv
1693 TAGS-host: maybe-TAGS-libtool
1694 TAGS-host: maybe-TAGS-m4
1695 TAGS-host: maybe-TAGS-make
1696 TAGS-host: maybe-TAGS-mmalloc
1697 TAGS-host: maybe-TAGS-patch
1698 TAGS-host: maybe-TAGS-perl
1699 TAGS-host: maybe-TAGS-prms
1700 TAGS-host: maybe-TAGS-rcs
1701 TAGS-host: maybe-TAGS-readline
1702 TAGS-host: maybe-TAGS-release
1703 TAGS-host: maybe-TAGS-recode
1704 TAGS-host: maybe-TAGS-sed
1705 TAGS-host: maybe-TAGS-send-pr
1706 TAGS-host: maybe-TAGS-shellutils
1707 TAGS-host: maybe-TAGS-sid
1708 TAGS-host: maybe-TAGS-sim
1709 TAGS-host: maybe-TAGS-tar
1710 TAGS-host: maybe-TAGS-texinfo
1711 TAGS-host: maybe-TAGS-textutils
1712 TAGS-host: maybe-TAGS-time
1713 TAGS-host: maybe-TAGS-uudecode
1714 TAGS-host: maybe-TAGS-wdiff
1715 TAGS-host: maybe-TAGS-zip
1716 TAGS-host: maybe-TAGS-zlib
1717 TAGS-host: maybe-TAGS-gdb
1718 TAGS-host: maybe-TAGS-expect
1719 TAGS-host: maybe-TAGS-guile
1720 TAGS-host: maybe-TAGS-tk
1721 TAGS-host: maybe-TAGS-libtermcap
1722 TAGS-host: maybe-TAGS-utils
1723 TAGS-host: maybe-TAGS-gnattools
1724 TAGS-host: maybe-TAGS-lto-plugin
1726 .PHONY: TAGS-target
1728 TAGS-target: maybe-TAGS-target-libstdc++-v3
1729 TAGS-target: maybe-TAGS-target-libmudflap
1730 TAGS-target: maybe-TAGS-target-libssp
1731 TAGS-target: maybe-TAGS-target-newlib
1732 TAGS-target: maybe-TAGS-target-libgcc
1733 TAGS-target: maybe-TAGS-target-libquadmath
1734 TAGS-target: maybe-TAGS-target-libgfortran
1735 TAGS-target: maybe-TAGS-target-libobjc
1736 TAGS-target: maybe-TAGS-target-libgo
1737 TAGS-target: maybe-TAGS-target-libtermcap
1738 TAGS-target: maybe-TAGS-target-winsup
1739 TAGS-target: maybe-TAGS-target-libgloss
1740 TAGS-target: maybe-TAGS-target-libiberty
1741 TAGS-target: maybe-TAGS-target-gperf
1742 TAGS-target: maybe-TAGS-target-examples
1743 TAGS-target: maybe-TAGS-target-libffi
1744 TAGS-target: maybe-TAGS-target-libjava
1745 TAGS-target: maybe-TAGS-target-zlib
1746 TAGS-target: maybe-TAGS-target-boehm-gc
1747 TAGS-target: maybe-TAGS-target-qthreads
1748 TAGS-target: maybe-TAGS-target-rda
1749 TAGS-target: maybe-TAGS-target-libada
1750 TAGS-target: maybe-TAGS-target-libgomp
1752 .PHONY: do-install-info
1753 do-install-info:
1754 @: $(MAKE); $(unstage)
1755 @r=`${PWD_COMMAND}`; export r; \
1756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1757 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1758 install-info-target
1761 .PHONY: install-info-host
1763 install-info-host: maybe-install-info-ash
1764 install-info-host: maybe-install-info-autoconf
1765 install-info-host: maybe-install-info-automake
1766 install-info-host: maybe-install-info-bash
1767 install-info-host: maybe-install-info-bfd
1768 install-info-host: maybe-install-info-opcodes
1769 install-info-host: maybe-install-info-binutils
1770 install-info-host: maybe-install-info-bison
1771 install-info-host: maybe-install-info-byacc
1772 install-info-host: maybe-install-info-bzip2
1773 install-info-host: maybe-install-info-cgen
1774 install-info-host: maybe-install-info-dejagnu
1775 install-info-host: maybe-install-info-diff
1776 install-info-host: maybe-install-info-dosutils
1777 install-info-host: maybe-install-info-etc
1778 install-info-host: maybe-install-info-fastjar
1779 install-info-host: maybe-install-info-fileutils
1780 install-info-host: maybe-install-info-findutils
1781 install-info-host: maybe-install-info-find
1782 install-info-host: maybe-install-info-fixincludes
1783 install-info-host: maybe-install-info-flex
1784 install-info-host: maybe-install-info-gas
1785 install-info-host: maybe-install-info-gcc
1786 install-info-host: maybe-install-info-gawk
1787 install-info-host: maybe-install-info-gettext
1788 install-info-host: maybe-install-info-gmp
1789 install-info-host: maybe-install-info-mpfr
1790 install-info-host: maybe-install-info-mpc
1791 install-info-host: maybe-install-info-ppl
1792 install-info-host: maybe-install-info-cloog
1793 install-info-host: maybe-install-info-libelf
1794 install-info-host: maybe-install-info-gnuserv
1795 install-info-host: maybe-install-info-gold
1796 install-info-host: maybe-install-info-gprof
1797 install-info-host: maybe-install-info-gzip
1798 install-info-host: maybe-install-info-hello
1799 install-info-host: maybe-install-info-indent
1800 install-info-host: maybe-install-info-intl
1801 install-info-host: maybe-install-info-tcl
1802 install-info-host: maybe-install-info-itcl
1803 install-info-host: maybe-install-info-ld
1804 install-info-host: maybe-install-info-libcpp
1805 install-info-host: maybe-install-info-libdecnumber
1806 install-info-host: maybe-install-info-libgui
1807 install-info-host: maybe-install-info-libiberty
1808 install-info-host: maybe-install-info-libiconv
1809 install-info-host: maybe-install-info-libtool
1810 install-info-host: maybe-install-info-m4
1811 install-info-host: maybe-install-info-make
1812 install-info-host: maybe-install-info-mmalloc
1813 install-info-host: maybe-install-info-patch
1814 install-info-host: maybe-install-info-perl
1815 install-info-host: maybe-install-info-prms
1816 install-info-host: maybe-install-info-rcs
1817 install-info-host: maybe-install-info-readline
1818 install-info-host: maybe-install-info-release
1819 install-info-host: maybe-install-info-recode
1820 install-info-host: maybe-install-info-sed
1821 install-info-host: maybe-install-info-send-pr
1822 install-info-host: maybe-install-info-shellutils
1823 install-info-host: maybe-install-info-sid
1824 install-info-host: maybe-install-info-sim
1825 install-info-host: maybe-install-info-tar
1826 install-info-host: maybe-install-info-texinfo
1827 install-info-host: maybe-install-info-textutils
1828 install-info-host: maybe-install-info-time
1829 install-info-host: maybe-install-info-uudecode
1830 install-info-host: maybe-install-info-wdiff
1831 install-info-host: maybe-install-info-zip
1832 install-info-host: maybe-install-info-zlib
1833 install-info-host: maybe-install-info-gdb
1834 install-info-host: maybe-install-info-expect
1835 install-info-host: maybe-install-info-guile
1836 install-info-host: maybe-install-info-tk
1837 install-info-host: maybe-install-info-libtermcap
1838 install-info-host: maybe-install-info-utils
1839 install-info-host: maybe-install-info-gnattools
1840 install-info-host: maybe-install-info-lto-plugin
1842 .PHONY: install-info-target
1844 install-info-target: maybe-install-info-target-libstdc++-v3
1845 install-info-target: maybe-install-info-target-libmudflap
1846 install-info-target: maybe-install-info-target-libssp
1847 install-info-target: maybe-install-info-target-newlib
1848 install-info-target: maybe-install-info-target-libgcc
1849 install-info-target: maybe-install-info-target-libquadmath
1850 install-info-target: maybe-install-info-target-libgfortran
1851 install-info-target: maybe-install-info-target-libobjc
1852 install-info-target: maybe-install-info-target-libgo
1853 install-info-target: maybe-install-info-target-libtermcap
1854 install-info-target: maybe-install-info-target-winsup
1855 install-info-target: maybe-install-info-target-libgloss
1856 install-info-target: maybe-install-info-target-libiberty
1857 install-info-target: maybe-install-info-target-gperf
1858 install-info-target: maybe-install-info-target-examples
1859 install-info-target: maybe-install-info-target-libffi
1860 install-info-target: maybe-install-info-target-libjava
1861 install-info-target: maybe-install-info-target-zlib
1862 install-info-target: maybe-install-info-target-boehm-gc
1863 install-info-target: maybe-install-info-target-qthreads
1864 install-info-target: maybe-install-info-target-rda
1865 install-info-target: maybe-install-info-target-libada
1866 install-info-target: maybe-install-info-target-libgomp
1868 .PHONY: do-install-pdf
1869 do-install-pdf:
1870 @: $(MAKE); $(unstage)
1871 @r=`${PWD_COMMAND}`; export r; \
1872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1873 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1874 install-pdf-target
1877 .PHONY: install-pdf-host
1879 install-pdf-host: maybe-install-pdf-ash
1880 install-pdf-host: maybe-install-pdf-autoconf
1881 install-pdf-host: maybe-install-pdf-automake
1882 install-pdf-host: maybe-install-pdf-bash
1883 install-pdf-host: maybe-install-pdf-bfd
1884 install-pdf-host: maybe-install-pdf-opcodes
1885 install-pdf-host: maybe-install-pdf-binutils
1886 install-pdf-host: maybe-install-pdf-bison
1887 install-pdf-host: maybe-install-pdf-byacc
1888 install-pdf-host: maybe-install-pdf-bzip2
1889 install-pdf-host: maybe-install-pdf-cgen
1890 install-pdf-host: maybe-install-pdf-dejagnu
1891 install-pdf-host: maybe-install-pdf-diff
1892 install-pdf-host: maybe-install-pdf-dosutils
1893 install-pdf-host: maybe-install-pdf-etc
1894 install-pdf-host: maybe-install-pdf-fastjar
1895 install-pdf-host: maybe-install-pdf-fileutils
1896 install-pdf-host: maybe-install-pdf-findutils
1897 install-pdf-host: maybe-install-pdf-find
1898 install-pdf-host: maybe-install-pdf-fixincludes
1899 install-pdf-host: maybe-install-pdf-flex
1900 install-pdf-host: maybe-install-pdf-gas
1901 install-pdf-host: maybe-install-pdf-gcc
1902 install-pdf-host: maybe-install-pdf-gawk
1903 install-pdf-host: maybe-install-pdf-gettext
1904 install-pdf-host: maybe-install-pdf-gmp
1905 install-pdf-host: maybe-install-pdf-mpfr
1906 install-pdf-host: maybe-install-pdf-mpc
1907 install-pdf-host: maybe-install-pdf-ppl
1908 install-pdf-host: maybe-install-pdf-cloog
1909 install-pdf-host: maybe-install-pdf-libelf
1910 install-pdf-host: maybe-install-pdf-gnuserv
1911 install-pdf-host: maybe-install-pdf-gold
1912 install-pdf-host: maybe-install-pdf-gprof
1913 install-pdf-host: maybe-install-pdf-gzip
1914 install-pdf-host: maybe-install-pdf-hello
1915 install-pdf-host: maybe-install-pdf-indent
1916 install-pdf-host: maybe-install-pdf-intl
1917 install-pdf-host: maybe-install-pdf-tcl
1918 install-pdf-host: maybe-install-pdf-itcl
1919 install-pdf-host: maybe-install-pdf-ld
1920 install-pdf-host: maybe-install-pdf-libcpp
1921 install-pdf-host: maybe-install-pdf-libdecnumber
1922 install-pdf-host: maybe-install-pdf-libgui
1923 install-pdf-host: maybe-install-pdf-libiberty
1924 install-pdf-host: maybe-install-pdf-libiconv
1925 install-pdf-host: maybe-install-pdf-libtool
1926 install-pdf-host: maybe-install-pdf-m4
1927 install-pdf-host: maybe-install-pdf-make
1928 install-pdf-host: maybe-install-pdf-mmalloc
1929 install-pdf-host: maybe-install-pdf-patch
1930 install-pdf-host: maybe-install-pdf-perl
1931 install-pdf-host: maybe-install-pdf-prms
1932 install-pdf-host: maybe-install-pdf-rcs
1933 install-pdf-host: maybe-install-pdf-readline
1934 install-pdf-host: maybe-install-pdf-release
1935 install-pdf-host: maybe-install-pdf-recode
1936 install-pdf-host: maybe-install-pdf-sed
1937 install-pdf-host: maybe-install-pdf-send-pr
1938 install-pdf-host: maybe-install-pdf-shellutils
1939 install-pdf-host: maybe-install-pdf-sid
1940 install-pdf-host: maybe-install-pdf-sim
1941 install-pdf-host: maybe-install-pdf-tar
1942 install-pdf-host: maybe-install-pdf-texinfo
1943 install-pdf-host: maybe-install-pdf-textutils
1944 install-pdf-host: maybe-install-pdf-time
1945 install-pdf-host: maybe-install-pdf-uudecode
1946 install-pdf-host: maybe-install-pdf-wdiff
1947 install-pdf-host: maybe-install-pdf-zip
1948 install-pdf-host: maybe-install-pdf-zlib
1949 install-pdf-host: maybe-install-pdf-gdb
1950 install-pdf-host: maybe-install-pdf-expect
1951 install-pdf-host: maybe-install-pdf-guile
1952 install-pdf-host: maybe-install-pdf-tk
1953 install-pdf-host: maybe-install-pdf-libtermcap
1954 install-pdf-host: maybe-install-pdf-utils
1955 install-pdf-host: maybe-install-pdf-gnattools
1956 install-pdf-host: maybe-install-pdf-lto-plugin
1958 .PHONY: install-pdf-target
1960 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1961 install-pdf-target: maybe-install-pdf-target-libmudflap
1962 install-pdf-target: maybe-install-pdf-target-libssp
1963 install-pdf-target: maybe-install-pdf-target-newlib
1964 install-pdf-target: maybe-install-pdf-target-libgcc
1965 install-pdf-target: maybe-install-pdf-target-libquadmath
1966 install-pdf-target: maybe-install-pdf-target-libgfortran
1967 install-pdf-target: maybe-install-pdf-target-libobjc
1968 install-pdf-target: maybe-install-pdf-target-libgo
1969 install-pdf-target: maybe-install-pdf-target-libtermcap
1970 install-pdf-target: maybe-install-pdf-target-winsup
1971 install-pdf-target: maybe-install-pdf-target-libgloss
1972 install-pdf-target: maybe-install-pdf-target-libiberty
1973 install-pdf-target: maybe-install-pdf-target-gperf
1974 install-pdf-target: maybe-install-pdf-target-examples
1975 install-pdf-target: maybe-install-pdf-target-libffi
1976 install-pdf-target: maybe-install-pdf-target-libjava
1977 install-pdf-target: maybe-install-pdf-target-zlib
1978 install-pdf-target: maybe-install-pdf-target-boehm-gc
1979 install-pdf-target: maybe-install-pdf-target-qthreads
1980 install-pdf-target: maybe-install-pdf-target-rda
1981 install-pdf-target: maybe-install-pdf-target-libada
1982 install-pdf-target: maybe-install-pdf-target-libgomp
1984 .PHONY: do-install-html
1985 do-install-html:
1986 @: $(MAKE); $(unstage)
1987 @r=`${PWD_COMMAND}`; export r; \
1988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1989 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1990 install-html-target
1993 .PHONY: install-html-host
1995 install-html-host: maybe-install-html-ash
1996 install-html-host: maybe-install-html-autoconf
1997 install-html-host: maybe-install-html-automake
1998 install-html-host: maybe-install-html-bash
1999 install-html-host: maybe-install-html-bfd
2000 install-html-host: maybe-install-html-opcodes
2001 install-html-host: maybe-install-html-binutils
2002 install-html-host: maybe-install-html-bison
2003 install-html-host: maybe-install-html-byacc
2004 install-html-host: maybe-install-html-bzip2
2005 install-html-host: maybe-install-html-cgen
2006 install-html-host: maybe-install-html-dejagnu
2007 install-html-host: maybe-install-html-diff
2008 install-html-host: maybe-install-html-dosutils
2009 install-html-host: maybe-install-html-etc
2010 install-html-host: maybe-install-html-fastjar
2011 install-html-host: maybe-install-html-fileutils
2012 install-html-host: maybe-install-html-findutils
2013 install-html-host: maybe-install-html-find
2014 install-html-host: maybe-install-html-fixincludes
2015 install-html-host: maybe-install-html-flex
2016 install-html-host: maybe-install-html-gas
2017 install-html-host: maybe-install-html-gcc
2018 install-html-host: maybe-install-html-gawk
2019 install-html-host: maybe-install-html-gettext
2020 install-html-host: maybe-install-html-gmp
2021 install-html-host: maybe-install-html-mpfr
2022 install-html-host: maybe-install-html-mpc
2023 install-html-host: maybe-install-html-ppl
2024 install-html-host: maybe-install-html-cloog
2025 install-html-host: maybe-install-html-libelf
2026 install-html-host: maybe-install-html-gnuserv
2027 install-html-host: maybe-install-html-gold
2028 install-html-host: maybe-install-html-gprof
2029 install-html-host: maybe-install-html-gzip
2030 install-html-host: maybe-install-html-hello
2031 install-html-host: maybe-install-html-indent
2032 install-html-host: maybe-install-html-intl
2033 install-html-host: maybe-install-html-tcl
2034 install-html-host: maybe-install-html-itcl
2035 install-html-host: maybe-install-html-ld
2036 install-html-host: maybe-install-html-libcpp
2037 install-html-host: maybe-install-html-libdecnumber
2038 install-html-host: maybe-install-html-libgui
2039 install-html-host: maybe-install-html-libiberty
2040 install-html-host: maybe-install-html-libiconv
2041 install-html-host: maybe-install-html-libtool
2042 install-html-host: maybe-install-html-m4
2043 install-html-host: maybe-install-html-make
2044 install-html-host: maybe-install-html-mmalloc
2045 install-html-host: maybe-install-html-patch
2046 install-html-host: maybe-install-html-perl
2047 install-html-host: maybe-install-html-prms
2048 install-html-host: maybe-install-html-rcs
2049 install-html-host: maybe-install-html-readline
2050 install-html-host: maybe-install-html-release
2051 install-html-host: maybe-install-html-recode
2052 install-html-host: maybe-install-html-sed
2053 install-html-host: maybe-install-html-send-pr
2054 install-html-host: maybe-install-html-shellutils
2055 install-html-host: maybe-install-html-sid
2056 install-html-host: maybe-install-html-sim
2057 install-html-host: maybe-install-html-tar
2058 install-html-host: maybe-install-html-texinfo
2059 install-html-host: maybe-install-html-textutils
2060 install-html-host: maybe-install-html-time
2061 install-html-host: maybe-install-html-uudecode
2062 install-html-host: maybe-install-html-wdiff
2063 install-html-host: maybe-install-html-zip
2064 install-html-host: maybe-install-html-zlib
2065 install-html-host: maybe-install-html-gdb
2066 install-html-host: maybe-install-html-expect
2067 install-html-host: maybe-install-html-guile
2068 install-html-host: maybe-install-html-tk
2069 install-html-host: maybe-install-html-libtermcap
2070 install-html-host: maybe-install-html-utils
2071 install-html-host: maybe-install-html-gnattools
2072 install-html-host: maybe-install-html-lto-plugin
2074 .PHONY: install-html-target
2076 install-html-target: maybe-install-html-target-libstdc++-v3
2077 install-html-target: maybe-install-html-target-libmudflap
2078 install-html-target: maybe-install-html-target-libssp
2079 install-html-target: maybe-install-html-target-newlib
2080 install-html-target: maybe-install-html-target-libgcc
2081 install-html-target: maybe-install-html-target-libquadmath
2082 install-html-target: maybe-install-html-target-libgfortran
2083 install-html-target: maybe-install-html-target-libobjc
2084 install-html-target: maybe-install-html-target-libgo
2085 install-html-target: maybe-install-html-target-libtermcap
2086 install-html-target: maybe-install-html-target-winsup
2087 install-html-target: maybe-install-html-target-libgloss
2088 install-html-target: maybe-install-html-target-libiberty
2089 install-html-target: maybe-install-html-target-gperf
2090 install-html-target: maybe-install-html-target-examples
2091 install-html-target: maybe-install-html-target-libffi
2092 install-html-target: maybe-install-html-target-libjava
2093 install-html-target: maybe-install-html-target-zlib
2094 install-html-target: maybe-install-html-target-boehm-gc
2095 install-html-target: maybe-install-html-target-qthreads
2096 install-html-target: maybe-install-html-target-rda
2097 install-html-target: maybe-install-html-target-libada
2098 install-html-target: maybe-install-html-target-libgomp
2100 .PHONY: do-installcheck
2101 do-installcheck:
2102 @: $(MAKE); $(unstage)
2103 @r=`${PWD_COMMAND}`; export r; \
2104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2105 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2106 installcheck-target
2109 .PHONY: installcheck-host
2111 installcheck-host: maybe-installcheck-ash
2112 installcheck-host: maybe-installcheck-autoconf
2113 installcheck-host: maybe-installcheck-automake
2114 installcheck-host: maybe-installcheck-bash
2115 installcheck-host: maybe-installcheck-bfd
2116 installcheck-host: maybe-installcheck-opcodes
2117 installcheck-host: maybe-installcheck-binutils
2118 installcheck-host: maybe-installcheck-bison
2119 installcheck-host: maybe-installcheck-byacc
2120 installcheck-host: maybe-installcheck-bzip2
2121 installcheck-host: maybe-installcheck-cgen
2122 installcheck-host: maybe-installcheck-dejagnu
2123 installcheck-host: maybe-installcheck-diff
2124 installcheck-host: maybe-installcheck-dosutils
2125 installcheck-host: maybe-installcheck-etc
2126 installcheck-host: maybe-installcheck-fastjar
2127 installcheck-host: maybe-installcheck-fileutils
2128 installcheck-host: maybe-installcheck-findutils
2129 installcheck-host: maybe-installcheck-find
2130 installcheck-host: maybe-installcheck-fixincludes
2131 installcheck-host: maybe-installcheck-flex
2132 installcheck-host: maybe-installcheck-gas
2133 installcheck-host: maybe-installcheck-gcc
2134 installcheck-host: maybe-installcheck-gawk
2135 installcheck-host: maybe-installcheck-gettext
2136 installcheck-host: maybe-installcheck-gmp
2137 installcheck-host: maybe-installcheck-mpfr
2138 installcheck-host: maybe-installcheck-mpc
2139 installcheck-host: maybe-installcheck-ppl
2140 installcheck-host: maybe-installcheck-cloog
2141 installcheck-host: maybe-installcheck-libelf
2142 installcheck-host: maybe-installcheck-gnuserv
2143 installcheck-host: maybe-installcheck-gold
2144 installcheck-host: maybe-installcheck-gprof
2145 installcheck-host: maybe-installcheck-gzip
2146 installcheck-host: maybe-installcheck-hello
2147 installcheck-host: maybe-installcheck-indent
2148 installcheck-host: maybe-installcheck-intl
2149 installcheck-host: maybe-installcheck-tcl
2150 installcheck-host: maybe-installcheck-itcl
2151 installcheck-host: maybe-installcheck-ld
2152 installcheck-host: maybe-installcheck-libcpp
2153 installcheck-host: maybe-installcheck-libdecnumber
2154 installcheck-host: maybe-installcheck-libgui
2155 installcheck-host: maybe-installcheck-libiberty
2156 installcheck-host: maybe-installcheck-libiconv
2157 installcheck-host: maybe-installcheck-libtool
2158 installcheck-host: maybe-installcheck-m4
2159 installcheck-host: maybe-installcheck-make
2160 installcheck-host: maybe-installcheck-mmalloc
2161 installcheck-host: maybe-installcheck-patch
2162 installcheck-host: maybe-installcheck-perl
2163 installcheck-host: maybe-installcheck-prms
2164 installcheck-host: maybe-installcheck-rcs
2165 installcheck-host: maybe-installcheck-readline
2166 installcheck-host: maybe-installcheck-release
2167 installcheck-host: maybe-installcheck-recode
2168 installcheck-host: maybe-installcheck-sed
2169 installcheck-host: maybe-installcheck-send-pr
2170 installcheck-host: maybe-installcheck-shellutils
2171 installcheck-host: maybe-installcheck-sid
2172 installcheck-host: maybe-installcheck-sim
2173 installcheck-host: maybe-installcheck-tar
2174 installcheck-host: maybe-installcheck-texinfo
2175 installcheck-host: maybe-installcheck-textutils
2176 installcheck-host: maybe-installcheck-time
2177 installcheck-host: maybe-installcheck-uudecode
2178 installcheck-host: maybe-installcheck-wdiff
2179 installcheck-host: maybe-installcheck-zip
2180 installcheck-host: maybe-installcheck-zlib
2181 installcheck-host: maybe-installcheck-gdb
2182 installcheck-host: maybe-installcheck-expect
2183 installcheck-host: maybe-installcheck-guile
2184 installcheck-host: maybe-installcheck-tk
2185 installcheck-host: maybe-installcheck-libtermcap
2186 installcheck-host: maybe-installcheck-utils
2187 installcheck-host: maybe-installcheck-gnattools
2188 installcheck-host: maybe-installcheck-lto-plugin
2190 .PHONY: installcheck-target
2192 installcheck-target: maybe-installcheck-target-libstdc++-v3
2193 installcheck-target: maybe-installcheck-target-libmudflap
2194 installcheck-target: maybe-installcheck-target-libssp
2195 installcheck-target: maybe-installcheck-target-newlib
2196 installcheck-target: maybe-installcheck-target-libgcc
2197 installcheck-target: maybe-installcheck-target-libquadmath
2198 installcheck-target: maybe-installcheck-target-libgfortran
2199 installcheck-target: maybe-installcheck-target-libobjc
2200 installcheck-target: maybe-installcheck-target-libgo
2201 installcheck-target: maybe-installcheck-target-libtermcap
2202 installcheck-target: maybe-installcheck-target-winsup
2203 installcheck-target: maybe-installcheck-target-libgloss
2204 installcheck-target: maybe-installcheck-target-libiberty
2205 installcheck-target: maybe-installcheck-target-gperf
2206 installcheck-target: maybe-installcheck-target-examples
2207 installcheck-target: maybe-installcheck-target-libffi
2208 installcheck-target: maybe-installcheck-target-libjava
2209 installcheck-target: maybe-installcheck-target-zlib
2210 installcheck-target: maybe-installcheck-target-boehm-gc
2211 installcheck-target: maybe-installcheck-target-qthreads
2212 installcheck-target: maybe-installcheck-target-rda
2213 installcheck-target: maybe-installcheck-target-libada
2214 installcheck-target: maybe-installcheck-target-libgomp
2216 .PHONY: do-mostlyclean
2217 do-mostlyclean:
2218 @: $(MAKE); $(unstage)
2219 @r=`${PWD_COMMAND}`; export r; \
2220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2221 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2222 mostlyclean-target
2225 .PHONY: mostlyclean-host
2227 mostlyclean-host: maybe-mostlyclean-ash
2228 mostlyclean-host: maybe-mostlyclean-autoconf
2229 mostlyclean-host: maybe-mostlyclean-automake
2230 mostlyclean-host: maybe-mostlyclean-bash
2231 mostlyclean-host: maybe-mostlyclean-bfd
2232 mostlyclean-host: maybe-mostlyclean-opcodes
2233 mostlyclean-host: maybe-mostlyclean-binutils
2234 mostlyclean-host: maybe-mostlyclean-bison
2235 mostlyclean-host: maybe-mostlyclean-byacc
2236 mostlyclean-host: maybe-mostlyclean-bzip2
2237 mostlyclean-host: maybe-mostlyclean-cgen
2238 mostlyclean-host: maybe-mostlyclean-dejagnu
2239 mostlyclean-host: maybe-mostlyclean-diff
2240 mostlyclean-host: maybe-mostlyclean-dosutils
2241 mostlyclean-host: maybe-mostlyclean-etc
2242 mostlyclean-host: maybe-mostlyclean-fastjar
2243 mostlyclean-host: maybe-mostlyclean-fileutils
2244 mostlyclean-host: maybe-mostlyclean-findutils
2245 mostlyclean-host: maybe-mostlyclean-find
2246 mostlyclean-host: maybe-mostlyclean-fixincludes
2247 mostlyclean-host: maybe-mostlyclean-flex
2248 mostlyclean-host: maybe-mostlyclean-gas
2249 mostlyclean-host: maybe-mostlyclean-gcc
2250 mostlyclean-host: maybe-mostlyclean-gawk
2251 mostlyclean-host: maybe-mostlyclean-gettext
2252 mostlyclean-host: maybe-mostlyclean-gmp
2253 mostlyclean-host: maybe-mostlyclean-mpfr
2254 mostlyclean-host: maybe-mostlyclean-mpc
2255 mostlyclean-host: maybe-mostlyclean-ppl
2256 mostlyclean-host: maybe-mostlyclean-cloog
2257 mostlyclean-host: maybe-mostlyclean-libelf
2258 mostlyclean-host: maybe-mostlyclean-gnuserv
2259 mostlyclean-host: maybe-mostlyclean-gold
2260 mostlyclean-host: maybe-mostlyclean-gprof
2261 mostlyclean-host: maybe-mostlyclean-gzip
2262 mostlyclean-host: maybe-mostlyclean-hello
2263 mostlyclean-host: maybe-mostlyclean-indent
2264 mostlyclean-host: maybe-mostlyclean-intl
2265 mostlyclean-host: maybe-mostlyclean-tcl
2266 mostlyclean-host: maybe-mostlyclean-itcl
2267 mostlyclean-host: maybe-mostlyclean-ld
2268 mostlyclean-host: maybe-mostlyclean-libcpp
2269 mostlyclean-host: maybe-mostlyclean-libdecnumber
2270 mostlyclean-host: maybe-mostlyclean-libgui
2271 mostlyclean-host: maybe-mostlyclean-libiberty
2272 mostlyclean-host: maybe-mostlyclean-libiconv
2273 mostlyclean-host: maybe-mostlyclean-libtool
2274 mostlyclean-host: maybe-mostlyclean-m4
2275 mostlyclean-host: maybe-mostlyclean-make
2276 mostlyclean-host: maybe-mostlyclean-mmalloc
2277 mostlyclean-host: maybe-mostlyclean-patch
2278 mostlyclean-host: maybe-mostlyclean-perl
2279 mostlyclean-host: maybe-mostlyclean-prms
2280 mostlyclean-host: maybe-mostlyclean-rcs
2281 mostlyclean-host: maybe-mostlyclean-readline
2282 mostlyclean-host: maybe-mostlyclean-release
2283 mostlyclean-host: maybe-mostlyclean-recode
2284 mostlyclean-host: maybe-mostlyclean-sed
2285 mostlyclean-host: maybe-mostlyclean-send-pr
2286 mostlyclean-host: maybe-mostlyclean-shellutils
2287 mostlyclean-host: maybe-mostlyclean-sid
2288 mostlyclean-host: maybe-mostlyclean-sim
2289 mostlyclean-host: maybe-mostlyclean-tar
2290 mostlyclean-host: maybe-mostlyclean-texinfo
2291 mostlyclean-host: maybe-mostlyclean-textutils
2292 mostlyclean-host: maybe-mostlyclean-time
2293 mostlyclean-host: maybe-mostlyclean-uudecode
2294 mostlyclean-host: maybe-mostlyclean-wdiff
2295 mostlyclean-host: maybe-mostlyclean-zip
2296 mostlyclean-host: maybe-mostlyclean-zlib
2297 mostlyclean-host: maybe-mostlyclean-gdb
2298 mostlyclean-host: maybe-mostlyclean-expect
2299 mostlyclean-host: maybe-mostlyclean-guile
2300 mostlyclean-host: maybe-mostlyclean-tk
2301 mostlyclean-host: maybe-mostlyclean-libtermcap
2302 mostlyclean-host: maybe-mostlyclean-utils
2303 mostlyclean-host: maybe-mostlyclean-gnattools
2304 mostlyclean-host: maybe-mostlyclean-lto-plugin
2306 .PHONY: mostlyclean-target
2308 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2309 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2310 mostlyclean-target: maybe-mostlyclean-target-libssp
2311 mostlyclean-target: maybe-mostlyclean-target-newlib
2312 mostlyclean-target: maybe-mostlyclean-target-libgcc
2313 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2314 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2315 mostlyclean-target: maybe-mostlyclean-target-libobjc
2316 mostlyclean-target: maybe-mostlyclean-target-libgo
2317 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2318 mostlyclean-target: maybe-mostlyclean-target-winsup
2319 mostlyclean-target: maybe-mostlyclean-target-libgloss
2320 mostlyclean-target: maybe-mostlyclean-target-libiberty
2321 mostlyclean-target: maybe-mostlyclean-target-gperf
2322 mostlyclean-target: maybe-mostlyclean-target-examples
2323 mostlyclean-target: maybe-mostlyclean-target-libffi
2324 mostlyclean-target: maybe-mostlyclean-target-libjava
2325 mostlyclean-target: maybe-mostlyclean-target-zlib
2326 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2327 mostlyclean-target: maybe-mostlyclean-target-qthreads
2328 mostlyclean-target: maybe-mostlyclean-target-rda
2329 mostlyclean-target: maybe-mostlyclean-target-libada
2330 mostlyclean-target: maybe-mostlyclean-target-libgomp
2332 .PHONY: do-clean
2333 do-clean:
2334 @: $(MAKE); $(unstage)
2335 @r=`${PWD_COMMAND}`; export r; \
2336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2337 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2338 clean-target
2341 .PHONY: clean-host
2343 clean-host: maybe-clean-ash
2344 clean-host: maybe-clean-autoconf
2345 clean-host: maybe-clean-automake
2346 clean-host: maybe-clean-bash
2347 clean-host: maybe-clean-bfd
2348 clean-host: maybe-clean-opcodes
2349 clean-host: maybe-clean-binutils
2350 clean-host: maybe-clean-bison
2351 clean-host: maybe-clean-byacc
2352 clean-host: maybe-clean-bzip2
2353 clean-host: maybe-clean-cgen
2354 clean-host: maybe-clean-dejagnu
2355 clean-host: maybe-clean-diff
2356 clean-host: maybe-clean-dosutils
2357 clean-host: maybe-clean-etc
2358 clean-host: maybe-clean-fastjar
2359 clean-host: maybe-clean-fileutils
2360 clean-host: maybe-clean-findutils
2361 clean-host: maybe-clean-find
2362 clean-host: maybe-clean-fixincludes
2363 clean-host: maybe-clean-flex
2364 clean-host: maybe-clean-gas
2365 clean-host: maybe-clean-gcc
2366 clean-host: maybe-clean-gawk
2367 clean-host: maybe-clean-gettext
2368 clean-host: maybe-clean-gmp
2369 clean-host: maybe-clean-mpfr
2370 clean-host: maybe-clean-mpc
2371 clean-host: maybe-clean-ppl
2372 clean-host: maybe-clean-cloog
2373 clean-host: maybe-clean-libelf
2374 clean-host: maybe-clean-gnuserv
2375 clean-host: maybe-clean-gold
2376 clean-host: maybe-clean-gprof
2377 clean-host: maybe-clean-gzip
2378 clean-host: maybe-clean-hello
2379 clean-host: maybe-clean-indent
2380 clean-host: maybe-clean-intl
2381 clean-host: maybe-clean-tcl
2382 clean-host: maybe-clean-itcl
2383 clean-host: maybe-clean-ld
2384 clean-host: maybe-clean-libcpp
2385 clean-host: maybe-clean-libdecnumber
2386 clean-host: maybe-clean-libgui
2387 clean-host: maybe-clean-libiberty
2388 clean-host: maybe-clean-libiconv
2389 clean-host: maybe-clean-libtool
2390 clean-host: maybe-clean-m4
2391 clean-host: maybe-clean-make
2392 clean-host: maybe-clean-mmalloc
2393 clean-host: maybe-clean-patch
2394 clean-host: maybe-clean-perl
2395 clean-host: maybe-clean-prms
2396 clean-host: maybe-clean-rcs
2397 clean-host: maybe-clean-readline
2398 clean-host: maybe-clean-release
2399 clean-host: maybe-clean-recode
2400 clean-host: maybe-clean-sed
2401 clean-host: maybe-clean-send-pr
2402 clean-host: maybe-clean-shellutils
2403 clean-host: maybe-clean-sid
2404 clean-host: maybe-clean-sim
2405 clean-host: maybe-clean-tar
2406 clean-host: maybe-clean-texinfo
2407 clean-host: maybe-clean-textutils
2408 clean-host: maybe-clean-time
2409 clean-host: maybe-clean-uudecode
2410 clean-host: maybe-clean-wdiff
2411 clean-host: maybe-clean-zip
2412 clean-host: maybe-clean-zlib
2413 clean-host: maybe-clean-gdb
2414 clean-host: maybe-clean-expect
2415 clean-host: maybe-clean-guile
2416 clean-host: maybe-clean-tk
2417 clean-host: maybe-clean-libtermcap
2418 clean-host: maybe-clean-utils
2419 clean-host: maybe-clean-gnattools
2420 clean-host: maybe-clean-lto-plugin
2422 .PHONY: clean-target
2424 clean-target: maybe-clean-target-libstdc++-v3
2425 clean-target: maybe-clean-target-libmudflap
2426 clean-target: maybe-clean-target-libssp
2427 clean-target: maybe-clean-target-newlib
2428 clean-target: maybe-clean-target-libgcc
2429 clean-target: maybe-clean-target-libquadmath
2430 clean-target: maybe-clean-target-libgfortran
2431 clean-target: maybe-clean-target-libobjc
2432 clean-target: maybe-clean-target-libgo
2433 clean-target: maybe-clean-target-libtermcap
2434 clean-target: maybe-clean-target-winsup
2435 clean-target: maybe-clean-target-libgloss
2436 clean-target: maybe-clean-target-libiberty
2437 clean-target: maybe-clean-target-gperf
2438 clean-target: maybe-clean-target-examples
2439 clean-target: maybe-clean-target-libffi
2440 clean-target: maybe-clean-target-libjava
2441 clean-target: maybe-clean-target-zlib
2442 clean-target: maybe-clean-target-boehm-gc
2443 clean-target: maybe-clean-target-qthreads
2444 clean-target: maybe-clean-target-rda
2445 clean-target: maybe-clean-target-libada
2446 clean-target: maybe-clean-target-libgomp
2448 .PHONY: do-distclean
2449 do-distclean:
2450 @: $(MAKE); $(unstage)
2451 @r=`${PWD_COMMAND}`; export r; \
2452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2454 distclean-target
2457 .PHONY: distclean-host
2459 distclean-host: maybe-distclean-ash
2460 distclean-host: maybe-distclean-autoconf
2461 distclean-host: maybe-distclean-automake
2462 distclean-host: maybe-distclean-bash
2463 distclean-host: maybe-distclean-bfd
2464 distclean-host: maybe-distclean-opcodes
2465 distclean-host: maybe-distclean-binutils
2466 distclean-host: maybe-distclean-bison
2467 distclean-host: maybe-distclean-byacc
2468 distclean-host: maybe-distclean-bzip2
2469 distclean-host: maybe-distclean-cgen
2470 distclean-host: maybe-distclean-dejagnu
2471 distclean-host: maybe-distclean-diff
2472 distclean-host: maybe-distclean-dosutils
2473 distclean-host: maybe-distclean-etc
2474 distclean-host: maybe-distclean-fastjar
2475 distclean-host: maybe-distclean-fileutils
2476 distclean-host: maybe-distclean-findutils
2477 distclean-host: maybe-distclean-find
2478 distclean-host: maybe-distclean-fixincludes
2479 distclean-host: maybe-distclean-flex
2480 distclean-host: maybe-distclean-gas
2481 distclean-host: maybe-distclean-gcc
2482 distclean-host: maybe-distclean-gawk
2483 distclean-host: maybe-distclean-gettext
2484 distclean-host: maybe-distclean-gmp
2485 distclean-host: maybe-distclean-mpfr
2486 distclean-host: maybe-distclean-mpc
2487 distclean-host: maybe-distclean-ppl
2488 distclean-host: maybe-distclean-cloog
2489 distclean-host: maybe-distclean-libelf
2490 distclean-host: maybe-distclean-gnuserv
2491 distclean-host: maybe-distclean-gold
2492 distclean-host: maybe-distclean-gprof
2493 distclean-host: maybe-distclean-gzip
2494 distclean-host: maybe-distclean-hello
2495 distclean-host: maybe-distclean-indent
2496 distclean-host: maybe-distclean-intl
2497 distclean-host: maybe-distclean-tcl
2498 distclean-host: maybe-distclean-itcl
2499 distclean-host: maybe-distclean-ld
2500 distclean-host: maybe-distclean-libcpp
2501 distclean-host: maybe-distclean-libdecnumber
2502 distclean-host: maybe-distclean-libgui
2503 distclean-host: maybe-distclean-libiberty
2504 distclean-host: maybe-distclean-libiconv
2505 distclean-host: maybe-distclean-libtool
2506 distclean-host: maybe-distclean-m4
2507 distclean-host: maybe-distclean-make
2508 distclean-host: maybe-distclean-mmalloc
2509 distclean-host: maybe-distclean-patch
2510 distclean-host: maybe-distclean-perl
2511 distclean-host: maybe-distclean-prms
2512 distclean-host: maybe-distclean-rcs
2513 distclean-host: maybe-distclean-readline
2514 distclean-host: maybe-distclean-release
2515 distclean-host: maybe-distclean-recode
2516 distclean-host: maybe-distclean-sed
2517 distclean-host: maybe-distclean-send-pr
2518 distclean-host: maybe-distclean-shellutils
2519 distclean-host: maybe-distclean-sid
2520 distclean-host: maybe-distclean-sim
2521 distclean-host: maybe-distclean-tar
2522 distclean-host: maybe-distclean-texinfo
2523 distclean-host: maybe-distclean-textutils
2524 distclean-host: maybe-distclean-time
2525 distclean-host: maybe-distclean-uudecode
2526 distclean-host: maybe-distclean-wdiff
2527 distclean-host: maybe-distclean-zip
2528 distclean-host: maybe-distclean-zlib
2529 distclean-host: maybe-distclean-gdb
2530 distclean-host: maybe-distclean-expect
2531 distclean-host: maybe-distclean-guile
2532 distclean-host: maybe-distclean-tk
2533 distclean-host: maybe-distclean-libtermcap
2534 distclean-host: maybe-distclean-utils
2535 distclean-host: maybe-distclean-gnattools
2536 distclean-host: maybe-distclean-lto-plugin
2538 .PHONY: distclean-target
2540 distclean-target: maybe-distclean-target-libstdc++-v3
2541 distclean-target: maybe-distclean-target-libmudflap
2542 distclean-target: maybe-distclean-target-libssp
2543 distclean-target: maybe-distclean-target-newlib
2544 distclean-target: maybe-distclean-target-libgcc
2545 distclean-target: maybe-distclean-target-libquadmath
2546 distclean-target: maybe-distclean-target-libgfortran
2547 distclean-target: maybe-distclean-target-libobjc
2548 distclean-target: maybe-distclean-target-libgo
2549 distclean-target: maybe-distclean-target-libtermcap
2550 distclean-target: maybe-distclean-target-winsup
2551 distclean-target: maybe-distclean-target-libgloss
2552 distclean-target: maybe-distclean-target-libiberty
2553 distclean-target: maybe-distclean-target-gperf
2554 distclean-target: maybe-distclean-target-examples
2555 distclean-target: maybe-distclean-target-libffi
2556 distclean-target: maybe-distclean-target-libjava
2557 distclean-target: maybe-distclean-target-zlib
2558 distclean-target: maybe-distclean-target-boehm-gc
2559 distclean-target: maybe-distclean-target-qthreads
2560 distclean-target: maybe-distclean-target-rda
2561 distclean-target: maybe-distclean-target-libada
2562 distclean-target: maybe-distclean-target-libgomp
2564 .PHONY: do-maintainer-clean
2565 do-maintainer-clean:
2566 @: $(MAKE); $(unstage)
2567 @r=`${PWD_COMMAND}`; export r; \
2568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2569 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2570 maintainer-clean-target
2573 .PHONY: maintainer-clean-host
2575 maintainer-clean-host: maybe-maintainer-clean-ash
2576 maintainer-clean-host: maybe-maintainer-clean-autoconf
2577 maintainer-clean-host: maybe-maintainer-clean-automake
2578 maintainer-clean-host: maybe-maintainer-clean-bash
2579 maintainer-clean-host: maybe-maintainer-clean-bfd
2580 maintainer-clean-host: maybe-maintainer-clean-opcodes
2581 maintainer-clean-host: maybe-maintainer-clean-binutils
2582 maintainer-clean-host: maybe-maintainer-clean-bison
2583 maintainer-clean-host: maybe-maintainer-clean-byacc
2584 maintainer-clean-host: maybe-maintainer-clean-bzip2
2585 maintainer-clean-host: maybe-maintainer-clean-cgen
2586 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2587 maintainer-clean-host: maybe-maintainer-clean-diff
2588 maintainer-clean-host: maybe-maintainer-clean-dosutils
2589 maintainer-clean-host: maybe-maintainer-clean-etc
2590 maintainer-clean-host: maybe-maintainer-clean-fastjar
2591 maintainer-clean-host: maybe-maintainer-clean-fileutils
2592 maintainer-clean-host: maybe-maintainer-clean-findutils
2593 maintainer-clean-host: maybe-maintainer-clean-find
2594 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2595 maintainer-clean-host: maybe-maintainer-clean-flex
2596 maintainer-clean-host: maybe-maintainer-clean-gas
2597 maintainer-clean-host: maybe-maintainer-clean-gcc
2598 maintainer-clean-host: maybe-maintainer-clean-gawk
2599 maintainer-clean-host: maybe-maintainer-clean-gettext
2600 maintainer-clean-host: maybe-maintainer-clean-gmp
2601 maintainer-clean-host: maybe-maintainer-clean-mpfr
2602 maintainer-clean-host: maybe-maintainer-clean-mpc
2603 maintainer-clean-host: maybe-maintainer-clean-ppl
2604 maintainer-clean-host: maybe-maintainer-clean-cloog
2605 maintainer-clean-host: maybe-maintainer-clean-libelf
2606 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2607 maintainer-clean-host: maybe-maintainer-clean-gold
2608 maintainer-clean-host: maybe-maintainer-clean-gprof
2609 maintainer-clean-host: maybe-maintainer-clean-gzip
2610 maintainer-clean-host: maybe-maintainer-clean-hello
2611 maintainer-clean-host: maybe-maintainer-clean-indent
2612 maintainer-clean-host: maybe-maintainer-clean-intl
2613 maintainer-clean-host: maybe-maintainer-clean-tcl
2614 maintainer-clean-host: maybe-maintainer-clean-itcl
2615 maintainer-clean-host: maybe-maintainer-clean-ld
2616 maintainer-clean-host: maybe-maintainer-clean-libcpp
2617 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2618 maintainer-clean-host: maybe-maintainer-clean-libgui
2619 maintainer-clean-host: maybe-maintainer-clean-libiberty
2620 maintainer-clean-host: maybe-maintainer-clean-libiconv
2621 maintainer-clean-host: maybe-maintainer-clean-libtool
2622 maintainer-clean-host: maybe-maintainer-clean-m4
2623 maintainer-clean-host: maybe-maintainer-clean-make
2624 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2625 maintainer-clean-host: maybe-maintainer-clean-patch
2626 maintainer-clean-host: maybe-maintainer-clean-perl
2627 maintainer-clean-host: maybe-maintainer-clean-prms
2628 maintainer-clean-host: maybe-maintainer-clean-rcs
2629 maintainer-clean-host: maybe-maintainer-clean-readline
2630 maintainer-clean-host: maybe-maintainer-clean-release
2631 maintainer-clean-host: maybe-maintainer-clean-recode
2632 maintainer-clean-host: maybe-maintainer-clean-sed
2633 maintainer-clean-host: maybe-maintainer-clean-send-pr
2634 maintainer-clean-host: maybe-maintainer-clean-shellutils
2635 maintainer-clean-host: maybe-maintainer-clean-sid
2636 maintainer-clean-host: maybe-maintainer-clean-sim
2637 maintainer-clean-host: maybe-maintainer-clean-tar
2638 maintainer-clean-host: maybe-maintainer-clean-texinfo
2639 maintainer-clean-host: maybe-maintainer-clean-textutils
2640 maintainer-clean-host: maybe-maintainer-clean-time
2641 maintainer-clean-host: maybe-maintainer-clean-uudecode
2642 maintainer-clean-host: maybe-maintainer-clean-wdiff
2643 maintainer-clean-host: maybe-maintainer-clean-zip
2644 maintainer-clean-host: maybe-maintainer-clean-zlib
2645 maintainer-clean-host: maybe-maintainer-clean-gdb
2646 maintainer-clean-host: maybe-maintainer-clean-expect
2647 maintainer-clean-host: maybe-maintainer-clean-guile
2648 maintainer-clean-host: maybe-maintainer-clean-tk
2649 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2650 maintainer-clean-host: maybe-maintainer-clean-utils
2651 maintainer-clean-host: maybe-maintainer-clean-gnattools
2652 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2654 .PHONY: maintainer-clean-target
2656 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2657 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2658 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2659 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2660 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2661 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2662 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2663 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2664 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2665 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2666 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2667 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2668 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2669 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2670 maintainer-clean-target: maybe-maintainer-clean-target-examples
2671 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2672 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2673 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2674 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2675 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2676 maintainer-clean-target: maybe-maintainer-clean-target-rda
2677 maintainer-clean-target: maybe-maintainer-clean-target-libada
2678 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2681 # Here are the targets which correspond to the do-X targets.
2683 .PHONY: info installcheck dvi pdf html
2684 .PHONY: install-info install-pdf install-html
2685 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2686 .PHONY: local-clean local-distclean local-maintainer-clean
2687 info: do-info
2688 installcheck: do-installcheck
2689 dvi: do-dvi
2690 pdf: do-pdf
2691 html: do-html
2693 # Make sure makeinfo is built before we do a `make info', if we're
2694 # in fact building texinfo.
2695 do-info: maybe-all-texinfo
2697 install-info: do-install-info dir.info
2698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699 if [ -f dir.info ] ; then \
2700 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2701 else true ; fi
2703 install-pdf: do-install-pdf
2705 install-html: do-install-html
2707 local-clean:
2708 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2710 local-distclean:
2711 -rm -f Makefile config.status config.cache mh-frag mt-frag
2712 -rm -f maybedep.tmp serdep.tmp
2713 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2714 rm -rf $(TARGET_SUBDIR); \
2715 else true; fi
2716 -rm -rf $(BUILD_SUBDIR)
2717 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2718 rm -rf $(HOST_SUBDIR); \
2719 else true; fi
2720 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2721 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2722 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2723 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2724 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2725 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2727 local-maintainer-clean:
2728 @echo "This command is intended for maintainers to use;"
2729 @echo "it deletes files that may require special tools to rebuild."
2731 clean: do-clean local-clean
2732 mostlyclean: do-mostlyclean local-clean
2733 distclean: do-distclean local-clean local-distclean
2734 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2735 maintainer-clean: local-distclean
2736 realclean: maintainer-clean
2738 # Check target.
2740 .PHONY: check do-check
2741 check: do-check
2743 # Only include modules actually being configured and built.
2744 .PHONY: check-host
2745 check-host: \
2746 maybe-check-ash \
2747 maybe-check-autoconf \
2748 maybe-check-automake \
2749 maybe-check-bash \
2750 maybe-check-bfd \
2751 maybe-check-opcodes \
2752 maybe-check-binutils \
2753 maybe-check-bison \
2754 maybe-check-byacc \
2755 maybe-check-bzip2 \
2756 maybe-check-cgen \
2757 maybe-check-dejagnu \
2758 maybe-check-diff \
2759 maybe-check-dosutils \
2760 maybe-check-etc \
2761 maybe-check-fastjar \
2762 maybe-check-fileutils \
2763 maybe-check-findutils \
2764 maybe-check-find \
2765 maybe-check-fixincludes \
2766 maybe-check-flex \
2767 maybe-check-gas \
2768 maybe-check-gcc \
2769 maybe-check-gawk \
2770 maybe-check-gettext \
2771 maybe-check-gmp \
2772 maybe-check-mpfr \
2773 maybe-check-mpc \
2774 maybe-check-ppl \
2775 maybe-check-cloog \
2776 maybe-check-libelf \
2777 maybe-check-gnuserv \
2778 maybe-check-gold \
2779 maybe-check-gprof \
2780 maybe-check-gzip \
2781 maybe-check-hello \
2782 maybe-check-indent \
2783 maybe-check-intl \
2784 maybe-check-tcl \
2785 maybe-check-itcl \
2786 maybe-check-ld \
2787 maybe-check-libcpp \
2788 maybe-check-libdecnumber \
2789 maybe-check-libgui \
2790 maybe-check-libiberty \
2791 maybe-check-libiconv \
2792 maybe-check-libtool \
2793 maybe-check-m4 \
2794 maybe-check-make \
2795 maybe-check-mmalloc \
2796 maybe-check-patch \
2797 maybe-check-perl \
2798 maybe-check-prms \
2799 maybe-check-rcs \
2800 maybe-check-readline \
2801 maybe-check-release \
2802 maybe-check-recode \
2803 maybe-check-sed \
2804 maybe-check-send-pr \
2805 maybe-check-shellutils \
2806 maybe-check-sid \
2807 maybe-check-sim \
2808 maybe-check-tar \
2809 maybe-check-texinfo \
2810 maybe-check-textutils \
2811 maybe-check-time \
2812 maybe-check-uudecode \
2813 maybe-check-wdiff \
2814 maybe-check-zip \
2815 maybe-check-zlib \
2816 maybe-check-gdb \
2817 maybe-check-expect \
2818 maybe-check-guile \
2819 maybe-check-tk \
2820 maybe-check-libtermcap \
2821 maybe-check-utils \
2822 maybe-check-gnattools \
2823 maybe-check-lto-plugin
2825 .PHONY: check-target
2826 check-target: \
2827 maybe-check-target-libstdc++-v3 \
2828 maybe-check-target-libmudflap \
2829 maybe-check-target-libssp \
2830 maybe-check-target-newlib \
2831 maybe-check-target-libgcc \
2832 maybe-check-target-libquadmath \
2833 maybe-check-target-libgfortran \
2834 maybe-check-target-libobjc \
2835 maybe-check-target-libgo \
2836 maybe-check-target-libtermcap \
2837 maybe-check-target-winsup \
2838 maybe-check-target-libgloss \
2839 maybe-check-target-libiberty \
2840 maybe-check-target-gperf \
2841 maybe-check-target-examples \
2842 maybe-check-target-libffi \
2843 maybe-check-target-libjava \
2844 maybe-check-target-zlib \
2845 maybe-check-target-boehm-gc \
2846 maybe-check-target-qthreads \
2847 maybe-check-target-rda \
2848 maybe-check-target-libada \
2849 maybe-check-target-libgomp
2851 do-check:
2852 @: $(MAKE); $(unstage)
2853 @r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2857 # Automated reporting of test results.
2859 warning.log: build.log
2860 $(srcdir)/contrib/warn_summary build.log > $@
2862 mail-report.log:
2863 if test x'$(BOOT_CFLAGS)' != x''; then \
2864 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2865 fi; \
2866 $(srcdir)/contrib/test_summary -t >$@
2867 chmod +x $@
2868 echo If you really want to send e-mail, run ./$@ now
2870 mail-report-with-warnings.log: warning.log
2871 if test x'$(BOOT_CFLAGS)' != x''; then \
2872 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2873 fi; \
2874 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2875 chmod +x $@
2876 echo If you really want to send e-mail, run ./$@ now
2878 # Installation targets.
2880 .PHONY: install uninstall
2881 install:
2882 @: $(MAKE); $(unstage)
2883 @r=`${PWD_COMMAND}`; export r; \
2884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2887 .PHONY: install-host-nogcc
2888 install-host-nogcc: \
2889 maybe-install-ash \
2890 maybe-install-autoconf \
2891 maybe-install-automake \
2892 maybe-install-bash \
2893 maybe-install-bfd \
2894 maybe-install-opcodes \
2895 maybe-install-binutils \
2896 maybe-install-bison \
2897 maybe-install-byacc \
2898 maybe-install-bzip2 \
2899 maybe-install-cgen \
2900 maybe-install-dejagnu \
2901 maybe-install-diff \
2902 maybe-install-dosutils \
2903 maybe-install-etc \
2904 maybe-install-fastjar \
2905 maybe-install-fileutils \
2906 maybe-install-findutils \
2907 maybe-install-find \
2908 maybe-install-fixincludes \
2909 maybe-install-flex \
2910 maybe-install-gas \
2911 maybe-install-gawk \
2912 maybe-install-gettext \
2913 maybe-install-gmp \
2914 maybe-install-mpfr \
2915 maybe-install-mpc \
2916 maybe-install-ppl \
2917 maybe-install-cloog \
2918 maybe-install-libelf \
2919 maybe-install-gnuserv \
2920 maybe-install-gold \
2921 maybe-install-gprof \
2922 maybe-install-gzip \
2923 maybe-install-hello \
2924 maybe-install-indent \
2925 maybe-install-intl \
2926 maybe-install-tcl \
2927 maybe-install-itcl \
2928 maybe-install-ld \
2929 maybe-install-libcpp \
2930 maybe-install-libdecnumber \
2931 maybe-install-libgui \
2932 maybe-install-libiberty \
2933 maybe-install-libiconv \
2934 maybe-install-libtool \
2935 maybe-install-m4 \
2936 maybe-install-make \
2937 maybe-install-mmalloc \
2938 maybe-install-patch \
2939 maybe-install-perl \
2940 maybe-install-prms \
2941 maybe-install-rcs \
2942 maybe-install-readline \
2943 maybe-install-release \
2944 maybe-install-recode \
2945 maybe-install-sed \
2946 maybe-install-send-pr \
2947 maybe-install-shellutils \
2948 maybe-install-sid \
2949 maybe-install-sim \
2950 maybe-install-tar \
2951 maybe-install-texinfo \
2952 maybe-install-textutils \
2953 maybe-install-time \
2954 maybe-install-uudecode \
2955 maybe-install-wdiff \
2956 maybe-install-zip \
2957 maybe-install-zlib \
2958 maybe-install-gdb \
2959 maybe-install-expect \
2960 maybe-install-guile \
2961 maybe-install-tk \
2962 maybe-install-libtermcap \
2963 maybe-install-utils \
2964 maybe-install-gnattools \
2965 maybe-install-lto-plugin
2967 .PHONY: install-host
2968 install-host: \
2969 maybe-install-ash \
2970 maybe-install-autoconf \
2971 maybe-install-automake \
2972 maybe-install-bash \
2973 maybe-install-bfd \
2974 maybe-install-opcodes \
2975 maybe-install-binutils \
2976 maybe-install-bison \
2977 maybe-install-byacc \
2978 maybe-install-bzip2 \
2979 maybe-install-cgen \
2980 maybe-install-dejagnu \
2981 maybe-install-diff \
2982 maybe-install-dosutils \
2983 maybe-install-etc \
2984 maybe-install-fastjar \
2985 maybe-install-fileutils \
2986 maybe-install-findutils \
2987 maybe-install-find \
2988 maybe-install-fixincludes \
2989 maybe-install-flex \
2990 maybe-install-gas \
2991 maybe-install-gcc \
2992 maybe-install-gawk \
2993 maybe-install-gettext \
2994 maybe-install-gmp \
2995 maybe-install-mpfr \
2996 maybe-install-mpc \
2997 maybe-install-ppl \
2998 maybe-install-cloog \
2999 maybe-install-libelf \
3000 maybe-install-gnuserv \
3001 maybe-install-gold \
3002 maybe-install-gprof \
3003 maybe-install-gzip \
3004 maybe-install-hello \
3005 maybe-install-indent \
3006 maybe-install-intl \
3007 maybe-install-tcl \
3008 maybe-install-itcl \
3009 maybe-install-ld \
3010 maybe-install-libcpp \
3011 maybe-install-libdecnumber \
3012 maybe-install-libgui \
3013 maybe-install-libiberty \
3014 maybe-install-libiconv \
3015 maybe-install-libtool \
3016 maybe-install-m4 \
3017 maybe-install-make \
3018 maybe-install-mmalloc \
3019 maybe-install-patch \
3020 maybe-install-perl \
3021 maybe-install-prms \
3022 maybe-install-rcs \
3023 maybe-install-readline \
3024 maybe-install-release \
3025 maybe-install-recode \
3026 maybe-install-sed \
3027 maybe-install-send-pr \
3028 maybe-install-shellutils \
3029 maybe-install-sid \
3030 maybe-install-sim \
3031 maybe-install-tar \
3032 maybe-install-texinfo \
3033 maybe-install-textutils \
3034 maybe-install-time \
3035 maybe-install-uudecode \
3036 maybe-install-wdiff \
3037 maybe-install-zip \
3038 maybe-install-zlib \
3039 maybe-install-gdb \
3040 maybe-install-expect \
3041 maybe-install-guile \
3042 maybe-install-tk \
3043 maybe-install-libtermcap \
3044 maybe-install-utils \
3045 maybe-install-gnattools \
3046 maybe-install-lto-plugin
3048 .PHONY: install-target
3049 install-target: \
3050 maybe-install-target-libstdc++-v3 \
3051 maybe-install-target-libmudflap \
3052 maybe-install-target-libssp \
3053 maybe-install-target-newlib \
3054 maybe-install-target-libgcc \
3055 maybe-install-target-libquadmath \
3056 maybe-install-target-libgfortran \
3057 maybe-install-target-libobjc \
3058 maybe-install-target-libgo \
3059 maybe-install-target-libtermcap \
3060 maybe-install-target-winsup \
3061 maybe-install-target-libgloss \
3062 maybe-install-target-libiberty \
3063 maybe-install-target-gperf \
3064 maybe-install-target-examples \
3065 maybe-install-target-libffi \
3066 maybe-install-target-libjava \
3067 maybe-install-target-zlib \
3068 maybe-install-target-boehm-gc \
3069 maybe-install-target-qthreads \
3070 maybe-install-target-rda \
3071 maybe-install-target-libada \
3072 maybe-install-target-libgomp
3074 uninstall:
3075 @echo "the uninstall target is not supported in this tree"
3077 .PHONY: install.all
3078 install.all: install-no-fixedincludes
3079 @if [ -f ./gcc/Makefile ] ; then \
3080 r=`${PWD_COMMAND}` ; export r ; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(HOST_EXPORTS) \
3083 (cd ./gcc && \
3084 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
3085 else \
3086 true ; \
3089 # install-no-fixedincludes is used because Cygnus can not distribute
3090 # the fixed header files.
3091 .PHONY: install-no-fixedincludes
3092 install-no-fixedincludes: installdirs install-host-nogcc \
3093 install-target gcc-no-fixedincludes
3095 .PHONY: install-strip
3096 install-strip:
3097 @: $(MAKE); $(unstage)
3098 @r=`${PWD_COMMAND}`; export r; \
3099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3100 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
3102 .PHONY: install-strip-host
3103 install-strip-host: \
3104 maybe-install-strip-ash \
3105 maybe-install-strip-autoconf \
3106 maybe-install-strip-automake \
3107 maybe-install-strip-bash \
3108 maybe-install-strip-bfd \
3109 maybe-install-strip-opcodes \
3110 maybe-install-strip-binutils \
3111 maybe-install-strip-bison \
3112 maybe-install-strip-byacc \
3113 maybe-install-strip-bzip2 \
3114 maybe-install-strip-cgen \
3115 maybe-install-strip-dejagnu \
3116 maybe-install-strip-diff \
3117 maybe-install-strip-dosutils \
3118 maybe-install-strip-etc \
3119 maybe-install-strip-fastjar \
3120 maybe-install-strip-fileutils \
3121 maybe-install-strip-findutils \
3122 maybe-install-strip-find \
3123 maybe-install-strip-fixincludes \
3124 maybe-install-strip-flex \
3125 maybe-install-strip-gas \
3126 maybe-install-strip-gcc \
3127 maybe-install-strip-gawk \
3128 maybe-install-strip-gettext \
3129 maybe-install-strip-gmp \
3130 maybe-install-strip-mpfr \
3131 maybe-install-strip-mpc \
3132 maybe-install-strip-ppl \
3133 maybe-install-strip-cloog \
3134 maybe-install-strip-libelf \
3135 maybe-install-strip-gnuserv \
3136 maybe-install-strip-gold \
3137 maybe-install-strip-gprof \
3138 maybe-install-strip-gzip \
3139 maybe-install-strip-hello \
3140 maybe-install-strip-indent \
3141 maybe-install-strip-intl \
3142 maybe-install-strip-tcl \
3143 maybe-install-strip-itcl \
3144 maybe-install-strip-ld \
3145 maybe-install-strip-libcpp \
3146 maybe-install-strip-libdecnumber \
3147 maybe-install-strip-libgui \
3148 maybe-install-strip-libiberty \
3149 maybe-install-strip-libiconv \
3150 maybe-install-strip-libtool \
3151 maybe-install-strip-m4 \
3152 maybe-install-strip-make \
3153 maybe-install-strip-mmalloc \
3154 maybe-install-strip-patch \
3155 maybe-install-strip-perl \
3156 maybe-install-strip-prms \
3157 maybe-install-strip-rcs \
3158 maybe-install-strip-readline \
3159 maybe-install-strip-release \
3160 maybe-install-strip-recode \
3161 maybe-install-strip-sed \
3162 maybe-install-strip-send-pr \
3163 maybe-install-strip-shellutils \
3164 maybe-install-strip-sid \
3165 maybe-install-strip-sim \
3166 maybe-install-strip-tar \
3167 maybe-install-strip-texinfo \
3168 maybe-install-strip-textutils \
3169 maybe-install-strip-time \
3170 maybe-install-strip-uudecode \
3171 maybe-install-strip-wdiff \
3172 maybe-install-strip-zip \
3173 maybe-install-strip-zlib \
3174 maybe-install-strip-gdb \
3175 maybe-install-strip-expect \
3176 maybe-install-strip-guile \
3177 maybe-install-strip-tk \
3178 maybe-install-strip-libtermcap \
3179 maybe-install-strip-utils \
3180 maybe-install-strip-gnattools \
3181 maybe-install-strip-lto-plugin
3183 .PHONY: install-strip-target
3184 install-strip-target: \
3185 maybe-install-strip-target-libstdc++-v3 \
3186 maybe-install-strip-target-libmudflap \
3187 maybe-install-strip-target-libssp \
3188 maybe-install-strip-target-newlib \
3189 maybe-install-strip-target-libgcc \
3190 maybe-install-strip-target-libquadmath \
3191 maybe-install-strip-target-libgfortran \
3192 maybe-install-strip-target-libobjc \
3193 maybe-install-strip-target-libgo \
3194 maybe-install-strip-target-libtermcap \
3195 maybe-install-strip-target-winsup \
3196 maybe-install-strip-target-libgloss \
3197 maybe-install-strip-target-libiberty \
3198 maybe-install-strip-target-gperf \
3199 maybe-install-strip-target-examples \
3200 maybe-install-strip-target-libffi \
3201 maybe-install-strip-target-libjava \
3202 maybe-install-strip-target-zlib \
3203 maybe-install-strip-target-boehm-gc \
3204 maybe-install-strip-target-qthreads \
3205 maybe-install-strip-target-rda \
3206 maybe-install-strip-target-libada \
3207 maybe-install-strip-target-libgomp
3210 ### other supporting targets
3212 MAKEDIRS= \
3213 $(DESTDIR)$(prefix) \
3214 $(DESTDIR)$(exec_prefix)
3215 .PHONY: installdirs
3216 installdirs: mkinstalldirs
3217 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3219 dir.info: do-install-info
3220 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
3221 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
3222 mv -f dir.info.new dir.info ; \
3223 else true ; \
3226 dist:
3227 @echo "Building a full distribution of this tree isn't done"
3228 @echo "via 'make dist'. Check out the etc/ subdirectory"
3230 etags tags: TAGS
3232 # Right now this just builds TAGS in each subdirectory. emacs19 has the
3233 # ability to use several tags files at once, so there is probably no need
3234 # to combine them into one big TAGS file (like CVS 1.3 does). We could
3235 # (if we felt like it) have this Makefile write a piece of elisp which
3236 # the user could load to tell emacs19 where all the TAGS files we just
3237 # built are.
3238 TAGS: do-TAGS
3240 # ------------------------------------
3241 # Macros for configure and all targets
3242 # ------------------------------------
3248 # --------------------------------------
3249 # Modules which run on the build machine
3250 # --------------------------------------
3253 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3254 maybe-configure-build-libiberty:
3255 @if gcc-bootstrap
3256 configure-build-libiberty: stage_current
3257 @endif gcc-bootstrap
3258 @if build-libiberty
3259 maybe-configure-build-libiberty: configure-build-libiberty
3260 configure-build-libiberty:
3261 @: $(MAKE); $(unstage)
3262 @r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3265 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
3266 $(BUILD_EXPORTS) \
3267 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3268 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3269 case $(srcdir) in \
3270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3271 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3273 esac; \
3274 srcdiroption="--srcdir=$${topdir}/libiberty"; \
3275 libsrcdir="$$s/libiberty"; \
3276 rm -f no-such-file || : ; \
3277 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3278 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3279 --target=${target_alias} $${srcdiroption} \
3280 || exit 1
3281 @endif build-libiberty
3287 .PHONY: all-build-libiberty maybe-all-build-libiberty
3288 maybe-all-build-libiberty:
3289 @if gcc-bootstrap
3290 all-build-libiberty: stage_current
3291 @endif gcc-bootstrap
3292 @if build-libiberty
3293 TARGET-build-libiberty=all
3294 maybe-all-build-libiberty: all-build-libiberty
3295 all-build-libiberty: configure-build-libiberty
3296 @: $(MAKE); $(unstage)
3297 @r=`${PWD_COMMAND}`; export r; \
3298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299 $(BUILD_EXPORTS) \
3300 (cd $(BUILD_SUBDIR)/libiberty && \
3301 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3302 $(TARGET-build-libiberty))
3303 @endif build-libiberty
3309 .PHONY: configure-build-bison maybe-configure-build-bison
3310 maybe-configure-build-bison:
3311 @if gcc-bootstrap
3312 configure-build-bison: stage_current
3313 @endif gcc-bootstrap
3314 @if build-bison
3315 maybe-configure-build-bison: configure-build-bison
3316 configure-build-bison:
3317 @: $(MAKE); $(unstage)
3318 @r=`${PWD_COMMAND}`; export r; \
3319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3320 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3321 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
3322 $(BUILD_EXPORTS) \
3323 echo Configuring in $(BUILD_SUBDIR)/bison; \
3324 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3325 case $(srcdir) in \
3326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3327 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3329 esac; \
3330 srcdiroption="--srcdir=$${topdir}/bison"; \
3331 libsrcdir="$$s/bison"; \
3332 rm -f no-such-file || : ; \
3333 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3334 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3335 --target=${target_alias} $${srcdiroption} \
3336 || exit 1
3337 @endif build-bison
3343 .PHONY: all-build-bison maybe-all-build-bison
3344 maybe-all-build-bison:
3345 @if gcc-bootstrap
3346 all-build-bison: stage_current
3347 @endif gcc-bootstrap
3348 @if build-bison
3349 TARGET-build-bison=all
3350 maybe-all-build-bison: all-build-bison
3351 all-build-bison: configure-build-bison
3352 @: $(MAKE); $(unstage)
3353 @r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355 $(BUILD_EXPORTS) \
3356 (cd $(BUILD_SUBDIR)/bison && \
3357 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3358 $(TARGET-build-bison))
3359 @endif build-bison
3365 .PHONY: configure-build-byacc maybe-configure-build-byacc
3366 maybe-configure-build-byacc:
3367 @if gcc-bootstrap
3368 configure-build-byacc: stage_current
3369 @endif gcc-bootstrap
3370 @if build-byacc
3371 maybe-configure-build-byacc: configure-build-byacc
3372 configure-build-byacc:
3373 @: $(MAKE); $(unstage)
3374 @r=`${PWD_COMMAND}`; export r; \
3375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
3377 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
3378 $(BUILD_EXPORTS) \
3379 echo Configuring in $(BUILD_SUBDIR)/byacc; \
3380 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
3381 case $(srcdir) in \
3382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3383 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
3384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3385 esac; \
3386 srcdiroption="--srcdir=$${topdir}/byacc"; \
3387 libsrcdir="$$s/byacc"; \
3388 rm -f no-such-file || : ; \
3389 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3390 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3391 --target=${target_alias} $${srcdiroption} \
3392 || exit 1
3393 @endif build-byacc
3399 .PHONY: all-build-byacc maybe-all-build-byacc
3400 maybe-all-build-byacc:
3401 @if gcc-bootstrap
3402 all-build-byacc: stage_current
3403 @endif gcc-bootstrap
3404 @if build-byacc
3405 TARGET-build-byacc=all
3406 maybe-all-build-byacc: all-build-byacc
3407 all-build-byacc: configure-build-byacc
3408 @: $(MAKE); $(unstage)
3409 @r=`${PWD_COMMAND}`; export r; \
3410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411 $(BUILD_EXPORTS) \
3412 (cd $(BUILD_SUBDIR)/byacc && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3414 $(TARGET-build-byacc))
3415 @endif build-byacc
3421 .PHONY: configure-build-flex maybe-configure-build-flex
3422 maybe-configure-build-flex:
3423 @if gcc-bootstrap
3424 configure-build-flex: stage_current
3425 @endif gcc-bootstrap
3426 @if build-flex
3427 maybe-configure-build-flex: configure-build-flex
3428 configure-build-flex:
3429 @: $(MAKE); $(unstage)
3430 @r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3433 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
3434 $(BUILD_EXPORTS) \
3435 echo Configuring in $(BUILD_SUBDIR)/flex; \
3436 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3437 case $(srcdir) in \
3438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3439 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3441 esac; \
3442 srcdiroption="--srcdir=$${topdir}/flex"; \
3443 libsrcdir="$$s/flex"; \
3444 rm -f no-such-file || : ; \
3445 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3446 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3447 --target=${target_alias} $${srcdiroption} \
3448 || exit 1
3449 @endif build-flex
3455 .PHONY: all-build-flex maybe-all-build-flex
3456 maybe-all-build-flex:
3457 @if gcc-bootstrap
3458 all-build-flex: stage_current
3459 @endif gcc-bootstrap
3460 @if build-flex
3461 TARGET-build-flex=all
3462 maybe-all-build-flex: all-build-flex
3463 all-build-flex: configure-build-flex
3464 @: $(MAKE); $(unstage)
3465 @r=`${PWD_COMMAND}`; export r; \
3466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 $(BUILD_EXPORTS) \
3468 (cd $(BUILD_SUBDIR)/flex && \
3469 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3470 $(TARGET-build-flex))
3471 @endif build-flex
3477 .PHONY: configure-build-m4 maybe-configure-build-m4
3478 maybe-configure-build-m4:
3479 @if gcc-bootstrap
3480 configure-build-m4: stage_current
3481 @endif gcc-bootstrap
3482 @if build-m4
3483 maybe-configure-build-m4: configure-build-m4
3484 configure-build-m4:
3485 @: $(MAKE); $(unstage)
3486 @r=`${PWD_COMMAND}`; export r; \
3487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3488 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3489 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3490 $(BUILD_EXPORTS) \
3491 echo Configuring in $(BUILD_SUBDIR)/m4; \
3492 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3493 case $(srcdir) in \
3494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3495 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3497 esac; \
3498 srcdiroption="--srcdir=$${topdir}/m4"; \
3499 libsrcdir="$$s/m4"; \
3500 rm -f no-such-file || : ; \
3501 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3502 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3503 --target=${target_alias} $${srcdiroption} \
3504 || exit 1
3505 @endif build-m4
3511 .PHONY: all-build-m4 maybe-all-build-m4
3512 maybe-all-build-m4:
3513 @if gcc-bootstrap
3514 all-build-m4: stage_current
3515 @endif gcc-bootstrap
3516 @if build-m4
3517 TARGET-build-m4=all
3518 maybe-all-build-m4: all-build-m4
3519 all-build-m4: configure-build-m4
3520 @: $(MAKE); $(unstage)
3521 @r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523 $(BUILD_EXPORTS) \
3524 (cd $(BUILD_SUBDIR)/m4 && \
3525 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3526 $(TARGET-build-m4))
3527 @endif build-m4
3533 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3534 maybe-configure-build-texinfo:
3535 @if gcc-bootstrap
3536 configure-build-texinfo: stage_current
3537 @endif gcc-bootstrap
3538 @if build-texinfo
3539 maybe-configure-build-texinfo: configure-build-texinfo
3540 configure-build-texinfo:
3541 @: $(MAKE); $(unstage)
3542 @r=`${PWD_COMMAND}`; export r; \
3543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3545 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3546 $(BUILD_EXPORTS) \
3547 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3548 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3549 case $(srcdir) in \
3550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3551 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3553 esac; \
3554 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3555 libsrcdir="$$s/texinfo"; \
3556 rm -f no-such-file || : ; \
3557 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3558 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3559 --target=${target_alias} $${srcdiroption} \
3560 || exit 1
3561 @endif build-texinfo
3567 .PHONY: all-build-texinfo maybe-all-build-texinfo
3568 maybe-all-build-texinfo:
3569 @if gcc-bootstrap
3570 all-build-texinfo: stage_current
3571 @endif gcc-bootstrap
3572 @if build-texinfo
3573 TARGET-build-texinfo=all
3574 maybe-all-build-texinfo: all-build-texinfo
3575 all-build-texinfo: configure-build-texinfo
3576 @: $(MAKE); $(unstage)
3577 @r=`${PWD_COMMAND}`; export r; \
3578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3579 $(BUILD_EXPORTS) \
3580 (cd $(BUILD_SUBDIR)/texinfo && \
3581 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3582 $(TARGET-build-texinfo))
3583 @endif build-texinfo
3589 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3590 maybe-configure-build-fixincludes:
3591 @if gcc-bootstrap
3592 configure-build-fixincludes: stage_current
3593 @endif gcc-bootstrap
3594 @if build-fixincludes
3595 maybe-configure-build-fixincludes: configure-build-fixincludes
3596 configure-build-fixincludes:
3597 @: $(MAKE); $(unstage)
3598 @r=`${PWD_COMMAND}`; export r; \
3599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3601 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3602 $(BUILD_EXPORTS) \
3603 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3604 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3605 case $(srcdir) in \
3606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3607 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3609 esac; \
3610 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3611 libsrcdir="$$s/fixincludes"; \
3612 rm -f no-such-file || : ; \
3613 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3614 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3615 --target=${target_alias} $${srcdiroption} \
3616 || exit 1
3617 @endif build-fixincludes
3623 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3624 maybe-all-build-fixincludes:
3625 @if gcc-bootstrap
3626 all-build-fixincludes: stage_current
3627 @endif gcc-bootstrap
3628 @if build-fixincludes
3629 TARGET-build-fixincludes=all
3630 maybe-all-build-fixincludes: all-build-fixincludes
3631 all-build-fixincludes: configure-build-fixincludes
3632 @: $(MAKE); $(unstage)
3633 @r=`${PWD_COMMAND}`; export r; \
3634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3635 $(BUILD_EXPORTS) \
3636 (cd $(BUILD_SUBDIR)/fixincludes && \
3637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3638 $(TARGET-build-fixincludes))
3639 @endif build-fixincludes
3645 # --------------------------------------
3646 # Modules which run on the host machine
3647 # --------------------------------------
3650 .PHONY: configure-ash maybe-configure-ash
3651 maybe-configure-ash:
3652 @if gcc-bootstrap
3653 configure-ash: stage_current
3654 @endif gcc-bootstrap
3655 @if ash
3656 maybe-configure-ash: configure-ash
3657 configure-ash:
3658 @: $(MAKE); $(unstage)
3659 @r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3663 $(HOST_EXPORTS) \
3664 echo Configuring in $(HOST_SUBDIR)/ash; \
3665 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3666 case $(srcdir) in \
3667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3668 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3670 esac; \
3671 srcdiroption="--srcdir=$${topdir}/ash"; \
3672 libsrcdir="$$s/ash"; \
3673 $(SHELL) $${libsrcdir}/configure \
3674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3675 --target=${target_alias} $${srcdiroption} \
3676 || exit 1
3677 @endif ash
3683 .PHONY: all-ash maybe-all-ash
3684 maybe-all-ash:
3685 @if gcc-bootstrap
3686 all-ash: stage_current
3687 @endif gcc-bootstrap
3688 @if ash
3689 TARGET-ash=all
3690 maybe-all-ash: all-ash
3691 all-ash: configure-ash
3692 @: $(MAKE); $(unstage)
3693 @r=`${PWD_COMMAND}`; export r; \
3694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695 $(HOST_EXPORTS) \
3696 (cd $(HOST_SUBDIR)/ash && \
3697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3698 $(TARGET-ash))
3699 @endif ash
3704 .PHONY: check-ash maybe-check-ash
3705 maybe-check-ash:
3706 @if ash
3707 maybe-check-ash: check-ash
3709 check-ash:
3710 @: $(MAKE); $(unstage)
3711 @r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 (cd $(HOST_SUBDIR)/ash && \
3715 $(MAKE) $(FLAGS_TO_PASS) check)
3717 @endif ash
3719 .PHONY: install-ash maybe-install-ash
3720 maybe-install-ash:
3721 @if ash
3722 maybe-install-ash: install-ash
3724 install-ash: installdirs
3725 @: $(MAKE); $(unstage)
3726 @r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 (cd $(HOST_SUBDIR)/ash && \
3730 $(MAKE) $(FLAGS_TO_PASS) install)
3732 @endif ash
3734 .PHONY: install-strip-ash maybe-install-strip-ash
3735 maybe-install-strip-ash:
3736 @if ash
3737 maybe-install-strip-ash: install-strip-ash
3739 install-strip-ash: installdirs
3740 @: $(MAKE); $(unstage)
3741 @r=`${PWD_COMMAND}`; export r; \
3742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3743 $(HOST_EXPORTS) \
3744 (cd $(HOST_SUBDIR)/ash && \
3745 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3747 @endif ash
3749 # Other targets (info, dvi, pdf, etc.)
3751 .PHONY: maybe-info-ash info-ash
3752 maybe-info-ash:
3753 @if ash
3754 maybe-info-ash: info-ash
3756 info-ash: \
3757 configure-ash
3758 @: $(MAKE); $(unstage)
3759 @[ -f ./ash/Makefile ] || exit 0; \
3760 r=`${PWD_COMMAND}`; export r; \
3761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762 $(HOST_EXPORTS) \
3763 for flag in $(EXTRA_HOST_FLAGS) ; do \
3764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765 done; \
3766 echo "Doing info in ash" ; \
3767 (cd $(HOST_SUBDIR)/ash && \
3768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3770 "RANLIB=$${RANLIB}" \
3771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3772 info) \
3773 || exit 1
3775 @endif ash
3777 .PHONY: maybe-dvi-ash dvi-ash
3778 maybe-dvi-ash:
3779 @if ash
3780 maybe-dvi-ash: dvi-ash
3782 dvi-ash: \
3783 configure-ash
3784 @: $(MAKE); $(unstage)
3785 @[ -f ./ash/Makefile ] || exit 0; \
3786 r=`${PWD_COMMAND}`; export r; \
3787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788 $(HOST_EXPORTS) \
3789 for flag in $(EXTRA_HOST_FLAGS) ; do \
3790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3791 done; \
3792 echo "Doing dvi in ash" ; \
3793 (cd $(HOST_SUBDIR)/ash && \
3794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3796 "RANLIB=$${RANLIB}" \
3797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3798 dvi) \
3799 || exit 1
3801 @endif ash
3803 .PHONY: maybe-pdf-ash pdf-ash
3804 maybe-pdf-ash:
3805 @if ash
3806 maybe-pdf-ash: pdf-ash
3808 pdf-ash: \
3809 configure-ash
3810 @: $(MAKE); $(unstage)
3811 @[ -f ./ash/Makefile ] || exit 0; \
3812 r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814 $(HOST_EXPORTS) \
3815 for flag in $(EXTRA_HOST_FLAGS) ; do \
3816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3817 done; \
3818 echo "Doing pdf in ash" ; \
3819 (cd $(HOST_SUBDIR)/ash && \
3820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3822 "RANLIB=$${RANLIB}" \
3823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3824 pdf) \
3825 || exit 1
3827 @endif ash
3829 .PHONY: maybe-html-ash html-ash
3830 maybe-html-ash:
3831 @if ash
3832 maybe-html-ash: html-ash
3834 html-ash: \
3835 configure-ash
3836 @: $(MAKE); $(unstage)
3837 @[ -f ./ash/Makefile ] || exit 0; \
3838 r=`${PWD_COMMAND}`; export r; \
3839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840 $(HOST_EXPORTS) \
3841 for flag in $(EXTRA_HOST_FLAGS) ; do \
3842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3843 done; \
3844 echo "Doing html in ash" ; \
3845 (cd $(HOST_SUBDIR)/ash && \
3846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3848 "RANLIB=$${RANLIB}" \
3849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3850 html) \
3851 || exit 1
3853 @endif ash
3855 .PHONY: maybe-TAGS-ash TAGS-ash
3856 maybe-TAGS-ash:
3857 @if ash
3858 maybe-TAGS-ash: TAGS-ash
3860 TAGS-ash: \
3861 configure-ash
3862 @: $(MAKE); $(unstage)
3863 @[ -f ./ash/Makefile ] || exit 0; \
3864 r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 $(HOST_EXPORTS) \
3867 for flag in $(EXTRA_HOST_FLAGS) ; do \
3868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3869 done; \
3870 echo "Doing TAGS in ash" ; \
3871 (cd $(HOST_SUBDIR)/ash && \
3872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3874 "RANLIB=$${RANLIB}" \
3875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3876 TAGS) \
3877 || exit 1
3879 @endif ash
3881 .PHONY: maybe-install-info-ash install-info-ash
3882 maybe-install-info-ash:
3883 @if ash
3884 maybe-install-info-ash: install-info-ash
3886 install-info-ash: \
3887 configure-ash \
3888 info-ash
3889 @: $(MAKE); $(unstage)
3890 @[ -f ./ash/Makefile ] || exit 0; \
3891 r=`${PWD_COMMAND}`; export r; \
3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3893 $(HOST_EXPORTS) \
3894 for flag in $(EXTRA_HOST_FLAGS) ; do \
3895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3896 done; \
3897 echo "Doing install-info in ash" ; \
3898 (cd $(HOST_SUBDIR)/ash && \
3899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3901 "RANLIB=$${RANLIB}" \
3902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3903 install-info) \
3904 || exit 1
3906 @endif ash
3908 .PHONY: maybe-install-pdf-ash install-pdf-ash
3909 maybe-install-pdf-ash:
3910 @if ash
3911 maybe-install-pdf-ash: install-pdf-ash
3913 install-pdf-ash: \
3914 configure-ash \
3915 pdf-ash
3916 @: $(MAKE); $(unstage)
3917 @[ -f ./ash/Makefile ] || exit 0; \
3918 r=`${PWD_COMMAND}`; export r; \
3919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3920 $(HOST_EXPORTS) \
3921 for flag in $(EXTRA_HOST_FLAGS) ; do \
3922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3923 done; \
3924 echo "Doing install-pdf in ash" ; \
3925 (cd $(HOST_SUBDIR)/ash && \
3926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3928 "RANLIB=$${RANLIB}" \
3929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3930 install-pdf) \
3931 || exit 1
3933 @endif ash
3935 .PHONY: maybe-install-html-ash install-html-ash
3936 maybe-install-html-ash:
3937 @if ash
3938 maybe-install-html-ash: install-html-ash
3940 install-html-ash: \
3941 configure-ash \
3942 html-ash
3943 @: $(MAKE); $(unstage)
3944 @[ -f ./ash/Makefile ] || exit 0; \
3945 r=`${PWD_COMMAND}`; export r; \
3946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 $(HOST_EXPORTS) \
3948 for flag in $(EXTRA_HOST_FLAGS) ; do \
3949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950 done; \
3951 echo "Doing install-html in ash" ; \
3952 (cd $(HOST_SUBDIR)/ash && \
3953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3955 "RANLIB=$${RANLIB}" \
3956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3957 install-html) \
3958 || exit 1
3960 @endif ash
3962 .PHONY: maybe-installcheck-ash installcheck-ash
3963 maybe-installcheck-ash:
3964 @if ash
3965 maybe-installcheck-ash: installcheck-ash
3967 installcheck-ash: \
3968 configure-ash
3969 @: $(MAKE); $(unstage)
3970 @[ -f ./ash/Makefile ] || exit 0; \
3971 r=`${PWD_COMMAND}`; export r; \
3972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3973 $(HOST_EXPORTS) \
3974 for flag in $(EXTRA_HOST_FLAGS) ; do \
3975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3976 done; \
3977 echo "Doing installcheck in ash" ; \
3978 (cd $(HOST_SUBDIR)/ash && \
3979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3981 "RANLIB=$${RANLIB}" \
3982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3983 installcheck) \
3984 || exit 1
3986 @endif ash
3988 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3989 maybe-mostlyclean-ash:
3990 @if ash
3991 maybe-mostlyclean-ash: mostlyclean-ash
3993 mostlyclean-ash:
3994 @: $(MAKE); $(unstage)
3995 @[ -f ./ash/Makefile ] || exit 0; \
3996 r=`${PWD_COMMAND}`; export r; \
3997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3998 $(HOST_EXPORTS) \
3999 for flag in $(EXTRA_HOST_FLAGS) ; do \
4000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4001 done; \
4002 echo "Doing mostlyclean in ash" ; \
4003 (cd $(HOST_SUBDIR)/ash && \
4004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4006 "RANLIB=$${RANLIB}" \
4007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4008 mostlyclean) \
4009 || exit 1
4011 @endif ash
4013 .PHONY: maybe-clean-ash clean-ash
4014 maybe-clean-ash:
4015 @if ash
4016 maybe-clean-ash: clean-ash
4018 clean-ash:
4019 @: $(MAKE); $(unstage)
4020 @[ -f ./ash/Makefile ] || exit 0; \
4021 r=`${PWD_COMMAND}`; export r; \
4022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4023 $(HOST_EXPORTS) \
4024 for flag in $(EXTRA_HOST_FLAGS) ; do \
4025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4026 done; \
4027 echo "Doing clean in ash" ; \
4028 (cd $(HOST_SUBDIR)/ash && \
4029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4031 "RANLIB=$${RANLIB}" \
4032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4033 clean) \
4034 || exit 1
4036 @endif ash
4038 .PHONY: maybe-distclean-ash distclean-ash
4039 maybe-distclean-ash:
4040 @if ash
4041 maybe-distclean-ash: distclean-ash
4043 distclean-ash:
4044 @: $(MAKE); $(unstage)
4045 @[ -f ./ash/Makefile ] || exit 0; \
4046 r=`${PWD_COMMAND}`; export r; \
4047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4048 $(HOST_EXPORTS) \
4049 for flag in $(EXTRA_HOST_FLAGS) ; do \
4050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4051 done; \
4052 echo "Doing distclean in ash" ; \
4053 (cd $(HOST_SUBDIR)/ash && \
4054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4056 "RANLIB=$${RANLIB}" \
4057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4058 distclean) \
4059 || exit 1
4061 @endif ash
4063 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
4064 maybe-maintainer-clean-ash:
4065 @if ash
4066 maybe-maintainer-clean-ash: maintainer-clean-ash
4068 maintainer-clean-ash:
4069 @: $(MAKE); $(unstage)
4070 @[ -f ./ash/Makefile ] || exit 0; \
4071 r=`${PWD_COMMAND}`; export r; \
4072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4073 $(HOST_EXPORTS) \
4074 for flag in $(EXTRA_HOST_FLAGS) ; do \
4075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4076 done; \
4077 echo "Doing maintainer-clean in ash" ; \
4078 (cd $(HOST_SUBDIR)/ash && \
4079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4081 "RANLIB=$${RANLIB}" \
4082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4083 maintainer-clean) \
4084 || exit 1
4086 @endif ash
4090 .PHONY: configure-autoconf maybe-configure-autoconf
4091 maybe-configure-autoconf:
4092 @if gcc-bootstrap
4093 configure-autoconf: stage_current
4094 @endif gcc-bootstrap
4095 @if autoconf
4096 maybe-configure-autoconf: configure-autoconf
4097 configure-autoconf:
4098 @: $(MAKE); $(unstage)
4099 @r=`${PWD_COMMAND}`; export r; \
4100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4101 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
4102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
4103 $(HOST_EXPORTS) \
4104 echo Configuring in $(HOST_SUBDIR)/autoconf; \
4105 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
4106 case $(srcdir) in \
4107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4108 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
4109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4110 esac; \
4111 srcdiroption="--srcdir=$${topdir}/autoconf"; \
4112 libsrcdir="$$s/autoconf"; \
4113 $(SHELL) $${libsrcdir}/configure \
4114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4115 --target=${target_alias} $${srcdiroption} \
4116 || exit 1
4117 @endif autoconf
4123 .PHONY: all-autoconf maybe-all-autoconf
4124 maybe-all-autoconf:
4125 @if gcc-bootstrap
4126 all-autoconf: stage_current
4127 @endif gcc-bootstrap
4128 @if autoconf
4129 TARGET-autoconf=all
4130 maybe-all-autoconf: all-autoconf
4131 all-autoconf: configure-autoconf
4132 @: $(MAKE); $(unstage)
4133 @r=`${PWD_COMMAND}`; export r; \
4134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4135 $(HOST_EXPORTS) \
4136 (cd $(HOST_SUBDIR)/autoconf && \
4137 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4138 $(TARGET-autoconf))
4139 @endif autoconf
4144 .PHONY: check-autoconf maybe-check-autoconf
4145 maybe-check-autoconf:
4146 @if autoconf
4147 maybe-check-autoconf: check-autoconf
4149 check-autoconf:
4150 @: $(MAKE); $(unstage)
4151 @r=`${PWD_COMMAND}`; export r; \
4152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4153 $(HOST_EXPORTS) \
4154 (cd $(HOST_SUBDIR)/autoconf && \
4155 $(MAKE) $(FLAGS_TO_PASS) check)
4157 @endif autoconf
4159 .PHONY: install-autoconf maybe-install-autoconf
4160 maybe-install-autoconf:
4161 @if autoconf
4162 maybe-install-autoconf: install-autoconf
4164 install-autoconf: installdirs
4165 @: $(MAKE); $(unstage)
4166 @r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 $(HOST_EXPORTS) \
4169 (cd $(HOST_SUBDIR)/autoconf && \
4170 $(MAKE) $(FLAGS_TO_PASS) install)
4172 @endif autoconf
4174 .PHONY: install-strip-autoconf maybe-install-strip-autoconf
4175 maybe-install-strip-autoconf:
4176 @if autoconf
4177 maybe-install-strip-autoconf: install-strip-autoconf
4179 install-strip-autoconf: installdirs
4180 @: $(MAKE); $(unstage)
4181 @r=`${PWD_COMMAND}`; export r; \
4182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4183 $(HOST_EXPORTS) \
4184 (cd $(HOST_SUBDIR)/autoconf && \
4185 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4187 @endif autoconf
4189 # Other targets (info, dvi, pdf, etc.)
4191 .PHONY: maybe-info-autoconf info-autoconf
4192 maybe-info-autoconf:
4193 @if autoconf
4194 maybe-info-autoconf: info-autoconf
4196 info-autoconf: \
4197 configure-autoconf
4198 @: $(MAKE); $(unstage)
4199 @[ -f ./autoconf/Makefile ] || exit 0; \
4200 r=`${PWD_COMMAND}`; export r; \
4201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4202 $(HOST_EXPORTS) \
4203 for flag in $(EXTRA_HOST_FLAGS) ; do \
4204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4205 done; \
4206 echo "Doing info in autoconf" ; \
4207 (cd $(HOST_SUBDIR)/autoconf && \
4208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4210 "RANLIB=$${RANLIB}" \
4211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4212 info) \
4213 || exit 1
4215 @endif autoconf
4217 .PHONY: maybe-dvi-autoconf dvi-autoconf
4218 maybe-dvi-autoconf:
4219 @if autoconf
4220 maybe-dvi-autoconf: dvi-autoconf
4222 dvi-autoconf: \
4223 configure-autoconf
4224 @: $(MAKE); $(unstage)
4225 @[ -f ./autoconf/Makefile ] || exit 0; \
4226 r=`${PWD_COMMAND}`; export r; \
4227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4228 $(HOST_EXPORTS) \
4229 for flag in $(EXTRA_HOST_FLAGS) ; do \
4230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4231 done; \
4232 echo "Doing dvi in autoconf" ; \
4233 (cd $(HOST_SUBDIR)/autoconf && \
4234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4236 "RANLIB=$${RANLIB}" \
4237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4238 dvi) \
4239 || exit 1
4241 @endif autoconf
4243 .PHONY: maybe-pdf-autoconf pdf-autoconf
4244 maybe-pdf-autoconf:
4245 @if autoconf
4246 maybe-pdf-autoconf: pdf-autoconf
4248 pdf-autoconf: \
4249 configure-autoconf
4250 @: $(MAKE); $(unstage)
4251 @[ -f ./autoconf/Makefile ] || exit 0; \
4252 r=`${PWD_COMMAND}`; export r; \
4253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4254 $(HOST_EXPORTS) \
4255 for flag in $(EXTRA_HOST_FLAGS) ; do \
4256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4257 done; \
4258 echo "Doing pdf in autoconf" ; \
4259 (cd $(HOST_SUBDIR)/autoconf && \
4260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4262 "RANLIB=$${RANLIB}" \
4263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4264 pdf) \
4265 || exit 1
4267 @endif autoconf
4269 .PHONY: maybe-html-autoconf html-autoconf
4270 maybe-html-autoconf:
4271 @if autoconf
4272 maybe-html-autoconf: html-autoconf
4274 html-autoconf: \
4275 configure-autoconf
4276 @: $(MAKE); $(unstage)
4277 @[ -f ./autoconf/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4280 $(HOST_EXPORTS) \
4281 for flag in $(EXTRA_HOST_FLAGS) ; do \
4282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4283 done; \
4284 echo "Doing html in autoconf" ; \
4285 (cd $(HOST_SUBDIR)/autoconf && \
4286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4288 "RANLIB=$${RANLIB}" \
4289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4290 html) \
4291 || exit 1
4293 @endif autoconf
4295 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4296 maybe-TAGS-autoconf:
4297 @if autoconf
4298 maybe-TAGS-autoconf: TAGS-autoconf
4300 TAGS-autoconf: \
4301 configure-autoconf
4302 @: $(MAKE); $(unstage)
4303 @[ -f ./autoconf/Makefile ] || exit 0; \
4304 r=`${PWD_COMMAND}`; export r; \
4305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS) ; do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing TAGS in autoconf" ; \
4311 (cd $(HOST_SUBDIR)/autoconf && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4316 TAGS) \
4317 || exit 1
4319 @endif autoconf
4321 .PHONY: maybe-install-info-autoconf install-info-autoconf
4322 maybe-install-info-autoconf:
4323 @if autoconf
4324 maybe-install-info-autoconf: install-info-autoconf
4326 install-info-autoconf: \
4327 configure-autoconf \
4328 info-autoconf
4329 @: $(MAKE); $(unstage)
4330 @[ -f ./autoconf/Makefile ] || exit 0; \
4331 r=`${PWD_COMMAND}`; export r; \
4332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4333 $(HOST_EXPORTS) \
4334 for flag in $(EXTRA_HOST_FLAGS) ; do \
4335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4336 done; \
4337 echo "Doing install-info in autoconf" ; \
4338 (cd $(HOST_SUBDIR)/autoconf && \
4339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4341 "RANLIB=$${RANLIB}" \
4342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4343 install-info) \
4344 || exit 1
4346 @endif autoconf
4348 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
4349 maybe-install-pdf-autoconf:
4350 @if autoconf
4351 maybe-install-pdf-autoconf: install-pdf-autoconf
4353 install-pdf-autoconf: \
4354 configure-autoconf \
4355 pdf-autoconf
4356 @: $(MAKE); $(unstage)
4357 @[ -f ./autoconf/Makefile ] || exit 0; \
4358 r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4360 $(HOST_EXPORTS) \
4361 for flag in $(EXTRA_HOST_FLAGS) ; do \
4362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4363 done; \
4364 echo "Doing install-pdf in autoconf" ; \
4365 (cd $(HOST_SUBDIR)/autoconf && \
4366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4368 "RANLIB=$${RANLIB}" \
4369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4370 install-pdf) \
4371 || exit 1
4373 @endif autoconf
4375 .PHONY: maybe-install-html-autoconf install-html-autoconf
4376 maybe-install-html-autoconf:
4377 @if autoconf
4378 maybe-install-html-autoconf: install-html-autoconf
4380 install-html-autoconf: \
4381 configure-autoconf \
4382 html-autoconf
4383 @: $(MAKE); $(unstage)
4384 @[ -f ./autoconf/Makefile ] || exit 0; \
4385 r=`${PWD_COMMAND}`; export r; \
4386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4387 $(HOST_EXPORTS) \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4390 done; \
4391 echo "Doing install-html in autoconf" ; \
4392 (cd $(HOST_SUBDIR)/autoconf && \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4397 install-html) \
4398 || exit 1
4400 @endif autoconf
4402 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
4403 maybe-installcheck-autoconf:
4404 @if autoconf
4405 maybe-installcheck-autoconf: installcheck-autoconf
4407 installcheck-autoconf: \
4408 configure-autoconf
4409 @: $(MAKE); $(unstage)
4410 @[ -f ./autoconf/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 $(HOST_EXPORTS) \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 echo "Doing installcheck in autoconf" ; \
4418 (cd $(HOST_SUBDIR)/autoconf && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4423 installcheck) \
4424 || exit 1
4426 @endif autoconf
4428 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
4429 maybe-mostlyclean-autoconf:
4430 @if autoconf
4431 maybe-mostlyclean-autoconf: mostlyclean-autoconf
4433 mostlyclean-autoconf:
4434 @: $(MAKE); $(unstage)
4435 @[ -f ./autoconf/Makefile ] || exit 0; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4438 $(HOST_EXPORTS) \
4439 for flag in $(EXTRA_HOST_FLAGS) ; do \
4440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4441 done; \
4442 echo "Doing mostlyclean in autoconf" ; \
4443 (cd $(HOST_SUBDIR)/autoconf && \
4444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4446 "RANLIB=$${RANLIB}" \
4447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4448 mostlyclean) \
4449 || exit 1
4451 @endif autoconf
4453 .PHONY: maybe-clean-autoconf clean-autoconf
4454 maybe-clean-autoconf:
4455 @if autoconf
4456 maybe-clean-autoconf: clean-autoconf
4458 clean-autoconf:
4459 @: $(MAKE); $(unstage)
4460 @[ -f ./autoconf/Makefile ] || exit 0; \
4461 r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 for flag in $(EXTRA_HOST_FLAGS) ; do \
4465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4466 done; \
4467 echo "Doing clean in autoconf" ; \
4468 (cd $(HOST_SUBDIR)/autoconf && \
4469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4471 "RANLIB=$${RANLIB}" \
4472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4473 clean) \
4474 || exit 1
4476 @endif autoconf
4478 .PHONY: maybe-distclean-autoconf distclean-autoconf
4479 maybe-distclean-autoconf:
4480 @if autoconf
4481 maybe-distclean-autoconf: distclean-autoconf
4483 distclean-autoconf:
4484 @: $(MAKE); $(unstage)
4485 @[ -f ./autoconf/Makefile ] || exit 0; \
4486 r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 $(HOST_EXPORTS) \
4489 for flag in $(EXTRA_HOST_FLAGS) ; do \
4490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4491 done; \
4492 echo "Doing distclean in autoconf" ; \
4493 (cd $(HOST_SUBDIR)/autoconf && \
4494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4496 "RANLIB=$${RANLIB}" \
4497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4498 distclean) \
4499 || exit 1
4501 @endif autoconf
4503 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4504 maybe-maintainer-clean-autoconf:
4505 @if autoconf
4506 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4508 maintainer-clean-autoconf:
4509 @: $(MAKE); $(unstage)
4510 @[ -f ./autoconf/Makefile ] || exit 0; \
4511 r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 for flag in $(EXTRA_HOST_FLAGS) ; do \
4515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4516 done; \
4517 echo "Doing maintainer-clean in autoconf" ; \
4518 (cd $(HOST_SUBDIR)/autoconf && \
4519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4521 "RANLIB=$${RANLIB}" \
4522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4523 maintainer-clean) \
4524 || exit 1
4526 @endif autoconf
4530 .PHONY: configure-automake maybe-configure-automake
4531 maybe-configure-automake:
4532 @if gcc-bootstrap
4533 configure-automake: stage_current
4534 @endif gcc-bootstrap
4535 @if automake
4536 maybe-configure-automake: configure-automake
4537 configure-automake:
4538 @: $(MAKE); $(unstage)
4539 @r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4541 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
4542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
4543 $(HOST_EXPORTS) \
4544 echo Configuring in $(HOST_SUBDIR)/automake; \
4545 cd "$(HOST_SUBDIR)/automake" || exit 1; \
4546 case $(srcdir) in \
4547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4548 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
4549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4550 esac; \
4551 srcdiroption="--srcdir=$${topdir}/automake"; \
4552 libsrcdir="$$s/automake"; \
4553 $(SHELL) $${libsrcdir}/configure \
4554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4555 --target=${target_alias} $${srcdiroption} \
4556 || exit 1
4557 @endif automake
4563 .PHONY: all-automake maybe-all-automake
4564 maybe-all-automake:
4565 @if gcc-bootstrap
4566 all-automake: stage_current
4567 @endif gcc-bootstrap
4568 @if automake
4569 TARGET-automake=all
4570 maybe-all-automake: all-automake
4571 all-automake: configure-automake
4572 @: $(MAKE); $(unstage)
4573 @r=`${PWD_COMMAND}`; export r; \
4574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4575 $(HOST_EXPORTS) \
4576 (cd $(HOST_SUBDIR)/automake && \
4577 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4578 $(TARGET-automake))
4579 @endif automake
4584 .PHONY: check-automake maybe-check-automake
4585 maybe-check-automake:
4586 @if automake
4587 maybe-check-automake: check-automake
4589 check-automake:
4590 @: $(MAKE); $(unstage)
4591 @r=`${PWD_COMMAND}`; export r; \
4592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 $(HOST_EXPORTS) \
4594 (cd $(HOST_SUBDIR)/automake && \
4595 $(MAKE) $(FLAGS_TO_PASS) check)
4597 @endif automake
4599 .PHONY: install-automake maybe-install-automake
4600 maybe-install-automake:
4601 @if automake
4602 maybe-install-automake: install-automake
4604 install-automake: installdirs
4605 @: $(MAKE); $(unstage)
4606 @r=`${PWD_COMMAND}`; export r; \
4607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4608 $(HOST_EXPORTS) \
4609 (cd $(HOST_SUBDIR)/automake && \
4610 $(MAKE) $(FLAGS_TO_PASS) install)
4612 @endif automake
4614 .PHONY: install-strip-automake maybe-install-strip-automake
4615 maybe-install-strip-automake:
4616 @if automake
4617 maybe-install-strip-automake: install-strip-automake
4619 install-strip-automake: installdirs
4620 @: $(MAKE); $(unstage)
4621 @r=`${PWD_COMMAND}`; export r; \
4622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4623 $(HOST_EXPORTS) \
4624 (cd $(HOST_SUBDIR)/automake && \
4625 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4627 @endif automake
4629 # Other targets (info, dvi, pdf, etc.)
4631 .PHONY: maybe-info-automake info-automake
4632 maybe-info-automake:
4633 @if automake
4634 maybe-info-automake: info-automake
4636 info-automake: \
4637 configure-automake
4638 @: $(MAKE); $(unstage)
4639 @[ -f ./automake/Makefile ] || exit 0; \
4640 r=`${PWD_COMMAND}`; export r; \
4641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4642 $(HOST_EXPORTS) \
4643 for flag in $(EXTRA_HOST_FLAGS) ; do \
4644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4645 done; \
4646 echo "Doing info in automake" ; \
4647 (cd $(HOST_SUBDIR)/automake && \
4648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4650 "RANLIB=$${RANLIB}" \
4651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4652 info) \
4653 || exit 1
4655 @endif automake
4657 .PHONY: maybe-dvi-automake dvi-automake
4658 maybe-dvi-automake:
4659 @if automake
4660 maybe-dvi-automake: dvi-automake
4662 dvi-automake: \
4663 configure-automake
4664 @: $(MAKE); $(unstage)
4665 @[ -f ./automake/Makefile ] || exit 0; \
4666 r=`${PWD_COMMAND}`; export r; \
4667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 $(HOST_EXPORTS) \
4669 for flag in $(EXTRA_HOST_FLAGS) ; do \
4670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4671 done; \
4672 echo "Doing dvi in automake" ; \
4673 (cd $(HOST_SUBDIR)/automake && \
4674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4676 "RANLIB=$${RANLIB}" \
4677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4678 dvi) \
4679 || exit 1
4681 @endif automake
4683 .PHONY: maybe-pdf-automake pdf-automake
4684 maybe-pdf-automake:
4685 @if automake
4686 maybe-pdf-automake: pdf-automake
4688 pdf-automake: \
4689 configure-automake
4690 @: $(MAKE); $(unstage)
4691 @[ -f ./automake/Makefile ] || exit 0; \
4692 r=`${PWD_COMMAND}`; export r; \
4693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 $(HOST_EXPORTS) \
4695 for flag in $(EXTRA_HOST_FLAGS) ; do \
4696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4697 done; \
4698 echo "Doing pdf in automake" ; \
4699 (cd $(HOST_SUBDIR)/automake && \
4700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4702 "RANLIB=$${RANLIB}" \
4703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4704 pdf) \
4705 || exit 1
4707 @endif automake
4709 .PHONY: maybe-html-automake html-automake
4710 maybe-html-automake:
4711 @if automake
4712 maybe-html-automake: html-automake
4714 html-automake: \
4715 configure-automake
4716 @: $(MAKE); $(unstage)
4717 @[ -f ./automake/Makefile ] || exit 0; \
4718 r=`${PWD_COMMAND}`; export r; \
4719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4720 $(HOST_EXPORTS) \
4721 for flag in $(EXTRA_HOST_FLAGS) ; do \
4722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4723 done; \
4724 echo "Doing html in automake" ; \
4725 (cd $(HOST_SUBDIR)/automake && \
4726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4728 "RANLIB=$${RANLIB}" \
4729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4730 html) \
4731 || exit 1
4733 @endif automake
4735 .PHONY: maybe-TAGS-automake TAGS-automake
4736 maybe-TAGS-automake:
4737 @if automake
4738 maybe-TAGS-automake: TAGS-automake
4740 TAGS-automake: \
4741 configure-automake
4742 @: $(MAKE); $(unstage)
4743 @[ -f ./automake/Makefile ] || exit 0; \
4744 r=`${PWD_COMMAND}`; export r; \
4745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4746 $(HOST_EXPORTS) \
4747 for flag in $(EXTRA_HOST_FLAGS) ; do \
4748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4749 done; \
4750 echo "Doing TAGS in automake" ; \
4751 (cd $(HOST_SUBDIR)/automake && \
4752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4754 "RANLIB=$${RANLIB}" \
4755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4756 TAGS) \
4757 || exit 1
4759 @endif automake
4761 .PHONY: maybe-install-info-automake install-info-automake
4762 maybe-install-info-automake:
4763 @if automake
4764 maybe-install-info-automake: install-info-automake
4766 install-info-automake: \
4767 configure-automake \
4768 info-automake
4769 @: $(MAKE); $(unstage)
4770 @[ -f ./automake/Makefile ] || exit 0; \
4771 r=`${PWD_COMMAND}`; export r; \
4772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 $(HOST_EXPORTS) \
4774 for flag in $(EXTRA_HOST_FLAGS) ; do \
4775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4776 done; \
4777 echo "Doing install-info in automake" ; \
4778 (cd $(HOST_SUBDIR)/automake && \
4779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4781 "RANLIB=$${RANLIB}" \
4782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4783 install-info) \
4784 || exit 1
4786 @endif automake
4788 .PHONY: maybe-install-pdf-automake install-pdf-automake
4789 maybe-install-pdf-automake:
4790 @if automake
4791 maybe-install-pdf-automake: install-pdf-automake
4793 install-pdf-automake: \
4794 configure-automake \
4795 pdf-automake
4796 @: $(MAKE); $(unstage)
4797 @[ -f ./automake/Makefile ] || exit 0; \
4798 r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 $(HOST_EXPORTS) \
4801 for flag in $(EXTRA_HOST_FLAGS) ; do \
4802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4803 done; \
4804 echo "Doing install-pdf in automake" ; \
4805 (cd $(HOST_SUBDIR)/automake && \
4806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4808 "RANLIB=$${RANLIB}" \
4809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4810 install-pdf) \
4811 || exit 1
4813 @endif automake
4815 .PHONY: maybe-install-html-automake install-html-automake
4816 maybe-install-html-automake:
4817 @if automake
4818 maybe-install-html-automake: install-html-automake
4820 install-html-automake: \
4821 configure-automake \
4822 html-automake
4823 @: $(MAKE); $(unstage)
4824 @[ -f ./automake/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 $(HOST_EXPORTS) \
4828 for flag in $(EXTRA_HOST_FLAGS) ; do \
4829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4830 done; \
4831 echo "Doing install-html in automake" ; \
4832 (cd $(HOST_SUBDIR)/automake && \
4833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4835 "RANLIB=$${RANLIB}" \
4836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4837 install-html) \
4838 || exit 1
4840 @endif automake
4842 .PHONY: maybe-installcheck-automake installcheck-automake
4843 maybe-installcheck-automake:
4844 @if automake
4845 maybe-installcheck-automake: installcheck-automake
4847 installcheck-automake: \
4848 configure-automake
4849 @: $(MAKE); $(unstage)
4850 @[ -f ./automake/Makefile ] || exit 0; \
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4853 $(HOST_EXPORTS) \
4854 for flag in $(EXTRA_HOST_FLAGS) ; do \
4855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4856 done; \
4857 echo "Doing installcheck in automake" ; \
4858 (cd $(HOST_SUBDIR)/automake && \
4859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4861 "RANLIB=$${RANLIB}" \
4862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4863 installcheck) \
4864 || exit 1
4866 @endif automake
4868 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4869 maybe-mostlyclean-automake:
4870 @if automake
4871 maybe-mostlyclean-automake: mostlyclean-automake
4873 mostlyclean-automake:
4874 @: $(MAKE); $(unstage)
4875 @[ -f ./automake/Makefile ] || exit 0; \
4876 r=`${PWD_COMMAND}`; export r; \
4877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4878 $(HOST_EXPORTS) \
4879 for flag in $(EXTRA_HOST_FLAGS) ; do \
4880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4881 done; \
4882 echo "Doing mostlyclean in automake" ; \
4883 (cd $(HOST_SUBDIR)/automake && \
4884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4886 "RANLIB=$${RANLIB}" \
4887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4888 mostlyclean) \
4889 || exit 1
4891 @endif automake
4893 .PHONY: maybe-clean-automake clean-automake
4894 maybe-clean-automake:
4895 @if automake
4896 maybe-clean-automake: clean-automake
4898 clean-automake:
4899 @: $(MAKE); $(unstage)
4900 @[ -f ./automake/Makefile ] || exit 0; \
4901 r=`${PWD_COMMAND}`; export r; \
4902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4903 $(HOST_EXPORTS) \
4904 for flag in $(EXTRA_HOST_FLAGS) ; do \
4905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4906 done; \
4907 echo "Doing clean in automake" ; \
4908 (cd $(HOST_SUBDIR)/automake && \
4909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4911 "RANLIB=$${RANLIB}" \
4912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4913 clean) \
4914 || exit 1
4916 @endif automake
4918 .PHONY: maybe-distclean-automake distclean-automake
4919 maybe-distclean-automake:
4920 @if automake
4921 maybe-distclean-automake: distclean-automake
4923 distclean-automake:
4924 @: $(MAKE); $(unstage)
4925 @[ -f ./automake/Makefile ] || exit 0; \
4926 r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4928 $(HOST_EXPORTS) \
4929 for flag in $(EXTRA_HOST_FLAGS) ; do \
4930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4931 done; \
4932 echo "Doing distclean in automake" ; \
4933 (cd $(HOST_SUBDIR)/automake && \
4934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4936 "RANLIB=$${RANLIB}" \
4937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4938 distclean) \
4939 || exit 1
4941 @endif automake
4943 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4944 maybe-maintainer-clean-automake:
4945 @if automake
4946 maybe-maintainer-clean-automake: maintainer-clean-automake
4948 maintainer-clean-automake:
4949 @: $(MAKE); $(unstage)
4950 @[ -f ./automake/Makefile ] || exit 0; \
4951 r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4953 $(HOST_EXPORTS) \
4954 for flag in $(EXTRA_HOST_FLAGS) ; do \
4955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4956 done; \
4957 echo "Doing maintainer-clean in automake" ; \
4958 (cd $(HOST_SUBDIR)/automake && \
4959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4961 "RANLIB=$${RANLIB}" \
4962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4963 maintainer-clean) \
4964 || exit 1
4966 @endif automake
4970 .PHONY: configure-bash maybe-configure-bash
4971 maybe-configure-bash:
4972 @if gcc-bootstrap
4973 configure-bash: stage_current
4974 @endif gcc-bootstrap
4975 @if bash
4976 maybe-configure-bash: configure-bash
4977 configure-bash:
4978 @: $(MAKE); $(unstage)
4979 @r=`${PWD_COMMAND}`; export r; \
4980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4983 $(HOST_EXPORTS) \
4984 echo Configuring in $(HOST_SUBDIR)/bash; \
4985 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4986 case $(srcdir) in \
4987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4988 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4990 esac; \
4991 srcdiroption="--srcdir=$${topdir}/bash"; \
4992 libsrcdir="$$s/bash"; \
4993 $(SHELL) $${libsrcdir}/configure \
4994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4995 --target=${target_alias} $${srcdiroption} \
4996 || exit 1
4997 @endif bash
5003 .PHONY: all-bash maybe-all-bash
5004 maybe-all-bash:
5005 @if gcc-bootstrap
5006 all-bash: stage_current
5007 @endif gcc-bootstrap
5008 @if bash
5009 TARGET-bash=all
5010 maybe-all-bash: all-bash
5011 all-bash: configure-bash
5012 @: $(MAKE); $(unstage)
5013 @r=`${PWD_COMMAND}`; export r; \
5014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015 $(HOST_EXPORTS) \
5016 (cd $(HOST_SUBDIR)/bash && \
5017 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5018 $(TARGET-bash))
5019 @endif bash
5024 .PHONY: check-bash maybe-check-bash
5025 maybe-check-bash:
5026 @if bash
5027 maybe-check-bash: check-bash
5029 check-bash:
5030 @: $(MAKE); $(unstage)
5031 @r=`${PWD_COMMAND}`; export r; \
5032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5033 $(HOST_EXPORTS) \
5034 (cd $(HOST_SUBDIR)/bash && \
5035 $(MAKE) $(FLAGS_TO_PASS) check)
5037 @endif bash
5039 .PHONY: install-bash maybe-install-bash
5040 maybe-install-bash:
5041 @if bash
5042 maybe-install-bash: install-bash
5044 install-bash: installdirs
5045 @: $(MAKE); $(unstage)
5046 @r=`${PWD_COMMAND}`; export r; \
5047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5048 $(HOST_EXPORTS) \
5049 (cd $(HOST_SUBDIR)/bash && \
5050 $(MAKE) $(FLAGS_TO_PASS) install)
5052 @endif bash
5054 .PHONY: install-strip-bash maybe-install-strip-bash
5055 maybe-install-strip-bash:
5056 @if bash
5057 maybe-install-strip-bash: install-strip-bash
5059 install-strip-bash: installdirs
5060 @: $(MAKE); $(unstage)
5061 @r=`${PWD_COMMAND}`; export r; \
5062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5063 $(HOST_EXPORTS) \
5064 (cd $(HOST_SUBDIR)/bash && \
5065 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5067 @endif bash
5069 # Other targets (info, dvi, pdf, etc.)
5071 .PHONY: maybe-info-bash info-bash
5072 maybe-info-bash:
5073 @if bash
5074 maybe-info-bash: info-bash
5076 info-bash: \
5077 configure-bash
5078 @: $(MAKE); $(unstage)
5079 @[ -f ./bash/Makefile ] || exit 0; \
5080 r=`${PWD_COMMAND}`; export r; \
5081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5082 $(HOST_EXPORTS) \
5083 for flag in $(EXTRA_HOST_FLAGS) ; do \
5084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5085 done; \
5086 echo "Doing info in bash" ; \
5087 (cd $(HOST_SUBDIR)/bash && \
5088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5090 "RANLIB=$${RANLIB}" \
5091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5092 info) \
5093 || exit 1
5095 @endif bash
5097 .PHONY: maybe-dvi-bash dvi-bash
5098 maybe-dvi-bash:
5099 @if bash
5100 maybe-dvi-bash: dvi-bash
5102 dvi-bash: \
5103 configure-bash
5104 @: $(MAKE); $(unstage)
5105 @[ -f ./bash/Makefile ] || exit 0; \
5106 r=`${PWD_COMMAND}`; export r; \
5107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5108 $(HOST_EXPORTS) \
5109 for flag in $(EXTRA_HOST_FLAGS) ; do \
5110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5111 done; \
5112 echo "Doing dvi in bash" ; \
5113 (cd $(HOST_SUBDIR)/bash && \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5116 "RANLIB=$${RANLIB}" \
5117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5118 dvi) \
5119 || exit 1
5121 @endif bash
5123 .PHONY: maybe-pdf-bash pdf-bash
5124 maybe-pdf-bash:
5125 @if bash
5126 maybe-pdf-bash: pdf-bash
5128 pdf-bash: \
5129 configure-bash
5130 @: $(MAKE); $(unstage)
5131 @[ -f ./bash/Makefile ] || exit 0; \
5132 r=`${PWD_COMMAND}`; export r; \
5133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5134 $(HOST_EXPORTS) \
5135 for flag in $(EXTRA_HOST_FLAGS) ; do \
5136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5137 done; \
5138 echo "Doing pdf in bash" ; \
5139 (cd $(HOST_SUBDIR)/bash && \
5140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5142 "RANLIB=$${RANLIB}" \
5143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5144 pdf) \
5145 || exit 1
5147 @endif bash
5149 .PHONY: maybe-html-bash html-bash
5150 maybe-html-bash:
5151 @if bash
5152 maybe-html-bash: html-bash
5154 html-bash: \
5155 configure-bash
5156 @: $(MAKE); $(unstage)
5157 @[ -f ./bash/Makefile ] || exit 0; \
5158 r=`${PWD_COMMAND}`; export r; \
5159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5160 $(HOST_EXPORTS) \
5161 for flag in $(EXTRA_HOST_FLAGS) ; do \
5162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5163 done; \
5164 echo "Doing html in bash" ; \
5165 (cd $(HOST_SUBDIR)/bash && \
5166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5168 "RANLIB=$${RANLIB}" \
5169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5170 html) \
5171 || exit 1
5173 @endif bash
5175 .PHONY: maybe-TAGS-bash TAGS-bash
5176 maybe-TAGS-bash:
5177 @if bash
5178 maybe-TAGS-bash: TAGS-bash
5180 TAGS-bash: \
5181 configure-bash
5182 @: $(MAKE); $(unstage)
5183 @[ -f ./bash/Makefile ] || exit 0; \
5184 r=`${PWD_COMMAND}`; export r; \
5185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5186 $(HOST_EXPORTS) \
5187 for flag in $(EXTRA_HOST_FLAGS) ; do \
5188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5189 done; \
5190 echo "Doing TAGS in bash" ; \
5191 (cd $(HOST_SUBDIR)/bash && \
5192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5194 "RANLIB=$${RANLIB}" \
5195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5196 TAGS) \
5197 || exit 1
5199 @endif bash
5201 .PHONY: maybe-install-info-bash install-info-bash
5202 maybe-install-info-bash:
5203 @if bash
5204 maybe-install-info-bash: install-info-bash
5206 install-info-bash: \
5207 configure-bash \
5208 info-bash
5209 @: $(MAKE); $(unstage)
5210 @[ -f ./bash/Makefile ] || exit 0; \
5211 r=`${PWD_COMMAND}`; export r; \
5212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5213 $(HOST_EXPORTS) \
5214 for flag in $(EXTRA_HOST_FLAGS) ; do \
5215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5216 done; \
5217 echo "Doing install-info in bash" ; \
5218 (cd $(HOST_SUBDIR)/bash && \
5219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5221 "RANLIB=$${RANLIB}" \
5222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5223 install-info) \
5224 || exit 1
5226 @endif bash
5228 .PHONY: maybe-install-pdf-bash install-pdf-bash
5229 maybe-install-pdf-bash:
5230 @if bash
5231 maybe-install-pdf-bash: install-pdf-bash
5233 install-pdf-bash: \
5234 configure-bash \
5235 pdf-bash
5236 @: $(MAKE); $(unstage)
5237 @[ -f ./bash/Makefile ] || exit 0; \
5238 r=`${PWD_COMMAND}`; export r; \
5239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5240 $(HOST_EXPORTS) \
5241 for flag in $(EXTRA_HOST_FLAGS) ; do \
5242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5243 done; \
5244 echo "Doing install-pdf in bash" ; \
5245 (cd $(HOST_SUBDIR)/bash && \
5246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5248 "RANLIB=$${RANLIB}" \
5249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5250 install-pdf) \
5251 || exit 1
5253 @endif bash
5255 .PHONY: maybe-install-html-bash install-html-bash
5256 maybe-install-html-bash:
5257 @if bash
5258 maybe-install-html-bash: install-html-bash
5260 install-html-bash: \
5261 configure-bash \
5262 html-bash
5263 @: $(MAKE); $(unstage)
5264 @[ -f ./bash/Makefile ] || exit 0; \
5265 r=`${PWD_COMMAND}`; export r; \
5266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5267 $(HOST_EXPORTS) \
5268 for flag in $(EXTRA_HOST_FLAGS) ; do \
5269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5270 done; \
5271 echo "Doing install-html in bash" ; \
5272 (cd $(HOST_SUBDIR)/bash && \
5273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5275 "RANLIB=$${RANLIB}" \
5276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5277 install-html) \
5278 || exit 1
5280 @endif bash
5282 .PHONY: maybe-installcheck-bash installcheck-bash
5283 maybe-installcheck-bash:
5284 @if bash
5285 maybe-installcheck-bash: installcheck-bash
5287 installcheck-bash: \
5288 configure-bash
5289 @: $(MAKE); $(unstage)
5290 @[ -f ./bash/Makefile ] || exit 0; \
5291 r=`${PWD_COMMAND}`; export r; \
5292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5293 $(HOST_EXPORTS) \
5294 for flag in $(EXTRA_HOST_FLAGS) ; do \
5295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5296 done; \
5297 echo "Doing installcheck in bash" ; \
5298 (cd $(HOST_SUBDIR)/bash && \
5299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5301 "RANLIB=$${RANLIB}" \
5302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5303 installcheck) \
5304 || exit 1
5306 @endif bash
5308 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
5309 maybe-mostlyclean-bash:
5310 @if bash
5311 maybe-mostlyclean-bash: mostlyclean-bash
5313 mostlyclean-bash:
5314 @: $(MAKE); $(unstage)
5315 @[ -f ./bash/Makefile ] || exit 0; \
5316 r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 $(HOST_EXPORTS) \
5319 for flag in $(EXTRA_HOST_FLAGS) ; do \
5320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5321 done; \
5322 echo "Doing mostlyclean in bash" ; \
5323 (cd $(HOST_SUBDIR)/bash && \
5324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5326 "RANLIB=$${RANLIB}" \
5327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5328 mostlyclean) \
5329 || exit 1
5331 @endif bash
5333 .PHONY: maybe-clean-bash clean-bash
5334 maybe-clean-bash:
5335 @if bash
5336 maybe-clean-bash: clean-bash
5338 clean-bash:
5339 @: $(MAKE); $(unstage)
5340 @[ -f ./bash/Makefile ] || exit 0; \
5341 r=`${PWD_COMMAND}`; export r; \
5342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 $(HOST_EXPORTS) \
5344 for flag in $(EXTRA_HOST_FLAGS) ; do \
5345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5346 done; \
5347 echo "Doing clean in bash" ; \
5348 (cd $(HOST_SUBDIR)/bash && \
5349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5351 "RANLIB=$${RANLIB}" \
5352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5353 clean) \
5354 || exit 1
5356 @endif bash
5358 .PHONY: maybe-distclean-bash distclean-bash
5359 maybe-distclean-bash:
5360 @if bash
5361 maybe-distclean-bash: distclean-bash
5363 distclean-bash:
5364 @: $(MAKE); $(unstage)
5365 @[ -f ./bash/Makefile ] || exit 0; \
5366 r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 $(HOST_EXPORTS) \
5369 for flag in $(EXTRA_HOST_FLAGS) ; do \
5370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5371 done; \
5372 echo "Doing distclean in bash" ; \
5373 (cd $(HOST_SUBDIR)/bash && \
5374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5376 "RANLIB=$${RANLIB}" \
5377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5378 distclean) \
5379 || exit 1
5381 @endif bash
5383 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
5384 maybe-maintainer-clean-bash:
5385 @if bash
5386 maybe-maintainer-clean-bash: maintainer-clean-bash
5388 maintainer-clean-bash:
5389 @: $(MAKE); $(unstage)
5390 @[ -f ./bash/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(HOST_EXPORTS) \
5394 for flag in $(EXTRA_HOST_FLAGS) ; do \
5395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5396 done; \
5397 echo "Doing maintainer-clean in bash" ; \
5398 (cd $(HOST_SUBDIR)/bash && \
5399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401 "RANLIB=$${RANLIB}" \
5402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5403 maintainer-clean) \
5404 || exit 1
5406 @endif bash
5410 .PHONY: configure-bfd maybe-configure-bfd
5411 maybe-configure-bfd:
5412 @if gcc-bootstrap
5413 configure-bfd: stage_current
5414 @endif gcc-bootstrap
5415 @if bfd
5416 maybe-configure-bfd: configure-bfd
5417 configure-bfd:
5418 @r=`${PWD_COMMAND}`; export r; \
5419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5420 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5422 $(HOST_EXPORTS) \
5423 echo Configuring in $(HOST_SUBDIR)/bfd; \
5424 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
5425 case $(srcdir) in \
5426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5427 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5429 esac; \
5430 srcdiroption="--srcdir=$${topdir}/bfd"; \
5431 libsrcdir="$$s/bfd"; \
5432 $(SHELL) $${libsrcdir}/configure \
5433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5434 --target=${target_alias} $${srcdiroption} \
5435 || exit 1
5436 @endif bfd
5440 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
5441 maybe-configure-stage1-bfd:
5442 @if bfd-bootstrap
5443 maybe-configure-stage1-bfd: configure-stage1-bfd
5444 configure-stage1-bfd:
5445 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5447 @r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 TFLAGS="$(STAGE1_TFLAGS)"; \
5450 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5451 $(HOST_EXPORTS) \
5452 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5453 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5454 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5455 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
5456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5457 cd $(HOST_SUBDIR)/bfd || exit 1; \
5458 case $(srcdir) in \
5459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5460 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5462 esac; \
5463 srcdiroption="--srcdir=$${topdir}/bfd"; \
5464 libsrcdir="$$s/bfd"; \
5465 $(SHELL) $${libsrcdir}/configure \
5466 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5467 --target=${target_alias} $${srcdiroption} \
5468 $(STAGE1_CONFIGURE_FLAGS)
5469 @endif bfd-bootstrap
5471 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
5472 maybe-configure-stage2-bfd:
5473 @if bfd-bootstrap
5474 maybe-configure-stage2-bfd: configure-stage2-bfd
5475 configure-stage2-bfd:
5476 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5477 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5478 @r=`${PWD_COMMAND}`; export r; \
5479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5480 TFLAGS="$(STAGE2_TFLAGS)"; \
5481 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5482 $(HOST_EXPORTS) \
5483 $(POSTSTAGE1_HOST_EXPORTS) \
5484 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5485 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5486 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5487 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
5488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5489 cd $(HOST_SUBDIR)/bfd || exit 1; \
5490 case $(srcdir) in \
5491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5492 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5494 esac; \
5495 srcdiroption="--srcdir=$${topdir}/bfd"; \
5496 libsrcdir="$$s/bfd"; \
5497 $(SHELL) $${libsrcdir}/configure \
5498 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5499 --target=${target_alias} $${srcdiroption} \
5500 --with-build-libsubdir=$(HOST_SUBDIR) \
5501 $(STAGE2_CONFIGURE_FLAGS)
5502 @endif bfd-bootstrap
5504 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
5505 maybe-configure-stage3-bfd:
5506 @if bfd-bootstrap
5507 maybe-configure-stage3-bfd: configure-stage3-bfd
5508 configure-stage3-bfd:
5509 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5511 @r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5513 TFLAGS="$(STAGE3_TFLAGS)"; \
5514 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5515 $(HOST_EXPORTS) \
5516 $(POSTSTAGE1_HOST_EXPORTS) \
5517 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5518 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5519 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5520 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
5521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5522 cd $(HOST_SUBDIR)/bfd || exit 1; \
5523 case $(srcdir) in \
5524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5525 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5527 esac; \
5528 srcdiroption="--srcdir=$${topdir}/bfd"; \
5529 libsrcdir="$$s/bfd"; \
5530 $(SHELL) $${libsrcdir}/configure \
5531 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5532 --target=${target_alias} $${srcdiroption} \
5533 --with-build-libsubdir=$(HOST_SUBDIR) \
5534 $(STAGE3_CONFIGURE_FLAGS)
5535 @endif bfd-bootstrap
5537 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
5538 maybe-configure-stage4-bfd:
5539 @if bfd-bootstrap
5540 maybe-configure-stage4-bfd: configure-stage4-bfd
5541 configure-stage4-bfd:
5542 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5544 @r=`${PWD_COMMAND}`; export r; \
5545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5546 TFLAGS="$(STAGE4_TFLAGS)"; \
5547 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5548 $(HOST_EXPORTS) \
5549 $(POSTSTAGE1_HOST_EXPORTS) \
5550 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5551 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5552 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5553 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5555 cd $(HOST_SUBDIR)/bfd || exit 1; \
5556 case $(srcdir) in \
5557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5558 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5560 esac; \
5561 srcdiroption="--srcdir=$${topdir}/bfd"; \
5562 libsrcdir="$$s/bfd"; \
5563 $(SHELL) $${libsrcdir}/configure \
5564 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5565 --target=${target_alias} $${srcdiroption} \
5566 --with-build-libsubdir=$(HOST_SUBDIR) \
5567 $(STAGE4_CONFIGURE_FLAGS)
5568 @endif bfd-bootstrap
5570 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5571 maybe-configure-stageprofile-bfd:
5572 @if bfd-bootstrap
5573 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5574 configure-stageprofile-bfd:
5575 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5577 @r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5580 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5581 $(HOST_EXPORTS) \
5582 $(POSTSTAGE1_HOST_EXPORTS) \
5583 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5584 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5585 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5586 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5588 cd $(HOST_SUBDIR)/bfd || exit 1; \
5589 case $(srcdir) in \
5590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5591 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5593 esac; \
5594 srcdiroption="--srcdir=$${topdir}/bfd"; \
5595 libsrcdir="$$s/bfd"; \
5596 $(SHELL) $${libsrcdir}/configure \
5597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5598 --target=${target_alias} $${srcdiroption} \
5599 --with-build-libsubdir=$(HOST_SUBDIR) \
5600 $(STAGEprofile_CONFIGURE_FLAGS)
5601 @endif bfd-bootstrap
5603 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5604 maybe-configure-stagefeedback-bfd:
5605 @if bfd-bootstrap
5606 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5607 configure-stagefeedback-bfd:
5608 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5609 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5610 @r=`${PWD_COMMAND}`; export r; \
5611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5612 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5613 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5614 $(HOST_EXPORTS) \
5615 $(POSTSTAGE1_HOST_EXPORTS) \
5616 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5617 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5618 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5619 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5621 cd $(HOST_SUBDIR)/bfd || exit 1; \
5622 case $(srcdir) in \
5623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5624 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5626 esac; \
5627 srcdiroption="--srcdir=$${topdir}/bfd"; \
5628 libsrcdir="$$s/bfd"; \
5629 $(SHELL) $${libsrcdir}/configure \
5630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5631 --target=${target_alias} $${srcdiroption} \
5632 --with-build-libsubdir=$(HOST_SUBDIR) \
5633 $(STAGEfeedback_CONFIGURE_FLAGS)
5634 @endif bfd-bootstrap
5640 .PHONY: all-bfd maybe-all-bfd
5641 maybe-all-bfd:
5642 @if gcc-bootstrap
5643 all-bfd: stage_current
5644 @endif gcc-bootstrap
5645 @if bfd
5646 TARGET-bfd=all
5647 maybe-all-bfd: all-bfd
5648 all-bfd: configure-bfd
5649 @r=`${PWD_COMMAND}`; export r; \
5650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5651 $(HOST_EXPORTS) \
5652 (cd $(HOST_SUBDIR)/bfd && \
5653 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5654 $(TARGET-bfd))
5655 @endif bfd
5659 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5660 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5661 maybe-all-stage1-bfd:
5662 maybe-clean-stage1-bfd:
5663 @if bfd-bootstrap
5664 maybe-all-stage1-bfd: all-stage1-bfd
5665 all-stage1: all-stage1-bfd
5666 TARGET-stage1-bfd = $(TARGET-bfd)
5667 all-stage1-bfd: configure-stage1-bfd
5668 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5669 @r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 TFLAGS="$(STAGE1_TFLAGS)"; \
5672 $(HOST_EXPORTS) \
5673 cd $(HOST_SUBDIR)/bfd && \
5674 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5675 CFLAGS="$(STAGE1_CFLAGS)" \
5676 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5677 LIBCFLAGS="$(LIBCFLAGS)" \
5678 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5679 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5680 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5681 $(EXTRA_HOST_FLAGS) \
5682 TFLAGS="$(STAGE1_TFLAGS)" \
5683 $(TARGET-stage1-bfd)
5685 maybe-clean-stage1-bfd: clean-stage1-bfd
5686 clean-stage1: clean-stage1-bfd
5687 clean-stage1-bfd:
5688 @if [ $(current_stage) = stage1 ]; then \
5689 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5690 else \
5691 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5692 $(MAKE) stage1-start; \
5693 fi; \
5694 cd $(HOST_SUBDIR)/bfd && \
5695 $(MAKE) $(EXTRA_HOST_FLAGS) \
5696 clean
5697 @endif bfd-bootstrap
5700 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5701 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5702 maybe-all-stage2-bfd:
5703 maybe-clean-stage2-bfd:
5704 @if bfd-bootstrap
5705 maybe-all-stage2-bfd: all-stage2-bfd
5706 all-stage2: all-stage2-bfd
5707 TARGET-stage2-bfd = $(TARGET-bfd)
5708 all-stage2-bfd: configure-stage2-bfd
5709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5710 @r=`${PWD_COMMAND}`; export r; \
5711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 TFLAGS="$(STAGE2_TFLAGS)"; \
5713 $(HOST_EXPORTS) \
5714 $(POSTSTAGE1_HOST_EXPORTS) \
5715 cd $(HOST_SUBDIR)/bfd && \
5716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5717 CFLAGS="$(STAGE2_CFLAGS)" \
5718 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5719 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5723 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5724 TFLAGS="$(STAGE2_TFLAGS)" \
5725 $(TARGET-stage2-bfd)
5727 maybe-clean-stage2-bfd: clean-stage2-bfd
5728 clean-stage2: clean-stage2-bfd
5729 clean-stage2-bfd:
5730 @if [ $(current_stage) = stage2 ]; then \
5731 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5732 else \
5733 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5734 $(MAKE) stage2-start; \
5735 fi; \
5736 cd $(HOST_SUBDIR)/bfd && \
5737 $(MAKE) $(EXTRA_HOST_FLAGS) \
5738 $(POSTSTAGE1_FLAGS_TO_PASS) \
5739 clean
5740 @endif bfd-bootstrap
5743 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5744 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5745 maybe-all-stage3-bfd:
5746 maybe-clean-stage3-bfd:
5747 @if bfd-bootstrap
5748 maybe-all-stage3-bfd: all-stage3-bfd
5749 all-stage3: all-stage3-bfd
5750 TARGET-stage3-bfd = $(TARGET-bfd)
5751 all-stage3-bfd: configure-stage3-bfd
5752 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5753 @r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5755 TFLAGS="$(STAGE3_TFLAGS)"; \
5756 $(HOST_EXPORTS) \
5757 $(POSTSTAGE1_HOST_EXPORTS) \
5758 cd $(HOST_SUBDIR)/bfd && \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5760 CFLAGS="$(STAGE3_CFLAGS)" \
5761 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5762 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5767 TFLAGS="$(STAGE3_TFLAGS)" \
5768 $(TARGET-stage3-bfd)
5770 maybe-clean-stage3-bfd: clean-stage3-bfd
5771 clean-stage3: clean-stage3-bfd
5772 clean-stage3-bfd:
5773 @if [ $(current_stage) = stage3 ]; then \
5774 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5775 else \
5776 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5777 $(MAKE) stage3-start; \
5778 fi; \
5779 cd $(HOST_SUBDIR)/bfd && \
5780 $(MAKE) $(EXTRA_HOST_FLAGS) \
5781 $(POSTSTAGE1_FLAGS_TO_PASS) \
5782 clean
5783 @endif bfd-bootstrap
5786 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5787 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5788 maybe-all-stage4-bfd:
5789 maybe-clean-stage4-bfd:
5790 @if bfd-bootstrap
5791 maybe-all-stage4-bfd: all-stage4-bfd
5792 all-stage4: all-stage4-bfd
5793 TARGET-stage4-bfd = $(TARGET-bfd)
5794 all-stage4-bfd: configure-stage4-bfd
5795 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5796 @r=`${PWD_COMMAND}`; export r; \
5797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5798 TFLAGS="$(STAGE4_TFLAGS)"; \
5799 $(HOST_EXPORTS) \
5800 $(POSTSTAGE1_HOST_EXPORTS) \
5801 cd $(HOST_SUBDIR)/bfd && \
5802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5803 CFLAGS="$(STAGE4_CFLAGS)" \
5804 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5805 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5809 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5810 TFLAGS="$(STAGE4_TFLAGS)" \
5811 $(TARGET-stage4-bfd)
5813 maybe-clean-stage4-bfd: clean-stage4-bfd
5814 clean-stage4: clean-stage4-bfd
5815 clean-stage4-bfd:
5816 @if [ $(current_stage) = stage4 ]; then \
5817 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5818 else \
5819 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5820 $(MAKE) stage4-start; \
5821 fi; \
5822 cd $(HOST_SUBDIR)/bfd && \
5823 $(MAKE) $(EXTRA_HOST_FLAGS) \
5824 $(POSTSTAGE1_FLAGS_TO_PASS) \
5825 clean
5826 @endif bfd-bootstrap
5829 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5830 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5831 maybe-all-stageprofile-bfd:
5832 maybe-clean-stageprofile-bfd:
5833 @if bfd-bootstrap
5834 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5835 all-stageprofile: all-stageprofile-bfd
5836 TARGET-stageprofile-bfd = $(TARGET-bfd)
5837 all-stageprofile-bfd: configure-stageprofile-bfd
5838 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5839 @r=`${PWD_COMMAND}`; export r; \
5840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5841 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5842 $(HOST_EXPORTS) \
5843 $(POSTSTAGE1_HOST_EXPORTS) \
5844 cd $(HOST_SUBDIR)/bfd && \
5845 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5846 CFLAGS="$(STAGEprofile_CFLAGS)" \
5847 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5848 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5849 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5850 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5851 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5852 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5853 TFLAGS="$(STAGEprofile_TFLAGS)" \
5854 $(TARGET-stageprofile-bfd)
5856 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5857 clean-stageprofile: clean-stageprofile-bfd
5858 clean-stageprofile-bfd:
5859 @if [ $(current_stage) = stageprofile ]; then \
5860 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5861 else \
5862 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5863 $(MAKE) stageprofile-start; \
5864 fi; \
5865 cd $(HOST_SUBDIR)/bfd && \
5866 $(MAKE) $(EXTRA_HOST_FLAGS) \
5867 $(POSTSTAGE1_FLAGS_TO_PASS) \
5868 clean
5869 @endif bfd-bootstrap
5872 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5873 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5874 maybe-all-stagefeedback-bfd:
5875 maybe-clean-stagefeedback-bfd:
5876 @if bfd-bootstrap
5877 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5878 all-stagefeedback: all-stagefeedback-bfd
5879 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5880 all-stagefeedback-bfd: configure-stagefeedback-bfd
5881 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5882 @r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5885 $(HOST_EXPORTS) \
5886 $(POSTSTAGE1_HOST_EXPORTS) \
5887 cd $(HOST_SUBDIR)/bfd && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5889 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5890 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5891 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5892 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5893 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5894 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5895 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5896 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5897 $(TARGET-stagefeedback-bfd)
5899 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5900 clean-stagefeedback: clean-stagefeedback-bfd
5901 clean-stagefeedback-bfd:
5902 @if [ $(current_stage) = stagefeedback ]; then \
5903 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5904 else \
5905 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5906 $(MAKE) stagefeedback-start; \
5907 fi; \
5908 cd $(HOST_SUBDIR)/bfd && \
5909 $(MAKE) $(EXTRA_HOST_FLAGS) \
5910 $(POSTSTAGE1_FLAGS_TO_PASS) \
5911 clean
5912 @endif bfd-bootstrap
5918 .PHONY: check-bfd maybe-check-bfd
5919 maybe-check-bfd:
5920 @if bfd
5921 maybe-check-bfd: check-bfd
5923 check-bfd:
5924 @: $(MAKE); $(unstage)
5925 @r=`${PWD_COMMAND}`; export r; \
5926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5927 $(HOST_EXPORTS) \
5928 (cd $(HOST_SUBDIR)/bfd && \
5929 $(MAKE) $(FLAGS_TO_PASS) check)
5931 @endif bfd
5933 .PHONY: install-bfd maybe-install-bfd
5934 maybe-install-bfd:
5935 @if bfd
5936 maybe-install-bfd: install-bfd
5938 install-bfd: installdirs
5939 @: $(MAKE); $(unstage)
5940 @r=`${PWD_COMMAND}`; export r; \
5941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5942 $(HOST_EXPORTS) \
5943 (cd $(HOST_SUBDIR)/bfd && \
5944 $(MAKE) $(FLAGS_TO_PASS) install)
5946 @endif bfd
5948 .PHONY: install-strip-bfd maybe-install-strip-bfd
5949 maybe-install-strip-bfd:
5950 @if bfd
5951 maybe-install-strip-bfd: install-strip-bfd
5953 install-strip-bfd: installdirs
5954 @: $(MAKE); $(unstage)
5955 @r=`${PWD_COMMAND}`; export r; \
5956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5957 $(HOST_EXPORTS) \
5958 (cd $(HOST_SUBDIR)/bfd && \
5959 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5961 @endif bfd
5963 # Other targets (info, dvi, pdf, etc.)
5965 .PHONY: maybe-info-bfd info-bfd
5966 maybe-info-bfd:
5967 @if bfd
5968 maybe-info-bfd: info-bfd
5970 info-bfd: \
5971 configure-bfd
5972 @[ -f ./bfd/Makefile ] || exit 0; \
5973 r=`${PWD_COMMAND}`; export r; \
5974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5975 $(HOST_EXPORTS) \
5976 for flag in $(EXTRA_HOST_FLAGS) ; do \
5977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5978 done; \
5979 echo "Doing info in bfd" ; \
5980 (cd $(HOST_SUBDIR)/bfd && \
5981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5983 "RANLIB=$${RANLIB}" \
5984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5985 info) \
5986 || exit 1
5988 @endif bfd
5990 .PHONY: maybe-dvi-bfd dvi-bfd
5991 maybe-dvi-bfd:
5992 @if bfd
5993 maybe-dvi-bfd: dvi-bfd
5995 dvi-bfd: \
5996 configure-bfd
5997 @[ -f ./bfd/Makefile ] || exit 0; \
5998 r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6000 $(HOST_EXPORTS) \
6001 for flag in $(EXTRA_HOST_FLAGS) ; do \
6002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6003 done; \
6004 echo "Doing dvi in bfd" ; \
6005 (cd $(HOST_SUBDIR)/bfd && \
6006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6008 "RANLIB=$${RANLIB}" \
6009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6010 dvi) \
6011 || exit 1
6013 @endif bfd
6015 .PHONY: maybe-pdf-bfd pdf-bfd
6016 maybe-pdf-bfd:
6017 @if bfd
6018 maybe-pdf-bfd: pdf-bfd
6020 pdf-bfd: \
6021 configure-bfd
6022 @[ -f ./bfd/Makefile ] || exit 0; \
6023 r=`${PWD_COMMAND}`; export r; \
6024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 $(HOST_EXPORTS) \
6026 for flag in $(EXTRA_HOST_FLAGS) ; do \
6027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 done; \
6029 echo "Doing pdf in bfd" ; \
6030 (cd $(HOST_SUBDIR)/bfd && \
6031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6033 "RANLIB=$${RANLIB}" \
6034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6035 pdf) \
6036 || exit 1
6038 @endif bfd
6040 .PHONY: maybe-html-bfd html-bfd
6041 maybe-html-bfd:
6042 @if bfd
6043 maybe-html-bfd: html-bfd
6045 html-bfd: \
6046 configure-bfd
6047 @[ -f ./bfd/Makefile ] || exit 0; \
6048 r=`${PWD_COMMAND}`; export r; \
6049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 $(HOST_EXPORTS) \
6051 for flag in $(EXTRA_HOST_FLAGS) ; do \
6052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6053 done; \
6054 echo "Doing html in bfd" ; \
6055 (cd $(HOST_SUBDIR)/bfd && \
6056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6058 "RANLIB=$${RANLIB}" \
6059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6060 html) \
6061 || exit 1
6063 @endif bfd
6065 .PHONY: maybe-TAGS-bfd TAGS-bfd
6066 maybe-TAGS-bfd:
6067 @if bfd
6068 maybe-TAGS-bfd: TAGS-bfd
6070 TAGS-bfd: \
6071 configure-bfd
6072 @[ -f ./bfd/Makefile ] || exit 0; \
6073 r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 $(HOST_EXPORTS) \
6076 for flag in $(EXTRA_HOST_FLAGS) ; do \
6077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078 done; \
6079 echo "Doing TAGS in bfd" ; \
6080 (cd $(HOST_SUBDIR)/bfd && \
6081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6083 "RANLIB=$${RANLIB}" \
6084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6085 TAGS) \
6086 || exit 1
6088 @endif bfd
6090 .PHONY: maybe-install-info-bfd install-info-bfd
6091 maybe-install-info-bfd:
6092 @if bfd
6093 maybe-install-info-bfd: install-info-bfd
6095 install-info-bfd: \
6096 configure-bfd \
6097 info-bfd
6098 @[ -f ./bfd/Makefile ] || exit 0; \
6099 r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 $(HOST_EXPORTS) \
6102 for flag in $(EXTRA_HOST_FLAGS) ; do \
6103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6104 done; \
6105 echo "Doing install-info in bfd" ; \
6106 (cd $(HOST_SUBDIR)/bfd && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6109 "RANLIB=$${RANLIB}" \
6110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6111 install-info) \
6112 || exit 1
6114 @endif bfd
6116 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
6117 maybe-install-pdf-bfd:
6118 @if bfd
6119 maybe-install-pdf-bfd: install-pdf-bfd
6121 install-pdf-bfd: \
6122 configure-bfd \
6123 pdf-bfd
6124 @[ -f ./bfd/Makefile ] || exit 0; \
6125 r=`${PWD_COMMAND}`; export r; \
6126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6127 $(HOST_EXPORTS) \
6128 for flag in $(EXTRA_HOST_FLAGS) ; do \
6129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6130 done; \
6131 echo "Doing install-pdf in bfd" ; \
6132 (cd $(HOST_SUBDIR)/bfd && \
6133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6135 "RANLIB=$${RANLIB}" \
6136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6137 install-pdf) \
6138 || exit 1
6140 @endif bfd
6142 .PHONY: maybe-install-html-bfd install-html-bfd
6143 maybe-install-html-bfd:
6144 @if bfd
6145 maybe-install-html-bfd: install-html-bfd
6147 install-html-bfd: \
6148 configure-bfd \
6149 html-bfd
6150 @[ -f ./bfd/Makefile ] || exit 0; \
6151 r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) \
6154 for flag in $(EXTRA_HOST_FLAGS) ; do \
6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6156 done; \
6157 echo "Doing install-html in bfd" ; \
6158 (cd $(HOST_SUBDIR)/bfd && \
6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6161 "RANLIB=$${RANLIB}" \
6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6163 install-html) \
6164 || exit 1
6166 @endif bfd
6168 .PHONY: maybe-installcheck-bfd installcheck-bfd
6169 maybe-installcheck-bfd:
6170 @if bfd
6171 maybe-installcheck-bfd: installcheck-bfd
6173 installcheck-bfd: \
6174 configure-bfd
6175 @[ -f ./bfd/Makefile ] || exit 0; \
6176 r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 $(HOST_EXPORTS) \
6179 for flag in $(EXTRA_HOST_FLAGS) ; do \
6180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6181 done; \
6182 echo "Doing installcheck in bfd" ; \
6183 (cd $(HOST_SUBDIR)/bfd && \
6184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6186 "RANLIB=$${RANLIB}" \
6187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6188 installcheck) \
6189 || exit 1
6191 @endif bfd
6193 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
6194 maybe-mostlyclean-bfd:
6195 @if bfd
6196 maybe-mostlyclean-bfd: mostlyclean-bfd
6198 mostlyclean-bfd:
6199 @[ -f ./bfd/Makefile ] || exit 0; \
6200 r=`${PWD_COMMAND}`; export r; \
6201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 $(HOST_EXPORTS) \
6203 for flag in $(EXTRA_HOST_FLAGS) ; do \
6204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 done; \
6206 echo "Doing mostlyclean in bfd" ; \
6207 (cd $(HOST_SUBDIR)/bfd && \
6208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6210 "RANLIB=$${RANLIB}" \
6211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6212 mostlyclean) \
6213 || exit 1
6215 @endif bfd
6217 .PHONY: maybe-clean-bfd clean-bfd
6218 maybe-clean-bfd:
6219 @if bfd
6220 maybe-clean-bfd: clean-bfd
6222 clean-bfd:
6223 @[ -f ./bfd/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(HOST_EXPORTS) \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 echo "Doing clean in bfd" ; \
6231 (cd $(HOST_SUBDIR)/bfd && \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6236 clean) \
6237 || exit 1
6239 @endif bfd
6241 .PHONY: maybe-distclean-bfd distclean-bfd
6242 maybe-distclean-bfd:
6243 @if bfd
6244 maybe-distclean-bfd: distclean-bfd
6246 distclean-bfd:
6247 @[ -f ./bfd/Makefile ] || exit 0; \
6248 r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 $(HOST_EXPORTS) \
6251 for flag in $(EXTRA_HOST_FLAGS) ; do \
6252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6253 done; \
6254 echo "Doing distclean in bfd" ; \
6255 (cd $(HOST_SUBDIR)/bfd && \
6256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6258 "RANLIB=$${RANLIB}" \
6259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6260 distclean) \
6261 || exit 1
6263 @endif bfd
6265 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
6266 maybe-maintainer-clean-bfd:
6267 @if bfd
6268 maybe-maintainer-clean-bfd: maintainer-clean-bfd
6270 maintainer-clean-bfd:
6271 @[ -f ./bfd/Makefile ] || exit 0; \
6272 r=`${PWD_COMMAND}`; export r; \
6273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6274 $(HOST_EXPORTS) \
6275 for flag in $(EXTRA_HOST_FLAGS) ; do \
6276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6277 done; \
6278 echo "Doing maintainer-clean in bfd" ; \
6279 (cd $(HOST_SUBDIR)/bfd && \
6280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6282 "RANLIB=$${RANLIB}" \
6283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6284 maintainer-clean) \
6285 || exit 1
6287 @endif bfd
6291 .PHONY: configure-opcodes maybe-configure-opcodes
6292 maybe-configure-opcodes:
6293 @if gcc-bootstrap
6294 configure-opcodes: stage_current
6295 @endif gcc-bootstrap
6296 @if opcodes
6297 maybe-configure-opcodes: configure-opcodes
6298 configure-opcodes:
6299 @r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6303 $(HOST_EXPORTS) \
6304 echo Configuring in $(HOST_SUBDIR)/opcodes; \
6305 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
6306 case $(srcdir) in \
6307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6308 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6310 esac; \
6311 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6312 libsrcdir="$$s/opcodes"; \
6313 $(SHELL) $${libsrcdir}/configure \
6314 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6315 --target=${target_alias} $${srcdiroption} \
6316 || exit 1
6317 @endif opcodes
6321 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
6322 maybe-configure-stage1-opcodes:
6323 @if opcodes-bootstrap
6324 maybe-configure-stage1-opcodes: configure-stage1-opcodes
6325 configure-stage1-opcodes:
6326 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6328 @r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 TFLAGS="$(STAGE1_TFLAGS)"; \
6331 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6332 $(HOST_EXPORTS) \
6333 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6334 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
6335 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
6336 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
6337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6338 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6339 case $(srcdir) in \
6340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6341 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6343 esac; \
6344 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6345 libsrcdir="$$s/opcodes"; \
6346 $(SHELL) $${libsrcdir}/configure \
6347 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6348 --target=${target_alias} $${srcdiroption} \
6349 $(STAGE1_CONFIGURE_FLAGS)
6350 @endif opcodes-bootstrap
6352 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
6353 maybe-configure-stage2-opcodes:
6354 @if opcodes-bootstrap
6355 maybe-configure-stage2-opcodes: configure-stage2-opcodes
6356 configure-stage2-opcodes:
6357 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6359 @r=`${PWD_COMMAND}`; export r; \
6360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6361 TFLAGS="$(STAGE2_TFLAGS)"; \
6362 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6363 $(HOST_EXPORTS) \
6364 $(POSTSTAGE1_HOST_EXPORTS) \
6365 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6366 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
6367 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
6368 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
6369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6370 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6371 case $(srcdir) in \
6372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6373 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6375 esac; \
6376 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6377 libsrcdir="$$s/opcodes"; \
6378 $(SHELL) $${libsrcdir}/configure \
6379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6380 --target=${target_alias} $${srcdiroption} \
6381 --with-build-libsubdir=$(HOST_SUBDIR) \
6382 $(STAGE2_CONFIGURE_FLAGS)
6383 @endif opcodes-bootstrap
6385 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
6386 maybe-configure-stage3-opcodes:
6387 @if opcodes-bootstrap
6388 maybe-configure-stage3-opcodes: configure-stage3-opcodes
6389 configure-stage3-opcodes:
6390 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6392 @r=`${PWD_COMMAND}`; export r; \
6393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6394 TFLAGS="$(STAGE3_TFLAGS)"; \
6395 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6396 $(HOST_EXPORTS) \
6397 $(POSTSTAGE1_HOST_EXPORTS) \
6398 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6399 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
6400 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
6401 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
6402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6403 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6404 case $(srcdir) in \
6405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6406 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6408 esac; \
6409 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6410 libsrcdir="$$s/opcodes"; \
6411 $(SHELL) $${libsrcdir}/configure \
6412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6413 --target=${target_alias} $${srcdiroption} \
6414 --with-build-libsubdir=$(HOST_SUBDIR) \
6415 $(STAGE3_CONFIGURE_FLAGS)
6416 @endif opcodes-bootstrap
6418 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
6419 maybe-configure-stage4-opcodes:
6420 @if opcodes-bootstrap
6421 maybe-configure-stage4-opcodes: configure-stage4-opcodes
6422 configure-stage4-opcodes:
6423 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6425 @r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 TFLAGS="$(STAGE4_TFLAGS)"; \
6428 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6429 $(HOST_EXPORTS) \
6430 $(POSTSTAGE1_HOST_EXPORTS) \
6431 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6432 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
6433 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
6434 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
6435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6436 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6437 case $(srcdir) in \
6438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6439 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6441 esac; \
6442 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6443 libsrcdir="$$s/opcodes"; \
6444 $(SHELL) $${libsrcdir}/configure \
6445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6446 --target=${target_alias} $${srcdiroption} \
6447 --with-build-libsubdir=$(HOST_SUBDIR) \
6448 $(STAGE4_CONFIGURE_FLAGS)
6449 @endif opcodes-bootstrap
6451 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
6452 maybe-configure-stageprofile-opcodes:
6453 @if opcodes-bootstrap
6454 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
6455 configure-stageprofile-opcodes:
6456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6458 @r=`${PWD_COMMAND}`; export r; \
6459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6460 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6461 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6462 $(HOST_EXPORTS) \
6463 $(POSTSTAGE1_HOST_EXPORTS) \
6464 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
6465 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
6466 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
6467 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6469 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6470 case $(srcdir) in \
6471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6472 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6474 esac; \
6475 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6476 libsrcdir="$$s/opcodes"; \
6477 $(SHELL) $${libsrcdir}/configure \
6478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6479 --target=${target_alias} $${srcdiroption} \
6480 --with-build-libsubdir=$(HOST_SUBDIR) \
6481 $(STAGEprofile_CONFIGURE_FLAGS)
6482 @endif opcodes-bootstrap
6484 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6485 maybe-configure-stagefeedback-opcodes:
6486 @if opcodes-bootstrap
6487 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6488 configure-stagefeedback-opcodes:
6489 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6490 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6491 @r=`${PWD_COMMAND}`; export r; \
6492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6494 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6495 $(HOST_EXPORTS) \
6496 $(POSTSTAGE1_HOST_EXPORTS) \
6497 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6498 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
6499 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6500 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6502 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6503 case $(srcdir) in \
6504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6505 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6507 esac; \
6508 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6509 libsrcdir="$$s/opcodes"; \
6510 $(SHELL) $${libsrcdir}/configure \
6511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6512 --target=${target_alias} $${srcdiroption} \
6513 --with-build-libsubdir=$(HOST_SUBDIR) \
6514 $(STAGEfeedback_CONFIGURE_FLAGS)
6515 @endif opcodes-bootstrap
6521 .PHONY: all-opcodes maybe-all-opcodes
6522 maybe-all-opcodes:
6523 @if gcc-bootstrap
6524 all-opcodes: stage_current
6525 @endif gcc-bootstrap
6526 @if opcodes
6527 TARGET-opcodes=all
6528 maybe-all-opcodes: all-opcodes
6529 all-opcodes: configure-opcodes
6530 @r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 (cd $(HOST_SUBDIR)/opcodes && \
6534 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6535 $(TARGET-opcodes))
6536 @endif opcodes
6540 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6541 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6542 maybe-all-stage1-opcodes:
6543 maybe-clean-stage1-opcodes:
6544 @if opcodes-bootstrap
6545 maybe-all-stage1-opcodes: all-stage1-opcodes
6546 all-stage1: all-stage1-opcodes
6547 TARGET-stage1-opcodes = $(TARGET-opcodes)
6548 all-stage1-opcodes: configure-stage1-opcodes
6549 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 TFLAGS="$(STAGE1_TFLAGS)"; \
6553 $(HOST_EXPORTS) \
6554 cd $(HOST_SUBDIR)/opcodes && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6556 CFLAGS="$(STAGE1_CFLAGS)" \
6557 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
6558 LIBCFLAGS="$(LIBCFLAGS)" \
6559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6562 $(EXTRA_HOST_FLAGS) \
6563 TFLAGS="$(STAGE1_TFLAGS)" \
6564 $(TARGET-stage1-opcodes)
6566 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6567 clean-stage1: clean-stage1-opcodes
6568 clean-stage1-opcodes:
6569 @if [ $(current_stage) = stage1 ]; then \
6570 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6571 else \
6572 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6573 $(MAKE) stage1-start; \
6574 fi; \
6575 cd $(HOST_SUBDIR)/opcodes && \
6576 $(MAKE) $(EXTRA_HOST_FLAGS) \
6577 clean
6578 @endif opcodes-bootstrap
6581 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6582 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6583 maybe-all-stage2-opcodes:
6584 maybe-clean-stage2-opcodes:
6585 @if opcodes-bootstrap
6586 maybe-all-stage2-opcodes: all-stage2-opcodes
6587 all-stage2: all-stage2-opcodes
6588 TARGET-stage2-opcodes = $(TARGET-opcodes)
6589 all-stage2-opcodes: configure-stage2-opcodes
6590 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6591 @r=`${PWD_COMMAND}`; export r; \
6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6593 TFLAGS="$(STAGE2_TFLAGS)"; \
6594 $(HOST_EXPORTS) \
6595 $(POSTSTAGE1_HOST_EXPORTS) \
6596 cd $(HOST_SUBDIR)/opcodes && \
6597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6598 CFLAGS="$(STAGE2_CFLAGS)" \
6599 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
6600 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6604 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6605 TFLAGS="$(STAGE2_TFLAGS)" \
6606 $(TARGET-stage2-opcodes)
6608 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6609 clean-stage2: clean-stage2-opcodes
6610 clean-stage2-opcodes:
6611 @if [ $(current_stage) = stage2 ]; then \
6612 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6613 else \
6614 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6615 $(MAKE) stage2-start; \
6616 fi; \
6617 cd $(HOST_SUBDIR)/opcodes && \
6618 $(MAKE) $(EXTRA_HOST_FLAGS) \
6619 $(POSTSTAGE1_FLAGS_TO_PASS) \
6620 clean
6621 @endif opcodes-bootstrap
6624 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6625 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6626 maybe-all-stage3-opcodes:
6627 maybe-clean-stage3-opcodes:
6628 @if opcodes-bootstrap
6629 maybe-all-stage3-opcodes: all-stage3-opcodes
6630 all-stage3: all-stage3-opcodes
6631 TARGET-stage3-opcodes = $(TARGET-opcodes)
6632 all-stage3-opcodes: configure-stage3-opcodes
6633 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6634 @r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 TFLAGS="$(STAGE3_TFLAGS)"; \
6637 $(HOST_EXPORTS) \
6638 $(POSTSTAGE1_HOST_EXPORTS) \
6639 cd $(HOST_SUBDIR)/opcodes && \
6640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6641 CFLAGS="$(STAGE3_CFLAGS)" \
6642 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
6643 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6648 TFLAGS="$(STAGE3_TFLAGS)" \
6649 $(TARGET-stage3-opcodes)
6651 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6652 clean-stage3: clean-stage3-opcodes
6653 clean-stage3-opcodes:
6654 @if [ $(current_stage) = stage3 ]; then \
6655 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6656 else \
6657 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6658 $(MAKE) stage3-start; \
6659 fi; \
6660 cd $(HOST_SUBDIR)/opcodes && \
6661 $(MAKE) $(EXTRA_HOST_FLAGS) \
6662 $(POSTSTAGE1_FLAGS_TO_PASS) \
6663 clean
6664 @endif opcodes-bootstrap
6667 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6668 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6669 maybe-all-stage4-opcodes:
6670 maybe-clean-stage4-opcodes:
6671 @if opcodes-bootstrap
6672 maybe-all-stage4-opcodes: all-stage4-opcodes
6673 all-stage4: all-stage4-opcodes
6674 TARGET-stage4-opcodes = $(TARGET-opcodes)
6675 all-stage4-opcodes: configure-stage4-opcodes
6676 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6677 @r=`${PWD_COMMAND}`; export r; \
6678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6679 TFLAGS="$(STAGE4_TFLAGS)"; \
6680 $(HOST_EXPORTS) \
6681 $(POSTSTAGE1_HOST_EXPORTS) \
6682 cd $(HOST_SUBDIR)/opcodes && \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6684 CFLAGS="$(STAGE4_CFLAGS)" \
6685 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6686 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6691 TFLAGS="$(STAGE4_TFLAGS)" \
6692 $(TARGET-stage4-opcodes)
6694 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6695 clean-stage4: clean-stage4-opcodes
6696 clean-stage4-opcodes:
6697 @if [ $(current_stage) = stage4 ]; then \
6698 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6699 else \
6700 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6701 $(MAKE) stage4-start; \
6702 fi; \
6703 cd $(HOST_SUBDIR)/opcodes && \
6704 $(MAKE) $(EXTRA_HOST_FLAGS) \
6705 $(POSTSTAGE1_FLAGS_TO_PASS) \
6706 clean
6707 @endif opcodes-bootstrap
6710 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6711 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6712 maybe-all-stageprofile-opcodes:
6713 maybe-clean-stageprofile-opcodes:
6714 @if opcodes-bootstrap
6715 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6716 all-stageprofile: all-stageprofile-opcodes
6717 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6718 all-stageprofile-opcodes: configure-stageprofile-opcodes
6719 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6720 @r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6723 $(HOST_EXPORTS) \
6724 $(POSTSTAGE1_HOST_EXPORTS) \
6725 cd $(HOST_SUBDIR)/opcodes && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6727 CFLAGS="$(STAGEprofile_CFLAGS)" \
6728 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6729 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6734 TFLAGS="$(STAGEprofile_TFLAGS)" \
6735 $(TARGET-stageprofile-opcodes)
6737 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6738 clean-stageprofile: clean-stageprofile-opcodes
6739 clean-stageprofile-opcodes:
6740 @if [ $(current_stage) = stageprofile ]; then \
6741 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6742 else \
6743 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6744 $(MAKE) stageprofile-start; \
6745 fi; \
6746 cd $(HOST_SUBDIR)/opcodes && \
6747 $(MAKE) $(EXTRA_HOST_FLAGS) \
6748 $(POSTSTAGE1_FLAGS_TO_PASS) \
6749 clean
6750 @endif opcodes-bootstrap
6753 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6754 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6755 maybe-all-stagefeedback-opcodes:
6756 maybe-clean-stagefeedback-opcodes:
6757 @if opcodes-bootstrap
6758 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6759 all-stagefeedback: all-stagefeedback-opcodes
6760 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6761 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6762 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6763 @r=`${PWD_COMMAND}`; export r; \
6764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6765 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6766 $(HOST_EXPORTS) \
6767 $(POSTSTAGE1_HOST_EXPORTS) \
6768 cd $(HOST_SUBDIR)/opcodes && \
6769 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6770 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6771 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6772 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6773 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6774 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6775 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6776 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6777 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6778 $(TARGET-stagefeedback-opcodes)
6780 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6781 clean-stagefeedback: clean-stagefeedback-opcodes
6782 clean-stagefeedback-opcodes:
6783 @if [ $(current_stage) = stagefeedback ]; then \
6784 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6785 else \
6786 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6787 $(MAKE) stagefeedback-start; \
6788 fi; \
6789 cd $(HOST_SUBDIR)/opcodes && \
6790 $(MAKE) $(EXTRA_HOST_FLAGS) \
6791 $(POSTSTAGE1_FLAGS_TO_PASS) \
6792 clean
6793 @endif opcodes-bootstrap
6799 .PHONY: check-opcodes maybe-check-opcodes
6800 maybe-check-opcodes:
6801 @if opcodes
6802 maybe-check-opcodes: check-opcodes
6804 check-opcodes:
6805 @: $(MAKE); $(unstage)
6806 @r=`${PWD_COMMAND}`; export r; \
6807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6808 $(HOST_EXPORTS) \
6809 (cd $(HOST_SUBDIR)/opcodes && \
6810 $(MAKE) $(FLAGS_TO_PASS) check)
6812 @endif opcodes
6814 .PHONY: install-opcodes maybe-install-opcodes
6815 maybe-install-opcodes:
6816 @if opcodes
6817 maybe-install-opcodes: install-opcodes
6819 install-opcodes: installdirs
6820 @: $(MAKE); $(unstage)
6821 @r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6823 $(HOST_EXPORTS) \
6824 (cd $(HOST_SUBDIR)/opcodes && \
6825 $(MAKE) $(FLAGS_TO_PASS) install)
6827 @endif opcodes
6829 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
6830 maybe-install-strip-opcodes:
6831 @if opcodes
6832 maybe-install-strip-opcodes: install-strip-opcodes
6834 install-strip-opcodes: installdirs
6835 @: $(MAKE); $(unstage)
6836 @r=`${PWD_COMMAND}`; export r; \
6837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6838 $(HOST_EXPORTS) \
6839 (cd $(HOST_SUBDIR)/opcodes && \
6840 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6842 @endif opcodes
6844 # Other targets (info, dvi, pdf, etc.)
6846 .PHONY: maybe-info-opcodes info-opcodes
6847 maybe-info-opcodes:
6848 @if opcodes
6849 maybe-info-opcodes: info-opcodes
6851 info-opcodes: \
6852 configure-opcodes
6853 @[ -f ./opcodes/Makefile ] || exit 0; \
6854 r=`${PWD_COMMAND}`; export r; \
6855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856 $(HOST_EXPORTS) \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 done; \
6860 echo "Doing info in opcodes" ; \
6861 (cd $(HOST_SUBDIR)/opcodes && \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6866 info) \
6867 || exit 1
6869 @endif opcodes
6871 .PHONY: maybe-dvi-opcodes dvi-opcodes
6872 maybe-dvi-opcodes:
6873 @if opcodes
6874 maybe-dvi-opcodes: dvi-opcodes
6876 dvi-opcodes: \
6877 configure-opcodes
6878 @[ -f ./opcodes/Makefile ] || exit 0; \
6879 r=`${PWD_COMMAND}`; export r; \
6880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6881 $(HOST_EXPORTS) \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 done; \
6885 echo "Doing dvi in opcodes" ; \
6886 (cd $(HOST_SUBDIR)/opcodes && \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6891 dvi) \
6892 || exit 1
6894 @endif opcodes
6896 .PHONY: maybe-pdf-opcodes pdf-opcodes
6897 maybe-pdf-opcodes:
6898 @if opcodes
6899 maybe-pdf-opcodes: pdf-opcodes
6901 pdf-opcodes: \
6902 configure-opcodes
6903 @[ -f ./opcodes/Makefile ] || exit 0; \
6904 r=`${PWD_COMMAND}`; export r; \
6905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6906 $(HOST_EXPORTS) \
6907 for flag in $(EXTRA_HOST_FLAGS) ; do \
6908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6909 done; \
6910 echo "Doing pdf in opcodes" ; \
6911 (cd $(HOST_SUBDIR)/opcodes && \
6912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6914 "RANLIB=$${RANLIB}" \
6915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6916 pdf) \
6917 || exit 1
6919 @endif opcodes
6921 .PHONY: maybe-html-opcodes html-opcodes
6922 maybe-html-opcodes:
6923 @if opcodes
6924 maybe-html-opcodes: html-opcodes
6926 html-opcodes: \
6927 configure-opcodes
6928 @[ -f ./opcodes/Makefile ] || exit 0; \
6929 r=`${PWD_COMMAND}`; export r; \
6930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6931 $(HOST_EXPORTS) \
6932 for flag in $(EXTRA_HOST_FLAGS) ; do \
6933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6934 done; \
6935 echo "Doing html in opcodes" ; \
6936 (cd $(HOST_SUBDIR)/opcodes && \
6937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6939 "RANLIB=$${RANLIB}" \
6940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6941 html) \
6942 || exit 1
6944 @endif opcodes
6946 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6947 maybe-TAGS-opcodes:
6948 @if opcodes
6949 maybe-TAGS-opcodes: TAGS-opcodes
6951 TAGS-opcodes: \
6952 configure-opcodes
6953 @[ -f ./opcodes/Makefile ] || exit 0; \
6954 r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(HOST_EXPORTS) \
6957 for flag in $(EXTRA_HOST_FLAGS) ; do \
6958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6959 done; \
6960 echo "Doing TAGS in opcodes" ; \
6961 (cd $(HOST_SUBDIR)/opcodes && \
6962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6964 "RANLIB=$${RANLIB}" \
6965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6966 TAGS) \
6967 || exit 1
6969 @endif opcodes
6971 .PHONY: maybe-install-info-opcodes install-info-opcodes
6972 maybe-install-info-opcodes:
6973 @if opcodes
6974 maybe-install-info-opcodes: install-info-opcodes
6976 install-info-opcodes: \
6977 configure-opcodes \
6978 info-opcodes
6979 @[ -f ./opcodes/Makefile ] || exit 0; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 $(HOST_EXPORTS) \
6983 for flag in $(EXTRA_HOST_FLAGS) ; do \
6984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6985 done; \
6986 echo "Doing install-info in opcodes" ; \
6987 (cd $(HOST_SUBDIR)/opcodes && \
6988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6990 "RANLIB=$${RANLIB}" \
6991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6992 install-info) \
6993 || exit 1
6995 @endif opcodes
6997 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6998 maybe-install-pdf-opcodes:
6999 @if opcodes
7000 maybe-install-pdf-opcodes: install-pdf-opcodes
7002 install-pdf-opcodes: \
7003 configure-opcodes \
7004 pdf-opcodes
7005 @[ -f ./opcodes/Makefile ] || exit 0; \
7006 r=`${PWD_COMMAND}`; export r; \
7007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7008 $(HOST_EXPORTS) \
7009 for flag in $(EXTRA_HOST_FLAGS) ; do \
7010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7011 done; \
7012 echo "Doing install-pdf in opcodes" ; \
7013 (cd $(HOST_SUBDIR)/opcodes && \
7014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7016 "RANLIB=$${RANLIB}" \
7017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7018 install-pdf) \
7019 || exit 1
7021 @endif opcodes
7023 .PHONY: maybe-install-html-opcodes install-html-opcodes
7024 maybe-install-html-opcodes:
7025 @if opcodes
7026 maybe-install-html-opcodes: install-html-opcodes
7028 install-html-opcodes: \
7029 configure-opcodes \
7030 html-opcodes
7031 @[ -f ./opcodes/Makefile ] || exit 0; \
7032 r=`${PWD_COMMAND}`; export r; \
7033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7034 $(HOST_EXPORTS) \
7035 for flag in $(EXTRA_HOST_FLAGS) ; do \
7036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7037 done; \
7038 echo "Doing install-html in opcodes" ; \
7039 (cd $(HOST_SUBDIR)/opcodes && \
7040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7042 "RANLIB=$${RANLIB}" \
7043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7044 install-html) \
7045 || exit 1
7047 @endif opcodes
7049 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
7050 maybe-installcheck-opcodes:
7051 @if opcodes
7052 maybe-installcheck-opcodes: installcheck-opcodes
7054 installcheck-opcodes: \
7055 configure-opcodes
7056 @[ -f ./opcodes/Makefile ] || exit 0; \
7057 r=`${PWD_COMMAND}`; export r; \
7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7059 $(HOST_EXPORTS) \
7060 for flag in $(EXTRA_HOST_FLAGS) ; do \
7061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7062 done; \
7063 echo "Doing installcheck in opcodes" ; \
7064 (cd $(HOST_SUBDIR)/opcodes && \
7065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7067 "RANLIB=$${RANLIB}" \
7068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7069 installcheck) \
7070 || exit 1
7072 @endif opcodes
7074 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
7075 maybe-mostlyclean-opcodes:
7076 @if opcodes
7077 maybe-mostlyclean-opcodes: mostlyclean-opcodes
7079 mostlyclean-opcodes:
7080 @[ -f ./opcodes/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing mostlyclean in opcodes" ; \
7088 (cd $(HOST_SUBDIR)/opcodes && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7093 mostlyclean) \
7094 || exit 1
7096 @endif opcodes
7098 .PHONY: maybe-clean-opcodes clean-opcodes
7099 maybe-clean-opcodes:
7100 @if opcodes
7101 maybe-clean-opcodes: clean-opcodes
7103 clean-opcodes:
7104 @[ -f ./opcodes/Makefile ] || exit 0; \
7105 r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(HOST_EXPORTS) \
7108 for flag in $(EXTRA_HOST_FLAGS) ; do \
7109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7110 done; \
7111 echo "Doing clean in opcodes" ; \
7112 (cd $(HOST_SUBDIR)/opcodes && \
7113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7115 "RANLIB=$${RANLIB}" \
7116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7117 clean) \
7118 || exit 1
7120 @endif opcodes
7122 .PHONY: maybe-distclean-opcodes distclean-opcodes
7123 maybe-distclean-opcodes:
7124 @if opcodes
7125 maybe-distclean-opcodes: distclean-opcodes
7127 distclean-opcodes:
7128 @[ -f ./opcodes/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(HOST_EXPORTS) \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7134 done; \
7135 echo "Doing distclean in opcodes" ; \
7136 (cd $(HOST_SUBDIR)/opcodes && \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7141 distclean) \
7142 || exit 1
7144 @endif opcodes
7146 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
7147 maybe-maintainer-clean-opcodes:
7148 @if opcodes
7149 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
7151 maintainer-clean-opcodes:
7152 @[ -f ./opcodes/Makefile ] || exit 0; \
7153 r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 for flag in $(EXTRA_HOST_FLAGS) ; do \
7157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7158 done; \
7159 echo "Doing maintainer-clean in opcodes" ; \
7160 (cd $(HOST_SUBDIR)/opcodes && \
7161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7163 "RANLIB=$${RANLIB}" \
7164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7165 maintainer-clean) \
7166 || exit 1
7168 @endif opcodes
7172 .PHONY: configure-binutils maybe-configure-binutils
7173 maybe-configure-binutils:
7174 @if gcc-bootstrap
7175 configure-binutils: stage_current
7176 @endif gcc-bootstrap
7177 @if binutils
7178 maybe-configure-binutils: configure-binutils
7179 configure-binutils:
7180 @r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7182 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7184 $(HOST_EXPORTS) \
7185 echo Configuring in $(HOST_SUBDIR)/binutils; \
7186 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
7187 case $(srcdir) in \
7188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7189 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7191 esac; \
7192 srcdiroption="--srcdir=$${topdir}/binutils"; \
7193 libsrcdir="$$s/binutils"; \
7194 $(SHELL) $${libsrcdir}/configure \
7195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7196 --target=${target_alias} $${srcdiroption} \
7197 || exit 1
7198 @endif binutils
7202 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
7203 maybe-configure-stage1-binutils:
7204 @if binutils-bootstrap
7205 maybe-configure-stage1-binutils: configure-stage1-binutils
7206 configure-stage1-binutils:
7207 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7209 @r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 TFLAGS="$(STAGE1_TFLAGS)"; \
7212 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7213 $(HOST_EXPORTS) \
7214 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7215 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7216 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7217 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
7218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7219 cd $(HOST_SUBDIR)/binutils || exit 1; \
7220 case $(srcdir) in \
7221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7222 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7224 esac; \
7225 srcdiroption="--srcdir=$${topdir}/binutils"; \
7226 libsrcdir="$$s/binutils"; \
7227 $(SHELL) $${libsrcdir}/configure \
7228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7229 --target=${target_alias} $${srcdiroption} \
7230 $(STAGE1_CONFIGURE_FLAGS)
7231 @endif binutils-bootstrap
7233 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
7234 maybe-configure-stage2-binutils:
7235 @if binutils-bootstrap
7236 maybe-configure-stage2-binutils: configure-stage2-binutils
7237 configure-stage2-binutils:
7238 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7240 @r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 TFLAGS="$(STAGE2_TFLAGS)"; \
7243 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7244 $(HOST_EXPORTS) \
7245 $(POSTSTAGE1_HOST_EXPORTS) \
7246 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7247 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7248 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7249 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
7250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7251 cd $(HOST_SUBDIR)/binutils || exit 1; \
7252 case $(srcdir) in \
7253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7254 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7256 esac; \
7257 srcdiroption="--srcdir=$${topdir}/binutils"; \
7258 libsrcdir="$$s/binutils"; \
7259 $(SHELL) $${libsrcdir}/configure \
7260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7261 --target=${target_alias} $${srcdiroption} \
7262 --with-build-libsubdir=$(HOST_SUBDIR) \
7263 $(STAGE2_CONFIGURE_FLAGS)
7264 @endif binutils-bootstrap
7266 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
7267 maybe-configure-stage3-binutils:
7268 @if binutils-bootstrap
7269 maybe-configure-stage3-binutils: configure-stage3-binutils
7270 configure-stage3-binutils:
7271 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7273 @r=`${PWD_COMMAND}`; export r; \
7274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7275 TFLAGS="$(STAGE3_TFLAGS)"; \
7276 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7277 $(HOST_EXPORTS) \
7278 $(POSTSTAGE1_HOST_EXPORTS) \
7279 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7280 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7281 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7282 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
7283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7284 cd $(HOST_SUBDIR)/binutils || exit 1; \
7285 case $(srcdir) in \
7286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7287 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7289 esac; \
7290 srcdiroption="--srcdir=$${topdir}/binutils"; \
7291 libsrcdir="$$s/binutils"; \
7292 $(SHELL) $${libsrcdir}/configure \
7293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7294 --target=${target_alias} $${srcdiroption} \
7295 --with-build-libsubdir=$(HOST_SUBDIR) \
7296 $(STAGE3_CONFIGURE_FLAGS)
7297 @endif binutils-bootstrap
7299 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
7300 maybe-configure-stage4-binutils:
7301 @if binutils-bootstrap
7302 maybe-configure-stage4-binutils: configure-stage4-binutils
7303 configure-stage4-binutils:
7304 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7305 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7306 @r=`${PWD_COMMAND}`; export r; \
7307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 TFLAGS="$(STAGE4_TFLAGS)"; \
7309 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7310 $(HOST_EXPORTS) \
7311 $(POSTSTAGE1_HOST_EXPORTS) \
7312 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7313 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7314 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7315 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
7316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7317 cd $(HOST_SUBDIR)/binutils || exit 1; \
7318 case $(srcdir) in \
7319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7320 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7322 esac; \
7323 srcdiroption="--srcdir=$${topdir}/binutils"; \
7324 libsrcdir="$$s/binutils"; \
7325 $(SHELL) $${libsrcdir}/configure \
7326 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7327 --target=${target_alias} $${srcdiroption} \
7328 --with-build-libsubdir=$(HOST_SUBDIR) \
7329 $(STAGE4_CONFIGURE_FLAGS)
7330 @endif binutils-bootstrap
7332 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
7333 maybe-configure-stageprofile-binutils:
7334 @if binutils-bootstrap
7335 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
7336 configure-stageprofile-binutils:
7337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7339 @r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7341 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7342 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7343 $(HOST_EXPORTS) \
7344 $(POSTSTAGE1_HOST_EXPORTS) \
7345 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
7346 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
7347 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
7348 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
7349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7350 cd $(HOST_SUBDIR)/binutils || exit 1; \
7351 case $(srcdir) in \
7352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7353 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7355 esac; \
7356 srcdiroption="--srcdir=$${topdir}/binutils"; \
7357 libsrcdir="$$s/binutils"; \
7358 $(SHELL) $${libsrcdir}/configure \
7359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7360 --target=${target_alias} $${srcdiroption} \
7361 --with-build-libsubdir=$(HOST_SUBDIR) \
7362 $(STAGEprofile_CONFIGURE_FLAGS)
7363 @endif binutils-bootstrap
7365 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
7366 maybe-configure-stagefeedback-binutils:
7367 @if binutils-bootstrap
7368 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
7369 configure-stagefeedback-binutils:
7370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7372 @r=`${PWD_COMMAND}`; export r; \
7373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7374 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
7375 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7376 $(HOST_EXPORTS) \
7377 $(POSTSTAGE1_HOST_EXPORTS) \
7378 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
7379 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
7380 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
7381 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
7382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7383 cd $(HOST_SUBDIR)/binutils || exit 1; \
7384 case $(srcdir) in \
7385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7386 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7388 esac; \
7389 srcdiroption="--srcdir=$${topdir}/binutils"; \
7390 libsrcdir="$$s/binutils"; \
7391 $(SHELL) $${libsrcdir}/configure \
7392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7393 --target=${target_alias} $${srcdiroption} \
7394 --with-build-libsubdir=$(HOST_SUBDIR) \
7395 $(STAGEfeedback_CONFIGURE_FLAGS)
7396 @endif binutils-bootstrap
7402 .PHONY: all-binutils maybe-all-binutils
7403 maybe-all-binutils:
7404 @if gcc-bootstrap
7405 all-binutils: stage_current
7406 @endif gcc-bootstrap
7407 @if binutils
7408 TARGET-binutils=all
7409 maybe-all-binutils: all-binutils
7410 all-binutils: configure-binutils
7411 @r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 $(HOST_EXPORTS) \
7414 (cd $(HOST_SUBDIR)/binutils && \
7415 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7416 $(TARGET-binutils))
7417 @endif binutils
7421 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
7422 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
7423 maybe-all-stage1-binutils:
7424 maybe-clean-stage1-binutils:
7425 @if binutils-bootstrap
7426 maybe-all-stage1-binutils: all-stage1-binutils
7427 all-stage1: all-stage1-binutils
7428 TARGET-stage1-binutils = $(TARGET-binutils)
7429 all-stage1-binutils: configure-stage1-binutils
7430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7431 @r=`${PWD_COMMAND}`; export r; \
7432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 TFLAGS="$(STAGE1_TFLAGS)"; \
7434 $(HOST_EXPORTS) \
7435 cd $(HOST_SUBDIR)/binutils && \
7436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7437 CFLAGS="$(STAGE1_CFLAGS)" \
7438 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
7439 LIBCFLAGS="$(LIBCFLAGS)" \
7440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7443 $(EXTRA_HOST_FLAGS) \
7444 TFLAGS="$(STAGE1_TFLAGS)" \
7445 $(TARGET-stage1-binutils)
7447 maybe-clean-stage1-binutils: clean-stage1-binutils
7448 clean-stage1: clean-stage1-binutils
7449 clean-stage1-binutils:
7450 @if [ $(current_stage) = stage1 ]; then \
7451 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7452 else \
7453 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7454 $(MAKE) stage1-start; \
7455 fi; \
7456 cd $(HOST_SUBDIR)/binutils && \
7457 $(MAKE) $(EXTRA_HOST_FLAGS) \
7458 clean
7459 @endif binutils-bootstrap
7462 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7463 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7464 maybe-all-stage2-binutils:
7465 maybe-clean-stage2-binutils:
7466 @if binutils-bootstrap
7467 maybe-all-stage2-binutils: all-stage2-binutils
7468 all-stage2: all-stage2-binutils
7469 TARGET-stage2-binutils = $(TARGET-binutils)
7470 all-stage2-binutils: configure-stage2-binutils
7471 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7472 @r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 TFLAGS="$(STAGE2_TFLAGS)"; \
7475 $(HOST_EXPORTS) \
7476 $(POSTSTAGE1_HOST_EXPORTS) \
7477 cd $(HOST_SUBDIR)/binutils && \
7478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7479 CFLAGS="$(STAGE2_CFLAGS)" \
7480 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
7481 LIBCFLAGS="$(STAGE2_CFLAGS)" \
7482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7486 TFLAGS="$(STAGE2_TFLAGS)" \
7487 $(TARGET-stage2-binutils)
7489 maybe-clean-stage2-binutils: clean-stage2-binutils
7490 clean-stage2: clean-stage2-binutils
7491 clean-stage2-binutils:
7492 @if [ $(current_stage) = stage2 ]; then \
7493 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7494 else \
7495 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7496 $(MAKE) stage2-start; \
7497 fi; \
7498 cd $(HOST_SUBDIR)/binutils && \
7499 $(MAKE) $(EXTRA_HOST_FLAGS) \
7500 $(POSTSTAGE1_FLAGS_TO_PASS) \
7501 clean
7502 @endif binutils-bootstrap
7505 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7506 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7507 maybe-all-stage3-binutils:
7508 maybe-clean-stage3-binutils:
7509 @if binutils-bootstrap
7510 maybe-all-stage3-binutils: all-stage3-binutils
7511 all-stage3: all-stage3-binutils
7512 TARGET-stage3-binutils = $(TARGET-binutils)
7513 all-stage3-binutils: configure-stage3-binutils
7514 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7515 @r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517 TFLAGS="$(STAGE3_TFLAGS)"; \
7518 $(HOST_EXPORTS) \
7519 $(POSTSTAGE1_HOST_EXPORTS) \
7520 cd $(HOST_SUBDIR)/binutils && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7522 CFLAGS="$(STAGE3_CFLAGS)" \
7523 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
7524 LIBCFLAGS="$(STAGE3_CFLAGS)" \
7525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7529 TFLAGS="$(STAGE3_TFLAGS)" \
7530 $(TARGET-stage3-binutils)
7532 maybe-clean-stage3-binutils: clean-stage3-binutils
7533 clean-stage3: clean-stage3-binutils
7534 clean-stage3-binutils:
7535 @if [ $(current_stage) = stage3 ]; then \
7536 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7537 else \
7538 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7539 $(MAKE) stage3-start; \
7540 fi; \
7541 cd $(HOST_SUBDIR)/binutils && \
7542 $(MAKE) $(EXTRA_HOST_FLAGS) \
7543 $(POSTSTAGE1_FLAGS_TO_PASS) \
7544 clean
7545 @endif binutils-bootstrap
7548 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7549 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7550 maybe-all-stage4-binutils:
7551 maybe-clean-stage4-binutils:
7552 @if binutils-bootstrap
7553 maybe-all-stage4-binutils: all-stage4-binutils
7554 all-stage4: all-stage4-binutils
7555 TARGET-stage4-binutils = $(TARGET-binutils)
7556 all-stage4-binutils: configure-stage4-binutils
7557 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7558 @r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 TFLAGS="$(STAGE4_TFLAGS)"; \
7561 $(HOST_EXPORTS) \
7562 $(POSTSTAGE1_HOST_EXPORTS) \
7563 cd $(HOST_SUBDIR)/binutils && \
7564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7565 CFLAGS="$(STAGE4_CFLAGS)" \
7566 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
7567 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7572 TFLAGS="$(STAGE4_TFLAGS)" \
7573 $(TARGET-stage4-binutils)
7575 maybe-clean-stage4-binutils: clean-stage4-binutils
7576 clean-stage4: clean-stage4-binutils
7577 clean-stage4-binutils:
7578 @if [ $(current_stage) = stage4 ]; then \
7579 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7580 else \
7581 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7582 $(MAKE) stage4-start; \
7583 fi; \
7584 cd $(HOST_SUBDIR)/binutils && \
7585 $(MAKE) $(EXTRA_HOST_FLAGS) \
7586 $(POSTSTAGE1_FLAGS_TO_PASS) \
7587 clean
7588 @endif binutils-bootstrap
7591 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7592 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7593 maybe-all-stageprofile-binutils:
7594 maybe-clean-stageprofile-binutils:
7595 @if binutils-bootstrap
7596 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7597 all-stageprofile: all-stageprofile-binutils
7598 TARGET-stageprofile-binutils = $(TARGET-binutils)
7599 all-stageprofile-binutils: configure-stageprofile-binutils
7600 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7601 @r=`${PWD_COMMAND}`; export r; \
7602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7604 $(HOST_EXPORTS) \
7605 $(POSTSTAGE1_HOST_EXPORTS) \
7606 cd $(HOST_SUBDIR)/binutils && \
7607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7608 CFLAGS="$(STAGEprofile_CFLAGS)" \
7609 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
7610 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
7611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7615 TFLAGS="$(STAGEprofile_TFLAGS)" \
7616 $(TARGET-stageprofile-binutils)
7618 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7619 clean-stageprofile: clean-stageprofile-binutils
7620 clean-stageprofile-binutils:
7621 @if [ $(current_stage) = stageprofile ]; then \
7622 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7623 else \
7624 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7625 $(MAKE) stageprofile-start; \
7626 fi; \
7627 cd $(HOST_SUBDIR)/binutils && \
7628 $(MAKE) $(EXTRA_HOST_FLAGS) \
7629 $(POSTSTAGE1_FLAGS_TO_PASS) \
7630 clean
7631 @endif binutils-bootstrap
7634 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7635 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7636 maybe-all-stagefeedback-binutils:
7637 maybe-clean-stagefeedback-binutils:
7638 @if binutils-bootstrap
7639 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7640 all-stagefeedback: all-stagefeedback-binutils
7641 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7642 all-stagefeedback-binutils: configure-stagefeedback-binutils
7643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7644 @r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
7647 $(HOST_EXPORTS) \
7648 $(POSTSTAGE1_HOST_EXPORTS) \
7649 cd $(HOST_SUBDIR)/binutils && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7651 CFLAGS="$(STAGEfeedback_CFLAGS)" \
7652 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
7653 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
7654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7657 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7658 TFLAGS="$(STAGEfeedback_TFLAGS)" \
7659 $(TARGET-stagefeedback-binutils)
7661 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7662 clean-stagefeedback: clean-stagefeedback-binutils
7663 clean-stagefeedback-binutils:
7664 @if [ $(current_stage) = stagefeedback ]; then \
7665 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7666 else \
7667 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7668 $(MAKE) stagefeedback-start; \
7669 fi; \
7670 cd $(HOST_SUBDIR)/binutils && \
7671 $(MAKE) $(EXTRA_HOST_FLAGS) \
7672 $(POSTSTAGE1_FLAGS_TO_PASS) \
7673 clean
7674 @endif binutils-bootstrap
7680 .PHONY: check-binutils maybe-check-binutils
7681 maybe-check-binutils:
7682 @if binutils
7683 maybe-check-binutils: check-binutils
7685 check-binutils:
7686 @: $(MAKE); $(unstage)
7687 @r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689 $(HOST_EXPORTS) \
7690 (cd $(HOST_SUBDIR)/binutils && \
7691 $(MAKE) $(FLAGS_TO_PASS) check)
7693 @endif binutils
7695 .PHONY: install-binutils maybe-install-binutils
7696 maybe-install-binutils:
7697 @if binutils
7698 maybe-install-binutils: install-binutils
7700 install-binutils: installdirs
7701 @: $(MAKE); $(unstage)
7702 @r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 (cd $(HOST_SUBDIR)/binutils && \
7706 $(MAKE) $(FLAGS_TO_PASS) install)
7708 @endif binutils
7710 .PHONY: install-strip-binutils maybe-install-strip-binutils
7711 maybe-install-strip-binutils:
7712 @if binutils
7713 maybe-install-strip-binutils: install-strip-binutils
7715 install-strip-binutils: installdirs
7716 @: $(MAKE); $(unstage)
7717 @r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(HOST_EXPORTS) \
7720 (cd $(HOST_SUBDIR)/binutils && \
7721 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7723 @endif binutils
7725 # Other targets (info, dvi, pdf, etc.)
7727 .PHONY: maybe-info-binutils info-binutils
7728 maybe-info-binutils:
7729 @if binutils
7730 maybe-info-binutils: info-binutils
7732 info-binutils: \
7733 configure-binutils
7734 @[ -f ./binutils/Makefile ] || exit 0; \
7735 r=`${PWD_COMMAND}`; export r; \
7736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7737 $(HOST_EXPORTS) \
7738 for flag in $(EXTRA_HOST_FLAGS) ; do \
7739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7740 done; \
7741 echo "Doing info in binutils" ; \
7742 (cd $(HOST_SUBDIR)/binutils && \
7743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7745 "RANLIB=$${RANLIB}" \
7746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7747 info) \
7748 || exit 1
7750 @endif binutils
7752 .PHONY: maybe-dvi-binutils dvi-binutils
7753 maybe-dvi-binutils:
7754 @if binutils
7755 maybe-dvi-binutils: dvi-binutils
7757 dvi-binutils: \
7758 configure-binutils
7759 @[ -f ./binutils/Makefile ] || exit 0; \
7760 r=`${PWD_COMMAND}`; export r; \
7761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7762 $(HOST_EXPORTS) \
7763 for flag in $(EXTRA_HOST_FLAGS) ; do \
7764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765 done; \
7766 echo "Doing dvi in binutils" ; \
7767 (cd $(HOST_SUBDIR)/binutils && \
7768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770 "RANLIB=$${RANLIB}" \
7771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7772 dvi) \
7773 || exit 1
7775 @endif binutils
7777 .PHONY: maybe-pdf-binutils pdf-binutils
7778 maybe-pdf-binutils:
7779 @if binutils
7780 maybe-pdf-binutils: pdf-binutils
7782 pdf-binutils: \
7783 configure-binutils
7784 @[ -f ./binutils/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(HOST_EXPORTS) \
7788 for flag in $(EXTRA_HOST_FLAGS) ; do \
7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7790 done; \
7791 echo "Doing pdf in binutils" ; \
7792 (cd $(HOST_SUBDIR)/binutils && \
7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795 "RANLIB=$${RANLIB}" \
7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7797 pdf) \
7798 || exit 1
7800 @endif binutils
7802 .PHONY: maybe-html-binutils html-binutils
7803 maybe-html-binutils:
7804 @if binutils
7805 maybe-html-binutils: html-binutils
7807 html-binutils: \
7808 configure-binutils
7809 @[ -f ./binutils/Makefile ] || exit 0; \
7810 r=`${PWD_COMMAND}`; export r; \
7811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 $(HOST_EXPORTS) \
7813 for flag in $(EXTRA_HOST_FLAGS) ; do \
7814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7815 done; \
7816 echo "Doing html in binutils" ; \
7817 (cd $(HOST_SUBDIR)/binutils && \
7818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7820 "RANLIB=$${RANLIB}" \
7821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7822 html) \
7823 || exit 1
7825 @endif binutils
7827 .PHONY: maybe-TAGS-binutils TAGS-binutils
7828 maybe-TAGS-binutils:
7829 @if binutils
7830 maybe-TAGS-binutils: TAGS-binutils
7832 TAGS-binutils: \
7833 configure-binutils
7834 @[ -f ./binutils/Makefile ] || exit 0; \
7835 r=`${PWD_COMMAND}`; export r; \
7836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7837 $(HOST_EXPORTS) \
7838 for flag in $(EXTRA_HOST_FLAGS) ; do \
7839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7840 done; \
7841 echo "Doing TAGS in binutils" ; \
7842 (cd $(HOST_SUBDIR)/binutils && \
7843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7845 "RANLIB=$${RANLIB}" \
7846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7847 TAGS) \
7848 || exit 1
7850 @endif binutils
7852 .PHONY: maybe-install-info-binutils install-info-binutils
7853 maybe-install-info-binutils:
7854 @if binutils
7855 maybe-install-info-binutils: install-info-binutils
7857 install-info-binutils: \
7858 configure-binutils \
7859 info-binutils
7860 @[ -f ./binutils/Makefile ] || exit 0; \
7861 r=`${PWD_COMMAND}`; export r; \
7862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7863 $(HOST_EXPORTS) \
7864 for flag in $(EXTRA_HOST_FLAGS) ; do \
7865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7866 done; \
7867 echo "Doing install-info in binutils" ; \
7868 (cd $(HOST_SUBDIR)/binutils && \
7869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7871 "RANLIB=$${RANLIB}" \
7872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7873 install-info) \
7874 || exit 1
7876 @endif binutils
7878 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7879 maybe-install-pdf-binutils:
7880 @if binutils
7881 maybe-install-pdf-binutils: install-pdf-binutils
7883 install-pdf-binutils: \
7884 configure-binutils \
7885 pdf-binutils
7886 @[ -f ./binutils/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing install-pdf in binutils" ; \
7894 (cd $(HOST_SUBDIR)/binutils && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7899 install-pdf) \
7900 || exit 1
7902 @endif binutils
7904 .PHONY: maybe-install-html-binutils install-html-binutils
7905 maybe-install-html-binutils:
7906 @if binutils
7907 maybe-install-html-binutils: install-html-binutils
7909 install-html-binutils: \
7910 configure-binutils \
7911 html-binutils
7912 @[ -f ./binutils/Makefile ] || exit 0; \
7913 r=`${PWD_COMMAND}`; export r; \
7914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 $(HOST_EXPORTS) \
7916 for flag in $(EXTRA_HOST_FLAGS) ; do \
7917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918 done; \
7919 echo "Doing install-html in binutils" ; \
7920 (cd $(HOST_SUBDIR)/binutils && \
7921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923 "RANLIB=$${RANLIB}" \
7924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7925 install-html) \
7926 || exit 1
7928 @endif binutils
7930 .PHONY: maybe-installcheck-binutils installcheck-binutils
7931 maybe-installcheck-binutils:
7932 @if binutils
7933 maybe-installcheck-binutils: installcheck-binutils
7935 installcheck-binutils: \
7936 configure-binutils
7937 @[ -f ./binutils/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 done; \
7944 echo "Doing installcheck in binutils" ; \
7945 (cd $(HOST_SUBDIR)/binutils && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7950 installcheck) \
7951 || exit 1
7953 @endif binutils
7955 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7956 maybe-mostlyclean-binutils:
7957 @if binutils
7958 maybe-mostlyclean-binutils: mostlyclean-binutils
7960 mostlyclean-binutils:
7961 @[ -f ./binutils/Makefile ] || exit 0; \
7962 r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing mostlyclean in binutils" ; \
7969 (cd $(HOST_SUBDIR)/binutils && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7974 mostlyclean) \
7975 || exit 1
7977 @endif binutils
7979 .PHONY: maybe-clean-binutils clean-binutils
7980 maybe-clean-binutils:
7981 @if binutils
7982 maybe-clean-binutils: clean-binutils
7984 clean-binutils:
7985 @[ -f ./binutils/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing clean in binutils" ; \
7993 (cd $(HOST_SUBDIR)/binutils && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7998 clean) \
7999 || exit 1
8001 @endif binutils
8003 .PHONY: maybe-distclean-binutils distclean-binutils
8004 maybe-distclean-binutils:
8005 @if binutils
8006 maybe-distclean-binutils: distclean-binutils
8008 distclean-binutils:
8009 @[ -f ./binutils/Makefile ] || exit 0; \
8010 r=`${PWD_COMMAND}`; export r; \
8011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8012 $(HOST_EXPORTS) \
8013 for flag in $(EXTRA_HOST_FLAGS) ; do \
8014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8015 done; \
8016 echo "Doing distclean in binutils" ; \
8017 (cd $(HOST_SUBDIR)/binutils && \
8018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8020 "RANLIB=$${RANLIB}" \
8021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8022 distclean) \
8023 || exit 1
8025 @endif binutils
8027 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
8028 maybe-maintainer-clean-binutils:
8029 @if binutils
8030 maybe-maintainer-clean-binutils: maintainer-clean-binutils
8032 maintainer-clean-binutils:
8033 @[ -f ./binutils/Makefile ] || exit 0; \
8034 r=`${PWD_COMMAND}`; export r; \
8035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8036 $(HOST_EXPORTS) \
8037 for flag in $(EXTRA_HOST_FLAGS) ; do \
8038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8039 done; \
8040 echo "Doing maintainer-clean in binutils" ; \
8041 (cd $(HOST_SUBDIR)/binutils && \
8042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8044 "RANLIB=$${RANLIB}" \
8045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8046 maintainer-clean) \
8047 || exit 1
8049 @endif binutils
8053 .PHONY: configure-bison maybe-configure-bison
8054 maybe-configure-bison:
8055 @if gcc-bootstrap
8056 configure-bison: stage_current
8057 @endif gcc-bootstrap
8058 @if bison
8059 maybe-configure-bison: configure-bison
8060 configure-bison:
8061 @: $(MAKE); $(unstage)
8062 @r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
8065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
8066 $(HOST_EXPORTS) \
8067 echo Configuring in $(HOST_SUBDIR)/bison; \
8068 cd "$(HOST_SUBDIR)/bison" || exit 1; \
8069 case $(srcdir) in \
8070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8071 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
8072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8073 esac; \
8074 srcdiroption="--srcdir=$${topdir}/bison"; \
8075 libsrcdir="$$s/bison"; \
8076 $(SHELL) $${libsrcdir}/configure \
8077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8078 --target=${target_alias} $${srcdiroption} \
8079 || exit 1
8080 @endif bison
8086 .PHONY: all-bison maybe-all-bison
8087 maybe-all-bison:
8088 @if gcc-bootstrap
8089 all-bison: stage_current
8090 @endif gcc-bootstrap
8091 @if bison
8092 TARGET-bison=all
8093 maybe-all-bison: all-bison
8094 all-bison: configure-bison
8095 @: $(MAKE); $(unstage)
8096 @r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(HOST_EXPORTS) \
8099 (cd $(HOST_SUBDIR)/bison && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8101 $(TARGET-bison))
8102 @endif bison
8107 .PHONY: check-bison maybe-check-bison
8108 maybe-check-bison:
8109 @if bison
8110 maybe-check-bison: check-bison
8112 # This module is only tested in a native toolchain.
8113 check-bison:
8114 @: $(MAKE); $(unstage)
8115 @if [ '$(host)' = '$(target)' ] ; then \
8116 r=`${PWD_COMMAND}`; export r; \
8117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8118 $(HOST_EXPORTS) \
8119 (cd $(HOST_SUBDIR)/bison && \
8120 $(MAKE) $(FLAGS_TO_PASS) check); \
8123 @endif bison
8125 .PHONY: install-bison maybe-install-bison
8126 maybe-install-bison:
8127 @if bison
8128 maybe-install-bison: install-bison
8130 install-bison: installdirs
8131 @: $(MAKE); $(unstage)
8132 @r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 $(HOST_EXPORTS) \
8135 (cd $(HOST_SUBDIR)/bison && \
8136 $(MAKE) $(FLAGS_TO_PASS) install)
8138 @endif bison
8140 .PHONY: install-strip-bison maybe-install-strip-bison
8141 maybe-install-strip-bison:
8142 @if bison
8143 maybe-install-strip-bison: install-strip-bison
8145 install-strip-bison: installdirs
8146 @: $(MAKE); $(unstage)
8147 @r=`${PWD_COMMAND}`; export r; \
8148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 $(HOST_EXPORTS) \
8150 (cd $(HOST_SUBDIR)/bison && \
8151 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8153 @endif bison
8155 # Other targets (info, dvi, pdf, etc.)
8157 .PHONY: maybe-info-bison info-bison
8158 maybe-info-bison:
8159 @if bison
8160 maybe-info-bison: info-bison
8162 info-bison: \
8163 configure-bison
8164 @: $(MAKE); $(unstage)
8165 @[ -f ./bison/Makefile ] || exit 0; \
8166 r=`${PWD_COMMAND}`; export r; \
8167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8168 $(HOST_EXPORTS) \
8169 for flag in $(EXTRA_HOST_FLAGS) ; do \
8170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8171 done; \
8172 echo "Doing info in bison" ; \
8173 (cd $(HOST_SUBDIR)/bison && \
8174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8176 "RANLIB=$${RANLIB}" \
8177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8178 info) \
8179 || exit 1
8181 @endif bison
8183 .PHONY: maybe-dvi-bison dvi-bison
8184 maybe-dvi-bison:
8185 @if bison
8186 maybe-dvi-bison: dvi-bison
8188 dvi-bison: \
8189 configure-bison
8190 @: $(MAKE); $(unstage)
8191 @[ -f ./bison/Makefile ] || exit 0; \
8192 r=`${PWD_COMMAND}`; export r; \
8193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8194 $(HOST_EXPORTS) \
8195 for flag in $(EXTRA_HOST_FLAGS) ; do \
8196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8197 done; \
8198 echo "Doing dvi in bison" ; \
8199 (cd $(HOST_SUBDIR)/bison && \
8200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8202 "RANLIB=$${RANLIB}" \
8203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8204 dvi) \
8205 || exit 1
8207 @endif bison
8209 .PHONY: maybe-pdf-bison pdf-bison
8210 maybe-pdf-bison:
8211 @if bison
8212 maybe-pdf-bison: pdf-bison
8214 pdf-bison: \
8215 configure-bison
8216 @: $(MAKE); $(unstage)
8217 @[ -f ./bison/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing pdf in bison" ; \
8225 (cd $(HOST_SUBDIR)/bison && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8230 pdf) \
8231 || exit 1
8233 @endif bison
8235 .PHONY: maybe-html-bison html-bison
8236 maybe-html-bison:
8237 @if bison
8238 maybe-html-bison: html-bison
8240 html-bison: \
8241 configure-bison
8242 @: $(MAKE); $(unstage)
8243 @[ -f ./bison/Makefile ] || exit 0; \
8244 r=`${PWD_COMMAND}`; export r; \
8245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8246 $(HOST_EXPORTS) \
8247 for flag in $(EXTRA_HOST_FLAGS) ; do \
8248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8249 done; \
8250 echo "Doing html in bison" ; \
8251 (cd $(HOST_SUBDIR)/bison && \
8252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8254 "RANLIB=$${RANLIB}" \
8255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8256 html) \
8257 || exit 1
8259 @endif bison
8261 .PHONY: maybe-TAGS-bison TAGS-bison
8262 maybe-TAGS-bison:
8263 @if bison
8264 maybe-TAGS-bison: TAGS-bison
8266 TAGS-bison: \
8267 configure-bison
8268 @: $(MAKE); $(unstage)
8269 @[ -f ./bison/Makefile ] || exit 0; \
8270 r=`${PWD_COMMAND}`; export r; \
8271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8272 $(HOST_EXPORTS) \
8273 for flag in $(EXTRA_HOST_FLAGS) ; do \
8274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8275 done; \
8276 echo "Doing TAGS in bison" ; \
8277 (cd $(HOST_SUBDIR)/bison && \
8278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8280 "RANLIB=$${RANLIB}" \
8281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8282 TAGS) \
8283 || exit 1
8285 @endif bison
8287 .PHONY: maybe-install-info-bison install-info-bison
8288 maybe-install-info-bison:
8289 @if bison
8290 maybe-install-info-bison: install-info-bison
8292 install-info-bison: \
8293 configure-bison \
8294 info-bison
8295 @: $(MAKE); $(unstage)
8296 @[ -f ./bison/Makefile ] || exit 0; \
8297 r=`${PWD_COMMAND}`; export r; \
8298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8299 $(HOST_EXPORTS) \
8300 for flag in $(EXTRA_HOST_FLAGS) ; do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8302 done; \
8303 echo "Doing install-info in bison" ; \
8304 (cd $(HOST_SUBDIR)/bison && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8309 install-info) \
8310 || exit 1
8312 @endif bison
8314 .PHONY: maybe-install-pdf-bison install-pdf-bison
8315 maybe-install-pdf-bison:
8316 @if bison
8317 maybe-install-pdf-bison: install-pdf-bison
8319 install-pdf-bison: \
8320 configure-bison \
8321 pdf-bison
8322 @: $(MAKE); $(unstage)
8323 @[ -f ./bison/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8326 $(HOST_EXPORTS) \
8327 for flag in $(EXTRA_HOST_FLAGS) ; do \
8328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8329 done; \
8330 echo "Doing install-pdf in bison" ; \
8331 (cd $(HOST_SUBDIR)/bison && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8334 "RANLIB=$${RANLIB}" \
8335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8336 install-pdf) \
8337 || exit 1
8339 @endif bison
8341 .PHONY: maybe-install-html-bison install-html-bison
8342 maybe-install-html-bison:
8343 @if bison
8344 maybe-install-html-bison: install-html-bison
8346 install-html-bison: \
8347 configure-bison \
8348 html-bison
8349 @: $(MAKE); $(unstage)
8350 @[ -f ./bison/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 $(HOST_EXPORTS) \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8356 done; \
8357 echo "Doing install-html in bison" ; \
8358 (cd $(HOST_SUBDIR)/bison && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8363 install-html) \
8364 || exit 1
8366 @endif bison
8368 .PHONY: maybe-installcheck-bison installcheck-bison
8369 maybe-installcheck-bison:
8370 @if bison
8371 maybe-installcheck-bison: installcheck-bison
8373 installcheck-bison: \
8374 configure-bison
8375 @: $(MAKE); $(unstage)
8376 @[ -f ./bison/Makefile ] || exit 0; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 $(HOST_EXPORTS) \
8380 for flag in $(EXTRA_HOST_FLAGS) ; do \
8381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8382 done; \
8383 echo "Doing installcheck in bison" ; \
8384 (cd $(HOST_SUBDIR)/bison && \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8387 "RANLIB=$${RANLIB}" \
8388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8389 installcheck) \
8390 || exit 1
8392 @endif bison
8394 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
8395 maybe-mostlyclean-bison:
8396 @if bison
8397 maybe-mostlyclean-bison: mostlyclean-bison
8399 mostlyclean-bison:
8400 @: $(MAKE); $(unstage)
8401 @[ -f ./bison/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS) ; do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing mostlyclean in bison" ; \
8409 (cd $(HOST_SUBDIR)/bison && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8414 mostlyclean) \
8415 || exit 1
8417 @endif bison
8419 .PHONY: maybe-clean-bison clean-bison
8420 maybe-clean-bison:
8421 @if bison
8422 maybe-clean-bison: clean-bison
8424 clean-bison:
8425 @: $(MAKE); $(unstage)
8426 @[ -f ./bison/Makefile ] || exit 0; \
8427 r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(HOST_EXPORTS) \
8430 for flag in $(EXTRA_HOST_FLAGS) ; do \
8431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8432 done; \
8433 echo "Doing clean in bison" ; \
8434 (cd $(HOST_SUBDIR)/bison && \
8435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8437 "RANLIB=$${RANLIB}" \
8438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8439 clean) \
8440 || exit 1
8442 @endif bison
8444 .PHONY: maybe-distclean-bison distclean-bison
8445 maybe-distclean-bison:
8446 @if bison
8447 maybe-distclean-bison: distclean-bison
8449 distclean-bison:
8450 @: $(MAKE); $(unstage)
8451 @[ -f ./bison/Makefile ] || exit 0; \
8452 r=`${PWD_COMMAND}`; export r; \
8453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8454 $(HOST_EXPORTS) \
8455 for flag in $(EXTRA_HOST_FLAGS) ; do \
8456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 done; \
8458 echo "Doing distclean in bison" ; \
8459 (cd $(HOST_SUBDIR)/bison && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8462 "RANLIB=$${RANLIB}" \
8463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8464 distclean) \
8465 || exit 1
8467 @endif bison
8469 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8470 maybe-maintainer-clean-bison:
8471 @if bison
8472 maybe-maintainer-clean-bison: maintainer-clean-bison
8474 maintainer-clean-bison:
8475 @: $(MAKE); $(unstage)
8476 @[ -f ./bison/Makefile ] || exit 0; \
8477 r=`${PWD_COMMAND}`; export r; \
8478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8479 $(HOST_EXPORTS) \
8480 for flag in $(EXTRA_HOST_FLAGS) ; do \
8481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8482 done; \
8483 echo "Doing maintainer-clean in bison" ; \
8484 (cd $(HOST_SUBDIR)/bison && \
8485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8487 "RANLIB=$${RANLIB}" \
8488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8489 maintainer-clean) \
8490 || exit 1
8492 @endif bison
8496 .PHONY: configure-byacc maybe-configure-byacc
8497 maybe-configure-byacc:
8498 @if gcc-bootstrap
8499 configure-byacc: stage_current
8500 @endif gcc-bootstrap
8501 @if byacc
8502 maybe-configure-byacc: configure-byacc
8503 configure-byacc:
8504 @: $(MAKE); $(unstage)
8505 @r=`${PWD_COMMAND}`; export r; \
8506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8507 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8509 $(HOST_EXPORTS) \
8510 echo Configuring in $(HOST_SUBDIR)/byacc; \
8511 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8512 case $(srcdir) in \
8513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8514 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8516 esac; \
8517 srcdiroption="--srcdir=$${topdir}/byacc"; \
8518 libsrcdir="$$s/byacc"; \
8519 $(SHELL) $${libsrcdir}/configure \
8520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8521 --target=${target_alias} $${srcdiroption} \
8522 || exit 1
8523 @endif byacc
8529 .PHONY: all-byacc maybe-all-byacc
8530 maybe-all-byacc:
8531 @if gcc-bootstrap
8532 all-byacc: stage_current
8533 @endif gcc-bootstrap
8534 @if byacc
8535 TARGET-byacc=all
8536 maybe-all-byacc: all-byacc
8537 all-byacc: configure-byacc
8538 @: $(MAKE); $(unstage)
8539 @r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 (cd $(HOST_SUBDIR)/byacc && \
8543 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8544 $(TARGET-byacc))
8545 @endif byacc
8550 .PHONY: check-byacc maybe-check-byacc
8551 maybe-check-byacc:
8552 @if byacc
8553 maybe-check-byacc: check-byacc
8555 # This module is only tested in a native toolchain.
8556 check-byacc:
8557 @: $(MAKE); $(unstage)
8558 @if [ '$(host)' = '$(target)' ] ; then \
8559 r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 $(HOST_EXPORTS) \
8562 (cd $(HOST_SUBDIR)/byacc && \
8563 $(MAKE) $(FLAGS_TO_PASS) check); \
8566 @endif byacc
8568 .PHONY: install-byacc maybe-install-byacc
8569 maybe-install-byacc:
8570 @if byacc
8571 maybe-install-byacc: install-byacc
8573 install-byacc: installdirs
8574 @: $(MAKE); $(unstage)
8575 @r=`${PWD_COMMAND}`; export r; \
8576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 $(HOST_EXPORTS) \
8578 (cd $(HOST_SUBDIR)/byacc && \
8579 $(MAKE) $(FLAGS_TO_PASS) install)
8581 @endif byacc
8583 .PHONY: install-strip-byacc maybe-install-strip-byacc
8584 maybe-install-strip-byacc:
8585 @if byacc
8586 maybe-install-strip-byacc: install-strip-byacc
8588 install-strip-byacc: installdirs
8589 @: $(MAKE); $(unstage)
8590 @r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(HOST_EXPORTS) \
8593 (cd $(HOST_SUBDIR)/byacc && \
8594 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8596 @endif byacc
8598 # Other targets (info, dvi, pdf, etc.)
8600 .PHONY: maybe-info-byacc info-byacc
8601 maybe-info-byacc:
8602 @if byacc
8603 maybe-info-byacc: info-byacc
8605 info-byacc: \
8606 configure-byacc
8607 @: $(MAKE); $(unstage)
8608 @[ -f ./byacc/Makefile ] || exit 0; \
8609 r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(HOST_EXPORTS) \
8612 for flag in $(EXTRA_HOST_FLAGS) ; do \
8613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8614 done; \
8615 echo "Doing info in byacc" ; \
8616 (cd $(HOST_SUBDIR)/byacc && \
8617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8619 "RANLIB=$${RANLIB}" \
8620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8621 info) \
8622 || exit 1
8624 @endif byacc
8626 .PHONY: maybe-dvi-byacc dvi-byacc
8627 maybe-dvi-byacc:
8628 @if byacc
8629 maybe-dvi-byacc: dvi-byacc
8631 dvi-byacc: \
8632 configure-byacc
8633 @: $(MAKE); $(unstage)
8634 @[ -f ./byacc/Makefile ] || exit 0; \
8635 r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(HOST_EXPORTS) \
8638 for flag in $(EXTRA_HOST_FLAGS) ; do \
8639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8640 done; \
8641 echo "Doing dvi in byacc" ; \
8642 (cd $(HOST_SUBDIR)/byacc && \
8643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8645 "RANLIB=$${RANLIB}" \
8646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8647 dvi) \
8648 || exit 1
8650 @endif byacc
8652 .PHONY: maybe-pdf-byacc pdf-byacc
8653 maybe-pdf-byacc:
8654 @if byacc
8655 maybe-pdf-byacc: pdf-byacc
8657 pdf-byacc: \
8658 configure-byacc
8659 @: $(MAKE); $(unstage)
8660 @[ -f ./byacc/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8663 $(HOST_EXPORTS) \
8664 for flag in $(EXTRA_HOST_FLAGS) ; do \
8665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8666 done; \
8667 echo "Doing pdf in byacc" ; \
8668 (cd $(HOST_SUBDIR)/byacc && \
8669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8671 "RANLIB=$${RANLIB}" \
8672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8673 pdf) \
8674 || exit 1
8676 @endif byacc
8678 .PHONY: maybe-html-byacc html-byacc
8679 maybe-html-byacc:
8680 @if byacc
8681 maybe-html-byacc: html-byacc
8683 html-byacc: \
8684 configure-byacc
8685 @: $(MAKE); $(unstage)
8686 @[ -f ./byacc/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 $(HOST_EXPORTS) \
8690 for flag in $(EXTRA_HOST_FLAGS) ; do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing html in byacc" ; \
8694 (cd $(HOST_SUBDIR)/byacc && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8699 html) \
8700 || exit 1
8702 @endif byacc
8704 .PHONY: maybe-TAGS-byacc TAGS-byacc
8705 maybe-TAGS-byacc:
8706 @if byacc
8707 maybe-TAGS-byacc: TAGS-byacc
8709 TAGS-byacc: \
8710 configure-byacc
8711 @: $(MAKE); $(unstage)
8712 @[ -f ./byacc/Makefile ] || exit 0; \
8713 r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 $(HOST_EXPORTS) \
8716 for flag in $(EXTRA_HOST_FLAGS) ; do \
8717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8718 done; \
8719 echo "Doing TAGS in byacc" ; \
8720 (cd $(HOST_SUBDIR)/byacc && \
8721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8723 "RANLIB=$${RANLIB}" \
8724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8725 TAGS) \
8726 || exit 1
8728 @endif byacc
8730 .PHONY: maybe-install-info-byacc install-info-byacc
8731 maybe-install-info-byacc:
8732 @if byacc
8733 maybe-install-info-byacc: install-info-byacc
8735 install-info-byacc: \
8736 configure-byacc \
8737 info-byacc
8738 @: $(MAKE); $(unstage)
8739 @[ -f ./byacc/Makefile ] || exit 0; \
8740 r=`${PWD_COMMAND}`; export r; \
8741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8742 $(HOST_EXPORTS) \
8743 for flag in $(EXTRA_HOST_FLAGS) ; do \
8744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8745 done; \
8746 echo "Doing install-info in byacc" ; \
8747 (cd $(HOST_SUBDIR)/byacc && \
8748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8750 "RANLIB=$${RANLIB}" \
8751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8752 install-info) \
8753 || exit 1
8755 @endif byacc
8757 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8758 maybe-install-pdf-byacc:
8759 @if byacc
8760 maybe-install-pdf-byacc: install-pdf-byacc
8762 install-pdf-byacc: \
8763 configure-byacc \
8764 pdf-byacc
8765 @: $(MAKE); $(unstage)
8766 @[ -f ./byacc/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 install-pdf in byacc" ; \
8774 (cd $(HOST_SUBDIR)/byacc && \
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 install-pdf) \
8780 || exit 1
8782 @endif byacc
8784 .PHONY: maybe-install-html-byacc install-html-byacc
8785 maybe-install-html-byacc:
8786 @if byacc
8787 maybe-install-html-byacc: install-html-byacc
8789 install-html-byacc: \
8790 configure-byacc \
8791 html-byacc
8792 @: $(MAKE); $(unstage)
8793 @[ -f ./byacc/Makefile ] || exit 0; \
8794 r=`${PWD_COMMAND}`; export r; \
8795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8796 $(HOST_EXPORTS) \
8797 for flag in $(EXTRA_HOST_FLAGS) ; do \
8798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8799 done; \
8800 echo "Doing install-html in byacc" ; \
8801 (cd $(HOST_SUBDIR)/byacc && \
8802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8804 "RANLIB=$${RANLIB}" \
8805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8806 install-html) \
8807 || exit 1
8809 @endif byacc
8811 .PHONY: maybe-installcheck-byacc installcheck-byacc
8812 maybe-installcheck-byacc:
8813 @if byacc
8814 maybe-installcheck-byacc: installcheck-byacc
8816 installcheck-byacc: \
8817 configure-byacc
8818 @: $(MAKE); $(unstage)
8819 @[ -f ./byacc/Makefile ] || exit 0; \
8820 r=`${PWD_COMMAND}`; export r; \
8821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8822 $(HOST_EXPORTS) \
8823 for flag in $(EXTRA_HOST_FLAGS) ; do \
8824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8825 done; \
8826 echo "Doing installcheck in byacc" ; \
8827 (cd $(HOST_SUBDIR)/byacc && \
8828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8830 "RANLIB=$${RANLIB}" \
8831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8832 installcheck) \
8833 || exit 1
8835 @endif byacc
8837 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8838 maybe-mostlyclean-byacc:
8839 @if byacc
8840 maybe-mostlyclean-byacc: mostlyclean-byacc
8842 mostlyclean-byacc:
8843 @: $(MAKE); $(unstage)
8844 @[ -f ./byacc/Makefile ] || exit 0; \
8845 r=`${PWD_COMMAND}`; export r; \
8846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8847 $(HOST_EXPORTS) \
8848 for flag in $(EXTRA_HOST_FLAGS) ; do \
8849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8850 done; \
8851 echo "Doing mostlyclean in byacc" ; \
8852 (cd $(HOST_SUBDIR)/byacc && \
8853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855 "RANLIB=$${RANLIB}" \
8856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8857 mostlyclean) \
8858 || exit 1
8860 @endif byacc
8862 .PHONY: maybe-clean-byacc clean-byacc
8863 maybe-clean-byacc:
8864 @if byacc
8865 maybe-clean-byacc: clean-byacc
8867 clean-byacc:
8868 @: $(MAKE); $(unstage)
8869 @[ -f ./byacc/Makefile ] || exit 0; \
8870 r=`${PWD_COMMAND}`; export r; \
8871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8872 $(HOST_EXPORTS) \
8873 for flag in $(EXTRA_HOST_FLAGS) ; do \
8874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8875 done; \
8876 echo "Doing clean in byacc" ; \
8877 (cd $(HOST_SUBDIR)/byacc && \
8878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8880 "RANLIB=$${RANLIB}" \
8881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8882 clean) \
8883 || exit 1
8885 @endif byacc
8887 .PHONY: maybe-distclean-byacc distclean-byacc
8888 maybe-distclean-byacc:
8889 @if byacc
8890 maybe-distclean-byacc: distclean-byacc
8892 distclean-byacc:
8893 @: $(MAKE); $(unstage)
8894 @[ -f ./byacc/Makefile ] || exit 0; \
8895 r=`${PWD_COMMAND}`; export r; \
8896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8897 $(HOST_EXPORTS) \
8898 for flag in $(EXTRA_HOST_FLAGS) ; do \
8899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8900 done; \
8901 echo "Doing distclean in byacc" ; \
8902 (cd $(HOST_SUBDIR)/byacc && \
8903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8905 "RANLIB=$${RANLIB}" \
8906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8907 distclean) \
8908 || exit 1
8910 @endif byacc
8912 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8913 maybe-maintainer-clean-byacc:
8914 @if byacc
8915 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8917 maintainer-clean-byacc:
8918 @: $(MAKE); $(unstage)
8919 @[ -f ./byacc/Makefile ] || exit 0; \
8920 r=`${PWD_COMMAND}`; export r; \
8921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8922 $(HOST_EXPORTS) \
8923 for flag in $(EXTRA_HOST_FLAGS) ; do \
8924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8925 done; \
8926 echo "Doing maintainer-clean in byacc" ; \
8927 (cd $(HOST_SUBDIR)/byacc && \
8928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8930 "RANLIB=$${RANLIB}" \
8931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8932 maintainer-clean) \
8933 || exit 1
8935 @endif byacc
8939 .PHONY: configure-bzip2 maybe-configure-bzip2
8940 maybe-configure-bzip2:
8941 @if gcc-bootstrap
8942 configure-bzip2: stage_current
8943 @endif gcc-bootstrap
8944 @if bzip2
8945 maybe-configure-bzip2: configure-bzip2
8946 configure-bzip2:
8947 @: $(MAKE); $(unstage)
8948 @r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8952 $(HOST_EXPORTS) \
8953 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8954 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8955 case $(srcdir) in \
8956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8957 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8959 esac; \
8960 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8961 libsrcdir="$$s/bzip2"; \
8962 $(SHELL) $${libsrcdir}/configure \
8963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8964 --target=${target_alias} $${srcdiroption} \
8965 || exit 1
8966 @endif bzip2
8972 .PHONY: all-bzip2 maybe-all-bzip2
8973 maybe-all-bzip2:
8974 @if gcc-bootstrap
8975 all-bzip2: stage_current
8976 @endif gcc-bootstrap
8977 @if bzip2
8978 TARGET-bzip2=all
8979 maybe-all-bzip2: all-bzip2
8980 all-bzip2: configure-bzip2
8981 @: $(MAKE); $(unstage)
8982 @r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 $(HOST_EXPORTS) \
8985 (cd $(HOST_SUBDIR)/bzip2 && \
8986 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8987 $(TARGET-bzip2))
8988 @endif bzip2
8993 .PHONY: check-bzip2 maybe-check-bzip2
8994 maybe-check-bzip2:
8995 @if bzip2
8996 maybe-check-bzip2: check-bzip2
8998 check-bzip2:
8999 @: $(MAKE); $(unstage)
9000 @r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 $(HOST_EXPORTS) \
9003 (cd $(HOST_SUBDIR)/bzip2 && \
9004 $(MAKE) $(FLAGS_TO_PASS) check)
9006 @endif bzip2
9008 .PHONY: install-bzip2 maybe-install-bzip2
9009 maybe-install-bzip2:
9010 @if bzip2
9011 maybe-install-bzip2: install-bzip2
9013 install-bzip2: installdirs
9014 @: $(MAKE); $(unstage)
9015 @r=`${PWD_COMMAND}`; export r; \
9016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9017 $(HOST_EXPORTS) \
9018 (cd $(HOST_SUBDIR)/bzip2 && \
9019 $(MAKE) $(FLAGS_TO_PASS) install)
9021 @endif bzip2
9023 .PHONY: install-strip-bzip2 maybe-install-strip-bzip2
9024 maybe-install-strip-bzip2:
9025 @if bzip2
9026 maybe-install-strip-bzip2: install-strip-bzip2
9028 install-strip-bzip2: installdirs
9029 @: $(MAKE); $(unstage)
9030 @r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(HOST_EXPORTS) \
9033 (cd $(HOST_SUBDIR)/bzip2 && \
9034 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9036 @endif bzip2
9038 # Other targets (info, dvi, pdf, etc.)
9040 .PHONY: maybe-info-bzip2 info-bzip2
9041 maybe-info-bzip2:
9042 @if bzip2
9043 maybe-info-bzip2: info-bzip2
9045 info-bzip2: \
9046 configure-bzip2
9047 @: $(MAKE); $(unstage)
9048 @[ -f ./bzip2/Makefile ] || exit 0; \
9049 r=`${PWD_COMMAND}`; export r; \
9050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9051 $(HOST_EXPORTS) \
9052 for flag in $(EXTRA_HOST_FLAGS) ; do \
9053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9054 done; \
9055 echo "Doing info in bzip2" ; \
9056 (cd $(HOST_SUBDIR)/bzip2 && \
9057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9059 "RANLIB=$${RANLIB}" \
9060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9061 info) \
9062 || exit 1
9064 @endif bzip2
9066 .PHONY: maybe-dvi-bzip2 dvi-bzip2
9067 maybe-dvi-bzip2:
9068 @if bzip2
9069 maybe-dvi-bzip2: dvi-bzip2
9071 dvi-bzip2: \
9072 configure-bzip2
9073 @: $(MAKE); $(unstage)
9074 @[ -f ./bzip2/Makefile ] || exit 0; \
9075 r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077 $(HOST_EXPORTS) \
9078 for flag in $(EXTRA_HOST_FLAGS) ; do \
9079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9080 done; \
9081 echo "Doing dvi in bzip2" ; \
9082 (cd $(HOST_SUBDIR)/bzip2 && \
9083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9085 "RANLIB=$${RANLIB}" \
9086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9087 dvi) \
9088 || exit 1
9090 @endif bzip2
9092 .PHONY: maybe-pdf-bzip2 pdf-bzip2
9093 maybe-pdf-bzip2:
9094 @if bzip2
9095 maybe-pdf-bzip2: pdf-bzip2
9097 pdf-bzip2: \
9098 configure-bzip2
9099 @: $(MAKE); $(unstage)
9100 @[ -f ./bzip2/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103 $(HOST_EXPORTS) \
9104 for flag in $(EXTRA_HOST_FLAGS) ; do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106 done; \
9107 echo "Doing pdf in bzip2" ; \
9108 (cd $(HOST_SUBDIR)/bzip2 && \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9113 pdf) \
9114 || exit 1
9116 @endif bzip2
9118 .PHONY: maybe-html-bzip2 html-bzip2
9119 maybe-html-bzip2:
9120 @if bzip2
9121 maybe-html-bzip2: html-bzip2
9123 html-bzip2: \
9124 configure-bzip2
9125 @: $(MAKE); $(unstage)
9126 @[ -f ./bzip2/Makefile ] || exit 0; \
9127 r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 $(HOST_EXPORTS) \
9130 for flag in $(EXTRA_HOST_FLAGS) ; do \
9131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132 done; \
9133 echo "Doing html in bzip2" ; \
9134 (cd $(HOST_SUBDIR)/bzip2 && \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9137 "RANLIB=$${RANLIB}" \
9138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9139 html) \
9140 || exit 1
9142 @endif bzip2
9144 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
9145 maybe-TAGS-bzip2:
9146 @if bzip2
9147 maybe-TAGS-bzip2: TAGS-bzip2
9149 TAGS-bzip2: \
9150 configure-bzip2
9151 @: $(MAKE); $(unstage)
9152 @[ -f ./bzip2/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 $(HOST_EXPORTS) \
9156 for flag in $(EXTRA_HOST_FLAGS) ; do \
9157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9158 done; \
9159 echo "Doing TAGS in bzip2" ; \
9160 (cd $(HOST_SUBDIR)/bzip2 && \
9161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9163 "RANLIB=$${RANLIB}" \
9164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9165 TAGS) \
9166 || exit 1
9168 @endif bzip2
9170 .PHONY: maybe-install-info-bzip2 install-info-bzip2
9171 maybe-install-info-bzip2:
9172 @if bzip2
9173 maybe-install-info-bzip2: install-info-bzip2
9175 install-info-bzip2: \
9176 configure-bzip2 \
9177 info-bzip2
9178 @: $(MAKE); $(unstage)
9179 @[ -f ./bzip2/Makefile ] || exit 0; \
9180 r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(HOST_EXPORTS) \
9183 for flag in $(EXTRA_HOST_FLAGS) ; do \
9184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9185 done; \
9186 echo "Doing install-info in bzip2" ; \
9187 (cd $(HOST_SUBDIR)/bzip2 && \
9188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9190 "RANLIB=$${RANLIB}" \
9191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9192 install-info) \
9193 || exit 1
9195 @endif bzip2
9197 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
9198 maybe-install-pdf-bzip2:
9199 @if bzip2
9200 maybe-install-pdf-bzip2: install-pdf-bzip2
9202 install-pdf-bzip2: \
9203 configure-bzip2 \
9204 pdf-bzip2
9205 @: $(MAKE); $(unstage)
9206 @[ -f ./bzip2/Makefile ] || exit 0; \
9207 r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9209 $(HOST_EXPORTS) \
9210 for flag in $(EXTRA_HOST_FLAGS) ; do \
9211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9212 done; \
9213 echo "Doing install-pdf in bzip2" ; \
9214 (cd $(HOST_SUBDIR)/bzip2 && \
9215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9217 "RANLIB=$${RANLIB}" \
9218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9219 install-pdf) \
9220 || exit 1
9222 @endif bzip2
9224 .PHONY: maybe-install-html-bzip2 install-html-bzip2
9225 maybe-install-html-bzip2:
9226 @if bzip2
9227 maybe-install-html-bzip2: install-html-bzip2
9229 install-html-bzip2: \
9230 configure-bzip2 \
9231 html-bzip2
9232 @: $(MAKE); $(unstage)
9233 @[ -f ./bzip2/Makefile ] || exit 0; \
9234 r=`${PWD_COMMAND}`; export r; \
9235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9236 $(HOST_EXPORTS) \
9237 for flag in $(EXTRA_HOST_FLAGS) ; do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9239 done; \
9240 echo "Doing install-html in bzip2" ; \
9241 (cd $(HOST_SUBDIR)/bzip2 && \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9246 install-html) \
9247 || exit 1
9249 @endif bzip2
9251 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
9252 maybe-installcheck-bzip2:
9253 @if bzip2
9254 maybe-installcheck-bzip2: installcheck-bzip2
9256 installcheck-bzip2: \
9257 configure-bzip2
9258 @: $(MAKE); $(unstage)
9259 @[ -f ./bzip2/Makefile ] || exit 0; \
9260 r=`${PWD_COMMAND}`; export r; \
9261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9262 $(HOST_EXPORTS) \
9263 for flag in $(EXTRA_HOST_FLAGS) ; do \
9264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 done; \
9266 echo "Doing installcheck in bzip2" ; \
9267 (cd $(HOST_SUBDIR)/bzip2 && \
9268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9270 "RANLIB=$${RANLIB}" \
9271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9272 installcheck) \
9273 || exit 1
9275 @endif bzip2
9277 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
9278 maybe-mostlyclean-bzip2:
9279 @if bzip2
9280 maybe-mostlyclean-bzip2: mostlyclean-bzip2
9282 mostlyclean-bzip2:
9283 @: $(MAKE); $(unstage)
9284 @[ -f ./bzip2/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9287 $(HOST_EXPORTS) \
9288 for flag in $(EXTRA_HOST_FLAGS) ; do \
9289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9290 done; \
9291 echo "Doing mostlyclean in bzip2" ; \
9292 (cd $(HOST_SUBDIR)/bzip2 && \
9293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295 "RANLIB=$${RANLIB}" \
9296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9297 mostlyclean) \
9298 || exit 1
9300 @endif bzip2
9302 .PHONY: maybe-clean-bzip2 clean-bzip2
9303 maybe-clean-bzip2:
9304 @if bzip2
9305 maybe-clean-bzip2: clean-bzip2
9307 clean-bzip2:
9308 @: $(MAKE); $(unstage)
9309 @[ -f ./bzip2/Makefile ] || exit 0; \
9310 r=`${PWD_COMMAND}`; export r; \
9311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9312 $(HOST_EXPORTS) \
9313 for flag in $(EXTRA_HOST_FLAGS) ; do \
9314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9315 done; \
9316 echo "Doing clean in bzip2" ; \
9317 (cd $(HOST_SUBDIR)/bzip2 && \
9318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9320 "RANLIB=$${RANLIB}" \
9321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9322 clean) \
9323 || exit 1
9325 @endif bzip2
9327 .PHONY: maybe-distclean-bzip2 distclean-bzip2
9328 maybe-distclean-bzip2:
9329 @if bzip2
9330 maybe-distclean-bzip2: distclean-bzip2
9332 distclean-bzip2:
9333 @: $(MAKE); $(unstage)
9334 @[ -f ./bzip2/Makefile ] || exit 0; \
9335 r=`${PWD_COMMAND}`; export r; \
9336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337 $(HOST_EXPORTS) \
9338 for flag in $(EXTRA_HOST_FLAGS) ; do \
9339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9340 done; \
9341 echo "Doing distclean in bzip2" ; \
9342 (cd $(HOST_SUBDIR)/bzip2 && \
9343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9345 "RANLIB=$${RANLIB}" \
9346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9347 distclean) \
9348 || exit 1
9350 @endif bzip2
9352 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
9353 maybe-maintainer-clean-bzip2:
9354 @if bzip2
9355 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
9357 maintainer-clean-bzip2:
9358 @: $(MAKE); $(unstage)
9359 @[ -f ./bzip2/Makefile ] || exit 0; \
9360 r=`${PWD_COMMAND}`; export r; \
9361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9362 $(HOST_EXPORTS) \
9363 for flag in $(EXTRA_HOST_FLAGS) ; do \
9364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9365 done; \
9366 echo "Doing maintainer-clean in bzip2" ; \
9367 (cd $(HOST_SUBDIR)/bzip2 && \
9368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9370 "RANLIB=$${RANLIB}" \
9371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9372 maintainer-clean) \
9373 || exit 1
9375 @endif bzip2
9379 .PHONY: configure-cgen maybe-configure-cgen
9380 maybe-configure-cgen:
9381 @if gcc-bootstrap
9382 configure-cgen: stage_current
9383 @endif gcc-bootstrap
9384 @if cgen
9385 maybe-configure-cgen: configure-cgen
9386 configure-cgen:
9387 @: $(MAKE); $(unstage)
9388 @r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9390 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
9391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
9392 $(HOST_EXPORTS) \
9393 echo Configuring in $(HOST_SUBDIR)/cgen; \
9394 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
9395 case $(srcdir) in \
9396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9397 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
9398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9399 esac; \
9400 srcdiroption="--srcdir=$${topdir}/cgen"; \
9401 libsrcdir="$$s/cgen"; \
9402 $(SHELL) $${libsrcdir}/configure \
9403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9404 --target=${target_alias} $${srcdiroption} \
9405 || exit 1
9406 @endif cgen
9412 .PHONY: all-cgen maybe-all-cgen
9413 maybe-all-cgen:
9414 @if gcc-bootstrap
9415 all-cgen: stage_current
9416 @endif gcc-bootstrap
9417 @if cgen
9418 TARGET-cgen=all
9419 maybe-all-cgen: all-cgen
9420 all-cgen: configure-cgen
9421 @: $(MAKE); $(unstage)
9422 @r=`${PWD_COMMAND}`; export r; \
9423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9424 $(HOST_EXPORTS) \
9425 (cd $(HOST_SUBDIR)/cgen && \
9426 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9427 $(TARGET-cgen))
9428 @endif cgen
9433 .PHONY: check-cgen maybe-check-cgen
9434 maybe-check-cgen:
9435 @if cgen
9436 maybe-check-cgen: check-cgen
9438 check-cgen:
9439 @: $(MAKE); $(unstage)
9440 @r=`${PWD_COMMAND}`; export r; \
9441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9442 $(HOST_EXPORTS) \
9443 (cd $(HOST_SUBDIR)/cgen && \
9444 $(MAKE) $(FLAGS_TO_PASS) check)
9446 @endif cgen
9448 .PHONY: install-cgen maybe-install-cgen
9449 maybe-install-cgen:
9450 @if cgen
9451 maybe-install-cgen: install-cgen
9453 install-cgen: installdirs
9454 @: $(MAKE); $(unstage)
9455 @r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457 $(HOST_EXPORTS) \
9458 (cd $(HOST_SUBDIR)/cgen && \
9459 $(MAKE) $(FLAGS_TO_PASS) install)
9461 @endif cgen
9463 .PHONY: install-strip-cgen maybe-install-strip-cgen
9464 maybe-install-strip-cgen:
9465 @if cgen
9466 maybe-install-strip-cgen: install-strip-cgen
9468 install-strip-cgen: installdirs
9469 @: $(MAKE); $(unstage)
9470 @r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 $(HOST_EXPORTS) \
9473 (cd $(HOST_SUBDIR)/cgen && \
9474 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9476 @endif cgen
9478 # Other targets (info, dvi, pdf, etc.)
9480 .PHONY: maybe-info-cgen info-cgen
9481 maybe-info-cgen:
9482 @if cgen
9483 maybe-info-cgen: info-cgen
9485 info-cgen: \
9486 configure-cgen
9487 @: $(MAKE); $(unstage)
9488 @[ -f ./cgen/Makefile ] || exit 0; \
9489 r=`${PWD_COMMAND}`; export r; \
9490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 $(HOST_EXPORTS) \
9492 for flag in $(EXTRA_HOST_FLAGS) ; do \
9493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9494 done; \
9495 echo "Doing info in cgen" ; \
9496 (cd $(HOST_SUBDIR)/cgen && \
9497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9499 "RANLIB=$${RANLIB}" \
9500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9501 info) \
9502 || exit 1
9504 @endif cgen
9506 .PHONY: maybe-dvi-cgen dvi-cgen
9507 maybe-dvi-cgen:
9508 @if cgen
9509 maybe-dvi-cgen: dvi-cgen
9511 dvi-cgen: \
9512 configure-cgen
9513 @: $(MAKE); $(unstage)
9514 @[ -f ./cgen/Makefile ] || exit 0; \
9515 r=`${PWD_COMMAND}`; export r; \
9516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 $(HOST_EXPORTS) \
9518 for flag in $(EXTRA_HOST_FLAGS) ; do \
9519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9520 done; \
9521 echo "Doing dvi in cgen" ; \
9522 (cd $(HOST_SUBDIR)/cgen && \
9523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9525 "RANLIB=$${RANLIB}" \
9526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9527 dvi) \
9528 || exit 1
9530 @endif cgen
9532 .PHONY: maybe-pdf-cgen pdf-cgen
9533 maybe-pdf-cgen:
9534 @if cgen
9535 maybe-pdf-cgen: pdf-cgen
9537 pdf-cgen: \
9538 configure-cgen
9539 @: $(MAKE); $(unstage)
9540 @[ -f ./cgen/Makefile ] || exit 0; \
9541 r=`${PWD_COMMAND}`; export r; \
9542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9543 $(HOST_EXPORTS) \
9544 for flag in $(EXTRA_HOST_FLAGS) ; do \
9545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9546 done; \
9547 echo "Doing pdf in cgen" ; \
9548 (cd $(HOST_SUBDIR)/cgen && \
9549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9551 "RANLIB=$${RANLIB}" \
9552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9553 pdf) \
9554 || exit 1
9556 @endif cgen
9558 .PHONY: maybe-html-cgen html-cgen
9559 maybe-html-cgen:
9560 @if cgen
9561 maybe-html-cgen: html-cgen
9563 html-cgen: \
9564 configure-cgen
9565 @: $(MAKE); $(unstage)
9566 @[ -f ./cgen/Makefile ] || exit 0; \
9567 r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 $(HOST_EXPORTS) \
9570 for flag in $(EXTRA_HOST_FLAGS) ; do \
9571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9572 done; \
9573 echo "Doing html in cgen" ; \
9574 (cd $(HOST_SUBDIR)/cgen && \
9575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9577 "RANLIB=$${RANLIB}" \
9578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9579 html) \
9580 || exit 1
9582 @endif cgen
9584 .PHONY: maybe-TAGS-cgen TAGS-cgen
9585 maybe-TAGS-cgen:
9586 @if cgen
9587 maybe-TAGS-cgen: TAGS-cgen
9589 TAGS-cgen: \
9590 configure-cgen
9591 @: $(MAKE); $(unstage)
9592 @[ -f ./cgen/Makefile ] || exit 0; \
9593 r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 $(HOST_EXPORTS) \
9596 for flag in $(EXTRA_HOST_FLAGS) ; do \
9597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9598 done; \
9599 echo "Doing TAGS in cgen" ; \
9600 (cd $(HOST_SUBDIR)/cgen && \
9601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9603 "RANLIB=$${RANLIB}" \
9604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9605 TAGS) \
9606 || exit 1
9608 @endif cgen
9610 .PHONY: maybe-install-info-cgen install-info-cgen
9611 maybe-install-info-cgen:
9612 @if cgen
9613 maybe-install-info-cgen: install-info-cgen
9615 install-info-cgen: \
9616 configure-cgen \
9617 info-cgen
9618 @: $(MAKE); $(unstage)
9619 @[ -f ./cgen/Makefile ] || exit 0; \
9620 r=`${PWD_COMMAND}`; export r; \
9621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9622 $(HOST_EXPORTS) \
9623 for flag in $(EXTRA_HOST_FLAGS) ; do \
9624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9625 done; \
9626 echo "Doing install-info in cgen" ; \
9627 (cd $(HOST_SUBDIR)/cgen && \
9628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9630 "RANLIB=$${RANLIB}" \
9631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9632 install-info) \
9633 || exit 1
9635 @endif cgen
9637 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
9638 maybe-install-pdf-cgen:
9639 @if cgen
9640 maybe-install-pdf-cgen: install-pdf-cgen
9642 install-pdf-cgen: \
9643 configure-cgen \
9644 pdf-cgen
9645 @: $(MAKE); $(unstage)
9646 @[ -f ./cgen/Makefile ] || exit 0; \
9647 r=`${PWD_COMMAND}`; export r; \
9648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9649 $(HOST_EXPORTS) \
9650 for flag in $(EXTRA_HOST_FLAGS) ; do \
9651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9652 done; \
9653 echo "Doing install-pdf in cgen" ; \
9654 (cd $(HOST_SUBDIR)/cgen && \
9655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9657 "RANLIB=$${RANLIB}" \
9658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9659 install-pdf) \
9660 || exit 1
9662 @endif cgen
9664 .PHONY: maybe-install-html-cgen install-html-cgen
9665 maybe-install-html-cgen:
9666 @if cgen
9667 maybe-install-html-cgen: install-html-cgen
9669 install-html-cgen: \
9670 configure-cgen \
9671 html-cgen
9672 @: $(MAKE); $(unstage)
9673 @[ -f ./cgen/Makefile ] || exit 0; \
9674 r=`${PWD_COMMAND}`; export r; \
9675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9676 $(HOST_EXPORTS) \
9677 for flag in $(EXTRA_HOST_FLAGS) ; do \
9678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9679 done; \
9680 echo "Doing install-html in cgen" ; \
9681 (cd $(HOST_SUBDIR)/cgen && \
9682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9684 "RANLIB=$${RANLIB}" \
9685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9686 install-html) \
9687 || exit 1
9689 @endif cgen
9691 .PHONY: maybe-installcheck-cgen installcheck-cgen
9692 maybe-installcheck-cgen:
9693 @if cgen
9694 maybe-installcheck-cgen: installcheck-cgen
9696 installcheck-cgen: \
9697 configure-cgen
9698 @: $(MAKE); $(unstage)
9699 @[ -f ./cgen/Makefile ] || exit 0; \
9700 r=`${PWD_COMMAND}`; export r; \
9701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9702 $(HOST_EXPORTS) \
9703 for flag in $(EXTRA_HOST_FLAGS) ; do \
9704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9705 done; \
9706 echo "Doing installcheck in cgen" ; \
9707 (cd $(HOST_SUBDIR)/cgen && \
9708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9710 "RANLIB=$${RANLIB}" \
9711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9712 installcheck) \
9713 || exit 1
9715 @endif cgen
9717 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
9718 maybe-mostlyclean-cgen:
9719 @if cgen
9720 maybe-mostlyclean-cgen: mostlyclean-cgen
9722 mostlyclean-cgen:
9723 @: $(MAKE); $(unstage)
9724 @[ -f ./cgen/Makefile ] || exit 0; \
9725 r=`${PWD_COMMAND}`; export r; \
9726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9727 $(HOST_EXPORTS) \
9728 for flag in $(EXTRA_HOST_FLAGS) ; do \
9729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9730 done; \
9731 echo "Doing mostlyclean in cgen" ; \
9732 (cd $(HOST_SUBDIR)/cgen && \
9733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9735 "RANLIB=$${RANLIB}" \
9736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9737 mostlyclean) \
9738 || exit 1
9740 @endif cgen
9742 .PHONY: maybe-clean-cgen clean-cgen
9743 maybe-clean-cgen:
9744 @if cgen
9745 maybe-clean-cgen: clean-cgen
9747 clean-cgen:
9748 @: $(MAKE); $(unstage)
9749 @[ -f ./cgen/Makefile ] || exit 0; \
9750 r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 $(HOST_EXPORTS) \
9753 for flag in $(EXTRA_HOST_FLAGS) ; do \
9754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9755 done; \
9756 echo "Doing clean in cgen" ; \
9757 (cd $(HOST_SUBDIR)/cgen && \
9758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9760 "RANLIB=$${RANLIB}" \
9761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9762 clean) \
9763 || exit 1
9765 @endif cgen
9767 .PHONY: maybe-distclean-cgen distclean-cgen
9768 maybe-distclean-cgen:
9769 @if cgen
9770 maybe-distclean-cgen: distclean-cgen
9772 distclean-cgen:
9773 @: $(MAKE); $(unstage)
9774 @[ -f ./cgen/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(HOST_EXPORTS) \
9778 for flag in $(EXTRA_HOST_FLAGS) ; do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 done; \
9781 echo "Doing distclean in cgen" ; \
9782 (cd $(HOST_SUBDIR)/cgen && \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9787 distclean) \
9788 || exit 1
9790 @endif cgen
9792 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
9793 maybe-maintainer-clean-cgen:
9794 @if cgen
9795 maybe-maintainer-clean-cgen: maintainer-clean-cgen
9797 maintainer-clean-cgen:
9798 @: $(MAKE); $(unstage)
9799 @[ -f ./cgen/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(HOST_EXPORTS) \
9803 for flag in $(EXTRA_HOST_FLAGS) ; do \
9804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 done; \
9806 echo "Doing maintainer-clean in cgen" ; \
9807 (cd $(HOST_SUBDIR)/cgen && \
9808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9810 "RANLIB=$${RANLIB}" \
9811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9812 maintainer-clean) \
9813 || exit 1
9815 @endif cgen
9819 .PHONY: configure-dejagnu maybe-configure-dejagnu
9820 maybe-configure-dejagnu:
9821 @if gcc-bootstrap
9822 configure-dejagnu: stage_current
9823 @endif gcc-bootstrap
9824 @if dejagnu
9825 maybe-configure-dejagnu: configure-dejagnu
9826 configure-dejagnu:
9827 @: $(MAKE); $(unstage)
9828 @r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
9831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
9832 $(HOST_EXPORTS) \
9833 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
9834 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9835 case $(srcdir) in \
9836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9837 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9839 esac; \
9840 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9841 libsrcdir="$$s/dejagnu"; \
9842 $(SHELL) $${libsrcdir}/configure \
9843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9844 --target=${target_alias} $${srcdiroption} \
9845 || exit 1
9846 @endif dejagnu
9852 .PHONY: all-dejagnu maybe-all-dejagnu
9853 maybe-all-dejagnu:
9854 @if gcc-bootstrap
9855 all-dejagnu: stage_current
9856 @endif gcc-bootstrap
9857 @if dejagnu
9858 TARGET-dejagnu=all
9859 maybe-all-dejagnu: all-dejagnu
9860 all-dejagnu: configure-dejagnu
9861 @: $(MAKE); $(unstage)
9862 @r=`${PWD_COMMAND}`; export r; \
9863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9864 $(HOST_EXPORTS) \
9865 (cd $(HOST_SUBDIR)/dejagnu && \
9866 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9867 $(TARGET-dejagnu))
9868 @endif dejagnu
9873 .PHONY: check-dejagnu maybe-check-dejagnu
9874 maybe-check-dejagnu:
9875 @if dejagnu
9876 maybe-check-dejagnu: check-dejagnu
9878 check-dejagnu:
9879 @: $(MAKE); $(unstage)
9880 @r=`${PWD_COMMAND}`; export r; \
9881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9882 $(HOST_EXPORTS) \
9883 (cd $(HOST_SUBDIR)/dejagnu && \
9884 $(MAKE) $(FLAGS_TO_PASS) check)
9886 @endif dejagnu
9888 .PHONY: install-dejagnu maybe-install-dejagnu
9889 maybe-install-dejagnu:
9890 @if dejagnu
9891 maybe-install-dejagnu: install-dejagnu
9893 install-dejagnu: installdirs
9894 @: $(MAKE); $(unstage)
9895 @r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897 $(HOST_EXPORTS) \
9898 (cd $(HOST_SUBDIR)/dejagnu && \
9899 $(MAKE) $(FLAGS_TO_PASS) install)
9901 @endif dejagnu
9903 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
9904 maybe-install-strip-dejagnu:
9905 @if dejagnu
9906 maybe-install-strip-dejagnu: install-strip-dejagnu
9908 install-strip-dejagnu: installdirs
9909 @: $(MAKE); $(unstage)
9910 @r=`${PWD_COMMAND}`; export r; \
9911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9912 $(HOST_EXPORTS) \
9913 (cd $(HOST_SUBDIR)/dejagnu && \
9914 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9916 @endif dejagnu
9918 # Other targets (info, dvi, pdf, etc.)
9920 .PHONY: maybe-info-dejagnu info-dejagnu
9921 maybe-info-dejagnu:
9922 @if dejagnu
9923 maybe-info-dejagnu: info-dejagnu
9925 info-dejagnu: \
9926 configure-dejagnu
9927 @: $(MAKE); $(unstage)
9928 @[ -f ./dejagnu/Makefile ] || exit 0; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 $(HOST_EXPORTS) \
9932 for flag in $(EXTRA_HOST_FLAGS) ; do \
9933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9934 done; \
9935 echo "Doing info in dejagnu" ; \
9936 (cd $(HOST_SUBDIR)/dejagnu && \
9937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9939 "RANLIB=$${RANLIB}" \
9940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9941 info) \
9942 || exit 1
9944 @endif dejagnu
9946 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9947 maybe-dvi-dejagnu:
9948 @if dejagnu
9949 maybe-dvi-dejagnu: dvi-dejagnu
9951 dvi-dejagnu: \
9952 configure-dejagnu
9953 @: $(MAKE); $(unstage)
9954 @[ -f ./dejagnu/Makefile ] || exit 0; \
9955 r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 $(HOST_EXPORTS) \
9958 for flag in $(EXTRA_HOST_FLAGS) ; do \
9959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9960 done; \
9961 echo "Doing dvi in dejagnu" ; \
9962 (cd $(HOST_SUBDIR)/dejagnu && \
9963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9965 "RANLIB=$${RANLIB}" \
9966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9967 dvi) \
9968 || exit 1
9970 @endif dejagnu
9972 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9973 maybe-pdf-dejagnu:
9974 @if dejagnu
9975 maybe-pdf-dejagnu: pdf-dejagnu
9977 pdf-dejagnu: \
9978 configure-dejagnu
9979 @: $(MAKE); $(unstage)
9980 @[ -f ./dejagnu/Makefile ] || exit 0; \
9981 r=`${PWD_COMMAND}`; export r; \
9982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 $(HOST_EXPORTS) \
9984 for flag in $(EXTRA_HOST_FLAGS) ; do \
9985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9986 done; \
9987 echo "Doing pdf in dejagnu" ; \
9988 (cd $(HOST_SUBDIR)/dejagnu && \
9989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9991 "RANLIB=$${RANLIB}" \
9992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9993 pdf) \
9994 || exit 1
9996 @endif dejagnu
9998 .PHONY: maybe-html-dejagnu html-dejagnu
9999 maybe-html-dejagnu:
10000 @if dejagnu
10001 maybe-html-dejagnu: html-dejagnu
10003 html-dejagnu: \
10004 configure-dejagnu
10005 @: $(MAKE); $(unstage)
10006 @[ -f ./dejagnu/Makefile ] || exit 0; \
10007 r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 $(HOST_EXPORTS) \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 done; \
10013 echo "Doing html in dejagnu" ; \
10014 (cd $(HOST_SUBDIR)/dejagnu && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10019 html) \
10020 || exit 1
10022 @endif dejagnu
10024 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
10025 maybe-TAGS-dejagnu:
10026 @if dejagnu
10027 maybe-TAGS-dejagnu: TAGS-dejagnu
10029 TAGS-dejagnu: \
10030 configure-dejagnu
10031 @: $(MAKE); $(unstage)
10032 @[ -f ./dejagnu/Makefile ] || exit 0; \
10033 r=`${PWD_COMMAND}`; export r; \
10034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 $(HOST_EXPORTS) \
10036 for flag in $(EXTRA_HOST_FLAGS) ; do \
10037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10038 done; \
10039 echo "Doing TAGS in dejagnu" ; \
10040 (cd $(HOST_SUBDIR)/dejagnu && \
10041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10043 "RANLIB=$${RANLIB}" \
10044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10045 TAGS) \
10046 || exit 1
10048 @endif dejagnu
10050 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
10051 maybe-install-info-dejagnu:
10052 @if dejagnu
10053 maybe-install-info-dejagnu: install-info-dejagnu
10055 install-info-dejagnu: \
10056 configure-dejagnu \
10057 info-dejagnu
10058 @: $(MAKE); $(unstage)
10059 @[ -f ./dejagnu/Makefile ] || exit 0; \
10060 r=`${PWD_COMMAND}`; export r; \
10061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10062 $(HOST_EXPORTS) \
10063 for flag in $(EXTRA_HOST_FLAGS) ; do \
10064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10065 done; \
10066 echo "Doing install-info in dejagnu" ; \
10067 (cd $(HOST_SUBDIR)/dejagnu && \
10068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10070 "RANLIB=$${RANLIB}" \
10071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10072 install-info) \
10073 || exit 1
10075 @endif dejagnu
10077 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
10078 maybe-install-pdf-dejagnu:
10079 @if dejagnu
10080 maybe-install-pdf-dejagnu: install-pdf-dejagnu
10082 install-pdf-dejagnu: \
10083 configure-dejagnu \
10084 pdf-dejagnu
10085 @: $(MAKE); $(unstage)
10086 @[ -f ./dejagnu/Makefile ] || exit 0; \
10087 r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(HOST_EXPORTS) \
10090 for flag in $(EXTRA_HOST_FLAGS) ; do \
10091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10092 done; \
10093 echo "Doing install-pdf in dejagnu" ; \
10094 (cd $(HOST_SUBDIR)/dejagnu && \
10095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10097 "RANLIB=$${RANLIB}" \
10098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10099 install-pdf) \
10100 || exit 1
10102 @endif dejagnu
10104 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
10105 maybe-install-html-dejagnu:
10106 @if dejagnu
10107 maybe-install-html-dejagnu: install-html-dejagnu
10109 install-html-dejagnu: \
10110 configure-dejagnu \
10111 html-dejagnu
10112 @: $(MAKE); $(unstage)
10113 @[ -f ./dejagnu/Makefile ] || exit 0; \
10114 r=`${PWD_COMMAND}`; export r; \
10115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10116 $(HOST_EXPORTS) \
10117 for flag in $(EXTRA_HOST_FLAGS) ; do \
10118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10119 done; \
10120 echo "Doing install-html in dejagnu" ; \
10121 (cd $(HOST_SUBDIR)/dejagnu && \
10122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10124 "RANLIB=$${RANLIB}" \
10125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10126 install-html) \
10127 || exit 1
10129 @endif dejagnu
10131 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
10132 maybe-installcheck-dejagnu:
10133 @if dejagnu
10134 maybe-installcheck-dejagnu: installcheck-dejagnu
10136 installcheck-dejagnu: \
10137 configure-dejagnu
10138 @: $(MAKE); $(unstage)
10139 @[ -f ./dejagnu/Makefile ] || exit 0; \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 $(HOST_EXPORTS) \
10143 for flag in $(EXTRA_HOST_FLAGS) ; do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145 done; \
10146 echo "Doing installcheck in dejagnu" ; \
10147 (cd $(HOST_SUBDIR)/dejagnu && \
10148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150 "RANLIB=$${RANLIB}" \
10151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10152 installcheck) \
10153 || exit 1
10155 @endif dejagnu
10157 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
10158 maybe-mostlyclean-dejagnu:
10159 @if dejagnu
10160 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
10162 mostlyclean-dejagnu:
10163 @: $(MAKE); $(unstage)
10164 @[ -f ./dejagnu/Makefile ] || exit 0; \
10165 r=`${PWD_COMMAND}`; export r; \
10166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10167 $(HOST_EXPORTS) \
10168 for flag in $(EXTRA_HOST_FLAGS) ; do \
10169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10170 done; \
10171 echo "Doing mostlyclean in dejagnu" ; \
10172 (cd $(HOST_SUBDIR)/dejagnu && \
10173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10175 "RANLIB=$${RANLIB}" \
10176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10177 mostlyclean) \
10178 || exit 1
10180 @endif dejagnu
10182 .PHONY: maybe-clean-dejagnu clean-dejagnu
10183 maybe-clean-dejagnu:
10184 @if dejagnu
10185 maybe-clean-dejagnu: clean-dejagnu
10187 clean-dejagnu:
10188 @: $(MAKE); $(unstage)
10189 @[ -f ./dejagnu/Makefile ] || exit 0; \
10190 r=`${PWD_COMMAND}`; export r; \
10191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10192 $(HOST_EXPORTS) \
10193 for flag in $(EXTRA_HOST_FLAGS) ; do \
10194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10195 done; \
10196 echo "Doing clean in dejagnu" ; \
10197 (cd $(HOST_SUBDIR)/dejagnu && \
10198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10200 "RANLIB=$${RANLIB}" \
10201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10202 clean) \
10203 || exit 1
10205 @endif dejagnu
10207 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
10208 maybe-distclean-dejagnu:
10209 @if dejagnu
10210 maybe-distclean-dejagnu: distclean-dejagnu
10212 distclean-dejagnu:
10213 @: $(MAKE); $(unstage)
10214 @[ -f ./dejagnu/Makefile ] || exit 0; \
10215 r=`${PWD_COMMAND}`; export r; \
10216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10217 $(HOST_EXPORTS) \
10218 for flag in $(EXTRA_HOST_FLAGS) ; do \
10219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10220 done; \
10221 echo "Doing distclean in dejagnu" ; \
10222 (cd $(HOST_SUBDIR)/dejagnu && \
10223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10225 "RANLIB=$${RANLIB}" \
10226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10227 distclean) \
10228 || exit 1
10230 @endif dejagnu
10232 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
10233 maybe-maintainer-clean-dejagnu:
10234 @if dejagnu
10235 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
10237 maintainer-clean-dejagnu:
10238 @: $(MAKE); $(unstage)
10239 @[ -f ./dejagnu/Makefile ] || exit 0; \
10240 r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(HOST_EXPORTS) \
10243 for flag in $(EXTRA_HOST_FLAGS) ; do \
10244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10245 done; \
10246 echo "Doing maintainer-clean in dejagnu" ; \
10247 (cd $(HOST_SUBDIR)/dejagnu && \
10248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10250 "RANLIB=$${RANLIB}" \
10251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10252 maintainer-clean) \
10253 || exit 1
10255 @endif dejagnu
10259 .PHONY: configure-diff maybe-configure-diff
10260 maybe-configure-diff:
10261 @if gcc-bootstrap
10262 configure-diff: stage_current
10263 @endif gcc-bootstrap
10264 @if diff
10265 maybe-configure-diff: configure-diff
10266 configure-diff:
10267 @: $(MAKE); $(unstage)
10268 @r=`${PWD_COMMAND}`; export r; \
10269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10270 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
10271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
10272 $(HOST_EXPORTS) \
10273 echo Configuring in $(HOST_SUBDIR)/diff; \
10274 cd "$(HOST_SUBDIR)/diff" || exit 1; \
10275 case $(srcdir) in \
10276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10277 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
10278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10279 esac; \
10280 srcdiroption="--srcdir=$${topdir}/diff"; \
10281 libsrcdir="$$s/diff"; \
10282 $(SHELL) $${libsrcdir}/configure \
10283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10284 --target=${target_alias} $${srcdiroption} \
10285 || exit 1
10286 @endif diff
10292 .PHONY: all-diff maybe-all-diff
10293 maybe-all-diff:
10294 @if gcc-bootstrap
10295 all-diff: stage_current
10296 @endif gcc-bootstrap
10297 @if diff
10298 TARGET-diff=all
10299 maybe-all-diff: all-diff
10300 all-diff: configure-diff
10301 @: $(MAKE); $(unstage)
10302 @r=`${PWD_COMMAND}`; export r; \
10303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10304 $(HOST_EXPORTS) \
10305 (cd $(HOST_SUBDIR)/diff && \
10306 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10307 $(TARGET-diff))
10308 @endif diff
10313 .PHONY: check-diff maybe-check-diff
10314 maybe-check-diff:
10315 @if diff
10316 maybe-check-diff: check-diff
10318 check-diff:
10319 @: $(MAKE); $(unstage)
10320 @r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 (cd $(HOST_SUBDIR)/diff && \
10324 $(MAKE) $(FLAGS_TO_PASS) check)
10326 @endif diff
10328 .PHONY: install-diff maybe-install-diff
10329 maybe-install-diff:
10330 @if diff
10331 maybe-install-diff: install-diff
10333 install-diff: installdirs
10334 @: $(MAKE); $(unstage)
10335 @r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 (cd $(HOST_SUBDIR)/diff && \
10339 $(MAKE) $(FLAGS_TO_PASS) install)
10341 @endif diff
10343 .PHONY: install-strip-diff maybe-install-strip-diff
10344 maybe-install-strip-diff:
10345 @if diff
10346 maybe-install-strip-diff: install-strip-diff
10348 install-strip-diff: installdirs
10349 @: $(MAKE); $(unstage)
10350 @r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10352 $(HOST_EXPORTS) \
10353 (cd $(HOST_SUBDIR)/diff && \
10354 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10356 @endif diff
10358 # Other targets (info, dvi, pdf, etc.)
10360 .PHONY: maybe-info-diff info-diff
10361 maybe-info-diff:
10362 @if diff
10363 maybe-info-diff: info-diff
10365 info-diff: \
10366 configure-diff
10367 @: $(MAKE); $(unstage)
10368 @[ -f ./diff/Makefile ] || exit 0; \
10369 r=`${PWD_COMMAND}`; export r; \
10370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 $(HOST_EXPORTS) \
10372 for flag in $(EXTRA_HOST_FLAGS) ; do \
10373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 done; \
10375 echo "Doing info in diff" ; \
10376 (cd $(HOST_SUBDIR)/diff && \
10377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10379 "RANLIB=$${RANLIB}" \
10380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10381 info) \
10382 || exit 1
10384 @endif diff
10386 .PHONY: maybe-dvi-diff dvi-diff
10387 maybe-dvi-diff:
10388 @if diff
10389 maybe-dvi-diff: dvi-diff
10391 dvi-diff: \
10392 configure-diff
10393 @: $(MAKE); $(unstage)
10394 @[ -f ./diff/Makefile ] || exit 0; \
10395 r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 $(HOST_EXPORTS) \
10398 for flag in $(EXTRA_HOST_FLAGS) ; do \
10399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10400 done; \
10401 echo "Doing dvi in diff" ; \
10402 (cd $(HOST_SUBDIR)/diff && \
10403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10405 "RANLIB=$${RANLIB}" \
10406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10407 dvi) \
10408 || exit 1
10410 @endif diff
10412 .PHONY: maybe-pdf-diff pdf-diff
10413 maybe-pdf-diff:
10414 @if diff
10415 maybe-pdf-diff: pdf-diff
10417 pdf-diff: \
10418 configure-diff
10419 @: $(MAKE); $(unstage)
10420 @[ -f ./diff/Makefile ] || exit 0; \
10421 r=`${PWD_COMMAND}`; export r; \
10422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10423 $(HOST_EXPORTS) \
10424 for flag in $(EXTRA_HOST_FLAGS) ; do \
10425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10426 done; \
10427 echo "Doing pdf in diff" ; \
10428 (cd $(HOST_SUBDIR)/diff && \
10429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10431 "RANLIB=$${RANLIB}" \
10432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10433 pdf) \
10434 || exit 1
10436 @endif diff
10438 .PHONY: maybe-html-diff html-diff
10439 maybe-html-diff:
10440 @if diff
10441 maybe-html-diff: html-diff
10443 html-diff: \
10444 configure-diff
10445 @: $(MAKE); $(unstage)
10446 @[ -f ./diff/Makefile ] || exit 0; \
10447 r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10449 $(HOST_EXPORTS) \
10450 for flag in $(EXTRA_HOST_FLAGS) ; do \
10451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10452 done; \
10453 echo "Doing html in diff" ; \
10454 (cd $(HOST_SUBDIR)/diff && \
10455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10457 "RANLIB=$${RANLIB}" \
10458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10459 html) \
10460 || exit 1
10462 @endif diff
10464 .PHONY: maybe-TAGS-diff TAGS-diff
10465 maybe-TAGS-diff:
10466 @if diff
10467 maybe-TAGS-diff: TAGS-diff
10469 TAGS-diff: \
10470 configure-diff
10471 @: $(MAKE); $(unstage)
10472 @[ -f ./diff/Makefile ] || exit 0; \
10473 r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 $(HOST_EXPORTS) \
10476 for flag in $(EXTRA_HOST_FLAGS) ; do \
10477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10478 done; \
10479 echo "Doing TAGS in diff" ; \
10480 (cd $(HOST_SUBDIR)/diff && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10483 "RANLIB=$${RANLIB}" \
10484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10485 TAGS) \
10486 || exit 1
10488 @endif diff
10490 .PHONY: maybe-install-info-diff install-info-diff
10491 maybe-install-info-diff:
10492 @if diff
10493 maybe-install-info-diff: install-info-diff
10495 install-info-diff: \
10496 configure-diff \
10497 info-diff
10498 @: $(MAKE); $(unstage)
10499 @[ -f ./diff/Makefile ] || exit 0; \
10500 r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 $(HOST_EXPORTS) \
10503 for flag in $(EXTRA_HOST_FLAGS) ; do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10505 done; \
10506 echo "Doing install-info in diff" ; \
10507 (cd $(HOST_SUBDIR)/diff && \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10512 install-info) \
10513 || exit 1
10515 @endif diff
10517 .PHONY: maybe-install-pdf-diff install-pdf-diff
10518 maybe-install-pdf-diff:
10519 @if diff
10520 maybe-install-pdf-diff: install-pdf-diff
10522 install-pdf-diff: \
10523 configure-diff \
10524 pdf-diff
10525 @: $(MAKE); $(unstage)
10526 @[ -f ./diff/Makefile ] || exit 0; \
10527 r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(HOST_EXPORTS) \
10530 for flag in $(EXTRA_HOST_FLAGS) ; do \
10531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10532 done; \
10533 echo "Doing install-pdf in diff" ; \
10534 (cd $(HOST_SUBDIR)/diff && \
10535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10537 "RANLIB=$${RANLIB}" \
10538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10539 install-pdf) \
10540 || exit 1
10542 @endif diff
10544 .PHONY: maybe-install-html-diff install-html-diff
10545 maybe-install-html-diff:
10546 @if diff
10547 maybe-install-html-diff: install-html-diff
10549 install-html-diff: \
10550 configure-diff \
10551 html-diff
10552 @: $(MAKE); $(unstage)
10553 @[ -f ./diff/Makefile ] || exit 0; \
10554 r=`${PWD_COMMAND}`; export r; \
10555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10556 $(HOST_EXPORTS) \
10557 for flag in $(EXTRA_HOST_FLAGS) ; do \
10558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10559 done; \
10560 echo "Doing install-html in diff" ; \
10561 (cd $(HOST_SUBDIR)/diff && \
10562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10564 "RANLIB=$${RANLIB}" \
10565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10566 install-html) \
10567 || exit 1
10569 @endif diff
10571 .PHONY: maybe-installcheck-diff installcheck-diff
10572 maybe-installcheck-diff:
10573 @if diff
10574 maybe-installcheck-diff: installcheck-diff
10576 installcheck-diff: \
10577 configure-diff
10578 @: $(MAKE); $(unstage)
10579 @[ -f ./diff/Makefile ] || exit 0; \
10580 r=`${PWD_COMMAND}`; export r; \
10581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10582 $(HOST_EXPORTS) \
10583 for flag in $(EXTRA_HOST_FLAGS) ; do \
10584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10585 done; \
10586 echo "Doing installcheck in diff" ; \
10587 (cd $(HOST_SUBDIR)/diff && \
10588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10590 "RANLIB=$${RANLIB}" \
10591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10592 installcheck) \
10593 || exit 1
10595 @endif diff
10597 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10598 maybe-mostlyclean-diff:
10599 @if diff
10600 maybe-mostlyclean-diff: mostlyclean-diff
10602 mostlyclean-diff:
10603 @: $(MAKE); $(unstage)
10604 @[ -f ./diff/Makefile ] || exit 0; \
10605 r=`${PWD_COMMAND}`; export r; \
10606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10607 $(HOST_EXPORTS) \
10608 for flag in $(EXTRA_HOST_FLAGS) ; do \
10609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10610 done; \
10611 echo "Doing mostlyclean in diff" ; \
10612 (cd $(HOST_SUBDIR)/diff && \
10613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10615 "RANLIB=$${RANLIB}" \
10616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10617 mostlyclean) \
10618 || exit 1
10620 @endif diff
10622 .PHONY: maybe-clean-diff clean-diff
10623 maybe-clean-diff:
10624 @if diff
10625 maybe-clean-diff: clean-diff
10627 clean-diff:
10628 @: $(MAKE); $(unstage)
10629 @[ -f ./diff/Makefile ] || exit 0; \
10630 r=`${PWD_COMMAND}`; export r; \
10631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10632 $(HOST_EXPORTS) \
10633 for flag in $(EXTRA_HOST_FLAGS) ; do \
10634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10635 done; \
10636 echo "Doing clean in diff" ; \
10637 (cd $(HOST_SUBDIR)/diff && \
10638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10640 "RANLIB=$${RANLIB}" \
10641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10642 clean) \
10643 || exit 1
10645 @endif diff
10647 .PHONY: maybe-distclean-diff distclean-diff
10648 maybe-distclean-diff:
10649 @if diff
10650 maybe-distclean-diff: distclean-diff
10652 distclean-diff:
10653 @: $(MAKE); $(unstage)
10654 @[ -f ./diff/Makefile ] || exit 0; \
10655 r=`${PWD_COMMAND}`; export r; \
10656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10657 $(HOST_EXPORTS) \
10658 for flag in $(EXTRA_HOST_FLAGS) ; do \
10659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10660 done; \
10661 echo "Doing distclean in diff" ; \
10662 (cd $(HOST_SUBDIR)/diff && \
10663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10665 "RANLIB=$${RANLIB}" \
10666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10667 distclean) \
10668 || exit 1
10670 @endif diff
10672 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
10673 maybe-maintainer-clean-diff:
10674 @if diff
10675 maybe-maintainer-clean-diff: maintainer-clean-diff
10677 maintainer-clean-diff:
10678 @: $(MAKE); $(unstage)
10679 @[ -f ./diff/Makefile ] || exit 0; \
10680 r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(HOST_EXPORTS) \
10683 for flag in $(EXTRA_HOST_FLAGS) ; do \
10684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10685 done; \
10686 echo "Doing maintainer-clean in diff" ; \
10687 (cd $(HOST_SUBDIR)/diff && \
10688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10690 "RANLIB=$${RANLIB}" \
10691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10692 maintainer-clean) \
10693 || exit 1
10695 @endif diff
10699 .PHONY: configure-dosutils maybe-configure-dosutils
10700 maybe-configure-dosutils:
10701 @if gcc-bootstrap
10702 configure-dosutils: stage_current
10703 @endif gcc-bootstrap
10704 @if dosutils
10705 maybe-configure-dosutils: configure-dosutils
10706 configure-dosutils:
10707 @: $(MAKE); $(unstage)
10708 @r=`${PWD_COMMAND}`; export r; \
10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10710 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
10711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
10712 $(HOST_EXPORTS) \
10713 echo Configuring in $(HOST_SUBDIR)/dosutils; \
10714 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
10715 case $(srcdir) in \
10716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10717 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
10718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10719 esac; \
10720 srcdiroption="--srcdir=$${topdir}/dosutils"; \
10721 libsrcdir="$$s/dosutils"; \
10722 $(SHELL) $${libsrcdir}/configure \
10723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10724 --target=${target_alias} $${srcdiroption} \
10725 || exit 1
10726 @endif dosutils
10732 .PHONY: all-dosutils maybe-all-dosutils
10733 maybe-all-dosutils:
10734 @if gcc-bootstrap
10735 all-dosutils: stage_current
10736 @endif gcc-bootstrap
10737 @if dosutils
10738 TARGET-dosutils=all
10739 maybe-all-dosutils: all-dosutils
10740 all-dosutils: configure-dosutils
10741 @: $(MAKE); $(unstage)
10742 @r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744 $(HOST_EXPORTS) \
10745 (cd $(HOST_SUBDIR)/dosutils && \
10746 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10747 $(TARGET-dosutils))
10748 @endif dosutils
10753 .PHONY: check-dosutils maybe-check-dosutils
10754 maybe-check-dosutils:
10755 @if dosutils
10756 maybe-check-dosutils: check-dosutils
10758 check-dosutils:
10760 @endif dosutils
10762 .PHONY: install-dosutils maybe-install-dosutils
10763 maybe-install-dosutils:
10764 @if dosutils
10765 maybe-install-dosutils: install-dosutils
10767 install-dosutils: installdirs
10768 @: $(MAKE); $(unstage)
10769 @r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 $(HOST_EXPORTS) \
10772 (cd $(HOST_SUBDIR)/dosutils && \
10773 $(MAKE) $(FLAGS_TO_PASS) install)
10775 @endif dosutils
10777 .PHONY: install-strip-dosutils maybe-install-strip-dosutils
10778 maybe-install-strip-dosutils:
10779 @if dosutils
10780 maybe-install-strip-dosutils: install-strip-dosutils
10782 install-strip-dosutils: installdirs
10783 @: $(MAKE); $(unstage)
10784 @r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 (cd $(HOST_SUBDIR)/dosutils && \
10788 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10790 @endif dosutils
10792 # Other targets (info, dvi, pdf, etc.)
10794 .PHONY: maybe-info-dosutils info-dosutils
10795 maybe-info-dosutils:
10796 @if dosutils
10797 maybe-info-dosutils: info-dosutils
10799 info-dosutils: \
10800 configure-dosutils
10801 @: $(MAKE); $(unstage)
10802 @[ -f ./dosutils/Makefile ] || exit 0; \
10803 r=`${PWD_COMMAND}`; export r; \
10804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 $(HOST_EXPORTS) \
10806 for flag in $(EXTRA_HOST_FLAGS) ; do \
10807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10808 done; \
10809 echo "Doing info in dosutils" ; \
10810 (cd $(HOST_SUBDIR)/dosutils && \
10811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10813 "RANLIB=$${RANLIB}" \
10814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10815 info) \
10816 || exit 1
10818 @endif dosutils
10820 .PHONY: maybe-dvi-dosutils dvi-dosutils
10821 maybe-dvi-dosutils:
10822 @if dosutils
10823 maybe-dvi-dosutils: dvi-dosutils
10825 dvi-dosutils: \
10826 configure-dosutils
10827 @: $(MAKE); $(unstage)
10828 @[ -f ./dosutils/Makefile ] || exit 0; \
10829 r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 for flag in $(EXTRA_HOST_FLAGS) ; do \
10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10834 done; \
10835 echo "Doing dvi in dosutils" ; \
10836 (cd $(HOST_SUBDIR)/dosutils && \
10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10839 "RANLIB=$${RANLIB}" \
10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10841 dvi) \
10842 || exit 1
10844 @endif dosutils
10846 .PHONY: maybe-pdf-dosutils pdf-dosutils
10847 maybe-pdf-dosutils:
10848 @if dosutils
10849 maybe-pdf-dosutils: pdf-dosutils
10851 pdf-dosutils: \
10852 configure-dosutils
10853 @: $(MAKE); $(unstage)
10854 @[ -f ./dosutils/Makefile ] || exit 0; \
10855 r=`${PWD_COMMAND}`; export r; \
10856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10857 $(HOST_EXPORTS) \
10858 for flag in $(EXTRA_HOST_FLAGS) ; do \
10859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10860 done; \
10861 echo "Doing pdf in dosutils" ; \
10862 (cd $(HOST_SUBDIR)/dosutils && \
10863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10865 "RANLIB=$${RANLIB}" \
10866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10867 pdf) \
10868 || exit 1
10870 @endif dosutils
10872 .PHONY: maybe-html-dosutils html-dosutils
10873 maybe-html-dosutils:
10874 @if dosutils
10875 maybe-html-dosutils: html-dosutils
10877 html-dosutils: \
10878 configure-dosutils
10879 @: $(MAKE); $(unstage)
10880 @[ -f ./dosutils/Makefile ] || exit 0; \
10881 r=`${PWD_COMMAND}`; export r; \
10882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10883 $(HOST_EXPORTS) \
10884 for flag in $(EXTRA_HOST_FLAGS) ; do \
10885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10886 done; \
10887 echo "Doing html in dosutils" ; \
10888 (cd $(HOST_SUBDIR)/dosutils && \
10889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10891 "RANLIB=$${RANLIB}" \
10892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10893 html) \
10894 || exit 1
10896 @endif dosutils
10898 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10899 maybe-TAGS-dosutils:
10900 @if dosutils
10901 maybe-TAGS-dosutils: TAGS-dosutils
10903 TAGS-dosutils: \
10904 configure-dosutils
10905 @: $(MAKE); $(unstage)
10906 @[ -f ./dosutils/Makefile ] || exit 0; \
10907 r=`${PWD_COMMAND}`; export r; \
10908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10909 $(HOST_EXPORTS) \
10910 for flag in $(EXTRA_HOST_FLAGS) ; do \
10911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10912 done; \
10913 echo "Doing TAGS in dosutils" ; \
10914 (cd $(HOST_SUBDIR)/dosutils && \
10915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10917 "RANLIB=$${RANLIB}" \
10918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10919 TAGS) \
10920 || exit 1
10922 @endif dosutils
10924 .PHONY: maybe-install-info-dosutils install-info-dosutils
10925 maybe-install-info-dosutils:
10926 @if dosutils
10927 maybe-install-info-dosutils: install-info-dosutils
10929 install-info-dosutils: \
10930 configure-dosutils \
10931 info-dosutils
10932 @: $(MAKE); $(unstage)
10933 @[ -f ./dosutils/Makefile ] || exit 0; \
10934 r=`${PWD_COMMAND}`; export r; \
10935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10936 $(HOST_EXPORTS) \
10937 for flag in $(EXTRA_HOST_FLAGS) ; do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing install-info in dosutils" ; \
10941 (cd $(HOST_SUBDIR)/dosutils && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10946 install-info) \
10947 || exit 1
10949 @endif dosutils
10951 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10952 maybe-install-pdf-dosutils:
10953 @if dosutils
10954 maybe-install-pdf-dosutils: install-pdf-dosutils
10956 install-pdf-dosutils: \
10957 configure-dosutils \
10958 pdf-dosutils
10959 @: $(MAKE); $(unstage)
10960 @[ -f ./dosutils/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(HOST_EXPORTS) \
10964 for flag in $(EXTRA_HOST_FLAGS) ; do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 done; \
10967 echo "Doing install-pdf in dosutils" ; \
10968 (cd $(HOST_SUBDIR)/dosutils && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10973 install-pdf) \
10974 || exit 1
10976 @endif dosutils
10978 .PHONY: maybe-install-html-dosutils install-html-dosutils
10979 maybe-install-html-dosutils:
10980 @if dosutils
10981 maybe-install-html-dosutils: install-html-dosutils
10983 install-html-dosutils: \
10984 configure-dosutils \
10985 html-dosutils
10986 @: $(MAKE); $(unstage)
10987 @[ -f ./dosutils/Makefile ] || exit 0; \
10988 r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 $(HOST_EXPORTS) \
10991 for flag in $(EXTRA_HOST_FLAGS) ; do \
10992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10993 done; \
10994 echo "Doing install-html in dosutils" ; \
10995 (cd $(HOST_SUBDIR)/dosutils && \
10996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10998 "RANLIB=$${RANLIB}" \
10999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11000 install-html) \
11001 || exit 1
11003 @endif dosutils
11005 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
11006 maybe-installcheck-dosutils:
11007 @if dosutils
11008 maybe-installcheck-dosutils: installcheck-dosutils
11010 installcheck-dosutils: \
11011 configure-dosutils
11012 @: $(MAKE); $(unstage)
11013 @[ -f ./dosutils/Makefile ] || exit 0; \
11014 r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 $(HOST_EXPORTS) \
11017 for flag in $(EXTRA_HOST_FLAGS) ; do \
11018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11019 done; \
11020 echo "Doing installcheck in dosutils" ; \
11021 (cd $(HOST_SUBDIR)/dosutils && \
11022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11024 "RANLIB=$${RANLIB}" \
11025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11026 installcheck) \
11027 || exit 1
11029 @endif dosutils
11031 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
11032 maybe-mostlyclean-dosutils:
11033 @if dosutils
11034 maybe-mostlyclean-dosutils: mostlyclean-dosutils
11036 mostlyclean-dosutils:
11037 @: $(MAKE); $(unstage)
11038 @[ -f ./dosutils/Makefile ] || exit 0; \
11039 r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 $(HOST_EXPORTS) \
11042 for flag in $(EXTRA_HOST_FLAGS) ; do \
11043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11044 done; \
11045 echo "Doing mostlyclean in dosutils" ; \
11046 (cd $(HOST_SUBDIR)/dosutils && \
11047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11049 "RANLIB=$${RANLIB}" \
11050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11051 mostlyclean) \
11052 || exit 1
11054 @endif dosutils
11056 .PHONY: maybe-clean-dosutils clean-dosutils
11057 maybe-clean-dosutils:
11058 @if dosutils
11059 maybe-clean-dosutils: clean-dosutils
11061 clean-dosutils:
11062 @: $(MAKE); $(unstage)
11063 @[ -f ./dosutils/Makefile ] || exit 0; \
11064 r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(HOST_EXPORTS) \
11067 for flag in $(EXTRA_HOST_FLAGS) ; do \
11068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11069 done; \
11070 echo "Doing clean in dosutils" ; \
11071 (cd $(HOST_SUBDIR)/dosutils && \
11072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11074 "RANLIB=$${RANLIB}" \
11075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11076 clean) \
11077 || exit 1
11079 @endif dosutils
11081 .PHONY: maybe-distclean-dosutils distclean-dosutils
11082 maybe-distclean-dosutils:
11083 @if dosutils
11084 maybe-distclean-dosutils: distclean-dosutils
11086 distclean-dosutils:
11087 @: $(MAKE); $(unstage)
11088 @[ -f ./dosutils/Makefile ] || exit 0; \
11089 r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11091 $(HOST_EXPORTS) \
11092 for flag in $(EXTRA_HOST_FLAGS) ; do \
11093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11094 done; \
11095 echo "Doing distclean in dosutils" ; \
11096 (cd $(HOST_SUBDIR)/dosutils && \
11097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11099 "RANLIB=$${RANLIB}" \
11100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11101 distclean) \
11102 || exit 1
11104 @endif dosutils
11106 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
11107 maybe-maintainer-clean-dosutils:
11108 @if dosutils
11109 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
11111 maintainer-clean-dosutils:
11112 @: $(MAKE); $(unstage)
11113 @[ -f ./dosutils/Makefile ] || exit 0; \
11114 r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 $(HOST_EXPORTS) \
11117 for flag in $(EXTRA_HOST_FLAGS) ; do \
11118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11119 done; \
11120 echo "Doing maintainer-clean in dosutils" ; \
11121 (cd $(HOST_SUBDIR)/dosutils && \
11122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11124 "RANLIB=$${RANLIB}" \
11125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11126 maintainer-clean) \
11127 || exit 1
11129 @endif dosutils
11133 .PHONY: configure-etc maybe-configure-etc
11134 maybe-configure-etc:
11135 @if gcc-bootstrap
11136 configure-etc: stage_current
11137 @endif gcc-bootstrap
11138 @if etc
11139 maybe-configure-etc: configure-etc
11140 configure-etc:
11141 @: $(MAKE); $(unstage)
11142 @r=`${PWD_COMMAND}`; export r; \
11143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
11145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
11146 $(HOST_EXPORTS) \
11147 echo Configuring in $(HOST_SUBDIR)/etc; \
11148 cd "$(HOST_SUBDIR)/etc" || exit 1; \
11149 case $(srcdir) in \
11150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11151 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
11152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11153 esac; \
11154 srcdiroption="--srcdir=$${topdir}/etc"; \
11155 libsrcdir="$$s/etc"; \
11156 $(SHELL) $${libsrcdir}/configure \
11157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11158 --target=${target_alias} $${srcdiroption} \
11159 || exit 1
11160 @endif etc
11166 .PHONY: all-etc maybe-all-etc
11167 maybe-all-etc:
11168 @if gcc-bootstrap
11169 all-etc: stage_current
11170 @endif gcc-bootstrap
11171 @if etc
11172 TARGET-etc=all
11173 maybe-all-etc: all-etc
11174 all-etc: configure-etc
11175 @: $(MAKE); $(unstage)
11176 @r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 (cd $(HOST_SUBDIR)/etc && \
11180 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11181 $(TARGET-etc))
11182 @endif etc
11187 .PHONY: check-etc maybe-check-etc
11188 maybe-check-etc:
11189 @if etc
11190 maybe-check-etc: check-etc
11192 check-etc:
11193 @: $(MAKE); $(unstage)
11194 @r=`${PWD_COMMAND}`; export r; \
11195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11196 $(HOST_EXPORTS) \
11197 (cd $(HOST_SUBDIR)/etc && \
11198 $(MAKE) $(FLAGS_TO_PASS) check)
11200 @endif etc
11202 .PHONY: install-etc maybe-install-etc
11203 maybe-install-etc:
11204 @if etc
11205 maybe-install-etc: install-etc
11207 install-etc: installdirs
11208 @: $(MAKE); $(unstage)
11209 @r=`${PWD_COMMAND}`; export r; \
11210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11211 $(HOST_EXPORTS) \
11212 (cd $(HOST_SUBDIR)/etc && \
11213 $(MAKE) $(FLAGS_TO_PASS) install)
11215 @endif etc
11217 .PHONY: install-strip-etc maybe-install-strip-etc
11218 maybe-install-strip-etc:
11219 @if etc
11220 maybe-install-strip-etc: install-strip-etc
11222 install-strip-etc: installdirs
11223 @: $(MAKE); $(unstage)
11224 @r=`${PWD_COMMAND}`; export r; \
11225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11226 $(HOST_EXPORTS) \
11227 (cd $(HOST_SUBDIR)/etc && \
11228 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11230 @endif etc
11232 # Other targets (info, dvi, pdf, etc.)
11234 .PHONY: maybe-info-etc info-etc
11235 maybe-info-etc:
11236 @if etc
11237 maybe-info-etc: info-etc
11239 info-etc: \
11240 configure-etc
11241 @: $(MAKE); $(unstage)
11242 @[ -f ./etc/Makefile ] || exit 0; \
11243 r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 $(HOST_EXPORTS) \
11246 for flag in $(EXTRA_HOST_FLAGS) ; do \
11247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11248 done; \
11249 echo "Doing info in etc" ; \
11250 (cd $(HOST_SUBDIR)/etc && \
11251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11253 "RANLIB=$${RANLIB}" \
11254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11255 info) \
11256 || exit 1
11258 @endif etc
11260 .PHONY: maybe-dvi-etc dvi-etc
11261 maybe-dvi-etc:
11262 @if etc
11263 maybe-dvi-etc: dvi-etc
11265 dvi-etc: \
11266 configure-etc
11267 @: $(MAKE); $(unstage)
11268 @[ -f ./etc/Makefile ] || exit 0; \
11269 r=`${PWD_COMMAND}`; export r; \
11270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11271 $(HOST_EXPORTS) \
11272 for flag in $(EXTRA_HOST_FLAGS) ; do \
11273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11274 done; \
11275 echo "Doing dvi in etc" ; \
11276 (cd $(HOST_SUBDIR)/etc && \
11277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11279 "RANLIB=$${RANLIB}" \
11280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11281 dvi) \
11282 || exit 1
11284 @endif etc
11286 .PHONY: maybe-pdf-etc pdf-etc
11287 maybe-pdf-etc:
11288 @if etc
11289 maybe-pdf-etc: pdf-etc
11291 pdf-etc: \
11292 configure-etc
11293 @: $(MAKE); $(unstage)
11294 @[ -f ./etc/Makefile ] || exit 0; \
11295 r=`${PWD_COMMAND}`; export r; \
11296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11297 $(HOST_EXPORTS) \
11298 for flag in $(EXTRA_HOST_FLAGS) ; do \
11299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11300 done; \
11301 echo "Doing pdf in etc" ; \
11302 (cd $(HOST_SUBDIR)/etc && \
11303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11305 "RANLIB=$${RANLIB}" \
11306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11307 pdf) \
11308 || exit 1
11310 @endif etc
11312 .PHONY: maybe-html-etc html-etc
11313 maybe-html-etc:
11314 @if etc
11315 maybe-html-etc: html-etc
11317 html-etc: \
11318 configure-etc
11319 @: $(MAKE); $(unstage)
11320 @[ -f ./etc/Makefile ] || exit 0; \
11321 r=`${PWD_COMMAND}`; export r; \
11322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11323 $(HOST_EXPORTS) \
11324 for flag in $(EXTRA_HOST_FLAGS) ; do \
11325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11326 done; \
11327 echo "Doing html in etc" ; \
11328 (cd $(HOST_SUBDIR)/etc && \
11329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11331 "RANLIB=$${RANLIB}" \
11332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11333 html) \
11334 || exit 1
11336 @endif etc
11338 .PHONY: maybe-TAGS-etc TAGS-etc
11339 maybe-TAGS-etc:
11340 @if etc
11341 maybe-TAGS-etc: TAGS-etc
11343 TAGS-etc: \
11344 configure-etc
11345 @: $(MAKE); $(unstage)
11346 @[ -f ./etc/Makefile ] || exit 0; \
11347 r=`${PWD_COMMAND}`; export r; \
11348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 $(HOST_EXPORTS) \
11350 for flag in $(EXTRA_HOST_FLAGS) ; do \
11351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11352 done; \
11353 echo "Doing TAGS in etc" ; \
11354 (cd $(HOST_SUBDIR)/etc && \
11355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11357 "RANLIB=$${RANLIB}" \
11358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11359 TAGS) \
11360 || exit 1
11362 @endif etc
11364 .PHONY: maybe-install-info-etc install-info-etc
11365 maybe-install-info-etc:
11366 @if etc
11367 maybe-install-info-etc: install-info-etc
11369 install-info-etc: \
11370 configure-etc \
11371 info-etc
11372 @: $(MAKE); $(unstage)
11373 @[ -f ./etc/Makefile ] || exit 0; \
11374 r=`${PWD_COMMAND}`; export r; \
11375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11376 $(HOST_EXPORTS) \
11377 for flag in $(EXTRA_HOST_FLAGS) ; do \
11378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11379 done; \
11380 echo "Doing install-info in etc" ; \
11381 (cd $(HOST_SUBDIR)/etc && \
11382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11384 "RANLIB=$${RANLIB}" \
11385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11386 install-info) \
11387 || exit 1
11389 @endif etc
11391 .PHONY: maybe-install-pdf-etc install-pdf-etc
11392 maybe-install-pdf-etc:
11393 @if etc
11394 maybe-install-pdf-etc: install-pdf-etc
11396 install-pdf-etc: \
11397 configure-etc \
11398 pdf-etc
11399 @: $(MAKE); $(unstage)
11400 @[ -f ./etc/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 install-pdf in etc" ; \
11408 (cd $(HOST_SUBDIR)/etc && \
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 install-pdf) \
11414 || exit 1
11416 @endif etc
11418 .PHONY: maybe-install-html-etc install-html-etc
11419 maybe-install-html-etc:
11420 @if etc
11421 maybe-install-html-etc: install-html-etc
11423 install-html-etc: \
11424 configure-etc \
11425 html-etc
11426 @: $(MAKE); $(unstage)
11427 @[ -f ./etc/Makefile ] || exit 0; \
11428 r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(HOST_EXPORTS) \
11431 for flag in $(EXTRA_HOST_FLAGS) ; do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 done; \
11434 echo "Doing install-html in etc" ; \
11435 (cd $(HOST_SUBDIR)/etc && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11440 install-html) \
11441 || exit 1
11443 @endif etc
11445 .PHONY: maybe-installcheck-etc installcheck-etc
11446 maybe-installcheck-etc:
11447 @if etc
11448 maybe-installcheck-etc: installcheck-etc
11450 installcheck-etc: \
11451 configure-etc
11452 @: $(MAKE); $(unstage)
11453 @[ -f ./etc/Makefile ] || exit 0; \
11454 r=`${PWD_COMMAND}`; export r; \
11455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456 $(HOST_EXPORTS) \
11457 for flag in $(EXTRA_HOST_FLAGS) ; do \
11458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11459 done; \
11460 echo "Doing installcheck in etc" ; \
11461 (cd $(HOST_SUBDIR)/etc && \
11462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11464 "RANLIB=$${RANLIB}" \
11465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11466 installcheck) \
11467 || exit 1
11469 @endif etc
11471 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
11472 maybe-mostlyclean-etc:
11473 @if etc
11474 maybe-mostlyclean-etc: mostlyclean-etc
11476 mostlyclean-etc:
11477 @: $(MAKE); $(unstage)
11478 @[ -f ./etc/Makefile ] || exit 0; \
11479 r=`${PWD_COMMAND}`; export r; \
11480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11481 $(HOST_EXPORTS) \
11482 for flag in $(EXTRA_HOST_FLAGS) ; do \
11483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11484 done; \
11485 echo "Doing mostlyclean in etc" ; \
11486 (cd $(HOST_SUBDIR)/etc && \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489 "RANLIB=$${RANLIB}" \
11490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11491 mostlyclean) \
11492 || exit 1
11494 @endif etc
11496 .PHONY: maybe-clean-etc clean-etc
11497 maybe-clean-etc:
11498 @if etc
11499 maybe-clean-etc: clean-etc
11501 clean-etc:
11502 @: $(MAKE); $(unstage)
11503 @[ -f ./etc/Makefile ] || exit 0; \
11504 r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506 $(HOST_EXPORTS) \
11507 for flag in $(EXTRA_HOST_FLAGS) ; do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509 done; \
11510 echo "Doing clean in etc" ; \
11511 (cd $(HOST_SUBDIR)/etc && \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11516 clean) \
11517 || exit 1
11519 @endif etc
11521 .PHONY: maybe-distclean-etc distclean-etc
11522 maybe-distclean-etc:
11523 @if etc
11524 maybe-distclean-etc: distclean-etc
11526 distclean-etc:
11527 @: $(MAKE); $(unstage)
11528 @[ -f ./etc/Makefile ] || exit 0; \
11529 r=`${PWD_COMMAND}`; export r; \
11530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11531 $(HOST_EXPORTS) \
11532 for flag in $(EXTRA_HOST_FLAGS) ; do \
11533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11534 done; \
11535 echo "Doing distclean in etc" ; \
11536 (cd $(HOST_SUBDIR)/etc && \
11537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11539 "RANLIB=$${RANLIB}" \
11540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11541 distclean) \
11542 || exit 1
11544 @endif etc
11546 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
11547 maybe-maintainer-clean-etc:
11548 @if etc
11549 maybe-maintainer-clean-etc: maintainer-clean-etc
11551 maintainer-clean-etc:
11552 @: $(MAKE); $(unstage)
11553 @[ -f ./etc/Makefile ] || exit 0; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) ; do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing maintainer-clean in etc" ; \
11561 (cd $(HOST_SUBDIR)/etc && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11566 maintainer-clean) \
11567 || exit 1
11569 @endif etc
11573 .PHONY: configure-fastjar maybe-configure-fastjar
11574 maybe-configure-fastjar:
11575 @if gcc-bootstrap
11576 configure-fastjar: stage_current
11577 @endif gcc-bootstrap
11578 @if fastjar
11579 maybe-configure-fastjar: configure-fastjar
11580 configure-fastjar:
11581 @: $(MAKE); $(unstage)
11582 @r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11584 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
11585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
11586 $(HOST_EXPORTS) \
11587 echo Configuring in $(HOST_SUBDIR)/fastjar; \
11588 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
11589 case $(srcdir) in \
11590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11591 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
11592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11593 esac; \
11594 srcdiroption="--srcdir=$${topdir}/fastjar"; \
11595 libsrcdir="$$s/fastjar"; \
11596 $(SHELL) $${libsrcdir}/configure \
11597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11598 --target=${target_alias} $${srcdiroption} \
11599 || exit 1
11600 @endif fastjar
11606 .PHONY: all-fastjar maybe-all-fastjar
11607 maybe-all-fastjar:
11608 @if gcc-bootstrap
11609 all-fastjar: stage_current
11610 @endif gcc-bootstrap
11611 @if fastjar
11612 TARGET-fastjar=all
11613 maybe-all-fastjar: all-fastjar
11614 all-fastjar: configure-fastjar
11615 @: $(MAKE); $(unstage)
11616 @r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11618 $(HOST_EXPORTS) \
11619 (cd $(HOST_SUBDIR)/fastjar && \
11620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11621 $(TARGET-fastjar))
11622 @endif fastjar
11627 .PHONY: check-fastjar maybe-check-fastjar
11628 maybe-check-fastjar:
11629 @if fastjar
11630 maybe-check-fastjar: check-fastjar
11632 # This module is only tested in a native toolchain.
11633 check-fastjar:
11634 @: $(MAKE); $(unstage)
11635 @if [ '$(host)' = '$(target)' ] ; then \
11636 r=`${PWD_COMMAND}`; export r; \
11637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11638 $(HOST_EXPORTS) \
11639 (cd $(HOST_SUBDIR)/fastjar && \
11640 $(MAKE) $(FLAGS_TO_PASS) check); \
11643 @endif fastjar
11645 .PHONY: install-fastjar maybe-install-fastjar
11646 maybe-install-fastjar:
11647 @if fastjar
11648 maybe-install-fastjar: install-fastjar
11650 install-fastjar: installdirs
11651 @: $(MAKE); $(unstage)
11652 @r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(HOST_EXPORTS) \
11655 (cd $(HOST_SUBDIR)/fastjar && \
11656 $(MAKE) $(FLAGS_TO_PASS) install)
11658 @endif fastjar
11660 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
11661 maybe-install-strip-fastjar:
11662 @if fastjar
11663 maybe-install-strip-fastjar: install-strip-fastjar
11665 install-strip-fastjar: installdirs
11666 @: $(MAKE); $(unstage)
11667 @r=`${PWD_COMMAND}`; export r; \
11668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11669 $(HOST_EXPORTS) \
11670 (cd $(HOST_SUBDIR)/fastjar && \
11671 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11673 @endif fastjar
11675 # Other targets (info, dvi, pdf, etc.)
11677 .PHONY: maybe-info-fastjar info-fastjar
11678 maybe-info-fastjar:
11679 @if fastjar
11680 maybe-info-fastjar: info-fastjar
11682 info-fastjar: \
11683 configure-fastjar
11684 @: $(MAKE); $(unstage)
11685 @[ -f ./fastjar/Makefile ] || exit 0; \
11686 r=`${PWD_COMMAND}`; export r; \
11687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11688 $(HOST_EXPORTS) \
11689 for flag in $(EXTRA_HOST_FLAGS) ; do \
11690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11691 done; \
11692 echo "Doing info in fastjar" ; \
11693 (cd $(HOST_SUBDIR)/fastjar && \
11694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11696 "RANLIB=$${RANLIB}" \
11697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11698 info) \
11699 || exit 1
11701 @endif fastjar
11703 .PHONY: maybe-dvi-fastjar dvi-fastjar
11704 maybe-dvi-fastjar:
11705 @if fastjar
11706 maybe-dvi-fastjar: dvi-fastjar
11708 dvi-fastjar: \
11709 configure-fastjar
11710 @: $(MAKE); $(unstage)
11711 @[ -f ./fastjar/Makefile ] || exit 0; \
11712 r=`${PWD_COMMAND}`; export r; \
11713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714 $(HOST_EXPORTS) \
11715 for flag in $(EXTRA_HOST_FLAGS) ; do \
11716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11717 done; \
11718 echo "Doing dvi in fastjar" ; \
11719 (cd $(HOST_SUBDIR)/fastjar && \
11720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11722 "RANLIB=$${RANLIB}" \
11723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11724 dvi) \
11725 || exit 1
11727 @endif fastjar
11729 .PHONY: maybe-pdf-fastjar pdf-fastjar
11730 maybe-pdf-fastjar:
11731 @if fastjar
11732 maybe-pdf-fastjar: pdf-fastjar
11734 pdf-fastjar: \
11735 configure-fastjar
11736 @: $(MAKE); $(unstage)
11737 @[ -f ./fastjar/Makefile ] || exit 0; \
11738 r=`${PWD_COMMAND}`; export r; \
11739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 $(HOST_EXPORTS) \
11741 for flag in $(EXTRA_HOST_FLAGS) ; do \
11742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 done; \
11744 echo "Doing pdf in fastjar" ; \
11745 (cd $(HOST_SUBDIR)/fastjar && \
11746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11748 "RANLIB=$${RANLIB}" \
11749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11750 pdf) \
11751 || exit 1
11753 @endif fastjar
11755 .PHONY: maybe-html-fastjar html-fastjar
11756 maybe-html-fastjar:
11757 @if fastjar
11758 maybe-html-fastjar: html-fastjar
11760 html-fastjar: \
11761 configure-fastjar
11762 @: $(MAKE); $(unstage)
11763 @[ -f ./fastjar/Makefile ] || exit 0; \
11764 r=`${PWD_COMMAND}`; export r; \
11765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11766 $(HOST_EXPORTS) \
11767 for flag in $(EXTRA_HOST_FLAGS) ; do \
11768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11769 done; \
11770 echo "Doing html in fastjar" ; \
11771 (cd $(HOST_SUBDIR)/fastjar && \
11772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11774 "RANLIB=$${RANLIB}" \
11775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11776 html) \
11777 || exit 1
11779 @endif fastjar
11781 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
11782 maybe-TAGS-fastjar:
11783 @if fastjar
11784 maybe-TAGS-fastjar: TAGS-fastjar
11786 TAGS-fastjar: \
11787 configure-fastjar
11788 @: $(MAKE); $(unstage)
11789 @[ -f ./fastjar/Makefile ] || exit 0; \
11790 r=`${PWD_COMMAND}`; export r; \
11791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11792 $(HOST_EXPORTS) \
11793 for flag in $(EXTRA_HOST_FLAGS) ; do \
11794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11795 done; \
11796 echo "Doing TAGS in fastjar" ; \
11797 (cd $(HOST_SUBDIR)/fastjar && \
11798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11800 "RANLIB=$${RANLIB}" \
11801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11802 TAGS) \
11803 || exit 1
11805 @endif fastjar
11807 .PHONY: maybe-install-info-fastjar install-info-fastjar
11808 maybe-install-info-fastjar:
11809 @if fastjar
11810 maybe-install-info-fastjar: install-info-fastjar
11812 install-info-fastjar: \
11813 configure-fastjar \
11814 info-fastjar
11815 @: $(MAKE); $(unstage)
11816 @[ -f ./fastjar/Makefile ] || exit 0; \
11817 r=`${PWD_COMMAND}`; export r; \
11818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11819 $(HOST_EXPORTS) \
11820 for flag in $(EXTRA_HOST_FLAGS) ; do \
11821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11822 done; \
11823 echo "Doing install-info in fastjar" ; \
11824 (cd $(HOST_SUBDIR)/fastjar && \
11825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11827 "RANLIB=$${RANLIB}" \
11828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11829 install-info) \
11830 || exit 1
11832 @endif fastjar
11834 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
11835 maybe-install-pdf-fastjar:
11836 @if fastjar
11837 maybe-install-pdf-fastjar: install-pdf-fastjar
11839 install-pdf-fastjar: \
11840 configure-fastjar \
11841 pdf-fastjar
11842 @: $(MAKE); $(unstage)
11843 @[ -f ./fastjar/Makefile ] || exit 0; \
11844 r=`${PWD_COMMAND}`; export r; \
11845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11846 $(HOST_EXPORTS) \
11847 for flag in $(EXTRA_HOST_FLAGS) ; do \
11848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11849 done; \
11850 echo "Doing install-pdf in fastjar" ; \
11851 (cd $(HOST_SUBDIR)/fastjar && \
11852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11854 "RANLIB=$${RANLIB}" \
11855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11856 install-pdf) \
11857 || exit 1
11859 @endif fastjar
11861 .PHONY: maybe-install-html-fastjar install-html-fastjar
11862 maybe-install-html-fastjar:
11863 @if fastjar
11864 maybe-install-html-fastjar: install-html-fastjar
11866 install-html-fastjar: \
11867 configure-fastjar \
11868 html-fastjar
11869 @: $(MAKE); $(unstage)
11870 @[ -f ./fastjar/Makefile ] || exit 0; \
11871 r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 $(HOST_EXPORTS) \
11874 for flag in $(EXTRA_HOST_FLAGS) ; do \
11875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11876 done; \
11877 echo "Doing install-html in fastjar" ; \
11878 (cd $(HOST_SUBDIR)/fastjar && \
11879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11881 "RANLIB=$${RANLIB}" \
11882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11883 install-html) \
11884 || exit 1
11886 @endif fastjar
11888 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
11889 maybe-installcheck-fastjar:
11890 @if fastjar
11891 maybe-installcheck-fastjar: installcheck-fastjar
11893 installcheck-fastjar: \
11894 configure-fastjar
11895 @: $(MAKE); $(unstage)
11896 @[ -f ./fastjar/Makefile ] || exit 0; \
11897 r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(HOST_EXPORTS) \
11900 for flag in $(EXTRA_HOST_FLAGS) ; do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 echo "Doing installcheck in fastjar" ; \
11904 (cd $(HOST_SUBDIR)/fastjar && \
11905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11907 "RANLIB=$${RANLIB}" \
11908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11909 installcheck) \
11910 || exit 1
11912 @endif fastjar
11914 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11915 maybe-mostlyclean-fastjar:
11916 @if fastjar
11917 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11919 mostlyclean-fastjar:
11920 @: $(MAKE); $(unstage)
11921 @[ -f ./fastjar/Makefile ] || exit 0; \
11922 r=`${PWD_COMMAND}`; export r; \
11923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11924 $(HOST_EXPORTS) \
11925 for flag in $(EXTRA_HOST_FLAGS) ; do \
11926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11927 done; \
11928 echo "Doing mostlyclean in fastjar" ; \
11929 (cd $(HOST_SUBDIR)/fastjar && \
11930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11932 "RANLIB=$${RANLIB}" \
11933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11934 mostlyclean) \
11935 || exit 1
11937 @endif fastjar
11939 .PHONY: maybe-clean-fastjar clean-fastjar
11940 maybe-clean-fastjar:
11941 @if fastjar
11942 maybe-clean-fastjar: clean-fastjar
11944 clean-fastjar:
11945 @: $(MAKE); $(unstage)
11946 @[ -f ./fastjar/Makefile ] || exit 0; \
11947 r=`${PWD_COMMAND}`; export r; \
11948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11949 $(HOST_EXPORTS) \
11950 for flag in $(EXTRA_HOST_FLAGS) ; do \
11951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11952 done; \
11953 echo "Doing clean in fastjar" ; \
11954 (cd $(HOST_SUBDIR)/fastjar && \
11955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11957 "RANLIB=$${RANLIB}" \
11958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11959 clean) \
11960 || exit 1
11962 @endif fastjar
11964 .PHONY: maybe-distclean-fastjar distclean-fastjar
11965 maybe-distclean-fastjar:
11966 @if fastjar
11967 maybe-distclean-fastjar: distclean-fastjar
11969 distclean-fastjar:
11970 @: $(MAKE); $(unstage)
11971 @[ -f ./fastjar/Makefile ] || exit 0; \
11972 r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 $(HOST_EXPORTS) \
11975 for flag in $(EXTRA_HOST_FLAGS) ; do \
11976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11977 done; \
11978 echo "Doing distclean in fastjar" ; \
11979 (cd $(HOST_SUBDIR)/fastjar && \
11980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11982 "RANLIB=$${RANLIB}" \
11983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11984 distclean) \
11985 || exit 1
11987 @endif fastjar
11989 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11990 maybe-maintainer-clean-fastjar:
11991 @if fastjar
11992 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11994 maintainer-clean-fastjar:
11995 @: $(MAKE); $(unstage)
11996 @[ -f ./fastjar/Makefile ] || exit 0; \
11997 r=`${PWD_COMMAND}`; export r; \
11998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11999 $(HOST_EXPORTS) \
12000 for flag in $(EXTRA_HOST_FLAGS) ; do \
12001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12002 done; \
12003 echo "Doing maintainer-clean in fastjar" ; \
12004 (cd $(HOST_SUBDIR)/fastjar && \
12005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12007 "RANLIB=$${RANLIB}" \
12008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12009 maintainer-clean) \
12010 || exit 1
12012 @endif fastjar
12016 .PHONY: configure-fileutils maybe-configure-fileutils
12017 maybe-configure-fileutils:
12018 @if gcc-bootstrap
12019 configure-fileutils: stage_current
12020 @endif gcc-bootstrap
12021 @if fileutils
12022 maybe-configure-fileutils: configure-fileutils
12023 configure-fileutils:
12024 @: $(MAKE); $(unstage)
12025 @r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
12028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
12029 $(HOST_EXPORTS) \
12030 echo Configuring in $(HOST_SUBDIR)/fileutils; \
12031 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
12032 case $(srcdir) in \
12033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12034 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
12035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12036 esac; \
12037 srcdiroption="--srcdir=$${topdir}/fileutils"; \
12038 libsrcdir="$$s/fileutils"; \
12039 $(SHELL) $${libsrcdir}/configure \
12040 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12041 --target=${target_alias} $${srcdiroption} \
12042 || exit 1
12043 @endif fileutils
12049 .PHONY: all-fileutils maybe-all-fileutils
12050 maybe-all-fileutils:
12051 @if gcc-bootstrap
12052 all-fileutils: stage_current
12053 @endif gcc-bootstrap
12054 @if fileutils
12055 TARGET-fileutils=all
12056 maybe-all-fileutils: all-fileutils
12057 all-fileutils: configure-fileutils
12058 @: $(MAKE); $(unstage)
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 $(HOST_EXPORTS) \
12062 (cd $(HOST_SUBDIR)/fileutils && \
12063 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12064 $(TARGET-fileutils))
12065 @endif fileutils
12070 .PHONY: check-fileutils maybe-check-fileutils
12071 maybe-check-fileutils:
12072 @if fileutils
12073 maybe-check-fileutils: check-fileutils
12075 check-fileutils:
12076 @: $(MAKE); $(unstage)
12077 @r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(HOST_EXPORTS) \
12080 (cd $(HOST_SUBDIR)/fileutils && \
12081 $(MAKE) $(FLAGS_TO_PASS) check)
12083 @endif fileutils
12085 .PHONY: install-fileutils maybe-install-fileutils
12086 maybe-install-fileutils:
12087 @if fileutils
12088 maybe-install-fileutils: install-fileutils
12090 install-fileutils: installdirs
12091 @: $(MAKE); $(unstage)
12092 @r=`${PWD_COMMAND}`; export r; \
12093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 $(HOST_EXPORTS) \
12095 (cd $(HOST_SUBDIR)/fileutils && \
12096 $(MAKE) $(FLAGS_TO_PASS) install)
12098 @endif fileutils
12100 .PHONY: install-strip-fileutils maybe-install-strip-fileutils
12101 maybe-install-strip-fileutils:
12102 @if fileutils
12103 maybe-install-strip-fileutils: install-strip-fileutils
12105 install-strip-fileutils: installdirs
12106 @: $(MAKE); $(unstage)
12107 @r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 $(HOST_EXPORTS) \
12110 (cd $(HOST_SUBDIR)/fileutils && \
12111 $(MAKE) $(FLAGS_TO_PASS) install-strip)
12113 @endif fileutils
12115 # Other targets (info, dvi, pdf, etc.)
12117 .PHONY: maybe-info-fileutils info-fileutils
12118 maybe-info-fileutils:
12119 @if fileutils
12120 maybe-info-fileutils: info-fileutils
12122 info-fileutils: \
12123 configure-fileutils
12124 @: $(MAKE); $(unstage)
12125 @[ -f ./fileutils/Makefile ] || exit 0; \
12126 r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 $(HOST_EXPORTS) \
12129 for flag in $(EXTRA_HOST_FLAGS) ; do \
12130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12131 done; \
12132 echo "Doing info in fileutils" ; \
12133 (cd $(HOST_SUBDIR)/fileutils && \
12134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12136 "RANLIB=$${RANLIB}" \
12137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12138 info) \
12139 || exit 1
12141 @endif fileutils
12143 .PHONY: maybe-dvi-fileutils dvi-fileutils
12144 maybe-dvi-fileutils:
12145 @if fileutils
12146 maybe-dvi-fileutils: dvi-fileutils
12148 dvi-fileutils: \
12149 configure-fileutils
12150 @: $(MAKE); $(unstage)
12151 @[ -f ./fileutils/Makefile ] || exit 0; \
12152 r=`${PWD_COMMAND}`; export r; \
12153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12154 $(HOST_EXPORTS) \
12155 for flag in $(EXTRA_HOST_FLAGS) ; do \
12156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12157 done; \
12158 echo "Doing dvi in fileutils" ; \
12159 (cd $(HOST_SUBDIR)/fileutils && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12162 "RANLIB=$${RANLIB}" \
12163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12164 dvi) \
12165 || exit 1
12167 @endif fileutils
12169 .PHONY: maybe-pdf-fileutils pdf-fileutils
12170 maybe-pdf-fileutils:
12171 @if fileutils
12172 maybe-pdf-fileutils: pdf-fileutils
12174 pdf-fileutils: \
12175 configure-fileutils
12176 @: $(MAKE); $(unstage)
12177 @[ -f ./fileutils/Makefile ] || exit 0; \
12178 r=`${PWD_COMMAND}`; export r; \
12179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12180 $(HOST_EXPORTS) \
12181 for flag in $(EXTRA_HOST_FLAGS) ; do \
12182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12183 done; \
12184 echo "Doing pdf in fileutils" ; \
12185 (cd $(HOST_SUBDIR)/fileutils && \
12186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12188 "RANLIB=$${RANLIB}" \
12189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12190 pdf) \
12191 || exit 1
12193 @endif fileutils
12195 .PHONY: maybe-html-fileutils html-fileutils
12196 maybe-html-fileutils:
12197 @if fileutils
12198 maybe-html-fileutils: html-fileutils
12200 html-fileutils: \
12201 configure-fileutils
12202 @: $(MAKE); $(unstage)
12203 @[ -f ./fileutils/Makefile ] || exit 0; \
12204 r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12206 $(HOST_EXPORTS) \
12207 for flag in $(EXTRA_HOST_FLAGS) ; do \
12208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12209 done; \
12210 echo "Doing html in fileutils" ; \
12211 (cd $(HOST_SUBDIR)/fileutils && \
12212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12214 "RANLIB=$${RANLIB}" \
12215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12216 html) \
12217 || exit 1
12219 @endif fileutils
12221 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
12222 maybe-TAGS-fileutils:
12223 @if fileutils
12224 maybe-TAGS-fileutils: TAGS-fileutils
12226 TAGS-fileutils: \
12227 configure-fileutils
12228 @: $(MAKE); $(unstage)
12229 @[ -f ./fileutils/Makefile ] || exit 0; \
12230 r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12232 $(HOST_EXPORTS) \
12233 for flag in $(EXTRA_HOST_FLAGS) ; do \
12234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12235 done; \
12236 echo "Doing TAGS in fileutils" ; \
12237 (cd $(HOST_SUBDIR)/fileutils && \
12238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12240 "RANLIB=$${RANLIB}" \
12241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12242 TAGS) \
12243 || exit 1
12245 @endif fileutils
12247 .PHONY: maybe-install-info-fileutils install-info-fileutils
12248 maybe-install-info-fileutils:
12249 @if fileutils
12250 maybe-install-info-fileutils: install-info-fileutils
12252 install-info-fileutils: \
12253 configure-fileutils \
12254 info-fileutils
12255 @: $(MAKE); $(unstage)
12256 @[ -f ./fileutils/Makefile ] || exit 0; \
12257 r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259 $(HOST_EXPORTS) \
12260 for flag in $(EXTRA_HOST_FLAGS) ; do \
12261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12262 done; \
12263 echo "Doing install-info in fileutils" ; \
12264 (cd $(HOST_SUBDIR)/fileutils && \
12265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12267 "RANLIB=$${RANLIB}" \
12268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12269 install-info) \
12270 || exit 1
12272 @endif fileutils
12274 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
12275 maybe-install-pdf-fileutils:
12276 @if fileutils
12277 maybe-install-pdf-fileutils: install-pdf-fileutils
12279 install-pdf-fileutils: \
12280 configure-fileutils \
12281 pdf-fileutils
12282 @: $(MAKE); $(unstage)
12283 @[ -f ./fileutils/Makefile ] || exit 0; \
12284 r=`${PWD_COMMAND}`; export r; \
12285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12286 $(HOST_EXPORTS) \
12287 for flag in $(EXTRA_HOST_FLAGS) ; do \
12288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12289 done; \
12290 echo "Doing install-pdf in fileutils" ; \
12291 (cd $(HOST_SUBDIR)/fileutils && \
12292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12294 "RANLIB=$${RANLIB}" \
12295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12296 install-pdf) \
12297 || exit 1
12299 @endif fileutils
12301 .PHONY: maybe-install-html-fileutils install-html-fileutils
12302 maybe-install-html-fileutils:
12303 @if fileutils
12304 maybe-install-html-fileutils: install-html-fileutils
12306 install-html-fileutils: \
12307 configure-fileutils \
12308 html-fileutils
12309 @: $(MAKE); $(unstage)
12310 @[ -f ./fileutils/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(HOST_EXPORTS) \
12314 for flag in $(EXTRA_HOST_FLAGS) ; do \
12315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12316 done; \
12317 echo "Doing install-html in fileutils" ; \
12318 (cd $(HOST_SUBDIR)/fileutils && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12321 "RANLIB=$${RANLIB}" \
12322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12323 install-html) \
12324 || exit 1
12326 @endif fileutils
12328 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
12329 maybe-installcheck-fileutils:
12330 @if fileutils
12331 maybe-installcheck-fileutils: installcheck-fileutils
12333 installcheck-fileutils: \
12334 configure-fileutils
12335 @: $(MAKE); $(unstage)
12336 @[ -f ./fileutils/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing installcheck in fileutils" ; \
12344 (cd $(HOST_SUBDIR)/fileutils && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12349 installcheck) \
12350 || exit 1
12352 @endif fileutils
12354 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
12355 maybe-mostlyclean-fileutils:
12356 @if fileutils
12357 maybe-mostlyclean-fileutils: mostlyclean-fileutils
12359 mostlyclean-fileutils:
12360 @: $(MAKE); $(unstage)
12361 @[ -f ./fileutils/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing mostlyclean in fileutils" ; \
12369 (cd $(HOST_SUBDIR)/fileutils && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12374 mostlyclean) \
12375 || exit 1
12377 @endif fileutils
12379 .PHONY: maybe-clean-fileutils clean-fileutils
12380 maybe-clean-fileutils:
12381 @if fileutils
12382 maybe-clean-fileutils: clean-fileutils
12384 clean-fileutils:
12385 @: $(MAKE); $(unstage)
12386 @[ -f ./fileutils/Makefile ] || exit 0; \
12387 r=`${PWD_COMMAND}`; export r; \
12388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12389 $(HOST_EXPORTS) \
12390 for flag in $(EXTRA_HOST_FLAGS) ; do \
12391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12392 done; \
12393 echo "Doing clean in fileutils" ; \
12394 (cd $(HOST_SUBDIR)/fileutils && \
12395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12397 "RANLIB=$${RANLIB}" \
12398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12399 clean) \
12400 || exit 1
12402 @endif fileutils
12404 .PHONY: maybe-distclean-fileutils distclean-fileutils
12405 maybe-distclean-fileutils:
12406 @if fileutils
12407 maybe-distclean-fileutils: distclean-fileutils
12409 distclean-fileutils:
12410 @: $(MAKE); $(unstage)
12411 @[ -f ./fileutils/Makefile ] || exit 0; \
12412 r=`${PWD_COMMAND}`; export r; \
12413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12414 $(HOST_EXPORTS) \
12415 for flag in $(EXTRA_HOST_FLAGS) ; do \
12416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12417 done; \
12418 echo "Doing distclean in fileutils" ; \
12419 (cd $(HOST_SUBDIR)/fileutils && \
12420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12422 "RANLIB=$${RANLIB}" \
12423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12424 distclean) \
12425 || exit 1
12427 @endif fileutils
12429 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
12430 maybe-maintainer-clean-fileutils:
12431 @if fileutils
12432 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
12434 maintainer-clean-fileutils:
12435 @: $(MAKE); $(unstage)
12436 @[ -f ./fileutils/Makefile ] || exit 0; \
12437 r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439 $(HOST_EXPORTS) \
12440 for flag in $(EXTRA_HOST_FLAGS) ; do \
12441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442 done; \
12443 echo "Doing maintainer-clean in fileutils" ; \
12444 (cd $(HOST_SUBDIR)/fileutils && \
12445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447 "RANLIB=$${RANLIB}" \
12448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12449 maintainer-clean) \
12450 || exit 1
12452 @endif fileutils
12456 .PHONY: configure-findutils maybe-configure-findutils
12457 maybe-configure-findutils:
12458 @if gcc-bootstrap
12459 configure-findutils: stage_current
12460 @endif gcc-bootstrap
12461 @if findutils
12462 maybe-configure-findutils: configure-findutils
12463 configure-findutils:
12464 @: $(MAKE); $(unstage)
12465 @r=`${PWD_COMMAND}`; export r; \
12466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12467 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
12468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
12469 $(HOST_EXPORTS) \
12470 echo Configuring in $(HOST_SUBDIR)/findutils; \
12471 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
12472 case $(srcdir) in \
12473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12474 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
12475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12476 esac; \
12477 srcdiroption="--srcdir=$${topdir}/findutils"; \
12478 libsrcdir="$$s/findutils"; \
12479 $(SHELL) $${libsrcdir}/configure \
12480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12481 --target=${target_alias} $${srcdiroption} \
12482 || exit 1
12483 @endif findutils
12489 .PHONY: all-findutils maybe-all-findutils
12490 maybe-all-findutils:
12491 @if gcc-bootstrap
12492 all-findutils: stage_current
12493 @endif gcc-bootstrap
12494 @if findutils
12495 TARGET-findutils=all
12496 maybe-all-findutils: all-findutils
12497 all-findutils: configure-findutils
12498 @: $(MAKE); $(unstage)
12499 @r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 $(HOST_EXPORTS) \
12502 (cd $(HOST_SUBDIR)/findutils && \
12503 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12504 $(TARGET-findutils))
12505 @endif findutils
12510 .PHONY: check-findutils maybe-check-findutils
12511 maybe-check-findutils:
12512 @if findutils
12513 maybe-check-findutils: check-findutils
12515 check-findutils:
12516 @: $(MAKE); $(unstage)
12517 @r=`${PWD_COMMAND}`; export r; \
12518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 $(HOST_EXPORTS) \
12520 (cd $(HOST_SUBDIR)/findutils && \
12521 $(MAKE) $(FLAGS_TO_PASS) check)
12523 @endif findutils
12525 .PHONY: install-findutils maybe-install-findutils
12526 maybe-install-findutils:
12527 @if findutils
12528 maybe-install-findutils: install-findutils
12530 install-findutils: installdirs
12531 @: $(MAKE); $(unstage)
12532 @r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12534 $(HOST_EXPORTS) \
12535 (cd $(HOST_SUBDIR)/findutils && \
12536 $(MAKE) $(FLAGS_TO_PASS) install)
12538 @endif findutils
12540 .PHONY: install-strip-findutils maybe-install-strip-findutils
12541 maybe-install-strip-findutils:
12542 @if findutils
12543 maybe-install-strip-findutils: install-strip-findutils
12545 install-strip-findutils: installdirs
12546 @: $(MAKE); $(unstage)
12547 @r=`${PWD_COMMAND}`; export r; \
12548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 $(HOST_EXPORTS) \
12550 (cd $(HOST_SUBDIR)/findutils && \
12551 $(MAKE) $(FLAGS_TO_PASS) install-strip)
12553 @endif findutils
12555 # Other targets (info, dvi, pdf, etc.)
12557 .PHONY: maybe-info-findutils info-findutils
12558 maybe-info-findutils:
12559 @if findutils
12560 maybe-info-findutils: info-findutils
12562 info-findutils: \
12563 configure-findutils
12564 @: $(MAKE); $(unstage)
12565 @[ -f ./findutils/Makefile ] || exit 0; \
12566 r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 $(HOST_EXPORTS) \
12569 for flag in $(EXTRA_HOST_FLAGS) ; do \
12570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12571 done; \
12572 echo "Doing info in findutils" ; \
12573 (cd $(HOST_SUBDIR)/findutils && \
12574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12576 "RANLIB=$${RANLIB}" \
12577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12578 info) \
12579 || exit 1
12581 @endif findutils
12583 .PHONY: maybe-dvi-findutils dvi-findutils
12584 maybe-dvi-findutils:
12585 @if findutils
12586 maybe-dvi-findutils: dvi-findutils
12588 dvi-findutils: \
12589 configure-findutils
12590 @: $(MAKE); $(unstage)
12591 @[ -f ./findutils/Makefile ] || exit 0; \
12592 r=`${PWD_COMMAND}`; export r; \
12593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12594 $(HOST_EXPORTS) \
12595 for flag in $(EXTRA_HOST_FLAGS) ; do \
12596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12597 done; \
12598 echo "Doing dvi in findutils" ; \
12599 (cd $(HOST_SUBDIR)/findutils && \
12600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12602 "RANLIB=$${RANLIB}" \
12603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12604 dvi) \
12605 || exit 1
12607 @endif findutils
12609 .PHONY: maybe-pdf-findutils pdf-findutils
12610 maybe-pdf-findutils:
12611 @if findutils
12612 maybe-pdf-findutils: pdf-findutils
12614 pdf-findutils: \
12615 configure-findutils
12616 @: $(MAKE); $(unstage)
12617 @[ -f ./findutils/Makefile ] || exit 0; \
12618 r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 $(HOST_EXPORTS) \
12621 for flag in $(EXTRA_HOST_FLAGS) ; do \
12622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12623 done; \
12624 echo "Doing pdf in findutils" ; \
12625 (cd $(HOST_SUBDIR)/findutils && \
12626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12628 "RANLIB=$${RANLIB}" \
12629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12630 pdf) \
12631 || exit 1
12633 @endif findutils
12635 .PHONY: maybe-html-findutils html-findutils
12636 maybe-html-findutils:
12637 @if findutils
12638 maybe-html-findutils: html-findutils
12640 html-findutils: \
12641 configure-findutils
12642 @: $(MAKE); $(unstage)
12643 @[ -f ./findutils/Makefile ] || exit 0; \
12644 r=`${PWD_COMMAND}`; export r; \
12645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 $(HOST_EXPORTS) \
12647 for flag in $(EXTRA_HOST_FLAGS) ; do \
12648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12649 done; \
12650 echo "Doing html in findutils" ; \
12651 (cd $(HOST_SUBDIR)/findutils && \
12652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12654 "RANLIB=$${RANLIB}" \
12655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12656 html) \
12657 || exit 1
12659 @endif findutils
12661 .PHONY: maybe-TAGS-findutils TAGS-findutils
12662 maybe-TAGS-findutils:
12663 @if findutils
12664 maybe-TAGS-findutils: TAGS-findutils
12666 TAGS-findutils: \
12667 configure-findutils
12668 @: $(MAKE); $(unstage)
12669 @[ -f ./findutils/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(HOST_EXPORTS) \
12673 for flag in $(EXTRA_HOST_FLAGS) ; do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing TAGS in findutils" ; \
12677 (cd $(HOST_SUBDIR)/findutils && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12682 TAGS) \
12683 || exit 1
12685 @endif findutils
12687 .PHONY: maybe-install-info-findutils install-info-findutils
12688 maybe-install-info-findutils:
12689 @if findutils
12690 maybe-install-info-findutils: install-info-findutils
12692 install-info-findutils: \
12693 configure-findutils \
12694 info-findutils
12695 @: $(MAKE); $(unstage)
12696 @[ -f ./findutils/Makefile ] || exit 0; \
12697 r=`${PWD_COMMAND}`; export r; \
12698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12699 $(HOST_EXPORTS) \
12700 for flag in $(EXTRA_HOST_FLAGS) ; do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12702 done; \
12703 echo "Doing install-info in findutils" ; \
12704 (cd $(HOST_SUBDIR)/findutils && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12709 install-info) \
12710 || exit 1
12712 @endif findutils
12714 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
12715 maybe-install-pdf-findutils:
12716 @if findutils
12717 maybe-install-pdf-findutils: install-pdf-findutils
12719 install-pdf-findutils: \
12720 configure-findutils \
12721 pdf-findutils
12722 @: $(MAKE); $(unstage)
12723 @[ -f ./findutils/Makefile ] || exit 0; \
12724 r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 $(HOST_EXPORTS) \
12727 for flag in $(EXTRA_HOST_FLAGS) ; do \
12728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729 done; \
12730 echo "Doing install-pdf in findutils" ; \
12731 (cd $(HOST_SUBDIR)/findutils && \
12732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734 "RANLIB=$${RANLIB}" \
12735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12736 install-pdf) \
12737 || exit 1
12739 @endif findutils
12741 .PHONY: maybe-install-html-findutils install-html-findutils
12742 maybe-install-html-findutils:
12743 @if findutils
12744 maybe-install-html-findutils: install-html-findutils
12746 install-html-findutils: \
12747 configure-findutils \
12748 html-findutils
12749 @: $(MAKE); $(unstage)
12750 @[ -f ./findutils/Makefile ] || exit 0; \
12751 r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(HOST_EXPORTS) \
12754 for flag in $(EXTRA_HOST_FLAGS) ; do \
12755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12756 done; \
12757 echo "Doing install-html in findutils" ; \
12758 (cd $(HOST_SUBDIR)/findutils && \
12759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12761 "RANLIB=$${RANLIB}" \
12762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12763 install-html) \
12764 || exit 1
12766 @endif findutils
12768 .PHONY: maybe-installcheck-findutils installcheck-findutils
12769 maybe-installcheck-findutils:
12770 @if findutils
12771 maybe-installcheck-findutils: installcheck-findutils
12773 installcheck-findutils: \
12774 configure-findutils
12775 @: $(MAKE); $(unstage)
12776 @[ -f ./findutils/Makefile ] || exit 0; \
12777 r=`${PWD_COMMAND}`; export r; \
12778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12779 $(HOST_EXPORTS) \
12780 for flag in $(EXTRA_HOST_FLAGS) ; do \
12781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12782 done; \
12783 echo "Doing installcheck in findutils" ; \
12784 (cd $(HOST_SUBDIR)/findutils && \
12785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12787 "RANLIB=$${RANLIB}" \
12788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12789 installcheck) \
12790 || exit 1
12792 @endif findutils
12794 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
12795 maybe-mostlyclean-findutils:
12796 @if findutils
12797 maybe-mostlyclean-findutils: mostlyclean-findutils
12799 mostlyclean-findutils:
12800 @: $(MAKE); $(unstage)
12801 @[ -f ./findutils/Makefile ] || exit 0; \
12802 r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 $(HOST_EXPORTS) \
12805 for flag in $(EXTRA_HOST_FLAGS) ; do \
12806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12807 done; \
12808 echo "Doing mostlyclean in findutils" ; \
12809 (cd $(HOST_SUBDIR)/findutils && \
12810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12812 "RANLIB=$${RANLIB}" \
12813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12814 mostlyclean) \
12815 || exit 1
12817 @endif findutils
12819 .PHONY: maybe-clean-findutils clean-findutils
12820 maybe-clean-findutils:
12821 @if findutils
12822 maybe-clean-findutils: clean-findutils
12824 clean-findutils:
12825 @: $(MAKE); $(unstage)
12826 @[ -f ./findutils/Makefile ] || exit 0; \
12827 r=`${PWD_COMMAND}`; export r; \
12828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 $(HOST_EXPORTS) \
12830 for flag in $(EXTRA_HOST_FLAGS) ; do \
12831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12832 done; \
12833 echo "Doing clean in findutils" ; \
12834 (cd $(HOST_SUBDIR)/findutils && \
12835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12837 "RANLIB=$${RANLIB}" \
12838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12839 clean) \
12840 || exit 1
12842 @endif findutils
12844 .PHONY: maybe-distclean-findutils distclean-findutils
12845 maybe-distclean-findutils:
12846 @if findutils
12847 maybe-distclean-findutils: distclean-findutils
12849 distclean-findutils:
12850 @: $(MAKE); $(unstage)
12851 @[ -f ./findutils/Makefile ] || exit 0; \
12852 r=`${PWD_COMMAND}`; export r; \
12853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12854 $(HOST_EXPORTS) \
12855 for flag in $(EXTRA_HOST_FLAGS) ; do \
12856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12857 done; \
12858 echo "Doing distclean in findutils" ; \
12859 (cd $(HOST_SUBDIR)/findutils && \
12860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12862 "RANLIB=$${RANLIB}" \
12863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12864 distclean) \
12865 || exit 1
12867 @endif findutils
12869 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
12870 maybe-maintainer-clean-findutils:
12871 @if findutils
12872 maybe-maintainer-clean-findutils: maintainer-clean-findutils
12874 maintainer-clean-findutils:
12875 @: $(MAKE); $(unstage)
12876 @[ -f ./findutils/Makefile ] || exit 0; \
12877 r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 $(HOST_EXPORTS) \
12880 for flag in $(EXTRA_HOST_FLAGS) ; do \
12881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 done; \
12883 echo "Doing maintainer-clean in findutils" ; \
12884 (cd $(HOST_SUBDIR)/findutils && \
12885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12887 "RANLIB=$${RANLIB}" \
12888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12889 maintainer-clean) \
12890 || exit 1
12892 @endif findutils
12896 .PHONY: configure-find maybe-configure-find
12897 maybe-configure-find:
12898 @if gcc-bootstrap
12899 configure-find: stage_current
12900 @endif gcc-bootstrap
12901 @if find
12902 maybe-configure-find: configure-find
12903 configure-find:
12904 @: $(MAKE); $(unstage)
12905 @r=`${PWD_COMMAND}`; export r; \
12906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12907 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
12908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
12909 $(HOST_EXPORTS) \
12910 echo Configuring in $(HOST_SUBDIR)/find; \
12911 cd "$(HOST_SUBDIR)/find" || exit 1; \
12912 case $(srcdir) in \
12913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12914 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
12915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12916 esac; \
12917 srcdiroption="--srcdir=$${topdir}/find"; \
12918 libsrcdir="$$s/find"; \
12919 $(SHELL) $${libsrcdir}/configure \
12920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12921 --target=${target_alias} $${srcdiroption} \
12922 || exit 1
12923 @endif find
12929 .PHONY: all-find maybe-all-find
12930 maybe-all-find:
12931 @if gcc-bootstrap
12932 all-find: stage_current
12933 @endif gcc-bootstrap
12934 @if find
12935 TARGET-find=all
12936 maybe-all-find: all-find
12937 all-find: configure-find
12938 @: $(MAKE); $(unstage)
12939 @r=`${PWD_COMMAND}`; export r; \
12940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 $(HOST_EXPORTS) \
12942 (cd $(HOST_SUBDIR)/find && \
12943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12944 $(TARGET-find))
12945 @endif find
12950 .PHONY: check-find maybe-check-find
12951 maybe-check-find:
12952 @if find
12953 maybe-check-find: check-find
12955 check-find:
12956 @: $(MAKE); $(unstage)
12957 @r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 $(HOST_EXPORTS) \
12960 (cd $(HOST_SUBDIR)/find && \
12961 $(MAKE) $(FLAGS_TO_PASS) check)
12963 @endif find
12965 .PHONY: install-find maybe-install-find
12966 maybe-install-find:
12967 @if find
12968 maybe-install-find: install-find
12970 install-find: installdirs
12971 @: $(MAKE); $(unstage)
12972 @r=`${PWD_COMMAND}`; export r; \
12973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12974 $(HOST_EXPORTS) \
12975 (cd $(HOST_SUBDIR)/find && \
12976 $(MAKE) $(FLAGS_TO_PASS) install)
12978 @endif find
12980 .PHONY: install-strip-find maybe-install-strip-find
12981 maybe-install-strip-find:
12982 @if find
12983 maybe-install-strip-find: install-strip-find
12985 install-strip-find: installdirs
12986 @: $(MAKE); $(unstage)
12987 @r=`${PWD_COMMAND}`; export r; \
12988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 $(HOST_EXPORTS) \
12990 (cd $(HOST_SUBDIR)/find && \
12991 $(MAKE) $(FLAGS_TO_PASS) install-strip)
12993 @endif find
12995 # Other targets (info, dvi, pdf, etc.)
12997 .PHONY: maybe-info-find info-find
12998 maybe-info-find:
12999 @if find
13000 maybe-info-find: info-find
13002 info-find: \
13003 configure-find
13004 @: $(MAKE); $(unstage)
13005 @[ -f ./find/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(HOST_EXPORTS) \
13009 for flag in $(EXTRA_HOST_FLAGS) ; do \
13010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13011 done; \
13012 echo "Doing info in find" ; \
13013 (cd $(HOST_SUBDIR)/find && \
13014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13016 "RANLIB=$${RANLIB}" \
13017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13018 info) \
13019 || exit 1
13021 @endif find
13023 .PHONY: maybe-dvi-find dvi-find
13024 maybe-dvi-find:
13025 @if find
13026 maybe-dvi-find: dvi-find
13028 dvi-find: \
13029 configure-find
13030 @: $(MAKE); $(unstage)
13031 @[ -f ./find/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) ; do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing dvi in find" ; \
13039 (cd $(HOST_SUBDIR)/find && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13044 dvi) \
13045 || exit 1
13047 @endif find
13049 .PHONY: maybe-pdf-find pdf-find
13050 maybe-pdf-find:
13051 @if find
13052 maybe-pdf-find: pdf-find
13054 pdf-find: \
13055 configure-find
13056 @: $(MAKE); $(unstage)
13057 @[ -f ./find/Makefile ] || exit 0; \
13058 r=`${PWD_COMMAND}`; export r; \
13059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13060 $(HOST_EXPORTS) \
13061 for flag in $(EXTRA_HOST_FLAGS) ; do \
13062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13063 done; \
13064 echo "Doing pdf in find" ; \
13065 (cd $(HOST_SUBDIR)/find && \
13066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13068 "RANLIB=$${RANLIB}" \
13069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13070 pdf) \
13071 || exit 1
13073 @endif find
13075 .PHONY: maybe-html-find html-find
13076 maybe-html-find:
13077 @if find
13078 maybe-html-find: html-find
13080 html-find: \
13081 configure-find
13082 @: $(MAKE); $(unstage)
13083 @[ -f ./find/Makefile ] || exit 0; \
13084 r=`${PWD_COMMAND}`; export r; \
13085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13086 $(HOST_EXPORTS) \
13087 for flag in $(EXTRA_HOST_FLAGS) ; do \
13088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13089 done; \
13090 echo "Doing html in find" ; \
13091 (cd $(HOST_SUBDIR)/find && \
13092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13094 "RANLIB=$${RANLIB}" \
13095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13096 html) \
13097 || exit 1
13099 @endif find
13101 .PHONY: maybe-TAGS-find TAGS-find
13102 maybe-TAGS-find:
13103 @if find
13104 maybe-TAGS-find: TAGS-find
13106 TAGS-find: \
13107 configure-find
13108 @: $(MAKE); $(unstage)
13109 @[ -f ./find/Makefile ] || exit 0; \
13110 r=`${PWD_COMMAND}`; export r; \
13111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13112 $(HOST_EXPORTS) \
13113 for flag in $(EXTRA_HOST_FLAGS) ; do \
13114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13115 done; \
13116 echo "Doing TAGS in find" ; \
13117 (cd $(HOST_SUBDIR)/find && \
13118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13120 "RANLIB=$${RANLIB}" \
13121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13122 TAGS) \
13123 || exit 1
13125 @endif find
13127 .PHONY: maybe-install-info-find install-info-find
13128 maybe-install-info-find:
13129 @if find
13130 maybe-install-info-find: install-info-find
13132 install-info-find: \
13133 configure-find \
13134 info-find
13135 @: $(MAKE); $(unstage)
13136 @[ -f ./find/Makefile ] || exit 0; \
13137 r=`${PWD_COMMAND}`; export r; \
13138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139 $(HOST_EXPORTS) \
13140 for flag in $(EXTRA_HOST_FLAGS) ; do \
13141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13142 done; \
13143 echo "Doing install-info in find" ; \
13144 (cd $(HOST_SUBDIR)/find && \
13145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13147 "RANLIB=$${RANLIB}" \
13148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13149 install-info) \
13150 || exit 1
13152 @endif find
13154 .PHONY: maybe-install-pdf-find install-pdf-find
13155 maybe-install-pdf-find:
13156 @if find
13157 maybe-install-pdf-find: install-pdf-find
13159 install-pdf-find: \
13160 configure-find \
13161 pdf-find
13162 @: $(MAKE); $(unstage)
13163 @[ -f ./find/Makefile ] || exit 0; \
13164 r=`${PWD_COMMAND}`; export r; \
13165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13166 $(HOST_EXPORTS) \
13167 for flag in $(EXTRA_HOST_FLAGS) ; do \
13168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13169 done; \
13170 echo "Doing install-pdf in find" ; \
13171 (cd $(HOST_SUBDIR)/find && \
13172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13174 "RANLIB=$${RANLIB}" \
13175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13176 install-pdf) \
13177 || exit 1
13179 @endif find
13181 .PHONY: maybe-install-html-find install-html-find
13182 maybe-install-html-find:
13183 @if find
13184 maybe-install-html-find: install-html-find
13186 install-html-find: \
13187 configure-find \
13188 html-find
13189 @: $(MAKE); $(unstage)
13190 @[ -f ./find/Makefile ] || exit 0; \
13191 r=`${PWD_COMMAND}`; export r; \
13192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13193 $(HOST_EXPORTS) \
13194 for flag in $(EXTRA_HOST_FLAGS) ; do \
13195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13196 done; \
13197 echo "Doing install-html in find" ; \
13198 (cd $(HOST_SUBDIR)/find && \
13199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13201 "RANLIB=$${RANLIB}" \
13202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13203 install-html) \
13204 || exit 1
13206 @endif find
13208 .PHONY: maybe-installcheck-find installcheck-find
13209 maybe-installcheck-find:
13210 @if find
13211 maybe-installcheck-find: installcheck-find
13213 installcheck-find: \
13214 configure-find
13215 @: $(MAKE); $(unstage)
13216 @[ -f ./find/Makefile ] || exit 0; \
13217 r=`${PWD_COMMAND}`; export r; \
13218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13219 $(HOST_EXPORTS) \
13220 for flag in $(EXTRA_HOST_FLAGS) ; do \
13221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13222 done; \
13223 echo "Doing installcheck in find" ; \
13224 (cd $(HOST_SUBDIR)/find && \
13225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13227 "RANLIB=$${RANLIB}" \
13228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13229 installcheck) \
13230 || exit 1
13232 @endif find
13234 .PHONY: maybe-mostlyclean-find mostlyclean-find
13235 maybe-mostlyclean-find:
13236 @if find
13237 maybe-mostlyclean-find: mostlyclean-find
13239 mostlyclean-find:
13240 @: $(MAKE); $(unstage)
13241 @[ -f ./find/Makefile ] || exit 0; \
13242 r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13244 $(HOST_EXPORTS) \
13245 for flag in $(EXTRA_HOST_FLAGS) ; do \
13246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13247 done; \
13248 echo "Doing mostlyclean in find" ; \
13249 (cd $(HOST_SUBDIR)/find && \
13250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13252 "RANLIB=$${RANLIB}" \
13253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13254 mostlyclean) \
13255 || exit 1
13257 @endif find
13259 .PHONY: maybe-clean-find clean-find
13260 maybe-clean-find:
13261 @if find
13262 maybe-clean-find: clean-find
13264 clean-find:
13265 @: $(MAKE); $(unstage)
13266 @[ -f ./find/Makefile ] || exit 0; \
13267 r=`${PWD_COMMAND}`; export r; \
13268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13269 $(HOST_EXPORTS) \
13270 for flag in $(EXTRA_HOST_FLAGS) ; do \
13271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13272 done; \
13273 echo "Doing clean in find" ; \
13274 (cd $(HOST_SUBDIR)/find && \
13275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13277 "RANLIB=$${RANLIB}" \
13278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13279 clean) \
13280 || exit 1
13282 @endif find
13284 .PHONY: maybe-distclean-find distclean-find
13285 maybe-distclean-find:
13286 @if find
13287 maybe-distclean-find: distclean-find
13289 distclean-find:
13290 @: $(MAKE); $(unstage)
13291 @[ -f ./find/Makefile ] || exit 0; \
13292 r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 $(HOST_EXPORTS) \
13295 for flag in $(EXTRA_HOST_FLAGS) ; do \
13296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13297 done; \
13298 echo "Doing distclean in find" ; \
13299 (cd $(HOST_SUBDIR)/find && \
13300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13302 "RANLIB=$${RANLIB}" \
13303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13304 distclean) \
13305 || exit 1
13307 @endif find
13309 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
13310 maybe-maintainer-clean-find:
13311 @if find
13312 maybe-maintainer-clean-find: maintainer-clean-find
13314 maintainer-clean-find:
13315 @: $(MAKE); $(unstage)
13316 @[ -f ./find/Makefile ] || exit 0; \
13317 r=`${PWD_COMMAND}`; export r; \
13318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13319 $(HOST_EXPORTS) \
13320 for flag in $(EXTRA_HOST_FLAGS) ; do \
13321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13322 done; \
13323 echo "Doing maintainer-clean in find" ; \
13324 (cd $(HOST_SUBDIR)/find && \
13325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13327 "RANLIB=$${RANLIB}" \
13328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13329 maintainer-clean) \
13330 || exit 1
13332 @endif find
13336 .PHONY: configure-fixincludes maybe-configure-fixincludes
13337 maybe-configure-fixincludes:
13338 @if gcc-bootstrap
13339 configure-fixincludes: stage_current
13340 @endif gcc-bootstrap
13341 @if fixincludes
13342 maybe-configure-fixincludes: configure-fixincludes
13343 configure-fixincludes:
13344 @: $(MAKE); $(unstage)
13345 @r=`${PWD_COMMAND}`; export r; \
13346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13347 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
13348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
13349 $(HOST_EXPORTS) \
13350 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
13351 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
13352 case $(srcdir) in \
13353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13354 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
13355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13356 esac; \
13357 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
13358 libsrcdir="$$s/fixincludes"; \
13359 $(SHELL) $${libsrcdir}/configure \
13360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13361 --target=${target_alias} $${srcdiroption} \
13362 || exit 1
13363 @endif fixincludes
13369 .PHONY: all-fixincludes maybe-all-fixincludes
13370 maybe-all-fixincludes:
13371 @if gcc-bootstrap
13372 all-fixincludes: stage_current
13373 @endif gcc-bootstrap
13374 @if fixincludes
13375 TARGET-fixincludes=all
13376 maybe-all-fixincludes: all-fixincludes
13377 all-fixincludes: configure-fixincludes
13378 @: $(MAKE); $(unstage)
13379 @r=`${PWD_COMMAND}`; export r; \
13380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13381 $(HOST_EXPORTS) \
13382 (cd $(HOST_SUBDIR)/fixincludes && \
13383 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13384 $(TARGET-fixincludes))
13385 @endif fixincludes
13390 .PHONY: check-fixincludes maybe-check-fixincludes
13391 maybe-check-fixincludes:
13392 @if fixincludes
13393 maybe-check-fixincludes: check-fixincludes
13395 check-fixincludes:
13396 @: $(MAKE); $(unstage)
13397 @r=`${PWD_COMMAND}`; export r; \
13398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 $(HOST_EXPORTS) \
13400 (cd $(HOST_SUBDIR)/fixincludes && \
13401 $(MAKE) $(FLAGS_TO_PASS) check)
13403 @endif fixincludes
13405 .PHONY: install-fixincludes maybe-install-fixincludes
13406 maybe-install-fixincludes:
13407 @if fixincludes
13408 maybe-install-fixincludes: install-fixincludes
13410 install-fixincludes: installdirs
13411 @: $(MAKE); $(unstage)
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 $(HOST_EXPORTS) \
13415 (cd $(HOST_SUBDIR)/fixincludes && \
13416 $(MAKE) $(FLAGS_TO_PASS) install)
13418 @endif fixincludes
13420 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
13421 maybe-install-strip-fixincludes:
13422 @if fixincludes
13423 maybe-install-strip-fixincludes: install-strip-fixincludes
13425 install-strip-fixincludes: installdirs
13426 @: $(MAKE); $(unstage)
13427 @r=`${PWD_COMMAND}`; export r; \
13428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13429 $(HOST_EXPORTS) \
13430 (cd $(HOST_SUBDIR)/fixincludes && \
13431 $(MAKE) $(FLAGS_TO_PASS) install-strip)
13433 @endif fixincludes
13435 # Other targets (info, dvi, pdf, etc.)
13437 .PHONY: maybe-info-fixincludes info-fixincludes
13438 maybe-info-fixincludes:
13439 @if fixincludes
13440 maybe-info-fixincludes: info-fixincludes
13442 info-fixincludes: \
13443 configure-fixincludes
13444 @: $(MAKE); $(unstage)
13445 @[ -f ./fixincludes/Makefile ] || exit 0; \
13446 r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 $(HOST_EXPORTS) \
13449 for flag in $(EXTRA_HOST_FLAGS) ; do \
13450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13451 done; \
13452 echo "Doing info in fixincludes" ; \
13453 (cd $(HOST_SUBDIR)/fixincludes && \
13454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13456 "RANLIB=$${RANLIB}" \
13457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13458 info) \
13459 || exit 1
13461 @endif fixincludes
13463 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
13464 maybe-dvi-fixincludes:
13465 @if fixincludes
13466 maybe-dvi-fixincludes: dvi-fixincludes
13468 dvi-fixincludes: \
13469 configure-fixincludes
13470 @: $(MAKE); $(unstage)
13471 @[ -f ./fixincludes/Makefile ] || exit 0; \
13472 r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 $(HOST_EXPORTS) \
13475 for flag in $(EXTRA_HOST_FLAGS) ; do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477 done; \
13478 echo "Doing dvi in fixincludes" ; \
13479 (cd $(HOST_SUBDIR)/fixincludes && \
13480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482 "RANLIB=$${RANLIB}" \
13483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13484 dvi) \
13485 || exit 1
13487 @endif fixincludes
13489 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
13490 maybe-pdf-fixincludes:
13491 @if fixincludes
13492 maybe-pdf-fixincludes: pdf-fixincludes
13494 pdf-fixincludes: \
13495 configure-fixincludes
13496 @: $(MAKE); $(unstage)
13497 @[ -f ./fixincludes/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 echo "Doing pdf in fixincludes" ; \
13505 (cd $(HOST_SUBDIR)/fixincludes && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13510 pdf) \
13511 || exit 1
13513 @endif fixincludes
13515 .PHONY: maybe-html-fixincludes html-fixincludes
13516 maybe-html-fixincludes:
13517 @if fixincludes
13518 maybe-html-fixincludes: html-fixincludes
13520 html-fixincludes: \
13521 configure-fixincludes
13522 @: $(MAKE); $(unstage)
13523 @[ -f ./fixincludes/Makefile ] || exit 0; \
13524 r=`${PWD_COMMAND}`; export r; \
13525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 $(HOST_EXPORTS) \
13527 for flag in $(EXTRA_HOST_FLAGS) ; do \
13528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529 done; \
13530 echo "Doing html in fixincludes" ; \
13531 (cd $(HOST_SUBDIR)/fixincludes && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534 "RANLIB=$${RANLIB}" \
13535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13536 html) \
13537 || exit 1
13539 @endif fixincludes
13541 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
13542 maybe-TAGS-fixincludes:
13543 @if fixincludes
13544 maybe-TAGS-fixincludes: TAGS-fixincludes
13546 # fixincludes doesn't support TAGS.
13547 TAGS-fixincludes:
13549 @endif fixincludes
13551 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
13552 maybe-install-info-fixincludes:
13553 @if fixincludes
13554 maybe-install-info-fixincludes: install-info-fixincludes
13556 install-info-fixincludes: \
13557 configure-fixincludes \
13558 info-fixincludes
13559 @: $(MAKE); $(unstage)
13560 @[ -f ./fixincludes/Makefile ] || exit 0; \
13561 r=`${PWD_COMMAND}`; export r; \
13562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13563 $(HOST_EXPORTS) \
13564 for flag in $(EXTRA_HOST_FLAGS) ; do \
13565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13566 done; \
13567 echo "Doing install-info in fixincludes" ; \
13568 (cd $(HOST_SUBDIR)/fixincludes && \
13569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13571 "RANLIB=$${RANLIB}" \
13572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13573 install-info) \
13574 || exit 1
13576 @endif fixincludes
13578 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
13579 maybe-install-pdf-fixincludes:
13580 @if fixincludes
13581 maybe-install-pdf-fixincludes: install-pdf-fixincludes
13583 install-pdf-fixincludes: \
13584 configure-fixincludes \
13585 pdf-fixincludes
13586 @: $(MAKE); $(unstage)
13587 @[ -f ./fixincludes/Makefile ] || exit 0; \
13588 r=`${PWD_COMMAND}`; export r; \
13589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13590 $(HOST_EXPORTS) \
13591 for flag in $(EXTRA_HOST_FLAGS) ; do \
13592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13593 done; \
13594 echo "Doing install-pdf in fixincludes" ; \
13595 (cd $(HOST_SUBDIR)/fixincludes && \
13596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13598 "RANLIB=$${RANLIB}" \
13599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13600 install-pdf) \
13601 || exit 1
13603 @endif fixincludes
13605 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
13606 maybe-install-html-fixincludes:
13607 @if fixincludes
13608 maybe-install-html-fixincludes: install-html-fixincludes
13610 install-html-fixincludes: \
13611 configure-fixincludes \
13612 html-fixincludes
13613 @: $(MAKE); $(unstage)
13614 @[ -f ./fixincludes/Makefile ] || exit 0; \
13615 r=`${PWD_COMMAND}`; export r; \
13616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13617 $(HOST_EXPORTS) \
13618 for flag in $(EXTRA_HOST_FLAGS) ; do \
13619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13620 done; \
13621 echo "Doing install-html in fixincludes" ; \
13622 (cd $(HOST_SUBDIR)/fixincludes && \
13623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13625 "RANLIB=$${RANLIB}" \
13626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13627 install-html) \
13628 || exit 1
13630 @endif fixincludes
13632 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
13633 maybe-installcheck-fixincludes:
13634 @if fixincludes
13635 maybe-installcheck-fixincludes: installcheck-fixincludes
13637 installcheck-fixincludes: \
13638 configure-fixincludes
13639 @: $(MAKE); $(unstage)
13640 @[ -f ./fixincludes/Makefile ] || exit 0; \
13641 r=`${PWD_COMMAND}`; export r; \
13642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13643 $(HOST_EXPORTS) \
13644 for flag in $(EXTRA_HOST_FLAGS) ; do \
13645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13646 done; \
13647 echo "Doing installcheck in fixincludes" ; \
13648 (cd $(HOST_SUBDIR)/fixincludes && \
13649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13651 "RANLIB=$${RANLIB}" \
13652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13653 installcheck) \
13654 || exit 1
13656 @endif fixincludes
13658 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
13659 maybe-mostlyclean-fixincludes:
13660 @if fixincludes
13661 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
13663 mostlyclean-fixincludes:
13664 @: $(MAKE); $(unstage)
13665 @[ -f ./fixincludes/Makefile ] || exit 0; \
13666 r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 $(HOST_EXPORTS) \
13669 for flag in $(EXTRA_HOST_FLAGS) ; do \
13670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13671 done; \
13672 echo "Doing mostlyclean in fixincludes" ; \
13673 (cd $(HOST_SUBDIR)/fixincludes && \
13674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13676 "RANLIB=$${RANLIB}" \
13677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13678 mostlyclean) \
13679 || exit 1
13681 @endif fixincludes
13683 .PHONY: maybe-clean-fixincludes clean-fixincludes
13684 maybe-clean-fixincludes:
13685 @if fixincludes
13686 maybe-clean-fixincludes: clean-fixincludes
13688 clean-fixincludes:
13689 @: $(MAKE); $(unstage)
13690 @[ -f ./fixincludes/Makefile ] || exit 0; \
13691 r=`${PWD_COMMAND}`; export r; \
13692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13693 $(HOST_EXPORTS) \
13694 for flag in $(EXTRA_HOST_FLAGS) ; do \
13695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13696 done; \
13697 echo "Doing clean in fixincludes" ; \
13698 (cd $(HOST_SUBDIR)/fixincludes && \
13699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13701 "RANLIB=$${RANLIB}" \
13702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13703 clean) \
13704 || exit 1
13706 @endif fixincludes
13708 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
13709 maybe-distclean-fixincludes:
13710 @if fixincludes
13711 maybe-distclean-fixincludes: distclean-fixincludes
13713 distclean-fixincludes:
13714 @: $(MAKE); $(unstage)
13715 @[ -f ./fixincludes/Makefile ] || exit 0; \
13716 r=`${PWD_COMMAND}`; export r; \
13717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13718 $(HOST_EXPORTS) \
13719 for flag in $(EXTRA_HOST_FLAGS) ; do \
13720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13721 done; \
13722 echo "Doing distclean in fixincludes" ; \
13723 (cd $(HOST_SUBDIR)/fixincludes && \
13724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13726 "RANLIB=$${RANLIB}" \
13727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13728 distclean) \
13729 || exit 1
13731 @endif fixincludes
13733 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
13734 maybe-maintainer-clean-fixincludes:
13735 @if fixincludes
13736 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
13738 maintainer-clean-fixincludes:
13739 @: $(MAKE); $(unstage)
13740 @[ -f ./fixincludes/Makefile ] || exit 0; \
13741 r=`${PWD_COMMAND}`; export r; \
13742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13743 $(HOST_EXPORTS) \
13744 for flag in $(EXTRA_HOST_FLAGS) ; do \
13745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13746 done; \
13747 echo "Doing maintainer-clean in fixincludes" ; \
13748 (cd $(HOST_SUBDIR)/fixincludes && \
13749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13751 "RANLIB=$${RANLIB}" \
13752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13753 maintainer-clean) \
13754 || exit 1
13756 @endif fixincludes
13760 .PHONY: configure-flex maybe-configure-flex
13761 maybe-configure-flex:
13762 @if gcc-bootstrap
13763 configure-flex: stage_current
13764 @endif gcc-bootstrap
13765 @if flex
13766 maybe-configure-flex: configure-flex
13767 configure-flex:
13768 @: $(MAKE); $(unstage)
13769 @r=`${PWD_COMMAND}`; export r; \
13770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13771 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
13772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
13773 $(HOST_EXPORTS) \
13774 echo Configuring in $(HOST_SUBDIR)/flex; \
13775 cd "$(HOST_SUBDIR)/flex" || exit 1; \
13776 case $(srcdir) in \
13777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13778 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
13779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13780 esac; \
13781 srcdiroption="--srcdir=$${topdir}/flex"; \
13782 libsrcdir="$$s/flex"; \
13783 $(SHELL) $${libsrcdir}/configure \
13784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13785 --target=${target_alias} $${srcdiroption} \
13786 || exit 1
13787 @endif flex
13793 .PHONY: all-flex maybe-all-flex
13794 maybe-all-flex:
13795 @if gcc-bootstrap
13796 all-flex: stage_current
13797 @endif gcc-bootstrap
13798 @if flex
13799 TARGET-flex=all
13800 maybe-all-flex: all-flex
13801 all-flex: configure-flex
13802 @: $(MAKE); $(unstage)
13803 @r=`${PWD_COMMAND}`; export r; \
13804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13805 $(HOST_EXPORTS) \
13806 (cd $(HOST_SUBDIR)/flex && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13808 $(TARGET-flex))
13809 @endif flex
13814 .PHONY: check-flex maybe-check-flex
13815 maybe-check-flex:
13816 @if flex
13817 maybe-check-flex: check-flex
13819 # This module is only tested in a native toolchain.
13820 check-flex:
13821 @: $(MAKE); $(unstage)
13822 @if [ '$(host)' = '$(target)' ] ; then \
13823 r=`${PWD_COMMAND}`; export r; \
13824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 $(HOST_EXPORTS) \
13826 (cd $(HOST_SUBDIR)/flex && \
13827 $(MAKE) $(FLAGS_TO_PASS) check); \
13830 @endif flex
13832 .PHONY: install-flex maybe-install-flex
13833 maybe-install-flex:
13834 @if flex
13835 maybe-install-flex: install-flex
13837 install-flex: installdirs
13838 @: $(MAKE); $(unstage)
13839 @r=`${PWD_COMMAND}`; export r; \
13840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13841 $(HOST_EXPORTS) \
13842 (cd $(HOST_SUBDIR)/flex && \
13843 $(MAKE) $(FLAGS_TO_PASS) install)
13845 @endif flex
13847 .PHONY: install-strip-flex maybe-install-strip-flex
13848 maybe-install-strip-flex:
13849 @if flex
13850 maybe-install-strip-flex: install-strip-flex
13852 install-strip-flex: installdirs
13853 @: $(MAKE); $(unstage)
13854 @r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(HOST_EXPORTS) \
13857 (cd $(HOST_SUBDIR)/flex && \
13858 $(MAKE) $(FLAGS_TO_PASS) install-strip)
13860 @endif flex
13862 # Other targets (info, dvi, pdf, etc.)
13864 .PHONY: maybe-info-flex info-flex
13865 maybe-info-flex:
13866 @if flex
13867 maybe-info-flex: info-flex
13869 info-flex: \
13870 configure-flex
13871 @: $(MAKE); $(unstage)
13872 @[ -f ./flex/Makefile ] || exit 0; \
13873 r=`${PWD_COMMAND}`; export r; \
13874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13875 $(HOST_EXPORTS) \
13876 for flag in $(EXTRA_HOST_FLAGS) ; do \
13877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13878 done; \
13879 echo "Doing info in flex" ; \
13880 (cd $(HOST_SUBDIR)/flex && \
13881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13883 "RANLIB=$${RANLIB}" \
13884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13885 info) \
13886 || exit 1
13888 @endif flex
13890 .PHONY: maybe-dvi-flex dvi-flex
13891 maybe-dvi-flex:
13892 @if flex
13893 maybe-dvi-flex: dvi-flex
13895 dvi-flex: \
13896 configure-flex
13897 @: $(MAKE); $(unstage)
13898 @[ -f ./flex/Makefile ] || exit 0; \
13899 r=`${PWD_COMMAND}`; export r; \
13900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13901 $(HOST_EXPORTS) \
13902 for flag in $(EXTRA_HOST_FLAGS) ; do \
13903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13904 done; \
13905 echo "Doing dvi in flex" ; \
13906 (cd $(HOST_SUBDIR)/flex && \
13907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13909 "RANLIB=$${RANLIB}" \
13910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13911 dvi) \
13912 || exit 1
13914 @endif flex
13916 .PHONY: maybe-pdf-flex pdf-flex
13917 maybe-pdf-flex:
13918 @if flex
13919 maybe-pdf-flex: pdf-flex
13921 pdf-flex: \
13922 configure-flex
13923 @: $(MAKE); $(unstage)
13924 @[ -f ./flex/Makefile ] || exit 0; \
13925 r=`${PWD_COMMAND}`; export r; \
13926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13927 $(HOST_EXPORTS) \
13928 for flag in $(EXTRA_HOST_FLAGS) ; do \
13929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13930 done; \
13931 echo "Doing pdf in flex" ; \
13932 (cd $(HOST_SUBDIR)/flex && \
13933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13935 "RANLIB=$${RANLIB}" \
13936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13937 pdf) \
13938 || exit 1
13940 @endif flex
13942 .PHONY: maybe-html-flex html-flex
13943 maybe-html-flex:
13944 @if flex
13945 maybe-html-flex: html-flex
13947 html-flex: \
13948 configure-flex
13949 @: $(MAKE); $(unstage)
13950 @[ -f ./flex/Makefile ] || exit 0; \
13951 r=`${PWD_COMMAND}`; export r; \
13952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13953 $(HOST_EXPORTS) \
13954 for flag in $(EXTRA_HOST_FLAGS) ; do \
13955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13956 done; \
13957 echo "Doing html in flex" ; \
13958 (cd $(HOST_SUBDIR)/flex && \
13959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13961 "RANLIB=$${RANLIB}" \
13962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13963 html) \
13964 || exit 1
13966 @endif flex
13968 .PHONY: maybe-TAGS-flex TAGS-flex
13969 maybe-TAGS-flex:
13970 @if flex
13971 maybe-TAGS-flex: TAGS-flex
13973 TAGS-flex: \
13974 configure-flex
13975 @: $(MAKE); $(unstage)
13976 @[ -f ./flex/Makefile ] || exit 0; \
13977 r=`${PWD_COMMAND}`; export r; \
13978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13979 $(HOST_EXPORTS) \
13980 for flag in $(EXTRA_HOST_FLAGS) ; do \
13981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13982 done; \
13983 echo "Doing TAGS in flex" ; \
13984 (cd $(HOST_SUBDIR)/flex && \
13985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13987 "RANLIB=$${RANLIB}" \
13988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13989 TAGS) \
13990 || exit 1
13992 @endif flex
13994 .PHONY: maybe-install-info-flex install-info-flex
13995 maybe-install-info-flex:
13996 @if flex
13997 maybe-install-info-flex: install-info-flex
13999 install-info-flex: \
14000 configure-flex \
14001 info-flex
14002 @: $(MAKE); $(unstage)
14003 @[ -f ./flex/Makefile ] || exit 0; \
14004 r=`${PWD_COMMAND}`; export r; \
14005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14006 $(HOST_EXPORTS) \
14007 for flag in $(EXTRA_HOST_FLAGS) ; do \
14008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14009 done; \
14010 echo "Doing install-info in flex" ; \
14011 (cd $(HOST_SUBDIR)/flex && \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14014 "RANLIB=$${RANLIB}" \
14015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14016 install-info) \
14017 || exit 1
14019 @endif flex
14021 .PHONY: maybe-install-pdf-flex install-pdf-flex
14022 maybe-install-pdf-flex:
14023 @if flex
14024 maybe-install-pdf-flex: install-pdf-flex
14026 install-pdf-flex: \
14027 configure-flex \
14028 pdf-flex
14029 @: $(MAKE); $(unstage)
14030 @[ -f ./flex/Makefile ] || exit 0; \
14031 r=`${PWD_COMMAND}`; export r; \
14032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14033 $(HOST_EXPORTS) \
14034 for flag in $(EXTRA_HOST_FLAGS) ; do \
14035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14036 done; \
14037 echo "Doing install-pdf in flex" ; \
14038 (cd $(HOST_SUBDIR)/flex && \
14039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14041 "RANLIB=$${RANLIB}" \
14042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14043 install-pdf) \
14044 || exit 1
14046 @endif flex
14048 .PHONY: maybe-install-html-flex install-html-flex
14049 maybe-install-html-flex:
14050 @if flex
14051 maybe-install-html-flex: install-html-flex
14053 install-html-flex: \
14054 configure-flex \
14055 html-flex
14056 @: $(MAKE); $(unstage)
14057 @[ -f ./flex/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(HOST_EXPORTS) \
14061 for flag in $(EXTRA_HOST_FLAGS) ; do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14063 done; \
14064 echo "Doing install-html in flex" ; \
14065 (cd $(HOST_SUBDIR)/flex && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14070 install-html) \
14071 || exit 1
14073 @endif flex
14075 .PHONY: maybe-installcheck-flex installcheck-flex
14076 maybe-installcheck-flex:
14077 @if flex
14078 maybe-installcheck-flex: installcheck-flex
14080 installcheck-flex: \
14081 configure-flex
14082 @: $(MAKE); $(unstage)
14083 @[ -f ./flex/Makefile ] || exit 0; \
14084 r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 $(HOST_EXPORTS) \
14087 for flag in $(EXTRA_HOST_FLAGS) ; do \
14088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14089 done; \
14090 echo "Doing installcheck in flex" ; \
14091 (cd $(HOST_SUBDIR)/flex && \
14092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14094 "RANLIB=$${RANLIB}" \
14095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14096 installcheck) \
14097 || exit 1
14099 @endif flex
14101 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
14102 maybe-mostlyclean-flex:
14103 @if flex
14104 maybe-mostlyclean-flex: mostlyclean-flex
14106 mostlyclean-flex:
14107 @: $(MAKE); $(unstage)
14108 @[ -f ./flex/Makefile ] || exit 0; \
14109 r=`${PWD_COMMAND}`; export r; \
14110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14111 $(HOST_EXPORTS) \
14112 for flag in $(EXTRA_HOST_FLAGS) ; do \
14113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14114 done; \
14115 echo "Doing mostlyclean in flex" ; \
14116 (cd $(HOST_SUBDIR)/flex && \
14117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14119 "RANLIB=$${RANLIB}" \
14120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14121 mostlyclean) \
14122 || exit 1
14124 @endif flex
14126 .PHONY: maybe-clean-flex clean-flex
14127 maybe-clean-flex:
14128 @if flex
14129 maybe-clean-flex: clean-flex
14131 clean-flex:
14132 @: $(MAKE); $(unstage)
14133 @[ -f ./flex/Makefile ] || exit 0; \
14134 r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 $(HOST_EXPORTS) \
14137 for flag in $(EXTRA_HOST_FLAGS) ; do \
14138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14139 done; \
14140 echo "Doing clean in flex" ; \
14141 (cd $(HOST_SUBDIR)/flex && \
14142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14144 "RANLIB=$${RANLIB}" \
14145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14146 clean) \
14147 || exit 1
14149 @endif flex
14151 .PHONY: maybe-distclean-flex distclean-flex
14152 maybe-distclean-flex:
14153 @if flex
14154 maybe-distclean-flex: distclean-flex
14156 distclean-flex:
14157 @: $(MAKE); $(unstage)
14158 @[ -f ./flex/Makefile ] || exit 0; \
14159 r=`${PWD_COMMAND}`; export r; \
14160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14161 $(HOST_EXPORTS) \
14162 for flag in $(EXTRA_HOST_FLAGS) ; do \
14163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14164 done; \
14165 echo "Doing distclean in flex" ; \
14166 (cd $(HOST_SUBDIR)/flex && \
14167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14169 "RANLIB=$${RANLIB}" \
14170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14171 distclean) \
14172 || exit 1
14174 @endif flex
14176 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
14177 maybe-maintainer-clean-flex:
14178 @if flex
14179 maybe-maintainer-clean-flex: maintainer-clean-flex
14181 maintainer-clean-flex:
14182 @: $(MAKE); $(unstage)
14183 @[ -f ./flex/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(HOST_EXPORTS) \
14187 for flag in $(EXTRA_HOST_FLAGS) ; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14189 done; \
14190 echo "Doing maintainer-clean in flex" ; \
14191 (cd $(HOST_SUBDIR)/flex && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14196 maintainer-clean) \
14197 || exit 1
14199 @endif flex
14203 .PHONY: configure-gas maybe-configure-gas
14204 maybe-configure-gas:
14205 @if gcc-bootstrap
14206 configure-gas: stage_current
14207 @endif gcc-bootstrap
14208 @if gas
14209 maybe-configure-gas: configure-gas
14210 configure-gas:
14211 @r=`${PWD_COMMAND}`; export r; \
14212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14215 $(HOST_EXPORTS) \
14216 echo Configuring in $(HOST_SUBDIR)/gas; \
14217 cd "$(HOST_SUBDIR)/gas" || exit 1; \
14218 case $(srcdir) in \
14219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14220 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14222 esac; \
14223 srcdiroption="--srcdir=$${topdir}/gas"; \
14224 libsrcdir="$$s/gas"; \
14225 $(SHELL) $${libsrcdir}/configure \
14226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14227 --target=${target_alias} $${srcdiroption} \
14228 || exit 1
14229 @endif gas
14233 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
14234 maybe-configure-stage1-gas:
14235 @if gas-bootstrap
14236 maybe-configure-stage1-gas: configure-stage1-gas
14237 configure-stage1-gas:
14238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14240 @r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 TFLAGS="$(STAGE1_TFLAGS)"; \
14243 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14244 $(HOST_EXPORTS) \
14245 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14246 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14247 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14248 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
14249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14250 cd $(HOST_SUBDIR)/gas || exit 1; \
14251 case $(srcdir) in \
14252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14253 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14255 esac; \
14256 srcdiroption="--srcdir=$${topdir}/gas"; \
14257 libsrcdir="$$s/gas"; \
14258 $(SHELL) $${libsrcdir}/configure \
14259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14260 --target=${target_alias} $${srcdiroption} \
14261 $(STAGE1_CONFIGURE_FLAGS)
14262 @endif gas-bootstrap
14264 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
14265 maybe-configure-stage2-gas:
14266 @if gas-bootstrap
14267 maybe-configure-stage2-gas: configure-stage2-gas
14268 configure-stage2-gas:
14269 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14271 @r=`${PWD_COMMAND}`; export r; \
14272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14273 TFLAGS="$(STAGE2_TFLAGS)"; \
14274 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14275 $(HOST_EXPORTS) \
14276 $(POSTSTAGE1_HOST_EXPORTS) \
14277 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14278 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14279 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14280 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
14281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14282 cd $(HOST_SUBDIR)/gas || exit 1; \
14283 case $(srcdir) in \
14284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14285 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14287 esac; \
14288 srcdiroption="--srcdir=$${topdir}/gas"; \
14289 libsrcdir="$$s/gas"; \
14290 $(SHELL) $${libsrcdir}/configure \
14291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14292 --target=${target_alias} $${srcdiroption} \
14293 --with-build-libsubdir=$(HOST_SUBDIR) \
14294 $(STAGE2_CONFIGURE_FLAGS)
14295 @endif gas-bootstrap
14297 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
14298 maybe-configure-stage3-gas:
14299 @if gas-bootstrap
14300 maybe-configure-stage3-gas: configure-stage3-gas
14301 configure-stage3-gas:
14302 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14304 @r=`${PWD_COMMAND}`; export r; \
14305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14306 TFLAGS="$(STAGE3_TFLAGS)"; \
14307 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14308 $(HOST_EXPORTS) \
14309 $(POSTSTAGE1_HOST_EXPORTS) \
14310 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14311 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14312 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14313 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
14314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14315 cd $(HOST_SUBDIR)/gas || exit 1; \
14316 case $(srcdir) in \
14317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14318 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14320 esac; \
14321 srcdiroption="--srcdir=$${topdir}/gas"; \
14322 libsrcdir="$$s/gas"; \
14323 $(SHELL) $${libsrcdir}/configure \
14324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14325 --target=${target_alias} $${srcdiroption} \
14326 --with-build-libsubdir=$(HOST_SUBDIR) \
14327 $(STAGE3_CONFIGURE_FLAGS)
14328 @endif gas-bootstrap
14330 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
14331 maybe-configure-stage4-gas:
14332 @if gas-bootstrap
14333 maybe-configure-stage4-gas: configure-stage4-gas
14334 configure-stage4-gas:
14335 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14337 @r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14339 TFLAGS="$(STAGE4_TFLAGS)"; \
14340 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14341 $(HOST_EXPORTS) \
14342 $(POSTSTAGE1_HOST_EXPORTS) \
14343 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14344 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14345 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14346 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
14347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14348 cd $(HOST_SUBDIR)/gas || exit 1; \
14349 case $(srcdir) in \
14350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14351 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14353 esac; \
14354 srcdiroption="--srcdir=$${topdir}/gas"; \
14355 libsrcdir="$$s/gas"; \
14356 $(SHELL) $${libsrcdir}/configure \
14357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14358 --target=${target_alias} $${srcdiroption} \
14359 --with-build-libsubdir=$(HOST_SUBDIR) \
14360 $(STAGE4_CONFIGURE_FLAGS)
14361 @endif gas-bootstrap
14363 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
14364 maybe-configure-stageprofile-gas:
14365 @if gas-bootstrap
14366 maybe-configure-stageprofile-gas: configure-stageprofile-gas
14367 configure-stageprofile-gas:
14368 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14370 @r=`${PWD_COMMAND}`; export r; \
14371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14372 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14373 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14374 $(HOST_EXPORTS) \
14375 $(POSTSTAGE1_HOST_EXPORTS) \
14376 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14377 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14378 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14379 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
14380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14381 cd $(HOST_SUBDIR)/gas || exit 1; \
14382 case $(srcdir) in \
14383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14384 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14386 esac; \
14387 srcdiroption="--srcdir=$${topdir}/gas"; \
14388 libsrcdir="$$s/gas"; \
14389 $(SHELL) $${libsrcdir}/configure \
14390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14391 --target=${target_alias} $${srcdiroption} \
14392 --with-build-libsubdir=$(HOST_SUBDIR) \
14393 $(STAGEprofile_CONFIGURE_FLAGS)
14394 @endif gas-bootstrap
14396 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
14397 maybe-configure-stagefeedback-gas:
14398 @if gas-bootstrap
14399 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
14400 configure-stagefeedback-gas:
14401 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
14403 @r=`${PWD_COMMAND}`; export r; \
14404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14406 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
14407 $(HOST_EXPORTS) \
14408 $(POSTSTAGE1_HOST_EXPORTS) \
14409 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14410 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14411 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14412 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
14413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
14414 cd $(HOST_SUBDIR)/gas || exit 1; \
14415 case $(srcdir) in \
14416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14417 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
14418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14419 esac; \
14420 srcdiroption="--srcdir=$${topdir}/gas"; \
14421 libsrcdir="$$s/gas"; \
14422 $(SHELL) $${libsrcdir}/configure \
14423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14424 --target=${target_alias} $${srcdiroption} \
14425 --with-build-libsubdir=$(HOST_SUBDIR) \
14426 $(STAGEfeedback_CONFIGURE_FLAGS)
14427 @endif gas-bootstrap
14433 .PHONY: all-gas maybe-all-gas
14434 maybe-all-gas:
14435 @if gcc-bootstrap
14436 all-gas: stage_current
14437 @endif gcc-bootstrap
14438 @if gas
14439 TARGET-gas=all
14440 maybe-all-gas: all-gas
14441 all-gas: configure-gas
14442 @r=`${PWD_COMMAND}`; export r; \
14443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14444 $(HOST_EXPORTS) \
14445 (cd $(HOST_SUBDIR)/gas && \
14446 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
14447 $(TARGET-gas))
14448 @endif gas
14452 .PHONY: all-stage1-gas maybe-all-stage1-gas
14453 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
14454 maybe-all-stage1-gas:
14455 maybe-clean-stage1-gas:
14456 @if gas-bootstrap
14457 maybe-all-stage1-gas: all-stage1-gas
14458 all-stage1: all-stage1-gas
14459 TARGET-stage1-gas = $(TARGET-gas)
14460 all-stage1-gas: configure-stage1-gas
14461 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14462 @r=`${PWD_COMMAND}`; export r; \
14463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14464 TFLAGS="$(STAGE1_TFLAGS)"; \
14465 $(HOST_EXPORTS) \
14466 cd $(HOST_SUBDIR)/gas && \
14467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14468 CFLAGS="$(STAGE1_CFLAGS)" \
14469 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14470 LIBCFLAGS="$(LIBCFLAGS)" \
14471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14474 $(EXTRA_HOST_FLAGS) \
14475 TFLAGS="$(STAGE1_TFLAGS)" \
14476 $(TARGET-stage1-gas)
14478 maybe-clean-stage1-gas: clean-stage1-gas
14479 clean-stage1: clean-stage1-gas
14480 clean-stage1-gas:
14481 @if [ $(current_stage) = stage1 ]; then \
14482 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14483 else \
14484 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
14485 $(MAKE) stage1-start; \
14486 fi; \
14487 cd $(HOST_SUBDIR)/gas && \
14488 $(MAKE) $(EXTRA_HOST_FLAGS) \
14489 clean
14490 @endif gas-bootstrap
14493 .PHONY: all-stage2-gas maybe-all-stage2-gas
14494 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
14495 maybe-all-stage2-gas:
14496 maybe-clean-stage2-gas:
14497 @if gas-bootstrap
14498 maybe-all-stage2-gas: all-stage2-gas
14499 all-stage2: all-stage2-gas
14500 TARGET-stage2-gas = $(TARGET-gas)
14501 all-stage2-gas: configure-stage2-gas
14502 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14503 @r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 TFLAGS="$(STAGE2_TFLAGS)"; \
14506 $(HOST_EXPORTS) \
14507 $(POSTSTAGE1_HOST_EXPORTS) \
14508 cd $(HOST_SUBDIR)/gas && \
14509 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14510 CFLAGS="$(STAGE2_CFLAGS)" \
14511 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14512 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14516 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14517 TFLAGS="$(STAGE2_TFLAGS)" \
14518 $(TARGET-stage2-gas)
14520 maybe-clean-stage2-gas: clean-stage2-gas
14521 clean-stage2: clean-stage2-gas
14522 clean-stage2-gas:
14523 @if [ $(current_stage) = stage2 ]; then \
14524 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14525 else \
14526 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
14527 $(MAKE) stage2-start; \
14528 fi; \
14529 cd $(HOST_SUBDIR)/gas && \
14530 $(MAKE) $(EXTRA_HOST_FLAGS) \
14531 $(POSTSTAGE1_FLAGS_TO_PASS) \
14532 clean
14533 @endif gas-bootstrap
14536 .PHONY: all-stage3-gas maybe-all-stage3-gas
14537 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
14538 maybe-all-stage3-gas:
14539 maybe-clean-stage3-gas:
14540 @if gas-bootstrap
14541 maybe-all-stage3-gas: all-stage3-gas
14542 all-stage3: all-stage3-gas
14543 TARGET-stage3-gas = $(TARGET-gas)
14544 all-stage3-gas: configure-stage3-gas
14545 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14546 @r=`${PWD_COMMAND}`; export r; \
14547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14548 TFLAGS="$(STAGE3_TFLAGS)"; \
14549 $(HOST_EXPORTS) \
14550 $(POSTSTAGE1_HOST_EXPORTS) \
14551 cd $(HOST_SUBDIR)/gas && \
14552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14553 CFLAGS="$(STAGE3_CFLAGS)" \
14554 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14555 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14560 TFLAGS="$(STAGE3_TFLAGS)" \
14561 $(TARGET-stage3-gas)
14563 maybe-clean-stage3-gas: clean-stage3-gas
14564 clean-stage3: clean-stage3-gas
14565 clean-stage3-gas:
14566 @if [ $(current_stage) = stage3 ]; then \
14567 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14568 else \
14569 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
14570 $(MAKE) stage3-start; \
14571 fi; \
14572 cd $(HOST_SUBDIR)/gas && \
14573 $(MAKE) $(EXTRA_HOST_FLAGS) \
14574 $(POSTSTAGE1_FLAGS_TO_PASS) \
14575 clean
14576 @endif gas-bootstrap
14579 .PHONY: all-stage4-gas maybe-all-stage4-gas
14580 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
14581 maybe-all-stage4-gas:
14582 maybe-clean-stage4-gas:
14583 @if gas-bootstrap
14584 maybe-all-stage4-gas: all-stage4-gas
14585 all-stage4: all-stage4-gas
14586 TARGET-stage4-gas = $(TARGET-gas)
14587 all-stage4-gas: configure-stage4-gas
14588 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14589 @r=`${PWD_COMMAND}`; export r; \
14590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14591 TFLAGS="$(STAGE4_TFLAGS)"; \
14592 $(HOST_EXPORTS) \
14593 $(POSTSTAGE1_HOST_EXPORTS) \
14594 cd $(HOST_SUBDIR)/gas && \
14595 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14596 CFLAGS="$(STAGE4_CFLAGS)" \
14597 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14598 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14599 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14600 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14601 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14602 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14603 TFLAGS="$(STAGE4_TFLAGS)" \
14604 $(TARGET-stage4-gas)
14606 maybe-clean-stage4-gas: clean-stage4-gas
14607 clean-stage4: clean-stage4-gas
14608 clean-stage4-gas:
14609 @if [ $(current_stage) = stage4 ]; then \
14610 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14611 else \
14612 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
14613 $(MAKE) stage4-start; \
14614 fi; \
14615 cd $(HOST_SUBDIR)/gas && \
14616 $(MAKE) $(EXTRA_HOST_FLAGS) \
14617 $(POSTSTAGE1_FLAGS_TO_PASS) \
14618 clean
14619 @endif gas-bootstrap
14622 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
14623 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
14624 maybe-all-stageprofile-gas:
14625 maybe-clean-stageprofile-gas:
14626 @if gas-bootstrap
14627 maybe-all-stageprofile-gas: all-stageprofile-gas
14628 all-stageprofile: all-stageprofile-gas
14629 TARGET-stageprofile-gas = $(TARGET-gas)
14630 all-stageprofile-gas: configure-stageprofile-gas
14631 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14632 @r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14635 $(HOST_EXPORTS) \
14636 $(POSTSTAGE1_HOST_EXPORTS) \
14637 cd $(HOST_SUBDIR)/gas && \
14638 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14639 CFLAGS="$(STAGEprofile_CFLAGS)" \
14640 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14641 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14642 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14643 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14644 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14645 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14646 TFLAGS="$(STAGEprofile_TFLAGS)" \
14647 $(TARGET-stageprofile-gas)
14649 maybe-clean-stageprofile-gas: clean-stageprofile-gas
14650 clean-stageprofile: clean-stageprofile-gas
14651 clean-stageprofile-gas:
14652 @if [ $(current_stage) = stageprofile ]; then \
14653 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14654 else \
14655 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
14656 $(MAKE) stageprofile-start; \
14657 fi; \
14658 cd $(HOST_SUBDIR)/gas && \
14659 $(MAKE) $(EXTRA_HOST_FLAGS) \
14660 $(POSTSTAGE1_FLAGS_TO_PASS) \
14661 clean
14662 @endif gas-bootstrap
14665 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
14666 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
14667 maybe-all-stagefeedback-gas:
14668 maybe-clean-stagefeedback-gas:
14669 @if gas-bootstrap
14670 maybe-all-stagefeedback-gas: all-stagefeedback-gas
14671 all-stagefeedback: all-stagefeedback-gas
14672 TARGET-stagefeedback-gas = $(TARGET-gas)
14673 all-stagefeedback-gas: configure-stagefeedback-gas
14674 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14675 @r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14678 $(HOST_EXPORTS) \
14679 $(POSTSTAGE1_HOST_EXPORTS) \
14680 cd $(HOST_SUBDIR)/gas && \
14681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14682 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14683 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14684 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14688 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14689 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14690 $(TARGET-stagefeedback-gas)
14692 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
14693 clean-stagefeedback: clean-stagefeedback-gas
14694 clean-stagefeedback-gas:
14695 @if [ $(current_stage) = stagefeedback ]; then \
14696 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14697 else \
14698 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
14699 $(MAKE) stagefeedback-start; \
14700 fi; \
14701 cd $(HOST_SUBDIR)/gas && \
14702 $(MAKE) $(EXTRA_HOST_FLAGS) \
14703 $(POSTSTAGE1_FLAGS_TO_PASS) \
14704 clean
14705 @endif gas-bootstrap
14711 .PHONY: check-gas maybe-check-gas
14712 maybe-check-gas:
14713 @if gas
14714 maybe-check-gas: check-gas
14716 check-gas:
14717 @: $(MAKE); $(unstage)
14718 @r=`${PWD_COMMAND}`; export r; \
14719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14720 $(HOST_EXPORTS) \
14721 (cd $(HOST_SUBDIR)/gas && \
14722 $(MAKE) $(FLAGS_TO_PASS) check)
14724 @endif gas
14726 .PHONY: install-gas maybe-install-gas
14727 maybe-install-gas:
14728 @if gas
14729 maybe-install-gas: install-gas
14731 install-gas: installdirs
14732 @: $(MAKE); $(unstage)
14733 @r=`${PWD_COMMAND}`; export r; \
14734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14735 $(HOST_EXPORTS) \
14736 (cd $(HOST_SUBDIR)/gas && \
14737 $(MAKE) $(FLAGS_TO_PASS) install)
14739 @endif gas
14741 .PHONY: install-strip-gas maybe-install-strip-gas
14742 maybe-install-strip-gas:
14743 @if gas
14744 maybe-install-strip-gas: install-strip-gas
14746 install-strip-gas: installdirs
14747 @: $(MAKE); $(unstage)
14748 @r=`${PWD_COMMAND}`; export r; \
14749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14750 $(HOST_EXPORTS) \
14751 (cd $(HOST_SUBDIR)/gas && \
14752 $(MAKE) $(FLAGS_TO_PASS) install-strip)
14754 @endif gas
14756 # Other targets (info, dvi, pdf, etc.)
14758 .PHONY: maybe-info-gas info-gas
14759 maybe-info-gas:
14760 @if gas
14761 maybe-info-gas: info-gas
14763 info-gas: \
14764 configure-gas
14765 @[ -f ./gas/Makefile ] || exit 0; \
14766 r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 $(HOST_EXPORTS) \
14769 for flag in $(EXTRA_HOST_FLAGS) ; do \
14770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14771 done; \
14772 echo "Doing info in gas" ; \
14773 (cd $(HOST_SUBDIR)/gas && \
14774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14776 "RANLIB=$${RANLIB}" \
14777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14778 info) \
14779 || exit 1
14781 @endif gas
14783 .PHONY: maybe-dvi-gas dvi-gas
14784 maybe-dvi-gas:
14785 @if gas
14786 maybe-dvi-gas: dvi-gas
14788 dvi-gas: \
14789 configure-gas
14790 @[ -f ./gas/Makefile ] || exit 0; \
14791 r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS) ; do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing dvi in gas" ; \
14798 (cd $(HOST_SUBDIR)/gas && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14803 dvi) \
14804 || exit 1
14806 @endif gas
14808 .PHONY: maybe-pdf-gas pdf-gas
14809 maybe-pdf-gas:
14810 @if gas
14811 maybe-pdf-gas: pdf-gas
14813 pdf-gas: \
14814 configure-gas
14815 @[ -f ./gas/Makefile ] || exit 0; \
14816 r=`${PWD_COMMAND}`; export r; \
14817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS) ; do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing pdf in gas" ; \
14823 (cd $(HOST_SUBDIR)/gas && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14828 pdf) \
14829 || exit 1
14831 @endif gas
14833 .PHONY: maybe-html-gas html-gas
14834 maybe-html-gas:
14835 @if gas
14836 maybe-html-gas: html-gas
14838 html-gas: \
14839 configure-gas
14840 @[ -f ./gas/Makefile ] || exit 0; \
14841 r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(HOST_EXPORTS) \
14844 for flag in $(EXTRA_HOST_FLAGS) ; do \
14845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14846 done; \
14847 echo "Doing html in gas" ; \
14848 (cd $(HOST_SUBDIR)/gas && \
14849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14851 "RANLIB=$${RANLIB}" \
14852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14853 html) \
14854 || exit 1
14856 @endif gas
14858 .PHONY: maybe-TAGS-gas TAGS-gas
14859 maybe-TAGS-gas:
14860 @if gas
14861 maybe-TAGS-gas: TAGS-gas
14863 TAGS-gas: \
14864 configure-gas
14865 @[ -f ./gas/Makefile ] || exit 0; \
14866 r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 $(HOST_EXPORTS) \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing TAGS in gas" ; \
14873 (cd $(HOST_SUBDIR)/gas && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14878 TAGS) \
14879 || exit 1
14881 @endif gas
14883 .PHONY: maybe-install-info-gas install-info-gas
14884 maybe-install-info-gas:
14885 @if gas
14886 maybe-install-info-gas: install-info-gas
14888 install-info-gas: \
14889 configure-gas \
14890 info-gas
14891 @[ -f ./gas/Makefile ] || exit 0; \
14892 r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894 $(HOST_EXPORTS) \
14895 for flag in $(EXTRA_HOST_FLAGS) ; do \
14896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14897 done; \
14898 echo "Doing install-info in gas" ; \
14899 (cd $(HOST_SUBDIR)/gas && \
14900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14902 "RANLIB=$${RANLIB}" \
14903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14904 install-info) \
14905 || exit 1
14907 @endif gas
14909 .PHONY: maybe-install-pdf-gas install-pdf-gas
14910 maybe-install-pdf-gas:
14911 @if gas
14912 maybe-install-pdf-gas: install-pdf-gas
14914 install-pdf-gas: \
14915 configure-gas \
14916 pdf-gas
14917 @[ -f ./gas/Makefile ] || exit 0; \
14918 r=`${PWD_COMMAND}`; export r; \
14919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14920 $(HOST_EXPORTS) \
14921 for flag in $(EXTRA_HOST_FLAGS) ; do \
14922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14923 done; \
14924 echo "Doing install-pdf in gas" ; \
14925 (cd $(HOST_SUBDIR)/gas && \
14926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14928 "RANLIB=$${RANLIB}" \
14929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14930 install-pdf) \
14931 || exit 1
14933 @endif gas
14935 .PHONY: maybe-install-html-gas install-html-gas
14936 maybe-install-html-gas:
14937 @if gas
14938 maybe-install-html-gas: install-html-gas
14940 install-html-gas: \
14941 configure-gas \
14942 html-gas
14943 @[ -f ./gas/Makefile ] || exit 0; \
14944 r=`${PWD_COMMAND}`; export r; \
14945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14946 $(HOST_EXPORTS) \
14947 for flag in $(EXTRA_HOST_FLAGS) ; do \
14948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14949 done; \
14950 echo "Doing install-html in gas" ; \
14951 (cd $(HOST_SUBDIR)/gas && \
14952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14954 "RANLIB=$${RANLIB}" \
14955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14956 install-html) \
14957 || exit 1
14959 @endif gas
14961 .PHONY: maybe-installcheck-gas installcheck-gas
14962 maybe-installcheck-gas:
14963 @if gas
14964 maybe-installcheck-gas: installcheck-gas
14966 installcheck-gas: \
14967 configure-gas
14968 @[ -f ./gas/Makefile ] || exit 0; \
14969 r=`${PWD_COMMAND}`; export r; \
14970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14971 $(HOST_EXPORTS) \
14972 for flag in $(EXTRA_HOST_FLAGS) ; do \
14973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14974 done; \
14975 echo "Doing installcheck in gas" ; \
14976 (cd $(HOST_SUBDIR)/gas && \
14977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14979 "RANLIB=$${RANLIB}" \
14980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14981 installcheck) \
14982 || exit 1
14984 @endif gas
14986 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14987 maybe-mostlyclean-gas:
14988 @if gas
14989 maybe-mostlyclean-gas: mostlyclean-gas
14991 mostlyclean-gas:
14992 @[ -f ./gas/Makefile ] || exit 0; \
14993 r=`${PWD_COMMAND}`; export r; \
14994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14995 $(HOST_EXPORTS) \
14996 for flag in $(EXTRA_HOST_FLAGS) ; do \
14997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14998 done; \
14999 echo "Doing mostlyclean in gas" ; \
15000 (cd $(HOST_SUBDIR)/gas && \
15001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15003 "RANLIB=$${RANLIB}" \
15004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15005 mostlyclean) \
15006 || exit 1
15008 @endif gas
15010 .PHONY: maybe-clean-gas clean-gas
15011 maybe-clean-gas:
15012 @if gas
15013 maybe-clean-gas: clean-gas
15015 clean-gas:
15016 @[ -f ./gas/Makefile ] || exit 0; \
15017 r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 $(HOST_EXPORTS) \
15020 for flag in $(EXTRA_HOST_FLAGS) ; do \
15021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15022 done; \
15023 echo "Doing clean in gas" ; \
15024 (cd $(HOST_SUBDIR)/gas && \
15025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15027 "RANLIB=$${RANLIB}" \
15028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15029 clean) \
15030 || exit 1
15032 @endif gas
15034 .PHONY: maybe-distclean-gas distclean-gas
15035 maybe-distclean-gas:
15036 @if gas
15037 maybe-distclean-gas: distclean-gas
15039 distclean-gas:
15040 @[ -f ./gas/Makefile ] || exit 0; \
15041 r=`${PWD_COMMAND}`; export r; \
15042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15043 $(HOST_EXPORTS) \
15044 for flag in $(EXTRA_HOST_FLAGS) ; do \
15045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15046 done; \
15047 echo "Doing distclean in gas" ; \
15048 (cd $(HOST_SUBDIR)/gas && \
15049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15051 "RANLIB=$${RANLIB}" \
15052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15053 distclean) \
15054 || exit 1
15056 @endif gas
15058 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
15059 maybe-maintainer-clean-gas:
15060 @if gas
15061 maybe-maintainer-clean-gas: maintainer-clean-gas
15063 maintainer-clean-gas:
15064 @[ -f ./gas/Makefile ] || exit 0; \
15065 r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 $(HOST_EXPORTS) \
15068 for flag in $(EXTRA_HOST_FLAGS) ; do \
15069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15070 done; \
15071 echo "Doing maintainer-clean in gas" ; \
15072 (cd $(HOST_SUBDIR)/gas && \
15073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15075 "RANLIB=$${RANLIB}" \
15076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15077 maintainer-clean) \
15078 || exit 1
15080 @endif gas
15084 .PHONY: configure-gcc maybe-configure-gcc
15085 maybe-configure-gcc:
15086 @if gcc-bootstrap
15087 configure-gcc: stage_current
15088 @endif gcc-bootstrap
15089 @if gcc
15090 maybe-configure-gcc: configure-gcc
15091 configure-gcc:
15092 @r=`${PWD_COMMAND}`; export r; \
15093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15096 $(HOST_EXPORTS) \
15097 echo Configuring in $(HOST_SUBDIR)/gcc; \
15098 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
15099 case $(srcdir) in \
15100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15101 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15103 esac; \
15104 srcdiroption="--srcdir=$${topdir}/gcc"; \
15105 libsrcdir="$$s/gcc"; \
15106 $(SHELL) $${libsrcdir}/configure \
15107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15108 --target=${target_alias} $${srcdiroption} \
15109 || exit 1
15110 @endif gcc
15114 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
15115 maybe-configure-stage1-gcc:
15116 @if gcc-bootstrap
15117 maybe-configure-stage1-gcc: configure-stage1-gcc
15118 configure-stage1-gcc:
15119 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15121 @r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 TFLAGS="$(STAGE1_TFLAGS)"; \
15124 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15125 $(HOST_EXPORTS) \
15126 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15127 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15128 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15129 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
15130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15131 cd $(HOST_SUBDIR)/gcc || exit 1; \
15132 case $(srcdir) in \
15133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15134 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15136 esac; \
15137 srcdiroption="--srcdir=$${topdir}/gcc"; \
15138 libsrcdir="$$s/gcc"; \
15139 $(SHELL) $${libsrcdir}/configure \
15140 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15141 --target=${target_alias} $${srcdiroption} \
15142 $(STAGE1_CONFIGURE_FLAGS)
15143 @endif gcc-bootstrap
15145 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
15146 maybe-configure-stage2-gcc:
15147 @if gcc-bootstrap
15148 maybe-configure-stage2-gcc: configure-stage2-gcc
15149 configure-stage2-gcc:
15150 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15151 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15152 @r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 TFLAGS="$(STAGE2_TFLAGS)"; \
15155 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15156 $(HOST_EXPORTS) \
15157 $(POSTSTAGE1_HOST_EXPORTS) \
15158 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15159 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15160 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15161 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
15162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15163 cd $(HOST_SUBDIR)/gcc || exit 1; \
15164 case $(srcdir) in \
15165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15166 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15168 esac; \
15169 srcdiroption="--srcdir=$${topdir}/gcc"; \
15170 libsrcdir="$$s/gcc"; \
15171 $(SHELL) $${libsrcdir}/configure \
15172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15173 --target=${target_alias} $${srcdiroption} \
15174 --with-build-libsubdir=$(HOST_SUBDIR) \
15175 $(STAGE2_CONFIGURE_FLAGS)
15176 @endif gcc-bootstrap
15178 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
15179 maybe-configure-stage3-gcc:
15180 @if gcc-bootstrap
15181 maybe-configure-stage3-gcc: configure-stage3-gcc
15182 configure-stage3-gcc:
15183 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15185 @r=`${PWD_COMMAND}`; export r; \
15186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 TFLAGS="$(STAGE3_TFLAGS)"; \
15188 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15189 $(HOST_EXPORTS) \
15190 $(POSTSTAGE1_HOST_EXPORTS) \
15191 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15192 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15193 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15194 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
15195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15196 cd $(HOST_SUBDIR)/gcc || exit 1; \
15197 case $(srcdir) in \
15198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15199 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15201 esac; \
15202 srcdiroption="--srcdir=$${topdir}/gcc"; \
15203 libsrcdir="$$s/gcc"; \
15204 $(SHELL) $${libsrcdir}/configure \
15205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15206 --target=${target_alias} $${srcdiroption} \
15207 --with-build-libsubdir=$(HOST_SUBDIR) \
15208 $(STAGE3_CONFIGURE_FLAGS)
15209 @endif gcc-bootstrap
15211 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
15212 maybe-configure-stage4-gcc:
15213 @if gcc-bootstrap
15214 maybe-configure-stage4-gcc: configure-stage4-gcc
15215 configure-stage4-gcc:
15216 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15218 @r=`${PWD_COMMAND}`; export r; \
15219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15220 TFLAGS="$(STAGE4_TFLAGS)"; \
15221 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15222 $(HOST_EXPORTS) \
15223 $(POSTSTAGE1_HOST_EXPORTS) \
15224 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15225 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15226 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15227 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
15228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15229 cd $(HOST_SUBDIR)/gcc || exit 1; \
15230 case $(srcdir) in \
15231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15232 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15234 esac; \
15235 srcdiroption="--srcdir=$${topdir}/gcc"; \
15236 libsrcdir="$$s/gcc"; \
15237 $(SHELL) $${libsrcdir}/configure \
15238 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15239 --target=${target_alias} $${srcdiroption} \
15240 --with-build-libsubdir=$(HOST_SUBDIR) \
15241 $(STAGE4_CONFIGURE_FLAGS)
15242 @endif gcc-bootstrap
15244 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
15245 maybe-configure-stageprofile-gcc:
15246 @if gcc-bootstrap
15247 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
15248 configure-stageprofile-gcc:
15249 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15250 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15251 @r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15254 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15255 $(HOST_EXPORTS) \
15256 $(POSTSTAGE1_HOST_EXPORTS) \
15257 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15258 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15259 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15260 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
15261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15262 cd $(HOST_SUBDIR)/gcc || exit 1; \
15263 case $(srcdir) in \
15264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15265 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15267 esac; \
15268 srcdiroption="--srcdir=$${topdir}/gcc"; \
15269 libsrcdir="$$s/gcc"; \
15270 $(SHELL) $${libsrcdir}/configure \
15271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15272 --target=${target_alias} $${srcdiroption} \
15273 --with-build-libsubdir=$(HOST_SUBDIR) \
15274 $(STAGEprofile_CONFIGURE_FLAGS)
15275 @endif gcc-bootstrap
15277 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
15278 maybe-configure-stagefeedback-gcc:
15279 @if gcc-bootstrap
15280 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
15281 configure-stagefeedback-gcc:
15282 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
15284 @r=`${PWD_COMMAND}`; export r; \
15285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15286 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15287 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
15288 $(HOST_EXPORTS) \
15289 $(POSTSTAGE1_HOST_EXPORTS) \
15290 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15291 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15292 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15293 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
15294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
15295 cd $(HOST_SUBDIR)/gcc || exit 1; \
15296 case $(srcdir) in \
15297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15298 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
15299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15300 esac; \
15301 srcdiroption="--srcdir=$${topdir}/gcc"; \
15302 libsrcdir="$$s/gcc"; \
15303 $(SHELL) $${libsrcdir}/configure \
15304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15305 --target=${target_alias} $${srcdiroption} \
15306 --with-build-libsubdir=$(HOST_SUBDIR) \
15307 $(STAGEfeedback_CONFIGURE_FLAGS)
15308 @endif gcc-bootstrap
15314 .PHONY: all-gcc maybe-all-gcc
15315 maybe-all-gcc:
15316 @if gcc-bootstrap
15317 all-gcc: stage_current
15318 @endif gcc-bootstrap
15319 @if gcc
15320 TARGET-gcc=all
15321 maybe-all-gcc: all-gcc
15322 all-gcc: configure-gcc
15323 @r=`${PWD_COMMAND}`; export r; \
15324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15325 $(HOST_EXPORTS) \
15326 (cd $(HOST_SUBDIR)/gcc && \
15327 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
15328 $(TARGET-gcc))
15329 @endif gcc
15333 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
15334 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
15335 maybe-all-stage1-gcc:
15336 maybe-clean-stage1-gcc:
15337 @if gcc-bootstrap
15338 maybe-all-stage1-gcc: all-stage1-gcc
15339 all-stage1: all-stage1-gcc
15340 TARGET-stage1-gcc = $(TARGET-gcc)
15341 all-stage1-gcc: configure-stage1-gcc
15342 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15343 @r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 TFLAGS="$(STAGE1_TFLAGS)"; \
15346 $(HOST_EXPORTS) \
15347 cd $(HOST_SUBDIR)/gcc && \
15348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15349 CFLAGS="$(STAGE1_CFLAGS)" \
15350 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15351 LIBCFLAGS="$(LIBCFLAGS)" \
15352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15355 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
15356 TFLAGS="$(STAGE1_TFLAGS)" \
15357 $(TARGET-stage1-gcc)
15359 maybe-clean-stage1-gcc: clean-stage1-gcc
15360 clean-stage1: clean-stage1-gcc
15361 clean-stage1-gcc:
15362 @if [ $(current_stage) = stage1 ]; then \
15363 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15364 else \
15365 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
15366 $(MAKE) stage1-start; \
15367 fi; \
15368 cd $(HOST_SUBDIR)/gcc && \
15369 $(MAKE) $(EXTRA_HOST_FLAGS) \
15370 $(EXTRA_GCC_FLAGS) clean
15371 @endif gcc-bootstrap
15374 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
15375 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
15376 maybe-all-stage2-gcc:
15377 maybe-clean-stage2-gcc:
15378 @if gcc-bootstrap
15379 maybe-all-stage2-gcc: all-stage2-gcc
15380 all-stage2: all-stage2-gcc
15381 TARGET-stage2-gcc = $(TARGET-gcc)
15382 all-stage2-gcc: configure-stage2-gcc
15383 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15384 @r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 TFLAGS="$(STAGE2_TFLAGS)"; \
15387 $(HOST_EXPORTS) \
15388 $(POSTSTAGE1_HOST_EXPORTS) \
15389 cd $(HOST_SUBDIR)/gcc && \
15390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15391 CFLAGS="$(STAGE2_CFLAGS)" \
15392 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15393 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15398 TFLAGS="$(STAGE2_TFLAGS)" \
15399 $(TARGET-stage2-gcc)
15401 maybe-clean-stage2-gcc: clean-stage2-gcc
15402 clean-stage2: clean-stage2-gcc
15403 clean-stage2-gcc:
15404 @if [ $(current_stage) = stage2 ]; then \
15405 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15406 else \
15407 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
15408 $(MAKE) stage2-start; \
15409 fi; \
15410 cd $(HOST_SUBDIR)/gcc && \
15411 $(MAKE) $(EXTRA_HOST_FLAGS) \
15412 $(POSTSTAGE1_FLAGS_TO_PASS) \
15413 $(EXTRA_GCC_FLAGS) clean
15414 @endif gcc-bootstrap
15417 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
15418 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
15419 maybe-all-stage3-gcc:
15420 maybe-clean-stage3-gcc:
15421 @if gcc-bootstrap
15422 maybe-all-stage3-gcc: all-stage3-gcc
15423 all-stage3: all-stage3-gcc
15424 TARGET-stage3-gcc = $(TARGET-gcc)
15425 all-stage3-gcc: configure-stage3-gcc
15426 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15427 @r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 TFLAGS="$(STAGE3_TFLAGS)"; \
15430 $(HOST_EXPORTS) \
15431 $(POSTSTAGE1_HOST_EXPORTS) \
15432 cd $(HOST_SUBDIR)/gcc && \
15433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15434 CFLAGS="$(STAGE3_CFLAGS)" \
15435 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15436 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15441 TFLAGS="$(STAGE3_TFLAGS)" \
15442 $(TARGET-stage3-gcc)
15444 maybe-clean-stage3-gcc: clean-stage3-gcc
15445 clean-stage3: clean-stage3-gcc
15446 clean-stage3-gcc:
15447 @if [ $(current_stage) = stage3 ]; then \
15448 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15449 else \
15450 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
15451 $(MAKE) stage3-start; \
15452 fi; \
15453 cd $(HOST_SUBDIR)/gcc && \
15454 $(MAKE) $(EXTRA_HOST_FLAGS) \
15455 $(POSTSTAGE1_FLAGS_TO_PASS) \
15456 $(EXTRA_GCC_FLAGS) clean
15457 @endif gcc-bootstrap
15460 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
15461 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
15462 maybe-all-stage4-gcc:
15463 maybe-clean-stage4-gcc:
15464 @if gcc-bootstrap
15465 maybe-all-stage4-gcc: all-stage4-gcc
15466 all-stage4: all-stage4-gcc
15467 TARGET-stage4-gcc = $(TARGET-gcc)
15468 all-stage4-gcc: configure-stage4-gcc
15469 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15470 @r=`${PWD_COMMAND}`; export r; \
15471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15472 TFLAGS="$(STAGE4_TFLAGS)"; \
15473 $(HOST_EXPORTS) \
15474 $(POSTSTAGE1_HOST_EXPORTS) \
15475 cd $(HOST_SUBDIR)/gcc && \
15476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15477 CFLAGS="$(STAGE4_CFLAGS)" \
15478 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15479 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15483 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15484 TFLAGS="$(STAGE4_TFLAGS)" \
15485 $(TARGET-stage4-gcc)
15487 maybe-clean-stage4-gcc: clean-stage4-gcc
15488 clean-stage4: clean-stage4-gcc
15489 clean-stage4-gcc:
15490 @if [ $(current_stage) = stage4 ]; then \
15491 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15492 else \
15493 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
15494 $(MAKE) stage4-start; \
15495 fi; \
15496 cd $(HOST_SUBDIR)/gcc && \
15497 $(MAKE) $(EXTRA_HOST_FLAGS) \
15498 $(POSTSTAGE1_FLAGS_TO_PASS) \
15499 $(EXTRA_GCC_FLAGS) clean
15500 @endif gcc-bootstrap
15503 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
15504 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
15505 maybe-all-stageprofile-gcc:
15506 maybe-clean-stageprofile-gcc:
15507 @if gcc-bootstrap
15508 maybe-all-stageprofile-gcc: all-stageprofile-gcc
15509 all-stageprofile: all-stageprofile-gcc
15510 TARGET-stageprofile-gcc = $(TARGET-gcc)
15511 all-stageprofile-gcc: configure-stageprofile-gcc
15512 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15513 @r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15516 $(HOST_EXPORTS) \
15517 $(POSTSTAGE1_HOST_EXPORTS) \
15518 cd $(HOST_SUBDIR)/gcc && \
15519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15520 CFLAGS="$(STAGEprofile_CFLAGS)" \
15521 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15522 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15526 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15527 TFLAGS="$(STAGEprofile_TFLAGS)" \
15528 $(TARGET-stageprofile-gcc)
15530 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
15531 clean-stageprofile: clean-stageprofile-gcc
15532 clean-stageprofile-gcc:
15533 @if [ $(current_stage) = stageprofile ]; then \
15534 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15535 else \
15536 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
15537 $(MAKE) stageprofile-start; \
15538 fi; \
15539 cd $(HOST_SUBDIR)/gcc && \
15540 $(MAKE) $(EXTRA_HOST_FLAGS) \
15541 $(POSTSTAGE1_FLAGS_TO_PASS) \
15542 $(EXTRA_GCC_FLAGS) clean
15543 @endif gcc-bootstrap
15546 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
15547 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
15548 maybe-all-stagefeedback-gcc:
15549 maybe-clean-stagefeedback-gcc:
15550 @if gcc-bootstrap
15551 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
15552 all-stagefeedback: all-stagefeedback-gcc
15553 TARGET-stagefeedback-gcc = $(TARGET-gcc)
15554 all-stagefeedback-gcc: configure-stagefeedback-gcc
15555 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15556 @r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15559 $(HOST_EXPORTS) \
15560 $(POSTSTAGE1_HOST_EXPORTS) \
15561 cd $(HOST_SUBDIR)/gcc && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15563 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15564 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15565 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15570 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15571 $(TARGET-stagefeedback-gcc)
15573 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
15574 clean-stagefeedback: clean-stagefeedback-gcc
15575 clean-stagefeedback-gcc:
15576 @if [ $(current_stage) = stagefeedback ]; then \
15577 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15578 else \
15579 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
15580 $(MAKE) stagefeedback-start; \
15581 fi; \
15582 cd $(HOST_SUBDIR)/gcc && \
15583 $(MAKE) $(EXTRA_HOST_FLAGS) \
15584 $(POSTSTAGE1_FLAGS_TO_PASS) \
15585 $(EXTRA_GCC_FLAGS) clean
15586 @endif gcc-bootstrap
15592 .PHONY: check-gcc maybe-check-gcc
15593 maybe-check-gcc:
15594 @if gcc
15595 maybe-check-gcc: check-gcc
15597 check-gcc:
15598 @: $(MAKE); $(unstage)
15599 @r=`${PWD_COMMAND}`; export r; \
15600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15601 $(HOST_EXPORTS) \
15602 (cd $(HOST_SUBDIR)/gcc && \
15603 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
15605 @endif gcc
15607 .PHONY: install-gcc maybe-install-gcc
15608 maybe-install-gcc:
15609 @if gcc
15610 maybe-install-gcc: install-gcc
15612 install-gcc: installdirs
15613 @: $(MAKE); $(unstage)
15614 @r=`${PWD_COMMAND}`; export r; \
15615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15616 $(HOST_EXPORTS) \
15617 (cd $(HOST_SUBDIR)/gcc && \
15618 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
15620 @endif gcc
15622 .PHONY: install-strip-gcc maybe-install-strip-gcc
15623 maybe-install-strip-gcc:
15624 @if gcc
15625 maybe-install-strip-gcc: install-strip-gcc
15627 install-strip-gcc: installdirs
15628 @: $(MAKE); $(unstage)
15629 @r=`${PWD_COMMAND}`; export r; \
15630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15631 $(HOST_EXPORTS) \
15632 (cd $(HOST_SUBDIR)/gcc && \
15633 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
15635 @endif gcc
15637 # Other targets (info, dvi, pdf, etc.)
15639 .PHONY: maybe-info-gcc info-gcc
15640 maybe-info-gcc:
15641 @if gcc
15642 maybe-info-gcc: info-gcc
15644 info-gcc: \
15645 configure-gcc
15646 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
15651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15652 done; \
15653 echo "Doing info in gcc" ; \
15654 (cd $(HOST_SUBDIR)/gcc && \
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 info) \
15660 || exit 1
15662 @endif gcc
15664 .PHONY: maybe-dvi-gcc dvi-gcc
15665 maybe-dvi-gcc:
15666 @if gcc
15667 maybe-dvi-gcc: dvi-gcc
15669 dvi-gcc: \
15670 configure-gcc
15671 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
15676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15677 done; \
15678 echo "Doing dvi in gcc" ; \
15679 (cd $(HOST_SUBDIR)/gcc && \
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 dvi) \
15685 || exit 1
15687 @endif gcc
15689 .PHONY: maybe-pdf-gcc pdf-gcc
15690 maybe-pdf-gcc:
15691 @if gcc
15692 maybe-pdf-gcc: pdf-gcc
15694 pdf-gcc: \
15695 configure-gcc
15696 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
15701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15702 done; \
15703 echo "Doing pdf in gcc" ; \
15704 (cd $(HOST_SUBDIR)/gcc && \
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 pdf) \
15710 || exit 1
15712 @endif gcc
15714 .PHONY: maybe-html-gcc html-gcc
15715 maybe-html-gcc:
15716 @if gcc
15717 maybe-html-gcc: html-gcc
15719 html-gcc: \
15720 configure-gcc
15721 @[ -f ./gcc/Makefile ] || exit 0; \
15722 r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 $(HOST_EXPORTS) \
15725 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 done; \
15728 echo "Doing html in gcc" ; \
15729 (cd $(HOST_SUBDIR)/gcc && \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15734 html) \
15735 || exit 1
15737 @endif gcc
15739 .PHONY: maybe-TAGS-gcc TAGS-gcc
15740 maybe-TAGS-gcc:
15741 @if gcc
15742 maybe-TAGS-gcc: TAGS-gcc
15744 TAGS-gcc: \
15745 configure-gcc
15746 @[ -f ./gcc/Makefile ] || exit 0; \
15747 r=`${PWD_COMMAND}`; export r; \
15748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15749 $(HOST_EXPORTS) \
15750 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15752 done; \
15753 echo "Doing TAGS in gcc" ; \
15754 (cd $(HOST_SUBDIR)/gcc && \
15755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15757 "RANLIB=$${RANLIB}" \
15758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15759 TAGS) \
15760 || exit 1
15762 @endif gcc
15764 .PHONY: maybe-install-info-gcc install-info-gcc
15765 maybe-install-info-gcc:
15766 @if gcc
15767 maybe-install-info-gcc: install-info-gcc
15769 install-info-gcc: \
15770 configure-gcc \
15771 info-gcc
15772 @[ -f ./gcc/Makefile ] || exit 0; \
15773 r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775 $(HOST_EXPORTS) \
15776 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15778 done; \
15779 echo "Doing install-info in gcc" ; \
15780 (cd $(HOST_SUBDIR)/gcc && \
15781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15783 "RANLIB=$${RANLIB}" \
15784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15785 install-info) \
15786 || exit 1
15788 @endif gcc
15790 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
15791 maybe-install-pdf-gcc:
15792 @if gcc
15793 maybe-install-pdf-gcc: install-pdf-gcc
15795 install-pdf-gcc: \
15796 configure-gcc \
15797 pdf-gcc
15798 @[ -f ./gcc/Makefile ] || exit 0; \
15799 r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(HOST_EXPORTS) \
15802 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15804 done; \
15805 echo "Doing install-pdf in gcc" ; \
15806 (cd $(HOST_SUBDIR)/gcc && \
15807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15809 "RANLIB=$${RANLIB}" \
15810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15811 install-pdf) \
15812 || exit 1
15814 @endif gcc
15816 .PHONY: maybe-install-html-gcc install-html-gcc
15817 maybe-install-html-gcc:
15818 @if gcc
15819 maybe-install-html-gcc: install-html-gcc
15821 install-html-gcc: \
15822 configure-gcc \
15823 html-gcc
15824 @[ -f ./gcc/Makefile ] || exit 0; \
15825 r=`${PWD_COMMAND}`; export r; \
15826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15827 $(HOST_EXPORTS) \
15828 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15830 done; \
15831 echo "Doing install-html in gcc" ; \
15832 (cd $(HOST_SUBDIR)/gcc && \
15833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15835 "RANLIB=$${RANLIB}" \
15836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15837 install-html) \
15838 || exit 1
15840 @endif gcc
15842 .PHONY: maybe-installcheck-gcc installcheck-gcc
15843 maybe-installcheck-gcc:
15844 @if gcc
15845 maybe-installcheck-gcc: installcheck-gcc
15847 installcheck-gcc: \
15848 configure-gcc
15849 @[ -f ./gcc/Makefile ] || exit 0; \
15850 r=`${PWD_COMMAND}`; export r; \
15851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15852 $(HOST_EXPORTS) \
15853 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15855 done; \
15856 echo "Doing installcheck in gcc" ; \
15857 (cd $(HOST_SUBDIR)/gcc && \
15858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15860 "RANLIB=$${RANLIB}" \
15861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15862 installcheck) \
15863 || exit 1
15865 @endif gcc
15867 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15868 maybe-mostlyclean-gcc:
15869 @if gcc
15870 maybe-mostlyclean-gcc: mostlyclean-gcc
15872 mostlyclean-gcc:
15873 @[ -f ./gcc/Makefile ] || exit 0; \
15874 r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 $(HOST_EXPORTS) \
15877 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15879 done; \
15880 echo "Doing mostlyclean in gcc" ; \
15881 (cd $(HOST_SUBDIR)/gcc && \
15882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15884 "RANLIB=$${RANLIB}" \
15885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15886 mostlyclean) \
15887 || exit 1
15889 @endif gcc
15891 .PHONY: maybe-clean-gcc clean-gcc
15892 maybe-clean-gcc:
15893 @if gcc
15894 maybe-clean-gcc: clean-gcc
15896 clean-gcc:
15897 @[ -f ./gcc/Makefile ] || exit 0; \
15898 r=`${PWD_COMMAND}`; export r; \
15899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15900 $(HOST_EXPORTS) \
15901 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15903 done; \
15904 echo "Doing clean in gcc" ; \
15905 (cd $(HOST_SUBDIR)/gcc && \
15906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15908 "RANLIB=$${RANLIB}" \
15909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15910 clean) \
15911 || exit 1
15913 @endif gcc
15915 .PHONY: maybe-distclean-gcc distclean-gcc
15916 maybe-distclean-gcc:
15917 @if gcc
15918 maybe-distclean-gcc: distclean-gcc
15920 distclean-gcc:
15921 @[ -f ./gcc/Makefile ] || exit 0; \
15922 r=`${PWD_COMMAND}`; export r; \
15923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15924 $(HOST_EXPORTS) \
15925 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15927 done; \
15928 echo "Doing distclean in gcc" ; \
15929 (cd $(HOST_SUBDIR)/gcc && \
15930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15932 "RANLIB=$${RANLIB}" \
15933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15934 distclean) \
15935 || exit 1
15937 @endif gcc
15939 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15940 maybe-maintainer-clean-gcc:
15941 @if gcc
15942 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15944 maintainer-clean-gcc:
15945 @[ -f ./gcc/Makefile ] || exit 0; \
15946 r=`${PWD_COMMAND}`; export r; \
15947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15948 $(HOST_EXPORTS) \
15949 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15951 done; \
15952 echo "Doing maintainer-clean in gcc" ; \
15953 (cd $(HOST_SUBDIR)/gcc && \
15954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15956 "RANLIB=$${RANLIB}" \
15957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15958 maintainer-clean) \
15959 || exit 1
15961 @endif gcc
15965 .PHONY: configure-gawk maybe-configure-gawk
15966 maybe-configure-gawk:
15967 @if gcc-bootstrap
15968 configure-gawk: stage_current
15969 @endif gcc-bootstrap
15970 @if gawk
15971 maybe-configure-gawk: configure-gawk
15972 configure-gawk:
15973 @: $(MAKE); $(unstage)
15974 @r=`${PWD_COMMAND}`; export r; \
15975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15976 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15978 $(HOST_EXPORTS) \
15979 echo Configuring in $(HOST_SUBDIR)/gawk; \
15980 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15981 case $(srcdir) in \
15982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15983 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15985 esac; \
15986 srcdiroption="--srcdir=$${topdir}/gawk"; \
15987 libsrcdir="$$s/gawk"; \
15988 $(SHELL) $${libsrcdir}/configure \
15989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15990 --target=${target_alias} $${srcdiroption} \
15991 || exit 1
15992 @endif gawk
15998 .PHONY: all-gawk maybe-all-gawk
15999 maybe-all-gawk:
16000 @if gcc-bootstrap
16001 all-gawk: stage_current
16002 @endif gcc-bootstrap
16003 @if gawk
16004 TARGET-gawk=all
16005 maybe-all-gawk: all-gawk
16006 all-gawk: configure-gawk
16007 @: $(MAKE); $(unstage)
16008 @r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 $(HOST_EXPORTS) \
16011 (cd $(HOST_SUBDIR)/gawk && \
16012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16013 $(TARGET-gawk))
16014 @endif gawk
16019 .PHONY: check-gawk maybe-check-gawk
16020 maybe-check-gawk:
16021 @if gawk
16022 maybe-check-gawk: check-gawk
16024 check-gawk:
16025 @: $(MAKE); $(unstage)
16026 @r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 $(HOST_EXPORTS) \
16029 (cd $(HOST_SUBDIR)/gawk && \
16030 $(MAKE) $(FLAGS_TO_PASS) check)
16032 @endif gawk
16034 .PHONY: install-gawk maybe-install-gawk
16035 maybe-install-gawk:
16036 @if gawk
16037 maybe-install-gawk: install-gawk
16039 install-gawk: installdirs
16040 @: $(MAKE); $(unstage)
16041 @r=`${PWD_COMMAND}`; export r; \
16042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16043 $(HOST_EXPORTS) \
16044 (cd $(HOST_SUBDIR)/gawk && \
16045 $(MAKE) $(FLAGS_TO_PASS) install)
16047 @endif gawk
16049 .PHONY: install-strip-gawk maybe-install-strip-gawk
16050 maybe-install-strip-gawk:
16051 @if gawk
16052 maybe-install-strip-gawk: install-strip-gawk
16054 install-strip-gawk: installdirs
16055 @: $(MAKE); $(unstage)
16056 @r=`${PWD_COMMAND}`; export r; \
16057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 $(HOST_EXPORTS) \
16059 (cd $(HOST_SUBDIR)/gawk && \
16060 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16062 @endif gawk
16064 # Other targets (info, dvi, pdf, etc.)
16066 .PHONY: maybe-info-gawk info-gawk
16067 maybe-info-gawk:
16068 @if gawk
16069 maybe-info-gawk: info-gawk
16071 info-gawk: \
16072 configure-gawk
16073 @: $(MAKE); $(unstage)
16074 @[ -f ./gawk/Makefile ] || exit 0; \
16075 r=`${PWD_COMMAND}`; export r; \
16076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16077 $(HOST_EXPORTS) \
16078 for flag in $(EXTRA_HOST_FLAGS) ; do \
16079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16080 done; \
16081 echo "Doing info in gawk" ; \
16082 (cd $(HOST_SUBDIR)/gawk && \
16083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16085 "RANLIB=$${RANLIB}" \
16086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16087 info) \
16088 || exit 1
16090 @endif gawk
16092 .PHONY: maybe-dvi-gawk dvi-gawk
16093 maybe-dvi-gawk:
16094 @if gawk
16095 maybe-dvi-gawk: dvi-gawk
16097 dvi-gawk: \
16098 configure-gawk
16099 @: $(MAKE); $(unstage)
16100 @[ -f ./gawk/Makefile ] || exit 0; \
16101 r=`${PWD_COMMAND}`; export r; \
16102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16103 $(HOST_EXPORTS) \
16104 for flag in $(EXTRA_HOST_FLAGS) ; do \
16105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16106 done; \
16107 echo "Doing dvi in gawk" ; \
16108 (cd $(HOST_SUBDIR)/gawk && \
16109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16111 "RANLIB=$${RANLIB}" \
16112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16113 dvi) \
16114 || exit 1
16116 @endif gawk
16118 .PHONY: maybe-pdf-gawk pdf-gawk
16119 maybe-pdf-gawk:
16120 @if gawk
16121 maybe-pdf-gawk: pdf-gawk
16123 pdf-gawk: \
16124 configure-gawk
16125 @: $(MAKE); $(unstage)
16126 @[ -f ./gawk/Makefile ] || exit 0; \
16127 r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(HOST_EXPORTS) \
16130 for flag in $(EXTRA_HOST_FLAGS) ; do \
16131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16132 done; \
16133 echo "Doing pdf in gawk" ; \
16134 (cd $(HOST_SUBDIR)/gawk && \
16135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16137 "RANLIB=$${RANLIB}" \
16138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16139 pdf) \
16140 || exit 1
16142 @endif gawk
16144 .PHONY: maybe-html-gawk html-gawk
16145 maybe-html-gawk:
16146 @if gawk
16147 maybe-html-gawk: html-gawk
16149 html-gawk: \
16150 configure-gawk
16151 @: $(MAKE); $(unstage)
16152 @[ -f ./gawk/Makefile ] || exit 0; \
16153 r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 $(HOST_EXPORTS) \
16156 for flag in $(EXTRA_HOST_FLAGS) ; do \
16157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16158 done; \
16159 echo "Doing html in gawk" ; \
16160 (cd $(HOST_SUBDIR)/gawk && \
16161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16163 "RANLIB=$${RANLIB}" \
16164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16165 html) \
16166 || exit 1
16168 @endif gawk
16170 .PHONY: maybe-TAGS-gawk TAGS-gawk
16171 maybe-TAGS-gawk:
16172 @if gawk
16173 maybe-TAGS-gawk: TAGS-gawk
16175 TAGS-gawk: \
16176 configure-gawk
16177 @: $(MAKE); $(unstage)
16178 @[ -f ./gawk/Makefile ] || exit 0; \
16179 r=`${PWD_COMMAND}`; export r; \
16180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16181 $(HOST_EXPORTS) \
16182 for flag in $(EXTRA_HOST_FLAGS) ; do \
16183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16184 done; \
16185 echo "Doing TAGS in gawk" ; \
16186 (cd $(HOST_SUBDIR)/gawk && \
16187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16189 "RANLIB=$${RANLIB}" \
16190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16191 TAGS) \
16192 || exit 1
16194 @endif gawk
16196 .PHONY: maybe-install-info-gawk install-info-gawk
16197 maybe-install-info-gawk:
16198 @if gawk
16199 maybe-install-info-gawk: install-info-gawk
16201 install-info-gawk: \
16202 configure-gawk \
16203 info-gawk
16204 @: $(MAKE); $(unstage)
16205 @[ -f ./gawk/Makefile ] || exit 0; \
16206 r=`${PWD_COMMAND}`; export r; \
16207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16208 $(HOST_EXPORTS) \
16209 for flag in $(EXTRA_HOST_FLAGS) ; do \
16210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16211 done; \
16212 echo "Doing install-info in gawk" ; \
16213 (cd $(HOST_SUBDIR)/gawk && \
16214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16216 "RANLIB=$${RANLIB}" \
16217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16218 install-info) \
16219 || exit 1
16221 @endif gawk
16223 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
16224 maybe-install-pdf-gawk:
16225 @if gawk
16226 maybe-install-pdf-gawk: install-pdf-gawk
16228 install-pdf-gawk: \
16229 configure-gawk \
16230 pdf-gawk
16231 @: $(MAKE); $(unstage)
16232 @[ -f ./gawk/Makefile ] || exit 0; \
16233 r=`${PWD_COMMAND}`; export r; \
16234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 $(HOST_EXPORTS) \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 done; \
16239 echo "Doing install-pdf in gawk" ; \
16240 (cd $(HOST_SUBDIR)/gawk && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16245 install-pdf) \
16246 || exit 1
16248 @endif gawk
16250 .PHONY: maybe-install-html-gawk install-html-gawk
16251 maybe-install-html-gawk:
16252 @if gawk
16253 maybe-install-html-gawk: install-html-gawk
16255 install-html-gawk: \
16256 configure-gawk \
16257 html-gawk
16258 @: $(MAKE); $(unstage)
16259 @[ -f ./gawk/Makefile ] || exit 0; \
16260 r=`${PWD_COMMAND}`; export r; \
16261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16262 $(HOST_EXPORTS) \
16263 for flag in $(EXTRA_HOST_FLAGS) ; do \
16264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16265 done; \
16266 echo "Doing install-html in gawk" ; \
16267 (cd $(HOST_SUBDIR)/gawk && \
16268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16270 "RANLIB=$${RANLIB}" \
16271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16272 install-html) \
16273 || exit 1
16275 @endif gawk
16277 .PHONY: maybe-installcheck-gawk installcheck-gawk
16278 maybe-installcheck-gawk:
16279 @if gawk
16280 maybe-installcheck-gawk: installcheck-gawk
16282 installcheck-gawk: \
16283 configure-gawk
16284 @: $(MAKE); $(unstage)
16285 @[ -f ./gawk/Makefile ] || exit 0; \
16286 r=`${PWD_COMMAND}`; export r; \
16287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 $(HOST_EXPORTS) \
16289 for flag in $(EXTRA_HOST_FLAGS) ; do \
16290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16291 done; \
16292 echo "Doing installcheck in gawk" ; \
16293 (cd $(HOST_SUBDIR)/gawk && \
16294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16296 "RANLIB=$${RANLIB}" \
16297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16298 installcheck) \
16299 || exit 1
16301 @endif gawk
16303 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
16304 maybe-mostlyclean-gawk:
16305 @if gawk
16306 maybe-mostlyclean-gawk: mostlyclean-gawk
16308 mostlyclean-gawk:
16309 @: $(MAKE); $(unstage)
16310 @[ -f ./gawk/Makefile ] || exit 0; \
16311 r=`${PWD_COMMAND}`; export r; \
16312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16313 $(HOST_EXPORTS) \
16314 for flag in $(EXTRA_HOST_FLAGS) ; do \
16315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16316 done; \
16317 echo "Doing mostlyclean in gawk" ; \
16318 (cd $(HOST_SUBDIR)/gawk && \
16319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16321 "RANLIB=$${RANLIB}" \
16322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16323 mostlyclean) \
16324 || exit 1
16326 @endif gawk
16328 .PHONY: maybe-clean-gawk clean-gawk
16329 maybe-clean-gawk:
16330 @if gawk
16331 maybe-clean-gawk: clean-gawk
16333 clean-gawk:
16334 @: $(MAKE); $(unstage)
16335 @[ -f ./gawk/Makefile ] || exit 0; \
16336 r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 $(HOST_EXPORTS) \
16339 for flag in $(EXTRA_HOST_FLAGS) ; do \
16340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16341 done; \
16342 echo "Doing clean in gawk" ; \
16343 (cd $(HOST_SUBDIR)/gawk && \
16344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16346 "RANLIB=$${RANLIB}" \
16347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16348 clean) \
16349 || exit 1
16351 @endif gawk
16353 .PHONY: maybe-distclean-gawk distclean-gawk
16354 maybe-distclean-gawk:
16355 @if gawk
16356 maybe-distclean-gawk: distclean-gawk
16358 distclean-gawk:
16359 @: $(MAKE); $(unstage)
16360 @[ -f ./gawk/Makefile ] || exit 0; \
16361 r=`${PWD_COMMAND}`; export r; \
16362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16363 $(HOST_EXPORTS) \
16364 for flag in $(EXTRA_HOST_FLAGS) ; do \
16365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16366 done; \
16367 echo "Doing distclean in gawk" ; \
16368 (cd $(HOST_SUBDIR)/gawk && \
16369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16371 "RANLIB=$${RANLIB}" \
16372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16373 distclean) \
16374 || exit 1
16376 @endif gawk
16378 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
16379 maybe-maintainer-clean-gawk:
16380 @if gawk
16381 maybe-maintainer-clean-gawk: maintainer-clean-gawk
16383 maintainer-clean-gawk:
16384 @: $(MAKE); $(unstage)
16385 @[ -f ./gawk/Makefile ] || exit 0; \
16386 r=`${PWD_COMMAND}`; export r; \
16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16388 $(HOST_EXPORTS) \
16389 for flag in $(EXTRA_HOST_FLAGS) ; do \
16390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16391 done; \
16392 echo "Doing maintainer-clean in gawk" ; \
16393 (cd $(HOST_SUBDIR)/gawk && \
16394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16396 "RANLIB=$${RANLIB}" \
16397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16398 maintainer-clean) \
16399 || exit 1
16401 @endif gawk
16405 .PHONY: configure-gettext maybe-configure-gettext
16406 maybe-configure-gettext:
16407 @if gcc-bootstrap
16408 configure-gettext: stage_current
16409 @endif gcc-bootstrap
16410 @if gettext
16411 maybe-configure-gettext: configure-gettext
16412 configure-gettext:
16413 @: $(MAKE); $(unstage)
16414 @r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16416 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
16417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
16418 $(HOST_EXPORTS) \
16419 echo Configuring in $(HOST_SUBDIR)/gettext; \
16420 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
16421 case $(srcdir) in \
16422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16423 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
16424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16425 esac; \
16426 srcdiroption="--srcdir=$${topdir}/gettext"; \
16427 libsrcdir="$$s/gettext"; \
16428 $(SHELL) $${libsrcdir}/configure \
16429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16430 --target=${target_alias} $${srcdiroption} \
16431 || exit 1
16432 @endif gettext
16438 .PHONY: all-gettext maybe-all-gettext
16439 maybe-all-gettext:
16440 @if gcc-bootstrap
16441 all-gettext: stage_current
16442 @endif gcc-bootstrap
16443 @if gettext
16444 TARGET-gettext=all
16445 maybe-all-gettext: all-gettext
16446 all-gettext: configure-gettext
16447 @: $(MAKE); $(unstage)
16448 @r=`${PWD_COMMAND}`; export r; \
16449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16450 $(HOST_EXPORTS) \
16451 (cd $(HOST_SUBDIR)/gettext && \
16452 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16453 $(TARGET-gettext))
16454 @endif gettext
16459 .PHONY: check-gettext maybe-check-gettext
16460 maybe-check-gettext:
16461 @if gettext
16462 maybe-check-gettext: check-gettext
16464 check-gettext:
16465 @: $(MAKE); $(unstage)
16466 @r=`${PWD_COMMAND}`; export r; \
16467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16468 $(HOST_EXPORTS) \
16469 (cd $(HOST_SUBDIR)/gettext && \
16470 $(MAKE) $(FLAGS_TO_PASS) check)
16472 @endif gettext
16474 .PHONY: install-gettext maybe-install-gettext
16475 maybe-install-gettext:
16476 @if gettext
16477 maybe-install-gettext: install-gettext
16479 install-gettext: installdirs
16480 @: $(MAKE); $(unstage)
16481 @r=`${PWD_COMMAND}`; export r; \
16482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16483 $(HOST_EXPORTS) \
16484 (cd $(HOST_SUBDIR)/gettext && \
16485 $(MAKE) $(FLAGS_TO_PASS) install)
16487 @endif gettext
16489 .PHONY: install-strip-gettext maybe-install-strip-gettext
16490 maybe-install-strip-gettext:
16491 @if gettext
16492 maybe-install-strip-gettext: install-strip-gettext
16494 install-strip-gettext: installdirs
16495 @: $(MAKE); $(unstage)
16496 @r=`${PWD_COMMAND}`; export r; \
16497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16498 $(HOST_EXPORTS) \
16499 (cd $(HOST_SUBDIR)/gettext && \
16500 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16502 @endif gettext
16504 # Other targets (info, dvi, pdf, etc.)
16506 .PHONY: maybe-info-gettext info-gettext
16507 maybe-info-gettext:
16508 @if gettext
16509 maybe-info-gettext: info-gettext
16511 info-gettext: \
16512 configure-gettext
16513 @: $(MAKE); $(unstage)
16514 @[ -f ./gettext/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(HOST_EXPORTS) \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16520 done; \
16521 echo "Doing info in gettext" ; \
16522 (cd $(HOST_SUBDIR)/gettext && \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16527 info) \
16528 || exit 1
16530 @endif gettext
16532 .PHONY: maybe-dvi-gettext dvi-gettext
16533 maybe-dvi-gettext:
16534 @if gettext
16535 maybe-dvi-gettext: dvi-gettext
16537 dvi-gettext: \
16538 configure-gettext
16539 @: $(MAKE); $(unstage)
16540 @[ -f ./gettext/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16543 $(HOST_EXPORTS) \
16544 for flag in $(EXTRA_HOST_FLAGS) ; do \
16545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16546 done; \
16547 echo "Doing dvi in gettext" ; \
16548 (cd $(HOST_SUBDIR)/gettext && \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16551 "RANLIB=$${RANLIB}" \
16552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16553 dvi) \
16554 || exit 1
16556 @endif gettext
16558 .PHONY: maybe-pdf-gettext pdf-gettext
16559 maybe-pdf-gettext:
16560 @if gettext
16561 maybe-pdf-gettext: pdf-gettext
16563 pdf-gettext: \
16564 configure-gettext
16565 @: $(MAKE); $(unstage)
16566 @[ -f ./gettext/Makefile ] || exit 0; \
16567 r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16569 $(HOST_EXPORTS) \
16570 for flag in $(EXTRA_HOST_FLAGS) ; do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16572 done; \
16573 echo "Doing pdf in gettext" ; \
16574 (cd $(HOST_SUBDIR)/gettext && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16579 pdf) \
16580 || exit 1
16582 @endif gettext
16584 .PHONY: maybe-html-gettext html-gettext
16585 maybe-html-gettext:
16586 @if gettext
16587 maybe-html-gettext: html-gettext
16589 html-gettext: \
16590 configure-gettext
16591 @: $(MAKE); $(unstage)
16592 @[ -f ./gettext/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 $(HOST_EXPORTS) \
16596 for flag in $(EXTRA_HOST_FLAGS) ; do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16598 done; \
16599 echo "Doing html in gettext" ; \
16600 (cd $(HOST_SUBDIR)/gettext && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16605 html) \
16606 || exit 1
16608 @endif gettext
16610 .PHONY: maybe-TAGS-gettext TAGS-gettext
16611 maybe-TAGS-gettext:
16612 @if gettext
16613 maybe-TAGS-gettext: TAGS-gettext
16615 TAGS-gettext: \
16616 configure-gettext
16617 @: $(MAKE); $(unstage)
16618 @[ -f ./gettext/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 for flag in $(EXTRA_HOST_FLAGS) ; do \
16623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16624 done; \
16625 echo "Doing TAGS in gettext" ; \
16626 (cd $(HOST_SUBDIR)/gettext && \
16627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16629 "RANLIB=$${RANLIB}" \
16630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16631 TAGS) \
16632 || exit 1
16634 @endif gettext
16636 .PHONY: maybe-install-info-gettext install-info-gettext
16637 maybe-install-info-gettext:
16638 @if gettext
16639 maybe-install-info-gettext: install-info-gettext
16641 install-info-gettext: \
16642 configure-gettext \
16643 info-gettext
16644 @: $(MAKE); $(unstage)
16645 @[ -f ./gettext/Makefile ] || exit 0; \
16646 r=`${PWD_COMMAND}`; export r; \
16647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 $(HOST_EXPORTS) \
16649 for flag in $(EXTRA_HOST_FLAGS) ; do \
16650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16651 done; \
16652 echo "Doing install-info in gettext" ; \
16653 (cd $(HOST_SUBDIR)/gettext && \
16654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16656 "RANLIB=$${RANLIB}" \
16657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16658 install-info) \
16659 || exit 1
16661 @endif gettext
16663 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
16664 maybe-install-pdf-gettext:
16665 @if gettext
16666 maybe-install-pdf-gettext: install-pdf-gettext
16668 install-pdf-gettext: \
16669 configure-gettext \
16670 pdf-gettext
16671 @: $(MAKE); $(unstage)
16672 @[ -f ./gettext/Makefile ] || exit 0; \
16673 r=`${PWD_COMMAND}`; export r; \
16674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16675 $(HOST_EXPORTS) \
16676 for flag in $(EXTRA_HOST_FLAGS) ; do \
16677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 done; \
16679 echo "Doing install-pdf in gettext" ; \
16680 (cd $(HOST_SUBDIR)/gettext && \
16681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16683 "RANLIB=$${RANLIB}" \
16684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16685 install-pdf) \
16686 || exit 1
16688 @endif gettext
16690 .PHONY: maybe-install-html-gettext install-html-gettext
16691 maybe-install-html-gettext:
16692 @if gettext
16693 maybe-install-html-gettext: install-html-gettext
16695 install-html-gettext: \
16696 configure-gettext \
16697 html-gettext
16698 @: $(MAKE); $(unstage)
16699 @[ -f ./gettext/Makefile ] || exit 0; \
16700 r=`${PWD_COMMAND}`; export r; \
16701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16702 $(HOST_EXPORTS) \
16703 for flag in $(EXTRA_HOST_FLAGS) ; do \
16704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16705 done; \
16706 echo "Doing install-html in gettext" ; \
16707 (cd $(HOST_SUBDIR)/gettext && \
16708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16710 "RANLIB=$${RANLIB}" \
16711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16712 install-html) \
16713 || exit 1
16715 @endif gettext
16717 .PHONY: maybe-installcheck-gettext installcheck-gettext
16718 maybe-installcheck-gettext:
16719 @if gettext
16720 maybe-installcheck-gettext: installcheck-gettext
16722 installcheck-gettext: \
16723 configure-gettext
16724 @: $(MAKE); $(unstage)
16725 @[ -f ./gettext/Makefile ] || exit 0; \
16726 r=`${PWD_COMMAND}`; export r; \
16727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16728 $(HOST_EXPORTS) \
16729 for flag in $(EXTRA_HOST_FLAGS) ; do \
16730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16731 done; \
16732 echo "Doing installcheck in gettext" ; \
16733 (cd $(HOST_SUBDIR)/gettext && \
16734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16736 "RANLIB=$${RANLIB}" \
16737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16738 installcheck) \
16739 || exit 1
16741 @endif gettext
16743 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
16744 maybe-mostlyclean-gettext:
16745 @if gettext
16746 maybe-mostlyclean-gettext: mostlyclean-gettext
16748 mostlyclean-gettext:
16749 @: $(MAKE); $(unstage)
16750 @[ -f ./gettext/Makefile ] || exit 0; \
16751 r=`${PWD_COMMAND}`; export r; \
16752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 $(HOST_EXPORTS) \
16754 for flag in $(EXTRA_HOST_FLAGS) ; do \
16755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16756 done; \
16757 echo "Doing mostlyclean in gettext" ; \
16758 (cd $(HOST_SUBDIR)/gettext && \
16759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16761 "RANLIB=$${RANLIB}" \
16762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16763 mostlyclean) \
16764 || exit 1
16766 @endif gettext
16768 .PHONY: maybe-clean-gettext clean-gettext
16769 maybe-clean-gettext:
16770 @if gettext
16771 maybe-clean-gettext: clean-gettext
16773 clean-gettext:
16774 @: $(MAKE); $(unstage)
16775 @[ -f ./gettext/Makefile ] || exit 0; \
16776 r=`${PWD_COMMAND}`; export r; \
16777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16778 $(HOST_EXPORTS) \
16779 for flag in $(EXTRA_HOST_FLAGS) ; do \
16780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16781 done; \
16782 echo "Doing clean in gettext" ; \
16783 (cd $(HOST_SUBDIR)/gettext && \
16784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16786 "RANLIB=$${RANLIB}" \
16787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16788 clean) \
16789 || exit 1
16791 @endif gettext
16793 .PHONY: maybe-distclean-gettext distclean-gettext
16794 maybe-distclean-gettext:
16795 @if gettext
16796 maybe-distclean-gettext: distclean-gettext
16798 distclean-gettext:
16799 @: $(MAKE); $(unstage)
16800 @[ -f ./gettext/Makefile ] || exit 0; \
16801 r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16803 $(HOST_EXPORTS) \
16804 for flag in $(EXTRA_HOST_FLAGS) ; do \
16805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16806 done; \
16807 echo "Doing distclean in gettext" ; \
16808 (cd $(HOST_SUBDIR)/gettext && \
16809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16811 "RANLIB=$${RANLIB}" \
16812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16813 distclean) \
16814 || exit 1
16816 @endif gettext
16818 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16819 maybe-maintainer-clean-gettext:
16820 @if gettext
16821 maybe-maintainer-clean-gettext: maintainer-clean-gettext
16823 maintainer-clean-gettext:
16824 @: $(MAKE); $(unstage)
16825 @[ -f ./gettext/Makefile ] || exit 0; \
16826 r=`${PWD_COMMAND}`; export r; \
16827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16828 $(HOST_EXPORTS) \
16829 for flag in $(EXTRA_HOST_FLAGS) ; do \
16830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16831 done; \
16832 echo "Doing maintainer-clean in gettext" ; \
16833 (cd $(HOST_SUBDIR)/gettext && \
16834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16836 "RANLIB=$${RANLIB}" \
16837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16838 maintainer-clean) \
16839 || exit 1
16841 @endif gettext
16845 .PHONY: configure-gmp maybe-configure-gmp
16846 maybe-configure-gmp:
16847 @if gcc-bootstrap
16848 configure-gmp: stage_current
16849 @endif gcc-bootstrap
16850 @if gmp
16851 maybe-configure-gmp: configure-gmp
16852 configure-gmp:
16853 @r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16857 $(HOST_EXPORTS) \
16858 echo Configuring in $(HOST_SUBDIR)/gmp; \
16859 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16860 case $(srcdir) in \
16861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16862 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16864 esac; \
16865 srcdiroption="--srcdir=$${topdir}/gmp"; \
16866 libsrcdir="$$s/gmp"; \
16867 $(SHELL) $${libsrcdir}/configure \
16868 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16869 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16870 || exit 1
16871 @endif gmp
16875 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16876 maybe-configure-stage1-gmp:
16877 @if gmp-bootstrap
16878 maybe-configure-stage1-gmp: configure-stage1-gmp
16879 configure-stage1-gmp:
16880 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16882 @r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 TFLAGS="$(STAGE1_TFLAGS)"; \
16885 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16886 $(HOST_EXPORTS) \
16887 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16888 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16889 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16890 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16892 cd $(HOST_SUBDIR)/gmp || exit 1; \
16893 case $(srcdir) in \
16894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16895 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16897 esac; \
16898 srcdiroption="--srcdir=$${topdir}/gmp"; \
16899 libsrcdir="$$s/gmp"; \
16900 $(SHELL) $${libsrcdir}/configure \
16901 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16902 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16903 $(STAGE1_CONFIGURE_FLAGS) \
16904 --disable-shared
16905 @endif gmp-bootstrap
16907 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16908 maybe-configure-stage2-gmp:
16909 @if gmp-bootstrap
16910 maybe-configure-stage2-gmp: configure-stage2-gmp
16911 configure-stage2-gmp:
16912 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16913 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16914 @r=`${PWD_COMMAND}`; export r; \
16915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16916 TFLAGS="$(STAGE2_TFLAGS)"; \
16917 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16918 $(HOST_EXPORTS) \
16919 $(POSTSTAGE1_HOST_EXPORTS) \
16920 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16921 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16922 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16923 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16925 cd $(HOST_SUBDIR)/gmp || exit 1; \
16926 case $(srcdir) in \
16927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16928 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16930 esac; \
16931 srcdiroption="--srcdir=$${topdir}/gmp"; \
16932 libsrcdir="$$s/gmp"; \
16933 $(SHELL) $${libsrcdir}/configure \
16934 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16935 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16936 --with-build-libsubdir=$(HOST_SUBDIR) \
16937 $(STAGE2_CONFIGURE_FLAGS) \
16938 --disable-shared
16939 @endif gmp-bootstrap
16941 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16942 maybe-configure-stage3-gmp:
16943 @if gmp-bootstrap
16944 maybe-configure-stage3-gmp: configure-stage3-gmp
16945 configure-stage3-gmp:
16946 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16948 @r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 TFLAGS="$(STAGE3_TFLAGS)"; \
16951 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16952 $(HOST_EXPORTS) \
16953 $(POSTSTAGE1_HOST_EXPORTS) \
16954 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16955 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16956 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16957 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16959 cd $(HOST_SUBDIR)/gmp || exit 1; \
16960 case $(srcdir) in \
16961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16962 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16964 esac; \
16965 srcdiroption="--srcdir=$${topdir}/gmp"; \
16966 libsrcdir="$$s/gmp"; \
16967 $(SHELL) $${libsrcdir}/configure \
16968 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16969 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16970 --with-build-libsubdir=$(HOST_SUBDIR) \
16971 $(STAGE3_CONFIGURE_FLAGS) \
16972 --disable-shared
16973 @endif gmp-bootstrap
16975 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16976 maybe-configure-stage4-gmp:
16977 @if gmp-bootstrap
16978 maybe-configure-stage4-gmp: configure-stage4-gmp
16979 configure-stage4-gmp:
16980 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16982 @r=`${PWD_COMMAND}`; export r; \
16983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16984 TFLAGS="$(STAGE4_TFLAGS)"; \
16985 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16986 $(HOST_EXPORTS) \
16987 $(POSTSTAGE1_HOST_EXPORTS) \
16988 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16989 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16990 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16991 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16992 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16993 cd $(HOST_SUBDIR)/gmp || exit 1; \
16994 case $(srcdir) in \
16995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16996 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16998 esac; \
16999 srcdiroption="--srcdir=$${topdir}/gmp"; \
17000 libsrcdir="$$s/gmp"; \
17001 $(SHELL) $${libsrcdir}/configure \
17002 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17003 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17004 --with-build-libsubdir=$(HOST_SUBDIR) \
17005 $(STAGE4_CONFIGURE_FLAGS) \
17006 --disable-shared
17007 @endif gmp-bootstrap
17009 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
17010 maybe-configure-stageprofile-gmp:
17011 @if gmp-bootstrap
17012 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
17013 configure-stageprofile-gmp:
17014 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
17016 @r=`${PWD_COMMAND}`; export r; \
17017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17018 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17019 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
17020 $(HOST_EXPORTS) \
17021 $(POSTSTAGE1_HOST_EXPORTS) \
17022 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17023 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17024 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17025 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
17026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
17027 cd $(HOST_SUBDIR)/gmp || exit 1; \
17028 case $(srcdir) in \
17029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17030 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
17031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17032 esac; \
17033 srcdiroption="--srcdir=$${topdir}/gmp"; \
17034 libsrcdir="$$s/gmp"; \
17035 $(SHELL) $${libsrcdir}/configure \
17036 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17037 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17038 --with-build-libsubdir=$(HOST_SUBDIR) \
17039 $(STAGEprofile_CONFIGURE_FLAGS) \
17040 --disable-shared
17041 @endif gmp-bootstrap
17043 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
17044 maybe-configure-stagefeedback-gmp:
17045 @if gmp-bootstrap
17046 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
17047 configure-stagefeedback-gmp:
17048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
17050 @r=`${PWD_COMMAND}`; export r; \
17051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17053 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
17054 $(HOST_EXPORTS) \
17055 $(POSTSTAGE1_HOST_EXPORTS) \
17056 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17057 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17058 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17059 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
17060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
17061 cd $(HOST_SUBDIR)/gmp || exit 1; \
17062 case $(srcdir) in \
17063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17064 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
17065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17066 esac; \
17067 srcdiroption="--srcdir=$${topdir}/gmp"; \
17068 libsrcdir="$$s/gmp"; \
17069 $(SHELL) $${libsrcdir}/configure \
17070 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17071 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17072 --with-build-libsubdir=$(HOST_SUBDIR) \
17073 $(STAGEfeedback_CONFIGURE_FLAGS) \
17074 --disable-shared
17075 @endif gmp-bootstrap
17081 .PHONY: all-gmp maybe-all-gmp
17082 maybe-all-gmp:
17083 @if gcc-bootstrap
17084 all-gmp: stage_current
17085 @endif gcc-bootstrap
17086 @if gmp
17087 TARGET-gmp=all
17088 maybe-all-gmp: all-gmp
17089 all-gmp: configure-gmp
17090 @r=`${PWD_COMMAND}`; export r; \
17091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17092 $(HOST_EXPORTS) \
17093 (cd $(HOST_SUBDIR)/gmp && \
17094 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17095 $(TARGET-gmp))
17096 @endif gmp
17100 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
17101 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
17102 maybe-all-stage1-gmp:
17103 maybe-clean-stage1-gmp:
17104 @if gmp-bootstrap
17105 maybe-all-stage1-gmp: all-stage1-gmp
17106 all-stage1: all-stage1-gmp
17107 TARGET-stage1-gmp = $(TARGET-gmp)
17108 all-stage1-gmp: configure-stage1-gmp
17109 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17110 @r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 TFLAGS="$(STAGE1_TFLAGS)"; \
17113 $(HOST_EXPORTS) \
17114 cd $(HOST_SUBDIR)/gmp && \
17115 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17116 CFLAGS="$(STAGE1_CFLAGS)" \
17117 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17118 LIBCFLAGS="$(LIBCFLAGS)" \
17119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17122 $(EXTRA_HOST_FLAGS) \
17123 TFLAGS="$(STAGE1_TFLAGS)" \
17124 $(TARGET-stage1-gmp)
17126 maybe-clean-stage1-gmp: clean-stage1-gmp
17127 clean-stage1: clean-stage1-gmp
17128 clean-stage1-gmp:
17129 @if [ $(current_stage) = stage1 ]; then \
17130 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17131 else \
17132 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
17133 $(MAKE) stage1-start; \
17134 fi; \
17135 cd $(HOST_SUBDIR)/gmp && \
17136 $(MAKE) $(EXTRA_HOST_FLAGS) \
17137 clean
17138 @endif gmp-bootstrap
17141 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
17142 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
17143 maybe-all-stage2-gmp:
17144 maybe-clean-stage2-gmp:
17145 @if gmp-bootstrap
17146 maybe-all-stage2-gmp: all-stage2-gmp
17147 all-stage2: all-stage2-gmp
17148 TARGET-stage2-gmp = $(TARGET-gmp)
17149 all-stage2-gmp: configure-stage2-gmp
17150 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17151 @r=`${PWD_COMMAND}`; export r; \
17152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17153 TFLAGS="$(STAGE2_TFLAGS)"; \
17154 $(HOST_EXPORTS) \
17155 $(POSTSTAGE1_HOST_EXPORTS) \
17156 cd $(HOST_SUBDIR)/gmp && \
17157 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17158 CFLAGS="$(STAGE2_CFLAGS)" \
17159 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17160 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17161 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17162 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17163 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17164 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17165 TFLAGS="$(STAGE2_TFLAGS)" \
17166 $(TARGET-stage2-gmp)
17168 maybe-clean-stage2-gmp: clean-stage2-gmp
17169 clean-stage2: clean-stage2-gmp
17170 clean-stage2-gmp:
17171 @if [ $(current_stage) = stage2 ]; then \
17172 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17173 else \
17174 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
17175 $(MAKE) stage2-start; \
17176 fi; \
17177 cd $(HOST_SUBDIR)/gmp && \
17178 $(MAKE) $(EXTRA_HOST_FLAGS) \
17179 $(POSTSTAGE1_FLAGS_TO_PASS) \
17180 clean
17181 @endif gmp-bootstrap
17184 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
17185 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
17186 maybe-all-stage3-gmp:
17187 maybe-clean-stage3-gmp:
17188 @if gmp-bootstrap
17189 maybe-all-stage3-gmp: all-stage3-gmp
17190 all-stage3: all-stage3-gmp
17191 TARGET-stage3-gmp = $(TARGET-gmp)
17192 all-stage3-gmp: configure-stage3-gmp
17193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17194 @r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 TFLAGS="$(STAGE3_TFLAGS)"; \
17197 $(HOST_EXPORTS) \
17198 $(POSTSTAGE1_HOST_EXPORTS) \
17199 cd $(HOST_SUBDIR)/gmp && \
17200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17201 CFLAGS="$(STAGE3_CFLAGS)" \
17202 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17203 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17208 TFLAGS="$(STAGE3_TFLAGS)" \
17209 $(TARGET-stage3-gmp)
17211 maybe-clean-stage3-gmp: clean-stage3-gmp
17212 clean-stage3: clean-stage3-gmp
17213 clean-stage3-gmp:
17214 @if [ $(current_stage) = stage3 ]; then \
17215 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17216 else \
17217 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
17218 $(MAKE) stage3-start; \
17219 fi; \
17220 cd $(HOST_SUBDIR)/gmp && \
17221 $(MAKE) $(EXTRA_HOST_FLAGS) \
17222 $(POSTSTAGE1_FLAGS_TO_PASS) \
17223 clean
17224 @endif gmp-bootstrap
17227 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
17228 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
17229 maybe-all-stage4-gmp:
17230 maybe-clean-stage4-gmp:
17231 @if gmp-bootstrap
17232 maybe-all-stage4-gmp: all-stage4-gmp
17233 all-stage4: all-stage4-gmp
17234 TARGET-stage4-gmp = $(TARGET-gmp)
17235 all-stage4-gmp: configure-stage4-gmp
17236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 TFLAGS="$(STAGE4_TFLAGS)"; \
17240 $(HOST_EXPORTS) \
17241 $(POSTSTAGE1_HOST_EXPORTS) \
17242 cd $(HOST_SUBDIR)/gmp && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17244 CFLAGS="$(STAGE4_CFLAGS)" \
17245 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17246 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17251 TFLAGS="$(STAGE4_TFLAGS)" \
17252 $(TARGET-stage4-gmp)
17254 maybe-clean-stage4-gmp: clean-stage4-gmp
17255 clean-stage4: clean-stage4-gmp
17256 clean-stage4-gmp:
17257 @if [ $(current_stage) = stage4 ]; then \
17258 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17259 else \
17260 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
17261 $(MAKE) stage4-start; \
17262 fi; \
17263 cd $(HOST_SUBDIR)/gmp && \
17264 $(MAKE) $(EXTRA_HOST_FLAGS) \
17265 $(POSTSTAGE1_FLAGS_TO_PASS) \
17266 clean
17267 @endif gmp-bootstrap
17270 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
17271 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
17272 maybe-all-stageprofile-gmp:
17273 maybe-clean-stageprofile-gmp:
17274 @if gmp-bootstrap
17275 maybe-all-stageprofile-gmp: all-stageprofile-gmp
17276 all-stageprofile: all-stageprofile-gmp
17277 TARGET-stageprofile-gmp = $(TARGET-gmp)
17278 all-stageprofile-gmp: configure-stageprofile-gmp
17279 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17280 @r=`${PWD_COMMAND}`; export r; \
17281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17282 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17283 $(HOST_EXPORTS) \
17284 $(POSTSTAGE1_HOST_EXPORTS) \
17285 cd $(HOST_SUBDIR)/gmp && \
17286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17287 CFLAGS="$(STAGEprofile_CFLAGS)" \
17288 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17289 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17294 TFLAGS="$(STAGEprofile_TFLAGS)" \
17295 $(TARGET-stageprofile-gmp)
17297 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
17298 clean-stageprofile: clean-stageprofile-gmp
17299 clean-stageprofile-gmp:
17300 @if [ $(current_stage) = stageprofile ]; then \
17301 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17302 else \
17303 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
17304 $(MAKE) stageprofile-start; \
17305 fi; \
17306 cd $(HOST_SUBDIR)/gmp && \
17307 $(MAKE) $(EXTRA_HOST_FLAGS) \
17308 $(POSTSTAGE1_FLAGS_TO_PASS) \
17309 clean
17310 @endif gmp-bootstrap
17313 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
17314 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
17315 maybe-all-stagefeedback-gmp:
17316 maybe-clean-stagefeedback-gmp:
17317 @if gmp-bootstrap
17318 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
17319 all-stagefeedback: all-stagefeedback-gmp
17320 TARGET-stagefeedback-gmp = $(TARGET-gmp)
17321 all-stagefeedback-gmp: configure-stagefeedback-gmp
17322 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17323 @r=`${PWD_COMMAND}`; export r; \
17324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17325 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17326 $(HOST_EXPORTS) \
17327 $(POSTSTAGE1_HOST_EXPORTS) \
17328 cd $(HOST_SUBDIR)/gmp && \
17329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17330 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17331 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17332 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17336 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17337 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17338 $(TARGET-stagefeedback-gmp)
17340 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
17341 clean-stagefeedback: clean-stagefeedback-gmp
17342 clean-stagefeedback-gmp:
17343 @if [ $(current_stage) = stagefeedback ]; then \
17344 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
17345 else \
17346 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
17347 $(MAKE) stagefeedback-start; \
17348 fi; \
17349 cd $(HOST_SUBDIR)/gmp && \
17350 $(MAKE) $(EXTRA_HOST_FLAGS) \
17351 $(POSTSTAGE1_FLAGS_TO_PASS) \
17352 clean
17353 @endif gmp-bootstrap
17359 .PHONY: check-gmp maybe-check-gmp
17360 maybe-check-gmp:
17361 @if gmp
17362 maybe-check-gmp: check-gmp
17364 check-gmp:
17365 @: $(MAKE); $(unstage)
17366 @r=`${PWD_COMMAND}`; export r; \
17367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17368 $(HOST_EXPORTS) \
17369 (cd $(HOST_SUBDIR)/gmp && \
17370 $(MAKE) $(FLAGS_TO_PASS) check)
17372 @endif gmp
17374 .PHONY: install-gmp maybe-install-gmp
17375 maybe-install-gmp:
17376 @if gmp
17377 maybe-install-gmp: install-gmp
17379 install-gmp:
17381 @endif gmp
17383 .PHONY: install-strip-gmp maybe-install-strip-gmp
17384 maybe-install-strip-gmp:
17385 @if gmp
17386 maybe-install-strip-gmp: install-strip-gmp
17388 install-strip-gmp:
17390 @endif gmp
17392 # Other targets (info, dvi, pdf, etc.)
17394 .PHONY: maybe-info-gmp info-gmp
17395 maybe-info-gmp:
17396 @if gmp
17397 maybe-info-gmp: info-gmp
17399 info-gmp: \
17400 configure-gmp
17401 @[ -f ./gmp/Makefile ] || exit 0; \
17402 r=`${PWD_COMMAND}`; export r; \
17403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17404 $(HOST_EXPORTS) \
17405 for flag in $(EXTRA_HOST_FLAGS) ; do \
17406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17407 done; \
17408 echo "Doing info in gmp" ; \
17409 (cd $(HOST_SUBDIR)/gmp && \
17410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17412 "RANLIB=$${RANLIB}" \
17413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17414 info) \
17415 || exit 1
17417 @endif gmp
17419 .PHONY: maybe-dvi-gmp dvi-gmp
17420 maybe-dvi-gmp:
17421 @if gmp
17422 maybe-dvi-gmp: dvi-gmp
17424 dvi-gmp: \
17425 configure-gmp
17426 @[ -f ./gmp/Makefile ] || exit 0; \
17427 r=`${PWD_COMMAND}`; export r; \
17428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17429 $(HOST_EXPORTS) \
17430 for flag in $(EXTRA_HOST_FLAGS) ; do \
17431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17432 done; \
17433 echo "Doing dvi in gmp" ; \
17434 (cd $(HOST_SUBDIR)/gmp && \
17435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17437 "RANLIB=$${RANLIB}" \
17438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17439 dvi) \
17440 || exit 1
17442 @endif gmp
17444 .PHONY: maybe-pdf-gmp pdf-gmp
17445 maybe-pdf-gmp:
17446 @if gmp
17447 maybe-pdf-gmp: pdf-gmp
17449 pdf-gmp: \
17450 configure-gmp
17451 @[ -f ./gmp/Makefile ] || exit 0; \
17452 r=`${PWD_COMMAND}`; export r; \
17453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17454 $(HOST_EXPORTS) \
17455 for flag in $(EXTRA_HOST_FLAGS) ; do \
17456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17457 done; \
17458 echo "Doing pdf in gmp" ; \
17459 (cd $(HOST_SUBDIR)/gmp && \
17460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17462 "RANLIB=$${RANLIB}" \
17463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17464 pdf) \
17465 || exit 1
17467 @endif gmp
17469 .PHONY: maybe-html-gmp html-gmp
17470 maybe-html-gmp:
17471 @if gmp
17472 maybe-html-gmp: html-gmp
17474 html-gmp: \
17475 configure-gmp
17476 @[ -f ./gmp/Makefile ] || exit 0; \
17477 r=`${PWD_COMMAND}`; export r; \
17478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17479 $(HOST_EXPORTS) \
17480 for flag in $(EXTRA_HOST_FLAGS) ; do \
17481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17482 done; \
17483 echo "Doing html in gmp" ; \
17484 (cd $(HOST_SUBDIR)/gmp && \
17485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17487 "RANLIB=$${RANLIB}" \
17488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17489 html) \
17490 || exit 1
17492 @endif gmp
17494 .PHONY: maybe-TAGS-gmp TAGS-gmp
17495 maybe-TAGS-gmp:
17496 @if gmp
17497 maybe-TAGS-gmp: TAGS-gmp
17499 TAGS-gmp: \
17500 configure-gmp
17501 @[ -f ./gmp/Makefile ] || exit 0; \
17502 r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 $(HOST_EXPORTS) \
17505 for flag in $(EXTRA_HOST_FLAGS) ; do \
17506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 done; \
17508 echo "Doing TAGS in gmp" ; \
17509 (cd $(HOST_SUBDIR)/gmp && \
17510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17512 "RANLIB=$${RANLIB}" \
17513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17514 TAGS) \
17515 || exit 1
17517 @endif gmp
17519 .PHONY: maybe-install-info-gmp install-info-gmp
17520 maybe-install-info-gmp:
17521 @if gmp
17522 maybe-install-info-gmp: install-info-gmp
17524 install-info-gmp: \
17525 configure-gmp \
17526 info-gmp
17527 @[ -f ./gmp/Makefile ] || exit 0; \
17528 r=`${PWD_COMMAND}`; export r; \
17529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17530 $(HOST_EXPORTS) \
17531 for flag in $(EXTRA_HOST_FLAGS) ; do \
17532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17533 done; \
17534 echo "Doing install-info in gmp" ; \
17535 (cd $(HOST_SUBDIR)/gmp && \
17536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17538 "RANLIB=$${RANLIB}" \
17539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17540 install-info) \
17541 || exit 1
17543 @endif gmp
17545 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
17546 maybe-install-pdf-gmp:
17547 @if gmp
17548 maybe-install-pdf-gmp: install-pdf-gmp
17550 install-pdf-gmp: \
17551 configure-gmp \
17552 pdf-gmp
17553 @[ -f ./gmp/Makefile ] || exit 0; \
17554 r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 $(HOST_EXPORTS) \
17557 for flag in $(EXTRA_HOST_FLAGS) ; do \
17558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 done; \
17560 echo "Doing install-pdf in gmp" ; \
17561 (cd $(HOST_SUBDIR)/gmp && \
17562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17564 "RANLIB=$${RANLIB}" \
17565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17566 install-pdf) \
17567 || exit 1
17569 @endif gmp
17571 .PHONY: maybe-install-html-gmp install-html-gmp
17572 maybe-install-html-gmp:
17573 @if gmp
17574 maybe-install-html-gmp: install-html-gmp
17576 install-html-gmp: \
17577 configure-gmp \
17578 html-gmp
17579 @[ -f ./gmp/Makefile ] || exit 0; \
17580 r=`${PWD_COMMAND}`; export r; \
17581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17582 $(HOST_EXPORTS) \
17583 for flag in $(EXTRA_HOST_FLAGS) ; do \
17584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17585 done; \
17586 echo "Doing install-html in gmp" ; \
17587 (cd $(HOST_SUBDIR)/gmp && \
17588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17590 "RANLIB=$${RANLIB}" \
17591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17592 install-html) \
17593 || exit 1
17595 @endif gmp
17597 .PHONY: maybe-installcheck-gmp installcheck-gmp
17598 maybe-installcheck-gmp:
17599 @if gmp
17600 maybe-installcheck-gmp: installcheck-gmp
17602 installcheck-gmp: \
17603 configure-gmp
17604 @[ -f ./gmp/Makefile ] || exit 0; \
17605 r=`${PWD_COMMAND}`; export r; \
17606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17607 $(HOST_EXPORTS) \
17608 for flag in $(EXTRA_HOST_FLAGS) ; do \
17609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17610 done; \
17611 echo "Doing installcheck in gmp" ; \
17612 (cd $(HOST_SUBDIR)/gmp && \
17613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17615 "RANLIB=$${RANLIB}" \
17616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17617 installcheck) \
17618 || exit 1
17620 @endif gmp
17622 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
17623 maybe-mostlyclean-gmp:
17624 @if gmp
17625 maybe-mostlyclean-gmp: mostlyclean-gmp
17627 mostlyclean-gmp:
17628 @[ -f ./gmp/Makefile ] || exit 0; \
17629 r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 $(HOST_EXPORTS) \
17632 for flag in $(EXTRA_HOST_FLAGS) ; do \
17633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17634 done; \
17635 echo "Doing mostlyclean in gmp" ; \
17636 (cd $(HOST_SUBDIR)/gmp && \
17637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17639 "RANLIB=$${RANLIB}" \
17640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17641 mostlyclean) \
17642 || exit 1
17644 @endif gmp
17646 .PHONY: maybe-clean-gmp clean-gmp
17647 maybe-clean-gmp:
17648 @if gmp
17649 maybe-clean-gmp: clean-gmp
17651 clean-gmp:
17652 @[ -f ./gmp/Makefile ] || exit 0; \
17653 r=`${PWD_COMMAND}`; export r; \
17654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17655 $(HOST_EXPORTS) \
17656 for flag in $(EXTRA_HOST_FLAGS) ; do \
17657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17658 done; \
17659 echo "Doing clean in gmp" ; \
17660 (cd $(HOST_SUBDIR)/gmp && \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17663 "RANLIB=$${RANLIB}" \
17664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17665 clean) \
17666 || exit 1
17668 @endif gmp
17670 .PHONY: maybe-distclean-gmp distclean-gmp
17671 maybe-distclean-gmp:
17672 @if gmp
17673 maybe-distclean-gmp: distclean-gmp
17675 distclean-gmp:
17676 @[ -f ./gmp/Makefile ] || exit 0; \
17677 r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 $(HOST_EXPORTS) \
17680 for flag in $(EXTRA_HOST_FLAGS) ; do \
17681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17682 done; \
17683 echo "Doing distclean in gmp" ; \
17684 (cd $(HOST_SUBDIR)/gmp && \
17685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17687 "RANLIB=$${RANLIB}" \
17688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17689 distclean) \
17690 || exit 1
17692 @endif gmp
17694 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
17695 maybe-maintainer-clean-gmp:
17696 @if gmp
17697 maybe-maintainer-clean-gmp: maintainer-clean-gmp
17699 maintainer-clean-gmp:
17700 @[ -f ./gmp/Makefile ] || exit 0; \
17701 r=`${PWD_COMMAND}`; export r; \
17702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17703 $(HOST_EXPORTS) \
17704 for flag in $(EXTRA_HOST_FLAGS) ; do \
17705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17706 done; \
17707 echo "Doing maintainer-clean in gmp" ; \
17708 (cd $(HOST_SUBDIR)/gmp && \
17709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17711 "RANLIB=$${RANLIB}" \
17712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17713 maintainer-clean) \
17714 || exit 1
17716 @endif gmp
17720 .PHONY: configure-mpfr maybe-configure-mpfr
17721 maybe-configure-mpfr:
17722 @if gcc-bootstrap
17723 configure-mpfr: stage_current
17724 @endif gcc-bootstrap
17725 @if mpfr
17726 maybe-configure-mpfr: configure-mpfr
17727 configure-mpfr:
17728 @r=`${PWD_COMMAND}`; export r; \
17729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17730 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17732 $(HOST_EXPORTS) \
17733 echo Configuring in $(HOST_SUBDIR)/mpfr; \
17734 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
17735 case $(srcdir) in \
17736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17737 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17739 esac; \
17740 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17741 libsrcdir="$$s/mpfr"; \
17742 $(SHELL) $${libsrcdir}/configure \
17743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17744 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
17745 || exit 1
17746 @endif mpfr
17750 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
17751 maybe-configure-stage1-mpfr:
17752 @if mpfr-bootstrap
17753 maybe-configure-stage1-mpfr: configure-stage1-mpfr
17754 configure-stage1-mpfr:
17755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17757 @r=`${PWD_COMMAND}`; export r; \
17758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17759 TFLAGS="$(STAGE1_TFLAGS)"; \
17760 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17761 $(HOST_EXPORTS) \
17762 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17763 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17764 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17765 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
17766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17767 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17768 case $(srcdir) in \
17769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17770 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17772 esac; \
17773 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17774 libsrcdir="$$s/mpfr"; \
17775 $(SHELL) $${libsrcdir}/configure \
17776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17777 --target=${target_alias} $${srcdiroption} \
17778 $(STAGE1_CONFIGURE_FLAGS) \
17779 --disable-shared @extra_mpfr_configure_flags@
17780 @endif mpfr-bootstrap
17782 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17783 maybe-configure-stage2-mpfr:
17784 @if mpfr-bootstrap
17785 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17786 configure-stage2-mpfr:
17787 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17788 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17789 @r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 TFLAGS="$(STAGE2_TFLAGS)"; \
17792 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17793 $(HOST_EXPORTS) \
17794 $(POSTSTAGE1_HOST_EXPORTS) \
17795 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17796 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17797 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17798 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17800 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17801 case $(srcdir) in \
17802 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17803 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17804 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17805 esac; \
17806 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17807 libsrcdir="$$s/mpfr"; \
17808 $(SHELL) $${libsrcdir}/configure \
17809 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17810 --target=${target_alias} $${srcdiroption} \
17811 --with-build-libsubdir=$(HOST_SUBDIR) \
17812 $(STAGE2_CONFIGURE_FLAGS) \
17813 --disable-shared @extra_mpfr_configure_flags@
17814 @endif mpfr-bootstrap
17816 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17817 maybe-configure-stage3-mpfr:
17818 @if mpfr-bootstrap
17819 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17820 configure-stage3-mpfr:
17821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17823 @r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 TFLAGS="$(STAGE3_TFLAGS)"; \
17826 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17827 $(HOST_EXPORTS) \
17828 $(POSTSTAGE1_HOST_EXPORTS) \
17829 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17830 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17831 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17832 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17834 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17835 case $(srcdir) in \
17836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17837 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17839 esac; \
17840 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17841 libsrcdir="$$s/mpfr"; \
17842 $(SHELL) $${libsrcdir}/configure \
17843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17844 --target=${target_alias} $${srcdiroption} \
17845 --with-build-libsubdir=$(HOST_SUBDIR) \
17846 $(STAGE3_CONFIGURE_FLAGS) \
17847 --disable-shared @extra_mpfr_configure_flags@
17848 @endif mpfr-bootstrap
17850 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17851 maybe-configure-stage4-mpfr:
17852 @if mpfr-bootstrap
17853 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17854 configure-stage4-mpfr:
17855 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17857 @r=`${PWD_COMMAND}`; export r; \
17858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17859 TFLAGS="$(STAGE4_TFLAGS)"; \
17860 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17861 $(HOST_EXPORTS) \
17862 $(POSTSTAGE1_HOST_EXPORTS) \
17863 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17864 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17865 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17866 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17868 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17869 case $(srcdir) in \
17870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17871 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17873 esac; \
17874 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17875 libsrcdir="$$s/mpfr"; \
17876 $(SHELL) $${libsrcdir}/configure \
17877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17878 --target=${target_alias} $${srcdiroption} \
17879 --with-build-libsubdir=$(HOST_SUBDIR) \
17880 $(STAGE4_CONFIGURE_FLAGS) \
17881 --disable-shared @extra_mpfr_configure_flags@
17882 @endif mpfr-bootstrap
17884 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17885 maybe-configure-stageprofile-mpfr:
17886 @if mpfr-bootstrap
17887 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17888 configure-stageprofile-mpfr:
17889 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17891 @r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17894 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17895 $(HOST_EXPORTS) \
17896 $(POSTSTAGE1_HOST_EXPORTS) \
17897 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17898 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17899 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17900 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17902 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17903 case $(srcdir) in \
17904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17905 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17907 esac; \
17908 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17909 libsrcdir="$$s/mpfr"; \
17910 $(SHELL) $${libsrcdir}/configure \
17911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17912 --target=${target_alias} $${srcdiroption} \
17913 --with-build-libsubdir=$(HOST_SUBDIR) \
17914 $(STAGEprofile_CONFIGURE_FLAGS) \
17915 --disable-shared @extra_mpfr_configure_flags@
17916 @endif mpfr-bootstrap
17918 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17919 maybe-configure-stagefeedback-mpfr:
17920 @if mpfr-bootstrap
17921 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17922 configure-stagefeedback-mpfr:
17923 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17925 @r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17928 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17929 $(HOST_EXPORTS) \
17930 $(POSTSTAGE1_HOST_EXPORTS) \
17931 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17932 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17933 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17934 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17936 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17937 case $(srcdir) in \
17938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17939 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17941 esac; \
17942 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17943 libsrcdir="$$s/mpfr"; \
17944 $(SHELL) $${libsrcdir}/configure \
17945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17946 --target=${target_alias} $${srcdiroption} \
17947 --with-build-libsubdir=$(HOST_SUBDIR) \
17948 $(STAGEfeedback_CONFIGURE_FLAGS) \
17949 --disable-shared @extra_mpfr_configure_flags@
17950 @endif mpfr-bootstrap
17956 .PHONY: all-mpfr maybe-all-mpfr
17957 maybe-all-mpfr:
17958 @if gcc-bootstrap
17959 all-mpfr: stage_current
17960 @endif gcc-bootstrap
17961 @if mpfr
17962 TARGET-mpfr=all
17963 maybe-all-mpfr: all-mpfr
17964 all-mpfr: configure-mpfr
17965 @r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967 $(HOST_EXPORTS) \
17968 (cd $(HOST_SUBDIR)/mpfr && \
17969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17970 $(TARGET-mpfr))
17971 @endif mpfr
17975 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17976 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17977 maybe-all-stage1-mpfr:
17978 maybe-clean-stage1-mpfr:
17979 @if mpfr-bootstrap
17980 maybe-all-stage1-mpfr: all-stage1-mpfr
17981 all-stage1: all-stage1-mpfr
17982 TARGET-stage1-mpfr = $(TARGET-mpfr)
17983 all-stage1-mpfr: configure-stage1-mpfr
17984 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17985 @r=`${PWD_COMMAND}`; export r; \
17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 TFLAGS="$(STAGE1_TFLAGS)"; \
17988 $(HOST_EXPORTS) \
17989 cd $(HOST_SUBDIR)/mpfr && \
17990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17991 CFLAGS="$(STAGE1_CFLAGS)" \
17992 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17993 LIBCFLAGS="$(LIBCFLAGS)" \
17994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17997 $(EXTRA_HOST_FLAGS) \
17998 TFLAGS="$(STAGE1_TFLAGS)" \
17999 $(TARGET-stage1-mpfr)
18001 maybe-clean-stage1-mpfr: clean-stage1-mpfr
18002 clean-stage1: clean-stage1-mpfr
18003 clean-stage1-mpfr:
18004 @if [ $(current_stage) = stage1 ]; then \
18005 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18006 else \
18007 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
18008 $(MAKE) stage1-start; \
18009 fi; \
18010 cd $(HOST_SUBDIR)/mpfr && \
18011 $(MAKE) $(EXTRA_HOST_FLAGS) \
18012 clean
18013 @endif mpfr-bootstrap
18016 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
18017 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
18018 maybe-all-stage2-mpfr:
18019 maybe-clean-stage2-mpfr:
18020 @if mpfr-bootstrap
18021 maybe-all-stage2-mpfr: all-stage2-mpfr
18022 all-stage2: all-stage2-mpfr
18023 TARGET-stage2-mpfr = $(TARGET-mpfr)
18024 all-stage2-mpfr: configure-stage2-mpfr
18025 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18026 @r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 TFLAGS="$(STAGE2_TFLAGS)"; \
18029 $(HOST_EXPORTS) \
18030 $(POSTSTAGE1_HOST_EXPORTS) \
18031 cd $(HOST_SUBDIR)/mpfr && \
18032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18033 CFLAGS="$(STAGE2_CFLAGS)" \
18034 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18035 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18040 TFLAGS="$(STAGE2_TFLAGS)" \
18041 $(TARGET-stage2-mpfr)
18043 maybe-clean-stage2-mpfr: clean-stage2-mpfr
18044 clean-stage2: clean-stage2-mpfr
18045 clean-stage2-mpfr:
18046 @if [ $(current_stage) = stage2 ]; then \
18047 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18048 else \
18049 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
18050 $(MAKE) stage2-start; \
18051 fi; \
18052 cd $(HOST_SUBDIR)/mpfr && \
18053 $(MAKE) $(EXTRA_HOST_FLAGS) \
18054 $(POSTSTAGE1_FLAGS_TO_PASS) \
18055 clean
18056 @endif mpfr-bootstrap
18059 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
18060 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
18061 maybe-all-stage3-mpfr:
18062 maybe-clean-stage3-mpfr:
18063 @if mpfr-bootstrap
18064 maybe-all-stage3-mpfr: all-stage3-mpfr
18065 all-stage3: all-stage3-mpfr
18066 TARGET-stage3-mpfr = $(TARGET-mpfr)
18067 all-stage3-mpfr: configure-stage3-mpfr
18068 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18069 @r=`${PWD_COMMAND}`; export r; \
18070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18071 TFLAGS="$(STAGE3_TFLAGS)"; \
18072 $(HOST_EXPORTS) \
18073 $(POSTSTAGE1_HOST_EXPORTS) \
18074 cd $(HOST_SUBDIR)/mpfr && \
18075 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18076 CFLAGS="$(STAGE3_CFLAGS)" \
18077 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18078 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18079 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18080 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18081 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18082 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18083 TFLAGS="$(STAGE3_TFLAGS)" \
18084 $(TARGET-stage3-mpfr)
18086 maybe-clean-stage3-mpfr: clean-stage3-mpfr
18087 clean-stage3: clean-stage3-mpfr
18088 clean-stage3-mpfr:
18089 @if [ $(current_stage) = stage3 ]; then \
18090 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18091 else \
18092 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
18093 $(MAKE) stage3-start; \
18094 fi; \
18095 cd $(HOST_SUBDIR)/mpfr && \
18096 $(MAKE) $(EXTRA_HOST_FLAGS) \
18097 $(POSTSTAGE1_FLAGS_TO_PASS) \
18098 clean
18099 @endif mpfr-bootstrap
18102 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
18103 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
18104 maybe-all-stage4-mpfr:
18105 maybe-clean-stage4-mpfr:
18106 @if mpfr-bootstrap
18107 maybe-all-stage4-mpfr: all-stage4-mpfr
18108 all-stage4: all-stage4-mpfr
18109 TARGET-stage4-mpfr = $(TARGET-mpfr)
18110 all-stage4-mpfr: configure-stage4-mpfr
18111 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18112 @r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 TFLAGS="$(STAGE4_TFLAGS)"; \
18115 $(HOST_EXPORTS) \
18116 $(POSTSTAGE1_HOST_EXPORTS) \
18117 cd $(HOST_SUBDIR)/mpfr && \
18118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18119 CFLAGS="$(STAGE4_CFLAGS)" \
18120 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18121 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18125 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18126 TFLAGS="$(STAGE4_TFLAGS)" \
18127 $(TARGET-stage4-mpfr)
18129 maybe-clean-stage4-mpfr: clean-stage4-mpfr
18130 clean-stage4: clean-stage4-mpfr
18131 clean-stage4-mpfr:
18132 @if [ $(current_stage) = stage4 ]; then \
18133 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18134 else \
18135 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
18136 $(MAKE) stage4-start; \
18137 fi; \
18138 cd $(HOST_SUBDIR)/mpfr && \
18139 $(MAKE) $(EXTRA_HOST_FLAGS) \
18140 $(POSTSTAGE1_FLAGS_TO_PASS) \
18141 clean
18142 @endif mpfr-bootstrap
18145 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
18146 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
18147 maybe-all-stageprofile-mpfr:
18148 maybe-clean-stageprofile-mpfr:
18149 @if mpfr-bootstrap
18150 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
18151 all-stageprofile: all-stageprofile-mpfr
18152 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
18153 all-stageprofile-mpfr: configure-stageprofile-mpfr
18154 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18155 @r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18158 $(HOST_EXPORTS) \
18159 $(POSTSTAGE1_HOST_EXPORTS) \
18160 cd $(HOST_SUBDIR)/mpfr && \
18161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18162 CFLAGS="$(STAGEprofile_CFLAGS)" \
18163 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18164 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18169 TFLAGS="$(STAGEprofile_TFLAGS)" \
18170 $(TARGET-stageprofile-mpfr)
18172 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
18173 clean-stageprofile: clean-stageprofile-mpfr
18174 clean-stageprofile-mpfr:
18175 @if [ $(current_stage) = stageprofile ]; then \
18176 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18177 else \
18178 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
18179 $(MAKE) stageprofile-start; \
18180 fi; \
18181 cd $(HOST_SUBDIR)/mpfr && \
18182 $(MAKE) $(EXTRA_HOST_FLAGS) \
18183 $(POSTSTAGE1_FLAGS_TO_PASS) \
18184 clean
18185 @endif mpfr-bootstrap
18188 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
18189 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
18190 maybe-all-stagefeedback-mpfr:
18191 maybe-clean-stagefeedback-mpfr:
18192 @if mpfr-bootstrap
18193 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
18194 all-stagefeedback: all-stagefeedback-mpfr
18195 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
18196 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
18197 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18198 @r=`${PWD_COMMAND}`; export r; \
18199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18200 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18201 $(HOST_EXPORTS) \
18202 $(POSTSTAGE1_HOST_EXPORTS) \
18203 cd $(HOST_SUBDIR)/mpfr && \
18204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18205 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18206 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18207 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18212 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18213 $(TARGET-stagefeedback-mpfr)
18215 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
18216 clean-stagefeedback: clean-stagefeedback-mpfr
18217 clean-stagefeedback-mpfr:
18218 @if [ $(current_stage) = stagefeedback ]; then \
18219 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
18220 else \
18221 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
18222 $(MAKE) stagefeedback-start; \
18223 fi; \
18224 cd $(HOST_SUBDIR)/mpfr && \
18225 $(MAKE) $(EXTRA_HOST_FLAGS) \
18226 $(POSTSTAGE1_FLAGS_TO_PASS) \
18227 clean
18228 @endif mpfr-bootstrap
18234 .PHONY: check-mpfr maybe-check-mpfr
18235 maybe-check-mpfr:
18236 @if mpfr
18237 maybe-check-mpfr: check-mpfr
18239 check-mpfr:
18240 @: $(MAKE); $(unstage)
18241 @r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243 $(HOST_EXPORTS) \
18244 (cd $(HOST_SUBDIR)/mpfr && \
18245 $(MAKE) $(FLAGS_TO_PASS) check)
18247 @endif mpfr
18249 .PHONY: install-mpfr maybe-install-mpfr
18250 maybe-install-mpfr:
18251 @if mpfr
18252 maybe-install-mpfr: install-mpfr
18254 install-mpfr:
18256 @endif mpfr
18258 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
18259 maybe-install-strip-mpfr:
18260 @if mpfr
18261 maybe-install-strip-mpfr: install-strip-mpfr
18263 install-strip-mpfr:
18265 @endif mpfr
18267 # Other targets (info, dvi, pdf, etc.)
18269 .PHONY: maybe-info-mpfr info-mpfr
18270 maybe-info-mpfr:
18271 @if mpfr
18272 maybe-info-mpfr: info-mpfr
18274 info-mpfr: \
18275 configure-mpfr
18276 @[ -f ./mpfr/Makefile ] || exit 0; \
18277 r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(HOST_EXPORTS) \
18280 for flag in $(EXTRA_HOST_FLAGS) ; do \
18281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18282 done; \
18283 echo "Doing info in mpfr" ; \
18284 (cd $(HOST_SUBDIR)/mpfr && \
18285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18287 "RANLIB=$${RANLIB}" \
18288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18289 info) \
18290 || exit 1
18292 @endif mpfr
18294 .PHONY: maybe-dvi-mpfr dvi-mpfr
18295 maybe-dvi-mpfr:
18296 @if mpfr
18297 maybe-dvi-mpfr: dvi-mpfr
18299 dvi-mpfr: \
18300 configure-mpfr
18301 @[ -f ./mpfr/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing dvi in mpfr" ; \
18309 (cd $(HOST_SUBDIR)/mpfr && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18314 dvi) \
18315 || exit 1
18317 @endif mpfr
18319 .PHONY: maybe-pdf-mpfr pdf-mpfr
18320 maybe-pdf-mpfr:
18321 @if mpfr
18322 maybe-pdf-mpfr: pdf-mpfr
18324 pdf-mpfr: \
18325 configure-mpfr
18326 @[ -f ./mpfr/Makefile ] || exit 0; \
18327 r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(HOST_EXPORTS) \
18330 for flag in $(EXTRA_HOST_FLAGS) ; do \
18331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18332 done; \
18333 echo "Doing pdf in mpfr" ; \
18334 (cd $(HOST_SUBDIR)/mpfr && \
18335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18337 "RANLIB=$${RANLIB}" \
18338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18339 pdf) \
18340 || exit 1
18342 @endif mpfr
18344 .PHONY: maybe-html-mpfr html-mpfr
18345 maybe-html-mpfr:
18346 @if mpfr
18347 maybe-html-mpfr: html-mpfr
18349 html-mpfr: \
18350 configure-mpfr
18351 @[ -f ./mpfr/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing html in mpfr" ; \
18359 (cd $(HOST_SUBDIR)/mpfr && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18364 html) \
18365 || exit 1
18367 @endif mpfr
18369 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
18370 maybe-TAGS-mpfr:
18371 @if mpfr
18372 maybe-TAGS-mpfr: TAGS-mpfr
18374 TAGS-mpfr: \
18375 configure-mpfr
18376 @[ -f ./mpfr/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(HOST_EXPORTS) \
18380 for flag in $(EXTRA_HOST_FLAGS) ; do \
18381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18382 done; \
18383 echo "Doing TAGS in mpfr" ; \
18384 (cd $(HOST_SUBDIR)/mpfr && \
18385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387 "RANLIB=$${RANLIB}" \
18388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18389 TAGS) \
18390 || exit 1
18392 @endif mpfr
18394 .PHONY: maybe-install-info-mpfr install-info-mpfr
18395 maybe-install-info-mpfr:
18396 @if mpfr
18397 maybe-install-info-mpfr: install-info-mpfr
18399 install-info-mpfr: \
18400 configure-mpfr \
18401 info-mpfr
18402 @[ -f ./mpfr/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing install-info in mpfr" ; \
18410 (cd $(HOST_SUBDIR)/mpfr && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18415 install-info) \
18416 || exit 1
18418 @endif mpfr
18420 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
18421 maybe-install-pdf-mpfr:
18422 @if mpfr
18423 maybe-install-pdf-mpfr: install-pdf-mpfr
18425 install-pdf-mpfr: \
18426 configure-mpfr \
18427 pdf-mpfr
18428 @[ -f ./mpfr/Makefile ] || exit 0; \
18429 r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(HOST_EXPORTS) \
18432 for flag in $(EXTRA_HOST_FLAGS) ; do \
18433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18434 done; \
18435 echo "Doing install-pdf in mpfr" ; \
18436 (cd $(HOST_SUBDIR)/mpfr && \
18437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18439 "RANLIB=$${RANLIB}" \
18440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18441 install-pdf) \
18442 || exit 1
18444 @endif mpfr
18446 .PHONY: maybe-install-html-mpfr install-html-mpfr
18447 maybe-install-html-mpfr:
18448 @if mpfr
18449 maybe-install-html-mpfr: install-html-mpfr
18451 install-html-mpfr: \
18452 configure-mpfr \
18453 html-mpfr
18454 @[ -f ./mpfr/Makefile ] || exit 0; \
18455 r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing install-html in mpfr" ; \
18462 (cd $(HOST_SUBDIR)/mpfr && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18467 install-html) \
18468 || exit 1
18470 @endif mpfr
18472 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
18473 maybe-installcheck-mpfr:
18474 @if mpfr
18475 maybe-installcheck-mpfr: installcheck-mpfr
18477 installcheck-mpfr: \
18478 configure-mpfr
18479 @[ -f ./mpfr/Makefile ] || exit 0; \
18480 r=`${PWD_COMMAND}`; export r; \
18481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 $(HOST_EXPORTS) \
18483 for flag in $(EXTRA_HOST_FLAGS) ; do \
18484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18485 done; \
18486 echo "Doing installcheck in mpfr" ; \
18487 (cd $(HOST_SUBDIR)/mpfr && \
18488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18490 "RANLIB=$${RANLIB}" \
18491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18492 installcheck) \
18493 || exit 1
18495 @endif mpfr
18497 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
18498 maybe-mostlyclean-mpfr:
18499 @if mpfr
18500 maybe-mostlyclean-mpfr: mostlyclean-mpfr
18502 mostlyclean-mpfr:
18503 @[ -f ./mpfr/Makefile ] || exit 0; \
18504 r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(HOST_EXPORTS) \
18507 for flag in $(EXTRA_HOST_FLAGS) ; do \
18508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18509 done; \
18510 echo "Doing mostlyclean in mpfr" ; \
18511 (cd $(HOST_SUBDIR)/mpfr && \
18512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18514 "RANLIB=$${RANLIB}" \
18515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18516 mostlyclean) \
18517 || exit 1
18519 @endif mpfr
18521 .PHONY: maybe-clean-mpfr clean-mpfr
18522 maybe-clean-mpfr:
18523 @if mpfr
18524 maybe-clean-mpfr: clean-mpfr
18526 clean-mpfr:
18527 @[ -f ./mpfr/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530 $(HOST_EXPORTS) \
18531 for flag in $(EXTRA_HOST_FLAGS) ; do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533 done; \
18534 echo "Doing clean in mpfr" ; \
18535 (cd $(HOST_SUBDIR)/mpfr && \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18540 clean) \
18541 || exit 1
18543 @endif mpfr
18545 .PHONY: maybe-distclean-mpfr distclean-mpfr
18546 maybe-distclean-mpfr:
18547 @if mpfr
18548 maybe-distclean-mpfr: distclean-mpfr
18550 distclean-mpfr:
18551 @[ -f ./mpfr/Makefile ] || exit 0; \
18552 r=`${PWD_COMMAND}`; export r; \
18553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18554 $(HOST_EXPORTS) \
18555 for flag in $(EXTRA_HOST_FLAGS) ; do \
18556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18557 done; \
18558 echo "Doing distclean in mpfr" ; \
18559 (cd $(HOST_SUBDIR)/mpfr && \
18560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18562 "RANLIB=$${RANLIB}" \
18563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18564 distclean) \
18565 || exit 1
18567 @endif mpfr
18569 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
18570 maybe-maintainer-clean-mpfr:
18571 @if mpfr
18572 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
18574 maintainer-clean-mpfr:
18575 @[ -f ./mpfr/Makefile ] || exit 0; \
18576 r=`${PWD_COMMAND}`; export r; \
18577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18578 $(HOST_EXPORTS) \
18579 for flag in $(EXTRA_HOST_FLAGS) ; do \
18580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18581 done; \
18582 echo "Doing maintainer-clean in mpfr" ; \
18583 (cd $(HOST_SUBDIR)/mpfr && \
18584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18586 "RANLIB=$${RANLIB}" \
18587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18588 maintainer-clean) \
18589 || exit 1
18591 @endif mpfr
18595 .PHONY: configure-mpc maybe-configure-mpc
18596 maybe-configure-mpc:
18597 @if gcc-bootstrap
18598 configure-mpc: stage_current
18599 @endif gcc-bootstrap
18600 @if mpc
18601 maybe-configure-mpc: configure-mpc
18602 configure-mpc:
18603 @r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18607 $(HOST_EXPORTS) \
18608 echo Configuring in $(HOST_SUBDIR)/mpc; \
18609 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
18610 case $(srcdir) in \
18611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18612 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18614 esac; \
18615 srcdiroption="--srcdir=$${topdir}/mpc"; \
18616 libsrcdir="$$s/mpc"; \
18617 $(SHELL) $${libsrcdir}/configure \
18618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18619 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
18620 || exit 1
18621 @endif mpc
18625 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
18626 maybe-configure-stage1-mpc:
18627 @if mpc-bootstrap
18628 maybe-configure-stage1-mpc: configure-stage1-mpc
18629 configure-stage1-mpc:
18630 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18632 @r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 TFLAGS="$(STAGE1_TFLAGS)"; \
18635 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18636 $(HOST_EXPORTS) \
18637 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18638 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18639 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18640 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
18641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18642 cd $(HOST_SUBDIR)/mpc || exit 1; \
18643 case $(srcdir) in \
18644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18645 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18647 esac; \
18648 srcdiroption="--srcdir=$${topdir}/mpc"; \
18649 libsrcdir="$$s/mpc"; \
18650 $(SHELL) $${libsrcdir}/configure \
18651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18652 --target=${target_alias} $${srcdiroption} \
18653 $(STAGE1_CONFIGURE_FLAGS) \
18654 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18655 @endif mpc-bootstrap
18657 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
18658 maybe-configure-stage2-mpc:
18659 @if mpc-bootstrap
18660 maybe-configure-stage2-mpc: configure-stage2-mpc
18661 configure-stage2-mpc:
18662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18664 @r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666 TFLAGS="$(STAGE2_TFLAGS)"; \
18667 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18668 $(HOST_EXPORTS) \
18669 $(POSTSTAGE1_HOST_EXPORTS) \
18670 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18671 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18672 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18673 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
18674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18675 cd $(HOST_SUBDIR)/mpc || exit 1; \
18676 case $(srcdir) in \
18677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18678 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18680 esac; \
18681 srcdiroption="--srcdir=$${topdir}/mpc"; \
18682 libsrcdir="$$s/mpc"; \
18683 $(SHELL) $${libsrcdir}/configure \
18684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18685 --target=${target_alias} $${srcdiroption} \
18686 --with-build-libsubdir=$(HOST_SUBDIR) \
18687 $(STAGE2_CONFIGURE_FLAGS) \
18688 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18689 @endif mpc-bootstrap
18691 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
18692 maybe-configure-stage3-mpc:
18693 @if mpc-bootstrap
18694 maybe-configure-stage3-mpc: configure-stage3-mpc
18695 configure-stage3-mpc:
18696 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18698 @r=`${PWD_COMMAND}`; export r; \
18699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18700 TFLAGS="$(STAGE3_TFLAGS)"; \
18701 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18702 $(HOST_EXPORTS) \
18703 $(POSTSTAGE1_HOST_EXPORTS) \
18704 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18705 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18706 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18707 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
18708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18709 cd $(HOST_SUBDIR)/mpc || exit 1; \
18710 case $(srcdir) in \
18711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18712 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18714 esac; \
18715 srcdiroption="--srcdir=$${topdir}/mpc"; \
18716 libsrcdir="$$s/mpc"; \
18717 $(SHELL) $${libsrcdir}/configure \
18718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18719 --target=${target_alias} $${srcdiroption} \
18720 --with-build-libsubdir=$(HOST_SUBDIR) \
18721 $(STAGE3_CONFIGURE_FLAGS) \
18722 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18723 @endif mpc-bootstrap
18725 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
18726 maybe-configure-stage4-mpc:
18727 @if mpc-bootstrap
18728 maybe-configure-stage4-mpc: configure-stage4-mpc
18729 configure-stage4-mpc:
18730 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18732 @r=`${PWD_COMMAND}`; export r; \
18733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18734 TFLAGS="$(STAGE4_TFLAGS)"; \
18735 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18736 $(HOST_EXPORTS) \
18737 $(POSTSTAGE1_HOST_EXPORTS) \
18738 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18739 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18740 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18741 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
18742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18743 cd $(HOST_SUBDIR)/mpc || exit 1; \
18744 case $(srcdir) in \
18745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18746 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18748 esac; \
18749 srcdiroption="--srcdir=$${topdir}/mpc"; \
18750 libsrcdir="$$s/mpc"; \
18751 $(SHELL) $${libsrcdir}/configure \
18752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18753 --target=${target_alias} $${srcdiroption} \
18754 --with-build-libsubdir=$(HOST_SUBDIR) \
18755 $(STAGE4_CONFIGURE_FLAGS) \
18756 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18757 @endif mpc-bootstrap
18759 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
18760 maybe-configure-stageprofile-mpc:
18761 @if mpc-bootstrap
18762 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
18763 configure-stageprofile-mpc:
18764 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18766 @r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18769 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18770 $(HOST_EXPORTS) \
18771 $(POSTSTAGE1_HOST_EXPORTS) \
18772 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18773 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18774 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18775 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
18776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18777 cd $(HOST_SUBDIR)/mpc || exit 1; \
18778 case $(srcdir) in \
18779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18780 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18782 esac; \
18783 srcdiroption="--srcdir=$${topdir}/mpc"; \
18784 libsrcdir="$$s/mpc"; \
18785 $(SHELL) $${libsrcdir}/configure \
18786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18787 --target=${target_alias} $${srcdiroption} \
18788 --with-build-libsubdir=$(HOST_SUBDIR) \
18789 $(STAGEprofile_CONFIGURE_FLAGS) \
18790 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18791 @endif mpc-bootstrap
18793 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
18794 maybe-configure-stagefeedback-mpc:
18795 @if mpc-bootstrap
18796 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
18797 configure-stagefeedback-mpc:
18798 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18800 @r=`${PWD_COMMAND}`; export r; \
18801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18802 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18803 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18804 $(HOST_EXPORTS) \
18805 $(POSTSTAGE1_HOST_EXPORTS) \
18806 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18807 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18808 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18809 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
18810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18811 cd $(HOST_SUBDIR)/mpc || exit 1; \
18812 case $(srcdir) in \
18813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18814 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18816 esac; \
18817 srcdiroption="--srcdir=$${topdir}/mpc"; \
18818 libsrcdir="$$s/mpc"; \
18819 $(SHELL) $${libsrcdir}/configure \
18820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18821 --target=${target_alias} $${srcdiroption} \
18822 --with-build-libsubdir=$(HOST_SUBDIR) \
18823 $(STAGEfeedback_CONFIGURE_FLAGS) \
18824 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18825 @endif mpc-bootstrap
18831 .PHONY: all-mpc maybe-all-mpc
18832 maybe-all-mpc:
18833 @if gcc-bootstrap
18834 all-mpc: stage_current
18835 @endif gcc-bootstrap
18836 @if mpc
18837 TARGET-mpc=all
18838 maybe-all-mpc: all-mpc
18839 all-mpc: configure-mpc
18840 @r=`${PWD_COMMAND}`; export r; \
18841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18842 $(HOST_EXPORTS) \
18843 (cd $(HOST_SUBDIR)/mpc && \
18844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18845 $(TARGET-mpc))
18846 @endif mpc
18850 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
18851 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
18852 maybe-all-stage1-mpc:
18853 maybe-clean-stage1-mpc:
18854 @if mpc-bootstrap
18855 maybe-all-stage1-mpc: all-stage1-mpc
18856 all-stage1: all-stage1-mpc
18857 TARGET-stage1-mpc = $(TARGET-mpc)
18858 all-stage1-mpc: configure-stage1-mpc
18859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18860 @r=`${PWD_COMMAND}`; export r; \
18861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18862 TFLAGS="$(STAGE1_TFLAGS)"; \
18863 $(HOST_EXPORTS) \
18864 cd $(HOST_SUBDIR)/mpc && \
18865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18866 CFLAGS="$(STAGE1_CFLAGS)" \
18867 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18868 LIBCFLAGS="$(LIBCFLAGS)" \
18869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18872 $(EXTRA_HOST_FLAGS) \
18873 TFLAGS="$(STAGE1_TFLAGS)" \
18874 $(TARGET-stage1-mpc)
18876 maybe-clean-stage1-mpc: clean-stage1-mpc
18877 clean-stage1: clean-stage1-mpc
18878 clean-stage1-mpc:
18879 @if [ $(current_stage) = stage1 ]; then \
18880 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18881 else \
18882 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
18883 $(MAKE) stage1-start; \
18884 fi; \
18885 cd $(HOST_SUBDIR)/mpc && \
18886 $(MAKE) $(EXTRA_HOST_FLAGS) \
18887 clean
18888 @endif mpc-bootstrap
18891 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
18892 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
18893 maybe-all-stage2-mpc:
18894 maybe-clean-stage2-mpc:
18895 @if mpc-bootstrap
18896 maybe-all-stage2-mpc: all-stage2-mpc
18897 all-stage2: all-stage2-mpc
18898 TARGET-stage2-mpc = $(TARGET-mpc)
18899 all-stage2-mpc: configure-stage2-mpc
18900 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18901 @r=`${PWD_COMMAND}`; export r; \
18902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18903 TFLAGS="$(STAGE2_TFLAGS)"; \
18904 $(HOST_EXPORTS) \
18905 $(POSTSTAGE1_HOST_EXPORTS) \
18906 cd $(HOST_SUBDIR)/mpc && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18908 CFLAGS="$(STAGE2_CFLAGS)" \
18909 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18910 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18915 TFLAGS="$(STAGE2_TFLAGS)" \
18916 $(TARGET-stage2-mpc)
18918 maybe-clean-stage2-mpc: clean-stage2-mpc
18919 clean-stage2: clean-stage2-mpc
18920 clean-stage2-mpc:
18921 @if [ $(current_stage) = stage2 ]; then \
18922 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18923 else \
18924 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
18925 $(MAKE) stage2-start; \
18926 fi; \
18927 cd $(HOST_SUBDIR)/mpc && \
18928 $(MAKE) $(EXTRA_HOST_FLAGS) \
18929 $(POSTSTAGE1_FLAGS_TO_PASS) \
18930 clean
18931 @endif mpc-bootstrap
18934 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
18935 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
18936 maybe-all-stage3-mpc:
18937 maybe-clean-stage3-mpc:
18938 @if mpc-bootstrap
18939 maybe-all-stage3-mpc: all-stage3-mpc
18940 all-stage3: all-stage3-mpc
18941 TARGET-stage3-mpc = $(TARGET-mpc)
18942 all-stage3-mpc: configure-stage3-mpc
18943 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18944 @r=`${PWD_COMMAND}`; export r; \
18945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 TFLAGS="$(STAGE3_TFLAGS)"; \
18947 $(HOST_EXPORTS) \
18948 $(POSTSTAGE1_HOST_EXPORTS) \
18949 cd $(HOST_SUBDIR)/mpc && \
18950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18951 CFLAGS="$(STAGE3_CFLAGS)" \
18952 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18953 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18958 TFLAGS="$(STAGE3_TFLAGS)" \
18959 $(TARGET-stage3-mpc)
18961 maybe-clean-stage3-mpc: clean-stage3-mpc
18962 clean-stage3: clean-stage3-mpc
18963 clean-stage3-mpc:
18964 @if [ $(current_stage) = stage3 ]; then \
18965 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18966 else \
18967 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
18968 $(MAKE) stage3-start; \
18969 fi; \
18970 cd $(HOST_SUBDIR)/mpc && \
18971 $(MAKE) $(EXTRA_HOST_FLAGS) \
18972 $(POSTSTAGE1_FLAGS_TO_PASS) \
18973 clean
18974 @endif mpc-bootstrap
18977 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
18978 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
18979 maybe-all-stage4-mpc:
18980 maybe-clean-stage4-mpc:
18981 @if mpc-bootstrap
18982 maybe-all-stage4-mpc: all-stage4-mpc
18983 all-stage4: all-stage4-mpc
18984 TARGET-stage4-mpc = $(TARGET-mpc)
18985 all-stage4-mpc: configure-stage4-mpc
18986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18987 @r=`${PWD_COMMAND}`; export r; \
18988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18989 TFLAGS="$(STAGE4_TFLAGS)"; \
18990 $(HOST_EXPORTS) \
18991 $(POSTSTAGE1_HOST_EXPORTS) \
18992 cd $(HOST_SUBDIR)/mpc && \
18993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18994 CFLAGS="$(STAGE4_CFLAGS)" \
18995 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18996 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19001 TFLAGS="$(STAGE4_TFLAGS)" \
19002 $(TARGET-stage4-mpc)
19004 maybe-clean-stage4-mpc: clean-stage4-mpc
19005 clean-stage4: clean-stage4-mpc
19006 clean-stage4-mpc:
19007 @if [ $(current_stage) = stage4 ]; then \
19008 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
19009 else \
19010 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
19011 $(MAKE) stage4-start; \
19012 fi; \
19013 cd $(HOST_SUBDIR)/mpc && \
19014 $(MAKE) $(EXTRA_HOST_FLAGS) \
19015 $(POSTSTAGE1_FLAGS_TO_PASS) \
19016 clean
19017 @endif mpc-bootstrap
19020 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
19021 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
19022 maybe-all-stageprofile-mpc:
19023 maybe-clean-stageprofile-mpc:
19024 @if mpc-bootstrap
19025 maybe-all-stageprofile-mpc: all-stageprofile-mpc
19026 all-stageprofile: all-stageprofile-mpc
19027 TARGET-stageprofile-mpc = $(TARGET-mpc)
19028 all-stageprofile-mpc: configure-stageprofile-mpc
19029 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19030 @r=`${PWD_COMMAND}`; export r; \
19031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19032 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19033 $(HOST_EXPORTS) \
19034 $(POSTSTAGE1_HOST_EXPORTS) \
19035 cd $(HOST_SUBDIR)/mpc && \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19037 CFLAGS="$(STAGEprofile_CFLAGS)" \
19038 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19039 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19044 TFLAGS="$(STAGEprofile_TFLAGS)" \
19045 $(TARGET-stageprofile-mpc)
19047 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
19048 clean-stageprofile: clean-stageprofile-mpc
19049 clean-stageprofile-mpc:
19050 @if [ $(current_stage) = stageprofile ]; then \
19051 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
19052 else \
19053 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
19054 $(MAKE) stageprofile-start; \
19055 fi; \
19056 cd $(HOST_SUBDIR)/mpc && \
19057 $(MAKE) $(EXTRA_HOST_FLAGS) \
19058 $(POSTSTAGE1_FLAGS_TO_PASS) \
19059 clean
19060 @endif mpc-bootstrap
19063 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
19064 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
19065 maybe-all-stagefeedback-mpc:
19066 maybe-clean-stagefeedback-mpc:
19067 @if mpc-bootstrap
19068 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
19069 all-stagefeedback: all-stagefeedback-mpc
19070 TARGET-stagefeedback-mpc = $(TARGET-mpc)
19071 all-stagefeedback-mpc: configure-stagefeedback-mpc
19072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19076 $(HOST_EXPORTS) \
19077 $(POSTSTAGE1_HOST_EXPORTS) \
19078 cd $(HOST_SUBDIR)/mpc && \
19079 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19080 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19081 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19082 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19086 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19087 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19088 $(TARGET-stagefeedback-mpc)
19090 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
19091 clean-stagefeedback: clean-stagefeedback-mpc
19092 clean-stagefeedback-mpc:
19093 @if [ $(current_stage) = stagefeedback ]; then \
19094 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
19095 else \
19096 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
19097 $(MAKE) stagefeedback-start; \
19098 fi; \
19099 cd $(HOST_SUBDIR)/mpc && \
19100 $(MAKE) $(EXTRA_HOST_FLAGS) \
19101 $(POSTSTAGE1_FLAGS_TO_PASS) \
19102 clean
19103 @endif mpc-bootstrap
19109 .PHONY: check-mpc maybe-check-mpc
19110 maybe-check-mpc:
19111 @if mpc
19112 maybe-check-mpc: check-mpc
19114 check-mpc:
19115 @: $(MAKE); $(unstage)
19116 @r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 $(HOST_EXPORTS) \
19119 (cd $(HOST_SUBDIR)/mpc && \
19120 $(MAKE) $(FLAGS_TO_PASS) check)
19122 @endif mpc
19124 .PHONY: install-mpc maybe-install-mpc
19125 maybe-install-mpc:
19126 @if mpc
19127 maybe-install-mpc: install-mpc
19129 install-mpc:
19131 @endif mpc
19133 .PHONY: install-strip-mpc maybe-install-strip-mpc
19134 maybe-install-strip-mpc:
19135 @if mpc
19136 maybe-install-strip-mpc: install-strip-mpc
19138 install-strip-mpc:
19140 @endif mpc
19142 # Other targets (info, dvi, pdf, etc.)
19144 .PHONY: maybe-info-mpc info-mpc
19145 maybe-info-mpc:
19146 @if mpc
19147 maybe-info-mpc: info-mpc
19149 info-mpc: \
19150 configure-mpc
19151 @[ -f ./mpc/Makefile ] || exit 0; \
19152 r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 $(HOST_EXPORTS) \
19155 for flag in $(EXTRA_HOST_FLAGS) ; do \
19156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19157 done; \
19158 echo "Doing info in mpc" ; \
19159 (cd $(HOST_SUBDIR)/mpc && \
19160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19162 "RANLIB=$${RANLIB}" \
19163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19164 info) \
19165 || exit 1
19167 @endif mpc
19169 .PHONY: maybe-dvi-mpc dvi-mpc
19170 maybe-dvi-mpc:
19171 @if mpc
19172 maybe-dvi-mpc: dvi-mpc
19174 dvi-mpc: \
19175 configure-mpc
19176 @[ -f ./mpc/Makefile ] || exit 0; \
19177 r=`${PWD_COMMAND}`; export r; \
19178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19179 $(HOST_EXPORTS) \
19180 for flag in $(EXTRA_HOST_FLAGS) ; do \
19181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19182 done; \
19183 echo "Doing dvi in mpc" ; \
19184 (cd $(HOST_SUBDIR)/mpc && \
19185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19187 "RANLIB=$${RANLIB}" \
19188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19189 dvi) \
19190 || exit 1
19192 @endif mpc
19194 .PHONY: maybe-pdf-mpc pdf-mpc
19195 maybe-pdf-mpc:
19196 @if mpc
19197 maybe-pdf-mpc: pdf-mpc
19199 pdf-mpc: \
19200 configure-mpc
19201 @[ -f ./mpc/Makefile ] || exit 0; \
19202 r=`${PWD_COMMAND}`; export r; \
19203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19204 $(HOST_EXPORTS) \
19205 for flag in $(EXTRA_HOST_FLAGS) ; do \
19206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19207 done; \
19208 echo "Doing pdf in mpc" ; \
19209 (cd $(HOST_SUBDIR)/mpc && \
19210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19212 "RANLIB=$${RANLIB}" \
19213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19214 pdf) \
19215 || exit 1
19217 @endif mpc
19219 .PHONY: maybe-html-mpc html-mpc
19220 maybe-html-mpc:
19221 @if mpc
19222 maybe-html-mpc: html-mpc
19224 html-mpc: \
19225 configure-mpc
19226 @[ -f ./mpc/Makefile ] || exit 0; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing html in mpc" ; \
19234 (cd $(HOST_SUBDIR)/mpc && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19239 html) \
19240 || exit 1
19242 @endif mpc
19244 .PHONY: maybe-TAGS-mpc TAGS-mpc
19245 maybe-TAGS-mpc:
19246 @if mpc
19247 maybe-TAGS-mpc: TAGS-mpc
19249 TAGS-mpc: \
19250 configure-mpc
19251 @[ -f ./mpc/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(HOST_EXPORTS) \
19255 for flag in $(EXTRA_HOST_FLAGS) ; do \
19256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19257 done; \
19258 echo "Doing TAGS in mpc" ; \
19259 (cd $(HOST_SUBDIR)/mpc && \
19260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19262 "RANLIB=$${RANLIB}" \
19263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19264 TAGS) \
19265 || exit 1
19267 @endif mpc
19269 .PHONY: maybe-install-info-mpc install-info-mpc
19270 maybe-install-info-mpc:
19271 @if mpc
19272 maybe-install-info-mpc: install-info-mpc
19274 install-info-mpc: \
19275 configure-mpc \
19276 info-mpc
19277 @[ -f ./mpc/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing install-info in mpc" ; \
19285 (cd $(HOST_SUBDIR)/mpc && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19290 install-info) \
19291 || exit 1
19293 @endif mpc
19295 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
19296 maybe-install-pdf-mpc:
19297 @if mpc
19298 maybe-install-pdf-mpc: install-pdf-mpc
19300 install-pdf-mpc: \
19301 configure-mpc \
19302 pdf-mpc
19303 @[ -f ./mpc/Makefile ] || exit 0; \
19304 r=`${PWD_COMMAND}`; export r; \
19305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 $(HOST_EXPORTS) \
19307 for flag in $(EXTRA_HOST_FLAGS) ; do \
19308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19309 done; \
19310 echo "Doing install-pdf in mpc" ; \
19311 (cd $(HOST_SUBDIR)/mpc && \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19314 "RANLIB=$${RANLIB}" \
19315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19316 install-pdf) \
19317 || exit 1
19319 @endif mpc
19321 .PHONY: maybe-install-html-mpc install-html-mpc
19322 maybe-install-html-mpc:
19323 @if mpc
19324 maybe-install-html-mpc: install-html-mpc
19326 install-html-mpc: \
19327 configure-mpc \
19328 html-mpc
19329 @[ -f ./mpc/Makefile ] || exit 0; \
19330 r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 $(HOST_EXPORTS) \
19333 for flag in $(EXTRA_HOST_FLAGS) ; do \
19334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335 done; \
19336 echo "Doing install-html in mpc" ; \
19337 (cd $(HOST_SUBDIR)/mpc && \
19338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19340 "RANLIB=$${RANLIB}" \
19341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19342 install-html) \
19343 || exit 1
19345 @endif mpc
19347 .PHONY: maybe-installcheck-mpc installcheck-mpc
19348 maybe-installcheck-mpc:
19349 @if mpc
19350 maybe-installcheck-mpc: installcheck-mpc
19352 installcheck-mpc: \
19353 configure-mpc
19354 @[ -f ./mpc/Makefile ] || exit 0; \
19355 r=`${PWD_COMMAND}`; export r; \
19356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19357 $(HOST_EXPORTS) \
19358 for flag in $(EXTRA_HOST_FLAGS) ; do \
19359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19360 done; \
19361 echo "Doing installcheck in mpc" ; \
19362 (cd $(HOST_SUBDIR)/mpc && \
19363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19365 "RANLIB=$${RANLIB}" \
19366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19367 installcheck) \
19368 || exit 1
19370 @endif mpc
19372 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
19373 maybe-mostlyclean-mpc:
19374 @if mpc
19375 maybe-mostlyclean-mpc: mostlyclean-mpc
19377 mostlyclean-mpc:
19378 @[ -f ./mpc/Makefile ] || exit 0; \
19379 r=`${PWD_COMMAND}`; export r; \
19380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing mostlyclean in mpc" ; \
19386 (cd $(HOST_SUBDIR)/mpc && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19391 mostlyclean) \
19392 || exit 1
19394 @endif mpc
19396 .PHONY: maybe-clean-mpc clean-mpc
19397 maybe-clean-mpc:
19398 @if mpc
19399 maybe-clean-mpc: clean-mpc
19401 clean-mpc:
19402 @[ -f ./mpc/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(HOST_EXPORTS) \
19406 for flag in $(EXTRA_HOST_FLAGS) ; do \
19407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19408 done; \
19409 echo "Doing clean in mpc" ; \
19410 (cd $(HOST_SUBDIR)/mpc && \
19411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19413 "RANLIB=$${RANLIB}" \
19414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19415 clean) \
19416 || exit 1
19418 @endif mpc
19420 .PHONY: maybe-distclean-mpc distclean-mpc
19421 maybe-distclean-mpc:
19422 @if mpc
19423 maybe-distclean-mpc: distclean-mpc
19425 distclean-mpc:
19426 @[ -f ./mpc/Makefile ] || exit 0; \
19427 r=`${PWD_COMMAND}`; export r; \
19428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19429 $(HOST_EXPORTS) \
19430 for flag in $(EXTRA_HOST_FLAGS) ; do \
19431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19432 done; \
19433 echo "Doing distclean in mpc" ; \
19434 (cd $(HOST_SUBDIR)/mpc && \
19435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19437 "RANLIB=$${RANLIB}" \
19438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19439 distclean) \
19440 || exit 1
19442 @endif mpc
19444 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
19445 maybe-maintainer-clean-mpc:
19446 @if mpc
19447 maybe-maintainer-clean-mpc: maintainer-clean-mpc
19449 maintainer-clean-mpc:
19450 @[ -f ./mpc/Makefile ] || exit 0; \
19451 r=`${PWD_COMMAND}`; export r; \
19452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 $(HOST_EXPORTS) \
19454 for flag in $(EXTRA_HOST_FLAGS) ; do \
19455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19456 done; \
19457 echo "Doing maintainer-clean in mpc" ; \
19458 (cd $(HOST_SUBDIR)/mpc && \
19459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19461 "RANLIB=$${RANLIB}" \
19462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19463 maintainer-clean) \
19464 || exit 1
19466 @endif mpc
19470 .PHONY: configure-ppl maybe-configure-ppl
19471 maybe-configure-ppl:
19472 @if gcc-bootstrap
19473 configure-ppl: stage_current
19474 @endif gcc-bootstrap
19475 @if ppl
19476 maybe-configure-ppl: configure-ppl
19477 configure-ppl:
19478 @r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19482 $(HOST_EXPORTS) \
19483 echo Configuring in $(HOST_SUBDIR)/ppl; \
19484 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
19485 case $(srcdir) in \
19486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19487 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19489 esac; \
19490 srcdiroption="--srcdir=$${topdir}/ppl"; \
19491 libsrcdir="$$s/ppl"; \
19492 $(SHELL) $${libsrcdir}/configure \
19493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19494 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
19495 || exit 1
19496 @endif ppl
19500 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
19501 maybe-configure-stage1-ppl:
19502 @if ppl-bootstrap
19503 maybe-configure-stage1-ppl: configure-stage1-ppl
19504 configure-stage1-ppl:
19505 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19507 @r=`${PWD_COMMAND}`; export r; \
19508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19509 TFLAGS="$(STAGE1_TFLAGS)"; \
19510 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19511 $(HOST_EXPORTS) \
19512 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19513 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19514 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19515 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
19516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19517 cd $(HOST_SUBDIR)/ppl || exit 1; \
19518 case $(srcdir) in \
19519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19520 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19522 esac; \
19523 srcdiroption="--srcdir=$${topdir}/ppl"; \
19524 libsrcdir="$$s/ppl"; \
19525 $(SHELL) $${libsrcdir}/configure \
19526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19527 --target=${target_alias} $${srcdiroption} \
19528 $(STAGE1_CONFIGURE_FLAGS) \
19529 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19530 @endif ppl-bootstrap
19532 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
19533 maybe-configure-stage2-ppl:
19534 @if ppl-bootstrap
19535 maybe-configure-stage2-ppl: configure-stage2-ppl
19536 configure-stage2-ppl:
19537 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19538 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19539 @r=`${PWD_COMMAND}`; export r; \
19540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19541 TFLAGS="$(STAGE2_TFLAGS)"; \
19542 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19543 $(HOST_EXPORTS) \
19544 $(POSTSTAGE1_HOST_EXPORTS) \
19545 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19546 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19547 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19548 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
19549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19550 cd $(HOST_SUBDIR)/ppl || exit 1; \
19551 case $(srcdir) in \
19552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19553 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19555 esac; \
19556 srcdiroption="--srcdir=$${topdir}/ppl"; \
19557 libsrcdir="$$s/ppl"; \
19558 $(SHELL) $${libsrcdir}/configure \
19559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19560 --target=${target_alias} $${srcdiroption} \
19561 --with-build-libsubdir=$(HOST_SUBDIR) \
19562 $(STAGE2_CONFIGURE_FLAGS) \
19563 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19564 @endif ppl-bootstrap
19566 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
19567 maybe-configure-stage3-ppl:
19568 @if ppl-bootstrap
19569 maybe-configure-stage3-ppl: configure-stage3-ppl
19570 configure-stage3-ppl:
19571 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19573 @r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 TFLAGS="$(STAGE3_TFLAGS)"; \
19576 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19577 $(HOST_EXPORTS) \
19578 $(POSTSTAGE1_HOST_EXPORTS) \
19579 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19580 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19581 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19582 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
19583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19584 cd $(HOST_SUBDIR)/ppl || exit 1; \
19585 case $(srcdir) in \
19586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19587 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19589 esac; \
19590 srcdiroption="--srcdir=$${topdir}/ppl"; \
19591 libsrcdir="$$s/ppl"; \
19592 $(SHELL) $${libsrcdir}/configure \
19593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19594 --target=${target_alias} $${srcdiroption} \
19595 --with-build-libsubdir=$(HOST_SUBDIR) \
19596 $(STAGE3_CONFIGURE_FLAGS) \
19597 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19598 @endif ppl-bootstrap
19600 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
19601 maybe-configure-stage4-ppl:
19602 @if ppl-bootstrap
19603 maybe-configure-stage4-ppl: configure-stage4-ppl
19604 configure-stage4-ppl:
19605 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19607 @r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 TFLAGS="$(STAGE4_TFLAGS)"; \
19610 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19611 $(HOST_EXPORTS) \
19612 $(POSTSTAGE1_HOST_EXPORTS) \
19613 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19614 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19615 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19616 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
19617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19618 cd $(HOST_SUBDIR)/ppl || exit 1; \
19619 case $(srcdir) in \
19620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19621 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19623 esac; \
19624 srcdiroption="--srcdir=$${topdir}/ppl"; \
19625 libsrcdir="$$s/ppl"; \
19626 $(SHELL) $${libsrcdir}/configure \
19627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19628 --target=${target_alias} $${srcdiroption} \
19629 --with-build-libsubdir=$(HOST_SUBDIR) \
19630 $(STAGE4_CONFIGURE_FLAGS) \
19631 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19632 @endif ppl-bootstrap
19634 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
19635 maybe-configure-stageprofile-ppl:
19636 @if ppl-bootstrap
19637 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
19638 configure-stageprofile-ppl:
19639 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19641 @r=`${PWD_COMMAND}`; export r; \
19642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19644 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19645 $(HOST_EXPORTS) \
19646 $(POSTSTAGE1_HOST_EXPORTS) \
19647 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19648 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19649 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19650 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
19651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19652 cd $(HOST_SUBDIR)/ppl || exit 1; \
19653 case $(srcdir) in \
19654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19655 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19657 esac; \
19658 srcdiroption="--srcdir=$${topdir}/ppl"; \
19659 libsrcdir="$$s/ppl"; \
19660 $(SHELL) $${libsrcdir}/configure \
19661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19662 --target=${target_alias} $${srcdiroption} \
19663 --with-build-libsubdir=$(HOST_SUBDIR) \
19664 $(STAGEprofile_CONFIGURE_FLAGS) \
19665 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19666 @endif ppl-bootstrap
19668 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
19669 maybe-configure-stagefeedback-ppl:
19670 @if ppl-bootstrap
19671 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
19672 configure-stagefeedback-ppl:
19673 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19675 @r=`${PWD_COMMAND}`; export r; \
19676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19677 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19678 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19679 $(HOST_EXPORTS) \
19680 $(POSTSTAGE1_HOST_EXPORTS) \
19681 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19682 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19683 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19684 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
19685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19686 cd $(HOST_SUBDIR)/ppl || exit 1; \
19687 case $(srcdir) in \
19688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19689 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19691 esac; \
19692 srcdiroption="--srcdir=$${topdir}/ppl"; \
19693 libsrcdir="$$s/ppl"; \
19694 $(SHELL) $${libsrcdir}/configure \
19695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19696 --target=${target_alias} $${srcdiroption} \
19697 --with-build-libsubdir=$(HOST_SUBDIR) \
19698 $(STAGEfeedback_CONFIGURE_FLAGS) \
19699 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19700 @endif ppl-bootstrap
19706 .PHONY: all-ppl maybe-all-ppl
19707 maybe-all-ppl:
19708 @if gcc-bootstrap
19709 all-ppl: stage_current
19710 @endif gcc-bootstrap
19711 @if ppl
19712 TARGET-ppl=all
19713 maybe-all-ppl: all-ppl
19714 all-ppl: configure-ppl
19715 @r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 (cd $(HOST_SUBDIR)/ppl && \
19719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19720 $(TARGET-ppl))
19721 @endif ppl
19725 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
19726 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
19727 maybe-all-stage1-ppl:
19728 maybe-clean-stage1-ppl:
19729 @if ppl-bootstrap
19730 maybe-all-stage1-ppl: all-stage1-ppl
19731 all-stage1: all-stage1-ppl
19732 TARGET-stage1-ppl = $(TARGET-ppl)
19733 all-stage1-ppl: configure-stage1-ppl
19734 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19735 @r=`${PWD_COMMAND}`; export r; \
19736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19737 TFLAGS="$(STAGE1_TFLAGS)"; \
19738 $(HOST_EXPORTS) \
19739 cd $(HOST_SUBDIR)/ppl && \
19740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19741 CFLAGS="$(STAGE1_CFLAGS)" \
19742 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19743 LIBCFLAGS="$(LIBCFLAGS)" \
19744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19747 $(EXTRA_HOST_FLAGS) \
19748 TFLAGS="$(STAGE1_TFLAGS)" \
19749 $(TARGET-stage1-ppl)
19751 maybe-clean-stage1-ppl: clean-stage1-ppl
19752 clean-stage1: clean-stage1-ppl
19753 clean-stage1-ppl:
19754 @if [ $(current_stage) = stage1 ]; then \
19755 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19756 else \
19757 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
19758 $(MAKE) stage1-start; \
19759 fi; \
19760 cd $(HOST_SUBDIR)/ppl && \
19761 $(MAKE) $(EXTRA_HOST_FLAGS) \
19762 clean
19763 @endif ppl-bootstrap
19766 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
19767 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
19768 maybe-all-stage2-ppl:
19769 maybe-clean-stage2-ppl:
19770 @if ppl-bootstrap
19771 maybe-all-stage2-ppl: all-stage2-ppl
19772 all-stage2: all-stage2-ppl
19773 TARGET-stage2-ppl = $(TARGET-ppl)
19774 all-stage2-ppl: configure-stage2-ppl
19775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19776 @r=`${PWD_COMMAND}`; export r; \
19777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19778 TFLAGS="$(STAGE2_TFLAGS)"; \
19779 $(HOST_EXPORTS) \
19780 $(POSTSTAGE1_HOST_EXPORTS) \
19781 cd $(HOST_SUBDIR)/ppl && \
19782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19783 CFLAGS="$(STAGE2_CFLAGS)" \
19784 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19785 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19790 TFLAGS="$(STAGE2_TFLAGS)" \
19791 $(TARGET-stage2-ppl)
19793 maybe-clean-stage2-ppl: clean-stage2-ppl
19794 clean-stage2: clean-stage2-ppl
19795 clean-stage2-ppl:
19796 @if [ $(current_stage) = stage2 ]; then \
19797 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19798 else \
19799 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
19800 $(MAKE) stage2-start; \
19801 fi; \
19802 cd $(HOST_SUBDIR)/ppl && \
19803 $(MAKE) $(EXTRA_HOST_FLAGS) \
19804 $(POSTSTAGE1_FLAGS_TO_PASS) \
19805 clean
19806 @endif ppl-bootstrap
19809 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
19810 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
19811 maybe-all-stage3-ppl:
19812 maybe-clean-stage3-ppl:
19813 @if ppl-bootstrap
19814 maybe-all-stage3-ppl: all-stage3-ppl
19815 all-stage3: all-stage3-ppl
19816 TARGET-stage3-ppl = $(TARGET-ppl)
19817 all-stage3-ppl: configure-stage3-ppl
19818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19819 @r=`${PWD_COMMAND}`; export r; \
19820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19821 TFLAGS="$(STAGE3_TFLAGS)"; \
19822 $(HOST_EXPORTS) \
19823 $(POSTSTAGE1_HOST_EXPORTS) \
19824 cd $(HOST_SUBDIR)/ppl && \
19825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19826 CFLAGS="$(STAGE3_CFLAGS)" \
19827 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19828 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19833 TFLAGS="$(STAGE3_TFLAGS)" \
19834 $(TARGET-stage3-ppl)
19836 maybe-clean-stage3-ppl: clean-stage3-ppl
19837 clean-stage3: clean-stage3-ppl
19838 clean-stage3-ppl:
19839 @if [ $(current_stage) = stage3 ]; then \
19840 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19841 else \
19842 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
19843 $(MAKE) stage3-start; \
19844 fi; \
19845 cd $(HOST_SUBDIR)/ppl && \
19846 $(MAKE) $(EXTRA_HOST_FLAGS) \
19847 $(POSTSTAGE1_FLAGS_TO_PASS) \
19848 clean
19849 @endif ppl-bootstrap
19852 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
19853 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
19854 maybe-all-stage4-ppl:
19855 maybe-clean-stage4-ppl:
19856 @if ppl-bootstrap
19857 maybe-all-stage4-ppl: all-stage4-ppl
19858 all-stage4: all-stage4-ppl
19859 TARGET-stage4-ppl = $(TARGET-ppl)
19860 all-stage4-ppl: configure-stage4-ppl
19861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19862 @r=`${PWD_COMMAND}`; export r; \
19863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19864 TFLAGS="$(STAGE4_TFLAGS)"; \
19865 $(HOST_EXPORTS) \
19866 $(POSTSTAGE1_HOST_EXPORTS) \
19867 cd $(HOST_SUBDIR)/ppl && \
19868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19869 CFLAGS="$(STAGE4_CFLAGS)" \
19870 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19871 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19876 TFLAGS="$(STAGE4_TFLAGS)" \
19877 $(TARGET-stage4-ppl)
19879 maybe-clean-stage4-ppl: clean-stage4-ppl
19880 clean-stage4: clean-stage4-ppl
19881 clean-stage4-ppl:
19882 @if [ $(current_stage) = stage4 ]; then \
19883 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19884 else \
19885 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
19886 $(MAKE) stage4-start; \
19887 fi; \
19888 cd $(HOST_SUBDIR)/ppl && \
19889 $(MAKE) $(EXTRA_HOST_FLAGS) \
19890 $(POSTSTAGE1_FLAGS_TO_PASS) \
19891 clean
19892 @endif ppl-bootstrap
19895 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
19896 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
19897 maybe-all-stageprofile-ppl:
19898 maybe-clean-stageprofile-ppl:
19899 @if ppl-bootstrap
19900 maybe-all-stageprofile-ppl: all-stageprofile-ppl
19901 all-stageprofile: all-stageprofile-ppl
19902 TARGET-stageprofile-ppl = $(TARGET-ppl)
19903 all-stageprofile-ppl: configure-stageprofile-ppl
19904 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19905 @r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19908 $(HOST_EXPORTS) \
19909 $(POSTSTAGE1_HOST_EXPORTS) \
19910 cd $(HOST_SUBDIR)/ppl && \
19911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19912 CFLAGS="$(STAGEprofile_CFLAGS)" \
19913 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19914 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19918 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19919 TFLAGS="$(STAGEprofile_TFLAGS)" \
19920 $(TARGET-stageprofile-ppl)
19922 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
19923 clean-stageprofile: clean-stageprofile-ppl
19924 clean-stageprofile-ppl:
19925 @if [ $(current_stage) = stageprofile ]; then \
19926 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19927 else \
19928 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
19929 $(MAKE) stageprofile-start; \
19930 fi; \
19931 cd $(HOST_SUBDIR)/ppl && \
19932 $(MAKE) $(EXTRA_HOST_FLAGS) \
19933 $(POSTSTAGE1_FLAGS_TO_PASS) \
19934 clean
19935 @endif ppl-bootstrap
19938 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
19939 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
19940 maybe-all-stagefeedback-ppl:
19941 maybe-clean-stagefeedback-ppl:
19942 @if ppl-bootstrap
19943 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
19944 all-stagefeedback: all-stagefeedback-ppl
19945 TARGET-stagefeedback-ppl = $(TARGET-ppl)
19946 all-stagefeedback-ppl: configure-stagefeedback-ppl
19947 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19948 @r=`${PWD_COMMAND}`; export r; \
19949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19950 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19951 $(HOST_EXPORTS) \
19952 $(POSTSTAGE1_HOST_EXPORTS) \
19953 cd $(HOST_SUBDIR)/ppl && \
19954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19955 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19956 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19957 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19962 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19963 $(TARGET-stagefeedback-ppl)
19965 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
19966 clean-stagefeedback: clean-stagefeedback-ppl
19967 clean-stagefeedback-ppl:
19968 @if [ $(current_stage) = stagefeedback ]; then \
19969 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19970 else \
19971 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
19972 $(MAKE) stagefeedback-start; \
19973 fi; \
19974 cd $(HOST_SUBDIR)/ppl && \
19975 $(MAKE) $(EXTRA_HOST_FLAGS) \
19976 $(POSTSTAGE1_FLAGS_TO_PASS) \
19977 clean
19978 @endif ppl-bootstrap
19984 .PHONY: check-ppl maybe-check-ppl
19985 maybe-check-ppl:
19986 @if ppl
19987 maybe-check-ppl: check-ppl
19989 check-ppl:
19990 @: $(MAKE); $(unstage)
19991 @r=`${PWD_COMMAND}`; export r; \
19992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19993 $(HOST_EXPORTS) \
19994 (cd $(HOST_SUBDIR)/ppl && \
19995 $(MAKE) $(FLAGS_TO_PASS) check)
19997 @endif ppl
19999 .PHONY: install-ppl maybe-install-ppl
20000 maybe-install-ppl:
20001 @if ppl
20002 maybe-install-ppl: install-ppl
20004 install-ppl:
20006 @endif ppl
20008 .PHONY: install-strip-ppl maybe-install-strip-ppl
20009 maybe-install-strip-ppl:
20010 @if ppl
20011 maybe-install-strip-ppl: install-strip-ppl
20013 install-strip-ppl:
20015 @endif ppl
20017 # Other targets (info, dvi, pdf, etc.)
20019 .PHONY: maybe-info-ppl info-ppl
20020 maybe-info-ppl:
20021 @if ppl
20022 maybe-info-ppl: info-ppl
20024 info-ppl: \
20025 configure-ppl
20026 @[ -f ./ppl/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20029 $(HOST_EXPORTS) \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20032 done; \
20033 echo "Doing info in ppl" ; \
20034 (cd $(HOST_SUBDIR)/ppl && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20037 "RANLIB=$${RANLIB}" \
20038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20039 info) \
20040 || exit 1
20042 @endif ppl
20044 .PHONY: maybe-dvi-ppl dvi-ppl
20045 maybe-dvi-ppl:
20046 @if ppl
20047 maybe-dvi-ppl: dvi-ppl
20049 dvi-ppl: \
20050 configure-ppl
20051 @[ -f ./ppl/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing dvi in ppl" ; \
20059 (cd $(HOST_SUBDIR)/ppl && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20064 dvi) \
20065 || exit 1
20067 @endif ppl
20069 .PHONY: maybe-pdf-ppl pdf-ppl
20070 maybe-pdf-ppl:
20071 @if ppl
20072 maybe-pdf-ppl: pdf-ppl
20074 pdf-ppl: \
20075 configure-ppl
20076 @[ -f ./ppl/Makefile ] || exit 0; \
20077 r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(HOST_EXPORTS) \
20080 for flag in $(EXTRA_HOST_FLAGS) ; do \
20081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20082 done; \
20083 echo "Doing pdf in ppl" ; \
20084 (cd $(HOST_SUBDIR)/ppl && \
20085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20087 "RANLIB=$${RANLIB}" \
20088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20089 pdf) \
20090 || exit 1
20092 @endif ppl
20094 .PHONY: maybe-html-ppl html-ppl
20095 maybe-html-ppl:
20096 @if ppl
20097 maybe-html-ppl: html-ppl
20099 html-ppl: \
20100 configure-ppl
20101 @[ -f ./ppl/Makefile ] || exit 0; \
20102 r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(HOST_EXPORTS) \
20105 for flag in $(EXTRA_HOST_FLAGS) ; do \
20106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20107 done; \
20108 echo "Doing html in ppl" ; \
20109 (cd $(HOST_SUBDIR)/ppl && \
20110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20112 "RANLIB=$${RANLIB}" \
20113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20114 html) \
20115 || exit 1
20117 @endif ppl
20119 .PHONY: maybe-TAGS-ppl TAGS-ppl
20120 maybe-TAGS-ppl:
20121 @if ppl
20122 maybe-TAGS-ppl: TAGS-ppl
20124 TAGS-ppl: \
20125 configure-ppl
20126 @[ -f ./ppl/Makefile ] || exit 0; \
20127 r=`${PWD_COMMAND}`; export r; \
20128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20129 $(HOST_EXPORTS) \
20130 for flag in $(EXTRA_HOST_FLAGS) ; do \
20131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20132 done; \
20133 echo "Doing TAGS in ppl" ; \
20134 (cd $(HOST_SUBDIR)/ppl && \
20135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20137 "RANLIB=$${RANLIB}" \
20138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20139 TAGS) \
20140 || exit 1
20142 @endif ppl
20144 .PHONY: maybe-install-info-ppl install-info-ppl
20145 maybe-install-info-ppl:
20146 @if ppl
20147 maybe-install-info-ppl: install-info-ppl
20149 install-info-ppl: \
20150 configure-ppl \
20151 info-ppl
20152 @[ -f ./ppl/Makefile ] || exit 0; \
20153 r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 $(HOST_EXPORTS) \
20156 for flag in $(EXTRA_HOST_FLAGS) ; do \
20157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20158 done; \
20159 echo "Doing install-info in ppl" ; \
20160 (cd $(HOST_SUBDIR)/ppl && \
20161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20163 "RANLIB=$${RANLIB}" \
20164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20165 install-info) \
20166 || exit 1
20168 @endif ppl
20170 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
20171 maybe-install-pdf-ppl:
20172 @if ppl
20173 maybe-install-pdf-ppl: install-pdf-ppl
20175 install-pdf-ppl: \
20176 configure-ppl \
20177 pdf-ppl
20178 @[ -f ./ppl/Makefile ] || exit 0; \
20179 r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(HOST_EXPORTS) \
20182 for flag in $(EXTRA_HOST_FLAGS) ; do \
20183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20184 done; \
20185 echo "Doing install-pdf in ppl" ; \
20186 (cd $(HOST_SUBDIR)/ppl && \
20187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20189 "RANLIB=$${RANLIB}" \
20190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20191 install-pdf) \
20192 || exit 1
20194 @endif ppl
20196 .PHONY: maybe-install-html-ppl install-html-ppl
20197 maybe-install-html-ppl:
20198 @if ppl
20199 maybe-install-html-ppl: install-html-ppl
20201 install-html-ppl: \
20202 configure-ppl \
20203 html-ppl
20204 @[ -f ./ppl/Makefile ] || exit 0; \
20205 r=`${PWD_COMMAND}`; export r; \
20206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 $(HOST_EXPORTS) \
20208 for flag in $(EXTRA_HOST_FLAGS) ; do \
20209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20210 done; \
20211 echo "Doing install-html in ppl" ; \
20212 (cd $(HOST_SUBDIR)/ppl && \
20213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20215 "RANLIB=$${RANLIB}" \
20216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20217 install-html) \
20218 || exit 1
20220 @endif ppl
20222 .PHONY: maybe-installcheck-ppl installcheck-ppl
20223 maybe-installcheck-ppl:
20224 @if ppl
20225 maybe-installcheck-ppl: installcheck-ppl
20227 installcheck-ppl: \
20228 configure-ppl
20229 @[ -f ./ppl/Makefile ] || exit 0; \
20230 r=`${PWD_COMMAND}`; export r; \
20231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20232 $(HOST_EXPORTS) \
20233 for flag in $(EXTRA_HOST_FLAGS) ; do \
20234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20235 done; \
20236 echo "Doing installcheck in ppl" ; \
20237 (cd $(HOST_SUBDIR)/ppl && \
20238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20240 "RANLIB=$${RANLIB}" \
20241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20242 installcheck) \
20243 || exit 1
20245 @endif ppl
20247 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
20248 maybe-mostlyclean-ppl:
20249 @if ppl
20250 maybe-mostlyclean-ppl: mostlyclean-ppl
20252 mostlyclean-ppl:
20253 @[ -f ./ppl/Makefile ] || exit 0; \
20254 r=`${PWD_COMMAND}`; export r; \
20255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20256 $(HOST_EXPORTS) \
20257 for flag in $(EXTRA_HOST_FLAGS) ; do \
20258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20259 done; \
20260 echo "Doing mostlyclean in ppl" ; \
20261 (cd $(HOST_SUBDIR)/ppl && \
20262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20264 "RANLIB=$${RANLIB}" \
20265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20266 mostlyclean) \
20267 || exit 1
20269 @endif ppl
20271 .PHONY: maybe-clean-ppl clean-ppl
20272 maybe-clean-ppl:
20273 @if ppl
20274 maybe-clean-ppl: clean-ppl
20276 clean-ppl:
20277 @[ -f ./ppl/Makefile ] || exit 0; \
20278 r=`${PWD_COMMAND}`; export r; \
20279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20280 $(HOST_EXPORTS) \
20281 for flag in $(EXTRA_HOST_FLAGS) ; do \
20282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20283 done; \
20284 echo "Doing clean in ppl" ; \
20285 (cd $(HOST_SUBDIR)/ppl && \
20286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288 "RANLIB=$${RANLIB}" \
20289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20290 clean) \
20291 || exit 1
20293 @endif ppl
20295 .PHONY: maybe-distclean-ppl distclean-ppl
20296 maybe-distclean-ppl:
20297 @if ppl
20298 maybe-distclean-ppl: distclean-ppl
20300 distclean-ppl:
20301 @[ -f ./ppl/Makefile ] || exit 0; \
20302 r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(HOST_EXPORTS) \
20305 for flag in $(EXTRA_HOST_FLAGS) ; do \
20306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20307 done; \
20308 echo "Doing distclean in ppl" ; \
20309 (cd $(HOST_SUBDIR)/ppl && \
20310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20312 "RANLIB=$${RANLIB}" \
20313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20314 distclean) \
20315 || exit 1
20317 @endif ppl
20319 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
20320 maybe-maintainer-clean-ppl:
20321 @if ppl
20322 maybe-maintainer-clean-ppl: maintainer-clean-ppl
20324 maintainer-clean-ppl:
20325 @[ -f ./ppl/Makefile ] || exit 0; \
20326 r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(HOST_EXPORTS) \
20329 for flag in $(EXTRA_HOST_FLAGS) ; do \
20330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20331 done; \
20332 echo "Doing maintainer-clean in ppl" ; \
20333 (cd $(HOST_SUBDIR)/ppl && \
20334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20336 "RANLIB=$${RANLIB}" \
20337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20338 maintainer-clean) \
20339 || exit 1
20341 @endif ppl
20345 .PHONY: configure-cloog maybe-configure-cloog
20346 maybe-configure-cloog:
20347 @if gcc-bootstrap
20348 configure-cloog: stage_current
20349 @endif gcc-bootstrap
20350 @if cloog
20351 maybe-configure-cloog: configure-cloog
20352 configure-cloog:
20353 @r=`${PWD_COMMAND}`; export r; \
20354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20355 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20357 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20358 echo Configuring in $(HOST_SUBDIR)/cloog; \
20359 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
20360 case $(srcdir) in \
20361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20362 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20364 esac; \
20365 srcdiroption="--srcdir=$${topdir}/cloog"; \
20366 libsrcdir="$$s/cloog"; \
20367 $(SHELL) $${libsrcdir}/configure \
20368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20369 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl \
20370 || exit 1
20371 @endif cloog
20375 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
20376 maybe-configure-stage1-cloog:
20377 @if cloog-bootstrap
20378 maybe-configure-stage1-cloog: configure-stage1-cloog
20379 configure-stage1-cloog:
20380 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20382 @r=`${PWD_COMMAND}`; export r; \
20383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20384 TFLAGS="$(STAGE1_TFLAGS)"; \
20385 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20386 $(HOST_EXPORTS) \
20387 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20388 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20389 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20390 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
20391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20392 cd $(HOST_SUBDIR)/cloog || exit 1; \
20393 case $(srcdir) in \
20394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20395 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20397 esac; \
20398 srcdiroption="--srcdir=$${topdir}/cloog"; \
20399 libsrcdir="$$s/cloog"; \
20400 $(SHELL) $${libsrcdir}/configure \
20401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20402 --target=${target_alias} $${srcdiroption} \
20403 $(STAGE1_CONFIGURE_FLAGS) \
20404 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20405 @endif cloog-bootstrap
20407 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
20408 maybe-configure-stage2-cloog:
20409 @if cloog-bootstrap
20410 maybe-configure-stage2-cloog: configure-stage2-cloog
20411 configure-stage2-cloog:
20412 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20414 @r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 TFLAGS="$(STAGE2_TFLAGS)"; \
20417 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20418 $(HOST_EXPORTS) \
20419 $(POSTSTAGE1_HOST_EXPORTS) \
20420 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20421 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20422 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20423 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
20424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20425 cd $(HOST_SUBDIR)/cloog || exit 1; \
20426 case $(srcdir) in \
20427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20428 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20430 esac; \
20431 srcdiroption="--srcdir=$${topdir}/cloog"; \
20432 libsrcdir="$$s/cloog"; \
20433 $(SHELL) $${libsrcdir}/configure \
20434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20435 --target=${target_alias} $${srcdiroption} \
20436 --with-build-libsubdir=$(HOST_SUBDIR) \
20437 $(STAGE2_CONFIGURE_FLAGS) \
20438 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20439 @endif cloog-bootstrap
20441 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
20442 maybe-configure-stage3-cloog:
20443 @if cloog-bootstrap
20444 maybe-configure-stage3-cloog: configure-stage3-cloog
20445 configure-stage3-cloog:
20446 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20448 @r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 TFLAGS="$(STAGE3_TFLAGS)"; \
20451 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20452 $(HOST_EXPORTS) \
20453 $(POSTSTAGE1_HOST_EXPORTS) \
20454 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20455 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20456 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20457 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
20458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20459 cd $(HOST_SUBDIR)/cloog || exit 1; \
20460 case $(srcdir) in \
20461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20462 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20464 esac; \
20465 srcdiroption="--srcdir=$${topdir}/cloog"; \
20466 libsrcdir="$$s/cloog"; \
20467 $(SHELL) $${libsrcdir}/configure \
20468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20469 --target=${target_alias} $${srcdiroption} \
20470 --with-build-libsubdir=$(HOST_SUBDIR) \
20471 $(STAGE3_CONFIGURE_FLAGS) \
20472 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20473 @endif cloog-bootstrap
20475 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
20476 maybe-configure-stage4-cloog:
20477 @if cloog-bootstrap
20478 maybe-configure-stage4-cloog: configure-stage4-cloog
20479 configure-stage4-cloog:
20480 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20482 @r=`${PWD_COMMAND}`; export r; \
20483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20484 TFLAGS="$(STAGE4_TFLAGS)"; \
20485 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20486 $(HOST_EXPORTS) \
20487 $(POSTSTAGE1_HOST_EXPORTS) \
20488 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20489 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20490 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20491 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
20492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20493 cd $(HOST_SUBDIR)/cloog || exit 1; \
20494 case $(srcdir) in \
20495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20496 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20498 esac; \
20499 srcdiroption="--srcdir=$${topdir}/cloog"; \
20500 libsrcdir="$$s/cloog"; \
20501 $(SHELL) $${libsrcdir}/configure \
20502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20503 --target=${target_alias} $${srcdiroption} \
20504 --with-build-libsubdir=$(HOST_SUBDIR) \
20505 $(STAGE4_CONFIGURE_FLAGS) \
20506 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20507 @endif cloog-bootstrap
20509 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
20510 maybe-configure-stageprofile-cloog:
20511 @if cloog-bootstrap
20512 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
20513 configure-stageprofile-cloog:
20514 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20516 @r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20519 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20520 $(HOST_EXPORTS) \
20521 $(POSTSTAGE1_HOST_EXPORTS) \
20522 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20523 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20524 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20525 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
20526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20527 cd $(HOST_SUBDIR)/cloog || exit 1; \
20528 case $(srcdir) in \
20529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20530 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20532 esac; \
20533 srcdiroption="--srcdir=$${topdir}/cloog"; \
20534 libsrcdir="$$s/cloog"; \
20535 $(SHELL) $${libsrcdir}/configure \
20536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20537 --target=${target_alias} $${srcdiroption} \
20538 --with-build-libsubdir=$(HOST_SUBDIR) \
20539 $(STAGEprofile_CONFIGURE_FLAGS) \
20540 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20541 @endif cloog-bootstrap
20543 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
20544 maybe-configure-stagefeedback-cloog:
20545 @if cloog-bootstrap
20546 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
20547 configure-stagefeedback-cloog:
20548 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20549 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
20550 @r=`${PWD_COMMAND}`; export r; \
20551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20552 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20553 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
20554 $(HOST_EXPORTS) \
20555 $(POSTSTAGE1_HOST_EXPORTS) \
20556 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20557 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20558 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20559 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
20560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
20561 cd $(HOST_SUBDIR)/cloog || exit 1; \
20562 case $(srcdir) in \
20563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20564 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
20565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20566 esac; \
20567 srcdiroption="--srcdir=$${topdir}/cloog"; \
20568 libsrcdir="$$s/cloog"; \
20569 $(SHELL) $${libsrcdir}/configure \
20570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20571 --target=${target_alias} $${srcdiroption} \
20572 --with-build-libsubdir=$(HOST_SUBDIR) \
20573 $(STAGEfeedback_CONFIGURE_FLAGS) \
20574 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
20575 @endif cloog-bootstrap
20581 .PHONY: all-cloog maybe-all-cloog
20582 maybe-all-cloog:
20583 @if gcc-bootstrap
20584 all-cloog: stage_current
20585 @endif gcc-bootstrap
20586 @if cloog
20587 TARGET-cloog=all
20588 maybe-all-cloog: all-cloog
20589 all-cloog: configure-cloog
20590 @r=`${PWD_COMMAND}`; export r; \
20591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20592 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20593 (cd $(HOST_SUBDIR)/cloog && \
20594 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20595 $(TARGET-cloog))
20596 @endif cloog
20600 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
20601 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
20602 maybe-all-stage1-cloog:
20603 maybe-clean-stage1-cloog:
20604 @if cloog-bootstrap
20605 maybe-all-stage1-cloog: all-stage1-cloog
20606 all-stage1: all-stage1-cloog
20607 TARGET-stage1-cloog = $(TARGET-cloog)
20608 all-stage1-cloog: configure-stage1-cloog
20609 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20610 @r=`${PWD_COMMAND}`; export r; \
20611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20612 TFLAGS="$(STAGE1_TFLAGS)"; \
20613 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20614 cd $(HOST_SUBDIR)/cloog && \
20615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20616 CFLAGS="$(STAGE1_CFLAGS)" \
20617 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20618 LIBCFLAGS="$(LIBCFLAGS)" \
20619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20622 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20623 TFLAGS="$(STAGE1_TFLAGS)" \
20624 $(TARGET-stage1-cloog)
20626 maybe-clean-stage1-cloog: clean-stage1-cloog
20627 clean-stage1: clean-stage1-cloog
20628 clean-stage1-cloog:
20629 @if [ $(current_stage) = stage1 ]; then \
20630 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20631 else \
20632 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
20633 $(MAKE) stage1-start; \
20634 fi; \
20635 cd $(HOST_SUBDIR)/cloog && \
20636 $(MAKE) $(EXTRA_HOST_FLAGS) \
20637 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20638 @endif cloog-bootstrap
20641 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
20642 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
20643 maybe-all-stage2-cloog:
20644 maybe-clean-stage2-cloog:
20645 @if cloog-bootstrap
20646 maybe-all-stage2-cloog: all-stage2-cloog
20647 all-stage2: all-stage2-cloog
20648 TARGET-stage2-cloog = $(TARGET-cloog)
20649 all-stage2-cloog: configure-stage2-cloog
20650 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20651 @r=`${PWD_COMMAND}`; export r; \
20652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20653 TFLAGS="$(STAGE2_TFLAGS)"; \
20654 $(HOST_EXPORTS) \
20655 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20656 cd $(HOST_SUBDIR)/cloog && \
20657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20658 CFLAGS="$(STAGE2_CFLAGS)" \
20659 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20660 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20664 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20665 TFLAGS="$(STAGE2_TFLAGS)" \
20666 $(TARGET-stage2-cloog)
20668 maybe-clean-stage2-cloog: clean-stage2-cloog
20669 clean-stage2: clean-stage2-cloog
20670 clean-stage2-cloog:
20671 @if [ $(current_stage) = stage2 ]; then \
20672 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20673 else \
20674 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
20675 $(MAKE) stage2-start; \
20676 fi; \
20677 cd $(HOST_SUBDIR)/cloog && \
20678 $(MAKE) $(EXTRA_HOST_FLAGS) \
20679 $(POSTSTAGE1_FLAGS_TO_PASS) \
20680 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20681 @endif cloog-bootstrap
20684 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
20685 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
20686 maybe-all-stage3-cloog:
20687 maybe-clean-stage3-cloog:
20688 @if cloog-bootstrap
20689 maybe-all-stage3-cloog: all-stage3-cloog
20690 all-stage3: all-stage3-cloog
20691 TARGET-stage3-cloog = $(TARGET-cloog)
20692 all-stage3-cloog: configure-stage3-cloog
20693 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20694 @r=`${PWD_COMMAND}`; export r; \
20695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20696 TFLAGS="$(STAGE3_TFLAGS)"; \
20697 $(HOST_EXPORTS) \
20698 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20699 cd $(HOST_SUBDIR)/cloog && \
20700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20701 CFLAGS="$(STAGE3_CFLAGS)" \
20702 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20703 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20708 TFLAGS="$(STAGE3_TFLAGS)" \
20709 $(TARGET-stage3-cloog)
20711 maybe-clean-stage3-cloog: clean-stage3-cloog
20712 clean-stage3: clean-stage3-cloog
20713 clean-stage3-cloog:
20714 @if [ $(current_stage) = stage3 ]; then \
20715 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20716 else \
20717 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
20718 $(MAKE) stage3-start; \
20719 fi; \
20720 cd $(HOST_SUBDIR)/cloog && \
20721 $(MAKE) $(EXTRA_HOST_FLAGS) \
20722 $(POSTSTAGE1_FLAGS_TO_PASS) \
20723 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20724 @endif cloog-bootstrap
20727 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
20728 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
20729 maybe-all-stage4-cloog:
20730 maybe-clean-stage4-cloog:
20731 @if cloog-bootstrap
20732 maybe-all-stage4-cloog: all-stage4-cloog
20733 all-stage4: all-stage4-cloog
20734 TARGET-stage4-cloog = $(TARGET-cloog)
20735 all-stage4-cloog: configure-stage4-cloog
20736 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20737 @r=`${PWD_COMMAND}`; export r; \
20738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20739 TFLAGS="$(STAGE4_TFLAGS)"; \
20740 $(HOST_EXPORTS) \
20741 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20742 cd $(HOST_SUBDIR)/cloog && \
20743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20744 CFLAGS="$(STAGE4_CFLAGS)" \
20745 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20746 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20750 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20751 TFLAGS="$(STAGE4_TFLAGS)" \
20752 $(TARGET-stage4-cloog)
20754 maybe-clean-stage4-cloog: clean-stage4-cloog
20755 clean-stage4: clean-stage4-cloog
20756 clean-stage4-cloog:
20757 @if [ $(current_stage) = stage4 ]; then \
20758 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20759 else \
20760 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
20761 $(MAKE) stage4-start; \
20762 fi; \
20763 cd $(HOST_SUBDIR)/cloog && \
20764 $(MAKE) $(EXTRA_HOST_FLAGS) \
20765 $(POSTSTAGE1_FLAGS_TO_PASS) \
20766 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20767 @endif cloog-bootstrap
20770 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
20771 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
20772 maybe-all-stageprofile-cloog:
20773 maybe-clean-stageprofile-cloog:
20774 @if cloog-bootstrap
20775 maybe-all-stageprofile-cloog: all-stageprofile-cloog
20776 all-stageprofile: all-stageprofile-cloog
20777 TARGET-stageprofile-cloog = $(TARGET-cloog)
20778 all-stageprofile-cloog: configure-stageprofile-cloog
20779 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20780 @r=`${PWD_COMMAND}`; export r; \
20781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20782 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20783 $(HOST_EXPORTS) \
20784 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20785 cd $(HOST_SUBDIR)/cloog && \
20786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20787 CFLAGS="$(STAGEprofile_CFLAGS)" \
20788 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20789 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20794 TFLAGS="$(STAGEprofile_TFLAGS)" \
20795 $(TARGET-stageprofile-cloog)
20797 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
20798 clean-stageprofile: clean-stageprofile-cloog
20799 clean-stageprofile-cloog:
20800 @if [ $(current_stage) = stageprofile ]; then \
20801 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20802 else \
20803 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
20804 $(MAKE) stageprofile-start; \
20805 fi; \
20806 cd $(HOST_SUBDIR)/cloog && \
20807 $(MAKE) $(EXTRA_HOST_FLAGS) \
20808 $(POSTSTAGE1_FLAGS_TO_PASS) \
20809 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20810 @endif cloog-bootstrap
20813 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
20814 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
20815 maybe-all-stagefeedback-cloog:
20816 maybe-clean-stagefeedback-cloog:
20817 @if cloog-bootstrap
20818 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
20819 all-stagefeedback: all-stagefeedback-cloog
20820 TARGET-stagefeedback-cloog = $(TARGET-cloog)
20821 all-stagefeedback-cloog: configure-stagefeedback-cloog
20822 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20823 @r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20826 $(HOST_EXPORTS) \
20827 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20828 cd $(HOST_SUBDIR)/cloog && \
20829 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20830 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20831 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20832 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20833 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20834 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20835 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20836 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20837 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20838 $(TARGET-stagefeedback-cloog)
20840 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
20841 clean-stagefeedback: clean-stagefeedback-cloog
20842 clean-stagefeedback-cloog:
20843 @if [ $(current_stage) = stagefeedback ]; then \
20844 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20845 else \
20846 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
20847 $(MAKE) stagefeedback-start; \
20848 fi; \
20849 cd $(HOST_SUBDIR)/cloog && \
20850 $(MAKE) $(EXTRA_HOST_FLAGS) \
20851 $(POSTSTAGE1_FLAGS_TO_PASS) \
20852 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20853 @endif cloog-bootstrap
20859 .PHONY: check-cloog maybe-check-cloog
20860 maybe-check-cloog:
20861 @if cloog
20862 maybe-check-cloog: check-cloog
20864 check-cloog:
20865 @: $(MAKE); $(unstage)
20866 @r=`${PWD_COMMAND}`; export r; \
20867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20868 $(HOST_EXPORTS) \
20869 (cd $(HOST_SUBDIR)/cloog && \
20870 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
20872 @endif cloog
20874 .PHONY: install-cloog maybe-install-cloog
20875 maybe-install-cloog:
20876 @if cloog
20877 maybe-install-cloog: install-cloog
20879 install-cloog:
20881 @endif cloog
20883 .PHONY: install-strip-cloog maybe-install-strip-cloog
20884 maybe-install-strip-cloog:
20885 @if cloog
20886 maybe-install-strip-cloog: install-strip-cloog
20888 install-strip-cloog:
20890 @endif cloog
20892 # Other targets (info, dvi, pdf, etc.)
20894 .PHONY: maybe-info-cloog info-cloog
20895 maybe-info-cloog:
20896 @if cloog
20897 maybe-info-cloog: info-cloog
20899 info-cloog: \
20900 configure-cloog
20901 @[ -f ./cloog/Makefile ] || exit 0; \
20902 r=`${PWD_COMMAND}`; export r; \
20903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20904 $(HOST_EXPORTS) \
20905 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20907 done; \
20908 echo "Doing info in cloog" ; \
20909 (cd $(HOST_SUBDIR)/cloog && \
20910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20912 "RANLIB=$${RANLIB}" \
20913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20914 info) \
20915 || exit 1
20917 @endif cloog
20919 .PHONY: maybe-dvi-cloog dvi-cloog
20920 maybe-dvi-cloog:
20921 @if cloog
20922 maybe-dvi-cloog: dvi-cloog
20924 dvi-cloog: \
20925 configure-cloog
20926 @[ -f ./cloog/Makefile ] || exit 0; \
20927 r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20932 done; \
20933 echo "Doing dvi in cloog" ; \
20934 (cd $(HOST_SUBDIR)/cloog && \
20935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20937 "RANLIB=$${RANLIB}" \
20938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20939 dvi) \
20940 || exit 1
20942 @endif cloog
20944 .PHONY: maybe-pdf-cloog pdf-cloog
20945 maybe-pdf-cloog:
20946 @if cloog
20947 maybe-pdf-cloog: pdf-cloog
20949 pdf-cloog: \
20950 configure-cloog
20951 @[ -f ./cloog/Makefile ] || exit 0; \
20952 r=`${PWD_COMMAND}`; export r; \
20953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 $(HOST_EXPORTS) \
20955 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20957 done; \
20958 echo "Doing pdf in cloog" ; \
20959 (cd $(HOST_SUBDIR)/cloog && \
20960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20962 "RANLIB=$${RANLIB}" \
20963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20964 pdf) \
20965 || exit 1
20967 @endif cloog
20969 .PHONY: maybe-html-cloog html-cloog
20970 maybe-html-cloog:
20971 @if cloog
20972 maybe-html-cloog: html-cloog
20974 html-cloog: \
20975 configure-cloog
20976 @[ -f ./cloog/Makefile ] || exit 0; \
20977 r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 $(HOST_EXPORTS) \
20980 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 done; \
20983 echo "Doing html in cloog" ; \
20984 (cd $(HOST_SUBDIR)/cloog && \
20985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20987 "RANLIB=$${RANLIB}" \
20988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20989 html) \
20990 || exit 1
20992 @endif cloog
20994 .PHONY: maybe-TAGS-cloog TAGS-cloog
20995 maybe-TAGS-cloog:
20996 @if cloog
20997 maybe-TAGS-cloog: TAGS-cloog
20999 TAGS-cloog: \
21000 configure-cloog
21001 @[ -f ./cloog/Makefile ] || exit 0; \
21002 r=`${PWD_COMMAND}`; export r; \
21003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 $(HOST_EXPORTS) \
21005 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 done; \
21008 echo "Doing TAGS in cloog" ; \
21009 (cd $(HOST_SUBDIR)/cloog && \
21010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21012 "RANLIB=$${RANLIB}" \
21013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21014 TAGS) \
21015 || exit 1
21017 @endif cloog
21019 .PHONY: maybe-install-info-cloog install-info-cloog
21020 maybe-install-info-cloog:
21021 @if cloog
21022 maybe-install-info-cloog: install-info-cloog
21024 install-info-cloog: \
21025 configure-cloog \
21026 info-cloog
21027 @[ -f ./cloog/Makefile ] || exit 0; \
21028 r=`${PWD_COMMAND}`; export r; \
21029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21030 $(HOST_EXPORTS) \
21031 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21033 done; \
21034 echo "Doing install-info in cloog" ; \
21035 (cd $(HOST_SUBDIR)/cloog && \
21036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21038 "RANLIB=$${RANLIB}" \
21039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21040 install-info) \
21041 || exit 1
21043 @endif cloog
21045 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
21046 maybe-install-pdf-cloog:
21047 @if cloog
21048 maybe-install-pdf-cloog: install-pdf-cloog
21050 install-pdf-cloog: \
21051 configure-cloog \
21052 pdf-cloog
21053 @[ -f ./cloog/Makefile ] || exit 0; \
21054 r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056 $(HOST_EXPORTS) \
21057 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21059 done; \
21060 echo "Doing install-pdf in cloog" ; \
21061 (cd $(HOST_SUBDIR)/cloog && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21066 install-pdf) \
21067 || exit 1
21069 @endif cloog
21071 .PHONY: maybe-install-html-cloog install-html-cloog
21072 maybe-install-html-cloog:
21073 @if cloog
21074 maybe-install-html-cloog: install-html-cloog
21076 install-html-cloog: \
21077 configure-cloog \
21078 html-cloog
21079 @[ -f ./cloog/Makefile ] || exit 0; \
21080 r=`${PWD_COMMAND}`; export r; \
21081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21082 $(HOST_EXPORTS) \
21083 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21085 done; \
21086 echo "Doing install-html in cloog" ; \
21087 (cd $(HOST_SUBDIR)/cloog && \
21088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21090 "RANLIB=$${RANLIB}" \
21091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21092 install-html) \
21093 || exit 1
21095 @endif cloog
21097 .PHONY: maybe-installcheck-cloog installcheck-cloog
21098 maybe-installcheck-cloog:
21099 @if cloog
21100 maybe-installcheck-cloog: installcheck-cloog
21102 installcheck-cloog: \
21103 configure-cloog
21104 @[ -f ./cloog/Makefile ] || exit 0; \
21105 r=`${PWD_COMMAND}`; export r; \
21106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21107 $(HOST_EXPORTS) \
21108 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21110 done; \
21111 echo "Doing installcheck in cloog" ; \
21112 (cd $(HOST_SUBDIR)/cloog && \
21113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21115 "RANLIB=$${RANLIB}" \
21116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21117 installcheck) \
21118 || exit 1
21120 @endif cloog
21122 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
21123 maybe-mostlyclean-cloog:
21124 @if cloog
21125 maybe-mostlyclean-cloog: mostlyclean-cloog
21127 mostlyclean-cloog:
21128 @[ -f ./cloog/Makefile ] || exit 0; \
21129 r=`${PWD_COMMAND}`; export r; \
21130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21131 $(HOST_EXPORTS) \
21132 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21134 done; \
21135 echo "Doing mostlyclean in cloog" ; \
21136 (cd $(HOST_SUBDIR)/cloog && \
21137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21139 "RANLIB=$${RANLIB}" \
21140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21141 mostlyclean) \
21142 || exit 1
21144 @endif cloog
21146 .PHONY: maybe-clean-cloog clean-cloog
21147 maybe-clean-cloog:
21148 @if cloog
21149 maybe-clean-cloog: clean-cloog
21151 clean-cloog:
21152 @[ -f ./cloog/Makefile ] || exit 0; \
21153 r=`${PWD_COMMAND}`; export r; \
21154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21155 $(HOST_EXPORTS) \
21156 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21158 done; \
21159 echo "Doing clean in cloog" ; \
21160 (cd $(HOST_SUBDIR)/cloog && \
21161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21163 "RANLIB=$${RANLIB}" \
21164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21165 clean) \
21166 || exit 1
21168 @endif cloog
21170 .PHONY: maybe-distclean-cloog distclean-cloog
21171 maybe-distclean-cloog:
21172 @if cloog
21173 maybe-distclean-cloog: distclean-cloog
21175 distclean-cloog:
21176 @[ -f ./cloog/Makefile ] || exit 0; \
21177 r=`${PWD_COMMAND}`; export r; \
21178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21179 $(HOST_EXPORTS) \
21180 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21182 done; \
21183 echo "Doing distclean in cloog" ; \
21184 (cd $(HOST_SUBDIR)/cloog && \
21185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21187 "RANLIB=$${RANLIB}" \
21188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21189 distclean) \
21190 || exit 1
21192 @endif cloog
21194 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
21195 maybe-maintainer-clean-cloog:
21196 @if cloog
21197 maybe-maintainer-clean-cloog: maintainer-clean-cloog
21199 maintainer-clean-cloog:
21200 @[ -f ./cloog/Makefile ] || exit 0; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(HOST_EXPORTS) \
21204 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
21205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21206 done; \
21207 echo "Doing maintainer-clean in cloog" ; \
21208 (cd $(HOST_SUBDIR)/cloog && \
21209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21211 "RANLIB=$${RANLIB}" \
21212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21213 maintainer-clean) \
21214 || exit 1
21216 @endif cloog
21220 .PHONY: configure-libelf maybe-configure-libelf
21221 maybe-configure-libelf:
21222 @if gcc-bootstrap
21223 configure-libelf: stage_current
21224 @endif gcc-bootstrap
21225 @if libelf
21226 maybe-configure-libelf: configure-libelf
21227 configure-libelf:
21228 @r=`${PWD_COMMAND}`; export r; \
21229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21230 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21232 $(HOST_EXPORTS) \
21233 echo Configuring in $(HOST_SUBDIR)/libelf; \
21234 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
21235 case $(srcdir) in \
21236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21237 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21239 esac; \
21240 srcdiroption="--srcdir=$${topdir}/libelf"; \
21241 libsrcdir="$$s/libelf"; \
21242 $(SHELL) $${libsrcdir}/configure \
21243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21244 --target=${target_alias} $${srcdiroption} --disable-shared \
21245 || exit 1
21246 @endif libelf
21250 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
21251 maybe-configure-stage1-libelf:
21252 @if libelf-bootstrap
21253 maybe-configure-stage1-libelf: configure-stage1-libelf
21254 configure-stage1-libelf:
21255 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21257 @r=`${PWD_COMMAND}`; export r; \
21258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21259 TFLAGS="$(STAGE1_TFLAGS)"; \
21260 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21261 $(HOST_EXPORTS) \
21262 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21263 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21264 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21265 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
21266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21267 cd $(HOST_SUBDIR)/libelf || exit 1; \
21268 case $(srcdir) in \
21269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21270 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21272 esac; \
21273 srcdiroption="--srcdir=$${topdir}/libelf"; \
21274 libsrcdir="$$s/libelf"; \
21275 $(SHELL) $${libsrcdir}/configure \
21276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21277 --target=${target_alias} $${srcdiroption} \
21278 $(STAGE1_CONFIGURE_FLAGS) \
21279 --disable-shared
21280 @endif libelf-bootstrap
21282 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
21283 maybe-configure-stage2-libelf:
21284 @if libelf-bootstrap
21285 maybe-configure-stage2-libelf: configure-stage2-libelf
21286 configure-stage2-libelf:
21287 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21289 @r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 TFLAGS="$(STAGE2_TFLAGS)"; \
21292 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21293 $(HOST_EXPORTS) \
21294 $(POSTSTAGE1_HOST_EXPORTS) \
21295 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21296 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21297 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21298 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
21299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21300 cd $(HOST_SUBDIR)/libelf || exit 1; \
21301 case $(srcdir) in \
21302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21303 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21305 esac; \
21306 srcdiroption="--srcdir=$${topdir}/libelf"; \
21307 libsrcdir="$$s/libelf"; \
21308 $(SHELL) $${libsrcdir}/configure \
21309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21310 --target=${target_alias} $${srcdiroption} \
21311 --with-build-libsubdir=$(HOST_SUBDIR) \
21312 $(STAGE2_CONFIGURE_FLAGS) \
21313 --disable-shared
21314 @endif libelf-bootstrap
21316 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
21317 maybe-configure-stage3-libelf:
21318 @if libelf-bootstrap
21319 maybe-configure-stage3-libelf: configure-stage3-libelf
21320 configure-stage3-libelf:
21321 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21322 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21323 @r=`${PWD_COMMAND}`; export r; \
21324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21325 TFLAGS="$(STAGE3_TFLAGS)"; \
21326 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21327 $(HOST_EXPORTS) \
21328 $(POSTSTAGE1_HOST_EXPORTS) \
21329 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21330 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21331 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21332 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
21333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21334 cd $(HOST_SUBDIR)/libelf || exit 1; \
21335 case $(srcdir) in \
21336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21337 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21339 esac; \
21340 srcdiroption="--srcdir=$${topdir}/libelf"; \
21341 libsrcdir="$$s/libelf"; \
21342 $(SHELL) $${libsrcdir}/configure \
21343 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21344 --target=${target_alias} $${srcdiroption} \
21345 --with-build-libsubdir=$(HOST_SUBDIR) \
21346 $(STAGE3_CONFIGURE_FLAGS) \
21347 --disable-shared
21348 @endif libelf-bootstrap
21350 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
21351 maybe-configure-stage4-libelf:
21352 @if libelf-bootstrap
21353 maybe-configure-stage4-libelf: configure-stage4-libelf
21354 configure-stage4-libelf:
21355 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21357 @r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 TFLAGS="$(STAGE4_TFLAGS)"; \
21360 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21361 $(HOST_EXPORTS) \
21362 $(POSTSTAGE1_HOST_EXPORTS) \
21363 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21364 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21365 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21366 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
21367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21368 cd $(HOST_SUBDIR)/libelf || exit 1; \
21369 case $(srcdir) in \
21370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21371 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21373 esac; \
21374 srcdiroption="--srcdir=$${topdir}/libelf"; \
21375 libsrcdir="$$s/libelf"; \
21376 $(SHELL) $${libsrcdir}/configure \
21377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21378 --target=${target_alias} $${srcdiroption} \
21379 --with-build-libsubdir=$(HOST_SUBDIR) \
21380 $(STAGE4_CONFIGURE_FLAGS) \
21381 --disable-shared
21382 @endif libelf-bootstrap
21384 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
21385 maybe-configure-stageprofile-libelf:
21386 @if libelf-bootstrap
21387 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
21388 configure-stageprofile-libelf:
21389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21391 @r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21394 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21395 $(HOST_EXPORTS) \
21396 $(POSTSTAGE1_HOST_EXPORTS) \
21397 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21398 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21399 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21400 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
21401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21402 cd $(HOST_SUBDIR)/libelf || exit 1; \
21403 case $(srcdir) in \
21404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21405 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21407 esac; \
21408 srcdiroption="--srcdir=$${topdir}/libelf"; \
21409 libsrcdir="$$s/libelf"; \
21410 $(SHELL) $${libsrcdir}/configure \
21411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21412 --target=${target_alias} $${srcdiroption} \
21413 --with-build-libsubdir=$(HOST_SUBDIR) \
21414 $(STAGEprofile_CONFIGURE_FLAGS) \
21415 --disable-shared
21416 @endif libelf-bootstrap
21418 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
21419 maybe-configure-stagefeedback-libelf:
21420 @if libelf-bootstrap
21421 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
21422 configure-stagefeedback-libelf:
21423 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
21425 @r=`${PWD_COMMAND}`; export r; \
21426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21427 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21428 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
21429 $(HOST_EXPORTS) \
21430 $(POSTSTAGE1_HOST_EXPORTS) \
21431 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21432 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21433 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21434 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
21435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
21436 cd $(HOST_SUBDIR)/libelf || exit 1; \
21437 case $(srcdir) in \
21438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21439 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
21440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21441 esac; \
21442 srcdiroption="--srcdir=$${topdir}/libelf"; \
21443 libsrcdir="$$s/libelf"; \
21444 $(SHELL) $${libsrcdir}/configure \
21445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21446 --target=${target_alias} $${srcdiroption} \
21447 --with-build-libsubdir=$(HOST_SUBDIR) \
21448 $(STAGEfeedback_CONFIGURE_FLAGS) \
21449 --disable-shared
21450 @endif libelf-bootstrap
21456 .PHONY: all-libelf maybe-all-libelf
21457 maybe-all-libelf:
21458 @if gcc-bootstrap
21459 all-libelf: stage_current
21460 @endif gcc-bootstrap
21461 @if libelf
21462 TARGET-libelf=all
21463 maybe-all-libelf: all-libelf
21464 all-libelf: configure-libelf
21465 @r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21467 $(HOST_EXPORTS) \
21468 (cd $(HOST_SUBDIR)/libelf && \
21469 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21470 $(TARGET-libelf))
21471 @endif libelf
21475 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
21476 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
21477 maybe-all-stage1-libelf:
21478 maybe-clean-stage1-libelf:
21479 @if libelf-bootstrap
21480 maybe-all-stage1-libelf: all-stage1-libelf
21481 all-stage1: all-stage1-libelf
21482 TARGET-stage1-libelf = $(TARGET-libelf)
21483 all-stage1-libelf: configure-stage1-libelf
21484 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21485 @r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 TFLAGS="$(STAGE1_TFLAGS)"; \
21488 $(HOST_EXPORTS) \
21489 cd $(HOST_SUBDIR)/libelf && \
21490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21491 CFLAGS="$(STAGE1_CFLAGS)" \
21492 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21493 LIBCFLAGS="$(LIBCFLAGS)" \
21494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21497 $(EXTRA_HOST_FLAGS) \
21498 TFLAGS="$(STAGE1_TFLAGS)" \
21499 $(TARGET-stage1-libelf)
21501 maybe-clean-stage1-libelf: clean-stage1-libelf
21502 clean-stage1: clean-stage1-libelf
21503 clean-stage1-libelf:
21504 @if [ $(current_stage) = stage1 ]; then \
21505 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21506 else \
21507 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
21508 $(MAKE) stage1-start; \
21509 fi; \
21510 cd $(HOST_SUBDIR)/libelf && \
21511 $(MAKE) $(EXTRA_HOST_FLAGS) \
21512 clean
21513 @endif libelf-bootstrap
21516 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
21517 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
21518 maybe-all-stage2-libelf:
21519 maybe-clean-stage2-libelf:
21520 @if libelf-bootstrap
21521 maybe-all-stage2-libelf: all-stage2-libelf
21522 all-stage2: all-stage2-libelf
21523 TARGET-stage2-libelf = $(TARGET-libelf)
21524 all-stage2-libelf: configure-stage2-libelf
21525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21526 @r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528 TFLAGS="$(STAGE2_TFLAGS)"; \
21529 $(HOST_EXPORTS) \
21530 $(POSTSTAGE1_HOST_EXPORTS) \
21531 cd $(HOST_SUBDIR)/libelf && \
21532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21533 CFLAGS="$(STAGE2_CFLAGS)" \
21534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21535 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21540 TFLAGS="$(STAGE2_TFLAGS)" \
21541 $(TARGET-stage2-libelf)
21543 maybe-clean-stage2-libelf: clean-stage2-libelf
21544 clean-stage2: clean-stage2-libelf
21545 clean-stage2-libelf:
21546 @if [ $(current_stage) = stage2 ]; then \
21547 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21548 else \
21549 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
21550 $(MAKE) stage2-start; \
21551 fi; \
21552 cd $(HOST_SUBDIR)/libelf && \
21553 $(MAKE) $(EXTRA_HOST_FLAGS) \
21554 $(POSTSTAGE1_FLAGS_TO_PASS) \
21555 clean
21556 @endif libelf-bootstrap
21559 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
21560 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
21561 maybe-all-stage3-libelf:
21562 maybe-clean-stage3-libelf:
21563 @if libelf-bootstrap
21564 maybe-all-stage3-libelf: all-stage3-libelf
21565 all-stage3: all-stage3-libelf
21566 TARGET-stage3-libelf = $(TARGET-libelf)
21567 all-stage3-libelf: configure-stage3-libelf
21568 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21569 @r=`${PWD_COMMAND}`; export r; \
21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571 TFLAGS="$(STAGE3_TFLAGS)"; \
21572 $(HOST_EXPORTS) \
21573 $(POSTSTAGE1_HOST_EXPORTS) \
21574 cd $(HOST_SUBDIR)/libelf && \
21575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21576 CFLAGS="$(STAGE3_CFLAGS)" \
21577 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21578 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21583 TFLAGS="$(STAGE3_TFLAGS)" \
21584 $(TARGET-stage3-libelf)
21586 maybe-clean-stage3-libelf: clean-stage3-libelf
21587 clean-stage3: clean-stage3-libelf
21588 clean-stage3-libelf:
21589 @if [ $(current_stage) = stage3 ]; then \
21590 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21591 else \
21592 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
21593 $(MAKE) stage3-start; \
21594 fi; \
21595 cd $(HOST_SUBDIR)/libelf && \
21596 $(MAKE) $(EXTRA_HOST_FLAGS) \
21597 $(POSTSTAGE1_FLAGS_TO_PASS) \
21598 clean
21599 @endif libelf-bootstrap
21602 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
21603 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
21604 maybe-all-stage4-libelf:
21605 maybe-clean-stage4-libelf:
21606 @if libelf-bootstrap
21607 maybe-all-stage4-libelf: all-stage4-libelf
21608 all-stage4: all-stage4-libelf
21609 TARGET-stage4-libelf = $(TARGET-libelf)
21610 all-stage4-libelf: configure-stage4-libelf
21611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21612 @r=`${PWD_COMMAND}`; export r; \
21613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21614 TFLAGS="$(STAGE4_TFLAGS)"; \
21615 $(HOST_EXPORTS) \
21616 $(POSTSTAGE1_HOST_EXPORTS) \
21617 cd $(HOST_SUBDIR)/libelf && \
21618 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21619 CFLAGS="$(STAGE4_CFLAGS)" \
21620 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21621 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21622 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21623 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21624 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21625 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21626 TFLAGS="$(STAGE4_TFLAGS)" \
21627 $(TARGET-stage4-libelf)
21629 maybe-clean-stage4-libelf: clean-stage4-libelf
21630 clean-stage4: clean-stage4-libelf
21631 clean-stage4-libelf:
21632 @if [ $(current_stage) = stage4 ]; then \
21633 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21634 else \
21635 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
21636 $(MAKE) stage4-start; \
21637 fi; \
21638 cd $(HOST_SUBDIR)/libelf && \
21639 $(MAKE) $(EXTRA_HOST_FLAGS) \
21640 $(POSTSTAGE1_FLAGS_TO_PASS) \
21641 clean
21642 @endif libelf-bootstrap
21645 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
21646 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
21647 maybe-all-stageprofile-libelf:
21648 maybe-clean-stageprofile-libelf:
21649 @if libelf-bootstrap
21650 maybe-all-stageprofile-libelf: all-stageprofile-libelf
21651 all-stageprofile: all-stageprofile-libelf
21652 TARGET-stageprofile-libelf = $(TARGET-libelf)
21653 all-stageprofile-libelf: configure-stageprofile-libelf
21654 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21655 @r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21658 $(HOST_EXPORTS) \
21659 $(POSTSTAGE1_HOST_EXPORTS) \
21660 cd $(HOST_SUBDIR)/libelf && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21662 CFLAGS="$(STAGEprofile_CFLAGS)" \
21663 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21664 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21668 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21669 TFLAGS="$(STAGEprofile_TFLAGS)" \
21670 $(TARGET-stageprofile-libelf)
21672 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
21673 clean-stageprofile: clean-stageprofile-libelf
21674 clean-stageprofile-libelf:
21675 @if [ $(current_stage) = stageprofile ]; then \
21676 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21677 else \
21678 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
21679 $(MAKE) stageprofile-start; \
21680 fi; \
21681 cd $(HOST_SUBDIR)/libelf && \
21682 $(MAKE) $(EXTRA_HOST_FLAGS) \
21683 $(POSTSTAGE1_FLAGS_TO_PASS) \
21684 clean
21685 @endif libelf-bootstrap
21688 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
21689 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
21690 maybe-all-stagefeedback-libelf:
21691 maybe-clean-stagefeedback-libelf:
21692 @if libelf-bootstrap
21693 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
21694 all-stagefeedback: all-stagefeedback-libelf
21695 TARGET-stagefeedback-libelf = $(TARGET-libelf)
21696 all-stagefeedback-libelf: configure-stagefeedback-libelf
21697 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21698 @r=`${PWD_COMMAND}`; export r; \
21699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21700 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21701 $(HOST_EXPORTS) \
21702 $(POSTSTAGE1_HOST_EXPORTS) \
21703 cd $(HOST_SUBDIR)/libelf && \
21704 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21705 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21706 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21707 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21712 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21713 $(TARGET-stagefeedback-libelf)
21715 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
21716 clean-stagefeedback: clean-stagefeedback-libelf
21717 clean-stagefeedback-libelf:
21718 @if [ $(current_stage) = stagefeedback ]; then \
21719 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21720 else \
21721 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
21722 $(MAKE) stagefeedback-start; \
21723 fi; \
21724 cd $(HOST_SUBDIR)/libelf && \
21725 $(MAKE) $(EXTRA_HOST_FLAGS) \
21726 $(POSTSTAGE1_FLAGS_TO_PASS) \
21727 clean
21728 @endif libelf-bootstrap
21734 .PHONY: check-libelf maybe-check-libelf
21735 maybe-check-libelf:
21736 @if libelf
21737 maybe-check-libelf: check-libelf
21739 check-libelf:
21740 @: $(MAKE); $(unstage)
21741 @r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 (cd $(HOST_SUBDIR)/libelf && \
21745 $(MAKE) $(FLAGS_TO_PASS) check)
21747 @endif libelf
21749 .PHONY: install-libelf maybe-install-libelf
21750 maybe-install-libelf:
21751 @if libelf
21752 maybe-install-libelf: install-libelf
21754 install-libelf:
21756 @endif libelf
21758 .PHONY: install-strip-libelf maybe-install-strip-libelf
21759 maybe-install-strip-libelf:
21760 @if libelf
21761 maybe-install-strip-libelf: install-strip-libelf
21763 install-strip-libelf:
21765 @endif libelf
21767 # Other targets (info, dvi, pdf, etc.)
21769 .PHONY: maybe-info-libelf info-libelf
21770 maybe-info-libelf:
21771 @if libelf
21772 maybe-info-libelf: info-libelf
21774 info-libelf: \
21775 configure-libelf
21776 @[ -f ./libelf/Makefile ] || exit 0; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(HOST_EXPORTS) \
21780 for flag in $(EXTRA_HOST_FLAGS) ; do \
21781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21782 done; \
21783 echo "Doing info in libelf" ; \
21784 (cd $(HOST_SUBDIR)/libelf && \
21785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21787 "RANLIB=$${RANLIB}" \
21788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21789 info) \
21790 || exit 1
21792 @endif libelf
21794 .PHONY: maybe-dvi-libelf dvi-libelf
21795 maybe-dvi-libelf:
21796 @if libelf
21797 maybe-dvi-libelf: dvi-libelf
21799 dvi-libelf: \
21800 configure-libelf
21801 @[ -f ./libelf/Makefile ] || exit 0; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 $(HOST_EXPORTS) \
21805 for flag in $(EXTRA_HOST_FLAGS) ; do \
21806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21807 done; \
21808 echo "Doing dvi in libelf" ; \
21809 (cd $(HOST_SUBDIR)/libelf && \
21810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812 "RANLIB=$${RANLIB}" \
21813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21814 dvi) \
21815 || exit 1
21817 @endif libelf
21819 .PHONY: maybe-pdf-libelf pdf-libelf
21820 maybe-pdf-libelf:
21821 @if libelf
21822 maybe-pdf-libelf: pdf-libelf
21824 pdf-libelf: \
21825 configure-libelf
21826 @[ -f ./libelf/Makefile ] || exit 0; \
21827 r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 $(HOST_EXPORTS) \
21830 for flag in $(EXTRA_HOST_FLAGS) ; do \
21831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832 done; \
21833 echo "Doing pdf in libelf" ; \
21834 (cd $(HOST_SUBDIR)/libelf && \
21835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21837 "RANLIB=$${RANLIB}" \
21838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21839 pdf) \
21840 || exit 1
21842 @endif libelf
21844 .PHONY: maybe-html-libelf html-libelf
21845 maybe-html-libelf:
21846 @if libelf
21847 maybe-html-libelf: html-libelf
21849 html-libelf: \
21850 configure-libelf
21851 @[ -f ./libelf/Makefile ] || exit 0; \
21852 r=`${PWD_COMMAND}`; export r; \
21853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21854 $(HOST_EXPORTS) \
21855 for flag in $(EXTRA_HOST_FLAGS) ; do \
21856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21857 done; \
21858 echo "Doing html in libelf" ; \
21859 (cd $(HOST_SUBDIR)/libelf && \
21860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21862 "RANLIB=$${RANLIB}" \
21863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21864 html) \
21865 || exit 1
21867 @endif libelf
21869 .PHONY: maybe-TAGS-libelf TAGS-libelf
21870 maybe-TAGS-libelf:
21871 @if libelf
21872 maybe-TAGS-libelf: TAGS-libelf
21874 TAGS-libelf: \
21875 configure-libelf
21876 @[ -f ./libelf/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing TAGS in libelf" ; \
21884 (cd $(HOST_SUBDIR)/libelf && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21889 TAGS) \
21890 || exit 1
21892 @endif libelf
21894 .PHONY: maybe-install-info-libelf install-info-libelf
21895 maybe-install-info-libelf:
21896 @if libelf
21897 maybe-install-info-libelf: install-info-libelf
21899 install-info-libelf: \
21900 configure-libelf \
21901 info-libelf
21902 @[ -f ./libelf/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing install-info in libelf" ; \
21910 (cd $(HOST_SUBDIR)/libelf && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21915 install-info) \
21916 || exit 1
21918 @endif libelf
21920 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
21921 maybe-install-pdf-libelf:
21922 @if libelf
21923 maybe-install-pdf-libelf: install-pdf-libelf
21925 install-pdf-libelf: \
21926 configure-libelf \
21927 pdf-libelf
21928 @[ -f ./libelf/Makefile ] || exit 0; \
21929 r=`${PWD_COMMAND}`; export r; \
21930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 $(HOST_EXPORTS) \
21932 for flag in $(EXTRA_HOST_FLAGS) ; do \
21933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 done; \
21935 echo "Doing install-pdf in libelf" ; \
21936 (cd $(HOST_SUBDIR)/libelf && \
21937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21939 "RANLIB=$${RANLIB}" \
21940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21941 install-pdf) \
21942 || exit 1
21944 @endif libelf
21946 .PHONY: maybe-install-html-libelf install-html-libelf
21947 maybe-install-html-libelf:
21948 @if libelf
21949 maybe-install-html-libelf: install-html-libelf
21951 install-html-libelf: \
21952 configure-libelf \
21953 html-libelf
21954 @[ -f ./libelf/Makefile ] || exit 0; \
21955 r=`${PWD_COMMAND}`; export r; \
21956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21957 $(HOST_EXPORTS) \
21958 for flag in $(EXTRA_HOST_FLAGS) ; do \
21959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21960 done; \
21961 echo "Doing install-html in libelf" ; \
21962 (cd $(HOST_SUBDIR)/libelf && \
21963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21965 "RANLIB=$${RANLIB}" \
21966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21967 install-html) \
21968 || exit 1
21970 @endif libelf
21972 .PHONY: maybe-installcheck-libelf installcheck-libelf
21973 maybe-installcheck-libelf:
21974 @if libelf
21975 maybe-installcheck-libelf: installcheck-libelf
21977 installcheck-libelf: \
21978 configure-libelf
21979 @[ -f ./libelf/Makefile ] || exit 0; \
21980 r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982 $(HOST_EXPORTS) \
21983 for flag in $(EXTRA_HOST_FLAGS) ; do \
21984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21985 done; \
21986 echo "Doing installcheck in libelf" ; \
21987 (cd $(HOST_SUBDIR)/libelf && \
21988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21990 "RANLIB=$${RANLIB}" \
21991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21992 installcheck) \
21993 || exit 1
21995 @endif libelf
21997 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
21998 maybe-mostlyclean-libelf:
21999 @if libelf
22000 maybe-mostlyclean-libelf: mostlyclean-libelf
22002 mostlyclean-libelf:
22003 @[ -f ./libelf/Makefile ] || exit 0; \
22004 r=`${PWD_COMMAND}`; export r; \
22005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22006 $(HOST_EXPORTS) \
22007 for flag in $(EXTRA_HOST_FLAGS) ; do \
22008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22009 done; \
22010 echo "Doing mostlyclean in libelf" ; \
22011 (cd $(HOST_SUBDIR)/libelf && \
22012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22014 "RANLIB=$${RANLIB}" \
22015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22016 mostlyclean) \
22017 || exit 1
22019 @endif libelf
22021 .PHONY: maybe-clean-libelf clean-libelf
22022 maybe-clean-libelf:
22023 @if libelf
22024 maybe-clean-libelf: clean-libelf
22026 clean-libelf:
22027 @[ -f ./libelf/Makefile ] || exit 0; \
22028 r=`${PWD_COMMAND}`; export r; \
22029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22030 $(HOST_EXPORTS) \
22031 for flag in $(EXTRA_HOST_FLAGS) ; do \
22032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22033 done; \
22034 echo "Doing clean in libelf" ; \
22035 (cd $(HOST_SUBDIR)/libelf && \
22036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22038 "RANLIB=$${RANLIB}" \
22039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22040 clean) \
22041 || exit 1
22043 @endif libelf
22045 .PHONY: maybe-distclean-libelf distclean-libelf
22046 maybe-distclean-libelf:
22047 @if libelf
22048 maybe-distclean-libelf: distclean-libelf
22050 distclean-libelf:
22051 @[ -f ./libelf/Makefile ] || exit 0; \
22052 r=`${PWD_COMMAND}`; export r; \
22053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22054 $(HOST_EXPORTS) \
22055 for flag in $(EXTRA_HOST_FLAGS) ; do \
22056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22057 done; \
22058 echo "Doing distclean in libelf" ; \
22059 (cd $(HOST_SUBDIR)/libelf && \
22060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22062 "RANLIB=$${RANLIB}" \
22063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22064 distclean) \
22065 || exit 1
22067 @endif libelf
22069 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
22070 maybe-maintainer-clean-libelf:
22071 @if libelf
22072 maybe-maintainer-clean-libelf: maintainer-clean-libelf
22074 maintainer-clean-libelf:
22075 @[ -f ./libelf/Makefile ] || exit 0; \
22076 r=`${PWD_COMMAND}`; export r; \
22077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22078 $(HOST_EXPORTS) \
22079 for flag in $(EXTRA_HOST_FLAGS) ; do \
22080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22081 done; \
22082 echo "Doing maintainer-clean in libelf" ; \
22083 (cd $(HOST_SUBDIR)/libelf && \
22084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22086 "RANLIB=$${RANLIB}" \
22087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22088 maintainer-clean) \
22089 || exit 1
22091 @endif libelf
22095 .PHONY: configure-gnuserv maybe-configure-gnuserv
22096 maybe-configure-gnuserv:
22097 @if gcc-bootstrap
22098 configure-gnuserv: stage_current
22099 @endif gcc-bootstrap
22100 @if gnuserv
22101 maybe-configure-gnuserv: configure-gnuserv
22102 configure-gnuserv:
22103 @: $(MAKE); $(unstage)
22104 @r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
22107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
22108 $(HOST_EXPORTS) \
22109 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
22110 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
22111 case $(srcdir) in \
22112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22113 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
22114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22115 esac; \
22116 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
22117 libsrcdir="$$s/gnuserv"; \
22118 $(SHELL) $${libsrcdir}/configure \
22119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22120 --target=${target_alias} $${srcdiroption} \
22121 || exit 1
22122 @endif gnuserv
22128 .PHONY: all-gnuserv maybe-all-gnuserv
22129 maybe-all-gnuserv:
22130 @if gcc-bootstrap
22131 all-gnuserv: stage_current
22132 @endif gcc-bootstrap
22133 @if gnuserv
22134 TARGET-gnuserv=all
22135 maybe-all-gnuserv: all-gnuserv
22136 all-gnuserv: configure-gnuserv
22137 @: $(MAKE); $(unstage)
22138 @r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(HOST_EXPORTS) \
22141 (cd $(HOST_SUBDIR)/gnuserv && \
22142 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22143 $(TARGET-gnuserv))
22144 @endif gnuserv
22149 .PHONY: check-gnuserv maybe-check-gnuserv
22150 maybe-check-gnuserv:
22151 @if gnuserv
22152 maybe-check-gnuserv: check-gnuserv
22154 check-gnuserv:
22155 @: $(MAKE); $(unstage)
22156 @r=`${PWD_COMMAND}`; export r; \
22157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22158 $(HOST_EXPORTS) \
22159 (cd $(HOST_SUBDIR)/gnuserv && \
22160 $(MAKE) $(FLAGS_TO_PASS) check)
22162 @endif gnuserv
22164 .PHONY: install-gnuserv maybe-install-gnuserv
22165 maybe-install-gnuserv:
22166 @if gnuserv
22167 maybe-install-gnuserv: install-gnuserv
22169 install-gnuserv: installdirs
22170 @: $(MAKE); $(unstage)
22171 @r=`${PWD_COMMAND}`; export r; \
22172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22173 $(HOST_EXPORTS) \
22174 (cd $(HOST_SUBDIR)/gnuserv && \
22175 $(MAKE) $(FLAGS_TO_PASS) install)
22177 @endif gnuserv
22179 .PHONY: install-strip-gnuserv maybe-install-strip-gnuserv
22180 maybe-install-strip-gnuserv:
22181 @if gnuserv
22182 maybe-install-strip-gnuserv: install-strip-gnuserv
22184 install-strip-gnuserv: installdirs
22185 @: $(MAKE); $(unstage)
22186 @r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 $(HOST_EXPORTS) \
22189 (cd $(HOST_SUBDIR)/gnuserv && \
22190 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22192 @endif gnuserv
22194 # Other targets (info, dvi, pdf, etc.)
22196 .PHONY: maybe-info-gnuserv info-gnuserv
22197 maybe-info-gnuserv:
22198 @if gnuserv
22199 maybe-info-gnuserv: info-gnuserv
22201 info-gnuserv: \
22202 configure-gnuserv
22203 @: $(MAKE); $(unstage)
22204 @[ -f ./gnuserv/Makefile ] || exit 0; \
22205 r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 $(HOST_EXPORTS) \
22208 for flag in $(EXTRA_HOST_FLAGS) ; do \
22209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22210 done; \
22211 echo "Doing info in gnuserv" ; \
22212 (cd $(HOST_SUBDIR)/gnuserv && \
22213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22215 "RANLIB=$${RANLIB}" \
22216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22217 info) \
22218 || exit 1
22220 @endif gnuserv
22222 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
22223 maybe-dvi-gnuserv:
22224 @if gnuserv
22225 maybe-dvi-gnuserv: dvi-gnuserv
22227 dvi-gnuserv: \
22228 configure-gnuserv
22229 @: $(MAKE); $(unstage)
22230 @[ -f ./gnuserv/Makefile ] || exit 0; \
22231 r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 for flag in $(EXTRA_HOST_FLAGS) ; do \
22235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22236 done; \
22237 echo "Doing dvi in gnuserv" ; \
22238 (cd $(HOST_SUBDIR)/gnuserv && \
22239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22241 "RANLIB=$${RANLIB}" \
22242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22243 dvi) \
22244 || exit 1
22246 @endif gnuserv
22248 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
22249 maybe-pdf-gnuserv:
22250 @if gnuserv
22251 maybe-pdf-gnuserv: pdf-gnuserv
22253 pdf-gnuserv: \
22254 configure-gnuserv
22255 @: $(MAKE); $(unstage)
22256 @[ -f ./gnuserv/Makefile ] || exit 0; \
22257 r=`${PWD_COMMAND}`; export r; \
22258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22259 $(HOST_EXPORTS) \
22260 for flag in $(EXTRA_HOST_FLAGS) ; do \
22261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22262 done; \
22263 echo "Doing pdf in gnuserv" ; \
22264 (cd $(HOST_SUBDIR)/gnuserv && \
22265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22267 "RANLIB=$${RANLIB}" \
22268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22269 pdf) \
22270 || exit 1
22272 @endif gnuserv
22274 .PHONY: maybe-html-gnuserv html-gnuserv
22275 maybe-html-gnuserv:
22276 @if gnuserv
22277 maybe-html-gnuserv: html-gnuserv
22279 html-gnuserv: \
22280 configure-gnuserv
22281 @: $(MAKE); $(unstage)
22282 @[ -f ./gnuserv/Makefile ] || exit 0; \
22283 r=`${PWD_COMMAND}`; export r; \
22284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 $(HOST_EXPORTS) \
22286 for flag in $(EXTRA_HOST_FLAGS) ; do \
22287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22288 done; \
22289 echo "Doing html in gnuserv" ; \
22290 (cd $(HOST_SUBDIR)/gnuserv && \
22291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22293 "RANLIB=$${RANLIB}" \
22294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22295 html) \
22296 || exit 1
22298 @endif gnuserv
22300 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
22301 maybe-TAGS-gnuserv:
22302 @if gnuserv
22303 maybe-TAGS-gnuserv: TAGS-gnuserv
22305 TAGS-gnuserv: \
22306 configure-gnuserv
22307 @: $(MAKE); $(unstage)
22308 @[ -f ./gnuserv/Makefile ] || exit 0; \
22309 r=`${PWD_COMMAND}`; export r; \
22310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22311 $(HOST_EXPORTS) \
22312 for flag in $(EXTRA_HOST_FLAGS) ; do \
22313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22314 done; \
22315 echo "Doing TAGS in gnuserv" ; \
22316 (cd $(HOST_SUBDIR)/gnuserv && \
22317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22319 "RANLIB=$${RANLIB}" \
22320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22321 TAGS) \
22322 || exit 1
22324 @endif gnuserv
22326 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
22327 maybe-install-info-gnuserv:
22328 @if gnuserv
22329 maybe-install-info-gnuserv: install-info-gnuserv
22331 install-info-gnuserv: \
22332 configure-gnuserv \
22333 info-gnuserv
22334 @: $(MAKE); $(unstage)
22335 @[ -f ./gnuserv/Makefile ] || exit 0; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22338 $(HOST_EXPORTS) \
22339 for flag in $(EXTRA_HOST_FLAGS) ; do \
22340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22341 done; \
22342 echo "Doing install-info in gnuserv" ; \
22343 (cd $(HOST_SUBDIR)/gnuserv && \
22344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22346 "RANLIB=$${RANLIB}" \
22347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22348 install-info) \
22349 || exit 1
22351 @endif gnuserv
22353 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
22354 maybe-install-pdf-gnuserv:
22355 @if gnuserv
22356 maybe-install-pdf-gnuserv: install-pdf-gnuserv
22358 install-pdf-gnuserv: \
22359 configure-gnuserv \
22360 pdf-gnuserv
22361 @: $(MAKE); $(unstage)
22362 @[ -f ./gnuserv/Makefile ] || exit 0; \
22363 r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22365 $(HOST_EXPORTS) \
22366 for flag in $(EXTRA_HOST_FLAGS) ; do \
22367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22368 done; \
22369 echo "Doing install-pdf in gnuserv" ; \
22370 (cd $(HOST_SUBDIR)/gnuserv && \
22371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22373 "RANLIB=$${RANLIB}" \
22374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22375 install-pdf) \
22376 || exit 1
22378 @endif gnuserv
22380 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
22381 maybe-install-html-gnuserv:
22382 @if gnuserv
22383 maybe-install-html-gnuserv: install-html-gnuserv
22385 install-html-gnuserv: \
22386 configure-gnuserv \
22387 html-gnuserv
22388 @: $(MAKE); $(unstage)
22389 @[ -f ./gnuserv/Makefile ] || exit 0; \
22390 r=`${PWD_COMMAND}`; export r; \
22391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22392 $(HOST_EXPORTS) \
22393 for flag in $(EXTRA_HOST_FLAGS) ; do \
22394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22395 done; \
22396 echo "Doing install-html in gnuserv" ; \
22397 (cd $(HOST_SUBDIR)/gnuserv && \
22398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22400 "RANLIB=$${RANLIB}" \
22401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22402 install-html) \
22403 || exit 1
22405 @endif gnuserv
22407 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
22408 maybe-installcheck-gnuserv:
22409 @if gnuserv
22410 maybe-installcheck-gnuserv: installcheck-gnuserv
22412 installcheck-gnuserv: \
22413 configure-gnuserv
22414 @: $(MAKE); $(unstage)
22415 @[ -f ./gnuserv/Makefile ] || exit 0; \
22416 r=`${PWD_COMMAND}`; export r; \
22417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 $(HOST_EXPORTS) \
22419 for flag in $(EXTRA_HOST_FLAGS) ; do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 done; \
22422 echo "Doing installcheck in gnuserv" ; \
22423 (cd $(HOST_SUBDIR)/gnuserv && \
22424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22426 "RANLIB=$${RANLIB}" \
22427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22428 installcheck) \
22429 || exit 1
22431 @endif gnuserv
22433 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
22434 maybe-mostlyclean-gnuserv:
22435 @if gnuserv
22436 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
22438 mostlyclean-gnuserv:
22439 @: $(MAKE); $(unstage)
22440 @[ -f ./gnuserv/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing mostlyclean in gnuserv" ; \
22448 (cd $(HOST_SUBDIR)/gnuserv && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22453 mostlyclean) \
22454 || exit 1
22456 @endif gnuserv
22458 .PHONY: maybe-clean-gnuserv clean-gnuserv
22459 maybe-clean-gnuserv:
22460 @if gnuserv
22461 maybe-clean-gnuserv: clean-gnuserv
22463 clean-gnuserv:
22464 @: $(MAKE); $(unstage)
22465 @[ -f ./gnuserv/Makefile ] || exit 0; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 $(HOST_EXPORTS) \
22469 for flag in $(EXTRA_HOST_FLAGS) ; do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 done; \
22472 echo "Doing clean in gnuserv" ; \
22473 (cd $(HOST_SUBDIR)/gnuserv && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22478 clean) \
22479 || exit 1
22481 @endif gnuserv
22483 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
22484 maybe-distclean-gnuserv:
22485 @if gnuserv
22486 maybe-distclean-gnuserv: distclean-gnuserv
22488 distclean-gnuserv:
22489 @: $(MAKE); $(unstage)
22490 @[ -f ./gnuserv/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing distclean in gnuserv" ; \
22498 (cd $(HOST_SUBDIR)/gnuserv && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22503 distclean) \
22504 || exit 1
22506 @endif gnuserv
22508 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
22509 maybe-maintainer-clean-gnuserv:
22510 @if gnuserv
22511 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
22513 maintainer-clean-gnuserv:
22514 @: $(MAKE); $(unstage)
22515 @[ -f ./gnuserv/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing maintainer-clean in gnuserv" ; \
22523 (cd $(HOST_SUBDIR)/gnuserv && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 maintainer-clean) \
22529 || exit 1
22531 @endif gnuserv
22535 .PHONY: configure-gold maybe-configure-gold
22536 maybe-configure-gold:
22537 @if gcc-bootstrap
22538 configure-gold: stage_current
22539 @endif gcc-bootstrap
22540 @if gold
22541 maybe-configure-gold: configure-gold
22542 configure-gold:
22543 @r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22547 $(HOST_EXPORTS) \
22548 echo Configuring in $(HOST_SUBDIR)/gold; \
22549 cd "$(HOST_SUBDIR)/gold" || exit 1; \
22550 case $(srcdir) in \
22551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22552 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22554 esac; \
22555 srcdiroption="--srcdir=$${topdir}/gold"; \
22556 libsrcdir="$$s/gold"; \
22557 $(SHELL) $${libsrcdir}/configure \
22558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22559 --target=${target_alias} $${srcdiroption} \
22560 || exit 1
22561 @endif gold
22565 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
22566 maybe-configure-stage1-gold:
22567 @if gold-bootstrap
22568 maybe-configure-stage1-gold: configure-stage1-gold
22569 configure-stage1-gold:
22570 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22572 @r=`${PWD_COMMAND}`; export r; \
22573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22574 TFLAGS="$(STAGE1_TFLAGS)"; \
22575 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22576 $(HOST_EXPORTS) \
22577 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22578 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22579 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22580 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
22581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22582 cd $(HOST_SUBDIR)/gold || exit 1; \
22583 case $(srcdir) in \
22584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22585 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22587 esac; \
22588 srcdiroption="--srcdir=$${topdir}/gold"; \
22589 libsrcdir="$$s/gold"; \
22590 $(SHELL) $${libsrcdir}/configure \
22591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22592 --target=${target_alias} $${srcdiroption} \
22593 $(STAGE1_CONFIGURE_FLAGS)
22594 @endif gold-bootstrap
22596 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
22597 maybe-configure-stage2-gold:
22598 @if gold-bootstrap
22599 maybe-configure-stage2-gold: configure-stage2-gold
22600 configure-stage2-gold:
22601 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22603 @r=`${PWD_COMMAND}`; export r; \
22604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22605 TFLAGS="$(STAGE2_TFLAGS)"; \
22606 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22607 $(HOST_EXPORTS) \
22608 $(POSTSTAGE1_HOST_EXPORTS) \
22609 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22610 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22611 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22612 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
22613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22614 cd $(HOST_SUBDIR)/gold || exit 1; \
22615 case $(srcdir) in \
22616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22617 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22619 esac; \
22620 srcdiroption="--srcdir=$${topdir}/gold"; \
22621 libsrcdir="$$s/gold"; \
22622 $(SHELL) $${libsrcdir}/configure \
22623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22624 --target=${target_alias} $${srcdiroption} \
22625 --with-build-libsubdir=$(HOST_SUBDIR) \
22626 $(STAGE2_CONFIGURE_FLAGS)
22627 @endif gold-bootstrap
22629 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
22630 maybe-configure-stage3-gold:
22631 @if gold-bootstrap
22632 maybe-configure-stage3-gold: configure-stage3-gold
22633 configure-stage3-gold:
22634 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22636 @r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 TFLAGS="$(STAGE3_TFLAGS)"; \
22639 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22640 $(HOST_EXPORTS) \
22641 $(POSTSTAGE1_HOST_EXPORTS) \
22642 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22643 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22644 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22645 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
22646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22647 cd $(HOST_SUBDIR)/gold || exit 1; \
22648 case $(srcdir) in \
22649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22650 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22652 esac; \
22653 srcdiroption="--srcdir=$${topdir}/gold"; \
22654 libsrcdir="$$s/gold"; \
22655 $(SHELL) $${libsrcdir}/configure \
22656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22657 --target=${target_alias} $${srcdiroption} \
22658 --with-build-libsubdir=$(HOST_SUBDIR) \
22659 $(STAGE3_CONFIGURE_FLAGS)
22660 @endif gold-bootstrap
22662 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
22663 maybe-configure-stage4-gold:
22664 @if gold-bootstrap
22665 maybe-configure-stage4-gold: configure-stage4-gold
22666 configure-stage4-gold:
22667 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22669 @r=`${PWD_COMMAND}`; export r; \
22670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22671 TFLAGS="$(STAGE4_TFLAGS)"; \
22672 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22673 $(HOST_EXPORTS) \
22674 $(POSTSTAGE1_HOST_EXPORTS) \
22675 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22676 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22677 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22678 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
22679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22680 cd $(HOST_SUBDIR)/gold || exit 1; \
22681 case $(srcdir) in \
22682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22683 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22685 esac; \
22686 srcdiroption="--srcdir=$${topdir}/gold"; \
22687 libsrcdir="$$s/gold"; \
22688 $(SHELL) $${libsrcdir}/configure \
22689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22690 --target=${target_alias} $${srcdiroption} \
22691 --with-build-libsubdir=$(HOST_SUBDIR) \
22692 $(STAGE4_CONFIGURE_FLAGS)
22693 @endif gold-bootstrap
22695 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
22696 maybe-configure-stageprofile-gold:
22697 @if gold-bootstrap
22698 maybe-configure-stageprofile-gold: configure-stageprofile-gold
22699 configure-stageprofile-gold:
22700 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22702 @r=`${PWD_COMMAND}`; export r; \
22703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22704 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22705 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22706 $(HOST_EXPORTS) \
22707 $(POSTSTAGE1_HOST_EXPORTS) \
22708 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22709 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22710 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22711 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
22712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22713 cd $(HOST_SUBDIR)/gold || exit 1; \
22714 case $(srcdir) in \
22715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22716 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22718 esac; \
22719 srcdiroption="--srcdir=$${topdir}/gold"; \
22720 libsrcdir="$$s/gold"; \
22721 $(SHELL) $${libsrcdir}/configure \
22722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22723 --target=${target_alias} $${srcdiroption} \
22724 --with-build-libsubdir=$(HOST_SUBDIR) \
22725 $(STAGEprofile_CONFIGURE_FLAGS)
22726 @endif gold-bootstrap
22728 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
22729 maybe-configure-stagefeedback-gold:
22730 @if gold-bootstrap
22731 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
22732 configure-stagefeedback-gold:
22733 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22735 @r=`${PWD_COMMAND}`; export r; \
22736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22737 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22738 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22739 $(HOST_EXPORTS) \
22740 $(POSTSTAGE1_HOST_EXPORTS) \
22741 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22742 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22743 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22744 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
22745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22746 cd $(HOST_SUBDIR)/gold || exit 1; \
22747 case $(srcdir) in \
22748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22749 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22751 esac; \
22752 srcdiroption="--srcdir=$${topdir}/gold"; \
22753 libsrcdir="$$s/gold"; \
22754 $(SHELL) $${libsrcdir}/configure \
22755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22756 --target=${target_alias} $${srcdiroption} \
22757 --with-build-libsubdir=$(HOST_SUBDIR) \
22758 $(STAGEfeedback_CONFIGURE_FLAGS)
22759 @endif gold-bootstrap
22765 .PHONY: all-gold maybe-all-gold
22766 maybe-all-gold:
22767 @if gcc-bootstrap
22768 all-gold: stage_current
22769 @endif gcc-bootstrap
22770 @if gold
22771 TARGET-gold=all
22772 maybe-all-gold: all-gold
22773 all-gold: configure-gold
22774 @r=`${PWD_COMMAND}`; export r; \
22775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22776 $(HOST_EXPORTS) \
22777 (cd $(HOST_SUBDIR)/gold && \
22778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22779 $(TARGET-gold))
22780 @endif gold
22784 .PHONY: all-stage1-gold maybe-all-stage1-gold
22785 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
22786 maybe-all-stage1-gold:
22787 maybe-clean-stage1-gold:
22788 @if gold-bootstrap
22789 maybe-all-stage1-gold: all-stage1-gold
22790 all-stage1: all-stage1-gold
22791 TARGET-stage1-gold = $(TARGET-gold)
22792 all-stage1-gold: configure-stage1-gold
22793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22794 @r=`${PWD_COMMAND}`; export r; \
22795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22796 TFLAGS="$(STAGE1_TFLAGS)"; \
22797 $(HOST_EXPORTS) \
22798 cd $(HOST_SUBDIR)/gold && \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22800 CFLAGS="$(STAGE1_CFLAGS)" \
22801 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22802 LIBCFLAGS="$(LIBCFLAGS)" \
22803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22806 $(EXTRA_HOST_FLAGS) \
22807 TFLAGS="$(STAGE1_TFLAGS)" \
22808 $(TARGET-stage1-gold)
22810 maybe-clean-stage1-gold: clean-stage1-gold
22811 clean-stage1: clean-stage1-gold
22812 clean-stage1-gold:
22813 @if [ $(current_stage) = stage1 ]; then \
22814 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22815 else \
22816 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
22817 $(MAKE) stage1-start; \
22818 fi; \
22819 cd $(HOST_SUBDIR)/gold && \
22820 $(MAKE) $(EXTRA_HOST_FLAGS) \
22821 clean
22822 @endif gold-bootstrap
22825 .PHONY: all-stage2-gold maybe-all-stage2-gold
22826 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
22827 maybe-all-stage2-gold:
22828 maybe-clean-stage2-gold:
22829 @if gold-bootstrap
22830 maybe-all-stage2-gold: all-stage2-gold
22831 all-stage2: all-stage2-gold
22832 TARGET-stage2-gold = $(TARGET-gold)
22833 all-stage2-gold: configure-stage2-gold
22834 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22835 @r=`${PWD_COMMAND}`; export r; \
22836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22837 TFLAGS="$(STAGE2_TFLAGS)"; \
22838 $(HOST_EXPORTS) \
22839 $(POSTSTAGE1_HOST_EXPORTS) \
22840 cd $(HOST_SUBDIR)/gold && \
22841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22842 CFLAGS="$(STAGE2_CFLAGS)" \
22843 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22844 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22849 TFLAGS="$(STAGE2_TFLAGS)" \
22850 $(TARGET-stage2-gold)
22852 maybe-clean-stage2-gold: clean-stage2-gold
22853 clean-stage2: clean-stage2-gold
22854 clean-stage2-gold:
22855 @if [ $(current_stage) = stage2 ]; then \
22856 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22857 else \
22858 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
22859 $(MAKE) stage2-start; \
22860 fi; \
22861 cd $(HOST_SUBDIR)/gold && \
22862 $(MAKE) $(EXTRA_HOST_FLAGS) \
22863 $(POSTSTAGE1_FLAGS_TO_PASS) \
22864 clean
22865 @endif gold-bootstrap
22868 .PHONY: all-stage3-gold maybe-all-stage3-gold
22869 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
22870 maybe-all-stage3-gold:
22871 maybe-clean-stage3-gold:
22872 @if gold-bootstrap
22873 maybe-all-stage3-gold: all-stage3-gold
22874 all-stage3: all-stage3-gold
22875 TARGET-stage3-gold = $(TARGET-gold)
22876 all-stage3-gold: configure-stage3-gold
22877 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22878 @r=`${PWD_COMMAND}`; export r; \
22879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22880 TFLAGS="$(STAGE3_TFLAGS)"; \
22881 $(HOST_EXPORTS) \
22882 $(POSTSTAGE1_HOST_EXPORTS) \
22883 cd $(HOST_SUBDIR)/gold && \
22884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22885 CFLAGS="$(STAGE3_CFLAGS)" \
22886 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22887 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22891 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22892 TFLAGS="$(STAGE3_TFLAGS)" \
22893 $(TARGET-stage3-gold)
22895 maybe-clean-stage3-gold: clean-stage3-gold
22896 clean-stage3: clean-stage3-gold
22897 clean-stage3-gold:
22898 @if [ $(current_stage) = stage3 ]; then \
22899 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22900 else \
22901 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
22902 $(MAKE) stage3-start; \
22903 fi; \
22904 cd $(HOST_SUBDIR)/gold && \
22905 $(MAKE) $(EXTRA_HOST_FLAGS) \
22906 $(POSTSTAGE1_FLAGS_TO_PASS) \
22907 clean
22908 @endif gold-bootstrap
22911 .PHONY: all-stage4-gold maybe-all-stage4-gold
22912 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
22913 maybe-all-stage4-gold:
22914 maybe-clean-stage4-gold:
22915 @if gold-bootstrap
22916 maybe-all-stage4-gold: all-stage4-gold
22917 all-stage4: all-stage4-gold
22918 TARGET-stage4-gold = $(TARGET-gold)
22919 all-stage4-gold: configure-stage4-gold
22920 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22921 @r=`${PWD_COMMAND}`; export r; \
22922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 TFLAGS="$(STAGE4_TFLAGS)"; \
22924 $(HOST_EXPORTS) \
22925 $(POSTSTAGE1_HOST_EXPORTS) \
22926 cd $(HOST_SUBDIR)/gold && \
22927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22928 CFLAGS="$(STAGE4_CFLAGS)" \
22929 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22930 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22935 TFLAGS="$(STAGE4_TFLAGS)" \
22936 $(TARGET-stage4-gold)
22938 maybe-clean-stage4-gold: clean-stage4-gold
22939 clean-stage4: clean-stage4-gold
22940 clean-stage4-gold:
22941 @if [ $(current_stage) = stage4 ]; then \
22942 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22943 else \
22944 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
22945 $(MAKE) stage4-start; \
22946 fi; \
22947 cd $(HOST_SUBDIR)/gold && \
22948 $(MAKE) $(EXTRA_HOST_FLAGS) \
22949 $(POSTSTAGE1_FLAGS_TO_PASS) \
22950 clean
22951 @endif gold-bootstrap
22954 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
22955 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
22956 maybe-all-stageprofile-gold:
22957 maybe-clean-stageprofile-gold:
22958 @if gold-bootstrap
22959 maybe-all-stageprofile-gold: all-stageprofile-gold
22960 all-stageprofile: all-stageprofile-gold
22961 TARGET-stageprofile-gold = $(TARGET-gold)
22962 all-stageprofile-gold: configure-stageprofile-gold
22963 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22964 @r=`${PWD_COMMAND}`; export r; \
22965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22966 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22967 $(HOST_EXPORTS) \
22968 $(POSTSTAGE1_HOST_EXPORTS) \
22969 cd $(HOST_SUBDIR)/gold && \
22970 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22971 CFLAGS="$(STAGEprofile_CFLAGS)" \
22972 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22973 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22974 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22975 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22976 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22977 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22978 TFLAGS="$(STAGEprofile_TFLAGS)" \
22979 $(TARGET-stageprofile-gold)
22981 maybe-clean-stageprofile-gold: clean-stageprofile-gold
22982 clean-stageprofile: clean-stageprofile-gold
22983 clean-stageprofile-gold:
22984 @if [ $(current_stage) = stageprofile ]; then \
22985 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22986 else \
22987 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
22988 $(MAKE) stageprofile-start; \
22989 fi; \
22990 cd $(HOST_SUBDIR)/gold && \
22991 $(MAKE) $(EXTRA_HOST_FLAGS) \
22992 $(POSTSTAGE1_FLAGS_TO_PASS) \
22993 clean
22994 @endif gold-bootstrap
22997 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
22998 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
22999 maybe-all-stagefeedback-gold:
23000 maybe-clean-stagefeedback-gold:
23001 @if gold-bootstrap
23002 maybe-all-stagefeedback-gold: all-stagefeedback-gold
23003 all-stagefeedback: all-stagefeedback-gold
23004 TARGET-stagefeedback-gold = $(TARGET-gold)
23005 all-stagefeedback-gold: configure-stagefeedback-gold
23006 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23007 @r=`${PWD_COMMAND}`; export r; \
23008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23009 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23010 $(HOST_EXPORTS) \
23011 $(POSTSTAGE1_HOST_EXPORTS) \
23012 cd $(HOST_SUBDIR)/gold && \
23013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23014 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23015 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23016 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23021 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23022 $(TARGET-stagefeedback-gold)
23024 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
23025 clean-stagefeedback: clean-stagefeedback-gold
23026 clean-stagefeedback-gold:
23027 @if [ $(current_stage) = stagefeedback ]; then \
23028 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
23029 else \
23030 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
23031 $(MAKE) stagefeedback-start; \
23032 fi; \
23033 cd $(HOST_SUBDIR)/gold && \
23034 $(MAKE) $(EXTRA_HOST_FLAGS) \
23035 $(POSTSTAGE1_FLAGS_TO_PASS) \
23036 clean
23037 @endif gold-bootstrap
23043 .PHONY: check-gold maybe-check-gold
23044 maybe-check-gold:
23045 @if gold
23046 maybe-check-gold: check-gold
23048 check-gold:
23049 @: $(MAKE); $(unstage)
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(HOST_EXPORTS) \
23053 (cd $(HOST_SUBDIR)/gold && \
23054 $(MAKE) $(FLAGS_TO_PASS) check)
23056 @endif gold
23058 .PHONY: install-gold maybe-install-gold
23059 maybe-install-gold:
23060 @if gold
23061 maybe-install-gold: install-gold
23063 install-gold: installdirs
23064 @: $(MAKE); $(unstage)
23065 @r=`${PWD_COMMAND}`; export r; \
23066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23067 $(HOST_EXPORTS) \
23068 (cd $(HOST_SUBDIR)/gold && \
23069 $(MAKE) $(FLAGS_TO_PASS) install)
23071 @endif gold
23073 .PHONY: install-strip-gold maybe-install-strip-gold
23074 maybe-install-strip-gold:
23075 @if gold
23076 maybe-install-strip-gold: install-strip-gold
23078 install-strip-gold: installdirs
23079 @: $(MAKE); $(unstage)
23080 @r=`${PWD_COMMAND}`; export r; \
23081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23082 $(HOST_EXPORTS) \
23083 (cd $(HOST_SUBDIR)/gold && \
23084 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23086 @endif gold
23088 # Other targets (info, dvi, pdf, etc.)
23090 .PHONY: maybe-info-gold info-gold
23091 maybe-info-gold:
23092 @if gold
23093 maybe-info-gold: info-gold
23095 info-gold: \
23096 configure-gold
23097 @[ -f ./gold/Makefile ] || exit 0; \
23098 r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 for flag in $(EXTRA_HOST_FLAGS) ; do \
23102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23103 done; \
23104 echo "Doing info in gold" ; \
23105 (cd $(HOST_SUBDIR)/gold && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23108 "RANLIB=$${RANLIB}" \
23109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23110 info) \
23111 || exit 1
23113 @endif gold
23115 .PHONY: maybe-dvi-gold dvi-gold
23116 maybe-dvi-gold:
23117 @if gold
23118 maybe-dvi-gold: dvi-gold
23120 dvi-gold: \
23121 configure-gold
23122 @[ -f ./gold/Makefile ] || exit 0; \
23123 r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 $(HOST_EXPORTS) \
23126 for flag in $(EXTRA_HOST_FLAGS) ; do \
23127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23128 done; \
23129 echo "Doing dvi in gold" ; \
23130 (cd $(HOST_SUBDIR)/gold && \
23131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23133 "RANLIB=$${RANLIB}" \
23134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23135 dvi) \
23136 || exit 1
23138 @endif gold
23140 .PHONY: maybe-pdf-gold pdf-gold
23141 maybe-pdf-gold:
23142 @if gold
23143 maybe-pdf-gold: pdf-gold
23145 pdf-gold: \
23146 configure-gold
23147 @[ -f ./gold/Makefile ] || exit 0; \
23148 r=`${PWD_COMMAND}`; export r; \
23149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 $(HOST_EXPORTS) \
23151 for flag in $(EXTRA_HOST_FLAGS) ; do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 done; \
23154 echo "Doing pdf in gold" ; \
23155 (cd $(HOST_SUBDIR)/gold && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23160 pdf) \
23161 || exit 1
23163 @endif gold
23165 .PHONY: maybe-html-gold html-gold
23166 maybe-html-gold:
23167 @if gold
23168 maybe-html-gold: html-gold
23170 html-gold: \
23171 configure-gold
23172 @[ -f ./gold/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(HOST_EXPORTS) \
23176 for flag in $(EXTRA_HOST_FLAGS) ; do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 echo "Doing html in gold" ; \
23180 (cd $(HOST_SUBDIR)/gold && \
23181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23183 "RANLIB=$${RANLIB}" \
23184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23185 html) \
23186 || exit 1
23188 @endif gold
23190 .PHONY: maybe-TAGS-gold TAGS-gold
23191 maybe-TAGS-gold:
23192 @if gold
23193 maybe-TAGS-gold: TAGS-gold
23195 TAGS-gold: \
23196 configure-gold
23197 @[ -f ./gold/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(HOST_EXPORTS) \
23201 for flag in $(EXTRA_HOST_FLAGS) ; do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 echo "Doing TAGS in gold" ; \
23205 (cd $(HOST_SUBDIR)/gold && \
23206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208 "RANLIB=$${RANLIB}" \
23209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23210 TAGS) \
23211 || exit 1
23213 @endif gold
23215 .PHONY: maybe-install-info-gold install-info-gold
23216 maybe-install-info-gold:
23217 @if gold
23218 maybe-install-info-gold: install-info-gold
23220 install-info-gold: \
23221 configure-gold \
23222 info-gold
23223 @[ -f ./gold/Makefile ] || exit 0; \
23224 r=`${PWD_COMMAND}`; export r; \
23225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23226 $(HOST_EXPORTS) \
23227 for flag in $(EXTRA_HOST_FLAGS) ; do \
23228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23229 done; \
23230 echo "Doing install-info in gold" ; \
23231 (cd $(HOST_SUBDIR)/gold && \
23232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23234 "RANLIB=$${RANLIB}" \
23235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23236 install-info) \
23237 || exit 1
23239 @endif gold
23241 .PHONY: maybe-install-pdf-gold install-pdf-gold
23242 maybe-install-pdf-gold:
23243 @if gold
23244 maybe-install-pdf-gold: install-pdf-gold
23246 install-pdf-gold: \
23247 configure-gold \
23248 pdf-gold
23249 @[ -f ./gold/Makefile ] || exit 0; \
23250 r=`${PWD_COMMAND}`; export r; \
23251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23252 $(HOST_EXPORTS) \
23253 for flag in $(EXTRA_HOST_FLAGS) ; do \
23254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23255 done; \
23256 echo "Doing install-pdf in gold" ; \
23257 (cd $(HOST_SUBDIR)/gold && \
23258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23260 "RANLIB=$${RANLIB}" \
23261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23262 install-pdf) \
23263 || exit 1
23265 @endif gold
23267 .PHONY: maybe-install-html-gold install-html-gold
23268 maybe-install-html-gold:
23269 @if gold
23270 maybe-install-html-gold: install-html-gold
23272 install-html-gold: \
23273 configure-gold \
23274 html-gold
23275 @[ -f ./gold/Makefile ] || exit 0; \
23276 r=`${PWD_COMMAND}`; export r; \
23277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 $(HOST_EXPORTS) \
23279 for flag in $(EXTRA_HOST_FLAGS) ; do \
23280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23281 done; \
23282 echo "Doing install-html in gold" ; \
23283 (cd $(HOST_SUBDIR)/gold && \
23284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23286 "RANLIB=$${RANLIB}" \
23287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23288 install-html) \
23289 || exit 1
23291 @endif gold
23293 .PHONY: maybe-installcheck-gold installcheck-gold
23294 maybe-installcheck-gold:
23295 @if gold
23296 maybe-installcheck-gold: installcheck-gold
23298 installcheck-gold: \
23299 configure-gold
23300 @[ -f ./gold/Makefile ] || exit 0; \
23301 r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 $(HOST_EXPORTS) \
23304 for flag in $(EXTRA_HOST_FLAGS) ; do \
23305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23306 done; \
23307 echo "Doing installcheck in gold" ; \
23308 (cd $(HOST_SUBDIR)/gold && \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23311 "RANLIB=$${RANLIB}" \
23312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23313 installcheck) \
23314 || exit 1
23316 @endif gold
23318 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
23319 maybe-mostlyclean-gold:
23320 @if gold
23321 maybe-mostlyclean-gold: mostlyclean-gold
23323 mostlyclean-gold:
23324 @[ -f ./gold/Makefile ] || exit 0; \
23325 r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23327 $(HOST_EXPORTS) \
23328 for flag in $(EXTRA_HOST_FLAGS) ; do \
23329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23330 done; \
23331 echo "Doing mostlyclean in gold" ; \
23332 (cd $(HOST_SUBDIR)/gold && \
23333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23335 "RANLIB=$${RANLIB}" \
23336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23337 mostlyclean) \
23338 || exit 1
23340 @endif gold
23342 .PHONY: maybe-clean-gold clean-gold
23343 maybe-clean-gold:
23344 @if gold
23345 maybe-clean-gold: clean-gold
23347 clean-gold:
23348 @[ -f ./gold/Makefile ] || exit 0; \
23349 r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23351 $(HOST_EXPORTS) \
23352 for flag in $(EXTRA_HOST_FLAGS) ; do \
23353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23354 done; \
23355 echo "Doing clean in gold" ; \
23356 (cd $(HOST_SUBDIR)/gold && \
23357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23359 "RANLIB=$${RANLIB}" \
23360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23361 clean) \
23362 || exit 1
23364 @endif gold
23366 .PHONY: maybe-distclean-gold distclean-gold
23367 maybe-distclean-gold:
23368 @if gold
23369 maybe-distclean-gold: distclean-gold
23371 distclean-gold:
23372 @[ -f ./gold/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing distclean in gold" ; \
23380 (cd $(HOST_SUBDIR)/gold && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23385 distclean) \
23386 || exit 1
23388 @endif gold
23390 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
23391 maybe-maintainer-clean-gold:
23392 @if gold
23393 maybe-maintainer-clean-gold: maintainer-clean-gold
23395 maintainer-clean-gold:
23396 @[ -f ./gold/Makefile ] || exit 0; \
23397 r=`${PWD_COMMAND}`; export r; \
23398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23399 $(HOST_EXPORTS) \
23400 for flag in $(EXTRA_HOST_FLAGS) ; do \
23401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23402 done; \
23403 echo "Doing maintainer-clean in gold" ; \
23404 (cd $(HOST_SUBDIR)/gold && \
23405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23407 "RANLIB=$${RANLIB}" \
23408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23409 maintainer-clean) \
23410 || exit 1
23412 @endif gold
23416 .PHONY: configure-gprof maybe-configure-gprof
23417 maybe-configure-gprof:
23418 @if gcc-bootstrap
23419 configure-gprof: stage_current
23420 @endif gcc-bootstrap
23421 @if gprof
23422 maybe-configure-gprof: configure-gprof
23423 configure-gprof:
23424 @: $(MAKE); $(unstage)
23425 @r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
23428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
23429 $(HOST_EXPORTS) \
23430 echo Configuring in $(HOST_SUBDIR)/gprof; \
23431 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
23432 case $(srcdir) in \
23433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23434 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
23435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23436 esac; \
23437 srcdiroption="--srcdir=$${topdir}/gprof"; \
23438 libsrcdir="$$s/gprof"; \
23439 $(SHELL) $${libsrcdir}/configure \
23440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23441 --target=${target_alias} $${srcdiroption} \
23442 || exit 1
23443 @endif gprof
23449 .PHONY: all-gprof maybe-all-gprof
23450 maybe-all-gprof:
23451 @if gcc-bootstrap
23452 all-gprof: stage_current
23453 @endif gcc-bootstrap
23454 @if gprof
23455 TARGET-gprof=all
23456 maybe-all-gprof: all-gprof
23457 all-gprof: configure-gprof
23458 @: $(MAKE); $(unstage)
23459 @r=`${PWD_COMMAND}`; export r; \
23460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23461 $(HOST_EXPORTS) \
23462 (cd $(HOST_SUBDIR)/gprof && \
23463 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23464 $(TARGET-gprof))
23465 @endif gprof
23470 .PHONY: check-gprof maybe-check-gprof
23471 maybe-check-gprof:
23472 @if gprof
23473 maybe-check-gprof: check-gprof
23475 check-gprof:
23476 @: $(MAKE); $(unstage)
23477 @r=`${PWD_COMMAND}`; export r; \
23478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23479 $(HOST_EXPORTS) \
23480 (cd $(HOST_SUBDIR)/gprof && \
23481 $(MAKE) $(FLAGS_TO_PASS) check)
23483 @endif gprof
23485 .PHONY: install-gprof maybe-install-gprof
23486 maybe-install-gprof:
23487 @if gprof
23488 maybe-install-gprof: install-gprof
23490 install-gprof: installdirs
23491 @: $(MAKE); $(unstage)
23492 @r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 $(HOST_EXPORTS) \
23495 (cd $(HOST_SUBDIR)/gprof && \
23496 $(MAKE) $(FLAGS_TO_PASS) install)
23498 @endif gprof
23500 .PHONY: install-strip-gprof maybe-install-strip-gprof
23501 maybe-install-strip-gprof:
23502 @if gprof
23503 maybe-install-strip-gprof: install-strip-gprof
23505 install-strip-gprof: installdirs
23506 @: $(MAKE); $(unstage)
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(HOST_EXPORTS) \
23510 (cd $(HOST_SUBDIR)/gprof && \
23511 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23513 @endif gprof
23515 # Other targets (info, dvi, pdf, etc.)
23517 .PHONY: maybe-info-gprof info-gprof
23518 maybe-info-gprof:
23519 @if gprof
23520 maybe-info-gprof: info-gprof
23522 info-gprof: \
23523 configure-gprof
23524 @: $(MAKE); $(unstage)
23525 @[ -f ./gprof/Makefile ] || exit 0; \
23526 r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 $(HOST_EXPORTS) \
23529 for flag in $(EXTRA_HOST_FLAGS) ; do \
23530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23531 done; \
23532 echo "Doing info in gprof" ; \
23533 (cd $(HOST_SUBDIR)/gprof && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23536 "RANLIB=$${RANLIB}" \
23537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23538 info) \
23539 || exit 1
23541 @endif gprof
23543 .PHONY: maybe-dvi-gprof dvi-gprof
23544 maybe-dvi-gprof:
23545 @if gprof
23546 maybe-dvi-gprof: dvi-gprof
23548 dvi-gprof: \
23549 configure-gprof
23550 @: $(MAKE); $(unstage)
23551 @[ -f ./gprof/Makefile ] || exit 0; \
23552 r=`${PWD_COMMAND}`; export r; \
23553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(HOST_EXPORTS) \
23555 for flag in $(EXTRA_HOST_FLAGS) ; do \
23556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23557 done; \
23558 echo "Doing dvi in gprof" ; \
23559 (cd $(HOST_SUBDIR)/gprof && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23564 dvi) \
23565 || exit 1
23567 @endif gprof
23569 .PHONY: maybe-pdf-gprof pdf-gprof
23570 maybe-pdf-gprof:
23571 @if gprof
23572 maybe-pdf-gprof: pdf-gprof
23574 pdf-gprof: \
23575 configure-gprof
23576 @: $(MAKE); $(unstage)
23577 @[ -f ./gprof/Makefile ] || exit 0; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(HOST_EXPORTS) \
23581 for flag in $(EXTRA_HOST_FLAGS) ; do \
23582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23583 done; \
23584 echo "Doing pdf in gprof" ; \
23585 (cd $(HOST_SUBDIR)/gprof && \
23586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23588 "RANLIB=$${RANLIB}" \
23589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23590 pdf) \
23591 || exit 1
23593 @endif gprof
23595 .PHONY: maybe-html-gprof html-gprof
23596 maybe-html-gprof:
23597 @if gprof
23598 maybe-html-gprof: html-gprof
23600 html-gprof: \
23601 configure-gprof
23602 @: $(MAKE); $(unstage)
23603 @[ -f ./gprof/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23606 $(HOST_EXPORTS) \
23607 for flag in $(EXTRA_HOST_FLAGS) ; do \
23608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23609 done; \
23610 echo "Doing html in gprof" ; \
23611 (cd $(HOST_SUBDIR)/gprof && \
23612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23614 "RANLIB=$${RANLIB}" \
23615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23616 html) \
23617 || exit 1
23619 @endif gprof
23621 .PHONY: maybe-TAGS-gprof TAGS-gprof
23622 maybe-TAGS-gprof:
23623 @if gprof
23624 maybe-TAGS-gprof: TAGS-gprof
23626 TAGS-gprof: \
23627 configure-gprof
23628 @: $(MAKE); $(unstage)
23629 @[ -f ./gprof/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(HOST_EXPORTS) \
23633 for flag in $(EXTRA_HOST_FLAGS) ; do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23635 done; \
23636 echo "Doing TAGS in gprof" ; \
23637 (cd $(HOST_SUBDIR)/gprof && \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23642 TAGS) \
23643 || exit 1
23645 @endif gprof
23647 .PHONY: maybe-install-info-gprof install-info-gprof
23648 maybe-install-info-gprof:
23649 @if gprof
23650 maybe-install-info-gprof: install-info-gprof
23652 install-info-gprof: \
23653 configure-gprof \
23654 info-gprof
23655 @: $(MAKE); $(unstage)
23656 @[ -f ./gprof/Makefile ] || exit 0; \
23657 r=`${PWD_COMMAND}`; export r; \
23658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23659 $(HOST_EXPORTS) \
23660 for flag in $(EXTRA_HOST_FLAGS) ; do \
23661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23662 done; \
23663 echo "Doing install-info in gprof" ; \
23664 (cd $(HOST_SUBDIR)/gprof && \
23665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23667 "RANLIB=$${RANLIB}" \
23668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23669 install-info) \
23670 || exit 1
23672 @endif gprof
23674 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
23675 maybe-install-pdf-gprof:
23676 @if gprof
23677 maybe-install-pdf-gprof: install-pdf-gprof
23679 install-pdf-gprof: \
23680 configure-gprof \
23681 pdf-gprof
23682 @: $(MAKE); $(unstage)
23683 @[ -f ./gprof/Makefile ] || exit 0; \
23684 r=`${PWD_COMMAND}`; export r; \
23685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23686 $(HOST_EXPORTS) \
23687 for flag in $(EXTRA_HOST_FLAGS) ; do \
23688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23689 done; \
23690 echo "Doing install-pdf in gprof" ; \
23691 (cd $(HOST_SUBDIR)/gprof && \
23692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23694 "RANLIB=$${RANLIB}" \
23695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23696 install-pdf) \
23697 || exit 1
23699 @endif gprof
23701 .PHONY: maybe-install-html-gprof install-html-gprof
23702 maybe-install-html-gprof:
23703 @if gprof
23704 maybe-install-html-gprof: install-html-gprof
23706 install-html-gprof: \
23707 configure-gprof \
23708 html-gprof
23709 @: $(MAKE); $(unstage)
23710 @[ -f ./gprof/Makefile ] || exit 0; \
23711 r=`${PWD_COMMAND}`; export r; \
23712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23713 $(HOST_EXPORTS) \
23714 for flag in $(EXTRA_HOST_FLAGS) ; do \
23715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23716 done; \
23717 echo "Doing install-html in gprof" ; \
23718 (cd $(HOST_SUBDIR)/gprof && \
23719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23721 "RANLIB=$${RANLIB}" \
23722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23723 install-html) \
23724 || exit 1
23726 @endif gprof
23728 .PHONY: maybe-installcheck-gprof installcheck-gprof
23729 maybe-installcheck-gprof:
23730 @if gprof
23731 maybe-installcheck-gprof: installcheck-gprof
23733 installcheck-gprof: \
23734 configure-gprof
23735 @: $(MAKE); $(unstage)
23736 @[ -f ./gprof/Makefile ] || exit 0; \
23737 r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23739 $(HOST_EXPORTS) \
23740 for flag in $(EXTRA_HOST_FLAGS) ; do \
23741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23742 done; \
23743 echo "Doing installcheck in gprof" ; \
23744 (cd $(HOST_SUBDIR)/gprof && \
23745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23747 "RANLIB=$${RANLIB}" \
23748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23749 installcheck) \
23750 || exit 1
23752 @endif gprof
23754 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
23755 maybe-mostlyclean-gprof:
23756 @if gprof
23757 maybe-mostlyclean-gprof: mostlyclean-gprof
23759 mostlyclean-gprof:
23760 @: $(MAKE); $(unstage)
23761 @[ -f ./gprof/Makefile ] || exit 0; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(HOST_EXPORTS) \
23765 for flag in $(EXTRA_HOST_FLAGS) ; do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 echo "Doing mostlyclean in gprof" ; \
23769 (cd $(HOST_SUBDIR)/gprof && \
23770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23772 "RANLIB=$${RANLIB}" \
23773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23774 mostlyclean) \
23775 || exit 1
23777 @endif gprof
23779 .PHONY: maybe-clean-gprof clean-gprof
23780 maybe-clean-gprof:
23781 @if gprof
23782 maybe-clean-gprof: clean-gprof
23784 clean-gprof:
23785 @: $(MAKE); $(unstage)
23786 @[ -f ./gprof/Makefile ] || exit 0; \
23787 r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23789 $(HOST_EXPORTS) \
23790 for flag in $(EXTRA_HOST_FLAGS) ; do \
23791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23792 done; \
23793 echo "Doing clean in gprof" ; \
23794 (cd $(HOST_SUBDIR)/gprof && \
23795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23797 "RANLIB=$${RANLIB}" \
23798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23799 clean) \
23800 || exit 1
23802 @endif gprof
23804 .PHONY: maybe-distclean-gprof distclean-gprof
23805 maybe-distclean-gprof:
23806 @if gprof
23807 maybe-distclean-gprof: distclean-gprof
23809 distclean-gprof:
23810 @: $(MAKE); $(unstage)
23811 @[ -f ./gprof/Makefile ] || exit 0; \
23812 r=`${PWD_COMMAND}`; export r; \
23813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 $(HOST_EXPORTS) \
23815 for flag in $(EXTRA_HOST_FLAGS) ; do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 done; \
23818 echo "Doing distclean in gprof" ; \
23819 (cd $(HOST_SUBDIR)/gprof && \
23820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23822 "RANLIB=$${RANLIB}" \
23823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23824 distclean) \
23825 || exit 1
23827 @endif gprof
23829 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
23830 maybe-maintainer-clean-gprof:
23831 @if gprof
23832 maybe-maintainer-clean-gprof: maintainer-clean-gprof
23834 maintainer-clean-gprof:
23835 @: $(MAKE); $(unstage)
23836 @[ -f ./gprof/Makefile ] || exit 0; \
23837 r=`${PWD_COMMAND}`; export r; \
23838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 $(HOST_EXPORTS) \
23840 for flag in $(EXTRA_HOST_FLAGS) ; do \
23841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 done; \
23843 echo "Doing maintainer-clean in gprof" ; \
23844 (cd $(HOST_SUBDIR)/gprof && \
23845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23847 "RANLIB=$${RANLIB}" \
23848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23849 maintainer-clean) \
23850 || exit 1
23852 @endif gprof
23856 .PHONY: configure-gzip maybe-configure-gzip
23857 maybe-configure-gzip:
23858 @if gcc-bootstrap
23859 configure-gzip: stage_current
23860 @endif gcc-bootstrap
23861 @if gzip
23862 maybe-configure-gzip: configure-gzip
23863 configure-gzip:
23864 @: $(MAKE); $(unstage)
23865 @r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
23868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
23869 $(HOST_EXPORTS) \
23870 echo Configuring in $(HOST_SUBDIR)/gzip; \
23871 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
23872 case $(srcdir) in \
23873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23874 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
23875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23876 esac; \
23877 srcdiroption="--srcdir=$${topdir}/gzip"; \
23878 libsrcdir="$$s/gzip"; \
23879 $(SHELL) $${libsrcdir}/configure \
23880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23881 --target=${target_alias} $${srcdiroption} \
23882 || exit 1
23883 @endif gzip
23889 .PHONY: all-gzip maybe-all-gzip
23890 maybe-all-gzip:
23891 @if gcc-bootstrap
23892 all-gzip: stage_current
23893 @endif gcc-bootstrap
23894 @if gzip
23895 TARGET-gzip=all
23896 maybe-all-gzip: all-gzip
23897 all-gzip: configure-gzip
23898 @: $(MAKE); $(unstage)
23899 @r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(HOST_EXPORTS) \
23902 (cd $(HOST_SUBDIR)/gzip && \
23903 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23904 $(TARGET-gzip))
23905 @endif gzip
23910 .PHONY: check-gzip maybe-check-gzip
23911 maybe-check-gzip:
23912 @if gzip
23913 maybe-check-gzip: check-gzip
23915 check-gzip:
23916 @: $(MAKE); $(unstage)
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(HOST_EXPORTS) \
23920 (cd $(HOST_SUBDIR)/gzip && \
23921 $(MAKE) $(FLAGS_TO_PASS) check)
23923 @endif gzip
23925 .PHONY: install-gzip maybe-install-gzip
23926 maybe-install-gzip:
23927 @if gzip
23928 maybe-install-gzip: install-gzip
23930 install-gzip: installdirs
23931 @: $(MAKE); $(unstage)
23932 @r=`${PWD_COMMAND}`; export r; \
23933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23934 $(HOST_EXPORTS) \
23935 (cd $(HOST_SUBDIR)/gzip && \
23936 $(MAKE) $(FLAGS_TO_PASS) install)
23938 @endif gzip
23940 .PHONY: install-strip-gzip maybe-install-strip-gzip
23941 maybe-install-strip-gzip:
23942 @if gzip
23943 maybe-install-strip-gzip: install-strip-gzip
23945 install-strip-gzip: installdirs
23946 @: $(MAKE); $(unstage)
23947 @r=`${PWD_COMMAND}`; export r; \
23948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23949 $(HOST_EXPORTS) \
23950 (cd $(HOST_SUBDIR)/gzip && \
23951 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23953 @endif gzip
23955 # Other targets (info, dvi, pdf, etc.)
23957 .PHONY: maybe-info-gzip info-gzip
23958 maybe-info-gzip:
23959 @if gzip
23960 maybe-info-gzip: info-gzip
23962 info-gzip: \
23963 configure-gzip
23964 @: $(MAKE); $(unstage)
23965 @[ -f ./gzip/Makefile ] || exit 0; \
23966 r=`${PWD_COMMAND}`; export r; \
23967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23968 $(HOST_EXPORTS) \
23969 for flag in $(EXTRA_HOST_FLAGS) ; do \
23970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23971 done; \
23972 echo "Doing info in gzip" ; \
23973 (cd $(HOST_SUBDIR)/gzip && \
23974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23976 "RANLIB=$${RANLIB}" \
23977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23978 info) \
23979 || exit 1
23981 @endif gzip
23983 .PHONY: maybe-dvi-gzip dvi-gzip
23984 maybe-dvi-gzip:
23985 @if gzip
23986 maybe-dvi-gzip: dvi-gzip
23988 dvi-gzip: \
23989 configure-gzip
23990 @: $(MAKE); $(unstage)
23991 @[ -f ./gzip/Makefile ] || exit 0; \
23992 r=`${PWD_COMMAND}`; export r; \
23993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23994 $(HOST_EXPORTS) \
23995 for flag in $(EXTRA_HOST_FLAGS) ; do \
23996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 done; \
23998 echo "Doing dvi in gzip" ; \
23999 (cd $(HOST_SUBDIR)/gzip && \
24000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24002 "RANLIB=$${RANLIB}" \
24003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24004 dvi) \
24005 || exit 1
24007 @endif gzip
24009 .PHONY: maybe-pdf-gzip pdf-gzip
24010 maybe-pdf-gzip:
24011 @if gzip
24012 maybe-pdf-gzip: pdf-gzip
24014 pdf-gzip: \
24015 configure-gzip
24016 @: $(MAKE); $(unstage)
24017 @[ -f ./gzip/Makefile ] || exit 0; \
24018 r=`${PWD_COMMAND}`; export r; \
24019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing pdf in gzip" ; \
24025 (cd $(HOST_SUBDIR)/gzip && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24030 pdf) \
24031 || exit 1
24033 @endif gzip
24035 .PHONY: maybe-html-gzip html-gzip
24036 maybe-html-gzip:
24037 @if gzip
24038 maybe-html-gzip: html-gzip
24040 html-gzip: \
24041 configure-gzip
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./gzip/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing html in gzip" ; \
24051 (cd $(HOST_SUBDIR)/gzip && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24056 html) \
24057 || exit 1
24059 @endif gzip
24061 .PHONY: maybe-TAGS-gzip TAGS-gzip
24062 maybe-TAGS-gzip:
24063 @if gzip
24064 maybe-TAGS-gzip: TAGS-gzip
24066 TAGS-gzip: \
24067 configure-gzip
24068 @: $(MAKE); $(unstage)
24069 @[ -f ./gzip/Makefile ] || exit 0; \
24070 r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing TAGS in gzip" ; \
24077 (cd $(HOST_SUBDIR)/gzip && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24082 TAGS) \
24083 || exit 1
24085 @endif gzip
24087 .PHONY: maybe-install-info-gzip install-info-gzip
24088 maybe-install-info-gzip:
24089 @if gzip
24090 maybe-install-info-gzip: install-info-gzip
24092 install-info-gzip: \
24093 configure-gzip \
24094 info-gzip
24095 @: $(MAKE); $(unstage)
24096 @[ -f ./gzip/Makefile ] || exit 0; \
24097 r=`${PWD_COMMAND}`; export r; \
24098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24099 $(HOST_EXPORTS) \
24100 for flag in $(EXTRA_HOST_FLAGS) ; do \
24101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24102 done; \
24103 echo "Doing install-info in gzip" ; \
24104 (cd $(HOST_SUBDIR)/gzip && \
24105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24107 "RANLIB=$${RANLIB}" \
24108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24109 install-info) \
24110 || exit 1
24112 @endif gzip
24114 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
24115 maybe-install-pdf-gzip:
24116 @if gzip
24117 maybe-install-pdf-gzip: install-pdf-gzip
24119 install-pdf-gzip: \
24120 configure-gzip \
24121 pdf-gzip
24122 @: $(MAKE); $(unstage)
24123 @[ -f ./gzip/Makefile ] || exit 0; \
24124 r=`${PWD_COMMAND}`; export r; \
24125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24126 $(HOST_EXPORTS) \
24127 for flag in $(EXTRA_HOST_FLAGS) ; do \
24128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24129 done; \
24130 echo "Doing install-pdf in gzip" ; \
24131 (cd $(HOST_SUBDIR)/gzip && \
24132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24134 "RANLIB=$${RANLIB}" \
24135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24136 install-pdf) \
24137 || exit 1
24139 @endif gzip
24141 .PHONY: maybe-install-html-gzip install-html-gzip
24142 maybe-install-html-gzip:
24143 @if gzip
24144 maybe-install-html-gzip: install-html-gzip
24146 install-html-gzip: \
24147 configure-gzip \
24148 html-gzip
24149 @: $(MAKE); $(unstage)
24150 @[ -f ./gzip/Makefile ] || exit 0; \
24151 r=`${PWD_COMMAND}`; export r; \
24152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 $(HOST_EXPORTS) \
24154 for flag in $(EXTRA_HOST_FLAGS) ; do \
24155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24156 done; \
24157 echo "Doing install-html in gzip" ; \
24158 (cd $(HOST_SUBDIR)/gzip && \
24159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24161 "RANLIB=$${RANLIB}" \
24162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24163 install-html) \
24164 || exit 1
24166 @endif gzip
24168 .PHONY: maybe-installcheck-gzip installcheck-gzip
24169 maybe-installcheck-gzip:
24170 @if gzip
24171 maybe-installcheck-gzip: installcheck-gzip
24173 installcheck-gzip: \
24174 configure-gzip
24175 @: $(MAKE); $(unstage)
24176 @[ -f ./gzip/Makefile ] || exit 0; \
24177 r=`${PWD_COMMAND}`; export r; \
24178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24179 $(HOST_EXPORTS) \
24180 for flag in $(EXTRA_HOST_FLAGS) ; do \
24181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24182 done; \
24183 echo "Doing installcheck in gzip" ; \
24184 (cd $(HOST_SUBDIR)/gzip && \
24185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24187 "RANLIB=$${RANLIB}" \
24188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24189 installcheck) \
24190 || exit 1
24192 @endif gzip
24194 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
24195 maybe-mostlyclean-gzip:
24196 @if gzip
24197 maybe-mostlyclean-gzip: mostlyclean-gzip
24199 mostlyclean-gzip:
24200 @: $(MAKE); $(unstage)
24201 @[ -f ./gzip/Makefile ] || exit 0; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 $(HOST_EXPORTS) \
24205 for flag in $(EXTRA_HOST_FLAGS) ; do \
24206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 done; \
24208 echo "Doing mostlyclean in gzip" ; \
24209 (cd $(HOST_SUBDIR)/gzip && \
24210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24212 "RANLIB=$${RANLIB}" \
24213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24214 mostlyclean) \
24215 || exit 1
24217 @endif gzip
24219 .PHONY: maybe-clean-gzip clean-gzip
24220 maybe-clean-gzip:
24221 @if gzip
24222 maybe-clean-gzip: clean-gzip
24224 clean-gzip:
24225 @: $(MAKE); $(unstage)
24226 @[ -f ./gzip/Makefile ] || exit 0; \
24227 r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(HOST_EXPORTS) \
24230 for flag in $(EXTRA_HOST_FLAGS) ; do \
24231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24232 done; \
24233 echo "Doing clean in gzip" ; \
24234 (cd $(HOST_SUBDIR)/gzip && \
24235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24237 "RANLIB=$${RANLIB}" \
24238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24239 clean) \
24240 || exit 1
24242 @endif gzip
24244 .PHONY: maybe-distclean-gzip distclean-gzip
24245 maybe-distclean-gzip:
24246 @if gzip
24247 maybe-distclean-gzip: distclean-gzip
24249 distclean-gzip:
24250 @: $(MAKE); $(unstage)
24251 @[ -f ./gzip/Makefile ] || exit 0; \
24252 r=`${PWD_COMMAND}`; export r; \
24253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24254 $(HOST_EXPORTS) \
24255 for flag in $(EXTRA_HOST_FLAGS) ; do \
24256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24257 done; \
24258 echo "Doing distclean in gzip" ; \
24259 (cd $(HOST_SUBDIR)/gzip && \
24260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24262 "RANLIB=$${RANLIB}" \
24263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24264 distclean) \
24265 || exit 1
24267 @endif gzip
24269 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
24270 maybe-maintainer-clean-gzip:
24271 @if gzip
24272 maybe-maintainer-clean-gzip: maintainer-clean-gzip
24274 maintainer-clean-gzip:
24275 @: $(MAKE); $(unstage)
24276 @[ -f ./gzip/Makefile ] || exit 0; \
24277 r=`${PWD_COMMAND}`; export r; \
24278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(HOST_EXPORTS) \
24280 for flag in $(EXTRA_HOST_FLAGS) ; do \
24281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24282 done; \
24283 echo "Doing maintainer-clean in gzip" ; \
24284 (cd $(HOST_SUBDIR)/gzip && \
24285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24287 "RANLIB=$${RANLIB}" \
24288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24289 maintainer-clean) \
24290 || exit 1
24292 @endif gzip
24296 .PHONY: configure-hello maybe-configure-hello
24297 maybe-configure-hello:
24298 @if gcc-bootstrap
24299 configure-hello: stage_current
24300 @endif gcc-bootstrap
24301 @if hello
24302 maybe-configure-hello: configure-hello
24303 configure-hello:
24304 @: $(MAKE); $(unstage)
24305 @r=`${PWD_COMMAND}`; export r; \
24306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24307 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
24308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
24309 $(HOST_EXPORTS) \
24310 echo Configuring in $(HOST_SUBDIR)/hello; \
24311 cd "$(HOST_SUBDIR)/hello" || exit 1; \
24312 case $(srcdir) in \
24313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24314 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
24315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24316 esac; \
24317 srcdiroption="--srcdir=$${topdir}/hello"; \
24318 libsrcdir="$$s/hello"; \
24319 $(SHELL) $${libsrcdir}/configure \
24320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24321 --target=${target_alias} $${srcdiroption} \
24322 || exit 1
24323 @endif hello
24329 .PHONY: all-hello maybe-all-hello
24330 maybe-all-hello:
24331 @if gcc-bootstrap
24332 all-hello: stage_current
24333 @endif gcc-bootstrap
24334 @if hello
24335 TARGET-hello=all
24336 maybe-all-hello: all-hello
24337 all-hello: configure-hello
24338 @: $(MAKE); $(unstage)
24339 @r=`${PWD_COMMAND}`; export r; \
24340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24341 $(HOST_EXPORTS) \
24342 (cd $(HOST_SUBDIR)/hello && \
24343 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24344 $(TARGET-hello))
24345 @endif hello
24350 .PHONY: check-hello maybe-check-hello
24351 maybe-check-hello:
24352 @if hello
24353 maybe-check-hello: check-hello
24355 check-hello:
24356 @: $(MAKE); $(unstage)
24357 @r=`${PWD_COMMAND}`; export r; \
24358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24359 $(HOST_EXPORTS) \
24360 (cd $(HOST_SUBDIR)/hello && \
24361 $(MAKE) $(FLAGS_TO_PASS) check)
24363 @endif hello
24365 .PHONY: install-hello maybe-install-hello
24366 maybe-install-hello:
24367 @if hello
24368 maybe-install-hello: install-hello
24370 install-hello: installdirs
24371 @: $(MAKE); $(unstage)
24372 @r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) \
24375 (cd $(HOST_SUBDIR)/hello && \
24376 $(MAKE) $(FLAGS_TO_PASS) install)
24378 @endif hello
24380 .PHONY: install-strip-hello maybe-install-strip-hello
24381 maybe-install-strip-hello:
24382 @if hello
24383 maybe-install-strip-hello: install-strip-hello
24385 install-strip-hello: installdirs
24386 @: $(MAKE); $(unstage)
24387 @r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 $(HOST_EXPORTS) \
24390 (cd $(HOST_SUBDIR)/hello && \
24391 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24393 @endif hello
24395 # Other targets (info, dvi, pdf, etc.)
24397 .PHONY: maybe-info-hello info-hello
24398 maybe-info-hello:
24399 @if hello
24400 maybe-info-hello: info-hello
24402 info-hello: \
24403 configure-hello
24404 @: $(MAKE); $(unstage)
24405 @[ -f ./hello/Makefile ] || exit 0; \
24406 r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(HOST_EXPORTS) \
24409 for flag in $(EXTRA_HOST_FLAGS) ; do \
24410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24411 done; \
24412 echo "Doing info in hello" ; \
24413 (cd $(HOST_SUBDIR)/hello && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24418 info) \
24419 || exit 1
24421 @endif hello
24423 .PHONY: maybe-dvi-hello dvi-hello
24424 maybe-dvi-hello:
24425 @if hello
24426 maybe-dvi-hello: dvi-hello
24428 dvi-hello: \
24429 configure-hello
24430 @: $(MAKE); $(unstage)
24431 @[ -f ./hello/Makefile ] || exit 0; \
24432 r=`${PWD_COMMAND}`; export r; \
24433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24434 $(HOST_EXPORTS) \
24435 for flag in $(EXTRA_HOST_FLAGS) ; do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 echo "Doing dvi in hello" ; \
24439 (cd $(HOST_SUBDIR)/hello && \
24440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24442 "RANLIB=$${RANLIB}" \
24443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24444 dvi) \
24445 || exit 1
24447 @endif hello
24449 .PHONY: maybe-pdf-hello pdf-hello
24450 maybe-pdf-hello:
24451 @if hello
24452 maybe-pdf-hello: pdf-hello
24454 pdf-hello: \
24455 configure-hello
24456 @: $(MAKE); $(unstage)
24457 @[ -f ./hello/Makefile ] || exit 0; \
24458 r=`${PWD_COMMAND}`; export r; \
24459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24460 $(HOST_EXPORTS) \
24461 for flag in $(EXTRA_HOST_FLAGS) ; do \
24462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 done; \
24464 echo "Doing pdf in hello" ; \
24465 (cd $(HOST_SUBDIR)/hello && \
24466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24468 "RANLIB=$${RANLIB}" \
24469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24470 pdf) \
24471 || exit 1
24473 @endif hello
24475 .PHONY: maybe-html-hello html-hello
24476 maybe-html-hello:
24477 @if hello
24478 maybe-html-hello: html-hello
24480 html-hello: \
24481 configure-hello
24482 @: $(MAKE); $(unstage)
24483 @[ -f ./hello/Makefile ] || exit 0; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 $(HOST_EXPORTS) \
24487 for flag in $(EXTRA_HOST_FLAGS) ; do \
24488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 done; \
24490 echo "Doing html in hello" ; \
24491 (cd $(HOST_SUBDIR)/hello && \
24492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24494 "RANLIB=$${RANLIB}" \
24495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24496 html) \
24497 || exit 1
24499 @endif hello
24501 .PHONY: maybe-TAGS-hello TAGS-hello
24502 maybe-TAGS-hello:
24503 @if hello
24504 maybe-TAGS-hello: TAGS-hello
24506 TAGS-hello: \
24507 configure-hello
24508 @: $(MAKE); $(unstage)
24509 @[ -f ./hello/Makefile ] || exit 0; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 for flag in $(EXTRA_HOST_FLAGS) ; do \
24514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24515 done; \
24516 echo "Doing TAGS in hello" ; \
24517 (cd $(HOST_SUBDIR)/hello && \
24518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24520 "RANLIB=$${RANLIB}" \
24521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24522 TAGS) \
24523 || exit 1
24525 @endif hello
24527 .PHONY: maybe-install-info-hello install-info-hello
24528 maybe-install-info-hello:
24529 @if hello
24530 maybe-install-info-hello: install-info-hello
24532 install-info-hello: \
24533 configure-hello \
24534 info-hello
24535 @: $(MAKE); $(unstage)
24536 @[ -f ./hello/Makefile ] || exit 0; \
24537 r=`${PWD_COMMAND}`; export r; \
24538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24539 $(HOST_EXPORTS) \
24540 for flag in $(EXTRA_HOST_FLAGS) ; do \
24541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24542 done; \
24543 echo "Doing install-info in hello" ; \
24544 (cd $(HOST_SUBDIR)/hello && \
24545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24547 "RANLIB=$${RANLIB}" \
24548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24549 install-info) \
24550 || exit 1
24552 @endif hello
24554 .PHONY: maybe-install-pdf-hello install-pdf-hello
24555 maybe-install-pdf-hello:
24556 @if hello
24557 maybe-install-pdf-hello: install-pdf-hello
24559 install-pdf-hello: \
24560 configure-hello \
24561 pdf-hello
24562 @: $(MAKE); $(unstage)
24563 @[ -f ./hello/Makefile ] || exit 0; \
24564 r=`${PWD_COMMAND}`; export r; \
24565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24566 $(HOST_EXPORTS) \
24567 for flag in $(EXTRA_HOST_FLAGS) ; do \
24568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24569 done; \
24570 echo "Doing install-pdf in hello" ; \
24571 (cd $(HOST_SUBDIR)/hello && \
24572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24574 "RANLIB=$${RANLIB}" \
24575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24576 install-pdf) \
24577 || exit 1
24579 @endif hello
24581 .PHONY: maybe-install-html-hello install-html-hello
24582 maybe-install-html-hello:
24583 @if hello
24584 maybe-install-html-hello: install-html-hello
24586 install-html-hello: \
24587 configure-hello \
24588 html-hello
24589 @: $(MAKE); $(unstage)
24590 @[ -f ./hello/Makefile ] || exit 0; \
24591 r=`${PWD_COMMAND}`; export r; \
24592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24593 $(HOST_EXPORTS) \
24594 for flag in $(EXTRA_HOST_FLAGS) ; do \
24595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24596 done; \
24597 echo "Doing install-html in hello" ; \
24598 (cd $(HOST_SUBDIR)/hello && \
24599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24601 "RANLIB=$${RANLIB}" \
24602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24603 install-html) \
24604 || exit 1
24606 @endif hello
24608 .PHONY: maybe-installcheck-hello installcheck-hello
24609 maybe-installcheck-hello:
24610 @if hello
24611 maybe-installcheck-hello: installcheck-hello
24613 installcheck-hello: \
24614 configure-hello
24615 @: $(MAKE); $(unstage)
24616 @[ -f ./hello/Makefile ] || exit 0; \
24617 r=`${PWD_COMMAND}`; export r; \
24618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24619 $(HOST_EXPORTS) \
24620 for flag in $(EXTRA_HOST_FLAGS) ; do \
24621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24622 done; \
24623 echo "Doing installcheck in hello" ; \
24624 (cd $(HOST_SUBDIR)/hello && \
24625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24627 "RANLIB=$${RANLIB}" \
24628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24629 installcheck) \
24630 || exit 1
24632 @endif hello
24634 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
24635 maybe-mostlyclean-hello:
24636 @if hello
24637 maybe-mostlyclean-hello: mostlyclean-hello
24639 mostlyclean-hello:
24640 @: $(MAKE); $(unstage)
24641 @[ -f ./hello/Makefile ] || exit 0; \
24642 r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24644 $(HOST_EXPORTS) \
24645 for flag in $(EXTRA_HOST_FLAGS) ; do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647 done; \
24648 echo "Doing mostlyclean in hello" ; \
24649 (cd $(HOST_SUBDIR)/hello && \
24650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652 "RANLIB=$${RANLIB}" \
24653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24654 mostlyclean) \
24655 || exit 1
24657 @endif hello
24659 .PHONY: maybe-clean-hello clean-hello
24660 maybe-clean-hello:
24661 @if hello
24662 maybe-clean-hello: clean-hello
24664 clean-hello:
24665 @: $(MAKE); $(unstage)
24666 @[ -f ./hello/Makefile ] || exit 0; \
24667 r=`${PWD_COMMAND}`; export r; \
24668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 $(HOST_EXPORTS) \
24670 for flag in $(EXTRA_HOST_FLAGS) ; do \
24671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24672 done; \
24673 echo "Doing clean in hello" ; \
24674 (cd $(HOST_SUBDIR)/hello && \
24675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24677 "RANLIB=$${RANLIB}" \
24678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24679 clean) \
24680 || exit 1
24682 @endif hello
24684 .PHONY: maybe-distclean-hello distclean-hello
24685 maybe-distclean-hello:
24686 @if hello
24687 maybe-distclean-hello: distclean-hello
24689 distclean-hello:
24690 @: $(MAKE); $(unstage)
24691 @[ -f ./hello/Makefile ] || exit 0; \
24692 r=`${PWD_COMMAND}`; export r; \
24693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24694 $(HOST_EXPORTS) \
24695 for flag in $(EXTRA_HOST_FLAGS) ; do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 echo "Doing distclean in hello" ; \
24699 (cd $(HOST_SUBDIR)/hello && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24704 distclean) \
24705 || exit 1
24707 @endif hello
24709 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
24710 maybe-maintainer-clean-hello:
24711 @if hello
24712 maybe-maintainer-clean-hello: maintainer-clean-hello
24714 maintainer-clean-hello:
24715 @: $(MAKE); $(unstage)
24716 @[ -f ./hello/Makefile ] || exit 0; \
24717 r=`${PWD_COMMAND}`; export r; \
24718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24719 $(HOST_EXPORTS) \
24720 for flag in $(EXTRA_HOST_FLAGS) ; do \
24721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24722 done; \
24723 echo "Doing maintainer-clean in hello" ; \
24724 (cd $(HOST_SUBDIR)/hello && \
24725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24727 "RANLIB=$${RANLIB}" \
24728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24729 maintainer-clean) \
24730 || exit 1
24732 @endif hello
24736 .PHONY: configure-indent maybe-configure-indent
24737 maybe-configure-indent:
24738 @if gcc-bootstrap
24739 configure-indent: stage_current
24740 @endif gcc-bootstrap
24741 @if indent
24742 maybe-configure-indent: configure-indent
24743 configure-indent:
24744 @: $(MAKE); $(unstage)
24745 @r=`${PWD_COMMAND}`; export r; \
24746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24747 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
24748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
24749 $(HOST_EXPORTS) \
24750 echo Configuring in $(HOST_SUBDIR)/indent; \
24751 cd "$(HOST_SUBDIR)/indent" || exit 1; \
24752 case $(srcdir) in \
24753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24754 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
24755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24756 esac; \
24757 srcdiroption="--srcdir=$${topdir}/indent"; \
24758 libsrcdir="$$s/indent"; \
24759 $(SHELL) $${libsrcdir}/configure \
24760 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24761 --target=${target_alias} $${srcdiroption} \
24762 || exit 1
24763 @endif indent
24769 .PHONY: all-indent maybe-all-indent
24770 maybe-all-indent:
24771 @if gcc-bootstrap
24772 all-indent: stage_current
24773 @endif gcc-bootstrap
24774 @if indent
24775 TARGET-indent=all
24776 maybe-all-indent: all-indent
24777 all-indent: configure-indent
24778 @: $(MAKE); $(unstage)
24779 @r=`${PWD_COMMAND}`; export r; \
24780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781 $(HOST_EXPORTS) \
24782 (cd $(HOST_SUBDIR)/indent && \
24783 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24784 $(TARGET-indent))
24785 @endif indent
24790 .PHONY: check-indent maybe-check-indent
24791 maybe-check-indent:
24792 @if indent
24793 maybe-check-indent: check-indent
24795 check-indent:
24796 @: $(MAKE); $(unstage)
24797 @r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 (cd $(HOST_SUBDIR)/indent && \
24801 $(MAKE) $(FLAGS_TO_PASS) check)
24803 @endif indent
24805 .PHONY: install-indent maybe-install-indent
24806 maybe-install-indent:
24807 @if indent
24808 maybe-install-indent: install-indent
24810 install-indent: installdirs
24811 @: $(MAKE); $(unstage)
24812 @r=`${PWD_COMMAND}`; export r; \
24813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24814 $(HOST_EXPORTS) \
24815 (cd $(HOST_SUBDIR)/indent && \
24816 $(MAKE) $(FLAGS_TO_PASS) install)
24818 @endif indent
24820 .PHONY: install-strip-indent maybe-install-strip-indent
24821 maybe-install-strip-indent:
24822 @if indent
24823 maybe-install-strip-indent: install-strip-indent
24825 install-strip-indent: installdirs
24826 @: $(MAKE); $(unstage)
24827 @r=`${PWD_COMMAND}`; export r; \
24828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24829 $(HOST_EXPORTS) \
24830 (cd $(HOST_SUBDIR)/indent && \
24831 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24833 @endif indent
24835 # Other targets (info, dvi, pdf, etc.)
24837 .PHONY: maybe-info-indent info-indent
24838 maybe-info-indent:
24839 @if indent
24840 maybe-info-indent: info-indent
24842 info-indent: \
24843 configure-indent
24844 @: $(MAKE); $(unstage)
24845 @[ -f ./indent/Makefile ] || exit 0; \
24846 r=`${PWD_COMMAND}`; export r; \
24847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24848 $(HOST_EXPORTS) \
24849 for flag in $(EXTRA_HOST_FLAGS) ; do \
24850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24851 done; \
24852 echo "Doing info in indent" ; \
24853 (cd $(HOST_SUBDIR)/indent && \
24854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24856 "RANLIB=$${RANLIB}" \
24857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24858 info) \
24859 || exit 1
24861 @endif indent
24863 .PHONY: maybe-dvi-indent dvi-indent
24864 maybe-dvi-indent:
24865 @if indent
24866 maybe-dvi-indent: dvi-indent
24868 dvi-indent: \
24869 configure-indent
24870 @: $(MAKE); $(unstage)
24871 @[ -f ./indent/Makefile ] || exit 0; \
24872 r=`${PWD_COMMAND}`; export r; \
24873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874 $(HOST_EXPORTS) \
24875 for flag in $(EXTRA_HOST_FLAGS) ; do \
24876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24877 done; \
24878 echo "Doing dvi in indent" ; \
24879 (cd $(HOST_SUBDIR)/indent && \
24880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24882 "RANLIB=$${RANLIB}" \
24883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24884 dvi) \
24885 || exit 1
24887 @endif indent
24889 .PHONY: maybe-pdf-indent pdf-indent
24890 maybe-pdf-indent:
24891 @if indent
24892 maybe-pdf-indent: pdf-indent
24894 pdf-indent: \
24895 configure-indent
24896 @: $(MAKE); $(unstage)
24897 @[ -f ./indent/Makefile ] || exit 0; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 for flag in $(EXTRA_HOST_FLAGS) ; do \
24902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24903 done; \
24904 echo "Doing pdf in indent" ; \
24905 (cd $(HOST_SUBDIR)/indent && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24910 pdf) \
24911 || exit 1
24913 @endif indent
24915 .PHONY: maybe-html-indent html-indent
24916 maybe-html-indent:
24917 @if indent
24918 maybe-html-indent: html-indent
24920 html-indent: \
24921 configure-indent
24922 @: $(MAKE); $(unstage)
24923 @[ -f ./indent/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 html in indent" ; \
24931 (cd $(HOST_SUBDIR)/indent && \
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 html) \
24937 || exit 1
24939 @endif indent
24941 .PHONY: maybe-TAGS-indent TAGS-indent
24942 maybe-TAGS-indent:
24943 @if indent
24944 maybe-TAGS-indent: TAGS-indent
24946 TAGS-indent: \
24947 configure-indent
24948 @: $(MAKE); $(unstage)
24949 @[ -f ./indent/Makefile ] || exit 0; \
24950 r=`${PWD_COMMAND}`; export r; \
24951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(HOST_EXPORTS) \
24953 for flag in $(EXTRA_HOST_FLAGS) ; do \
24954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24955 done; \
24956 echo "Doing TAGS in indent" ; \
24957 (cd $(HOST_SUBDIR)/indent && \
24958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24960 "RANLIB=$${RANLIB}" \
24961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24962 TAGS) \
24963 || exit 1
24965 @endif indent
24967 .PHONY: maybe-install-info-indent install-info-indent
24968 maybe-install-info-indent:
24969 @if indent
24970 maybe-install-info-indent: install-info-indent
24972 install-info-indent: \
24973 configure-indent \
24974 info-indent
24975 @: $(MAKE); $(unstage)
24976 @[ -f ./indent/Makefile ] || exit 0; \
24977 r=`${PWD_COMMAND}`; export r; \
24978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24979 $(HOST_EXPORTS) \
24980 for flag in $(EXTRA_HOST_FLAGS) ; do \
24981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24982 done; \
24983 echo "Doing install-info in indent" ; \
24984 (cd $(HOST_SUBDIR)/indent && \
24985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24987 "RANLIB=$${RANLIB}" \
24988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24989 install-info) \
24990 || exit 1
24992 @endif indent
24994 .PHONY: maybe-install-pdf-indent install-pdf-indent
24995 maybe-install-pdf-indent:
24996 @if indent
24997 maybe-install-pdf-indent: install-pdf-indent
24999 install-pdf-indent: \
25000 configure-indent \
25001 pdf-indent
25002 @: $(MAKE); $(unstage)
25003 @[ -f ./indent/Makefile ] || exit 0; \
25004 r=`${PWD_COMMAND}`; export r; \
25005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25006 $(HOST_EXPORTS) \
25007 for flag in $(EXTRA_HOST_FLAGS) ; do \
25008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25009 done; \
25010 echo "Doing install-pdf in indent" ; \
25011 (cd $(HOST_SUBDIR)/indent && \
25012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25014 "RANLIB=$${RANLIB}" \
25015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25016 install-pdf) \
25017 || exit 1
25019 @endif indent
25021 .PHONY: maybe-install-html-indent install-html-indent
25022 maybe-install-html-indent:
25023 @if indent
25024 maybe-install-html-indent: install-html-indent
25026 install-html-indent: \
25027 configure-indent \
25028 html-indent
25029 @: $(MAKE); $(unstage)
25030 @[ -f ./indent/Makefile ] || exit 0; \
25031 r=`${PWD_COMMAND}`; export r; \
25032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(HOST_EXPORTS) \
25034 for flag in $(EXTRA_HOST_FLAGS) ; do \
25035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25036 done; \
25037 echo "Doing install-html in indent" ; \
25038 (cd $(HOST_SUBDIR)/indent && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25043 install-html) \
25044 || exit 1
25046 @endif indent
25048 .PHONY: maybe-installcheck-indent installcheck-indent
25049 maybe-installcheck-indent:
25050 @if indent
25051 maybe-installcheck-indent: installcheck-indent
25053 installcheck-indent: \
25054 configure-indent
25055 @: $(MAKE); $(unstage)
25056 @[ -f ./indent/Makefile ] || exit 0; \
25057 r=`${PWD_COMMAND}`; export r; \
25058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25059 $(HOST_EXPORTS) \
25060 for flag in $(EXTRA_HOST_FLAGS) ; do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 echo "Doing installcheck in indent" ; \
25064 (cd $(HOST_SUBDIR)/indent && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25069 installcheck) \
25070 || exit 1
25072 @endif indent
25074 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
25075 maybe-mostlyclean-indent:
25076 @if indent
25077 maybe-mostlyclean-indent: mostlyclean-indent
25079 mostlyclean-indent:
25080 @: $(MAKE); $(unstage)
25081 @[ -f ./indent/Makefile ] || exit 0; \
25082 r=`${PWD_COMMAND}`; export r; \
25083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25084 $(HOST_EXPORTS) \
25085 for flag in $(EXTRA_HOST_FLAGS) ; do \
25086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25087 done; \
25088 echo "Doing mostlyclean in indent" ; \
25089 (cd $(HOST_SUBDIR)/indent && \
25090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25092 "RANLIB=$${RANLIB}" \
25093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25094 mostlyclean) \
25095 || exit 1
25097 @endif indent
25099 .PHONY: maybe-clean-indent clean-indent
25100 maybe-clean-indent:
25101 @if indent
25102 maybe-clean-indent: clean-indent
25104 clean-indent:
25105 @: $(MAKE); $(unstage)
25106 @[ -f ./indent/Makefile ] || exit 0; \
25107 r=`${PWD_COMMAND}`; export r; \
25108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25109 $(HOST_EXPORTS) \
25110 for flag in $(EXTRA_HOST_FLAGS) ; do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 echo "Doing clean in indent" ; \
25114 (cd $(HOST_SUBDIR)/indent && \
25115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25117 "RANLIB=$${RANLIB}" \
25118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25119 clean) \
25120 || exit 1
25122 @endif indent
25124 .PHONY: maybe-distclean-indent distclean-indent
25125 maybe-distclean-indent:
25126 @if indent
25127 maybe-distclean-indent: distclean-indent
25129 distclean-indent:
25130 @: $(MAKE); $(unstage)
25131 @[ -f ./indent/Makefile ] || exit 0; \
25132 r=`${PWD_COMMAND}`; export r; \
25133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(HOST_EXPORTS) \
25135 for flag in $(EXTRA_HOST_FLAGS) ; do \
25136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25137 done; \
25138 echo "Doing distclean in indent" ; \
25139 (cd $(HOST_SUBDIR)/indent && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25144 distclean) \
25145 || exit 1
25147 @endif indent
25149 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
25150 maybe-maintainer-clean-indent:
25151 @if indent
25152 maybe-maintainer-clean-indent: maintainer-clean-indent
25154 maintainer-clean-indent:
25155 @: $(MAKE); $(unstage)
25156 @[ -f ./indent/Makefile ] || exit 0; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25159 $(HOST_EXPORTS) \
25160 for flag in $(EXTRA_HOST_FLAGS) ; do \
25161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25162 done; \
25163 echo "Doing maintainer-clean in indent" ; \
25164 (cd $(HOST_SUBDIR)/indent && \
25165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25167 "RANLIB=$${RANLIB}" \
25168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25169 maintainer-clean) \
25170 || exit 1
25172 @endif indent
25176 .PHONY: configure-intl maybe-configure-intl
25177 maybe-configure-intl:
25178 @if gcc-bootstrap
25179 configure-intl: stage_current
25180 @endif gcc-bootstrap
25181 @if intl
25182 maybe-configure-intl: configure-intl
25183 configure-intl:
25184 @r=`${PWD_COMMAND}`; export r; \
25185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25186 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25188 $(HOST_EXPORTS) \
25189 echo Configuring in $(HOST_SUBDIR)/intl; \
25190 cd "$(HOST_SUBDIR)/intl" || exit 1; \
25191 case $(srcdir) in \
25192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25193 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25195 esac; \
25196 srcdiroption="--srcdir=$${topdir}/intl"; \
25197 libsrcdir="$$s/intl"; \
25198 $(SHELL) $${libsrcdir}/configure \
25199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25200 --target=${target_alias} $${srcdiroption} \
25201 || exit 1
25202 @endif intl
25206 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
25207 maybe-configure-stage1-intl:
25208 @if intl-bootstrap
25209 maybe-configure-stage1-intl: configure-stage1-intl
25210 configure-stage1-intl:
25211 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25212 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25213 @r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 TFLAGS="$(STAGE1_TFLAGS)"; \
25216 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25217 $(HOST_EXPORTS) \
25218 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25219 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25220 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25221 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
25222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25223 cd $(HOST_SUBDIR)/intl || exit 1; \
25224 case $(srcdir) in \
25225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25226 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25228 esac; \
25229 srcdiroption="--srcdir=$${topdir}/intl"; \
25230 libsrcdir="$$s/intl"; \
25231 $(SHELL) $${libsrcdir}/configure \
25232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25233 --target=${target_alias} $${srcdiroption} \
25234 $(STAGE1_CONFIGURE_FLAGS)
25235 @endif intl-bootstrap
25237 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
25238 maybe-configure-stage2-intl:
25239 @if intl-bootstrap
25240 maybe-configure-stage2-intl: configure-stage2-intl
25241 configure-stage2-intl:
25242 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25244 @r=`${PWD_COMMAND}`; export r; \
25245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25246 TFLAGS="$(STAGE2_TFLAGS)"; \
25247 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25248 $(HOST_EXPORTS) \
25249 $(POSTSTAGE1_HOST_EXPORTS) \
25250 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25251 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25252 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25253 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
25254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25255 cd $(HOST_SUBDIR)/intl || exit 1; \
25256 case $(srcdir) in \
25257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25258 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25260 esac; \
25261 srcdiroption="--srcdir=$${topdir}/intl"; \
25262 libsrcdir="$$s/intl"; \
25263 $(SHELL) $${libsrcdir}/configure \
25264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25265 --target=${target_alias} $${srcdiroption} \
25266 --with-build-libsubdir=$(HOST_SUBDIR) \
25267 $(STAGE2_CONFIGURE_FLAGS)
25268 @endif intl-bootstrap
25270 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
25271 maybe-configure-stage3-intl:
25272 @if intl-bootstrap
25273 maybe-configure-stage3-intl: configure-stage3-intl
25274 configure-stage3-intl:
25275 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25277 @r=`${PWD_COMMAND}`; export r; \
25278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25279 TFLAGS="$(STAGE3_TFLAGS)"; \
25280 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25281 $(HOST_EXPORTS) \
25282 $(POSTSTAGE1_HOST_EXPORTS) \
25283 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25284 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25285 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25286 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
25287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25288 cd $(HOST_SUBDIR)/intl || exit 1; \
25289 case $(srcdir) in \
25290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25291 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25293 esac; \
25294 srcdiroption="--srcdir=$${topdir}/intl"; \
25295 libsrcdir="$$s/intl"; \
25296 $(SHELL) $${libsrcdir}/configure \
25297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25298 --target=${target_alias} $${srcdiroption} \
25299 --with-build-libsubdir=$(HOST_SUBDIR) \
25300 $(STAGE3_CONFIGURE_FLAGS)
25301 @endif intl-bootstrap
25303 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
25304 maybe-configure-stage4-intl:
25305 @if intl-bootstrap
25306 maybe-configure-stage4-intl: configure-stage4-intl
25307 configure-stage4-intl:
25308 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25310 @r=`${PWD_COMMAND}`; export r; \
25311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25312 TFLAGS="$(STAGE4_TFLAGS)"; \
25313 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25314 $(HOST_EXPORTS) \
25315 $(POSTSTAGE1_HOST_EXPORTS) \
25316 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25317 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25318 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25319 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
25320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25321 cd $(HOST_SUBDIR)/intl || exit 1; \
25322 case $(srcdir) in \
25323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25324 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25326 esac; \
25327 srcdiroption="--srcdir=$${topdir}/intl"; \
25328 libsrcdir="$$s/intl"; \
25329 $(SHELL) $${libsrcdir}/configure \
25330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25331 --target=${target_alias} $${srcdiroption} \
25332 --with-build-libsubdir=$(HOST_SUBDIR) \
25333 $(STAGE4_CONFIGURE_FLAGS)
25334 @endif intl-bootstrap
25336 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
25337 maybe-configure-stageprofile-intl:
25338 @if intl-bootstrap
25339 maybe-configure-stageprofile-intl: configure-stageprofile-intl
25340 configure-stageprofile-intl:
25341 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25346 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25347 $(HOST_EXPORTS) \
25348 $(POSTSTAGE1_HOST_EXPORTS) \
25349 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25350 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25351 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25352 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
25353 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25354 cd $(HOST_SUBDIR)/intl || exit 1; \
25355 case $(srcdir) in \
25356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25357 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25359 esac; \
25360 srcdiroption="--srcdir=$${topdir}/intl"; \
25361 libsrcdir="$$s/intl"; \
25362 $(SHELL) $${libsrcdir}/configure \
25363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25364 --target=${target_alias} $${srcdiroption} \
25365 --with-build-libsubdir=$(HOST_SUBDIR) \
25366 $(STAGEprofile_CONFIGURE_FLAGS)
25367 @endif intl-bootstrap
25369 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
25370 maybe-configure-stagefeedback-intl:
25371 @if intl-bootstrap
25372 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
25373 configure-stagefeedback-intl:
25374 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25375 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
25376 @r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25378 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25379 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
25380 $(HOST_EXPORTS) \
25381 $(POSTSTAGE1_HOST_EXPORTS) \
25382 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25383 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25384 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25385 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
25386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
25387 cd $(HOST_SUBDIR)/intl || exit 1; \
25388 case $(srcdir) in \
25389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25390 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
25391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25392 esac; \
25393 srcdiroption="--srcdir=$${topdir}/intl"; \
25394 libsrcdir="$$s/intl"; \
25395 $(SHELL) $${libsrcdir}/configure \
25396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25397 --target=${target_alias} $${srcdiroption} \
25398 --with-build-libsubdir=$(HOST_SUBDIR) \
25399 $(STAGEfeedback_CONFIGURE_FLAGS)
25400 @endif intl-bootstrap
25406 .PHONY: all-intl maybe-all-intl
25407 maybe-all-intl:
25408 @if gcc-bootstrap
25409 all-intl: stage_current
25410 @endif gcc-bootstrap
25411 @if intl
25412 TARGET-intl=all
25413 maybe-all-intl: all-intl
25414 all-intl: configure-intl
25415 @r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(HOST_EXPORTS) \
25418 (cd $(HOST_SUBDIR)/intl && \
25419 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25420 $(TARGET-intl))
25421 @endif intl
25425 .PHONY: all-stage1-intl maybe-all-stage1-intl
25426 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
25427 maybe-all-stage1-intl:
25428 maybe-clean-stage1-intl:
25429 @if intl-bootstrap
25430 maybe-all-stage1-intl: all-stage1-intl
25431 all-stage1: all-stage1-intl
25432 TARGET-stage1-intl = $(TARGET-intl)
25433 all-stage1-intl: configure-stage1-intl
25434 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25435 @r=`${PWD_COMMAND}`; export r; \
25436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25437 TFLAGS="$(STAGE1_TFLAGS)"; \
25438 $(HOST_EXPORTS) \
25439 cd $(HOST_SUBDIR)/intl && \
25440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25441 CFLAGS="$(STAGE1_CFLAGS)" \
25442 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25443 LIBCFLAGS="$(LIBCFLAGS)" \
25444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25447 $(EXTRA_HOST_FLAGS) \
25448 TFLAGS="$(STAGE1_TFLAGS)" \
25449 $(TARGET-stage1-intl)
25451 maybe-clean-stage1-intl: clean-stage1-intl
25452 clean-stage1: clean-stage1-intl
25453 clean-stage1-intl:
25454 @if [ $(current_stage) = stage1 ]; then \
25455 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25456 else \
25457 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
25458 $(MAKE) stage1-start; \
25459 fi; \
25460 cd $(HOST_SUBDIR)/intl && \
25461 $(MAKE) $(EXTRA_HOST_FLAGS) \
25462 clean
25463 @endif intl-bootstrap
25466 .PHONY: all-stage2-intl maybe-all-stage2-intl
25467 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
25468 maybe-all-stage2-intl:
25469 maybe-clean-stage2-intl:
25470 @if intl-bootstrap
25471 maybe-all-stage2-intl: all-stage2-intl
25472 all-stage2: all-stage2-intl
25473 TARGET-stage2-intl = $(TARGET-intl)
25474 all-stage2-intl: configure-stage2-intl
25475 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25476 @r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 TFLAGS="$(STAGE2_TFLAGS)"; \
25479 $(HOST_EXPORTS) \
25480 $(POSTSTAGE1_HOST_EXPORTS) \
25481 cd $(HOST_SUBDIR)/intl && \
25482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25483 CFLAGS="$(STAGE2_CFLAGS)" \
25484 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25485 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25490 TFLAGS="$(STAGE2_TFLAGS)" \
25491 $(TARGET-stage2-intl)
25493 maybe-clean-stage2-intl: clean-stage2-intl
25494 clean-stage2: clean-stage2-intl
25495 clean-stage2-intl:
25496 @if [ $(current_stage) = stage2 ]; then \
25497 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25498 else \
25499 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
25500 $(MAKE) stage2-start; \
25501 fi; \
25502 cd $(HOST_SUBDIR)/intl && \
25503 $(MAKE) $(EXTRA_HOST_FLAGS) \
25504 $(POSTSTAGE1_FLAGS_TO_PASS) \
25505 clean
25506 @endif intl-bootstrap
25509 .PHONY: all-stage3-intl maybe-all-stage3-intl
25510 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
25511 maybe-all-stage3-intl:
25512 maybe-clean-stage3-intl:
25513 @if intl-bootstrap
25514 maybe-all-stage3-intl: all-stage3-intl
25515 all-stage3: all-stage3-intl
25516 TARGET-stage3-intl = $(TARGET-intl)
25517 all-stage3-intl: configure-stage3-intl
25518 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25519 @r=`${PWD_COMMAND}`; export r; \
25520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25521 TFLAGS="$(STAGE3_TFLAGS)"; \
25522 $(HOST_EXPORTS) \
25523 $(POSTSTAGE1_HOST_EXPORTS) \
25524 cd $(HOST_SUBDIR)/intl && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25526 CFLAGS="$(STAGE3_CFLAGS)" \
25527 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25528 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25533 TFLAGS="$(STAGE3_TFLAGS)" \
25534 $(TARGET-stage3-intl)
25536 maybe-clean-stage3-intl: clean-stage3-intl
25537 clean-stage3: clean-stage3-intl
25538 clean-stage3-intl:
25539 @if [ $(current_stage) = stage3 ]; then \
25540 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25541 else \
25542 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
25543 $(MAKE) stage3-start; \
25544 fi; \
25545 cd $(HOST_SUBDIR)/intl && \
25546 $(MAKE) $(EXTRA_HOST_FLAGS) \
25547 $(POSTSTAGE1_FLAGS_TO_PASS) \
25548 clean
25549 @endif intl-bootstrap
25552 .PHONY: all-stage4-intl maybe-all-stage4-intl
25553 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
25554 maybe-all-stage4-intl:
25555 maybe-clean-stage4-intl:
25556 @if intl-bootstrap
25557 maybe-all-stage4-intl: all-stage4-intl
25558 all-stage4: all-stage4-intl
25559 TARGET-stage4-intl = $(TARGET-intl)
25560 all-stage4-intl: configure-stage4-intl
25561 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25562 @r=`${PWD_COMMAND}`; export r; \
25563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25564 TFLAGS="$(STAGE4_TFLAGS)"; \
25565 $(HOST_EXPORTS) \
25566 $(POSTSTAGE1_HOST_EXPORTS) \
25567 cd $(HOST_SUBDIR)/intl && \
25568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25569 CFLAGS="$(STAGE4_CFLAGS)" \
25570 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25571 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25575 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25576 TFLAGS="$(STAGE4_TFLAGS)" \
25577 $(TARGET-stage4-intl)
25579 maybe-clean-stage4-intl: clean-stage4-intl
25580 clean-stage4: clean-stage4-intl
25581 clean-stage4-intl:
25582 @if [ $(current_stage) = stage4 ]; then \
25583 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25584 else \
25585 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
25586 $(MAKE) stage4-start; \
25587 fi; \
25588 cd $(HOST_SUBDIR)/intl && \
25589 $(MAKE) $(EXTRA_HOST_FLAGS) \
25590 $(POSTSTAGE1_FLAGS_TO_PASS) \
25591 clean
25592 @endif intl-bootstrap
25595 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
25596 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
25597 maybe-all-stageprofile-intl:
25598 maybe-clean-stageprofile-intl:
25599 @if intl-bootstrap
25600 maybe-all-stageprofile-intl: all-stageprofile-intl
25601 all-stageprofile: all-stageprofile-intl
25602 TARGET-stageprofile-intl = $(TARGET-intl)
25603 all-stageprofile-intl: configure-stageprofile-intl
25604 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25605 @r=`${PWD_COMMAND}`; export r; \
25606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25607 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25608 $(HOST_EXPORTS) \
25609 $(POSTSTAGE1_HOST_EXPORTS) \
25610 cd $(HOST_SUBDIR)/intl && \
25611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25612 CFLAGS="$(STAGEprofile_CFLAGS)" \
25613 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25614 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25618 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25619 TFLAGS="$(STAGEprofile_TFLAGS)" \
25620 $(TARGET-stageprofile-intl)
25622 maybe-clean-stageprofile-intl: clean-stageprofile-intl
25623 clean-stageprofile: clean-stageprofile-intl
25624 clean-stageprofile-intl:
25625 @if [ $(current_stage) = stageprofile ]; then \
25626 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25627 else \
25628 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
25629 $(MAKE) stageprofile-start; \
25630 fi; \
25631 cd $(HOST_SUBDIR)/intl && \
25632 $(MAKE) $(EXTRA_HOST_FLAGS) \
25633 $(POSTSTAGE1_FLAGS_TO_PASS) \
25634 clean
25635 @endif intl-bootstrap
25638 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
25639 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
25640 maybe-all-stagefeedback-intl:
25641 maybe-clean-stagefeedback-intl:
25642 @if intl-bootstrap
25643 maybe-all-stagefeedback-intl: all-stagefeedback-intl
25644 all-stagefeedback: all-stagefeedback-intl
25645 TARGET-stagefeedback-intl = $(TARGET-intl)
25646 all-stagefeedback-intl: configure-stagefeedback-intl
25647 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25648 @r=`${PWD_COMMAND}`; export r; \
25649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25650 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25651 $(HOST_EXPORTS) \
25652 $(POSTSTAGE1_HOST_EXPORTS) \
25653 cd $(HOST_SUBDIR)/intl && \
25654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25655 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25656 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25657 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25662 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25663 $(TARGET-stagefeedback-intl)
25665 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
25666 clean-stagefeedback: clean-stagefeedback-intl
25667 clean-stagefeedback-intl:
25668 @if [ $(current_stage) = stagefeedback ]; then \
25669 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
25670 else \
25671 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
25672 $(MAKE) stagefeedback-start; \
25673 fi; \
25674 cd $(HOST_SUBDIR)/intl && \
25675 $(MAKE) $(EXTRA_HOST_FLAGS) \
25676 $(POSTSTAGE1_FLAGS_TO_PASS) \
25677 clean
25678 @endif intl-bootstrap
25684 .PHONY: check-intl maybe-check-intl
25685 maybe-check-intl:
25686 @if intl
25687 maybe-check-intl: check-intl
25689 check-intl:
25690 @: $(MAKE); $(unstage)
25691 @r=`${PWD_COMMAND}`; export r; \
25692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25693 $(HOST_EXPORTS) \
25694 (cd $(HOST_SUBDIR)/intl && \
25695 $(MAKE) $(FLAGS_TO_PASS) check)
25697 @endif intl
25699 .PHONY: install-intl maybe-install-intl
25700 maybe-install-intl:
25701 @if intl
25702 maybe-install-intl: install-intl
25704 install-intl: installdirs
25705 @: $(MAKE); $(unstage)
25706 @r=`${PWD_COMMAND}`; export r; \
25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(HOST_EXPORTS) \
25709 (cd $(HOST_SUBDIR)/intl && \
25710 $(MAKE) $(FLAGS_TO_PASS) install)
25712 @endif intl
25714 .PHONY: install-strip-intl maybe-install-strip-intl
25715 maybe-install-strip-intl:
25716 @if intl
25717 maybe-install-strip-intl: install-strip-intl
25719 install-strip-intl: installdirs
25720 @: $(MAKE); $(unstage)
25721 @r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 $(HOST_EXPORTS) \
25724 (cd $(HOST_SUBDIR)/intl && \
25725 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25727 @endif intl
25729 # Other targets (info, dvi, pdf, etc.)
25731 .PHONY: maybe-info-intl info-intl
25732 maybe-info-intl:
25733 @if intl
25734 maybe-info-intl: info-intl
25736 info-intl: \
25737 configure-intl
25738 @[ -f ./intl/Makefile ] || exit 0; \
25739 r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 for flag in $(EXTRA_HOST_FLAGS) ; do \
25743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25744 done; \
25745 echo "Doing info in intl" ; \
25746 (cd $(HOST_SUBDIR)/intl && \
25747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25749 "RANLIB=$${RANLIB}" \
25750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25751 info) \
25752 || exit 1
25754 @endif intl
25756 .PHONY: maybe-dvi-intl dvi-intl
25757 maybe-dvi-intl:
25758 @if intl
25759 maybe-dvi-intl: dvi-intl
25761 dvi-intl: \
25762 configure-intl
25763 @[ -f ./intl/Makefile ] || exit 0; \
25764 r=`${PWD_COMMAND}`; export r; \
25765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25766 $(HOST_EXPORTS) \
25767 for flag in $(EXTRA_HOST_FLAGS) ; do \
25768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25769 done; \
25770 echo "Doing dvi in intl" ; \
25771 (cd $(HOST_SUBDIR)/intl && \
25772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25774 "RANLIB=$${RANLIB}" \
25775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25776 dvi) \
25777 || exit 1
25779 @endif intl
25781 .PHONY: maybe-pdf-intl pdf-intl
25782 maybe-pdf-intl:
25783 @if intl
25784 maybe-pdf-intl: pdf-intl
25786 pdf-intl: \
25787 configure-intl
25788 @[ -f ./intl/Makefile ] || exit 0; \
25789 r=`${PWD_COMMAND}`; export r; \
25790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25791 $(HOST_EXPORTS) \
25792 for flag in $(EXTRA_HOST_FLAGS) ; do \
25793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25794 done; \
25795 echo "Doing pdf in intl" ; \
25796 (cd $(HOST_SUBDIR)/intl && \
25797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25799 "RANLIB=$${RANLIB}" \
25800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25801 pdf) \
25802 || exit 1
25804 @endif intl
25806 .PHONY: maybe-html-intl html-intl
25807 maybe-html-intl:
25808 @if intl
25809 maybe-html-intl: html-intl
25811 html-intl: \
25812 configure-intl
25813 @[ -f ./intl/Makefile ] || exit 0; \
25814 r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(HOST_EXPORTS) \
25817 for flag in $(EXTRA_HOST_FLAGS) ; do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 echo "Doing html in intl" ; \
25821 (cd $(HOST_SUBDIR)/intl && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25824 "RANLIB=$${RANLIB}" \
25825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25826 html) \
25827 || exit 1
25829 @endif intl
25831 .PHONY: maybe-TAGS-intl TAGS-intl
25832 maybe-TAGS-intl:
25833 @if intl
25834 maybe-TAGS-intl: TAGS-intl
25836 TAGS-intl: \
25837 configure-intl
25838 @[ -f ./intl/Makefile ] || exit 0; \
25839 r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841 $(HOST_EXPORTS) \
25842 for flag in $(EXTRA_HOST_FLAGS) ; do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844 done; \
25845 echo "Doing TAGS in intl" ; \
25846 (cd $(HOST_SUBDIR)/intl && \
25847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25849 "RANLIB=$${RANLIB}" \
25850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25851 TAGS) \
25852 || exit 1
25854 @endif intl
25856 .PHONY: maybe-install-info-intl install-info-intl
25857 maybe-install-info-intl:
25858 @if intl
25859 maybe-install-info-intl: install-info-intl
25861 install-info-intl: \
25862 configure-intl \
25863 info-intl
25864 @[ -f ./intl/Makefile ] || exit 0; \
25865 r=`${PWD_COMMAND}`; export r; \
25866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25867 $(HOST_EXPORTS) \
25868 for flag in $(EXTRA_HOST_FLAGS) ; do \
25869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25870 done; \
25871 echo "Doing install-info in intl" ; \
25872 (cd $(HOST_SUBDIR)/intl && \
25873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25875 "RANLIB=$${RANLIB}" \
25876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25877 install-info) \
25878 || exit 1
25880 @endif intl
25882 .PHONY: maybe-install-pdf-intl install-pdf-intl
25883 maybe-install-pdf-intl:
25884 @if intl
25885 maybe-install-pdf-intl: install-pdf-intl
25887 install-pdf-intl: \
25888 configure-intl \
25889 pdf-intl
25890 @[ -f ./intl/Makefile ] || exit 0; \
25891 r=`${PWD_COMMAND}`; export r; \
25892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25893 $(HOST_EXPORTS) \
25894 for flag in $(EXTRA_HOST_FLAGS) ; do \
25895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25896 done; \
25897 echo "Doing install-pdf in intl" ; \
25898 (cd $(HOST_SUBDIR)/intl && \
25899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25901 "RANLIB=$${RANLIB}" \
25902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25903 install-pdf) \
25904 || exit 1
25906 @endif intl
25908 .PHONY: maybe-install-html-intl install-html-intl
25909 maybe-install-html-intl:
25910 @if intl
25911 maybe-install-html-intl: install-html-intl
25913 install-html-intl: \
25914 configure-intl \
25915 html-intl
25916 @[ -f ./intl/Makefile ] || exit 0; \
25917 r=`${PWD_COMMAND}`; export r; \
25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25919 $(HOST_EXPORTS) \
25920 for flag in $(EXTRA_HOST_FLAGS) ; do \
25921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25922 done; \
25923 echo "Doing install-html in intl" ; \
25924 (cd $(HOST_SUBDIR)/intl && \
25925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25927 "RANLIB=$${RANLIB}" \
25928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25929 install-html) \
25930 || exit 1
25932 @endif intl
25934 .PHONY: maybe-installcheck-intl installcheck-intl
25935 maybe-installcheck-intl:
25936 @if intl
25937 maybe-installcheck-intl: installcheck-intl
25939 installcheck-intl: \
25940 configure-intl
25941 @[ -f ./intl/Makefile ] || exit 0; \
25942 r=`${PWD_COMMAND}`; export r; \
25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25944 $(HOST_EXPORTS) \
25945 for flag in $(EXTRA_HOST_FLAGS) ; do \
25946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25947 done; \
25948 echo "Doing installcheck in intl" ; \
25949 (cd $(HOST_SUBDIR)/intl && \
25950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25952 "RANLIB=$${RANLIB}" \
25953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25954 installcheck) \
25955 || exit 1
25957 @endif intl
25959 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
25960 maybe-mostlyclean-intl:
25961 @if intl
25962 maybe-mostlyclean-intl: mostlyclean-intl
25964 mostlyclean-intl:
25965 @[ -f ./intl/Makefile ] || exit 0; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(HOST_EXPORTS) \
25969 for flag in $(EXTRA_HOST_FLAGS) ; do \
25970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25971 done; \
25972 echo "Doing mostlyclean in intl" ; \
25973 (cd $(HOST_SUBDIR)/intl && \
25974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25976 "RANLIB=$${RANLIB}" \
25977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25978 mostlyclean) \
25979 || exit 1
25981 @endif intl
25983 .PHONY: maybe-clean-intl clean-intl
25984 maybe-clean-intl:
25985 @if intl
25986 maybe-clean-intl: clean-intl
25988 clean-intl:
25989 @[ -f ./intl/Makefile ] || exit 0; \
25990 r=`${PWD_COMMAND}`; export r; \
25991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25992 $(HOST_EXPORTS) \
25993 for flag in $(EXTRA_HOST_FLAGS) ; do \
25994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25995 done; \
25996 echo "Doing clean in intl" ; \
25997 (cd $(HOST_SUBDIR)/intl && \
25998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26000 "RANLIB=$${RANLIB}" \
26001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26002 clean) \
26003 || exit 1
26005 @endif intl
26007 .PHONY: maybe-distclean-intl distclean-intl
26008 maybe-distclean-intl:
26009 @if intl
26010 maybe-distclean-intl: distclean-intl
26012 distclean-intl:
26013 @[ -f ./intl/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 distclean in intl" ; \
26021 (cd $(HOST_SUBDIR)/intl && \
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 distclean) \
26027 || exit 1
26029 @endif intl
26031 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
26032 maybe-maintainer-clean-intl:
26033 @if intl
26034 maybe-maintainer-clean-intl: maintainer-clean-intl
26036 maintainer-clean-intl:
26037 @[ -f ./intl/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 maintainer-clean in intl" ; \
26045 (cd $(HOST_SUBDIR)/intl && \
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 maintainer-clean) \
26051 || exit 1
26053 @endif intl
26057 .PHONY: configure-tcl maybe-configure-tcl
26058 maybe-configure-tcl:
26059 @if gcc-bootstrap
26060 configure-tcl: stage_current
26061 @endif gcc-bootstrap
26062 @if tcl
26063 maybe-configure-tcl: configure-tcl
26064 configure-tcl:
26065 @: $(MAKE); $(unstage)
26066 @r=`${PWD_COMMAND}`; export r; \
26067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26068 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
26069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
26070 $(HOST_EXPORTS) \
26071 echo Configuring in $(HOST_SUBDIR)/tcl; \
26072 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
26073 case $(srcdir) in \
26074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26075 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
26076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26077 esac; \
26078 srcdiroption="--srcdir=$${topdir}/tcl"; \
26079 libsrcdir="$$s/tcl"; \
26080 $(SHELL) $${libsrcdir}/configure \
26081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26082 --target=${target_alias} $${srcdiroption} \
26083 || exit 1
26084 @endif tcl
26090 .PHONY: all-tcl maybe-all-tcl
26091 maybe-all-tcl:
26092 @if gcc-bootstrap
26093 all-tcl: stage_current
26094 @endif gcc-bootstrap
26095 @if tcl
26096 TARGET-tcl=all
26097 maybe-all-tcl: all-tcl
26098 all-tcl: configure-tcl
26099 @: $(MAKE); $(unstage)
26100 @r=`${PWD_COMMAND}`; export r; \
26101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26102 $(HOST_EXPORTS) \
26103 (cd $(HOST_SUBDIR)/tcl && \
26104 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26105 $(TARGET-tcl))
26106 @endif tcl
26111 .PHONY: check-tcl maybe-check-tcl
26112 maybe-check-tcl:
26113 @if tcl
26114 maybe-check-tcl: check-tcl
26116 check-tcl:
26117 @: $(MAKE); $(unstage)
26118 @r=`${PWD_COMMAND}`; export r; \
26119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26120 $(HOST_EXPORTS) \
26121 (cd $(HOST_SUBDIR)/tcl && \
26122 $(MAKE) $(FLAGS_TO_PASS) check)
26124 @endif tcl
26126 .PHONY: install-tcl maybe-install-tcl
26127 maybe-install-tcl:
26128 @if tcl
26129 maybe-install-tcl: install-tcl
26131 install-tcl: installdirs
26132 @: $(MAKE); $(unstage)
26133 @r=`${PWD_COMMAND}`; export r; \
26134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26135 $(HOST_EXPORTS) \
26136 (cd $(HOST_SUBDIR)/tcl && \
26137 $(MAKE) $(FLAGS_TO_PASS) install)
26139 @endif tcl
26141 .PHONY: install-strip-tcl maybe-install-strip-tcl
26142 maybe-install-strip-tcl:
26143 @if tcl
26144 maybe-install-strip-tcl: install-strip-tcl
26146 install-strip-tcl: installdirs
26147 @: $(MAKE); $(unstage)
26148 @r=`${PWD_COMMAND}`; export r; \
26149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26150 $(HOST_EXPORTS) \
26151 (cd $(HOST_SUBDIR)/tcl && \
26152 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26154 @endif tcl
26156 # Other targets (info, dvi, pdf, etc.)
26158 .PHONY: maybe-info-tcl info-tcl
26159 maybe-info-tcl:
26160 @if tcl
26161 maybe-info-tcl: info-tcl
26163 info-tcl: \
26164 configure-tcl
26165 @: $(MAKE); $(unstage)
26166 @[ -f ./tcl/Makefile ] || exit 0; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169 $(HOST_EXPORTS) \
26170 for flag in $(EXTRA_HOST_FLAGS) ; do \
26171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26172 done; \
26173 echo "Doing info in tcl" ; \
26174 (cd $(HOST_SUBDIR)/tcl && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26179 info) \
26180 || exit 1
26182 @endif tcl
26184 .PHONY: maybe-dvi-tcl dvi-tcl
26185 maybe-dvi-tcl:
26186 @if tcl
26187 maybe-dvi-tcl: dvi-tcl
26189 dvi-tcl: \
26190 configure-tcl
26191 @: $(MAKE); $(unstage)
26192 @[ -f ./tcl/Makefile ] || exit 0; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 for flag in $(EXTRA_HOST_FLAGS) ; do \
26197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26198 done; \
26199 echo "Doing dvi in tcl" ; \
26200 (cd $(HOST_SUBDIR)/tcl && \
26201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26203 "RANLIB=$${RANLIB}" \
26204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26205 dvi) \
26206 || exit 1
26208 @endif tcl
26210 .PHONY: maybe-pdf-tcl pdf-tcl
26211 maybe-pdf-tcl:
26212 @if tcl
26213 maybe-pdf-tcl: pdf-tcl
26215 pdf-tcl: \
26216 configure-tcl
26217 @: $(MAKE); $(unstage)
26218 @[ -f ./tcl/Makefile ] || exit 0; \
26219 r=`${PWD_COMMAND}`; export r; \
26220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 $(HOST_EXPORTS) \
26222 for flag in $(EXTRA_HOST_FLAGS) ; do \
26223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26224 done; \
26225 echo "Doing pdf in tcl" ; \
26226 (cd $(HOST_SUBDIR)/tcl && \
26227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26229 "RANLIB=$${RANLIB}" \
26230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26231 pdf) \
26232 || exit 1
26234 @endif tcl
26236 .PHONY: maybe-html-tcl html-tcl
26237 maybe-html-tcl:
26238 @if tcl
26239 maybe-html-tcl: html-tcl
26241 html-tcl: \
26242 configure-tcl
26243 @: $(MAKE); $(unstage)
26244 @[ -f ./tcl/Makefile ] || exit 0; \
26245 r=`${PWD_COMMAND}`; export r; \
26246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26247 $(HOST_EXPORTS) \
26248 for flag in $(EXTRA_HOST_FLAGS) ; do \
26249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26250 done; \
26251 echo "Doing html in tcl" ; \
26252 (cd $(HOST_SUBDIR)/tcl && \
26253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26255 "RANLIB=$${RANLIB}" \
26256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26257 html) \
26258 || exit 1
26260 @endif tcl
26262 .PHONY: maybe-TAGS-tcl TAGS-tcl
26263 maybe-TAGS-tcl:
26264 @if tcl
26265 maybe-TAGS-tcl: TAGS-tcl
26267 TAGS-tcl: \
26268 configure-tcl
26269 @: $(MAKE); $(unstage)
26270 @[ -f ./tcl/Makefile ] || exit 0; \
26271 r=`${PWD_COMMAND}`; export r; \
26272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26273 $(HOST_EXPORTS) \
26274 for flag in $(EXTRA_HOST_FLAGS) ; do \
26275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26276 done; \
26277 echo "Doing TAGS in tcl" ; \
26278 (cd $(HOST_SUBDIR)/tcl && \
26279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26281 "RANLIB=$${RANLIB}" \
26282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26283 TAGS) \
26284 || exit 1
26286 @endif tcl
26288 .PHONY: maybe-install-info-tcl install-info-tcl
26289 maybe-install-info-tcl:
26290 @if tcl
26291 maybe-install-info-tcl: install-info-tcl
26293 install-info-tcl: \
26294 configure-tcl \
26295 info-tcl
26296 @: $(MAKE); $(unstage)
26297 @[ -f ./tcl/Makefile ] || exit 0; \
26298 r=`${PWD_COMMAND}`; export r; \
26299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(HOST_EXPORTS) \
26301 for flag in $(EXTRA_HOST_FLAGS) ; do \
26302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26303 done; \
26304 echo "Doing install-info in tcl" ; \
26305 (cd $(HOST_SUBDIR)/tcl && \
26306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26308 "RANLIB=$${RANLIB}" \
26309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26310 install-info) \
26311 || exit 1
26313 @endif tcl
26315 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
26316 maybe-install-pdf-tcl:
26317 @if tcl
26318 maybe-install-pdf-tcl: install-pdf-tcl
26320 install-pdf-tcl: \
26321 configure-tcl \
26322 pdf-tcl
26323 @: $(MAKE); $(unstage)
26324 @[ -f ./tcl/Makefile ] || exit 0; \
26325 r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26327 $(HOST_EXPORTS) \
26328 for flag in $(EXTRA_HOST_FLAGS) ; do \
26329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26330 done; \
26331 echo "Doing install-pdf in tcl" ; \
26332 (cd $(HOST_SUBDIR)/tcl && \
26333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26335 "RANLIB=$${RANLIB}" \
26336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26337 install-pdf) \
26338 || exit 1
26340 @endif tcl
26342 .PHONY: maybe-install-html-tcl install-html-tcl
26343 maybe-install-html-tcl:
26344 @if tcl
26345 maybe-install-html-tcl: install-html-tcl
26347 install-html-tcl: \
26348 configure-tcl \
26349 html-tcl
26350 @: $(MAKE); $(unstage)
26351 @[ -f ./tcl/Makefile ] || exit 0; \
26352 r=`${PWD_COMMAND}`; export r; \
26353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26354 $(HOST_EXPORTS) \
26355 for flag in $(EXTRA_HOST_FLAGS) ; do \
26356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26357 done; \
26358 echo "Doing install-html in tcl" ; \
26359 (cd $(HOST_SUBDIR)/tcl && \
26360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26362 "RANLIB=$${RANLIB}" \
26363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26364 install-html) \
26365 || exit 1
26367 @endif tcl
26369 .PHONY: maybe-installcheck-tcl installcheck-tcl
26370 maybe-installcheck-tcl:
26371 @if tcl
26372 maybe-installcheck-tcl: installcheck-tcl
26374 installcheck-tcl: \
26375 configure-tcl
26376 @: $(MAKE); $(unstage)
26377 @[ -f ./tcl/Makefile ] || exit 0; \
26378 r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 for flag in $(EXTRA_HOST_FLAGS) ; do \
26382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26383 done; \
26384 echo "Doing installcheck in tcl" ; \
26385 (cd $(HOST_SUBDIR)/tcl && \
26386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26388 "RANLIB=$${RANLIB}" \
26389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26390 installcheck) \
26391 || exit 1
26393 @endif tcl
26395 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
26396 maybe-mostlyclean-tcl:
26397 @if tcl
26398 maybe-mostlyclean-tcl: mostlyclean-tcl
26400 # tcl doesn't support mostlyclean.
26401 mostlyclean-tcl:
26403 @endif tcl
26405 .PHONY: maybe-clean-tcl clean-tcl
26406 maybe-clean-tcl:
26407 @if tcl
26408 maybe-clean-tcl: clean-tcl
26410 clean-tcl:
26411 @: $(MAKE); $(unstage)
26412 @[ -f ./tcl/Makefile ] || exit 0; \
26413 r=`${PWD_COMMAND}`; export r; \
26414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26415 $(HOST_EXPORTS) \
26416 for flag in $(EXTRA_HOST_FLAGS) ; do \
26417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26418 done; \
26419 echo "Doing clean in tcl" ; \
26420 (cd $(HOST_SUBDIR)/tcl && \
26421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26423 "RANLIB=$${RANLIB}" \
26424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26425 clean) \
26426 || exit 1
26428 @endif tcl
26430 .PHONY: maybe-distclean-tcl distclean-tcl
26431 maybe-distclean-tcl:
26432 @if tcl
26433 maybe-distclean-tcl: distclean-tcl
26435 distclean-tcl:
26436 @: $(MAKE); $(unstage)
26437 @[ -f ./tcl/Makefile ] || exit 0; \
26438 r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(HOST_EXPORTS) \
26441 for flag in $(EXTRA_HOST_FLAGS) ; do \
26442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26443 done; \
26444 echo "Doing distclean in tcl" ; \
26445 (cd $(HOST_SUBDIR)/tcl && \
26446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26448 "RANLIB=$${RANLIB}" \
26449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26450 distclean) \
26451 || exit 1
26453 @endif tcl
26455 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
26456 maybe-maintainer-clean-tcl:
26457 @if tcl
26458 maybe-maintainer-clean-tcl: maintainer-clean-tcl
26460 maintainer-clean-tcl:
26461 @: $(MAKE); $(unstage)
26462 @[ -f ./tcl/Makefile ] || exit 0; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(HOST_EXPORTS) \
26466 for flag in $(EXTRA_HOST_FLAGS) ; do \
26467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 done; \
26469 echo "Doing maintainer-clean in tcl" ; \
26470 (cd $(HOST_SUBDIR)/tcl && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26475 maintainer-clean) \
26476 || exit 1
26478 @endif tcl
26482 .PHONY: configure-itcl maybe-configure-itcl
26483 maybe-configure-itcl:
26484 @if gcc-bootstrap
26485 configure-itcl: stage_current
26486 @endif gcc-bootstrap
26487 @if itcl
26488 maybe-configure-itcl: configure-itcl
26489 configure-itcl:
26490 @: $(MAKE); $(unstage)
26491 @r=`${PWD_COMMAND}`; export r; \
26492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26493 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
26494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
26495 $(HOST_EXPORTS) \
26496 echo Configuring in $(HOST_SUBDIR)/itcl; \
26497 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
26498 case $(srcdir) in \
26499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26500 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
26501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26502 esac; \
26503 srcdiroption="--srcdir=$${topdir}/itcl"; \
26504 libsrcdir="$$s/itcl"; \
26505 $(SHELL) $${libsrcdir}/configure \
26506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26507 --target=${target_alias} $${srcdiroption} \
26508 || exit 1
26509 @endif itcl
26515 .PHONY: all-itcl maybe-all-itcl
26516 maybe-all-itcl:
26517 @if gcc-bootstrap
26518 all-itcl: stage_current
26519 @endif gcc-bootstrap
26520 @if itcl
26521 TARGET-itcl=all
26522 maybe-all-itcl: all-itcl
26523 all-itcl: configure-itcl
26524 @: $(MAKE); $(unstage)
26525 @r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26527 $(HOST_EXPORTS) \
26528 (cd $(HOST_SUBDIR)/itcl && \
26529 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26530 $(TARGET-itcl))
26531 @endif itcl
26536 .PHONY: check-itcl maybe-check-itcl
26537 maybe-check-itcl:
26538 @if itcl
26539 maybe-check-itcl: check-itcl
26541 check-itcl:
26542 @: $(MAKE); $(unstage)
26543 @r=`${PWD_COMMAND}`; export r; \
26544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26545 $(HOST_EXPORTS) \
26546 (cd $(HOST_SUBDIR)/itcl && \
26547 $(MAKE) $(FLAGS_TO_PASS) check)
26549 @endif itcl
26551 .PHONY: install-itcl maybe-install-itcl
26552 maybe-install-itcl:
26553 @if itcl
26554 maybe-install-itcl: install-itcl
26556 install-itcl: installdirs
26557 @: $(MAKE); $(unstage)
26558 @r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 $(HOST_EXPORTS) \
26561 (cd $(HOST_SUBDIR)/itcl && \
26562 $(MAKE) $(FLAGS_TO_PASS) install)
26564 @endif itcl
26566 .PHONY: install-strip-itcl maybe-install-strip-itcl
26567 maybe-install-strip-itcl:
26568 @if itcl
26569 maybe-install-strip-itcl: install-strip-itcl
26571 install-strip-itcl: installdirs
26572 @: $(MAKE); $(unstage)
26573 @r=`${PWD_COMMAND}`; export r; \
26574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26575 $(HOST_EXPORTS) \
26576 (cd $(HOST_SUBDIR)/itcl && \
26577 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26579 @endif itcl
26581 # Other targets (info, dvi, pdf, etc.)
26583 .PHONY: maybe-info-itcl info-itcl
26584 maybe-info-itcl:
26585 @if itcl
26586 maybe-info-itcl: info-itcl
26588 info-itcl: \
26589 configure-itcl
26590 @: $(MAKE); $(unstage)
26591 @[ -f ./itcl/Makefile ] || exit 0; \
26592 r=`${PWD_COMMAND}`; export r; \
26593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26594 $(HOST_EXPORTS) \
26595 for flag in $(EXTRA_HOST_FLAGS) ; do \
26596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26597 done; \
26598 echo "Doing info in itcl" ; \
26599 (cd $(HOST_SUBDIR)/itcl && \
26600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26602 "RANLIB=$${RANLIB}" \
26603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26604 info) \
26605 || exit 1
26607 @endif itcl
26609 .PHONY: maybe-dvi-itcl dvi-itcl
26610 maybe-dvi-itcl:
26611 @if itcl
26612 maybe-dvi-itcl: dvi-itcl
26614 dvi-itcl: \
26615 configure-itcl
26616 @: $(MAKE); $(unstage)
26617 @[ -f ./itcl/Makefile ] || exit 0; \
26618 r=`${PWD_COMMAND}`; export r; \
26619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26620 $(HOST_EXPORTS) \
26621 for flag in $(EXTRA_HOST_FLAGS) ; do \
26622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26623 done; \
26624 echo "Doing dvi in itcl" ; \
26625 (cd $(HOST_SUBDIR)/itcl && \
26626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26628 "RANLIB=$${RANLIB}" \
26629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26630 dvi) \
26631 || exit 1
26633 @endif itcl
26635 .PHONY: maybe-pdf-itcl pdf-itcl
26636 maybe-pdf-itcl:
26637 @if itcl
26638 maybe-pdf-itcl: pdf-itcl
26640 pdf-itcl: \
26641 configure-itcl
26642 @: $(MAKE); $(unstage)
26643 @[ -f ./itcl/Makefile ] || exit 0; \
26644 r=`${PWD_COMMAND}`; export r; \
26645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26646 $(HOST_EXPORTS) \
26647 for flag in $(EXTRA_HOST_FLAGS) ; do \
26648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26649 done; \
26650 echo "Doing pdf in itcl" ; \
26651 (cd $(HOST_SUBDIR)/itcl && \
26652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26654 "RANLIB=$${RANLIB}" \
26655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26656 pdf) \
26657 || exit 1
26659 @endif itcl
26661 .PHONY: maybe-html-itcl html-itcl
26662 maybe-html-itcl:
26663 @if itcl
26664 maybe-html-itcl: html-itcl
26666 html-itcl: \
26667 configure-itcl
26668 @: $(MAKE); $(unstage)
26669 @[ -f ./itcl/Makefile ] || exit 0; \
26670 r=`${PWD_COMMAND}`; export r; \
26671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26672 $(HOST_EXPORTS) \
26673 for flag in $(EXTRA_HOST_FLAGS) ; do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 echo "Doing html in itcl" ; \
26677 (cd $(HOST_SUBDIR)/itcl && \
26678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26680 "RANLIB=$${RANLIB}" \
26681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26682 html) \
26683 || exit 1
26685 @endif itcl
26687 .PHONY: maybe-TAGS-itcl TAGS-itcl
26688 maybe-TAGS-itcl:
26689 @if itcl
26690 maybe-TAGS-itcl: TAGS-itcl
26692 TAGS-itcl: \
26693 configure-itcl
26694 @: $(MAKE); $(unstage)
26695 @[ -f ./itcl/Makefile ] || exit 0; \
26696 r=`${PWD_COMMAND}`; export r; \
26697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26698 $(HOST_EXPORTS) \
26699 for flag in $(EXTRA_HOST_FLAGS) ; do \
26700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26701 done; \
26702 echo "Doing TAGS in itcl" ; \
26703 (cd $(HOST_SUBDIR)/itcl && \
26704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26706 "RANLIB=$${RANLIB}" \
26707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26708 TAGS) \
26709 || exit 1
26711 @endif itcl
26713 .PHONY: maybe-install-info-itcl install-info-itcl
26714 maybe-install-info-itcl:
26715 @if itcl
26716 maybe-install-info-itcl: install-info-itcl
26718 install-info-itcl: \
26719 configure-itcl \
26720 info-itcl
26721 @: $(MAKE); $(unstage)
26722 @[ -f ./itcl/Makefile ] || exit 0; \
26723 r=`${PWD_COMMAND}`; export r; \
26724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26725 $(HOST_EXPORTS) \
26726 for flag in $(EXTRA_HOST_FLAGS) ; do \
26727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26728 done; \
26729 echo "Doing install-info in itcl" ; \
26730 (cd $(HOST_SUBDIR)/itcl && \
26731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26733 "RANLIB=$${RANLIB}" \
26734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26735 install-info) \
26736 || exit 1
26738 @endif itcl
26740 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
26741 maybe-install-pdf-itcl:
26742 @if itcl
26743 maybe-install-pdf-itcl: install-pdf-itcl
26745 install-pdf-itcl: \
26746 configure-itcl \
26747 pdf-itcl
26748 @: $(MAKE); $(unstage)
26749 @[ -f ./itcl/Makefile ] || exit 0; \
26750 r=`${PWD_COMMAND}`; export r; \
26751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26752 $(HOST_EXPORTS) \
26753 for flag in $(EXTRA_HOST_FLAGS) ; do \
26754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26755 done; \
26756 echo "Doing install-pdf in itcl" ; \
26757 (cd $(HOST_SUBDIR)/itcl && \
26758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26760 "RANLIB=$${RANLIB}" \
26761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26762 install-pdf) \
26763 || exit 1
26765 @endif itcl
26767 .PHONY: maybe-install-html-itcl install-html-itcl
26768 maybe-install-html-itcl:
26769 @if itcl
26770 maybe-install-html-itcl: install-html-itcl
26772 install-html-itcl: \
26773 configure-itcl \
26774 html-itcl
26775 @: $(MAKE); $(unstage)
26776 @[ -f ./itcl/Makefile ] || exit 0; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(HOST_EXPORTS) \
26780 for flag in $(EXTRA_HOST_FLAGS) ; do \
26781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26782 done; \
26783 echo "Doing install-html in itcl" ; \
26784 (cd $(HOST_SUBDIR)/itcl && \
26785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787 "RANLIB=$${RANLIB}" \
26788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26789 install-html) \
26790 || exit 1
26792 @endif itcl
26794 .PHONY: maybe-installcheck-itcl installcheck-itcl
26795 maybe-installcheck-itcl:
26796 @if itcl
26797 maybe-installcheck-itcl: installcheck-itcl
26799 installcheck-itcl: \
26800 configure-itcl
26801 @: $(MAKE); $(unstage)
26802 @[ -f ./itcl/Makefile ] || exit 0; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(HOST_EXPORTS) \
26806 for flag in $(EXTRA_HOST_FLAGS) ; do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 echo "Doing installcheck in itcl" ; \
26810 (cd $(HOST_SUBDIR)/itcl && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26815 installcheck) \
26816 || exit 1
26818 @endif itcl
26820 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
26821 maybe-mostlyclean-itcl:
26822 @if itcl
26823 maybe-mostlyclean-itcl: mostlyclean-itcl
26825 mostlyclean-itcl:
26826 @: $(MAKE); $(unstage)
26827 @[ -f ./itcl/Makefile ] || exit 0; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(HOST_EXPORTS) \
26831 for flag in $(EXTRA_HOST_FLAGS) ; do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 echo "Doing mostlyclean in itcl" ; \
26835 (cd $(HOST_SUBDIR)/itcl && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26840 mostlyclean) \
26841 || exit 1
26843 @endif itcl
26845 .PHONY: maybe-clean-itcl clean-itcl
26846 maybe-clean-itcl:
26847 @if itcl
26848 maybe-clean-itcl: clean-itcl
26850 clean-itcl:
26851 @: $(MAKE); $(unstage)
26852 @[ -f ./itcl/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing clean in itcl" ; \
26860 (cd $(HOST_SUBDIR)/itcl && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26865 clean) \
26866 || exit 1
26868 @endif itcl
26870 .PHONY: maybe-distclean-itcl distclean-itcl
26871 maybe-distclean-itcl:
26872 @if itcl
26873 maybe-distclean-itcl: distclean-itcl
26875 distclean-itcl:
26876 @: $(MAKE); $(unstage)
26877 @[ -f ./itcl/Makefile ] || exit 0; \
26878 r=`${PWD_COMMAND}`; export r; \
26879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 $(HOST_EXPORTS) \
26881 for flag in $(EXTRA_HOST_FLAGS) ; do \
26882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26883 done; \
26884 echo "Doing distclean in itcl" ; \
26885 (cd $(HOST_SUBDIR)/itcl && \
26886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26888 "RANLIB=$${RANLIB}" \
26889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26890 distclean) \
26891 || exit 1
26893 @endif itcl
26895 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
26896 maybe-maintainer-clean-itcl:
26897 @if itcl
26898 maybe-maintainer-clean-itcl: maintainer-clean-itcl
26900 maintainer-clean-itcl:
26901 @: $(MAKE); $(unstage)
26902 @[ -f ./itcl/Makefile ] || exit 0; \
26903 r=`${PWD_COMMAND}`; export r; \
26904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26905 $(HOST_EXPORTS) \
26906 for flag in $(EXTRA_HOST_FLAGS) ; do \
26907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26908 done; \
26909 echo "Doing maintainer-clean in itcl" ; \
26910 (cd $(HOST_SUBDIR)/itcl && \
26911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26913 "RANLIB=$${RANLIB}" \
26914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26915 maintainer-clean) \
26916 || exit 1
26918 @endif itcl
26922 .PHONY: configure-ld maybe-configure-ld
26923 maybe-configure-ld:
26924 @if gcc-bootstrap
26925 configure-ld: stage_current
26926 @endif gcc-bootstrap
26927 @if ld
26928 maybe-configure-ld: configure-ld
26929 configure-ld:
26930 @r=`${PWD_COMMAND}`; export r; \
26931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26932 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26934 $(HOST_EXPORTS) \
26935 echo Configuring in $(HOST_SUBDIR)/ld; \
26936 cd "$(HOST_SUBDIR)/ld" || exit 1; \
26937 case $(srcdir) in \
26938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26939 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26941 esac; \
26942 srcdiroption="--srcdir=$${topdir}/ld"; \
26943 libsrcdir="$$s/ld"; \
26944 $(SHELL) $${libsrcdir}/configure \
26945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26946 --target=${target_alias} $${srcdiroption} \
26947 || exit 1
26948 @endif ld
26952 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
26953 maybe-configure-stage1-ld:
26954 @if ld-bootstrap
26955 maybe-configure-stage1-ld: configure-stage1-ld
26956 configure-stage1-ld:
26957 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26958 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26959 @r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 TFLAGS="$(STAGE1_TFLAGS)"; \
26962 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26963 $(HOST_EXPORTS) \
26964 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26965 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26966 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26967 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
26968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26969 cd $(HOST_SUBDIR)/ld || exit 1; \
26970 case $(srcdir) in \
26971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26972 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26974 esac; \
26975 srcdiroption="--srcdir=$${topdir}/ld"; \
26976 libsrcdir="$$s/ld"; \
26977 $(SHELL) $${libsrcdir}/configure \
26978 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26979 --target=${target_alias} $${srcdiroption} \
26980 $(STAGE1_CONFIGURE_FLAGS)
26981 @endif ld-bootstrap
26983 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
26984 maybe-configure-stage2-ld:
26985 @if ld-bootstrap
26986 maybe-configure-stage2-ld: configure-stage2-ld
26987 configure-stage2-ld:
26988 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 TFLAGS="$(STAGE2_TFLAGS)"; \
26993 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26994 $(HOST_EXPORTS) \
26995 $(POSTSTAGE1_HOST_EXPORTS) \
26996 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26997 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26998 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26999 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
27000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
27001 cd $(HOST_SUBDIR)/ld || exit 1; \
27002 case $(srcdir) in \
27003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27004 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
27005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27006 esac; \
27007 srcdiroption="--srcdir=$${topdir}/ld"; \
27008 libsrcdir="$$s/ld"; \
27009 $(SHELL) $${libsrcdir}/configure \
27010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27011 --target=${target_alias} $${srcdiroption} \
27012 --with-build-libsubdir=$(HOST_SUBDIR) \
27013 $(STAGE2_CONFIGURE_FLAGS)
27014 @endif ld-bootstrap
27016 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
27017 maybe-configure-stage3-ld:
27018 @if ld-bootstrap
27019 maybe-configure-stage3-ld: configure-stage3-ld
27020 configure-stage3-ld:
27021 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
27023 @r=`${PWD_COMMAND}`; export r; \
27024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27025 TFLAGS="$(STAGE3_TFLAGS)"; \
27026 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
27027 $(HOST_EXPORTS) \
27028 $(POSTSTAGE1_HOST_EXPORTS) \
27029 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27030 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27031 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27032 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
27033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
27034 cd $(HOST_SUBDIR)/ld || exit 1; \
27035 case $(srcdir) in \
27036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27037 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
27038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27039 esac; \
27040 srcdiroption="--srcdir=$${topdir}/ld"; \
27041 libsrcdir="$$s/ld"; \
27042 $(SHELL) $${libsrcdir}/configure \
27043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27044 --target=${target_alias} $${srcdiroption} \
27045 --with-build-libsubdir=$(HOST_SUBDIR) \
27046 $(STAGE3_CONFIGURE_FLAGS)
27047 @endif ld-bootstrap
27049 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
27050 maybe-configure-stage4-ld:
27051 @if ld-bootstrap
27052 maybe-configure-stage4-ld: configure-stage4-ld
27053 configure-stage4-ld:
27054 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
27056 @r=`${PWD_COMMAND}`; export r; \
27057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27058 TFLAGS="$(STAGE4_TFLAGS)"; \
27059 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
27060 $(HOST_EXPORTS) \
27061 $(POSTSTAGE1_HOST_EXPORTS) \
27062 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27063 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27064 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27065 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
27066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
27067 cd $(HOST_SUBDIR)/ld || exit 1; \
27068 case $(srcdir) in \
27069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27070 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
27071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27072 esac; \
27073 srcdiroption="--srcdir=$${topdir}/ld"; \
27074 libsrcdir="$$s/ld"; \
27075 $(SHELL) $${libsrcdir}/configure \
27076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27077 --target=${target_alias} $${srcdiroption} \
27078 --with-build-libsubdir=$(HOST_SUBDIR) \
27079 $(STAGE4_CONFIGURE_FLAGS)
27080 @endif ld-bootstrap
27082 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
27083 maybe-configure-stageprofile-ld:
27084 @if ld-bootstrap
27085 maybe-configure-stageprofile-ld: configure-stageprofile-ld
27086 configure-stageprofile-ld:
27087 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
27089 @r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27092 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
27093 $(HOST_EXPORTS) \
27094 $(POSTSTAGE1_HOST_EXPORTS) \
27095 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27096 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27097 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27098 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
27099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
27100 cd $(HOST_SUBDIR)/ld || exit 1; \
27101 case $(srcdir) in \
27102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27103 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
27104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27105 esac; \
27106 srcdiroption="--srcdir=$${topdir}/ld"; \
27107 libsrcdir="$$s/ld"; \
27108 $(SHELL) $${libsrcdir}/configure \
27109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27110 --target=${target_alias} $${srcdiroption} \
27111 --with-build-libsubdir=$(HOST_SUBDIR) \
27112 $(STAGEprofile_CONFIGURE_FLAGS)
27113 @endif ld-bootstrap
27115 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
27116 maybe-configure-stagefeedback-ld:
27117 @if ld-bootstrap
27118 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
27119 configure-stagefeedback-ld:
27120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
27122 @r=`${PWD_COMMAND}`; export r; \
27123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27125 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
27126 $(HOST_EXPORTS) \
27127 $(POSTSTAGE1_HOST_EXPORTS) \
27128 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27129 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27130 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27131 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
27132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
27133 cd $(HOST_SUBDIR)/ld || exit 1; \
27134 case $(srcdir) in \
27135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27136 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
27137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27138 esac; \
27139 srcdiroption="--srcdir=$${topdir}/ld"; \
27140 libsrcdir="$$s/ld"; \
27141 $(SHELL) $${libsrcdir}/configure \
27142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27143 --target=${target_alias} $${srcdiroption} \
27144 --with-build-libsubdir=$(HOST_SUBDIR) \
27145 $(STAGEfeedback_CONFIGURE_FLAGS)
27146 @endif ld-bootstrap
27152 .PHONY: all-ld maybe-all-ld
27153 maybe-all-ld:
27154 @if gcc-bootstrap
27155 all-ld: stage_current
27156 @endif gcc-bootstrap
27157 @if ld
27158 TARGET-ld=all
27159 maybe-all-ld: all-ld
27160 all-ld: configure-ld
27161 @r=`${PWD_COMMAND}`; export r; \
27162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27163 $(HOST_EXPORTS) \
27164 (cd $(HOST_SUBDIR)/ld && \
27165 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27166 $(TARGET-ld))
27167 @endif ld
27171 .PHONY: all-stage1-ld maybe-all-stage1-ld
27172 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
27173 maybe-all-stage1-ld:
27174 maybe-clean-stage1-ld:
27175 @if ld-bootstrap
27176 maybe-all-stage1-ld: all-stage1-ld
27177 all-stage1: all-stage1-ld
27178 TARGET-stage1-ld = $(TARGET-ld)
27179 all-stage1-ld: configure-stage1-ld
27180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27181 @r=`${PWD_COMMAND}`; export r; \
27182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27183 TFLAGS="$(STAGE1_TFLAGS)"; \
27184 $(HOST_EXPORTS) \
27185 cd $(HOST_SUBDIR)/ld && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27187 CFLAGS="$(STAGE1_CFLAGS)" \
27188 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27189 LIBCFLAGS="$(LIBCFLAGS)" \
27190 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27191 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27192 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27193 $(EXTRA_HOST_FLAGS) \
27194 TFLAGS="$(STAGE1_TFLAGS)" \
27195 $(TARGET-stage1-ld)
27197 maybe-clean-stage1-ld: clean-stage1-ld
27198 clean-stage1: clean-stage1-ld
27199 clean-stage1-ld:
27200 @if [ $(current_stage) = stage1 ]; then \
27201 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27202 else \
27203 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
27204 $(MAKE) stage1-start; \
27205 fi; \
27206 cd $(HOST_SUBDIR)/ld && \
27207 $(MAKE) $(EXTRA_HOST_FLAGS) \
27208 clean
27209 @endif ld-bootstrap
27212 .PHONY: all-stage2-ld maybe-all-stage2-ld
27213 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
27214 maybe-all-stage2-ld:
27215 maybe-clean-stage2-ld:
27216 @if ld-bootstrap
27217 maybe-all-stage2-ld: all-stage2-ld
27218 all-stage2: all-stage2-ld
27219 TARGET-stage2-ld = $(TARGET-ld)
27220 all-stage2-ld: configure-stage2-ld
27221 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27222 @r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224 TFLAGS="$(STAGE2_TFLAGS)"; \
27225 $(HOST_EXPORTS) \
27226 $(POSTSTAGE1_HOST_EXPORTS) \
27227 cd $(HOST_SUBDIR)/ld && \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27229 CFLAGS="$(STAGE2_CFLAGS)" \
27230 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27231 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27236 TFLAGS="$(STAGE2_TFLAGS)" \
27237 $(TARGET-stage2-ld)
27239 maybe-clean-stage2-ld: clean-stage2-ld
27240 clean-stage2: clean-stage2-ld
27241 clean-stage2-ld:
27242 @if [ $(current_stage) = stage2 ]; then \
27243 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27244 else \
27245 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
27246 $(MAKE) stage2-start; \
27247 fi; \
27248 cd $(HOST_SUBDIR)/ld && \
27249 $(MAKE) $(EXTRA_HOST_FLAGS) \
27250 $(POSTSTAGE1_FLAGS_TO_PASS) \
27251 clean
27252 @endif ld-bootstrap
27255 .PHONY: all-stage3-ld maybe-all-stage3-ld
27256 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
27257 maybe-all-stage3-ld:
27258 maybe-clean-stage3-ld:
27259 @if ld-bootstrap
27260 maybe-all-stage3-ld: all-stage3-ld
27261 all-stage3: all-stage3-ld
27262 TARGET-stage3-ld = $(TARGET-ld)
27263 all-stage3-ld: configure-stage3-ld
27264 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27265 @r=`${PWD_COMMAND}`; export r; \
27266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27267 TFLAGS="$(STAGE3_TFLAGS)"; \
27268 $(HOST_EXPORTS) \
27269 $(POSTSTAGE1_HOST_EXPORTS) \
27270 cd $(HOST_SUBDIR)/ld && \
27271 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27272 CFLAGS="$(STAGE3_CFLAGS)" \
27273 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27274 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27279 TFLAGS="$(STAGE3_TFLAGS)" \
27280 $(TARGET-stage3-ld)
27282 maybe-clean-stage3-ld: clean-stage3-ld
27283 clean-stage3: clean-stage3-ld
27284 clean-stage3-ld:
27285 @if [ $(current_stage) = stage3 ]; then \
27286 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27287 else \
27288 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
27289 $(MAKE) stage3-start; \
27290 fi; \
27291 cd $(HOST_SUBDIR)/ld && \
27292 $(MAKE) $(EXTRA_HOST_FLAGS) \
27293 $(POSTSTAGE1_FLAGS_TO_PASS) \
27294 clean
27295 @endif ld-bootstrap
27298 .PHONY: all-stage4-ld maybe-all-stage4-ld
27299 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
27300 maybe-all-stage4-ld:
27301 maybe-clean-stage4-ld:
27302 @if ld-bootstrap
27303 maybe-all-stage4-ld: all-stage4-ld
27304 all-stage4: all-stage4-ld
27305 TARGET-stage4-ld = $(TARGET-ld)
27306 all-stage4-ld: configure-stage4-ld
27307 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27308 @r=`${PWD_COMMAND}`; export r; \
27309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27310 TFLAGS="$(STAGE4_TFLAGS)"; \
27311 $(HOST_EXPORTS) \
27312 $(POSTSTAGE1_HOST_EXPORTS) \
27313 cd $(HOST_SUBDIR)/ld && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27315 CFLAGS="$(STAGE4_CFLAGS)" \
27316 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27317 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27322 TFLAGS="$(STAGE4_TFLAGS)" \
27323 $(TARGET-stage4-ld)
27325 maybe-clean-stage4-ld: clean-stage4-ld
27326 clean-stage4: clean-stage4-ld
27327 clean-stage4-ld:
27328 @if [ $(current_stage) = stage4 ]; then \
27329 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27330 else \
27331 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
27332 $(MAKE) stage4-start; \
27333 fi; \
27334 cd $(HOST_SUBDIR)/ld && \
27335 $(MAKE) $(EXTRA_HOST_FLAGS) \
27336 $(POSTSTAGE1_FLAGS_TO_PASS) \
27337 clean
27338 @endif ld-bootstrap
27341 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
27342 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
27343 maybe-all-stageprofile-ld:
27344 maybe-clean-stageprofile-ld:
27345 @if ld-bootstrap
27346 maybe-all-stageprofile-ld: all-stageprofile-ld
27347 all-stageprofile: all-stageprofile-ld
27348 TARGET-stageprofile-ld = $(TARGET-ld)
27349 all-stageprofile-ld: configure-stageprofile-ld
27350 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27351 @r=`${PWD_COMMAND}`; export r; \
27352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27353 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27354 $(HOST_EXPORTS) \
27355 $(POSTSTAGE1_HOST_EXPORTS) \
27356 cd $(HOST_SUBDIR)/ld && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27358 CFLAGS="$(STAGEprofile_CFLAGS)" \
27359 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27360 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27365 TFLAGS="$(STAGEprofile_TFLAGS)" \
27366 $(TARGET-stageprofile-ld)
27368 maybe-clean-stageprofile-ld: clean-stageprofile-ld
27369 clean-stageprofile: clean-stageprofile-ld
27370 clean-stageprofile-ld:
27371 @if [ $(current_stage) = stageprofile ]; then \
27372 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27373 else \
27374 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
27375 $(MAKE) stageprofile-start; \
27376 fi; \
27377 cd $(HOST_SUBDIR)/ld && \
27378 $(MAKE) $(EXTRA_HOST_FLAGS) \
27379 $(POSTSTAGE1_FLAGS_TO_PASS) \
27380 clean
27381 @endif ld-bootstrap
27384 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
27385 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
27386 maybe-all-stagefeedback-ld:
27387 maybe-clean-stagefeedback-ld:
27388 @if ld-bootstrap
27389 maybe-all-stagefeedback-ld: all-stagefeedback-ld
27390 all-stagefeedback: all-stagefeedback-ld
27391 TARGET-stagefeedback-ld = $(TARGET-ld)
27392 all-stagefeedback-ld: configure-stagefeedback-ld
27393 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27394 @r=`${PWD_COMMAND}`; export r; \
27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27396 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27397 $(HOST_EXPORTS) \
27398 $(POSTSTAGE1_HOST_EXPORTS) \
27399 cd $(HOST_SUBDIR)/ld && \
27400 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27401 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27402 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27403 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27408 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27409 $(TARGET-stagefeedback-ld)
27411 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
27412 clean-stagefeedback: clean-stagefeedback-ld
27413 clean-stagefeedback-ld:
27414 @if [ $(current_stage) = stagefeedback ]; then \
27415 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
27416 else \
27417 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
27418 $(MAKE) stagefeedback-start; \
27419 fi; \
27420 cd $(HOST_SUBDIR)/ld && \
27421 $(MAKE) $(EXTRA_HOST_FLAGS) \
27422 $(POSTSTAGE1_FLAGS_TO_PASS) \
27423 clean
27424 @endif ld-bootstrap
27430 .PHONY: check-ld maybe-check-ld
27431 maybe-check-ld:
27432 @if ld
27433 maybe-check-ld: check-ld
27435 check-ld:
27436 @: $(MAKE); $(unstage)
27437 @r=`${PWD_COMMAND}`; export r; \
27438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27439 $(HOST_EXPORTS) \
27440 (cd $(HOST_SUBDIR)/ld && \
27441 $(MAKE) $(FLAGS_TO_PASS) check)
27443 @endif ld
27445 .PHONY: install-ld maybe-install-ld
27446 maybe-install-ld:
27447 @if ld
27448 maybe-install-ld: install-ld
27450 install-ld: installdirs
27451 @: $(MAKE); $(unstage)
27452 @r=`${PWD_COMMAND}`; export r; \
27453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27454 $(HOST_EXPORTS) \
27455 (cd $(HOST_SUBDIR)/ld && \
27456 $(MAKE) $(FLAGS_TO_PASS) install)
27458 @endif ld
27460 .PHONY: install-strip-ld maybe-install-strip-ld
27461 maybe-install-strip-ld:
27462 @if ld
27463 maybe-install-strip-ld: install-strip-ld
27465 install-strip-ld: installdirs
27466 @: $(MAKE); $(unstage)
27467 @r=`${PWD_COMMAND}`; export r; \
27468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27469 $(HOST_EXPORTS) \
27470 (cd $(HOST_SUBDIR)/ld && \
27471 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27473 @endif ld
27475 # Other targets (info, dvi, pdf, etc.)
27477 .PHONY: maybe-info-ld info-ld
27478 maybe-info-ld:
27479 @if ld
27480 maybe-info-ld: info-ld
27482 info-ld: \
27483 configure-ld
27484 @[ -f ./ld/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 echo "Doing info in ld" ; \
27492 (cd $(HOST_SUBDIR)/ld && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27497 info) \
27498 || exit 1
27500 @endif ld
27502 .PHONY: maybe-dvi-ld dvi-ld
27503 maybe-dvi-ld:
27504 @if ld
27505 maybe-dvi-ld: dvi-ld
27507 dvi-ld: \
27508 configure-ld
27509 @[ -f ./ld/Makefile ] || exit 0; \
27510 r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(HOST_EXPORTS) \
27513 for flag in $(EXTRA_HOST_FLAGS) ; do \
27514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27515 done; \
27516 echo "Doing dvi in ld" ; \
27517 (cd $(HOST_SUBDIR)/ld && \
27518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27520 "RANLIB=$${RANLIB}" \
27521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27522 dvi) \
27523 || exit 1
27525 @endif ld
27527 .PHONY: maybe-pdf-ld pdf-ld
27528 maybe-pdf-ld:
27529 @if ld
27530 maybe-pdf-ld: pdf-ld
27532 pdf-ld: \
27533 configure-ld
27534 @[ -f ./ld/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing pdf in ld" ; \
27542 (cd $(HOST_SUBDIR)/ld && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27547 pdf) \
27548 || exit 1
27550 @endif ld
27552 .PHONY: maybe-html-ld html-ld
27553 maybe-html-ld:
27554 @if ld
27555 maybe-html-ld: html-ld
27557 html-ld: \
27558 configure-ld
27559 @[ -f ./ld/Makefile ] || exit 0; \
27560 r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 $(HOST_EXPORTS) \
27563 for flag in $(EXTRA_HOST_FLAGS) ; do \
27564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27565 done; \
27566 echo "Doing html in ld" ; \
27567 (cd $(HOST_SUBDIR)/ld && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27570 "RANLIB=$${RANLIB}" \
27571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27572 html) \
27573 || exit 1
27575 @endif ld
27577 .PHONY: maybe-TAGS-ld TAGS-ld
27578 maybe-TAGS-ld:
27579 @if ld
27580 maybe-TAGS-ld: TAGS-ld
27582 TAGS-ld: \
27583 configure-ld
27584 @[ -f ./ld/Makefile ] || exit 0; \
27585 r=`${PWD_COMMAND}`; export r; \
27586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27587 $(HOST_EXPORTS) \
27588 for flag in $(EXTRA_HOST_FLAGS) ; do \
27589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27590 done; \
27591 echo "Doing TAGS in ld" ; \
27592 (cd $(HOST_SUBDIR)/ld && \
27593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27595 "RANLIB=$${RANLIB}" \
27596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27597 TAGS) \
27598 || exit 1
27600 @endif ld
27602 .PHONY: maybe-install-info-ld install-info-ld
27603 maybe-install-info-ld:
27604 @if ld
27605 maybe-install-info-ld: install-info-ld
27607 install-info-ld: \
27608 configure-ld \
27609 info-ld
27610 @[ -f ./ld/Makefile ] || exit 0; \
27611 r=`${PWD_COMMAND}`; export r; \
27612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27613 $(HOST_EXPORTS) \
27614 for flag in $(EXTRA_HOST_FLAGS) ; do \
27615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27616 done; \
27617 echo "Doing install-info in ld" ; \
27618 (cd $(HOST_SUBDIR)/ld && \
27619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27621 "RANLIB=$${RANLIB}" \
27622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27623 install-info) \
27624 || exit 1
27626 @endif ld
27628 .PHONY: maybe-install-pdf-ld install-pdf-ld
27629 maybe-install-pdf-ld:
27630 @if ld
27631 maybe-install-pdf-ld: install-pdf-ld
27633 install-pdf-ld: \
27634 configure-ld \
27635 pdf-ld
27636 @[ -f ./ld/Makefile ] || exit 0; \
27637 r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 $(HOST_EXPORTS) \
27640 for flag in $(EXTRA_HOST_FLAGS) ; do \
27641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27642 done; \
27643 echo "Doing install-pdf in ld" ; \
27644 (cd $(HOST_SUBDIR)/ld && \
27645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27647 "RANLIB=$${RANLIB}" \
27648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27649 install-pdf) \
27650 || exit 1
27652 @endif ld
27654 .PHONY: maybe-install-html-ld install-html-ld
27655 maybe-install-html-ld:
27656 @if ld
27657 maybe-install-html-ld: install-html-ld
27659 install-html-ld: \
27660 configure-ld \
27661 html-ld
27662 @[ -f ./ld/Makefile ] || exit 0; \
27663 r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(HOST_EXPORTS) \
27666 for flag in $(EXTRA_HOST_FLAGS) ; do \
27667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27668 done; \
27669 echo "Doing install-html in ld" ; \
27670 (cd $(HOST_SUBDIR)/ld && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27673 "RANLIB=$${RANLIB}" \
27674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27675 install-html) \
27676 || exit 1
27678 @endif ld
27680 .PHONY: maybe-installcheck-ld installcheck-ld
27681 maybe-installcheck-ld:
27682 @if ld
27683 maybe-installcheck-ld: installcheck-ld
27685 installcheck-ld: \
27686 configure-ld
27687 @[ -f ./ld/Makefile ] || exit 0; \
27688 r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 $(HOST_EXPORTS) \
27691 for flag in $(EXTRA_HOST_FLAGS) ; do \
27692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27693 done; \
27694 echo "Doing installcheck in ld" ; \
27695 (cd $(HOST_SUBDIR)/ld && \
27696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27698 "RANLIB=$${RANLIB}" \
27699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27700 installcheck) \
27701 || exit 1
27703 @endif ld
27705 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
27706 maybe-mostlyclean-ld:
27707 @if ld
27708 maybe-mostlyclean-ld: mostlyclean-ld
27710 mostlyclean-ld:
27711 @[ -f ./ld/Makefile ] || exit 0; \
27712 r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 $(HOST_EXPORTS) \
27715 for flag in $(EXTRA_HOST_FLAGS) ; do \
27716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27717 done; \
27718 echo "Doing mostlyclean in ld" ; \
27719 (cd $(HOST_SUBDIR)/ld && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27724 mostlyclean) \
27725 || exit 1
27727 @endif ld
27729 .PHONY: maybe-clean-ld clean-ld
27730 maybe-clean-ld:
27731 @if ld
27732 maybe-clean-ld: clean-ld
27734 clean-ld:
27735 @[ -f ./ld/Makefile ] || exit 0; \
27736 r=`${PWD_COMMAND}`; export r; \
27737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27738 $(HOST_EXPORTS) \
27739 for flag in $(EXTRA_HOST_FLAGS) ; do \
27740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27741 done; \
27742 echo "Doing clean in ld" ; \
27743 (cd $(HOST_SUBDIR)/ld && \
27744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27746 "RANLIB=$${RANLIB}" \
27747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27748 clean) \
27749 || exit 1
27751 @endif ld
27753 .PHONY: maybe-distclean-ld distclean-ld
27754 maybe-distclean-ld:
27755 @if ld
27756 maybe-distclean-ld: distclean-ld
27758 distclean-ld:
27759 @[ -f ./ld/Makefile ] || exit 0; \
27760 r=`${PWD_COMMAND}`; export r; \
27761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27762 $(HOST_EXPORTS) \
27763 for flag in $(EXTRA_HOST_FLAGS) ; do \
27764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27765 done; \
27766 echo "Doing distclean in ld" ; \
27767 (cd $(HOST_SUBDIR)/ld && \
27768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27770 "RANLIB=$${RANLIB}" \
27771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27772 distclean) \
27773 || exit 1
27775 @endif ld
27777 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
27778 maybe-maintainer-clean-ld:
27779 @if ld
27780 maybe-maintainer-clean-ld: maintainer-clean-ld
27782 maintainer-clean-ld:
27783 @[ -f ./ld/Makefile ] || exit 0; \
27784 r=`${PWD_COMMAND}`; export r; \
27785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27786 $(HOST_EXPORTS) \
27787 for flag in $(EXTRA_HOST_FLAGS) ; do \
27788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27789 done; \
27790 echo "Doing maintainer-clean in ld" ; \
27791 (cd $(HOST_SUBDIR)/ld && \
27792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27794 "RANLIB=$${RANLIB}" \
27795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27796 maintainer-clean) \
27797 || exit 1
27799 @endif ld
27803 .PHONY: configure-libcpp maybe-configure-libcpp
27804 maybe-configure-libcpp:
27805 @if gcc-bootstrap
27806 configure-libcpp: stage_current
27807 @endif gcc-bootstrap
27808 @if libcpp
27809 maybe-configure-libcpp: configure-libcpp
27810 configure-libcpp:
27811 @r=`${PWD_COMMAND}`; export r; \
27812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27813 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27815 $(HOST_EXPORTS) \
27816 echo Configuring in $(HOST_SUBDIR)/libcpp; \
27817 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
27818 case $(srcdir) in \
27819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27820 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27822 esac; \
27823 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27824 libsrcdir="$$s/libcpp"; \
27825 $(SHELL) $${libsrcdir}/configure \
27826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27827 --target=${target_alias} $${srcdiroption} \
27828 || exit 1
27829 @endif libcpp
27833 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
27834 maybe-configure-stage1-libcpp:
27835 @if libcpp-bootstrap
27836 maybe-configure-stage1-libcpp: configure-stage1-libcpp
27837 configure-stage1-libcpp:
27838 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27840 @r=`${PWD_COMMAND}`; export r; \
27841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27842 TFLAGS="$(STAGE1_TFLAGS)"; \
27843 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27844 $(HOST_EXPORTS) \
27845 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27846 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27847 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27848 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
27849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27850 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27851 case $(srcdir) in \
27852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27853 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27855 esac; \
27856 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27857 libsrcdir="$$s/libcpp"; \
27858 $(SHELL) $${libsrcdir}/configure \
27859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27860 --target=${target_alias} $${srcdiroption} \
27861 $(STAGE1_CONFIGURE_FLAGS)
27862 @endif libcpp-bootstrap
27864 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
27865 maybe-configure-stage2-libcpp:
27866 @if libcpp-bootstrap
27867 maybe-configure-stage2-libcpp: configure-stage2-libcpp
27868 configure-stage2-libcpp:
27869 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27870 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27871 @r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 TFLAGS="$(STAGE2_TFLAGS)"; \
27874 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27875 $(HOST_EXPORTS) \
27876 $(POSTSTAGE1_HOST_EXPORTS) \
27877 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27878 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27879 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27880 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
27881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27882 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27883 case $(srcdir) in \
27884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27885 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27887 esac; \
27888 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27889 libsrcdir="$$s/libcpp"; \
27890 $(SHELL) $${libsrcdir}/configure \
27891 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27892 --target=${target_alias} $${srcdiroption} \
27893 --with-build-libsubdir=$(HOST_SUBDIR) \
27894 $(STAGE2_CONFIGURE_FLAGS)
27895 @endif libcpp-bootstrap
27897 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
27898 maybe-configure-stage3-libcpp:
27899 @if libcpp-bootstrap
27900 maybe-configure-stage3-libcpp: configure-stage3-libcpp
27901 configure-stage3-libcpp:
27902 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27903 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27904 @r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 TFLAGS="$(STAGE3_TFLAGS)"; \
27907 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27908 $(HOST_EXPORTS) \
27909 $(POSTSTAGE1_HOST_EXPORTS) \
27910 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27911 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27912 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27913 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
27914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27915 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27916 case $(srcdir) in \
27917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27918 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27920 esac; \
27921 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27922 libsrcdir="$$s/libcpp"; \
27923 $(SHELL) $${libsrcdir}/configure \
27924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27925 --target=${target_alias} $${srcdiroption} \
27926 --with-build-libsubdir=$(HOST_SUBDIR) \
27927 $(STAGE3_CONFIGURE_FLAGS)
27928 @endif libcpp-bootstrap
27930 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
27931 maybe-configure-stage4-libcpp:
27932 @if libcpp-bootstrap
27933 maybe-configure-stage4-libcpp: configure-stage4-libcpp
27934 configure-stage4-libcpp:
27935 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27937 @r=`${PWD_COMMAND}`; export r; \
27938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27939 TFLAGS="$(STAGE4_TFLAGS)"; \
27940 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27941 $(HOST_EXPORTS) \
27942 $(POSTSTAGE1_HOST_EXPORTS) \
27943 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27944 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27945 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27946 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
27947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27948 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27949 case $(srcdir) in \
27950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27951 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27953 esac; \
27954 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27955 libsrcdir="$$s/libcpp"; \
27956 $(SHELL) $${libsrcdir}/configure \
27957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27958 --target=${target_alias} $${srcdiroption} \
27959 --with-build-libsubdir=$(HOST_SUBDIR) \
27960 $(STAGE4_CONFIGURE_FLAGS)
27961 @endif libcpp-bootstrap
27963 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
27964 maybe-configure-stageprofile-libcpp:
27965 @if libcpp-bootstrap
27966 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
27967 configure-stageprofile-libcpp:
27968 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27970 @r=`${PWD_COMMAND}`; export r; \
27971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27973 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27974 $(HOST_EXPORTS) \
27975 $(POSTSTAGE1_HOST_EXPORTS) \
27976 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27977 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27978 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27979 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
27980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27981 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27982 case $(srcdir) in \
27983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27984 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27986 esac; \
27987 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27988 libsrcdir="$$s/libcpp"; \
27989 $(SHELL) $${libsrcdir}/configure \
27990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27991 --target=${target_alias} $${srcdiroption} \
27992 --with-build-libsubdir=$(HOST_SUBDIR) \
27993 $(STAGEprofile_CONFIGURE_FLAGS)
27994 @endif libcpp-bootstrap
27996 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
27997 maybe-configure-stagefeedback-libcpp:
27998 @if libcpp-bootstrap
27999 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
28000 configure-stagefeedback-libcpp:
28001 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
28003 @r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28006 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
28007 $(HOST_EXPORTS) \
28008 $(POSTSTAGE1_HOST_EXPORTS) \
28009 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28010 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28011 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28012 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
28013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
28014 cd $(HOST_SUBDIR)/libcpp || exit 1; \
28015 case $(srcdir) in \
28016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28017 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
28018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28019 esac; \
28020 srcdiroption="--srcdir=$${topdir}/libcpp"; \
28021 libsrcdir="$$s/libcpp"; \
28022 $(SHELL) $${libsrcdir}/configure \
28023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28024 --target=${target_alias} $${srcdiroption} \
28025 --with-build-libsubdir=$(HOST_SUBDIR) \
28026 $(STAGEfeedback_CONFIGURE_FLAGS)
28027 @endif libcpp-bootstrap
28033 .PHONY: all-libcpp maybe-all-libcpp
28034 maybe-all-libcpp:
28035 @if gcc-bootstrap
28036 all-libcpp: stage_current
28037 @endif gcc-bootstrap
28038 @if libcpp
28039 TARGET-libcpp=all
28040 maybe-all-libcpp: all-libcpp
28041 all-libcpp: configure-libcpp
28042 @r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 (cd $(HOST_SUBDIR)/libcpp && \
28046 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28047 $(TARGET-libcpp))
28048 @endif libcpp
28052 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28053 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28054 maybe-all-stage1-libcpp:
28055 maybe-clean-stage1-libcpp:
28056 @if libcpp-bootstrap
28057 maybe-all-stage1-libcpp: all-stage1-libcpp
28058 all-stage1: all-stage1-libcpp
28059 TARGET-stage1-libcpp = $(TARGET-libcpp)
28060 all-stage1-libcpp: configure-stage1-libcpp
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)/libcpp && \
28067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28068 CFLAGS="$(STAGE1_CFLAGS)" \
28069 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28070 LIBCFLAGS="$(LIBCFLAGS)" \
28071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28074 $(EXTRA_HOST_FLAGS) \
28075 TFLAGS="$(STAGE1_TFLAGS)" \
28076 $(TARGET-stage1-libcpp)
28078 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28079 clean-stage1: clean-stage1-libcpp
28080 clean-stage1-libcpp:
28081 @if [ $(current_stage) = stage1 ]; then \
28082 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28083 else \
28084 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
28085 $(MAKE) stage1-start; \
28086 fi; \
28087 cd $(HOST_SUBDIR)/libcpp && \
28088 $(MAKE) $(EXTRA_HOST_FLAGS) \
28089 clean
28090 @endif libcpp-bootstrap
28093 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
28094 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
28095 maybe-all-stage2-libcpp:
28096 maybe-clean-stage2-libcpp:
28097 @if libcpp-bootstrap
28098 maybe-all-stage2-libcpp: all-stage2-libcpp
28099 all-stage2: all-stage2-libcpp
28100 TARGET-stage2-libcpp = $(TARGET-libcpp)
28101 all-stage2-libcpp: configure-stage2-libcpp
28102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28103 @r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 TFLAGS="$(STAGE2_TFLAGS)"; \
28106 $(HOST_EXPORTS) \
28107 $(POSTSTAGE1_HOST_EXPORTS) \
28108 cd $(HOST_SUBDIR)/libcpp && \
28109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28110 CFLAGS="$(STAGE2_CFLAGS)" \
28111 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28112 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28117 TFLAGS="$(STAGE2_TFLAGS)" \
28118 $(TARGET-stage2-libcpp)
28120 maybe-clean-stage2-libcpp: clean-stage2-libcpp
28121 clean-stage2: clean-stage2-libcpp
28122 clean-stage2-libcpp:
28123 @if [ $(current_stage) = stage2 ]; then \
28124 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28125 else \
28126 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
28127 $(MAKE) stage2-start; \
28128 fi; \
28129 cd $(HOST_SUBDIR)/libcpp && \
28130 $(MAKE) $(EXTRA_HOST_FLAGS) \
28131 $(POSTSTAGE1_FLAGS_TO_PASS) \
28132 clean
28133 @endif libcpp-bootstrap
28136 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
28137 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
28138 maybe-all-stage3-libcpp:
28139 maybe-clean-stage3-libcpp:
28140 @if libcpp-bootstrap
28141 maybe-all-stage3-libcpp: all-stage3-libcpp
28142 all-stage3: all-stage3-libcpp
28143 TARGET-stage3-libcpp = $(TARGET-libcpp)
28144 all-stage3-libcpp: configure-stage3-libcpp
28145 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28146 @r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148 TFLAGS="$(STAGE3_TFLAGS)"; \
28149 $(HOST_EXPORTS) \
28150 $(POSTSTAGE1_HOST_EXPORTS) \
28151 cd $(HOST_SUBDIR)/libcpp && \
28152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28153 CFLAGS="$(STAGE3_CFLAGS)" \
28154 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28155 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28160 TFLAGS="$(STAGE3_TFLAGS)" \
28161 $(TARGET-stage3-libcpp)
28163 maybe-clean-stage3-libcpp: clean-stage3-libcpp
28164 clean-stage3: clean-stage3-libcpp
28165 clean-stage3-libcpp:
28166 @if [ $(current_stage) = stage3 ]; then \
28167 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28168 else \
28169 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
28170 $(MAKE) stage3-start; \
28171 fi; \
28172 cd $(HOST_SUBDIR)/libcpp && \
28173 $(MAKE) $(EXTRA_HOST_FLAGS) \
28174 $(POSTSTAGE1_FLAGS_TO_PASS) \
28175 clean
28176 @endif libcpp-bootstrap
28179 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
28180 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
28181 maybe-all-stage4-libcpp:
28182 maybe-clean-stage4-libcpp:
28183 @if libcpp-bootstrap
28184 maybe-all-stage4-libcpp: all-stage4-libcpp
28185 all-stage4: all-stage4-libcpp
28186 TARGET-stage4-libcpp = $(TARGET-libcpp)
28187 all-stage4-libcpp: configure-stage4-libcpp
28188 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28189 @r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28191 TFLAGS="$(STAGE4_TFLAGS)"; \
28192 $(HOST_EXPORTS) \
28193 $(POSTSTAGE1_HOST_EXPORTS) \
28194 cd $(HOST_SUBDIR)/libcpp && \
28195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28196 CFLAGS="$(STAGE4_CFLAGS)" \
28197 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28198 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28203 TFLAGS="$(STAGE4_TFLAGS)" \
28204 $(TARGET-stage4-libcpp)
28206 maybe-clean-stage4-libcpp: clean-stage4-libcpp
28207 clean-stage4: clean-stage4-libcpp
28208 clean-stage4-libcpp:
28209 @if [ $(current_stage) = stage4 ]; then \
28210 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28211 else \
28212 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
28213 $(MAKE) stage4-start; \
28214 fi; \
28215 cd $(HOST_SUBDIR)/libcpp && \
28216 $(MAKE) $(EXTRA_HOST_FLAGS) \
28217 $(POSTSTAGE1_FLAGS_TO_PASS) \
28218 clean
28219 @endif libcpp-bootstrap
28222 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
28223 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
28224 maybe-all-stageprofile-libcpp:
28225 maybe-clean-stageprofile-libcpp:
28226 @if libcpp-bootstrap
28227 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
28228 all-stageprofile: all-stageprofile-libcpp
28229 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
28230 all-stageprofile-libcpp: configure-stageprofile-libcpp
28231 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28232 @r=`${PWD_COMMAND}`; export r; \
28233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28234 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28235 $(HOST_EXPORTS) \
28236 $(POSTSTAGE1_HOST_EXPORTS) \
28237 cd $(HOST_SUBDIR)/libcpp && \
28238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28239 CFLAGS="$(STAGEprofile_CFLAGS)" \
28240 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28241 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28242 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28243 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28244 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28245 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28246 TFLAGS="$(STAGEprofile_TFLAGS)" \
28247 $(TARGET-stageprofile-libcpp)
28249 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
28250 clean-stageprofile: clean-stageprofile-libcpp
28251 clean-stageprofile-libcpp:
28252 @if [ $(current_stage) = stageprofile ]; then \
28253 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28254 else \
28255 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
28256 $(MAKE) stageprofile-start; \
28257 fi; \
28258 cd $(HOST_SUBDIR)/libcpp && \
28259 $(MAKE) $(EXTRA_HOST_FLAGS) \
28260 $(POSTSTAGE1_FLAGS_TO_PASS) \
28261 clean
28262 @endif libcpp-bootstrap
28265 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
28266 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
28267 maybe-all-stagefeedback-libcpp:
28268 maybe-clean-stagefeedback-libcpp:
28269 @if libcpp-bootstrap
28270 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
28271 all-stagefeedback: all-stagefeedback-libcpp
28272 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
28273 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
28274 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28275 @r=`${PWD_COMMAND}`; export r; \
28276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28277 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28278 $(HOST_EXPORTS) \
28279 $(POSTSTAGE1_HOST_EXPORTS) \
28280 cd $(HOST_SUBDIR)/libcpp && \
28281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28282 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28283 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28284 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28288 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28289 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28290 $(TARGET-stagefeedback-libcpp)
28292 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
28293 clean-stagefeedback: clean-stagefeedback-libcpp
28294 clean-stagefeedback-libcpp:
28295 @if [ $(current_stage) = stagefeedback ]; then \
28296 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
28297 else \
28298 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
28299 $(MAKE) stagefeedback-start; \
28300 fi; \
28301 cd $(HOST_SUBDIR)/libcpp && \
28302 $(MAKE) $(EXTRA_HOST_FLAGS) \
28303 $(POSTSTAGE1_FLAGS_TO_PASS) \
28304 clean
28305 @endif libcpp-bootstrap
28311 .PHONY: check-libcpp maybe-check-libcpp
28312 maybe-check-libcpp:
28313 @if libcpp
28314 maybe-check-libcpp: check-libcpp
28316 check-libcpp:
28317 @: $(MAKE); $(unstage)
28318 @r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(HOST_EXPORTS) \
28321 (cd $(HOST_SUBDIR)/libcpp && \
28322 $(MAKE) $(FLAGS_TO_PASS) check)
28324 @endif libcpp
28326 .PHONY: install-libcpp maybe-install-libcpp
28327 maybe-install-libcpp:
28328 @if libcpp
28329 maybe-install-libcpp: install-libcpp
28331 install-libcpp: installdirs
28332 @: $(MAKE); $(unstage)
28333 @r=`${PWD_COMMAND}`; export r; \
28334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28335 $(HOST_EXPORTS) \
28336 (cd $(HOST_SUBDIR)/libcpp && \
28337 $(MAKE) $(FLAGS_TO_PASS) install)
28339 @endif libcpp
28341 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
28342 maybe-install-strip-libcpp:
28343 @if libcpp
28344 maybe-install-strip-libcpp: install-strip-libcpp
28346 install-strip-libcpp: installdirs
28347 @: $(MAKE); $(unstage)
28348 @r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(HOST_EXPORTS) \
28351 (cd $(HOST_SUBDIR)/libcpp && \
28352 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28354 @endif libcpp
28356 # Other targets (info, dvi, pdf, etc.)
28358 .PHONY: maybe-info-libcpp info-libcpp
28359 maybe-info-libcpp:
28360 @if libcpp
28361 maybe-info-libcpp: info-libcpp
28363 info-libcpp: \
28364 configure-libcpp
28365 @[ -f ./libcpp/Makefile ] || exit 0; \
28366 r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 $(HOST_EXPORTS) \
28369 for flag in $(EXTRA_HOST_FLAGS) ; do \
28370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28371 done; \
28372 echo "Doing info in libcpp" ; \
28373 (cd $(HOST_SUBDIR)/libcpp && \
28374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28376 "RANLIB=$${RANLIB}" \
28377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28378 info) \
28379 || exit 1
28381 @endif libcpp
28383 .PHONY: maybe-dvi-libcpp dvi-libcpp
28384 maybe-dvi-libcpp:
28385 @if libcpp
28386 maybe-dvi-libcpp: dvi-libcpp
28388 dvi-libcpp: \
28389 configure-libcpp
28390 @[ -f ./libcpp/Makefile ] || exit 0; \
28391 r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 $(HOST_EXPORTS) \
28394 for flag in $(EXTRA_HOST_FLAGS) ; do \
28395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28396 done; \
28397 echo "Doing dvi in libcpp" ; \
28398 (cd $(HOST_SUBDIR)/libcpp && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28403 dvi) \
28404 || exit 1
28406 @endif libcpp
28408 .PHONY: maybe-pdf-libcpp pdf-libcpp
28409 maybe-pdf-libcpp:
28410 @if libcpp
28411 maybe-pdf-libcpp: pdf-libcpp
28413 pdf-libcpp: \
28414 configure-libcpp
28415 @[ -f ./libcpp/Makefile ] || exit 0; \
28416 r=`${PWD_COMMAND}`; export r; \
28417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28418 $(HOST_EXPORTS) \
28419 for flag in $(EXTRA_HOST_FLAGS) ; do \
28420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28421 done; \
28422 echo "Doing pdf in libcpp" ; \
28423 (cd $(HOST_SUBDIR)/libcpp && \
28424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28426 "RANLIB=$${RANLIB}" \
28427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28428 pdf) \
28429 || exit 1
28431 @endif libcpp
28433 .PHONY: maybe-html-libcpp html-libcpp
28434 maybe-html-libcpp:
28435 @if libcpp
28436 maybe-html-libcpp: html-libcpp
28438 html-libcpp: \
28439 configure-libcpp
28440 @[ -f ./libcpp/Makefile ] || exit 0; \
28441 r=`${PWD_COMMAND}`; export r; \
28442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28443 $(HOST_EXPORTS) \
28444 for flag in $(EXTRA_HOST_FLAGS) ; do \
28445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28446 done; \
28447 echo "Doing html in libcpp" ; \
28448 (cd $(HOST_SUBDIR)/libcpp && \
28449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28451 "RANLIB=$${RANLIB}" \
28452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28453 html) \
28454 || exit 1
28456 @endif libcpp
28458 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
28459 maybe-TAGS-libcpp:
28460 @if libcpp
28461 maybe-TAGS-libcpp: TAGS-libcpp
28463 TAGS-libcpp: \
28464 configure-libcpp
28465 @[ -f ./libcpp/Makefile ] || exit 0; \
28466 r=`${PWD_COMMAND}`; export r; \
28467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28468 $(HOST_EXPORTS) \
28469 for flag in $(EXTRA_HOST_FLAGS) ; do \
28470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28471 done; \
28472 echo "Doing TAGS in libcpp" ; \
28473 (cd $(HOST_SUBDIR)/libcpp && \
28474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28476 "RANLIB=$${RANLIB}" \
28477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28478 TAGS) \
28479 || exit 1
28481 @endif libcpp
28483 .PHONY: maybe-install-info-libcpp install-info-libcpp
28484 maybe-install-info-libcpp:
28485 @if libcpp
28486 maybe-install-info-libcpp: install-info-libcpp
28488 install-info-libcpp: \
28489 configure-libcpp \
28490 info-libcpp
28491 @[ -f ./libcpp/Makefile ] || exit 0; \
28492 r=`${PWD_COMMAND}`; export r; \
28493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28494 $(HOST_EXPORTS) \
28495 for flag in $(EXTRA_HOST_FLAGS) ; do \
28496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28497 done; \
28498 echo "Doing install-info in libcpp" ; \
28499 (cd $(HOST_SUBDIR)/libcpp && \
28500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28502 "RANLIB=$${RANLIB}" \
28503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28504 install-info) \
28505 || exit 1
28507 @endif libcpp
28509 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
28510 maybe-install-pdf-libcpp:
28511 @if libcpp
28512 maybe-install-pdf-libcpp: install-pdf-libcpp
28514 install-pdf-libcpp: \
28515 configure-libcpp \
28516 pdf-libcpp
28517 @[ -f ./libcpp/Makefile ] || exit 0; \
28518 r=`${PWD_COMMAND}`; export r; \
28519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28520 $(HOST_EXPORTS) \
28521 for flag in $(EXTRA_HOST_FLAGS) ; do \
28522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28523 done; \
28524 echo "Doing install-pdf in libcpp" ; \
28525 (cd $(HOST_SUBDIR)/libcpp && \
28526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28528 "RANLIB=$${RANLIB}" \
28529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28530 install-pdf) \
28531 || exit 1
28533 @endif libcpp
28535 .PHONY: maybe-install-html-libcpp install-html-libcpp
28536 maybe-install-html-libcpp:
28537 @if libcpp
28538 maybe-install-html-libcpp: install-html-libcpp
28540 install-html-libcpp: \
28541 configure-libcpp \
28542 html-libcpp
28543 @[ -f ./libcpp/Makefile ] || exit 0; \
28544 r=`${PWD_COMMAND}`; export r; \
28545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28546 $(HOST_EXPORTS) \
28547 for flag in $(EXTRA_HOST_FLAGS) ; do \
28548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28549 done; \
28550 echo "Doing install-html in libcpp" ; \
28551 (cd $(HOST_SUBDIR)/libcpp && \
28552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28554 "RANLIB=$${RANLIB}" \
28555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28556 install-html) \
28557 || exit 1
28559 @endif libcpp
28561 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
28562 maybe-installcheck-libcpp:
28563 @if libcpp
28564 maybe-installcheck-libcpp: installcheck-libcpp
28566 installcheck-libcpp: \
28567 configure-libcpp
28568 @[ -f ./libcpp/Makefile ] || exit 0; \
28569 r=`${PWD_COMMAND}`; export r; \
28570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28571 $(HOST_EXPORTS) \
28572 for flag in $(EXTRA_HOST_FLAGS) ; do \
28573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28574 done; \
28575 echo "Doing installcheck in libcpp" ; \
28576 (cd $(HOST_SUBDIR)/libcpp && \
28577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28579 "RANLIB=$${RANLIB}" \
28580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28581 installcheck) \
28582 || exit 1
28584 @endif libcpp
28586 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
28587 maybe-mostlyclean-libcpp:
28588 @if libcpp
28589 maybe-mostlyclean-libcpp: mostlyclean-libcpp
28591 mostlyclean-libcpp:
28592 @[ -f ./libcpp/Makefile ] || exit 0; \
28593 r=`${PWD_COMMAND}`; export r; \
28594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28595 $(HOST_EXPORTS) \
28596 for flag in $(EXTRA_HOST_FLAGS) ; do \
28597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28598 done; \
28599 echo "Doing mostlyclean in libcpp" ; \
28600 (cd $(HOST_SUBDIR)/libcpp && \
28601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28603 "RANLIB=$${RANLIB}" \
28604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28605 mostlyclean) \
28606 || exit 1
28608 @endif libcpp
28610 .PHONY: maybe-clean-libcpp clean-libcpp
28611 maybe-clean-libcpp:
28612 @if libcpp
28613 maybe-clean-libcpp: clean-libcpp
28615 clean-libcpp:
28616 @[ -f ./libcpp/Makefile ] || exit 0; \
28617 r=`${PWD_COMMAND}`; export r; \
28618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28619 $(HOST_EXPORTS) \
28620 for flag in $(EXTRA_HOST_FLAGS) ; do \
28621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28622 done; \
28623 echo "Doing clean in libcpp" ; \
28624 (cd $(HOST_SUBDIR)/libcpp && \
28625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28627 "RANLIB=$${RANLIB}" \
28628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28629 clean) \
28630 || exit 1
28632 @endif libcpp
28634 .PHONY: maybe-distclean-libcpp distclean-libcpp
28635 maybe-distclean-libcpp:
28636 @if libcpp
28637 maybe-distclean-libcpp: distclean-libcpp
28639 distclean-libcpp:
28640 @[ -f ./libcpp/Makefile ] || exit 0; \
28641 r=`${PWD_COMMAND}`; export r; \
28642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28643 $(HOST_EXPORTS) \
28644 for flag in $(EXTRA_HOST_FLAGS) ; do \
28645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28646 done; \
28647 echo "Doing distclean in libcpp" ; \
28648 (cd $(HOST_SUBDIR)/libcpp && \
28649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28651 "RANLIB=$${RANLIB}" \
28652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28653 distclean) \
28654 || exit 1
28656 @endif libcpp
28658 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
28659 maybe-maintainer-clean-libcpp:
28660 @if libcpp
28661 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
28663 maintainer-clean-libcpp:
28664 @[ -f ./libcpp/Makefile ] || exit 0; \
28665 r=`${PWD_COMMAND}`; export r; \
28666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28667 $(HOST_EXPORTS) \
28668 for flag in $(EXTRA_HOST_FLAGS) ; do \
28669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28670 done; \
28671 echo "Doing maintainer-clean in libcpp" ; \
28672 (cd $(HOST_SUBDIR)/libcpp && \
28673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28675 "RANLIB=$${RANLIB}" \
28676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28677 maintainer-clean) \
28678 || exit 1
28680 @endif libcpp
28684 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
28685 maybe-configure-libdecnumber:
28686 @if gcc-bootstrap
28687 configure-libdecnumber: stage_current
28688 @endif gcc-bootstrap
28689 @if libdecnumber
28690 maybe-configure-libdecnumber: configure-libdecnumber
28691 configure-libdecnumber:
28692 @r=`${PWD_COMMAND}`; export r; \
28693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28694 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28696 $(HOST_EXPORTS) \
28697 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
28698 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
28699 case $(srcdir) in \
28700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28701 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28703 esac; \
28704 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28705 libsrcdir="$$s/libdecnumber"; \
28706 $(SHELL) $${libsrcdir}/configure \
28707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28708 --target=${target_alias} $${srcdiroption} \
28709 || exit 1
28710 @endif libdecnumber
28714 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
28715 maybe-configure-stage1-libdecnumber:
28716 @if libdecnumber-bootstrap
28717 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
28718 configure-stage1-libdecnumber:
28719 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28720 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28721 @r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 TFLAGS="$(STAGE1_TFLAGS)"; \
28724 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28725 $(HOST_EXPORTS) \
28726 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28727 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28728 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28729 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
28730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28731 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28732 case $(srcdir) in \
28733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28734 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28736 esac; \
28737 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28738 libsrcdir="$$s/libdecnumber"; \
28739 $(SHELL) $${libsrcdir}/configure \
28740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28741 --target=${target_alias} $${srcdiroption} \
28742 $(STAGE1_CONFIGURE_FLAGS)
28743 @endif libdecnumber-bootstrap
28745 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
28746 maybe-configure-stage2-libdecnumber:
28747 @if libdecnumber-bootstrap
28748 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
28749 configure-stage2-libdecnumber:
28750 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28752 @r=`${PWD_COMMAND}`; export r; \
28753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28754 TFLAGS="$(STAGE2_TFLAGS)"; \
28755 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28756 $(HOST_EXPORTS) \
28757 $(POSTSTAGE1_HOST_EXPORTS) \
28758 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28759 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28760 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28761 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
28762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28763 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28764 case $(srcdir) in \
28765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28766 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28768 esac; \
28769 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28770 libsrcdir="$$s/libdecnumber"; \
28771 $(SHELL) $${libsrcdir}/configure \
28772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28773 --target=${target_alias} $${srcdiroption} \
28774 --with-build-libsubdir=$(HOST_SUBDIR) \
28775 $(STAGE2_CONFIGURE_FLAGS)
28776 @endif libdecnumber-bootstrap
28778 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
28779 maybe-configure-stage3-libdecnumber:
28780 @if libdecnumber-bootstrap
28781 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
28782 configure-stage3-libdecnumber:
28783 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28785 @r=`${PWD_COMMAND}`; export r; \
28786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28787 TFLAGS="$(STAGE3_TFLAGS)"; \
28788 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28789 $(HOST_EXPORTS) \
28790 $(POSTSTAGE1_HOST_EXPORTS) \
28791 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28792 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28793 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28794 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
28795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28796 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28797 case $(srcdir) in \
28798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28799 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28801 esac; \
28802 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28803 libsrcdir="$$s/libdecnumber"; \
28804 $(SHELL) $${libsrcdir}/configure \
28805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28806 --target=${target_alias} $${srcdiroption} \
28807 --with-build-libsubdir=$(HOST_SUBDIR) \
28808 $(STAGE3_CONFIGURE_FLAGS)
28809 @endif libdecnumber-bootstrap
28811 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
28812 maybe-configure-stage4-libdecnumber:
28813 @if libdecnumber-bootstrap
28814 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
28815 configure-stage4-libdecnumber:
28816 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28818 @r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 TFLAGS="$(STAGE4_TFLAGS)"; \
28821 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28822 $(HOST_EXPORTS) \
28823 $(POSTSTAGE1_HOST_EXPORTS) \
28824 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28825 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28826 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28827 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
28828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28829 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28830 case $(srcdir) in \
28831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28832 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28834 esac; \
28835 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28836 libsrcdir="$$s/libdecnumber"; \
28837 $(SHELL) $${libsrcdir}/configure \
28838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28839 --target=${target_alias} $${srcdiroption} \
28840 --with-build-libsubdir=$(HOST_SUBDIR) \
28841 $(STAGE4_CONFIGURE_FLAGS)
28842 @endif libdecnumber-bootstrap
28844 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
28845 maybe-configure-stageprofile-libdecnumber:
28846 @if libdecnumber-bootstrap
28847 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
28848 configure-stageprofile-libdecnumber:
28849 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28851 @r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28854 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28855 $(HOST_EXPORTS) \
28856 $(POSTSTAGE1_HOST_EXPORTS) \
28857 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28858 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28859 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28860 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
28861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28862 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28863 case $(srcdir) in \
28864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28865 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28867 esac; \
28868 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28869 libsrcdir="$$s/libdecnumber"; \
28870 $(SHELL) $${libsrcdir}/configure \
28871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28872 --target=${target_alias} $${srcdiroption} \
28873 --with-build-libsubdir=$(HOST_SUBDIR) \
28874 $(STAGEprofile_CONFIGURE_FLAGS)
28875 @endif libdecnumber-bootstrap
28877 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
28878 maybe-configure-stagefeedback-libdecnumber:
28879 @if libdecnumber-bootstrap
28880 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
28881 configure-stagefeedback-libdecnumber:
28882 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28884 @r=`${PWD_COMMAND}`; export r; \
28885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28886 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28887 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28888 $(HOST_EXPORTS) \
28889 $(POSTSTAGE1_HOST_EXPORTS) \
28890 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28891 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28892 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28893 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
28894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28895 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28896 case $(srcdir) in \
28897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28898 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28900 esac; \
28901 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28902 libsrcdir="$$s/libdecnumber"; \
28903 $(SHELL) $${libsrcdir}/configure \
28904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28905 --target=${target_alias} $${srcdiroption} \
28906 --with-build-libsubdir=$(HOST_SUBDIR) \
28907 $(STAGEfeedback_CONFIGURE_FLAGS)
28908 @endif libdecnumber-bootstrap
28914 .PHONY: all-libdecnumber maybe-all-libdecnumber
28915 maybe-all-libdecnumber:
28916 @if gcc-bootstrap
28917 all-libdecnumber: stage_current
28918 @endif gcc-bootstrap
28919 @if libdecnumber
28920 TARGET-libdecnumber=all
28921 maybe-all-libdecnumber: all-libdecnumber
28922 all-libdecnumber: configure-libdecnumber
28923 @r=`${PWD_COMMAND}`; export r; \
28924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28925 $(HOST_EXPORTS) \
28926 (cd $(HOST_SUBDIR)/libdecnumber && \
28927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28928 $(TARGET-libdecnumber))
28929 @endif libdecnumber
28933 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
28934 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
28935 maybe-all-stage1-libdecnumber:
28936 maybe-clean-stage1-libdecnumber:
28937 @if libdecnumber-bootstrap
28938 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
28939 all-stage1: all-stage1-libdecnumber
28940 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
28941 all-stage1-libdecnumber: configure-stage1-libdecnumber
28942 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28943 @r=`${PWD_COMMAND}`; export r; \
28944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28945 TFLAGS="$(STAGE1_TFLAGS)"; \
28946 $(HOST_EXPORTS) \
28947 cd $(HOST_SUBDIR)/libdecnumber && \
28948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28949 CFLAGS="$(STAGE1_CFLAGS)" \
28950 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28951 LIBCFLAGS="$(LIBCFLAGS)" \
28952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28955 $(EXTRA_HOST_FLAGS) \
28956 TFLAGS="$(STAGE1_TFLAGS)" \
28957 $(TARGET-stage1-libdecnumber)
28959 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
28960 clean-stage1: clean-stage1-libdecnumber
28961 clean-stage1-libdecnumber:
28962 @if [ $(current_stage) = stage1 ]; then \
28963 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28964 else \
28965 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
28966 $(MAKE) stage1-start; \
28967 fi; \
28968 cd $(HOST_SUBDIR)/libdecnumber && \
28969 $(MAKE) $(EXTRA_HOST_FLAGS) \
28970 clean
28971 @endif libdecnumber-bootstrap
28974 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
28975 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
28976 maybe-all-stage2-libdecnumber:
28977 maybe-clean-stage2-libdecnumber:
28978 @if libdecnumber-bootstrap
28979 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
28980 all-stage2: all-stage2-libdecnumber
28981 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
28982 all-stage2-libdecnumber: configure-stage2-libdecnumber
28983 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28984 @r=`${PWD_COMMAND}`; export r; \
28985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28986 TFLAGS="$(STAGE2_TFLAGS)"; \
28987 $(HOST_EXPORTS) \
28988 $(POSTSTAGE1_HOST_EXPORTS) \
28989 cd $(HOST_SUBDIR)/libdecnumber && \
28990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28991 CFLAGS="$(STAGE2_CFLAGS)" \
28992 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28993 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28998 TFLAGS="$(STAGE2_TFLAGS)" \
28999 $(TARGET-stage2-libdecnumber)
29001 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
29002 clean-stage2: clean-stage2-libdecnumber
29003 clean-stage2-libdecnumber:
29004 @if [ $(current_stage) = stage2 ]; then \
29005 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
29006 else \
29007 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
29008 $(MAKE) stage2-start; \
29009 fi; \
29010 cd $(HOST_SUBDIR)/libdecnumber && \
29011 $(MAKE) $(EXTRA_HOST_FLAGS) \
29012 $(POSTSTAGE1_FLAGS_TO_PASS) \
29013 clean
29014 @endif libdecnumber-bootstrap
29017 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
29018 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
29019 maybe-all-stage3-libdecnumber:
29020 maybe-clean-stage3-libdecnumber:
29021 @if libdecnumber-bootstrap
29022 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
29023 all-stage3: all-stage3-libdecnumber
29024 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
29025 all-stage3-libdecnumber: configure-stage3-libdecnumber
29026 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29027 @r=`${PWD_COMMAND}`; export r; \
29028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29029 TFLAGS="$(STAGE3_TFLAGS)"; \
29030 $(HOST_EXPORTS) \
29031 $(POSTSTAGE1_HOST_EXPORTS) \
29032 cd $(HOST_SUBDIR)/libdecnumber && \
29033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29034 CFLAGS="$(STAGE3_CFLAGS)" \
29035 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29036 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29040 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29041 TFLAGS="$(STAGE3_TFLAGS)" \
29042 $(TARGET-stage3-libdecnumber)
29044 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
29045 clean-stage3: clean-stage3-libdecnumber
29046 clean-stage3-libdecnumber:
29047 @if [ $(current_stage) = stage3 ]; then \
29048 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
29049 else \
29050 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
29051 $(MAKE) stage3-start; \
29052 fi; \
29053 cd $(HOST_SUBDIR)/libdecnumber && \
29054 $(MAKE) $(EXTRA_HOST_FLAGS) \
29055 $(POSTSTAGE1_FLAGS_TO_PASS) \
29056 clean
29057 @endif libdecnumber-bootstrap
29060 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
29061 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
29062 maybe-all-stage4-libdecnumber:
29063 maybe-clean-stage4-libdecnumber:
29064 @if libdecnumber-bootstrap
29065 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
29066 all-stage4: all-stage4-libdecnumber
29067 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
29068 all-stage4-libdecnumber: configure-stage4-libdecnumber
29069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29070 @r=`${PWD_COMMAND}`; export r; \
29071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29072 TFLAGS="$(STAGE4_TFLAGS)"; \
29073 $(HOST_EXPORTS) \
29074 $(POSTSTAGE1_HOST_EXPORTS) \
29075 cd $(HOST_SUBDIR)/libdecnumber && \
29076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29077 CFLAGS="$(STAGE4_CFLAGS)" \
29078 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29079 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29083 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29084 TFLAGS="$(STAGE4_TFLAGS)" \
29085 $(TARGET-stage4-libdecnumber)
29087 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
29088 clean-stage4: clean-stage4-libdecnumber
29089 clean-stage4-libdecnumber:
29090 @if [ $(current_stage) = stage4 ]; then \
29091 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
29092 else \
29093 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
29094 $(MAKE) stage4-start; \
29095 fi; \
29096 cd $(HOST_SUBDIR)/libdecnumber && \
29097 $(MAKE) $(EXTRA_HOST_FLAGS) \
29098 $(POSTSTAGE1_FLAGS_TO_PASS) \
29099 clean
29100 @endif libdecnumber-bootstrap
29103 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
29104 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
29105 maybe-all-stageprofile-libdecnumber:
29106 maybe-clean-stageprofile-libdecnumber:
29107 @if libdecnumber-bootstrap
29108 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
29109 all-stageprofile: all-stageprofile-libdecnumber
29110 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
29111 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
29112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29113 @r=`${PWD_COMMAND}`; export r; \
29114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29115 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29116 $(HOST_EXPORTS) \
29117 $(POSTSTAGE1_HOST_EXPORTS) \
29118 cd $(HOST_SUBDIR)/libdecnumber && \
29119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29120 CFLAGS="$(STAGEprofile_CFLAGS)" \
29121 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29122 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29126 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29127 TFLAGS="$(STAGEprofile_TFLAGS)" \
29128 $(TARGET-stageprofile-libdecnumber)
29130 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
29131 clean-stageprofile: clean-stageprofile-libdecnumber
29132 clean-stageprofile-libdecnumber:
29133 @if [ $(current_stage) = stageprofile ]; then \
29134 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
29135 else \
29136 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
29137 $(MAKE) stageprofile-start; \
29138 fi; \
29139 cd $(HOST_SUBDIR)/libdecnumber && \
29140 $(MAKE) $(EXTRA_HOST_FLAGS) \
29141 $(POSTSTAGE1_FLAGS_TO_PASS) \
29142 clean
29143 @endif libdecnumber-bootstrap
29146 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
29147 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
29148 maybe-all-stagefeedback-libdecnumber:
29149 maybe-clean-stagefeedback-libdecnumber:
29150 @if libdecnumber-bootstrap
29151 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
29152 all-stagefeedback: all-stagefeedback-libdecnumber
29153 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
29154 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
29155 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29156 @r=`${PWD_COMMAND}`; export r; \
29157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29158 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29159 $(HOST_EXPORTS) \
29160 $(POSTSTAGE1_HOST_EXPORTS) \
29161 cd $(HOST_SUBDIR)/libdecnumber && \
29162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29163 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29164 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29165 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29170 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29171 $(TARGET-stagefeedback-libdecnumber)
29173 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
29174 clean-stagefeedback: clean-stagefeedback-libdecnumber
29175 clean-stagefeedback-libdecnumber:
29176 @if [ $(current_stage) = stagefeedback ]; then \
29177 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
29178 else \
29179 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
29180 $(MAKE) stagefeedback-start; \
29181 fi; \
29182 cd $(HOST_SUBDIR)/libdecnumber && \
29183 $(MAKE) $(EXTRA_HOST_FLAGS) \
29184 $(POSTSTAGE1_FLAGS_TO_PASS) \
29185 clean
29186 @endif libdecnumber-bootstrap
29192 .PHONY: check-libdecnumber maybe-check-libdecnumber
29193 maybe-check-libdecnumber:
29194 @if libdecnumber
29195 maybe-check-libdecnumber: check-libdecnumber
29197 check-libdecnumber:
29198 @: $(MAKE); $(unstage)
29199 @r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 $(HOST_EXPORTS) \
29202 (cd $(HOST_SUBDIR)/libdecnumber && \
29203 $(MAKE) $(FLAGS_TO_PASS) check)
29205 @endif libdecnumber
29207 .PHONY: install-libdecnumber maybe-install-libdecnumber
29208 maybe-install-libdecnumber:
29209 @if libdecnumber
29210 maybe-install-libdecnumber: install-libdecnumber
29212 install-libdecnumber: installdirs
29213 @: $(MAKE); $(unstage)
29214 @r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 $(HOST_EXPORTS) \
29217 (cd $(HOST_SUBDIR)/libdecnumber && \
29218 $(MAKE) $(FLAGS_TO_PASS) install)
29220 @endif libdecnumber
29222 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
29223 maybe-install-strip-libdecnumber:
29224 @if libdecnumber
29225 maybe-install-strip-libdecnumber: install-strip-libdecnumber
29227 install-strip-libdecnumber: installdirs
29228 @: $(MAKE); $(unstage)
29229 @r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(HOST_EXPORTS) \
29232 (cd $(HOST_SUBDIR)/libdecnumber && \
29233 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29235 @endif libdecnumber
29237 # Other targets (info, dvi, pdf, etc.)
29239 .PHONY: maybe-info-libdecnumber info-libdecnumber
29240 maybe-info-libdecnumber:
29241 @if libdecnumber
29242 maybe-info-libdecnumber: info-libdecnumber
29244 info-libdecnumber: \
29245 configure-libdecnumber
29246 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29247 r=`${PWD_COMMAND}`; export r; \
29248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 $(HOST_EXPORTS) \
29250 for flag in $(EXTRA_HOST_FLAGS) ; do \
29251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29252 done; \
29253 echo "Doing info in libdecnumber" ; \
29254 (cd $(HOST_SUBDIR)/libdecnumber && \
29255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29257 "RANLIB=$${RANLIB}" \
29258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29259 info) \
29260 || exit 1
29262 @endif libdecnumber
29264 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
29265 maybe-dvi-libdecnumber:
29266 @if libdecnumber
29267 maybe-dvi-libdecnumber: dvi-libdecnumber
29269 dvi-libdecnumber: \
29270 configure-libdecnumber
29271 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29272 r=`${PWD_COMMAND}`; export r; \
29273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29274 $(HOST_EXPORTS) \
29275 for flag in $(EXTRA_HOST_FLAGS) ; do \
29276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29277 done; \
29278 echo "Doing dvi in libdecnumber" ; \
29279 (cd $(HOST_SUBDIR)/libdecnumber && \
29280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29282 "RANLIB=$${RANLIB}" \
29283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29284 dvi) \
29285 || exit 1
29287 @endif libdecnumber
29289 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
29290 maybe-pdf-libdecnumber:
29291 @if libdecnumber
29292 maybe-pdf-libdecnumber: pdf-libdecnumber
29294 pdf-libdecnumber: \
29295 configure-libdecnumber
29296 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29297 r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 $(HOST_EXPORTS) \
29300 for flag in $(EXTRA_HOST_FLAGS) ; do \
29301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29302 done; \
29303 echo "Doing pdf in libdecnumber" ; \
29304 (cd $(HOST_SUBDIR)/libdecnumber && \
29305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29307 "RANLIB=$${RANLIB}" \
29308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29309 pdf) \
29310 || exit 1
29312 @endif libdecnumber
29314 .PHONY: maybe-html-libdecnumber html-libdecnumber
29315 maybe-html-libdecnumber:
29316 @if libdecnumber
29317 maybe-html-libdecnumber: html-libdecnumber
29319 html-libdecnumber: \
29320 configure-libdecnumber
29321 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29322 r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(HOST_EXPORTS) \
29325 for flag in $(EXTRA_HOST_FLAGS) ; do \
29326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29327 done; \
29328 echo "Doing html in libdecnumber" ; \
29329 (cd $(HOST_SUBDIR)/libdecnumber && \
29330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29332 "RANLIB=$${RANLIB}" \
29333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29334 html) \
29335 || exit 1
29337 @endif libdecnumber
29339 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
29340 maybe-TAGS-libdecnumber:
29341 @if libdecnumber
29342 maybe-TAGS-libdecnumber: TAGS-libdecnumber
29344 TAGS-libdecnumber: \
29345 configure-libdecnumber
29346 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29347 r=`${PWD_COMMAND}`; export r; \
29348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29349 $(HOST_EXPORTS) \
29350 for flag in $(EXTRA_HOST_FLAGS) ; do \
29351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29352 done; \
29353 echo "Doing TAGS in libdecnumber" ; \
29354 (cd $(HOST_SUBDIR)/libdecnumber && \
29355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29357 "RANLIB=$${RANLIB}" \
29358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29359 TAGS) \
29360 || exit 1
29362 @endif libdecnumber
29364 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
29365 maybe-install-info-libdecnumber:
29366 @if libdecnumber
29367 maybe-install-info-libdecnumber: install-info-libdecnumber
29369 install-info-libdecnumber: \
29370 configure-libdecnumber \
29371 info-libdecnumber
29372 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29373 r=`${PWD_COMMAND}`; export r; \
29374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29375 $(HOST_EXPORTS) \
29376 for flag in $(EXTRA_HOST_FLAGS) ; do \
29377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29378 done; \
29379 echo "Doing install-info in libdecnumber" ; \
29380 (cd $(HOST_SUBDIR)/libdecnumber && \
29381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29383 "RANLIB=$${RANLIB}" \
29384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29385 install-info) \
29386 || exit 1
29388 @endif libdecnumber
29390 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
29391 maybe-install-pdf-libdecnumber:
29392 @if libdecnumber
29393 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
29395 install-pdf-libdecnumber: \
29396 configure-libdecnumber \
29397 pdf-libdecnumber
29398 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29399 r=`${PWD_COMMAND}`; export r; \
29400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29401 $(HOST_EXPORTS) \
29402 for flag in $(EXTRA_HOST_FLAGS) ; do \
29403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29404 done; \
29405 echo "Doing install-pdf in libdecnumber" ; \
29406 (cd $(HOST_SUBDIR)/libdecnumber && \
29407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29409 "RANLIB=$${RANLIB}" \
29410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29411 install-pdf) \
29412 || exit 1
29414 @endif libdecnumber
29416 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
29417 maybe-install-html-libdecnumber:
29418 @if libdecnumber
29419 maybe-install-html-libdecnumber: install-html-libdecnumber
29421 install-html-libdecnumber: \
29422 configure-libdecnumber \
29423 html-libdecnumber
29424 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29425 r=`${PWD_COMMAND}`; export r; \
29426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29427 $(HOST_EXPORTS) \
29428 for flag in $(EXTRA_HOST_FLAGS) ; do \
29429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29430 done; \
29431 echo "Doing install-html in libdecnumber" ; \
29432 (cd $(HOST_SUBDIR)/libdecnumber && \
29433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29435 "RANLIB=$${RANLIB}" \
29436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29437 install-html) \
29438 || exit 1
29440 @endif libdecnumber
29442 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
29443 maybe-installcheck-libdecnumber:
29444 @if libdecnumber
29445 maybe-installcheck-libdecnumber: installcheck-libdecnumber
29447 installcheck-libdecnumber: \
29448 configure-libdecnumber
29449 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29450 r=`${PWD_COMMAND}`; export r; \
29451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29452 $(HOST_EXPORTS) \
29453 for flag in $(EXTRA_HOST_FLAGS) ; do \
29454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29455 done; \
29456 echo "Doing installcheck in libdecnumber" ; \
29457 (cd $(HOST_SUBDIR)/libdecnumber && \
29458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29460 "RANLIB=$${RANLIB}" \
29461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29462 installcheck) \
29463 || exit 1
29465 @endif libdecnumber
29467 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
29468 maybe-mostlyclean-libdecnumber:
29469 @if libdecnumber
29470 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
29472 mostlyclean-libdecnumber:
29473 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29474 r=`${PWD_COMMAND}`; export r; \
29475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29476 $(HOST_EXPORTS) \
29477 for flag in $(EXTRA_HOST_FLAGS) ; do \
29478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29479 done; \
29480 echo "Doing mostlyclean in libdecnumber" ; \
29481 (cd $(HOST_SUBDIR)/libdecnumber && \
29482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29484 "RANLIB=$${RANLIB}" \
29485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29486 mostlyclean) \
29487 || exit 1
29489 @endif libdecnumber
29491 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
29492 maybe-clean-libdecnumber:
29493 @if libdecnumber
29494 maybe-clean-libdecnumber: clean-libdecnumber
29496 clean-libdecnumber:
29497 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29498 r=`${PWD_COMMAND}`; export r; \
29499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29500 $(HOST_EXPORTS) \
29501 for flag in $(EXTRA_HOST_FLAGS) ; do \
29502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29503 done; \
29504 echo "Doing clean in libdecnumber" ; \
29505 (cd $(HOST_SUBDIR)/libdecnumber && \
29506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29508 "RANLIB=$${RANLIB}" \
29509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29510 clean) \
29511 || exit 1
29513 @endif libdecnumber
29515 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
29516 maybe-distclean-libdecnumber:
29517 @if libdecnumber
29518 maybe-distclean-libdecnumber: distclean-libdecnumber
29520 distclean-libdecnumber:
29521 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29522 r=`${PWD_COMMAND}`; export r; \
29523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29524 $(HOST_EXPORTS) \
29525 for flag in $(EXTRA_HOST_FLAGS) ; do \
29526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29527 done; \
29528 echo "Doing distclean in libdecnumber" ; \
29529 (cd $(HOST_SUBDIR)/libdecnumber && \
29530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29532 "RANLIB=$${RANLIB}" \
29533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29534 distclean) \
29535 || exit 1
29537 @endif libdecnumber
29539 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
29540 maybe-maintainer-clean-libdecnumber:
29541 @if libdecnumber
29542 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
29544 maintainer-clean-libdecnumber:
29545 @[ -f ./libdecnumber/Makefile ] || exit 0; \
29546 r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 $(HOST_EXPORTS) \
29549 for flag in $(EXTRA_HOST_FLAGS) ; do \
29550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29551 done; \
29552 echo "Doing maintainer-clean in libdecnumber" ; \
29553 (cd $(HOST_SUBDIR)/libdecnumber && \
29554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29556 "RANLIB=$${RANLIB}" \
29557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29558 maintainer-clean) \
29559 || exit 1
29561 @endif libdecnumber
29565 .PHONY: configure-libgui maybe-configure-libgui
29566 maybe-configure-libgui:
29567 @if gcc-bootstrap
29568 configure-libgui: stage_current
29569 @endif gcc-bootstrap
29570 @if libgui
29571 maybe-configure-libgui: configure-libgui
29572 configure-libgui:
29573 @: $(MAKE); $(unstage)
29574 @r=`${PWD_COMMAND}`; export r; \
29575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29576 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
29577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
29578 $(HOST_EXPORTS) \
29579 echo Configuring in $(HOST_SUBDIR)/libgui; \
29580 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
29581 case $(srcdir) in \
29582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29583 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
29584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29585 esac; \
29586 srcdiroption="--srcdir=$${topdir}/libgui"; \
29587 libsrcdir="$$s/libgui"; \
29588 $(SHELL) $${libsrcdir}/configure \
29589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29590 --target=${target_alias} $${srcdiroption} \
29591 || exit 1
29592 @endif libgui
29598 .PHONY: all-libgui maybe-all-libgui
29599 maybe-all-libgui:
29600 @if gcc-bootstrap
29601 all-libgui: stage_current
29602 @endif gcc-bootstrap
29603 @if libgui
29604 TARGET-libgui=all
29605 maybe-all-libgui: all-libgui
29606 all-libgui: configure-libgui
29607 @: $(MAKE); $(unstage)
29608 @r=`${PWD_COMMAND}`; export r; \
29609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29610 $(HOST_EXPORTS) \
29611 (cd $(HOST_SUBDIR)/libgui && \
29612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29613 $(TARGET-libgui))
29614 @endif libgui
29619 .PHONY: check-libgui maybe-check-libgui
29620 maybe-check-libgui:
29621 @if libgui
29622 maybe-check-libgui: check-libgui
29624 check-libgui:
29625 @: $(MAKE); $(unstage)
29626 @r=`${PWD_COMMAND}`; export r; \
29627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29628 $(HOST_EXPORTS) \
29629 (cd $(HOST_SUBDIR)/libgui && \
29630 $(MAKE) $(FLAGS_TO_PASS) check)
29632 @endif libgui
29634 .PHONY: install-libgui maybe-install-libgui
29635 maybe-install-libgui:
29636 @if libgui
29637 maybe-install-libgui: install-libgui
29639 install-libgui: installdirs
29640 @: $(MAKE); $(unstage)
29641 @r=`${PWD_COMMAND}`; export r; \
29642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29643 $(HOST_EXPORTS) \
29644 (cd $(HOST_SUBDIR)/libgui && \
29645 $(MAKE) $(FLAGS_TO_PASS) install)
29647 @endif libgui
29649 .PHONY: install-strip-libgui maybe-install-strip-libgui
29650 maybe-install-strip-libgui:
29651 @if libgui
29652 maybe-install-strip-libgui: install-strip-libgui
29654 install-strip-libgui: installdirs
29655 @: $(MAKE); $(unstage)
29656 @r=`${PWD_COMMAND}`; export r; \
29657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29658 $(HOST_EXPORTS) \
29659 (cd $(HOST_SUBDIR)/libgui && \
29660 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29662 @endif libgui
29664 # Other targets (info, dvi, pdf, etc.)
29666 .PHONY: maybe-info-libgui info-libgui
29667 maybe-info-libgui:
29668 @if libgui
29669 maybe-info-libgui: info-libgui
29671 info-libgui: \
29672 configure-libgui
29673 @: $(MAKE); $(unstage)
29674 @[ -f ./libgui/Makefile ] || exit 0; \
29675 r=`${PWD_COMMAND}`; export r; \
29676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29677 $(HOST_EXPORTS) \
29678 for flag in $(EXTRA_HOST_FLAGS) ; do \
29679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29680 done; \
29681 echo "Doing info in libgui" ; \
29682 (cd $(HOST_SUBDIR)/libgui && \
29683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29685 "RANLIB=$${RANLIB}" \
29686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29687 info) \
29688 || exit 1
29690 @endif libgui
29692 .PHONY: maybe-dvi-libgui dvi-libgui
29693 maybe-dvi-libgui:
29694 @if libgui
29695 maybe-dvi-libgui: dvi-libgui
29697 dvi-libgui: \
29698 configure-libgui
29699 @: $(MAKE); $(unstage)
29700 @[ -f ./libgui/Makefile ] || exit 0; \
29701 r=`${PWD_COMMAND}`; export r; \
29702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29703 $(HOST_EXPORTS) \
29704 for flag in $(EXTRA_HOST_FLAGS) ; do \
29705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29706 done; \
29707 echo "Doing dvi in libgui" ; \
29708 (cd $(HOST_SUBDIR)/libgui && \
29709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29711 "RANLIB=$${RANLIB}" \
29712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29713 dvi) \
29714 || exit 1
29716 @endif libgui
29718 .PHONY: maybe-pdf-libgui pdf-libgui
29719 maybe-pdf-libgui:
29720 @if libgui
29721 maybe-pdf-libgui: pdf-libgui
29723 pdf-libgui: \
29724 configure-libgui
29725 @: $(MAKE); $(unstage)
29726 @[ -f ./libgui/Makefile ] || exit 0; \
29727 r=`${PWD_COMMAND}`; export r; \
29728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29729 $(HOST_EXPORTS) \
29730 for flag in $(EXTRA_HOST_FLAGS) ; do \
29731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29732 done; \
29733 echo "Doing pdf in libgui" ; \
29734 (cd $(HOST_SUBDIR)/libgui && \
29735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29737 "RANLIB=$${RANLIB}" \
29738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29739 pdf) \
29740 || exit 1
29742 @endif libgui
29744 .PHONY: maybe-html-libgui html-libgui
29745 maybe-html-libgui:
29746 @if libgui
29747 maybe-html-libgui: html-libgui
29749 html-libgui: \
29750 configure-libgui
29751 @: $(MAKE); $(unstage)
29752 @[ -f ./libgui/Makefile ] || exit 0; \
29753 r=`${PWD_COMMAND}`; export r; \
29754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29755 $(HOST_EXPORTS) \
29756 for flag in $(EXTRA_HOST_FLAGS) ; do \
29757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29758 done; \
29759 echo "Doing html in libgui" ; \
29760 (cd $(HOST_SUBDIR)/libgui && \
29761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29763 "RANLIB=$${RANLIB}" \
29764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29765 html) \
29766 || exit 1
29768 @endif libgui
29770 .PHONY: maybe-TAGS-libgui TAGS-libgui
29771 maybe-TAGS-libgui:
29772 @if libgui
29773 maybe-TAGS-libgui: TAGS-libgui
29775 TAGS-libgui: \
29776 configure-libgui
29777 @: $(MAKE); $(unstage)
29778 @[ -f ./libgui/Makefile ] || exit 0; \
29779 r=`${PWD_COMMAND}`; export r; \
29780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29781 $(HOST_EXPORTS) \
29782 for flag in $(EXTRA_HOST_FLAGS) ; do \
29783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29784 done; \
29785 echo "Doing TAGS in libgui" ; \
29786 (cd $(HOST_SUBDIR)/libgui && \
29787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29789 "RANLIB=$${RANLIB}" \
29790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29791 TAGS) \
29792 || exit 1
29794 @endif libgui
29796 .PHONY: maybe-install-info-libgui install-info-libgui
29797 maybe-install-info-libgui:
29798 @if libgui
29799 maybe-install-info-libgui: install-info-libgui
29801 install-info-libgui: \
29802 configure-libgui \
29803 info-libgui
29804 @: $(MAKE); $(unstage)
29805 @[ -f ./libgui/Makefile ] || exit 0; \
29806 r=`${PWD_COMMAND}`; export r; \
29807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29808 $(HOST_EXPORTS) \
29809 for flag in $(EXTRA_HOST_FLAGS) ; do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 echo "Doing install-info in libgui" ; \
29813 (cd $(HOST_SUBDIR)/libgui && \
29814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29816 "RANLIB=$${RANLIB}" \
29817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29818 install-info) \
29819 || exit 1
29821 @endif libgui
29823 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
29824 maybe-install-pdf-libgui:
29825 @if libgui
29826 maybe-install-pdf-libgui: install-pdf-libgui
29828 install-pdf-libgui: \
29829 configure-libgui \
29830 pdf-libgui
29831 @: $(MAKE); $(unstage)
29832 @[ -f ./libgui/Makefile ] || exit 0; \
29833 r=`${PWD_COMMAND}`; export r; \
29834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29835 $(HOST_EXPORTS) \
29836 for flag in $(EXTRA_HOST_FLAGS) ; do \
29837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29838 done; \
29839 echo "Doing install-pdf in libgui" ; \
29840 (cd $(HOST_SUBDIR)/libgui && \
29841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29843 "RANLIB=$${RANLIB}" \
29844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29845 install-pdf) \
29846 || exit 1
29848 @endif libgui
29850 .PHONY: maybe-install-html-libgui install-html-libgui
29851 maybe-install-html-libgui:
29852 @if libgui
29853 maybe-install-html-libgui: install-html-libgui
29855 install-html-libgui: \
29856 configure-libgui \
29857 html-libgui
29858 @: $(MAKE); $(unstage)
29859 @[ -f ./libgui/Makefile ] || exit 0; \
29860 r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(HOST_EXPORTS) \
29863 for flag in $(EXTRA_HOST_FLAGS) ; do \
29864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29865 done; \
29866 echo "Doing install-html in libgui" ; \
29867 (cd $(HOST_SUBDIR)/libgui && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29872 install-html) \
29873 || exit 1
29875 @endif libgui
29877 .PHONY: maybe-installcheck-libgui installcheck-libgui
29878 maybe-installcheck-libgui:
29879 @if libgui
29880 maybe-installcheck-libgui: installcheck-libgui
29882 installcheck-libgui: \
29883 configure-libgui
29884 @: $(MAKE); $(unstage)
29885 @[ -f ./libgui/Makefile ] || exit 0; \
29886 r=`${PWD_COMMAND}`; export r; \
29887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29888 $(HOST_EXPORTS) \
29889 for flag in $(EXTRA_HOST_FLAGS) ; do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29891 done; \
29892 echo "Doing installcheck in libgui" ; \
29893 (cd $(HOST_SUBDIR)/libgui && \
29894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29896 "RANLIB=$${RANLIB}" \
29897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29898 installcheck) \
29899 || exit 1
29901 @endif libgui
29903 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
29904 maybe-mostlyclean-libgui:
29905 @if libgui
29906 maybe-mostlyclean-libgui: mostlyclean-libgui
29908 mostlyclean-libgui:
29909 @: $(MAKE); $(unstage)
29910 @[ -f ./libgui/Makefile ] || exit 0; \
29911 r=`${PWD_COMMAND}`; export r; \
29912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29913 $(HOST_EXPORTS) \
29914 for flag in $(EXTRA_HOST_FLAGS) ; do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29916 done; \
29917 echo "Doing mostlyclean in libgui" ; \
29918 (cd $(HOST_SUBDIR)/libgui && \
29919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29921 "RANLIB=$${RANLIB}" \
29922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29923 mostlyclean) \
29924 || exit 1
29926 @endif libgui
29928 .PHONY: maybe-clean-libgui clean-libgui
29929 maybe-clean-libgui:
29930 @if libgui
29931 maybe-clean-libgui: clean-libgui
29933 clean-libgui:
29934 @: $(MAKE); $(unstage)
29935 @[ -f ./libgui/Makefile ] || exit 0; \
29936 r=`${PWD_COMMAND}`; export r; \
29937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29938 $(HOST_EXPORTS) \
29939 for flag in $(EXTRA_HOST_FLAGS) ; do \
29940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29941 done; \
29942 echo "Doing clean in libgui" ; \
29943 (cd $(HOST_SUBDIR)/libgui && \
29944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29946 "RANLIB=$${RANLIB}" \
29947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29948 clean) \
29949 || exit 1
29951 @endif libgui
29953 .PHONY: maybe-distclean-libgui distclean-libgui
29954 maybe-distclean-libgui:
29955 @if libgui
29956 maybe-distclean-libgui: distclean-libgui
29958 distclean-libgui:
29959 @: $(MAKE); $(unstage)
29960 @[ -f ./libgui/Makefile ] || exit 0; \
29961 r=`${PWD_COMMAND}`; export r; \
29962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29963 $(HOST_EXPORTS) \
29964 for flag in $(EXTRA_HOST_FLAGS) ; do \
29965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29966 done; \
29967 echo "Doing distclean in libgui" ; \
29968 (cd $(HOST_SUBDIR)/libgui && \
29969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29971 "RANLIB=$${RANLIB}" \
29972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29973 distclean) \
29974 || exit 1
29976 @endif libgui
29978 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
29979 maybe-maintainer-clean-libgui:
29980 @if libgui
29981 maybe-maintainer-clean-libgui: maintainer-clean-libgui
29983 maintainer-clean-libgui:
29984 @: $(MAKE); $(unstage)
29985 @[ -f ./libgui/Makefile ] || exit 0; \
29986 r=`${PWD_COMMAND}`; export r; \
29987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29988 $(HOST_EXPORTS) \
29989 for flag in $(EXTRA_HOST_FLAGS) ; do \
29990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29991 done; \
29992 echo "Doing maintainer-clean in libgui" ; \
29993 (cd $(HOST_SUBDIR)/libgui && \
29994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29996 "RANLIB=$${RANLIB}" \
29997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29998 maintainer-clean) \
29999 || exit 1
30001 @endif libgui
30005 .PHONY: configure-libiberty maybe-configure-libiberty
30006 maybe-configure-libiberty:
30007 @if gcc-bootstrap
30008 configure-libiberty: stage_current
30009 @endif gcc-bootstrap
30010 @if libiberty
30011 maybe-configure-libiberty: configure-libiberty
30012 configure-libiberty:
30013 @r=`${PWD_COMMAND}`; export r; \
30014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30015 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30017 $(HOST_EXPORTS) \
30018 echo Configuring in $(HOST_SUBDIR)/libiberty; \
30019 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
30020 case $(srcdir) in \
30021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30022 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30024 esac; \
30025 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30026 libsrcdir="$$s/libiberty"; \
30027 $(SHELL) $${libsrcdir}/configure \
30028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30029 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
30030 || exit 1
30031 @endif libiberty
30035 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
30036 maybe-configure-stage1-libiberty:
30037 @if libiberty-bootstrap
30038 maybe-configure-stage1-libiberty: configure-stage1-libiberty
30039 configure-stage1-libiberty:
30040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30042 @r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 TFLAGS="$(STAGE1_TFLAGS)"; \
30045 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30046 $(HOST_EXPORTS) \
30047 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30048 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30049 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30050 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
30051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30052 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30053 case $(srcdir) in \
30054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30055 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30057 esac; \
30058 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30059 libsrcdir="$$s/libiberty"; \
30060 $(SHELL) $${libsrcdir}/configure \
30061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30062 --target=${target_alias} $${srcdiroption} \
30063 $(STAGE1_CONFIGURE_FLAGS) \
30064 @extra_host_libiberty_configure_flags@
30065 @endif libiberty-bootstrap
30067 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
30068 maybe-configure-stage2-libiberty:
30069 @if libiberty-bootstrap
30070 maybe-configure-stage2-libiberty: configure-stage2-libiberty
30071 configure-stage2-libiberty:
30072 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30074 @r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 TFLAGS="$(STAGE2_TFLAGS)"; \
30077 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30078 $(HOST_EXPORTS) \
30079 $(POSTSTAGE1_HOST_EXPORTS) \
30080 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30081 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30082 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30083 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
30084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30085 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30086 case $(srcdir) in \
30087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30088 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30090 esac; \
30091 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30092 libsrcdir="$$s/libiberty"; \
30093 $(SHELL) $${libsrcdir}/configure \
30094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30095 --target=${target_alias} $${srcdiroption} \
30096 --with-build-libsubdir=$(HOST_SUBDIR) \
30097 $(STAGE2_CONFIGURE_FLAGS) \
30098 @extra_host_libiberty_configure_flags@
30099 @endif libiberty-bootstrap
30101 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30102 maybe-configure-stage3-libiberty:
30103 @if libiberty-bootstrap
30104 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30105 configure-stage3-libiberty:
30106 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30108 @r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 TFLAGS="$(STAGE3_TFLAGS)"; \
30111 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30112 $(HOST_EXPORTS) \
30113 $(POSTSTAGE1_HOST_EXPORTS) \
30114 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30115 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30116 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30117 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
30118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30119 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30120 case $(srcdir) in \
30121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30122 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30124 esac; \
30125 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30126 libsrcdir="$$s/libiberty"; \
30127 $(SHELL) $${libsrcdir}/configure \
30128 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30129 --target=${target_alias} $${srcdiroption} \
30130 --with-build-libsubdir=$(HOST_SUBDIR) \
30131 $(STAGE3_CONFIGURE_FLAGS) \
30132 @extra_host_libiberty_configure_flags@
30133 @endif libiberty-bootstrap
30135 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30136 maybe-configure-stage4-libiberty:
30137 @if libiberty-bootstrap
30138 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30139 configure-stage4-libiberty:
30140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30142 @r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 TFLAGS="$(STAGE4_TFLAGS)"; \
30145 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30146 $(HOST_EXPORTS) \
30147 $(POSTSTAGE1_HOST_EXPORTS) \
30148 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30149 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30150 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30151 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
30152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30153 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30154 case $(srcdir) in \
30155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30156 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30158 esac; \
30159 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30160 libsrcdir="$$s/libiberty"; \
30161 $(SHELL) $${libsrcdir}/configure \
30162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30163 --target=${target_alias} $${srcdiroption} \
30164 --with-build-libsubdir=$(HOST_SUBDIR) \
30165 $(STAGE4_CONFIGURE_FLAGS) \
30166 @extra_host_libiberty_configure_flags@
30167 @endif libiberty-bootstrap
30169 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
30170 maybe-configure-stageprofile-libiberty:
30171 @if libiberty-bootstrap
30172 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
30173 configure-stageprofile-libiberty:
30174 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30175 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30176 @r=`${PWD_COMMAND}`; export r; \
30177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30178 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30179 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30180 $(HOST_EXPORTS) \
30181 $(POSTSTAGE1_HOST_EXPORTS) \
30182 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30183 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30184 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30185 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
30186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30187 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30188 case $(srcdir) in \
30189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30190 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30192 esac; \
30193 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30194 libsrcdir="$$s/libiberty"; \
30195 $(SHELL) $${libsrcdir}/configure \
30196 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30197 --target=${target_alias} $${srcdiroption} \
30198 --with-build-libsubdir=$(HOST_SUBDIR) \
30199 $(STAGEprofile_CONFIGURE_FLAGS) \
30200 @extra_host_libiberty_configure_flags@
30201 @endif libiberty-bootstrap
30203 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
30204 maybe-configure-stagefeedback-libiberty:
30205 @if libiberty-bootstrap
30206 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
30207 configure-stagefeedback-libiberty:
30208 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30209 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
30210 @r=`${PWD_COMMAND}`; export r; \
30211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30212 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30213 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
30214 $(HOST_EXPORTS) \
30215 $(POSTSTAGE1_HOST_EXPORTS) \
30216 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30217 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30218 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30219 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
30220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
30221 cd $(HOST_SUBDIR)/libiberty || exit 1; \
30222 case $(srcdir) in \
30223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30224 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
30225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30226 esac; \
30227 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30228 libsrcdir="$$s/libiberty"; \
30229 $(SHELL) $${libsrcdir}/configure \
30230 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30231 --target=${target_alias} $${srcdiroption} \
30232 --with-build-libsubdir=$(HOST_SUBDIR) \
30233 $(STAGEfeedback_CONFIGURE_FLAGS) \
30234 @extra_host_libiberty_configure_flags@
30235 @endif libiberty-bootstrap
30241 .PHONY: all-libiberty maybe-all-libiberty
30242 maybe-all-libiberty:
30243 @if gcc-bootstrap
30244 all-libiberty: stage_current
30245 @endif gcc-bootstrap
30246 @if libiberty
30247 TARGET-libiberty=all
30248 maybe-all-libiberty: all-libiberty
30249 all-libiberty: configure-libiberty
30250 @r=`${PWD_COMMAND}`; export r; \
30251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30252 $(HOST_EXPORTS) \
30253 (cd $(HOST_SUBDIR)/libiberty && \
30254 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30255 $(TARGET-libiberty))
30256 @endif libiberty
30260 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
30261 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
30262 maybe-all-stage1-libiberty:
30263 maybe-clean-stage1-libiberty:
30264 @if libiberty-bootstrap
30265 maybe-all-stage1-libiberty: all-stage1-libiberty
30266 all-stage1: all-stage1-libiberty
30267 TARGET-stage1-libiberty = $(TARGET-libiberty)
30268 all-stage1-libiberty: configure-stage1-libiberty
30269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30270 @r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 TFLAGS="$(STAGE1_TFLAGS)"; \
30273 $(HOST_EXPORTS) \
30274 cd $(HOST_SUBDIR)/libiberty && \
30275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30276 CFLAGS="$(STAGE1_CFLAGS)" \
30277 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30278 LIBCFLAGS="$(LIBCFLAGS)" \
30279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30282 $(EXTRA_HOST_FLAGS) \
30283 TFLAGS="$(STAGE1_TFLAGS)" \
30284 $(TARGET-stage1-libiberty)
30286 maybe-clean-stage1-libiberty: clean-stage1-libiberty
30287 clean-stage1: clean-stage1-libiberty
30288 clean-stage1-libiberty:
30289 @if [ $(current_stage) = stage1 ]; then \
30290 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30291 else \
30292 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
30293 $(MAKE) stage1-start; \
30294 fi; \
30295 cd $(HOST_SUBDIR)/libiberty && \
30296 $(MAKE) $(EXTRA_HOST_FLAGS) \
30297 clean
30298 @endif libiberty-bootstrap
30301 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
30302 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
30303 maybe-all-stage2-libiberty:
30304 maybe-clean-stage2-libiberty:
30305 @if libiberty-bootstrap
30306 maybe-all-stage2-libiberty: all-stage2-libiberty
30307 all-stage2: all-stage2-libiberty
30308 TARGET-stage2-libiberty = $(TARGET-libiberty)
30309 all-stage2-libiberty: configure-stage2-libiberty
30310 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30311 @r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 TFLAGS="$(STAGE2_TFLAGS)"; \
30314 $(HOST_EXPORTS) \
30315 $(POSTSTAGE1_HOST_EXPORTS) \
30316 cd $(HOST_SUBDIR)/libiberty && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30318 CFLAGS="$(STAGE2_CFLAGS)" \
30319 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30320 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30324 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30325 TFLAGS="$(STAGE2_TFLAGS)" \
30326 $(TARGET-stage2-libiberty)
30328 maybe-clean-stage2-libiberty: clean-stage2-libiberty
30329 clean-stage2: clean-stage2-libiberty
30330 clean-stage2-libiberty:
30331 @if [ $(current_stage) = stage2 ]; then \
30332 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30333 else \
30334 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
30335 $(MAKE) stage2-start; \
30336 fi; \
30337 cd $(HOST_SUBDIR)/libiberty && \
30338 $(MAKE) $(EXTRA_HOST_FLAGS) \
30339 $(POSTSTAGE1_FLAGS_TO_PASS) \
30340 clean
30341 @endif libiberty-bootstrap
30344 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30345 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30346 maybe-all-stage3-libiberty:
30347 maybe-clean-stage3-libiberty:
30348 @if libiberty-bootstrap
30349 maybe-all-stage3-libiberty: all-stage3-libiberty
30350 all-stage3: all-stage3-libiberty
30351 TARGET-stage3-libiberty = $(TARGET-libiberty)
30352 all-stage3-libiberty: configure-stage3-libiberty
30353 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30354 @r=`${PWD_COMMAND}`; export r; \
30355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30356 TFLAGS="$(STAGE3_TFLAGS)"; \
30357 $(HOST_EXPORTS) \
30358 $(POSTSTAGE1_HOST_EXPORTS) \
30359 cd $(HOST_SUBDIR)/libiberty && \
30360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30361 CFLAGS="$(STAGE3_CFLAGS)" \
30362 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30363 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30368 TFLAGS="$(STAGE3_TFLAGS)" \
30369 $(TARGET-stage3-libiberty)
30371 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30372 clean-stage3: clean-stage3-libiberty
30373 clean-stage3-libiberty:
30374 @if [ $(current_stage) = stage3 ]; then \
30375 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30376 else \
30377 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
30378 $(MAKE) stage3-start; \
30379 fi; \
30380 cd $(HOST_SUBDIR)/libiberty && \
30381 $(MAKE) $(EXTRA_HOST_FLAGS) \
30382 $(POSTSTAGE1_FLAGS_TO_PASS) \
30383 clean
30384 @endif libiberty-bootstrap
30387 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30388 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30389 maybe-all-stage4-libiberty:
30390 maybe-clean-stage4-libiberty:
30391 @if libiberty-bootstrap
30392 maybe-all-stage4-libiberty: all-stage4-libiberty
30393 all-stage4: all-stage4-libiberty
30394 TARGET-stage4-libiberty = $(TARGET-libiberty)
30395 all-stage4-libiberty: configure-stage4-libiberty
30396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30397 @r=`${PWD_COMMAND}`; export r; \
30398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30399 TFLAGS="$(STAGE4_TFLAGS)"; \
30400 $(HOST_EXPORTS) \
30401 $(POSTSTAGE1_HOST_EXPORTS) \
30402 cd $(HOST_SUBDIR)/libiberty && \
30403 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30404 CFLAGS="$(STAGE4_CFLAGS)" \
30405 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30406 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30407 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30408 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30409 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30410 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30411 TFLAGS="$(STAGE4_TFLAGS)" \
30412 $(TARGET-stage4-libiberty)
30414 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30415 clean-stage4: clean-stage4-libiberty
30416 clean-stage4-libiberty:
30417 @if [ $(current_stage) = stage4 ]; then \
30418 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30419 else \
30420 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
30421 $(MAKE) stage4-start; \
30422 fi; \
30423 cd $(HOST_SUBDIR)/libiberty && \
30424 $(MAKE) $(EXTRA_HOST_FLAGS) \
30425 $(POSTSTAGE1_FLAGS_TO_PASS) \
30426 clean
30427 @endif libiberty-bootstrap
30430 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
30431 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
30432 maybe-all-stageprofile-libiberty:
30433 maybe-clean-stageprofile-libiberty:
30434 @if libiberty-bootstrap
30435 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
30436 all-stageprofile: all-stageprofile-libiberty
30437 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
30438 all-stageprofile-libiberty: configure-stageprofile-libiberty
30439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30440 @r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30443 $(HOST_EXPORTS) \
30444 $(POSTSTAGE1_HOST_EXPORTS) \
30445 cd $(HOST_SUBDIR)/libiberty && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30447 CFLAGS="$(STAGEprofile_CFLAGS)" \
30448 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30449 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30450 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30451 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30452 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30453 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30454 TFLAGS="$(STAGEprofile_TFLAGS)" \
30455 $(TARGET-stageprofile-libiberty)
30457 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
30458 clean-stageprofile: clean-stageprofile-libiberty
30459 clean-stageprofile-libiberty:
30460 @if [ $(current_stage) = stageprofile ]; then \
30461 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30462 else \
30463 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
30464 $(MAKE) stageprofile-start; \
30465 fi; \
30466 cd $(HOST_SUBDIR)/libiberty && \
30467 $(MAKE) $(EXTRA_HOST_FLAGS) \
30468 $(POSTSTAGE1_FLAGS_TO_PASS) \
30469 clean
30470 @endif libiberty-bootstrap
30473 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
30474 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
30475 maybe-all-stagefeedback-libiberty:
30476 maybe-clean-stagefeedback-libiberty:
30477 @if libiberty-bootstrap
30478 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
30479 all-stagefeedback: all-stagefeedback-libiberty
30480 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
30481 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
30482 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30483 @r=`${PWD_COMMAND}`; export r; \
30484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30485 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30486 $(HOST_EXPORTS) \
30487 $(POSTSTAGE1_HOST_EXPORTS) \
30488 cd $(HOST_SUBDIR)/libiberty && \
30489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30490 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30491 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30492 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30497 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30498 $(TARGET-stagefeedback-libiberty)
30500 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
30501 clean-stagefeedback: clean-stagefeedback-libiberty
30502 clean-stagefeedback-libiberty:
30503 @if [ $(current_stage) = stagefeedback ]; then \
30504 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
30505 else \
30506 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
30507 $(MAKE) stagefeedback-start; \
30508 fi; \
30509 cd $(HOST_SUBDIR)/libiberty && \
30510 $(MAKE) $(EXTRA_HOST_FLAGS) \
30511 $(POSTSTAGE1_FLAGS_TO_PASS) \
30512 clean
30513 @endif libiberty-bootstrap
30519 .PHONY: check-libiberty maybe-check-libiberty
30520 maybe-check-libiberty:
30521 @if libiberty
30522 maybe-check-libiberty: check-libiberty
30524 check-libiberty:
30525 @: $(MAKE); $(unstage)
30526 @r=`${PWD_COMMAND}`; export r; \
30527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 $(HOST_EXPORTS) \
30529 (cd $(HOST_SUBDIR)/libiberty && \
30530 $(MAKE) $(FLAGS_TO_PASS) check)
30532 @endif libiberty
30534 .PHONY: install-libiberty maybe-install-libiberty
30535 maybe-install-libiberty:
30536 @if libiberty
30537 maybe-install-libiberty: install-libiberty
30539 install-libiberty: installdirs
30540 @: $(MAKE); $(unstage)
30541 @r=`${PWD_COMMAND}`; export r; \
30542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30543 $(HOST_EXPORTS) \
30544 (cd $(HOST_SUBDIR)/libiberty && \
30545 $(MAKE) $(FLAGS_TO_PASS) install)
30547 @endif libiberty
30549 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
30550 maybe-install-strip-libiberty:
30551 @if libiberty
30552 maybe-install-strip-libiberty: install-strip-libiberty
30554 install-strip-libiberty: installdirs
30555 @: $(MAKE); $(unstage)
30556 @r=`${PWD_COMMAND}`; export r; \
30557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30558 $(HOST_EXPORTS) \
30559 (cd $(HOST_SUBDIR)/libiberty && \
30560 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30562 @endif libiberty
30564 # Other targets (info, dvi, pdf, etc.)
30566 .PHONY: maybe-info-libiberty info-libiberty
30567 maybe-info-libiberty:
30568 @if libiberty
30569 maybe-info-libiberty: info-libiberty
30571 info-libiberty: \
30572 configure-libiberty
30573 @[ -f ./libiberty/Makefile ] || exit 0; \
30574 r=`${PWD_COMMAND}`; export r; \
30575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30576 $(HOST_EXPORTS) \
30577 for flag in $(EXTRA_HOST_FLAGS) ; do \
30578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30579 done; \
30580 echo "Doing info in libiberty" ; \
30581 (cd $(HOST_SUBDIR)/libiberty && \
30582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30584 "RANLIB=$${RANLIB}" \
30585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30586 info) \
30587 || exit 1
30589 @endif libiberty
30591 .PHONY: maybe-dvi-libiberty dvi-libiberty
30592 maybe-dvi-libiberty:
30593 @if libiberty
30594 maybe-dvi-libiberty: dvi-libiberty
30596 dvi-libiberty: \
30597 configure-libiberty
30598 @[ -f ./libiberty/Makefile ] || exit 0; \
30599 r=`${PWD_COMMAND}`; export r; \
30600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30601 $(HOST_EXPORTS) \
30602 for flag in $(EXTRA_HOST_FLAGS) ; do \
30603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30604 done; \
30605 echo "Doing dvi in libiberty" ; \
30606 (cd $(HOST_SUBDIR)/libiberty && \
30607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30609 "RANLIB=$${RANLIB}" \
30610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30611 dvi) \
30612 || exit 1
30614 @endif libiberty
30616 .PHONY: maybe-pdf-libiberty pdf-libiberty
30617 maybe-pdf-libiberty:
30618 @if libiberty
30619 maybe-pdf-libiberty: pdf-libiberty
30621 pdf-libiberty: \
30622 configure-libiberty
30623 @[ -f ./libiberty/Makefile ] || exit 0; \
30624 r=`${PWD_COMMAND}`; export r; \
30625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30626 $(HOST_EXPORTS) \
30627 for flag in $(EXTRA_HOST_FLAGS) ; do \
30628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30629 done; \
30630 echo "Doing pdf in libiberty" ; \
30631 (cd $(HOST_SUBDIR)/libiberty && \
30632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30634 "RANLIB=$${RANLIB}" \
30635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30636 pdf) \
30637 || exit 1
30639 @endif libiberty
30641 .PHONY: maybe-html-libiberty html-libiberty
30642 maybe-html-libiberty:
30643 @if libiberty
30644 maybe-html-libiberty: html-libiberty
30646 html-libiberty: \
30647 configure-libiberty
30648 @[ -f ./libiberty/Makefile ] || exit 0; \
30649 r=`${PWD_COMMAND}`; export r; \
30650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30651 $(HOST_EXPORTS) \
30652 for flag in $(EXTRA_HOST_FLAGS) ; do \
30653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30654 done; \
30655 echo "Doing html in libiberty" ; \
30656 (cd $(HOST_SUBDIR)/libiberty && \
30657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30659 "RANLIB=$${RANLIB}" \
30660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30661 html) \
30662 || exit 1
30664 @endif libiberty
30666 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
30667 maybe-TAGS-libiberty:
30668 @if libiberty
30669 maybe-TAGS-libiberty: TAGS-libiberty
30671 TAGS-libiberty: \
30672 configure-libiberty
30673 @[ -f ./libiberty/Makefile ] || exit 0; \
30674 r=`${PWD_COMMAND}`; export r; \
30675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30676 $(HOST_EXPORTS) \
30677 for flag in $(EXTRA_HOST_FLAGS) ; do \
30678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30679 done; \
30680 echo "Doing TAGS in libiberty" ; \
30681 (cd $(HOST_SUBDIR)/libiberty && \
30682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30684 "RANLIB=$${RANLIB}" \
30685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30686 TAGS) \
30687 || exit 1
30689 @endif libiberty
30691 .PHONY: maybe-install-info-libiberty install-info-libiberty
30692 maybe-install-info-libiberty:
30693 @if libiberty
30694 maybe-install-info-libiberty: install-info-libiberty
30696 install-info-libiberty: \
30697 configure-libiberty \
30698 info-libiberty
30699 @[ -f ./libiberty/Makefile ] || exit 0; \
30700 r=`${PWD_COMMAND}`; export r; \
30701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30702 $(HOST_EXPORTS) \
30703 for flag in $(EXTRA_HOST_FLAGS) ; do \
30704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30705 done; \
30706 echo "Doing install-info in libiberty" ; \
30707 (cd $(HOST_SUBDIR)/libiberty && \
30708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30710 "RANLIB=$${RANLIB}" \
30711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30712 install-info) \
30713 || exit 1
30715 @endif libiberty
30717 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
30718 maybe-install-pdf-libiberty:
30719 @if libiberty
30720 maybe-install-pdf-libiberty: install-pdf-libiberty
30722 install-pdf-libiberty: \
30723 configure-libiberty \
30724 pdf-libiberty
30725 @[ -f ./libiberty/Makefile ] || exit 0; \
30726 r=`${PWD_COMMAND}`; export r; \
30727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30728 $(HOST_EXPORTS) \
30729 for flag in $(EXTRA_HOST_FLAGS) ; do \
30730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30731 done; \
30732 echo "Doing install-pdf in libiberty" ; \
30733 (cd $(HOST_SUBDIR)/libiberty && \
30734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30736 "RANLIB=$${RANLIB}" \
30737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30738 install-pdf) \
30739 || exit 1
30741 @endif libiberty
30743 .PHONY: maybe-install-html-libiberty install-html-libiberty
30744 maybe-install-html-libiberty:
30745 @if libiberty
30746 maybe-install-html-libiberty: install-html-libiberty
30748 install-html-libiberty: \
30749 configure-libiberty \
30750 html-libiberty
30751 @[ -f ./libiberty/Makefile ] || exit 0; \
30752 r=`${PWD_COMMAND}`; export r; \
30753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30754 $(HOST_EXPORTS) \
30755 for flag in $(EXTRA_HOST_FLAGS) ; do \
30756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30757 done; \
30758 echo "Doing install-html in libiberty" ; \
30759 (cd $(HOST_SUBDIR)/libiberty && \
30760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30762 "RANLIB=$${RANLIB}" \
30763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30764 install-html) \
30765 || exit 1
30767 @endif libiberty
30769 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
30770 maybe-installcheck-libiberty:
30771 @if libiberty
30772 maybe-installcheck-libiberty: installcheck-libiberty
30774 installcheck-libiberty: \
30775 configure-libiberty
30776 @[ -f ./libiberty/Makefile ] || exit 0; \
30777 r=`${PWD_COMMAND}`; export r; \
30778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30779 $(HOST_EXPORTS) \
30780 for flag in $(EXTRA_HOST_FLAGS) ; do \
30781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30782 done; \
30783 echo "Doing installcheck in libiberty" ; \
30784 (cd $(HOST_SUBDIR)/libiberty && \
30785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30787 "RANLIB=$${RANLIB}" \
30788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30789 installcheck) \
30790 || exit 1
30792 @endif libiberty
30794 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
30795 maybe-mostlyclean-libiberty:
30796 @if libiberty
30797 maybe-mostlyclean-libiberty: mostlyclean-libiberty
30799 mostlyclean-libiberty:
30800 @[ -f ./libiberty/Makefile ] || exit 0; \
30801 r=`${PWD_COMMAND}`; export r; \
30802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30803 $(HOST_EXPORTS) \
30804 for flag in $(EXTRA_HOST_FLAGS) ; do \
30805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30806 done; \
30807 echo "Doing mostlyclean in libiberty" ; \
30808 (cd $(HOST_SUBDIR)/libiberty && \
30809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30811 "RANLIB=$${RANLIB}" \
30812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30813 mostlyclean) \
30814 || exit 1
30816 @endif libiberty
30818 .PHONY: maybe-clean-libiberty clean-libiberty
30819 maybe-clean-libiberty:
30820 @if libiberty
30821 maybe-clean-libiberty: clean-libiberty
30823 clean-libiberty:
30824 @[ -f ./libiberty/Makefile ] || exit 0; \
30825 r=`${PWD_COMMAND}`; export r; \
30826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30827 $(HOST_EXPORTS) \
30828 for flag in $(EXTRA_HOST_FLAGS) ; do \
30829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30830 done; \
30831 echo "Doing clean in libiberty" ; \
30832 (cd $(HOST_SUBDIR)/libiberty && \
30833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30835 "RANLIB=$${RANLIB}" \
30836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30837 clean) \
30838 || exit 1
30840 @endif libiberty
30842 .PHONY: maybe-distclean-libiberty distclean-libiberty
30843 maybe-distclean-libiberty:
30844 @if libiberty
30845 maybe-distclean-libiberty: distclean-libiberty
30847 distclean-libiberty:
30848 @[ -f ./libiberty/Makefile ] || exit 0; \
30849 r=`${PWD_COMMAND}`; export r; \
30850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30851 $(HOST_EXPORTS) \
30852 for flag in $(EXTRA_HOST_FLAGS) ; do \
30853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30854 done; \
30855 echo "Doing distclean in libiberty" ; \
30856 (cd $(HOST_SUBDIR)/libiberty && \
30857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30859 "RANLIB=$${RANLIB}" \
30860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30861 distclean) \
30862 || exit 1
30864 @endif libiberty
30866 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
30867 maybe-maintainer-clean-libiberty:
30868 @if libiberty
30869 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
30871 maintainer-clean-libiberty:
30872 @[ -f ./libiberty/Makefile ] || exit 0; \
30873 r=`${PWD_COMMAND}`; export r; \
30874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30875 $(HOST_EXPORTS) \
30876 for flag in $(EXTRA_HOST_FLAGS) ; do \
30877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30878 done; \
30879 echo "Doing maintainer-clean in libiberty" ; \
30880 (cd $(HOST_SUBDIR)/libiberty && \
30881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30883 "RANLIB=$${RANLIB}" \
30884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30885 maintainer-clean) \
30886 || exit 1
30888 @endif libiberty
30892 .PHONY: configure-libiconv maybe-configure-libiconv
30893 maybe-configure-libiconv:
30894 @if gcc-bootstrap
30895 configure-libiconv: stage_current
30896 @endif gcc-bootstrap
30897 @if libiconv
30898 maybe-configure-libiconv: configure-libiconv
30899 configure-libiconv:
30900 @: $(MAKE); $(unstage)
30901 @r=`${PWD_COMMAND}`; export r; \
30902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30903 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
30905 $(HOST_EXPORTS) \
30906 echo Configuring in $(HOST_SUBDIR)/libiconv; \
30907 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
30908 case $(srcdir) in \
30909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30910 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30912 esac; \
30913 srcdiroption="--srcdir=$${topdir}/libiconv"; \
30914 libsrcdir="$$s/libiconv"; \
30915 $(SHELL) $${libsrcdir}/configure \
30916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30917 --target=${target_alias} $${srcdiroption} --disable-shared \
30918 || exit 1
30919 @endif libiconv
30925 .PHONY: all-libiconv maybe-all-libiconv
30926 maybe-all-libiconv:
30927 @if gcc-bootstrap
30928 all-libiconv: stage_current
30929 @endif gcc-bootstrap
30930 @if libiconv
30931 TARGET-libiconv=all
30932 maybe-all-libiconv: all-libiconv
30933 all-libiconv: configure-libiconv
30934 @: $(MAKE); $(unstage)
30935 @r=`${PWD_COMMAND}`; export r; \
30936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30937 $(HOST_EXPORTS) \
30938 (cd $(HOST_SUBDIR)/libiconv && \
30939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30940 $(TARGET-libiconv))
30941 @endif libiconv
30946 .PHONY: check-libiconv maybe-check-libiconv
30947 maybe-check-libiconv:
30948 @if libiconv
30949 maybe-check-libiconv: check-libiconv
30951 check-libiconv:
30952 @: $(MAKE); $(unstage)
30953 @r=`${PWD_COMMAND}`; export r; \
30954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30955 $(HOST_EXPORTS) \
30956 (cd $(HOST_SUBDIR)/libiconv && \
30957 $(MAKE) $(FLAGS_TO_PASS) check)
30959 @endif libiconv
30961 .PHONY: install-libiconv maybe-install-libiconv
30962 maybe-install-libiconv:
30963 @if libiconv
30964 maybe-install-libiconv: install-libiconv
30966 install-libiconv:
30968 @endif libiconv
30970 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
30971 maybe-install-strip-libiconv:
30972 @if libiconv
30973 maybe-install-strip-libiconv: install-strip-libiconv
30975 install-strip-libiconv:
30977 @endif libiconv
30979 # Other targets (info, dvi, pdf, etc.)
30981 .PHONY: maybe-info-libiconv info-libiconv
30982 maybe-info-libiconv:
30983 @if libiconv
30984 maybe-info-libiconv: info-libiconv
30986 info-libiconv: \
30987 configure-libiconv
30988 @: $(MAKE); $(unstage)
30989 @[ -f ./libiconv/Makefile ] || exit 0; \
30990 r=`${PWD_COMMAND}`; export r; \
30991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30992 $(HOST_EXPORTS) \
30993 for flag in $(EXTRA_HOST_FLAGS) ; do \
30994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30995 done; \
30996 echo "Doing info in libiconv" ; \
30997 (cd $(HOST_SUBDIR)/libiconv && \
30998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31000 "RANLIB=$${RANLIB}" \
31001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31002 info) \
31003 || exit 1
31005 @endif libiconv
31007 .PHONY: maybe-dvi-libiconv dvi-libiconv
31008 maybe-dvi-libiconv:
31009 @if libiconv
31010 maybe-dvi-libiconv: dvi-libiconv
31012 dvi-libiconv: \
31013 configure-libiconv
31014 @: $(MAKE); $(unstage)
31015 @[ -f ./libiconv/Makefile ] || exit 0; \
31016 r=`${PWD_COMMAND}`; export r; \
31017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31018 $(HOST_EXPORTS) \
31019 for flag in $(EXTRA_HOST_FLAGS) ; do \
31020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31021 done; \
31022 echo "Doing dvi in libiconv" ; \
31023 (cd $(HOST_SUBDIR)/libiconv && \
31024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31026 "RANLIB=$${RANLIB}" \
31027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31028 dvi) \
31029 || exit 1
31031 @endif libiconv
31033 .PHONY: maybe-pdf-libiconv pdf-libiconv
31034 maybe-pdf-libiconv:
31035 @if libiconv
31036 maybe-pdf-libiconv: pdf-libiconv
31038 pdf-libiconv: \
31039 configure-libiconv
31040 @: $(MAKE); $(unstage)
31041 @[ -f ./libiconv/Makefile ] || exit 0; \
31042 r=`${PWD_COMMAND}`; export r; \
31043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31044 $(HOST_EXPORTS) \
31045 for flag in $(EXTRA_HOST_FLAGS) ; do \
31046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31047 done; \
31048 echo "Doing pdf in libiconv" ; \
31049 (cd $(HOST_SUBDIR)/libiconv && \
31050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31052 "RANLIB=$${RANLIB}" \
31053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31054 pdf) \
31055 || exit 1
31057 @endif libiconv
31059 .PHONY: maybe-html-libiconv html-libiconv
31060 maybe-html-libiconv:
31061 @if libiconv
31062 maybe-html-libiconv: html-libiconv
31064 html-libiconv: \
31065 configure-libiconv
31066 @: $(MAKE); $(unstage)
31067 @[ -f ./libiconv/Makefile ] || exit 0; \
31068 r=`${PWD_COMMAND}`; export r; \
31069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 $(HOST_EXPORTS) \
31071 for flag in $(EXTRA_HOST_FLAGS) ; do \
31072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31073 done; \
31074 echo "Doing html in libiconv" ; \
31075 (cd $(HOST_SUBDIR)/libiconv && \
31076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31078 "RANLIB=$${RANLIB}" \
31079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31080 html) \
31081 || exit 1
31083 @endif libiconv
31085 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
31086 maybe-TAGS-libiconv:
31087 @if libiconv
31088 maybe-TAGS-libiconv: TAGS-libiconv
31090 TAGS-libiconv: \
31091 configure-libiconv
31092 @: $(MAKE); $(unstage)
31093 @[ -f ./libiconv/Makefile ] || exit 0; \
31094 r=`${PWD_COMMAND}`; export r; \
31095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31096 $(HOST_EXPORTS) \
31097 for flag in $(EXTRA_HOST_FLAGS) ; do \
31098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31099 done; \
31100 echo "Doing TAGS in libiconv" ; \
31101 (cd $(HOST_SUBDIR)/libiconv && \
31102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31104 "RANLIB=$${RANLIB}" \
31105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31106 TAGS) \
31107 || exit 1
31109 @endif libiconv
31111 .PHONY: maybe-install-info-libiconv install-info-libiconv
31112 maybe-install-info-libiconv:
31113 @if libiconv
31114 maybe-install-info-libiconv: install-info-libiconv
31116 # libiconv doesn't support install-info.
31117 install-info-libiconv:
31119 @endif libiconv
31121 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
31122 maybe-install-pdf-libiconv:
31123 @if libiconv
31124 maybe-install-pdf-libiconv: install-pdf-libiconv
31126 # libiconv doesn't support install-pdf.
31127 install-pdf-libiconv:
31129 @endif libiconv
31131 .PHONY: maybe-install-html-libiconv install-html-libiconv
31132 maybe-install-html-libiconv:
31133 @if libiconv
31134 maybe-install-html-libiconv: install-html-libiconv
31136 # libiconv doesn't support install-html.
31137 install-html-libiconv:
31139 @endif libiconv
31141 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
31142 maybe-installcheck-libiconv:
31143 @if libiconv
31144 maybe-installcheck-libiconv: installcheck-libiconv
31146 installcheck-libiconv: \
31147 configure-libiconv
31148 @: $(MAKE); $(unstage)
31149 @[ -f ./libiconv/Makefile ] || exit 0; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(HOST_EXPORTS) \
31153 for flag in $(EXTRA_HOST_FLAGS) ; do \
31154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31155 done; \
31156 echo "Doing installcheck in libiconv" ; \
31157 (cd $(HOST_SUBDIR)/libiconv && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31162 installcheck) \
31163 || exit 1
31165 @endif libiconv
31167 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
31168 maybe-mostlyclean-libiconv:
31169 @if libiconv
31170 maybe-mostlyclean-libiconv: mostlyclean-libiconv
31172 mostlyclean-libiconv:
31173 @: $(MAKE); $(unstage)
31174 @[ -f ./libiconv/Makefile ] || exit 0; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(HOST_EXPORTS) \
31178 for flag in $(EXTRA_HOST_FLAGS) ; do \
31179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31180 done; \
31181 echo "Doing mostlyclean in libiconv" ; \
31182 (cd $(HOST_SUBDIR)/libiconv && \
31183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31185 "RANLIB=$${RANLIB}" \
31186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31187 mostlyclean) \
31188 || exit 1
31190 @endif libiconv
31192 .PHONY: maybe-clean-libiconv clean-libiconv
31193 maybe-clean-libiconv:
31194 @if libiconv
31195 maybe-clean-libiconv: clean-libiconv
31197 clean-libiconv:
31198 @: $(MAKE); $(unstage)
31199 @[ -f ./libiconv/Makefile ] || exit 0; \
31200 r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 for flag in $(EXTRA_HOST_FLAGS) ; do \
31204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31205 done; \
31206 echo "Doing clean in libiconv" ; \
31207 (cd $(HOST_SUBDIR)/libiconv && \
31208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31210 "RANLIB=$${RANLIB}" \
31211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31212 clean) \
31213 || exit 1
31215 @endif libiconv
31217 .PHONY: maybe-distclean-libiconv distclean-libiconv
31218 maybe-distclean-libiconv:
31219 @if libiconv
31220 maybe-distclean-libiconv: distclean-libiconv
31222 distclean-libiconv:
31223 @: $(MAKE); $(unstage)
31224 @[ -f ./libiconv/Makefile ] || exit 0; \
31225 r=`${PWD_COMMAND}`; export r; \
31226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31227 $(HOST_EXPORTS) \
31228 for flag in $(EXTRA_HOST_FLAGS) ; do \
31229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31230 done; \
31231 echo "Doing distclean in libiconv" ; \
31232 (cd $(HOST_SUBDIR)/libiconv && \
31233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31235 "RANLIB=$${RANLIB}" \
31236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31237 distclean) \
31238 || exit 1
31240 @endif libiconv
31242 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
31243 maybe-maintainer-clean-libiconv:
31244 @if libiconv
31245 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
31247 maintainer-clean-libiconv:
31248 @: $(MAKE); $(unstage)
31249 @[ -f ./libiconv/Makefile ] || exit 0; \
31250 r=`${PWD_COMMAND}`; export r; \
31251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31252 $(HOST_EXPORTS) \
31253 for flag in $(EXTRA_HOST_FLAGS) ; do \
31254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31255 done; \
31256 echo "Doing maintainer-clean in libiconv" ; \
31257 (cd $(HOST_SUBDIR)/libiconv && \
31258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31260 "RANLIB=$${RANLIB}" \
31261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31262 maintainer-clean) \
31263 || exit 1
31265 @endif libiconv
31269 .PHONY: configure-libtool maybe-configure-libtool
31270 maybe-configure-libtool:
31271 @if gcc-bootstrap
31272 configure-libtool: stage_current
31273 @endif gcc-bootstrap
31274 @if libtool
31275 maybe-configure-libtool: configure-libtool
31276 configure-libtool:
31277 @: $(MAKE); $(unstage)
31278 @r=`${PWD_COMMAND}`; export r; \
31279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31280 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
31281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
31282 $(HOST_EXPORTS) \
31283 echo Configuring in $(HOST_SUBDIR)/libtool; \
31284 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
31285 case $(srcdir) in \
31286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31287 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
31288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31289 esac; \
31290 srcdiroption="--srcdir=$${topdir}/libtool"; \
31291 libsrcdir="$$s/libtool"; \
31292 $(SHELL) $${libsrcdir}/configure \
31293 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31294 --target=${target_alias} $${srcdiroption} \
31295 || exit 1
31296 @endif libtool
31302 .PHONY: all-libtool maybe-all-libtool
31303 maybe-all-libtool:
31304 @if gcc-bootstrap
31305 all-libtool: stage_current
31306 @endif gcc-bootstrap
31307 @if libtool
31308 TARGET-libtool=all
31309 maybe-all-libtool: all-libtool
31310 all-libtool: configure-libtool
31311 @: $(MAKE); $(unstage)
31312 @r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 $(HOST_EXPORTS) \
31315 (cd $(HOST_SUBDIR)/libtool && \
31316 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31317 $(TARGET-libtool))
31318 @endif libtool
31323 .PHONY: check-libtool maybe-check-libtool
31324 maybe-check-libtool:
31325 @if libtool
31326 maybe-check-libtool: check-libtool
31328 check-libtool:
31329 @: $(MAKE); $(unstage)
31330 @r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 $(HOST_EXPORTS) \
31333 (cd $(HOST_SUBDIR)/libtool && \
31334 $(MAKE) $(FLAGS_TO_PASS) check)
31336 @endif libtool
31338 .PHONY: install-libtool maybe-install-libtool
31339 maybe-install-libtool:
31340 @if libtool
31341 maybe-install-libtool: install-libtool
31343 install-libtool: installdirs
31344 @: $(MAKE); $(unstage)
31345 @r=`${PWD_COMMAND}`; export r; \
31346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31347 $(HOST_EXPORTS) \
31348 (cd $(HOST_SUBDIR)/libtool && \
31349 $(MAKE) $(FLAGS_TO_PASS) install)
31351 @endif libtool
31353 .PHONY: install-strip-libtool maybe-install-strip-libtool
31354 maybe-install-strip-libtool:
31355 @if libtool
31356 maybe-install-strip-libtool: install-strip-libtool
31358 install-strip-libtool: installdirs
31359 @: $(MAKE); $(unstage)
31360 @r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 $(HOST_EXPORTS) \
31363 (cd $(HOST_SUBDIR)/libtool && \
31364 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31366 @endif libtool
31368 # Other targets (info, dvi, pdf, etc.)
31370 .PHONY: maybe-info-libtool info-libtool
31371 maybe-info-libtool:
31372 @if libtool
31373 maybe-info-libtool: info-libtool
31375 info-libtool: \
31376 configure-libtool
31377 @: $(MAKE); $(unstage)
31378 @[ -f ./libtool/Makefile ] || exit 0; \
31379 r=`${PWD_COMMAND}`; export r; \
31380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31381 $(HOST_EXPORTS) \
31382 for flag in $(EXTRA_HOST_FLAGS) ; do \
31383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31384 done; \
31385 echo "Doing info in libtool" ; \
31386 (cd $(HOST_SUBDIR)/libtool && \
31387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31389 "RANLIB=$${RANLIB}" \
31390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31391 info) \
31392 || exit 1
31394 @endif libtool
31396 .PHONY: maybe-dvi-libtool dvi-libtool
31397 maybe-dvi-libtool:
31398 @if libtool
31399 maybe-dvi-libtool: dvi-libtool
31401 dvi-libtool: \
31402 configure-libtool
31403 @: $(MAKE); $(unstage)
31404 @[ -f ./libtool/Makefile ] || exit 0; \
31405 r=`${PWD_COMMAND}`; export r; \
31406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31407 $(HOST_EXPORTS) \
31408 for flag in $(EXTRA_HOST_FLAGS) ; do \
31409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31410 done; \
31411 echo "Doing dvi in libtool" ; \
31412 (cd $(HOST_SUBDIR)/libtool && \
31413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31415 "RANLIB=$${RANLIB}" \
31416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31417 dvi) \
31418 || exit 1
31420 @endif libtool
31422 .PHONY: maybe-pdf-libtool pdf-libtool
31423 maybe-pdf-libtool:
31424 @if libtool
31425 maybe-pdf-libtool: pdf-libtool
31427 pdf-libtool: \
31428 configure-libtool
31429 @: $(MAKE); $(unstage)
31430 @[ -f ./libtool/Makefile ] || exit 0; \
31431 r=`${PWD_COMMAND}`; export r; \
31432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31433 $(HOST_EXPORTS) \
31434 for flag in $(EXTRA_HOST_FLAGS) ; do \
31435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31436 done; \
31437 echo "Doing pdf in libtool" ; \
31438 (cd $(HOST_SUBDIR)/libtool && \
31439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31441 "RANLIB=$${RANLIB}" \
31442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31443 pdf) \
31444 || exit 1
31446 @endif libtool
31448 .PHONY: maybe-html-libtool html-libtool
31449 maybe-html-libtool:
31450 @if libtool
31451 maybe-html-libtool: html-libtool
31453 html-libtool: \
31454 configure-libtool
31455 @: $(MAKE); $(unstage)
31456 @[ -f ./libtool/Makefile ] || exit 0; \
31457 r=`${PWD_COMMAND}`; export r; \
31458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31459 $(HOST_EXPORTS) \
31460 for flag in $(EXTRA_HOST_FLAGS) ; do \
31461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31462 done; \
31463 echo "Doing html in libtool" ; \
31464 (cd $(HOST_SUBDIR)/libtool && \
31465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31467 "RANLIB=$${RANLIB}" \
31468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31469 html) \
31470 || exit 1
31472 @endif libtool
31474 .PHONY: maybe-TAGS-libtool TAGS-libtool
31475 maybe-TAGS-libtool:
31476 @if libtool
31477 maybe-TAGS-libtool: TAGS-libtool
31479 TAGS-libtool: \
31480 configure-libtool
31481 @: $(MAKE); $(unstage)
31482 @[ -f ./libtool/Makefile ] || exit 0; \
31483 r=`${PWD_COMMAND}`; export r; \
31484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31485 $(HOST_EXPORTS) \
31486 for flag in $(EXTRA_HOST_FLAGS) ; do \
31487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31488 done; \
31489 echo "Doing TAGS in libtool" ; \
31490 (cd $(HOST_SUBDIR)/libtool && \
31491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31493 "RANLIB=$${RANLIB}" \
31494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31495 TAGS) \
31496 || exit 1
31498 @endif libtool
31500 .PHONY: maybe-install-info-libtool install-info-libtool
31501 maybe-install-info-libtool:
31502 @if libtool
31503 maybe-install-info-libtool: install-info-libtool
31505 install-info-libtool: \
31506 configure-libtool \
31507 info-libtool
31508 @: $(MAKE); $(unstage)
31509 @[ -f ./libtool/Makefile ] || exit 0; \
31510 r=`${PWD_COMMAND}`; export r; \
31511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31512 $(HOST_EXPORTS) \
31513 for flag in $(EXTRA_HOST_FLAGS) ; do \
31514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31515 done; \
31516 echo "Doing install-info in libtool" ; \
31517 (cd $(HOST_SUBDIR)/libtool && \
31518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31520 "RANLIB=$${RANLIB}" \
31521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31522 install-info) \
31523 || exit 1
31525 @endif libtool
31527 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
31528 maybe-install-pdf-libtool:
31529 @if libtool
31530 maybe-install-pdf-libtool: install-pdf-libtool
31532 install-pdf-libtool: \
31533 configure-libtool \
31534 pdf-libtool
31535 @: $(MAKE); $(unstage)
31536 @[ -f ./libtool/Makefile ] || exit 0; \
31537 r=`${PWD_COMMAND}`; export r; \
31538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31539 $(HOST_EXPORTS) \
31540 for flag in $(EXTRA_HOST_FLAGS) ; do \
31541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31542 done; \
31543 echo "Doing install-pdf in libtool" ; \
31544 (cd $(HOST_SUBDIR)/libtool && \
31545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31547 "RANLIB=$${RANLIB}" \
31548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31549 install-pdf) \
31550 || exit 1
31552 @endif libtool
31554 .PHONY: maybe-install-html-libtool install-html-libtool
31555 maybe-install-html-libtool:
31556 @if libtool
31557 maybe-install-html-libtool: install-html-libtool
31559 install-html-libtool: \
31560 configure-libtool \
31561 html-libtool
31562 @: $(MAKE); $(unstage)
31563 @[ -f ./libtool/Makefile ] || exit 0; \
31564 r=`${PWD_COMMAND}`; export r; \
31565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31566 $(HOST_EXPORTS) \
31567 for flag in $(EXTRA_HOST_FLAGS) ; do \
31568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31569 done; \
31570 echo "Doing install-html in libtool" ; \
31571 (cd $(HOST_SUBDIR)/libtool && \
31572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31574 "RANLIB=$${RANLIB}" \
31575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31576 install-html) \
31577 || exit 1
31579 @endif libtool
31581 .PHONY: maybe-installcheck-libtool installcheck-libtool
31582 maybe-installcheck-libtool:
31583 @if libtool
31584 maybe-installcheck-libtool: installcheck-libtool
31586 installcheck-libtool: \
31587 configure-libtool
31588 @: $(MAKE); $(unstage)
31589 @[ -f ./libtool/Makefile ] || exit 0; \
31590 r=`${PWD_COMMAND}`; export r; \
31591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31592 $(HOST_EXPORTS) \
31593 for flag in $(EXTRA_HOST_FLAGS) ; do \
31594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31595 done; \
31596 echo "Doing installcheck in libtool" ; \
31597 (cd $(HOST_SUBDIR)/libtool && \
31598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31600 "RANLIB=$${RANLIB}" \
31601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31602 installcheck) \
31603 || exit 1
31605 @endif libtool
31607 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
31608 maybe-mostlyclean-libtool:
31609 @if libtool
31610 maybe-mostlyclean-libtool: mostlyclean-libtool
31612 mostlyclean-libtool:
31613 @: $(MAKE); $(unstage)
31614 @[ -f ./libtool/Makefile ] || exit 0; \
31615 r=`${PWD_COMMAND}`; export r; \
31616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31617 $(HOST_EXPORTS) \
31618 for flag in $(EXTRA_HOST_FLAGS) ; do \
31619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31620 done; \
31621 echo "Doing mostlyclean in libtool" ; \
31622 (cd $(HOST_SUBDIR)/libtool && \
31623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31625 "RANLIB=$${RANLIB}" \
31626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31627 mostlyclean) \
31628 || exit 1
31630 @endif libtool
31632 .PHONY: maybe-clean-libtool clean-libtool
31633 maybe-clean-libtool:
31634 @if libtool
31635 maybe-clean-libtool: clean-libtool
31637 clean-libtool:
31638 @: $(MAKE); $(unstage)
31639 @[ -f ./libtool/Makefile ] || exit 0; \
31640 r=`${PWD_COMMAND}`; export r; \
31641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31642 $(HOST_EXPORTS) \
31643 for flag in $(EXTRA_HOST_FLAGS) ; do \
31644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31645 done; \
31646 echo "Doing clean in libtool" ; \
31647 (cd $(HOST_SUBDIR)/libtool && \
31648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31650 "RANLIB=$${RANLIB}" \
31651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31652 clean) \
31653 || exit 1
31655 @endif libtool
31657 .PHONY: maybe-distclean-libtool distclean-libtool
31658 maybe-distclean-libtool:
31659 @if libtool
31660 maybe-distclean-libtool: distclean-libtool
31662 distclean-libtool:
31663 @: $(MAKE); $(unstage)
31664 @[ -f ./libtool/Makefile ] || exit 0; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(HOST_EXPORTS) \
31668 for flag in $(EXTRA_HOST_FLAGS) ; do \
31669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31670 done; \
31671 echo "Doing distclean in libtool" ; \
31672 (cd $(HOST_SUBDIR)/libtool && \
31673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31675 "RANLIB=$${RANLIB}" \
31676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31677 distclean) \
31678 || exit 1
31680 @endif libtool
31682 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
31683 maybe-maintainer-clean-libtool:
31684 @if libtool
31685 maybe-maintainer-clean-libtool: maintainer-clean-libtool
31687 maintainer-clean-libtool:
31688 @: $(MAKE); $(unstage)
31689 @[ -f ./libtool/Makefile ] || exit 0; \
31690 r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(HOST_EXPORTS) \
31693 for flag in $(EXTRA_HOST_FLAGS) ; do \
31694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31695 done; \
31696 echo "Doing maintainer-clean in libtool" ; \
31697 (cd $(HOST_SUBDIR)/libtool && \
31698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31700 "RANLIB=$${RANLIB}" \
31701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31702 maintainer-clean) \
31703 || exit 1
31705 @endif libtool
31709 .PHONY: configure-m4 maybe-configure-m4
31710 maybe-configure-m4:
31711 @if gcc-bootstrap
31712 configure-m4: stage_current
31713 @endif gcc-bootstrap
31714 @if m4
31715 maybe-configure-m4: configure-m4
31716 configure-m4:
31717 @: $(MAKE); $(unstage)
31718 @r=`${PWD_COMMAND}`; export r; \
31719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31720 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
31721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
31722 $(HOST_EXPORTS) \
31723 echo Configuring in $(HOST_SUBDIR)/m4; \
31724 cd "$(HOST_SUBDIR)/m4" || exit 1; \
31725 case $(srcdir) in \
31726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31727 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
31728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31729 esac; \
31730 srcdiroption="--srcdir=$${topdir}/m4"; \
31731 libsrcdir="$$s/m4"; \
31732 $(SHELL) $${libsrcdir}/configure \
31733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31734 --target=${target_alias} $${srcdiroption} \
31735 || exit 1
31736 @endif m4
31742 .PHONY: all-m4 maybe-all-m4
31743 maybe-all-m4:
31744 @if gcc-bootstrap
31745 all-m4: stage_current
31746 @endif gcc-bootstrap
31747 @if m4
31748 TARGET-m4=all
31749 maybe-all-m4: all-m4
31750 all-m4: configure-m4
31751 @: $(MAKE); $(unstage)
31752 @r=`${PWD_COMMAND}`; export r; \
31753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31754 $(HOST_EXPORTS) \
31755 (cd $(HOST_SUBDIR)/m4 && \
31756 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31757 $(TARGET-m4))
31758 @endif m4
31763 .PHONY: check-m4 maybe-check-m4
31764 maybe-check-m4:
31765 @if m4
31766 maybe-check-m4: check-m4
31768 check-m4:
31769 @: $(MAKE); $(unstage)
31770 @r=`${PWD_COMMAND}`; export r; \
31771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31772 $(HOST_EXPORTS) \
31773 (cd $(HOST_SUBDIR)/m4 && \
31774 $(MAKE) $(FLAGS_TO_PASS) check)
31776 @endif m4
31778 .PHONY: install-m4 maybe-install-m4
31779 maybe-install-m4:
31780 @if m4
31781 maybe-install-m4: install-m4
31783 install-m4: installdirs
31784 @: $(MAKE); $(unstage)
31785 @r=`${PWD_COMMAND}`; export r; \
31786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31787 $(HOST_EXPORTS) \
31788 (cd $(HOST_SUBDIR)/m4 && \
31789 $(MAKE) $(FLAGS_TO_PASS) install)
31791 @endif m4
31793 .PHONY: install-strip-m4 maybe-install-strip-m4
31794 maybe-install-strip-m4:
31795 @if m4
31796 maybe-install-strip-m4: install-strip-m4
31798 install-strip-m4: installdirs
31799 @: $(MAKE); $(unstage)
31800 @r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(HOST_EXPORTS) \
31803 (cd $(HOST_SUBDIR)/m4 && \
31804 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31806 @endif m4
31808 # Other targets (info, dvi, pdf, etc.)
31810 .PHONY: maybe-info-m4 info-m4
31811 maybe-info-m4:
31812 @if m4
31813 maybe-info-m4: info-m4
31815 info-m4: \
31816 configure-m4
31817 @: $(MAKE); $(unstage)
31818 @[ -f ./m4/Makefile ] || exit 0; \
31819 r=`${PWD_COMMAND}`; export r; \
31820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31821 $(HOST_EXPORTS) \
31822 for flag in $(EXTRA_HOST_FLAGS) ; do \
31823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31824 done; \
31825 echo "Doing info in m4" ; \
31826 (cd $(HOST_SUBDIR)/m4 && \
31827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31829 "RANLIB=$${RANLIB}" \
31830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31831 info) \
31832 || exit 1
31834 @endif m4
31836 .PHONY: maybe-dvi-m4 dvi-m4
31837 maybe-dvi-m4:
31838 @if m4
31839 maybe-dvi-m4: dvi-m4
31841 dvi-m4: \
31842 configure-m4
31843 @: $(MAKE); $(unstage)
31844 @[ -f ./m4/Makefile ] || exit 0; \
31845 r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(HOST_EXPORTS) \
31848 for flag in $(EXTRA_HOST_FLAGS) ; do \
31849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31850 done; \
31851 echo "Doing dvi in m4" ; \
31852 (cd $(HOST_SUBDIR)/m4 && \
31853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31855 "RANLIB=$${RANLIB}" \
31856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31857 dvi) \
31858 || exit 1
31860 @endif m4
31862 .PHONY: maybe-pdf-m4 pdf-m4
31863 maybe-pdf-m4:
31864 @if m4
31865 maybe-pdf-m4: pdf-m4
31867 pdf-m4: \
31868 configure-m4
31869 @: $(MAKE); $(unstage)
31870 @[ -f ./m4/Makefile ] || exit 0; \
31871 r=`${PWD_COMMAND}`; export r; \
31872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31873 $(HOST_EXPORTS) \
31874 for flag in $(EXTRA_HOST_FLAGS) ; do \
31875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31876 done; \
31877 echo "Doing pdf in m4" ; \
31878 (cd $(HOST_SUBDIR)/m4 && \
31879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31881 "RANLIB=$${RANLIB}" \
31882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31883 pdf) \
31884 || exit 1
31886 @endif m4
31888 .PHONY: maybe-html-m4 html-m4
31889 maybe-html-m4:
31890 @if m4
31891 maybe-html-m4: html-m4
31893 html-m4: \
31894 configure-m4
31895 @: $(MAKE); $(unstage)
31896 @[ -f ./m4/Makefile ] || exit 0; \
31897 r=`${PWD_COMMAND}`; export r; \
31898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31899 $(HOST_EXPORTS) \
31900 for flag in $(EXTRA_HOST_FLAGS) ; do \
31901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31902 done; \
31903 echo "Doing html in m4" ; \
31904 (cd $(HOST_SUBDIR)/m4 && \
31905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31907 "RANLIB=$${RANLIB}" \
31908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31909 html) \
31910 || exit 1
31912 @endif m4
31914 .PHONY: maybe-TAGS-m4 TAGS-m4
31915 maybe-TAGS-m4:
31916 @if m4
31917 maybe-TAGS-m4: TAGS-m4
31919 TAGS-m4: \
31920 configure-m4
31921 @: $(MAKE); $(unstage)
31922 @[ -f ./m4/Makefile ] || exit 0; \
31923 r=`${PWD_COMMAND}`; export r; \
31924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31925 $(HOST_EXPORTS) \
31926 for flag in $(EXTRA_HOST_FLAGS) ; do \
31927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31928 done; \
31929 echo "Doing TAGS in m4" ; \
31930 (cd $(HOST_SUBDIR)/m4 && \
31931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31933 "RANLIB=$${RANLIB}" \
31934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31935 TAGS) \
31936 || exit 1
31938 @endif m4
31940 .PHONY: maybe-install-info-m4 install-info-m4
31941 maybe-install-info-m4:
31942 @if m4
31943 maybe-install-info-m4: install-info-m4
31945 install-info-m4: \
31946 configure-m4 \
31947 info-m4
31948 @: $(MAKE); $(unstage)
31949 @[ -f ./m4/Makefile ] || exit 0; \
31950 r=`${PWD_COMMAND}`; export r; \
31951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31952 $(HOST_EXPORTS) \
31953 for flag in $(EXTRA_HOST_FLAGS) ; do \
31954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31955 done; \
31956 echo "Doing install-info in m4" ; \
31957 (cd $(HOST_SUBDIR)/m4 && \
31958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31960 "RANLIB=$${RANLIB}" \
31961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31962 install-info) \
31963 || exit 1
31965 @endif m4
31967 .PHONY: maybe-install-pdf-m4 install-pdf-m4
31968 maybe-install-pdf-m4:
31969 @if m4
31970 maybe-install-pdf-m4: install-pdf-m4
31972 install-pdf-m4: \
31973 configure-m4 \
31974 pdf-m4
31975 @: $(MAKE); $(unstage)
31976 @[ -f ./m4/Makefile ] || exit 0; \
31977 r=`${PWD_COMMAND}`; export r; \
31978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31979 $(HOST_EXPORTS) \
31980 for flag in $(EXTRA_HOST_FLAGS) ; do \
31981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31982 done; \
31983 echo "Doing install-pdf in m4" ; \
31984 (cd $(HOST_SUBDIR)/m4 && \
31985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31987 "RANLIB=$${RANLIB}" \
31988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31989 install-pdf) \
31990 || exit 1
31992 @endif m4
31994 .PHONY: maybe-install-html-m4 install-html-m4
31995 maybe-install-html-m4:
31996 @if m4
31997 maybe-install-html-m4: install-html-m4
31999 install-html-m4: \
32000 configure-m4 \
32001 html-m4
32002 @: $(MAKE); $(unstage)
32003 @[ -f ./m4/Makefile ] || exit 0; \
32004 r=`${PWD_COMMAND}`; export r; \
32005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32006 $(HOST_EXPORTS) \
32007 for flag in $(EXTRA_HOST_FLAGS) ; do \
32008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32009 done; \
32010 echo "Doing install-html in m4" ; \
32011 (cd $(HOST_SUBDIR)/m4 && \
32012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32014 "RANLIB=$${RANLIB}" \
32015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32016 install-html) \
32017 || exit 1
32019 @endif m4
32021 .PHONY: maybe-installcheck-m4 installcheck-m4
32022 maybe-installcheck-m4:
32023 @if m4
32024 maybe-installcheck-m4: installcheck-m4
32026 installcheck-m4: \
32027 configure-m4
32028 @: $(MAKE); $(unstage)
32029 @[ -f ./m4/Makefile ] || exit 0; \
32030 r=`${PWD_COMMAND}`; export r; \
32031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32032 $(HOST_EXPORTS) \
32033 for flag in $(EXTRA_HOST_FLAGS) ; do \
32034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32035 done; \
32036 echo "Doing installcheck in m4" ; \
32037 (cd $(HOST_SUBDIR)/m4 && \
32038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32040 "RANLIB=$${RANLIB}" \
32041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32042 installcheck) \
32043 || exit 1
32045 @endif m4
32047 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
32048 maybe-mostlyclean-m4:
32049 @if m4
32050 maybe-mostlyclean-m4: mostlyclean-m4
32052 mostlyclean-m4:
32053 @: $(MAKE); $(unstage)
32054 @[ -f ./m4/Makefile ] || exit 0; \
32055 r=`${PWD_COMMAND}`; export r; \
32056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32057 $(HOST_EXPORTS) \
32058 for flag in $(EXTRA_HOST_FLAGS) ; do \
32059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32060 done; \
32061 echo "Doing mostlyclean in m4" ; \
32062 (cd $(HOST_SUBDIR)/m4 && \
32063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32065 "RANLIB=$${RANLIB}" \
32066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32067 mostlyclean) \
32068 || exit 1
32070 @endif m4
32072 .PHONY: maybe-clean-m4 clean-m4
32073 maybe-clean-m4:
32074 @if m4
32075 maybe-clean-m4: clean-m4
32077 clean-m4:
32078 @: $(MAKE); $(unstage)
32079 @[ -f ./m4/Makefile ] || exit 0; \
32080 r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 $(HOST_EXPORTS) \
32083 for flag in $(EXTRA_HOST_FLAGS) ; do \
32084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32085 done; \
32086 echo "Doing clean in m4" ; \
32087 (cd $(HOST_SUBDIR)/m4 && \
32088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32090 "RANLIB=$${RANLIB}" \
32091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32092 clean) \
32093 || exit 1
32095 @endif m4
32097 .PHONY: maybe-distclean-m4 distclean-m4
32098 maybe-distclean-m4:
32099 @if m4
32100 maybe-distclean-m4: distclean-m4
32102 distclean-m4:
32103 @: $(MAKE); $(unstage)
32104 @[ -f ./m4/Makefile ] || exit 0; \
32105 r=`${PWD_COMMAND}`; export r; \
32106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32107 $(HOST_EXPORTS) \
32108 for flag in $(EXTRA_HOST_FLAGS) ; do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 echo "Doing distclean in m4" ; \
32112 (cd $(HOST_SUBDIR)/m4 && \
32113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32115 "RANLIB=$${RANLIB}" \
32116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32117 distclean) \
32118 || exit 1
32120 @endif m4
32122 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
32123 maybe-maintainer-clean-m4:
32124 @if m4
32125 maybe-maintainer-clean-m4: maintainer-clean-m4
32127 maintainer-clean-m4:
32128 @: $(MAKE); $(unstage)
32129 @[ -f ./m4/Makefile ] || exit 0; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(HOST_EXPORTS) \
32133 for flag in $(EXTRA_HOST_FLAGS) ; do \
32134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32135 done; \
32136 echo "Doing maintainer-clean in m4" ; \
32137 (cd $(HOST_SUBDIR)/m4 && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32142 maintainer-clean) \
32143 || exit 1
32145 @endif m4
32149 .PHONY: configure-make maybe-configure-make
32150 maybe-configure-make:
32151 @if gcc-bootstrap
32152 configure-make: stage_current
32153 @endif gcc-bootstrap
32154 @if make
32155 maybe-configure-make: configure-make
32156 configure-make:
32157 @: $(MAKE); $(unstage)
32158 @r=`${PWD_COMMAND}`; export r; \
32159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32160 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
32161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
32162 $(HOST_EXPORTS) \
32163 echo Configuring in $(HOST_SUBDIR)/make; \
32164 cd "$(HOST_SUBDIR)/make" || exit 1; \
32165 case $(srcdir) in \
32166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32167 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
32168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32169 esac; \
32170 srcdiroption="--srcdir=$${topdir}/make"; \
32171 libsrcdir="$$s/make"; \
32172 $(SHELL) $${libsrcdir}/configure \
32173 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32174 --target=${target_alias} $${srcdiroption} \
32175 || exit 1
32176 @endif make
32182 .PHONY: all-make maybe-all-make
32183 maybe-all-make:
32184 @if gcc-bootstrap
32185 all-make: stage_current
32186 @endif gcc-bootstrap
32187 @if make
32188 TARGET-make=all
32189 maybe-all-make: all-make
32190 all-make: configure-make
32191 @: $(MAKE); $(unstage)
32192 @r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 $(HOST_EXPORTS) \
32195 (cd $(HOST_SUBDIR)/make && \
32196 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32197 $(TARGET-make))
32198 @endif make
32203 .PHONY: check-make maybe-check-make
32204 maybe-check-make:
32205 @if make
32206 maybe-check-make: check-make
32208 check-make:
32209 @: $(MAKE); $(unstage)
32210 @r=`${PWD_COMMAND}`; export r; \
32211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32212 $(HOST_EXPORTS) \
32213 (cd $(HOST_SUBDIR)/make && \
32214 $(MAKE) $(FLAGS_TO_PASS) check)
32216 @endif make
32218 .PHONY: install-make maybe-install-make
32219 maybe-install-make:
32220 @if make
32221 maybe-install-make: install-make
32223 install-make: installdirs
32224 @: $(MAKE); $(unstage)
32225 @r=`${PWD_COMMAND}`; export r; \
32226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32227 $(HOST_EXPORTS) \
32228 (cd $(HOST_SUBDIR)/make && \
32229 $(MAKE) $(FLAGS_TO_PASS) install)
32231 @endif make
32233 .PHONY: install-strip-make maybe-install-strip-make
32234 maybe-install-strip-make:
32235 @if make
32236 maybe-install-strip-make: install-strip-make
32238 install-strip-make: installdirs
32239 @: $(MAKE); $(unstage)
32240 @r=`${PWD_COMMAND}`; export r; \
32241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32242 $(HOST_EXPORTS) \
32243 (cd $(HOST_SUBDIR)/make && \
32244 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32246 @endif make
32248 # Other targets (info, dvi, pdf, etc.)
32250 .PHONY: maybe-info-make info-make
32251 maybe-info-make:
32252 @if make
32253 maybe-info-make: info-make
32255 info-make: \
32256 configure-make
32257 @: $(MAKE); $(unstage)
32258 @[ -f ./make/Makefile ] || exit 0; \
32259 r=`${PWD_COMMAND}`; export r; \
32260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32261 $(HOST_EXPORTS) \
32262 for flag in $(EXTRA_HOST_FLAGS) ; do \
32263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32264 done; \
32265 echo "Doing info in make" ; \
32266 (cd $(HOST_SUBDIR)/make && \
32267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32269 "RANLIB=$${RANLIB}" \
32270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32271 info) \
32272 || exit 1
32274 @endif make
32276 .PHONY: maybe-dvi-make dvi-make
32277 maybe-dvi-make:
32278 @if make
32279 maybe-dvi-make: dvi-make
32281 dvi-make: \
32282 configure-make
32283 @: $(MAKE); $(unstage)
32284 @[ -f ./make/Makefile ] || exit 0; \
32285 r=`${PWD_COMMAND}`; export r; \
32286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32287 $(HOST_EXPORTS) \
32288 for flag in $(EXTRA_HOST_FLAGS) ; do \
32289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32290 done; \
32291 echo "Doing dvi in make" ; \
32292 (cd $(HOST_SUBDIR)/make && \
32293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32295 "RANLIB=$${RANLIB}" \
32296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32297 dvi) \
32298 || exit 1
32300 @endif make
32302 .PHONY: maybe-pdf-make pdf-make
32303 maybe-pdf-make:
32304 @if make
32305 maybe-pdf-make: pdf-make
32307 pdf-make: \
32308 configure-make
32309 @: $(MAKE); $(unstage)
32310 @[ -f ./make/Makefile ] || exit 0; \
32311 r=`${PWD_COMMAND}`; export r; \
32312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32313 $(HOST_EXPORTS) \
32314 for flag in $(EXTRA_HOST_FLAGS) ; do \
32315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32316 done; \
32317 echo "Doing pdf in make" ; \
32318 (cd $(HOST_SUBDIR)/make && \
32319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32321 "RANLIB=$${RANLIB}" \
32322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32323 pdf) \
32324 || exit 1
32326 @endif make
32328 .PHONY: maybe-html-make html-make
32329 maybe-html-make:
32330 @if make
32331 maybe-html-make: html-make
32333 html-make: \
32334 configure-make
32335 @: $(MAKE); $(unstage)
32336 @[ -f ./make/Makefile ] || exit 0; \
32337 r=`${PWD_COMMAND}`; export r; \
32338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32339 $(HOST_EXPORTS) \
32340 for flag in $(EXTRA_HOST_FLAGS) ; do \
32341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32342 done; \
32343 echo "Doing html in make" ; \
32344 (cd $(HOST_SUBDIR)/make && \
32345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32347 "RANLIB=$${RANLIB}" \
32348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32349 html) \
32350 || exit 1
32352 @endif make
32354 .PHONY: maybe-TAGS-make TAGS-make
32355 maybe-TAGS-make:
32356 @if make
32357 maybe-TAGS-make: TAGS-make
32359 TAGS-make: \
32360 configure-make
32361 @: $(MAKE); $(unstage)
32362 @[ -f ./make/Makefile ] || exit 0; \
32363 r=`${PWD_COMMAND}`; export r; \
32364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32365 $(HOST_EXPORTS) \
32366 for flag in $(EXTRA_HOST_FLAGS) ; do \
32367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32368 done; \
32369 echo "Doing TAGS in make" ; \
32370 (cd $(HOST_SUBDIR)/make && \
32371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32373 "RANLIB=$${RANLIB}" \
32374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32375 TAGS) \
32376 || exit 1
32378 @endif make
32380 .PHONY: maybe-install-info-make install-info-make
32381 maybe-install-info-make:
32382 @if make
32383 maybe-install-info-make: install-info-make
32385 install-info-make: \
32386 configure-make \
32387 info-make
32388 @: $(MAKE); $(unstage)
32389 @[ -f ./make/Makefile ] || exit 0; \
32390 r=`${PWD_COMMAND}`; export r; \
32391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32392 $(HOST_EXPORTS) \
32393 for flag in $(EXTRA_HOST_FLAGS) ; do \
32394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32395 done; \
32396 echo "Doing install-info in make" ; \
32397 (cd $(HOST_SUBDIR)/make && \
32398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32400 "RANLIB=$${RANLIB}" \
32401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32402 install-info) \
32403 || exit 1
32405 @endif make
32407 .PHONY: maybe-install-pdf-make install-pdf-make
32408 maybe-install-pdf-make:
32409 @if make
32410 maybe-install-pdf-make: install-pdf-make
32412 install-pdf-make: \
32413 configure-make \
32414 pdf-make
32415 @: $(MAKE); $(unstage)
32416 @[ -f ./make/Makefile ] || exit 0; \
32417 r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 $(HOST_EXPORTS) \
32420 for flag in $(EXTRA_HOST_FLAGS) ; do \
32421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32422 done; \
32423 echo "Doing install-pdf in make" ; \
32424 (cd $(HOST_SUBDIR)/make && \
32425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32427 "RANLIB=$${RANLIB}" \
32428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32429 install-pdf) \
32430 || exit 1
32432 @endif make
32434 .PHONY: maybe-install-html-make install-html-make
32435 maybe-install-html-make:
32436 @if make
32437 maybe-install-html-make: install-html-make
32439 install-html-make: \
32440 configure-make \
32441 html-make
32442 @: $(MAKE); $(unstage)
32443 @[ -f ./make/Makefile ] || exit 0; \
32444 r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 $(HOST_EXPORTS) \
32447 for flag in $(EXTRA_HOST_FLAGS) ; do \
32448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32449 done; \
32450 echo "Doing install-html in make" ; \
32451 (cd $(HOST_SUBDIR)/make && \
32452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32454 "RANLIB=$${RANLIB}" \
32455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32456 install-html) \
32457 || exit 1
32459 @endif make
32461 .PHONY: maybe-installcheck-make installcheck-make
32462 maybe-installcheck-make:
32463 @if make
32464 maybe-installcheck-make: installcheck-make
32466 installcheck-make: \
32467 configure-make
32468 @: $(MAKE); $(unstage)
32469 @[ -f ./make/Makefile ] || exit 0; \
32470 r=`${PWD_COMMAND}`; export r; \
32471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32472 $(HOST_EXPORTS) \
32473 for flag in $(EXTRA_HOST_FLAGS) ; do \
32474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32475 done; \
32476 echo "Doing installcheck in make" ; \
32477 (cd $(HOST_SUBDIR)/make && \
32478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32480 "RANLIB=$${RANLIB}" \
32481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32482 installcheck) \
32483 || exit 1
32485 @endif make
32487 .PHONY: maybe-mostlyclean-make mostlyclean-make
32488 maybe-mostlyclean-make:
32489 @if make
32490 maybe-mostlyclean-make: mostlyclean-make
32492 mostlyclean-make:
32493 @: $(MAKE); $(unstage)
32494 @[ -f ./make/Makefile ] || exit 0; \
32495 r=`${PWD_COMMAND}`; export r; \
32496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32497 $(HOST_EXPORTS) \
32498 for flag in $(EXTRA_HOST_FLAGS) ; do \
32499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32500 done; \
32501 echo "Doing mostlyclean in make" ; \
32502 (cd $(HOST_SUBDIR)/make && \
32503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32505 "RANLIB=$${RANLIB}" \
32506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32507 mostlyclean) \
32508 || exit 1
32510 @endif make
32512 .PHONY: maybe-clean-make clean-make
32513 maybe-clean-make:
32514 @if make
32515 maybe-clean-make: clean-make
32517 clean-make:
32518 @: $(MAKE); $(unstage)
32519 @[ -f ./make/Makefile ] || exit 0; \
32520 r=`${PWD_COMMAND}`; export r; \
32521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32522 $(HOST_EXPORTS) \
32523 for flag in $(EXTRA_HOST_FLAGS) ; do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 echo "Doing clean in make" ; \
32527 (cd $(HOST_SUBDIR)/make && \
32528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32530 "RANLIB=$${RANLIB}" \
32531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32532 clean) \
32533 || exit 1
32535 @endif make
32537 .PHONY: maybe-distclean-make distclean-make
32538 maybe-distclean-make:
32539 @if make
32540 maybe-distclean-make: distclean-make
32542 distclean-make:
32543 @: $(MAKE); $(unstage)
32544 @[ -f ./make/Makefile ] || exit 0; \
32545 r=`${PWD_COMMAND}`; export r; \
32546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32547 $(HOST_EXPORTS) \
32548 for flag in $(EXTRA_HOST_FLAGS) ; do \
32549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32550 done; \
32551 echo "Doing distclean in make" ; \
32552 (cd $(HOST_SUBDIR)/make && \
32553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32555 "RANLIB=$${RANLIB}" \
32556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32557 distclean) \
32558 || exit 1
32560 @endif make
32562 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
32563 maybe-maintainer-clean-make:
32564 @if make
32565 maybe-maintainer-clean-make: maintainer-clean-make
32567 maintainer-clean-make:
32568 @: $(MAKE); $(unstage)
32569 @[ -f ./make/Makefile ] || exit 0; \
32570 r=`${PWD_COMMAND}`; export r; \
32571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32572 $(HOST_EXPORTS) \
32573 for flag in $(EXTRA_HOST_FLAGS) ; do \
32574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32575 done; \
32576 echo "Doing maintainer-clean in make" ; \
32577 (cd $(HOST_SUBDIR)/make && \
32578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32580 "RANLIB=$${RANLIB}" \
32581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32582 maintainer-clean) \
32583 || exit 1
32585 @endif make
32589 .PHONY: configure-mmalloc maybe-configure-mmalloc
32590 maybe-configure-mmalloc:
32591 @if gcc-bootstrap
32592 configure-mmalloc: stage_current
32593 @endif gcc-bootstrap
32594 @if mmalloc
32595 maybe-configure-mmalloc: configure-mmalloc
32596 configure-mmalloc:
32597 @: $(MAKE); $(unstage)
32598 @r=`${PWD_COMMAND}`; export r; \
32599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32600 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
32601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
32602 $(HOST_EXPORTS) \
32603 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
32604 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
32605 case $(srcdir) in \
32606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32607 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
32608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32609 esac; \
32610 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
32611 libsrcdir="$$s/mmalloc"; \
32612 $(SHELL) $${libsrcdir}/configure \
32613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32614 --target=${target_alias} $${srcdiroption} \
32615 || exit 1
32616 @endif mmalloc
32622 .PHONY: all-mmalloc maybe-all-mmalloc
32623 maybe-all-mmalloc:
32624 @if gcc-bootstrap
32625 all-mmalloc: stage_current
32626 @endif gcc-bootstrap
32627 @if mmalloc
32628 TARGET-mmalloc=all
32629 maybe-all-mmalloc: all-mmalloc
32630 all-mmalloc: configure-mmalloc
32631 @: $(MAKE); $(unstage)
32632 @r=`${PWD_COMMAND}`; export r; \
32633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32634 $(HOST_EXPORTS) \
32635 (cd $(HOST_SUBDIR)/mmalloc && \
32636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32637 $(TARGET-mmalloc))
32638 @endif mmalloc
32643 .PHONY: check-mmalloc maybe-check-mmalloc
32644 maybe-check-mmalloc:
32645 @if mmalloc
32646 maybe-check-mmalloc: check-mmalloc
32648 check-mmalloc:
32650 @endif mmalloc
32652 .PHONY: install-mmalloc maybe-install-mmalloc
32653 maybe-install-mmalloc:
32654 @if mmalloc
32655 maybe-install-mmalloc: install-mmalloc
32657 install-mmalloc: installdirs
32658 @: $(MAKE); $(unstage)
32659 @r=`${PWD_COMMAND}`; export r; \
32660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32661 $(HOST_EXPORTS) \
32662 (cd $(HOST_SUBDIR)/mmalloc && \
32663 $(MAKE) $(FLAGS_TO_PASS) install)
32665 @endif mmalloc
32667 .PHONY: install-strip-mmalloc maybe-install-strip-mmalloc
32668 maybe-install-strip-mmalloc:
32669 @if mmalloc
32670 maybe-install-strip-mmalloc: install-strip-mmalloc
32672 install-strip-mmalloc: installdirs
32673 @: $(MAKE); $(unstage)
32674 @r=`${PWD_COMMAND}`; export r; \
32675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32676 $(HOST_EXPORTS) \
32677 (cd $(HOST_SUBDIR)/mmalloc && \
32678 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32680 @endif mmalloc
32682 # Other targets (info, dvi, pdf, etc.)
32684 .PHONY: maybe-info-mmalloc info-mmalloc
32685 maybe-info-mmalloc:
32686 @if mmalloc
32687 maybe-info-mmalloc: info-mmalloc
32689 info-mmalloc: \
32690 configure-mmalloc
32691 @: $(MAKE); $(unstage)
32692 @[ -f ./mmalloc/Makefile ] || exit 0; \
32693 r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(HOST_EXPORTS) \
32696 for flag in $(EXTRA_HOST_FLAGS) ; do \
32697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32698 done; \
32699 echo "Doing info in mmalloc" ; \
32700 (cd $(HOST_SUBDIR)/mmalloc && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32703 "RANLIB=$${RANLIB}" \
32704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32705 info) \
32706 || exit 1
32708 @endif mmalloc
32710 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
32711 maybe-dvi-mmalloc:
32712 @if mmalloc
32713 maybe-dvi-mmalloc: dvi-mmalloc
32715 dvi-mmalloc: \
32716 configure-mmalloc
32717 @: $(MAKE); $(unstage)
32718 @[ -f ./mmalloc/Makefile ] || exit 0; \
32719 r=`${PWD_COMMAND}`; export r; \
32720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32721 $(HOST_EXPORTS) \
32722 for flag in $(EXTRA_HOST_FLAGS) ; do \
32723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32724 done; \
32725 echo "Doing dvi in mmalloc" ; \
32726 (cd $(HOST_SUBDIR)/mmalloc && \
32727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32729 "RANLIB=$${RANLIB}" \
32730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32731 dvi) \
32732 || exit 1
32734 @endif mmalloc
32736 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
32737 maybe-pdf-mmalloc:
32738 @if mmalloc
32739 maybe-pdf-mmalloc: pdf-mmalloc
32741 pdf-mmalloc: \
32742 configure-mmalloc
32743 @: $(MAKE); $(unstage)
32744 @[ -f ./mmalloc/Makefile ] || exit 0; \
32745 r=`${PWD_COMMAND}`; export r; \
32746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32747 $(HOST_EXPORTS) \
32748 for flag in $(EXTRA_HOST_FLAGS) ; do \
32749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32750 done; \
32751 echo "Doing pdf in mmalloc" ; \
32752 (cd $(HOST_SUBDIR)/mmalloc && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32755 "RANLIB=$${RANLIB}" \
32756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32757 pdf) \
32758 || exit 1
32760 @endif mmalloc
32762 .PHONY: maybe-html-mmalloc html-mmalloc
32763 maybe-html-mmalloc:
32764 @if mmalloc
32765 maybe-html-mmalloc: html-mmalloc
32767 html-mmalloc: \
32768 configure-mmalloc
32769 @: $(MAKE); $(unstage)
32770 @[ -f ./mmalloc/Makefile ] || exit 0; \
32771 r=`${PWD_COMMAND}`; export r; \
32772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32773 $(HOST_EXPORTS) \
32774 for flag in $(EXTRA_HOST_FLAGS) ; do \
32775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32776 done; \
32777 echo "Doing html in mmalloc" ; \
32778 (cd $(HOST_SUBDIR)/mmalloc && \
32779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32781 "RANLIB=$${RANLIB}" \
32782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32783 html) \
32784 || exit 1
32786 @endif mmalloc
32788 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
32789 maybe-TAGS-mmalloc:
32790 @if mmalloc
32791 maybe-TAGS-mmalloc: TAGS-mmalloc
32793 TAGS-mmalloc: \
32794 configure-mmalloc
32795 @: $(MAKE); $(unstage)
32796 @[ -f ./mmalloc/Makefile ] || exit 0; \
32797 r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 $(HOST_EXPORTS) \
32800 for flag in $(EXTRA_HOST_FLAGS) ; do \
32801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32802 done; \
32803 echo "Doing TAGS in mmalloc" ; \
32804 (cd $(HOST_SUBDIR)/mmalloc && \
32805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32807 "RANLIB=$${RANLIB}" \
32808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32809 TAGS) \
32810 || exit 1
32812 @endif mmalloc
32814 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
32815 maybe-install-info-mmalloc:
32816 @if mmalloc
32817 maybe-install-info-mmalloc: install-info-mmalloc
32819 install-info-mmalloc: \
32820 configure-mmalloc \
32821 info-mmalloc
32822 @: $(MAKE); $(unstage)
32823 @[ -f ./mmalloc/Makefile ] || exit 0; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(HOST_EXPORTS) \
32827 for flag in $(EXTRA_HOST_FLAGS) ; do \
32828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32829 done; \
32830 echo "Doing install-info in mmalloc" ; \
32831 (cd $(HOST_SUBDIR)/mmalloc && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32836 install-info) \
32837 || exit 1
32839 @endif mmalloc
32841 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
32842 maybe-install-pdf-mmalloc:
32843 @if mmalloc
32844 maybe-install-pdf-mmalloc: install-pdf-mmalloc
32846 install-pdf-mmalloc: \
32847 configure-mmalloc \
32848 pdf-mmalloc
32849 @: $(MAKE); $(unstage)
32850 @[ -f ./mmalloc/Makefile ] || exit 0; \
32851 r=`${PWD_COMMAND}`; export r; \
32852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32853 $(HOST_EXPORTS) \
32854 for flag in $(EXTRA_HOST_FLAGS) ; do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 echo "Doing install-pdf in mmalloc" ; \
32858 (cd $(HOST_SUBDIR)/mmalloc && \
32859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32861 "RANLIB=$${RANLIB}" \
32862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32863 install-pdf) \
32864 || exit 1
32866 @endif mmalloc
32868 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
32869 maybe-install-html-mmalloc:
32870 @if mmalloc
32871 maybe-install-html-mmalloc: install-html-mmalloc
32873 install-html-mmalloc: \
32874 configure-mmalloc \
32875 html-mmalloc
32876 @: $(MAKE); $(unstage)
32877 @[ -f ./mmalloc/Makefile ] || exit 0; \
32878 r=`${PWD_COMMAND}`; export r; \
32879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32880 $(HOST_EXPORTS) \
32881 for flag in $(EXTRA_HOST_FLAGS) ; do \
32882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32883 done; \
32884 echo "Doing install-html in mmalloc" ; \
32885 (cd $(HOST_SUBDIR)/mmalloc && \
32886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32888 "RANLIB=$${RANLIB}" \
32889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32890 install-html) \
32891 || exit 1
32893 @endif mmalloc
32895 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
32896 maybe-installcheck-mmalloc:
32897 @if mmalloc
32898 maybe-installcheck-mmalloc: installcheck-mmalloc
32900 installcheck-mmalloc: \
32901 configure-mmalloc
32902 @: $(MAKE); $(unstage)
32903 @[ -f ./mmalloc/Makefile ] || exit 0; \
32904 r=`${PWD_COMMAND}`; export r; \
32905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32906 $(HOST_EXPORTS) \
32907 for flag in $(EXTRA_HOST_FLAGS) ; do \
32908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32909 done; \
32910 echo "Doing installcheck in mmalloc" ; \
32911 (cd $(HOST_SUBDIR)/mmalloc && \
32912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32914 "RANLIB=$${RANLIB}" \
32915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32916 installcheck) \
32917 || exit 1
32919 @endif mmalloc
32921 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
32922 maybe-mostlyclean-mmalloc:
32923 @if mmalloc
32924 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
32926 mostlyclean-mmalloc:
32927 @: $(MAKE); $(unstage)
32928 @[ -f ./mmalloc/Makefile ] || exit 0; \
32929 r=`${PWD_COMMAND}`; export r; \
32930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32931 $(HOST_EXPORTS) \
32932 for flag in $(EXTRA_HOST_FLAGS) ; do \
32933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32934 done; \
32935 echo "Doing mostlyclean in mmalloc" ; \
32936 (cd $(HOST_SUBDIR)/mmalloc && \
32937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32939 "RANLIB=$${RANLIB}" \
32940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32941 mostlyclean) \
32942 || exit 1
32944 @endif mmalloc
32946 .PHONY: maybe-clean-mmalloc clean-mmalloc
32947 maybe-clean-mmalloc:
32948 @if mmalloc
32949 maybe-clean-mmalloc: clean-mmalloc
32951 clean-mmalloc:
32952 @: $(MAKE); $(unstage)
32953 @[ -f ./mmalloc/Makefile ] || exit 0; \
32954 r=`${PWD_COMMAND}`; export r; \
32955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32956 $(HOST_EXPORTS) \
32957 for flag in $(EXTRA_HOST_FLAGS) ; do \
32958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32959 done; \
32960 echo "Doing clean in mmalloc" ; \
32961 (cd $(HOST_SUBDIR)/mmalloc && \
32962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32964 "RANLIB=$${RANLIB}" \
32965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32966 clean) \
32967 || exit 1
32969 @endif mmalloc
32971 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
32972 maybe-distclean-mmalloc:
32973 @if mmalloc
32974 maybe-distclean-mmalloc: distclean-mmalloc
32976 distclean-mmalloc:
32977 @: $(MAKE); $(unstage)
32978 @[ -f ./mmalloc/Makefile ] || exit 0; \
32979 r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(HOST_EXPORTS) \
32982 for flag in $(EXTRA_HOST_FLAGS) ; do \
32983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32984 done; \
32985 echo "Doing distclean in mmalloc" ; \
32986 (cd $(HOST_SUBDIR)/mmalloc && \
32987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32989 "RANLIB=$${RANLIB}" \
32990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32991 distclean) \
32992 || exit 1
32994 @endif mmalloc
32996 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
32997 maybe-maintainer-clean-mmalloc:
32998 @if mmalloc
32999 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
33001 maintainer-clean-mmalloc:
33002 @: $(MAKE); $(unstage)
33003 @[ -f ./mmalloc/Makefile ] || exit 0; \
33004 r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(HOST_EXPORTS) \
33007 for flag in $(EXTRA_HOST_FLAGS) ; do \
33008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33009 done; \
33010 echo "Doing maintainer-clean in mmalloc" ; \
33011 (cd $(HOST_SUBDIR)/mmalloc && \
33012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33014 "RANLIB=$${RANLIB}" \
33015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33016 maintainer-clean) \
33017 || exit 1
33019 @endif mmalloc
33023 .PHONY: configure-patch maybe-configure-patch
33024 maybe-configure-patch:
33025 @if gcc-bootstrap
33026 configure-patch: stage_current
33027 @endif gcc-bootstrap
33028 @if patch
33029 maybe-configure-patch: configure-patch
33030 configure-patch:
33031 @: $(MAKE); $(unstage)
33032 @r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
33035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
33036 $(HOST_EXPORTS) \
33037 echo Configuring in $(HOST_SUBDIR)/patch; \
33038 cd "$(HOST_SUBDIR)/patch" || exit 1; \
33039 case $(srcdir) in \
33040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33041 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
33042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33043 esac; \
33044 srcdiroption="--srcdir=$${topdir}/patch"; \
33045 libsrcdir="$$s/patch"; \
33046 $(SHELL) $${libsrcdir}/configure \
33047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33048 --target=${target_alias} $${srcdiroption} \
33049 || exit 1
33050 @endif patch
33056 .PHONY: all-patch maybe-all-patch
33057 maybe-all-patch:
33058 @if gcc-bootstrap
33059 all-patch: stage_current
33060 @endif gcc-bootstrap
33061 @if patch
33062 TARGET-patch=all
33063 maybe-all-patch: all-patch
33064 all-patch: configure-patch
33065 @: $(MAKE); $(unstage)
33066 @r=`${PWD_COMMAND}`; export r; \
33067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33068 $(HOST_EXPORTS) \
33069 (cd $(HOST_SUBDIR)/patch && \
33070 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33071 $(TARGET-patch))
33072 @endif patch
33077 .PHONY: check-patch maybe-check-patch
33078 maybe-check-patch:
33079 @if patch
33080 maybe-check-patch: check-patch
33082 check-patch:
33083 @: $(MAKE); $(unstage)
33084 @r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(HOST_EXPORTS) \
33087 (cd $(HOST_SUBDIR)/patch && \
33088 $(MAKE) $(FLAGS_TO_PASS) check)
33090 @endif patch
33092 .PHONY: install-patch maybe-install-patch
33093 maybe-install-patch:
33094 @if patch
33095 maybe-install-patch: install-patch
33097 install-patch: installdirs
33098 @: $(MAKE); $(unstage)
33099 @r=`${PWD_COMMAND}`; export r; \
33100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33101 $(HOST_EXPORTS) \
33102 (cd $(HOST_SUBDIR)/patch && \
33103 $(MAKE) $(FLAGS_TO_PASS) install)
33105 @endif patch
33107 .PHONY: install-strip-patch maybe-install-strip-patch
33108 maybe-install-strip-patch:
33109 @if patch
33110 maybe-install-strip-patch: install-strip-patch
33112 install-strip-patch: installdirs
33113 @: $(MAKE); $(unstage)
33114 @r=`${PWD_COMMAND}`; export r; \
33115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33116 $(HOST_EXPORTS) \
33117 (cd $(HOST_SUBDIR)/patch && \
33118 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33120 @endif patch
33122 # Other targets (info, dvi, pdf, etc.)
33124 .PHONY: maybe-info-patch info-patch
33125 maybe-info-patch:
33126 @if patch
33127 maybe-info-patch: info-patch
33129 info-patch: \
33130 configure-patch
33131 @: $(MAKE); $(unstage)
33132 @[ -f ./patch/Makefile ] || exit 0; \
33133 r=`${PWD_COMMAND}`; export r; \
33134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33135 $(HOST_EXPORTS) \
33136 for flag in $(EXTRA_HOST_FLAGS) ; do \
33137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33138 done; \
33139 echo "Doing info in patch" ; \
33140 (cd $(HOST_SUBDIR)/patch && \
33141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33143 "RANLIB=$${RANLIB}" \
33144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33145 info) \
33146 || exit 1
33148 @endif patch
33150 .PHONY: maybe-dvi-patch dvi-patch
33151 maybe-dvi-patch:
33152 @if patch
33153 maybe-dvi-patch: dvi-patch
33155 dvi-patch: \
33156 configure-patch
33157 @: $(MAKE); $(unstage)
33158 @[ -f ./patch/Makefile ] || exit 0; \
33159 r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(HOST_EXPORTS) \
33162 for flag in $(EXTRA_HOST_FLAGS) ; do \
33163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33164 done; \
33165 echo "Doing dvi in patch" ; \
33166 (cd $(HOST_SUBDIR)/patch && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33169 "RANLIB=$${RANLIB}" \
33170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33171 dvi) \
33172 || exit 1
33174 @endif patch
33176 .PHONY: maybe-pdf-patch pdf-patch
33177 maybe-pdf-patch:
33178 @if patch
33179 maybe-pdf-patch: pdf-patch
33181 pdf-patch: \
33182 configure-patch
33183 @: $(MAKE); $(unstage)
33184 @[ -f ./patch/Makefile ] || exit 0; \
33185 r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(HOST_EXPORTS) \
33188 for flag in $(EXTRA_HOST_FLAGS) ; do \
33189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33190 done; \
33191 echo "Doing pdf in patch" ; \
33192 (cd $(HOST_SUBDIR)/patch && \
33193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33195 "RANLIB=$${RANLIB}" \
33196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33197 pdf) \
33198 || exit 1
33200 @endif patch
33202 .PHONY: maybe-html-patch html-patch
33203 maybe-html-patch:
33204 @if patch
33205 maybe-html-patch: html-patch
33207 html-patch: \
33208 configure-patch
33209 @: $(MAKE); $(unstage)
33210 @[ -f ./patch/Makefile ] || exit 0; \
33211 r=`${PWD_COMMAND}`; export r; \
33212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33213 $(HOST_EXPORTS) \
33214 for flag in $(EXTRA_HOST_FLAGS) ; do \
33215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33216 done; \
33217 echo "Doing html in patch" ; \
33218 (cd $(HOST_SUBDIR)/patch && \
33219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33221 "RANLIB=$${RANLIB}" \
33222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33223 html) \
33224 || exit 1
33226 @endif patch
33228 .PHONY: maybe-TAGS-patch TAGS-patch
33229 maybe-TAGS-patch:
33230 @if patch
33231 maybe-TAGS-patch: TAGS-patch
33233 TAGS-patch: \
33234 configure-patch
33235 @: $(MAKE); $(unstage)
33236 @[ -f ./patch/Makefile ] || exit 0; \
33237 r=`${PWD_COMMAND}`; export r; \
33238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33239 $(HOST_EXPORTS) \
33240 for flag in $(EXTRA_HOST_FLAGS) ; do \
33241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33242 done; \
33243 echo "Doing TAGS in patch" ; \
33244 (cd $(HOST_SUBDIR)/patch && \
33245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33247 "RANLIB=$${RANLIB}" \
33248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33249 TAGS) \
33250 || exit 1
33252 @endif patch
33254 .PHONY: maybe-install-info-patch install-info-patch
33255 maybe-install-info-patch:
33256 @if patch
33257 maybe-install-info-patch: install-info-patch
33259 install-info-patch: \
33260 configure-patch \
33261 info-patch
33262 @: $(MAKE); $(unstage)
33263 @[ -f ./patch/Makefile ] || exit 0; \
33264 r=`${PWD_COMMAND}`; export r; \
33265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33266 $(HOST_EXPORTS) \
33267 for flag in $(EXTRA_HOST_FLAGS) ; do \
33268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33269 done; \
33270 echo "Doing install-info in patch" ; \
33271 (cd $(HOST_SUBDIR)/patch && \
33272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33274 "RANLIB=$${RANLIB}" \
33275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33276 install-info) \
33277 || exit 1
33279 @endif patch
33281 .PHONY: maybe-install-pdf-patch install-pdf-patch
33282 maybe-install-pdf-patch:
33283 @if patch
33284 maybe-install-pdf-patch: install-pdf-patch
33286 install-pdf-patch: \
33287 configure-patch \
33288 pdf-patch
33289 @: $(MAKE); $(unstage)
33290 @[ -f ./patch/Makefile ] || exit 0; \
33291 r=`${PWD_COMMAND}`; export r; \
33292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33293 $(HOST_EXPORTS) \
33294 for flag in $(EXTRA_HOST_FLAGS) ; do \
33295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33296 done; \
33297 echo "Doing install-pdf in patch" ; \
33298 (cd $(HOST_SUBDIR)/patch && \
33299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33301 "RANLIB=$${RANLIB}" \
33302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33303 install-pdf) \
33304 || exit 1
33306 @endif patch
33308 .PHONY: maybe-install-html-patch install-html-patch
33309 maybe-install-html-patch:
33310 @if patch
33311 maybe-install-html-patch: install-html-patch
33313 install-html-patch: \
33314 configure-patch \
33315 html-patch
33316 @: $(MAKE); $(unstage)
33317 @[ -f ./patch/Makefile ] || exit 0; \
33318 r=`${PWD_COMMAND}`; export r; \
33319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33320 $(HOST_EXPORTS) \
33321 for flag in $(EXTRA_HOST_FLAGS) ; do \
33322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33323 done; \
33324 echo "Doing install-html in patch" ; \
33325 (cd $(HOST_SUBDIR)/patch && \
33326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33328 "RANLIB=$${RANLIB}" \
33329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33330 install-html) \
33331 || exit 1
33333 @endif patch
33335 .PHONY: maybe-installcheck-patch installcheck-patch
33336 maybe-installcheck-patch:
33337 @if patch
33338 maybe-installcheck-patch: installcheck-patch
33340 installcheck-patch: \
33341 configure-patch
33342 @: $(MAKE); $(unstage)
33343 @[ -f ./patch/Makefile ] || exit 0; \
33344 r=`${PWD_COMMAND}`; export r; \
33345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33346 $(HOST_EXPORTS) \
33347 for flag in $(EXTRA_HOST_FLAGS) ; do \
33348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33349 done; \
33350 echo "Doing installcheck in patch" ; \
33351 (cd $(HOST_SUBDIR)/patch && \
33352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33354 "RANLIB=$${RANLIB}" \
33355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33356 installcheck) \
33357 || exit 1
33359 @endif patch
33361 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
33362 maybe-mostlyclean-patch:
33363 @if patch
33364 maybe-mostlyclean-patch: mostlyclean-patch
33366 mostlyclean-patch:
33367 @: $(MAKE); $(unstage)
33368 @[ -f ./patch/Makefile ] || exit 0; \
33369 r=`${PWD_COMMAND}`; export r; \
33370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33371 $(HOST_EXPORTS) \
33372 for flag in $(EXTRA_HOST_FLAGS) ; do \
33373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33374 done; \
33375 echo "Doing mostlyclean in patch" ; \
33376 (cd $(HOST_SUBDIR)/patch && \
33377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33379 "RANLIB=$${RANLIB}" \
33380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33381 mostlyclean) \
33382 || exit 1
33384 @endif patch
33386 .PHONY: maybe-clean-patch clean-patch
33387 maybe-clean-patch:
33388 @if patch
33389 maybe-clean-patch: clean-patch
33391 clean-patch:
33392 @: $(MAKE); $(unstage)
33393 @[ -f ./patch/Makefile ] || exit 0; \
33394 r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(HOST_EXPORTS) \
33397 for flag in $(EXTRA_HOST_FLAGS) ; do \
33398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33399 done; \
33400 echo "Doing clean in patch" ; \
33401 (cd $(HOST_SUBDIR)/patch && \
33402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33404 "RANLIB=$${RANLIB}" \
33405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33406 clean) \
33407 || exit 1
33409 @endif patch
33411 .PHONY: maybe-distclean-patch distclean-patch
33412 maybe-distclean-patch:
33413 @if patch
33414 maybe-distclean-patch: distclean-patch
33416 distclean-patch:
33417 @: $(MAKE); $(unstage)
33418 @[ -f ./patch/Makefile ] || exit 0; \
33419 r=`${PWD_COMMAND}`; export r; \
33420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33421 $(HOST_EXPORTS) \
33422 for flag in $(EXTRA_HOST_FLAGS) ; do \
33423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33424 done; \
33425 echo "Doing distclean in patch" ; \
33426 (cd $(HOST_SUBDIR)/patch && \
33427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33429 "RANLIB=$${RANLIB}" \
33430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33431 distclean) \
33432 || exit 1
33434 @endif patch
33436 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
33437 maybe-maintainer-clean-patch:
33438 @if patch
33439 maybe-maintainer-clean-patch: maintainer-clean-patch
33441 maintainer-clean-patch:
33442 @: $(MAKE); $(unstage)
33443 @[ -f ./patch/Makefile ] || exit 0; \
33444 r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(HOST_EXPORTS) \
33447 for flag in $(EXTRA_HOST_FLAGS) ; do \
33448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33449 done; \
33450 echo "Doing maintainer-clean in patch" ; \
33451 (cd $(HOST_SUBDIR)/patch && \
33452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33454 "RANLIB=$${RANLIB}" \
33455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33456 maintainer-clean) \
33457 || exit 1
33459 @endif patch
33463 .PHONY: configure-perl maybe-configure-perl
33464 maybe-configure-perl:
33465 @if gcc-bootstrap
33466 configure-perl: stage_current
33467 @endif gcc-bootstrap
33468 @if perl
33469 maybe-configure-perl: configure-perl
33470 configure-perl:
33471 @: $(MAKE); $(unstage)
33472 @r=`${PWD_COMMAND}`; export r; \
33473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33474 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
33475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
33476 $(HOST_EXPORTS) \
33477 echo Configuring in $(HOST_SUBDIR)/perl; \
33478 cd "$(HOST_SUBDIR)/perl" || exit 1; \
33479 case $(srcdir) in \
33480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33481 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
33482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33483 esac; \
33484 srcdiroption="--srcdir=$${topdir}/perl"; \
33485 libsrcdir="$$s/perl"; \
33486 $(SHELL) $${libsrcdir}/configure \
33487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33488 --target=${target_alias} $${srcdiroption} \
33489 || exit 1
33490 @endif perl
33496 .PHONY: all-perl maybe-all-perl
33497 maybe-all-perl:
33498 @if gcc-bootstrap
33499 all-perl: stage_current
33500 @endif gcc-bootstrap
33501 @if perl
33502 TARGET-perl=all
33503 maybe-all-perl: all-perl
33504 all-perl: configure-perl
33505 @: $(MAKE); $(unstage)
33506 @r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 $(HOST_EXPORTS) \
33509 (cd $(HOST_SUBDIR)/perl && \
33510 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33511 $(TARGET-perl))
33512 @endif perl
33517 .PHONY: check-perl maybe-check-perl
33518 maybe-check-perl:
33519 @if perl
33520 maybe-check-perl: check-perl
33522 check-perl:
33523 @: $(MAKE); $(unstage)
33524 @r=`${PWD_COMMAND}`; export r; \
33525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33526 $(HOST_EXPORTS) \
33527 (cd $(HOST_SUBDIR)/perl && \
33528 $(MAKE) $(FLAGS_TO_PASS) check)
33530 @endif perl
33532 .PHONY: install-perl maybe-install-perl
33533 maybe-install-perl:
33534 @if perl
33535 maybe-install-perl: install-perl
33537 install-perl: installdirs
33538 @: $(MAKE); $(unstage)
33539 @r=`${PWD_COMMAND}`; export r; \
33540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33541 $(HOST_EXPORTS) \
33542 (cd $(HOST_SUBDIR)/perl && \
33543 $(MAKE) $(FLAGS_TO_PASS) install)
33545 @endif perl
33547 .PHONY: install-strip-perl maybe-install-strip-perl
33548 maybe-install-strip-perl:
33549 @if perl
33550 maybe-install-strip-perl: install-strip-perl
33552 install-strip-perl: installdirs
33553 @: $(MAKE); $(unstage)
33554 @r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(HOST_EXPORTS) \
33557 (cd $(HOST_SUBDIR)/perl && \
33558 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33560 @endif perl
33562 # Other targets (info, dvi, pdf, etc.)
33564 .PHONY: maybe-info-perl info-perl
33565 maybe-info-perl:
33566 @if perl
33567 maybe-info-perl: info-perl
33569 info-perl: \
33570 configure-perl
33571 @: $(MAKE); $(unstage)
33572 @[ -f ./perl/Makefile ] || exit 0; \
33573 r=`${PWD_COMMAND}`; export r; \
33574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33575 $(HOST_EXPORTS) \
33576 for flag in $(EXTRA_HOST_FLAGS) ; do \
33577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33578 done; \
33579 echo "Doing info in perl" ; \
33580 (cd $(HOST_SUBDIR)/perl && \
33581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33583 "RANLIB=$${RANLIB}" \
33584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33585 info) \
33586 || exit 1
33588 @endif perl
33590 .PHONY: maybe-dvi-perl dvi-perl
33591 maybe-dvi-perl:
33592 @if perl
33593 maybe-dvi-perl: dvi-perl
33595 dvi-perl: \
33596 configure-perl
33597 @: $(MAKE); $(unstage)
33598 @[ -f ./perl/Makefile ] || exit 0; \
33599 r=`${PWD_COMMAND}`; export r; \
33600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33601 $(HOST_EXPORTS) \
33602 for flag in $(EXTRA_HOST_FLAGS) ; do \
33603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33604 done; \
33605 echo "Doing dvi in perl" ; \
33606 (cd $(HOST_SUBDIR)/perl && \
33607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33609 "RANLIB=$${RANLIB}" \
33610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33611 dvi) \
33612 || exit 1
33614 @endif perl
33616 .PHONY: maybe-pdf-perl pdf-perl
33617 maybe-pdf-perl:
33618 @if perl
33619 maybe-pdf-perl: pdf-perl
33621 pdf-perl: \
33622 configure-perl
33623 @: $(MAKE); $(unstage)
33624 @[ -f ./perl/Makefile ] || exit 0; \
33625 r=`${PWD_COMMAND}`; export r; \
33626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33627 $(HOST_EXPORTS) \
33628 for flag in $(EXTRA_HOST_FLAGS) ; do \
33629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33630 done; \
33631 echo "Doing pdf in perl" ; \
33632 (cd $(HOST_SUBDIR)/perl && \
33633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33635 "RANLIB=$${RANLIB}" \
33636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33637 pdf) \
33638 || exit 1
33640 @endif perl
33642 .PHONY: maybe-html-perl html-perl
33643 maybe-html-perl:
33644 @if perl
33645 maybe-html-perl: html-perl
33647 html-perl: \
33648 configure-perl
33649 @: $(MAKE); $(unstage)
33650 @[ -f ./perl/Makefile ] || exit 0; \
33651 r=`${PWD_COMMAND}`; export r; \
33652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33653 $(HOST_EXPORTS) \
33654 for flag in $(EXTRA_HOST_FLAGS) ; do \
33655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33656 done; \
33657 echo "Doing html in perl" ; \
33658 (cd $(HOST_SUBDIR)/perl && \
33659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33661 "RANLIB=$${RANLIB}" \
33662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33663 html) \
33664 || exit 1
33666 @endif perl
33668 .PHONY: maybe-TAGS-perl TAGS-perl
33669 maybe-TAGS-perl:
33670 @if perl
33671 maybe-TAGS-perl: TAGS-perl
33673 TAGS-perl: \
33674 configure-perl
33675 @: $(MAKE); $(unstage)
33676 @[ -f ./perl/Makefile ] || exit 0; \
33677 r=`${PWD_COMMAND}`; export r; \
33678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33679 $(HOST_EXPORTS) \
33680 for flag in $(EXTRA_HOST_FLAGS) ; do \
33681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33682 done; \
33683 echo "Doing TAGS in perl" ; \
33684 (cd $(HOST_SUBDIR)/perl && \
33685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33687 "RANLIB=$${RANLIB}" \
33688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33689 TAGS) \
33690 || exit 1
33692 @endif perl
33694 .PHONY: maybe-install-info-perl install-info-perl
33695 maybe-install-info-perl:
33696 @if perl
33697 maybe-install-info-perl: install-info-perl
33699 install-info-perl: \
33700 configure-perl \
33701 info-perl
33702 @: $(MAKE); $(unstage)
33703 @[ -f ./perl/Makefile ] || exit 0; \
33704 r=`${PWD_COMMAND}`; export r; \
33705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33706 $(HOST_EXPORTS) \
33707 for flag in $(EXTRA_HOST_FLAGS) ; do \
33708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33709 done; \
33710 echo "Doing install-info in perl" ; \
33711 (cd $(HOST_SUBDIR)/perl && \
33712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33714 "RANLIB=$${RANLIB}" \
33715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33716 install-info) \
33717 || exit 1
33719 @endif perl
33721 .PHONY: maybe-install-pdf-perl install-pdf-perl
33722 maybe-install-pdf-perl:
33723 @if perl
33724 maybe-install-pdf-perl: install-pdf-perl
33726 install-pdf-perl: \
33727 configure-perl \
33728 pdf-perl
33729 @: $(MAKE); $(unstage)
33730 @[ -f ./perl/Makefile ] || exit 0; \
33731 r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 $(HOST_EXPORTS) \
33734 for flag in $(EXTRA_HOST_FLAGS) ; do \
33735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33736 done; \
33737 echo "Doing install-pdf in perl" ; \
33738 (cd $(HOST_SUBDIR)/perl && \
33739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33741 "RANLIB=$${RANLIB}" \
33742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33743 install-pdf) \
33744 || exit 1
33746 @endif perl
33748 .PHONY: maybe-install-html-perl install-html-perl
33749 maybe-install-html-perl:
33750 @if perl
33751 maybe-install-html-perl: install-html-perl
33753 install-html-perl: \
33754 configure-perl \
33755 html-perl
33756 @: $(MAKE); $(unstage)
33757 @[ -f ./perl/Makefile ] || exit 0; \
33758 r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760 $(HOST_EXPORTS) \
33761 for flag in $(EXTRA_HOST_FLAGS) ; do \
33762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33763 done; \
33764 echo "Doing install-html in perl" ; \
33765 (cd $(HOST_SUBDIR)/perl && \
33766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33768 "RANLIB=$${RANLIB}" \
33769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33770 install-html) \
33771 || exit 1
33773 @endif perl
33775 .PHONY: maybe-installcheck-perl installcheck-perl
33776 maybe-installcheck-perl:
33777 @if perl
33778 maybe-installcheck-perl: installcheck-perl
33780 installcheck-perl: \
33781 configure-perl
33782 @: $(MAKE); $(unstage)
33783 @[ -f ./perl/Makefile ] || exit 0; \
33784 r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 $(HOST_EXPORTS) \
33787 for flag in $(EXTRA_HOST_FLAGS) ; do \
33788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33789 done; \
33790 echo "Doing installcheck in perl" ; \
33791 (cd $(HOST_SUBDIR)/perl && \
33792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33794 "RANLIB=$${RANLIB}" \
33795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33796 installcheck) \
33797 || exit 1
33799 @endif perl
33801 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
33802 maybe-mostlyclean-perl:
33803 @if perl
33804 maybe-mostlyclean-perl: mostlyclean-perl
33806 mostlyclean-perl:
33807 @: $(MAKE); $(unstage)
33808 @[ -f ./perl/Makefile ] || exit 0; \
33809 r=`${PWD_COMMAND}`; export r; \
33810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33811 $(HOST_EXPORTS) \
33812 for flag in $(EXTRA_HOST_FLAGS) ; do \
33813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33814 done; \
33815 echo "Doing mostlyclean in perl" ; \
33816 (cd $(HOST_SUBDIR)/perl && \
33817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33819 "RANLIB=$${RANLIB}" \
33820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33821 mostlyclean) \
33822 || exit 1
33824 @endif perl
33826 .PHONY: maybe-clean-perl clean-perl
33827 maybe-clean-perl:
33828 @if perl
33829 maybe-clean-perl: clean-perl
33831 clean-perl:
33832 @: $(MAKE); $(unstage)
33833 @[ -f ./perl/Makefile ] || exit 0; \
33834 r=`${PWD_COMMAND}`; export r; \
33835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33836 $(HOST_EXPORTS) \
33837 for flag in $(EXTRA_HOST_FLAGS) ; do \
33838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33839 done; \
33840 echo "Doing clean in perl" ; \
33841 (cd $(HOST_SUBDIR)/perl && \
33842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33844 "RANLIB=$${RANLIB}" \
33845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33846 clean) \
33847 || exit 1
33849 @endif perl
33851 .PHONY: maybe-distclean-perl distclean-perl
33852 maybe-distclean-perl:
33853 @if perl
33854 maybe-distclean-perl: distclean-perl
33856 distclean-perl:
33857 @: $(MAKE); $(unstage)
33858 @[ -f ./perl/Makefile ] || exit 0; \
33859 r=`${PWD_COMMAND}`; export r; \
33860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33861 $(HOST_EXPORTS) \
33862 for flag in $(EXTRA_HOST_FLAGS) ; do \
33863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33864 done; \
33865 echo "Doing distclean in perl" ; \
33866 (cd $(HOST_SUBDIR)/perl && \
33867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33869 "RANLIB=$${RANLIB}" \
33870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33871 distclean) \
33872 || exit 1
33874 @endif perl
33876 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
33877 maybe-maintainer-clean-perl:
33878 @if perl
33879 maybe-maintainer-clean-perl: maintainer-clean-perl
33881 maintainer-clean-perl:
33882 @: $(MAKE); $(unstage)
33883 @[ -f ./perl/Makefile ] || exit 0; \
33884 r=`${PWD_COMMAND}`; export r; \
33885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33886 $(HOST_EXPORTS) \
33887 for flag in $(EXTRA_HOST_FLAGS) ; do \
33888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33889 done; \
33890 echo "Doing maintainer-clean in perl" ; \
33891 (cd $(HOST_SUBDIR)/perl && \
33892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33894 "RANLIB=$${RANLIB}" \
33895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33896 maintainer-clean) \
33897 || exit 1
33899 @endif perl
33903 .PHONY: configure-prms maybe-configure-prms
33904 maybe-configure-prms:
33905 @if gcc-bootstrap
33906 configure-prms: stage_current
33907 @endif gcc-bootstrap
33908 @if prms
33909 maybe-configure-prms: configure-prms
33910 configure-prms:
33911 @: $(MAKE); $(unstage)
33912 @r=`${PWD_COMMAND}`; export r; \
33913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33914 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
33915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
33916 $(HOST_EXPORTS) \
33917 echo Configuring in $(HOST_SUBDIR)/prms; \
33918 cd "$(HOST_SUBDIR)/prms" || exit 1; \
33919 case $(srcdir) in \
33920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33921 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
33922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33923 esac; \
33924 srcdiroption="--srcdir=$${topdir}/prms"; \
33925 libsrcdir="$$s/prms"; \
33926 $(SHELL) $${libsrcdir}/configure \
33927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33928 --target=${target_alias} $${srcdiroption} \
33929 || exit 1
33930 @endif prms
33936 .PHONY: all-prms maybe-all-prms
33937 maybe-all-prms:
33938 @if gcc-bootstrap
33939 all-prms: stage_current
33940 @endif gcc-bootstrap
33941 @if prms
33942 TARGET-prms=all
33943 maybe-all-prms: all-prms
33944 all-prms: configure-prms
33945 @: $(MAKE); $(unstage)
33946 @r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(HOST_EXPORTS) \
33949 (cd $(HOST_SUBDIR)/prms && \
33950 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33951 $(TARGET-prms))
33952 @endif prms
33957 .PHONY: check-prms maybe-check-prms
33958 maybe-check-prms:
33959 @if prms
33960 maybe-check-prms: check-prms
33962 check-prms:
33963 @: $(MAKE); $(unstage)
33964 @r=`${PWD_COMMAND}`; export r; \
33965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33966 $(HOST_EXPORTS) \
33967 (cd $(HOST_SUBDIR)/prms && \
33968 $(MAKE) $(FLAGS_TO_PASS) check)
33970 @endif prms
33972 .PHONY: install-prms maybe-install-prms
33973 maybe-install-prms:
33974 @if prms
33975 maybe-install-prms: install-prms
33977 install-prms: installdirs
33978 @: $(MAKE); $(unstage)
33979 @r=`${PWD_COMMAND}`; export r; \
33980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33981 $(HOST_EXPORTS) \
33982 (cd $(HOST_SUBDIR)/prms && \
33983 $(MAKE) $(FLAGS_TO_PASS) install)
33985 @endif prms
33987 .PHONY: install-strip-prms maybe-install-strip-prms
33988 maybe-install-strip-prms:
33989 @if prms
33990 maybe-install-strip-prms: install-strip-prms
33992 install-strip-prms: installdirs
33993 @: $(MAKE); $(unstage)
33994 @r=`${PWD_COMMAND}`; export r; \
33995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33996 $(HOST_EXPORTS) \
33997 (cd $(HOST_SUBDIR)/prms && \
33998 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34000 @endif prms
34002 # Other targets (info, dvi, pdf, etc.)
34004 .PHONY: maybe-info-prms info-prms
34005 maybe-info-prms:
34006 @if prms
34007 maybe-info-prms: info-prms
34009 info-prms: \
34010 configure-prms
34011 @: $(MAKE); $(unstage)
34012 @[ -f ./prms/Makefile ] || exit 0; \
34013 r=`${PWD_COMMAND}`; export r; \
34014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34015 $(HOST_EXPORTS) \
34016 for flag in $(EXTRA_HOST_FLAGS) ; do \
34017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34018 done; \
34019 echo "Doing info in prms" ; \
34020 (cd $(HOST_SUBDIR)/prms && \
34021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34023 "RANLIB=$${RANLIB}" \
34024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34025 info) \
34026 || exit 1
34028 @endif prms
34030 .PHONY: maybe-dvi-prms dvi-prms
34031 maybe-dvi-prms:
34032 @if prms
34033 maybe-dvi-prms: dvi-prms
34035 dvi-prms: \
34036 configure-prms
34037 @: $(MAKE); $(unstage)
34038 @[ -f ./prms/Makefile ] || exit 0; \
34039 r=`${PWD_COMMAND}`; export r; \
34040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34041 $(HOST_EXPORTS) \
34042 for flag in $(EXTRA_HOST_FLAGS) ; do \
34043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34044 done; \
34045 echo "Doing dvi in prms" ; \
34046 (cd $(HOST_SUBDIR)/prms && \
34047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34049 "RANLIB=$${RANLIB}" \
34050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34051 dvi) \
34052 || exit 1
34054 @endif prms
34056 .PHONY: maybe-pdf-prms pdf-prms
34057 maybe-pdf-prms:
34058 @if prms
34059 maybe-pdf-prms: pdf-prms
34061 pdf-prms: \
34062 configure-prms
34063 @: $(MAKE); $(unstage)
34064 @[ -f ./prms/Makefile ] || exit 0; \
34065 r=`${PWD_COMMAND}`; export r; \
34066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34067 $(HOST_EXPORTS) \
34068 for flag in $(EXTRA_HOST_FLAGS) ; do \
34069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34070 done; \
34071 echo "Doing pdf in prms" ; \
34072 (cd $(HOST_SUBDIR)/prms && \
34073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34075 "RANLIB=$${RANLIB}" \
34076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34077 pdf) \
34078 || exit 1
34080 @endif prms
34082 .PHONY: maybe-html-prms html-prms
34083 maybe-html-prms:
34084 @if prms
34085 maybe-html-prms: html-prms
34087 html-prms: \
34088 configure-prms
34089 @: $(MAKE); $(unstage)
34090 @[ -f ./prms/Makefile ] || exit 0; \
34091 r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(HOST_EXPORTS) \
34094 for flag in $(EXTRA_HOST_FLAGS) ; do \
34095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34096 done; \
34097 echo "Doing html in prms" ; \
34098 (cd $(HOST_SUBDIR)/prms && \
34099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34101 "RANLIB=$${RANLIB}" \
34102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34103 html) \
34104 || exit 1
34106 @endif prms
34108 .PHONY: maybe-TAGS-prms TAGS-prms
34109 maybe-TAGS-prms:
34110 @if prms
34111 maybe-TAGS-prms: TAGS-prms
34113 TAGS-prms: \
34114 configure-prms
34115 @: $(MAKE); $(unstage)
34116 @[ -f ./prms/Makefile ] || exit 0; \
34117 r=`${PWD_COMMAND}`; export r; \
34118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34119 $(HOST_EXPORTS) \
34120 for flag in $(EXTRA_HOST_FLAGS) ; do \
34121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34122 done; \
34123 echo "Doing TAGS in prms" ; \
34124 (cd $(HOST_SUBDIR)/prms && \
34125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34127 "RANLIB=$${RANLIB}" \
34128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34129 TAGS) \
34130 || exit 1
34132 @endif prms
34134 .PHONY: maybe-install-info-prms install-info-prms
34135 maybe-install-info-prms:
34136 @if prms
34137 maybe-install-info-prms: install-info-prms
34139 install-info-prms: \
34140 configure-prms \
34141 info-prms
34142 @: $(MAKE); $(unstage)
34143 @[ -f ./prms/Makefile ] || exit 0; \
34144 r=`${PWD_COMMAND}`; export r; \
34145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34146 $(HOST_EXPORTS) \
34147 for flag in $(EXTRA_HOST_FLAGS) ; do \
34148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34149 done; \
34150 echo "Doing install-info in prms" ; \
34151 (cd $(HOST_SUBDIR)/prms && \
34152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34154 "RANLIB=$${RANLIB}" \
34155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34156 install-info) \
34157 || exit 1
34159 @endif prms
34161 .PHONY: maybe-install-pdf-prms install-pdf-prms
34162 maybe-install-pdf-prms:
34163 @if prms
34164 maybe-install-pdf-prms: install-pdf-prms
34166 install-pdf-prms: \
34167 configure-prms \
34168 pdf-prms
34169 @: $(MAKE); $(unstage)
34170 @[ -f ./prms/Makefile ] || exit 0; \
34171 r=`${PWD_COMMAND}`; export r; \
34172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34173 $(HOST_EXPORTS) \
34174 for flag in $(EXTRA_HOST_FLAGS) ; do \
34175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34176 done; \
34177 echo "Doing install-pdf in prms" ; \
34178 (cd $(HOST_SUBDIR)/prms && \
34179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34181 "RANLIB=$${RANLIB}" \
34182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34183 install-pdf) \
34184 || exit 1
34186 @endif prms
34188 .PHONY: maybe-install-html-prms install-html-prms
34189 maybe-install-html-prms:
34190 @if prms
34191 maybe-install-html-prms: install-html-prms
34193 install-html-prms: \
34194 configure-prms \
34195 html-prms
34196 @: $(MAKE); $(unstage)
34197 @[ -f ./prms/Makefile ] || exit 0; \
34198 r=`${PWD_COMMAND}`; export r; \
34199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34200 $(HOST_EXPORTS) \
34201 for flag in $(EXTRA_HOST_FLAGS) ; do \
34202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34203 done; \
34204 echo "Doing install-html in prms" ; \
34205 (cd $(HOST_SUBDIR)/prms && \
34206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34208 "RANLIB=$${RANLIB}" \
34209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34210 install-html) \
34211 || exit 1
34213 @endif prms
34215 .PHONY: maybe-installcheck-prms installcheck-prms
34216 maybe-installcheck-prms:
34217 @if prms
34218 maybe-installcheck-prms: installcheck-prms
34220 installcheck-prms: \
34221 configure-prms
34222 @: $(MAKE); $(unstage)
34223 @[ -f ./prms/Makefile ] || exit 0; \
34224 r=`${PWD_COMMAND}`; export r; \
34225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34226 $(HOST_EXPORTS) \
34227 for flag in $(EXTRA_HOST_FLAGS) ; do \
34228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34229 done; \
34230 echo "Doing installcheck in prms" ; \
34231 (cd $(HOST_SUBDIR)/prms && \
34232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34234 "RANLIB=$${RANLIB}" \
34235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34236 installcheck) \
34237 || exit 1
34239 @endif prms
34241 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
34242 maybe-mostlyclean-prms:
34243 @if prms
34244 maybe-mostlyclean-prms: mostlyclean-prms
34246 mostlyclean-prms:
34247 @: $(MAKE); $(unstage)
34248 @[ -f ./prms/Makefile ] || exit 0; \
34249 r=`${PWD_COMMAND}`; export r; \
34250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34251 $(HOST_EXPORTS) \
34252 for flag in $(EXTRA_HOST_FLAGS) ; do \
34253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34254 done; \
34255 echo "Doing mostlyclean in prms" ; \
34256 (cd $(HOST_SUBDIR)/prms && \
34257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34259 "RANLIB=$${RANLIB}" \
34260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34261 mostlyclean) \
34262 || exit 1
34264 @endif prms
34266 .PHONY: maybe-clean-prms clean-prms
34267 maybe-clean-prms:
34268 @if prms
34269 maybe-clean-prms: clean-prms
34271 clean-prms:
34272 @: $(MAKE); $(unstage)
34273 @[ -f ./prms/Makefile ] || exit 0; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(HOST_EXPORTS) \
34277 for flag in $(EXTRA_HOST_FLAGS) ; do \
34278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34279 done; \
34280 echo "Doing clean in prms" ; \
34281 (cd $(HOST_SUBDIR)/prms && \
34282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34284 "RANLIB=$${RANLIB}" \
34285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34286 clean) \
34287 || exit 1
34289 @endif prms
34291 .PHONY: maybe-distclean-prms distclean-prms
34292 maybe-distclean-prms:
34293 @if prms
34294 maybe-distclean-prms: distclean-prms
34296 distclean-prms:
34297 @: $(MAKE); $(unstage)
34298 @[ -f ./prms/Makefile ] || exit 0; \
34299 r=`${PWD_COMMAND}`; export r; \
34300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34301 $(HOST_EXPORTS) \
34302 for flag in $(EXTRA_HOST_FLAGS) ; do \
34303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34304 done; \
34305 echo "Doing distclean in prms" ; \
34306 (cd $(HOST_SUBDIR)/prms && \
34307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34309 "RANLIB=$${RANLIB}" \
34310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34311 distclean) \
34312 || exit 1
34314 @endif prms
34316 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
34317 maybe-maintainer-clean-prms:
34318 @if prms
34319 maybe-maintainer-clean-prms: maintainer-clean-prms
34321 maintainer-clean-prms:
34322 @: $(MAKE); $(unstage)
34323 @[ -f ./prms/Makefile ] || exit 0; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(HOST_EXPORTS) \
34327 for flag in $(EXTRA_HOST_FLAGS) ; do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34329 done; \
34330 echo "Doing maintainer-clean in prms" ; \
34331 (cd $(HOST_SUBDIR)/prms && \
34332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34334 "RANLIB=$${RANLIB}" \
34335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34336 maintainer-clean) \
34337 || exit 1
34339 @endif prms
34343 .PHONY: configure-rcs maybe-configure-rcs
34344 maybe-configure-rcs:
34345 @if gcc-bootstrap
34346 configure-rcs: stage_current
34347 @endif gcc-bootstrap
34348 @if rcs
34349 maybe-configure-rcs: configure-rcs
34350 configure-rcs:
34351 @: $(MAKE); $(unstage)
34352 @r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
34355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
34356 $(HOST_EXPORTS) \
34357 echo Configuring in $(HOST_SUBDIR)/rcs; \
34358 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
34359 case $(srcdir) in \
34360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34361 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
34362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34363 esac; \
34364 srcdiroption="--srcdir=$${topdir}/rcs"; \
34365 libsrcdir="$$s/rcs"; \
34366 $(SHELL) $${libsrcdir}/configure \
34367 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34368 --target=${target_alias} $${srcdiroption} \
34369 || exit 1
34370 @endif rcs
34376 .PHONY: all-rcs maybe-all-rcs
34377 maybe-all-rcs:
34378 @if gcc-bootstrap
34379 all-rcs: stage_current
34380 @endif gcc-bootstrap
34381 @if rcs
34382 TARGET-rcs=all
34383 maybe-all-rcs: all-rcs
34384 all-rcs: configure-rcs
34385 @: $(MAKE); $(unstage)
34386 @r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(HOST_EXPORTS) \
34389 (cd $(HOST_SUBDIR)/rcs && \
34390 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34391 $(TARGET-rcs))
34392 @endif rcs
34397 .PHONY: check-rcs maybe-check-rcs
34398 maybe-check-rcs:
34399 @if rcs
34400 maybe-check-rcs: check-rcs
34402 check-rcs:
34403 @: $(MAKE); $(unstage)
34404 @r=`${PWD_COMMAND}`; export r; \
34405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34406 $(HOST_EXPORTS) \
34407 (cd $(HOST_SUBDIR)/rcs && \
34408 $(MAKE) $(FLAGS_TO_PASS) check)
34410 @endif rcs
34412 .PHONY: install-rcs maybe-install-rcs
34413 maybe-install-rcs:
34414 @if rcs
34415 maybe-install-rcs: install-rcs
34417 install-rcs: installdirs
34418 @: $(MAKE); $(unstage)
34419 @r=`${PWD_COMMAND}`; export r; \
34420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34421 $(HOST_EXPORTS) \
34422 (cd $(HOST_SUBDIR)/rcs && \
34423 $(MAKE) $(FLAGS_TO_PASS) install)
34425 @endif rcs
34427 .PHONY: install-strip-rcs maybe-install-strip-rcs
34428 maybe-install-strip-rcs:
34429 @if rcs
34430 maybe-install-strip-rcs: install-strip-rcs
34432 install-strip-rcs: installdirs
34433 @: $(MAKE); $(unstage)
34434 @r=`${PWD_COMMAND}`; export r; \
34435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34436 $(HOST_EXPORTS) \
34437 (cd $(HOST_SUBDIR)/rcs && \
34438 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34440 @endif rcs
34442 # Other targets (info, dvi, pdf, etc.)
34444 .PHONY: maybe-info-rcs info-rcs
34445 maybe-info-rcs:
34446 @if rcs
34447 maybe-info-rcs: info-rcs
34449 info-rcs: \
34450 configure-rcs
34451 @: $(MAKE); $(unstage)
34452 @[ -f ./rcs/Makefile ] || exit 0; \
34453 r=`${PWD_COMMAND}`; export r; \
34454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34455 $(HOST_EXPORTS) \
34456 for flag in $(EXTRA_HOST_FLAGS) ; do \
34457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34458 done; \
34459 echo "Doing info in rcs" ; \
34460 (cd $(HOST_SUBDIR)/rcs && \
34461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34463 "RANLIB=$${RANLIB}" \
34464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34465 info) \
34466 || exit 1
34468 @endif rcs
34470 .PHONY: maybe-dvi-rcs dvi-rcs
34471 maybe-dvi-rcs:
34472 @if rcs
34473 maybe-dvi-rcs: dvi-rcs
34475 dvi-rcs: \
34476 configure-rcs
34477 @: $(MAKE); $(unstage)
34478 @[ -f ./rcs/Makefile ] || exit 0; \
34479 r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 $(HOST_EXPORTS) \
34482 for flag in $(EXTRA_HOST_FLAGS) ; do \
34483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34484 done; \
34485 echo "Doing dvi in rcs" ; \
34486 (cd $(HOST_SUBDIR)/rcs && \
34487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34489 "RANLIB=$${RANLIB}" \
34490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34491 dvi) \
34492 || exit 1
34494 @endif rcs
34496 .PHONY: maybe-pdf-rcs pdf-rcs
34497 maybe-pdf-rcs:
34498 @if rcs
34499 maybe-pdf-rcs: pdf-rcs
34501 pdf-rcs: \
34502 configure-rcs
34503 @: $(MAKE); $(unstage)
34504 @[ -f ./rcs/Makefile ] || exit 0; \
34505 r=`${PWD_COMMAND}`; export r; \
34506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34507 $(HOST_EXPORTS) \
34508 for flag in $(EXTRA_HOST_FLAGS) ; do \
34509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34510 done; \
34511 echo "Doing pdf in rcs" ; \
34512 (cd $(HOST_SUBDIR)/rcs && \
34513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34515 "RANLIB=$${RANLIB}" \
34516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34517 pdf) \
34518 || exit 1
34520 @endif rcs
34522 .PHONY: maybe-html-rcs html-rcs
34523 maybe-html-rcs:
34524 @if rcs
34525 maybe-html-rcs: html-rcs
34527 html-rcs: \
34528 configure-rcs
34529 @: $(MAKE); $(unstage)
34530 @[ -f ./rcs/Makefile ] || exit 0; \
34531 r=`${PWD_COMMAND}`; export r; \
34532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34533 $(HOST_EXPORTS) \
34534 for flag in $(EXTRA_HOST_FLAGS) ; do \
34535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34536 done; \
34537 echo "Doing html in rcs" ; \
34538 (cd $(HOST_SUBDIR)/rcs && \
34539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34541 "RANLIB=$${RANLIB}" \
34542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34543 html) \
34544 || exit 1
34546 @endif rcs
34548 .PHONY: maybe-TAGS-rcs TAGS-rcs
34549 maybe-TAGS-rcs:
34550 @if rcs
34551 maybe-TAGS-rcs: TAGS-rcs
34553 TAGS-rcs: \
34554 configure-rcs
34555 @: $(MAKE); $(unstage)
34556 @[ -f ./rcs/Makefile ] || exit 0; \
34557 r=`${PWD_COMMAND}`; export r; \
34558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34559 $(HOST_EXPORTS) \
34560 for flag in $(EXTRA_HOST_FLAGS) ; do \
34561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34562 done; \
34563 echo "Doing TAGS in rcs" ; \
34564 (cd $(HOST_SUBDIR)/rcs && \
34565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34567 "RANLIB=$${RANLIB}" \
34568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34569 TAGS) \
34570 || exit 1
34572 @endif rcs
34574 .PHONY: maybe-install-info-rcs install-info-rcs
34575 maybe-install-info-rcs:
34576 @if rcs
34577 maybe-install-info-rcs: install-info-rcs
34579 install-info-rcs: \
34580 configure-rcs \
34581 info-rcs
34582 @: $(MAKE); $(unstage)
34583 @[ -f ./rcs/Makefile ] || exit 0; \
34584 r=`${PWD_COMMAND}`; export r; \
34585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34586 $(HOST_EXPORTS) \
34587 for flag in $(EXTRA_HOST_FLAGS) ; do \
34588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34589 done; \
34590 echo "Doing install-info in rcs" ; \
34591 (cd $(HOST_SUBDIR)/rcs && \
34592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34594 "RANLIB=$${RANLIB}" \
34595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34596 install-info) \
34597 || exit 1
34599 @endif rcs
34601 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
34602 maybe-install-pdf-rcs:
34603 @if rcs
34604 maybe-install-pdf-rcs: install-pdf-rcs
34606 install-pdf-rcs: \
34607 configure-rcs \
34608 pdf-rcs
34609 @: $(MAKE); $(unstage)
34610 @[ -f ./rcs/Makefile ] || exit 0; \
34611 r=`${PWD_COMMAND}`; export r; \
34612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34613 $(HOST_EXPORTS) \
34614 for flag in $(EXTRA_HOST_FLAGS) ; do \
34615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34616 done; \
34617 echo "Doing install-pdf in rcs" ; \
34618 (cd $(HOST_SUBDIR)/rcs && \
34619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34621 "RANLIB=$${RANLIB}" \
34622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34623 install-pdf) \
34624 || exit 1
34626 @endif rcs
34628 .PHONY: maybe-install-html-rcs install-html-rcs
34629 maybe-install-html-rcs:
34630 @if rcs
34631 maybe-install-html-rcs: install-html-rcs
34633 install-html-rcs: \
34634 configure-rcs \
34635 html-rcs
34636 @: $(MAKE); $(unstage)
34637 @[ -f ./rcs/Makefile ] || exit 0; \
34638 r=`${PWD_COMMAND}`; export r; \
34639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34640 $(HOST_EXPORTS) \
34641 for flag in $(EXTRA_HOST_FLAGS) ; do \
34642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34643 done; \
34644 echo "Doing install-html in rcs" ; \
34645 (cd $(HOST_SUBDIR)/rcs && \
34646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34648 "RANLIB=$${RANLIB}" \
34649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34650 install-html) \
34651 || exit 1
34653 @endif rcs
34655 .PHONY: maybe-installcheck-rcs installcheck-rcs
34656 maybe-installcheck-rcs:
34657 @if rcs
34658 maybe-installcheck-rcs: installcheck-rcs
34660 installcheck-rcs: \
34661 configure-rcs
34662 @: $(MAKE); $(unstage)
34663 @[ -f ./rcs/Makefile ] || exit 0; \
34664 r=`${PWD_COMMAND}`; export r; \
34665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34666 $(HOST_EXPORTS) \
34667 for flag in $(EXTRA_HOST_FLAGS) ; do \
34668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34669 done; \
34670 echo "Doing installcheck in rcs" ; \
34671 (cd $(HOST_SUBDIR)/rcs && \
34672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34674 "RANLIB=$${RANLIB}" \
34675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34676 installcheck) \
34677 || exit 1
34679 @endif rcs
34681 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
34682 maybe-mostlyclean-rcs:
34683 @if rcs
34684 maybe-mostlyclean-rcs: mostlyclean-rcs
34686 mostlyclean-rcs:
34687 @: $(MAKE); $(unstage)
34688 @[ -f ./rcs/Makefile ] || exit 0; \
34689 r=`${PWD_COMMAND}`; export r; \
34690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34691 $(HOST_EXPORTS) \
34692 for flag in $(EXTRA_HOST_FLAGS) ; do \
34693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34694 done; \
34695 echo "Doing mostlyclean in rcs" ; \
34696 (cd $(HOST_SUBDIR)/rcs && \
34697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34699 "RANLIB=$${RANLIB}" \
34700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34701 mostlyclean) \
34702 || exit 1
34704 @endif rcs
34706 .PHONY: maybe-clean-rcs clean-rcs
34707 maybe-clean-rcs:
34708 @if rcs
34709 maybe-clean-rcs: clean-rcs
34711 clean-rcs:
34712 @: $(MAKE); $(unstage)
34713 @[ -f ./rcs/Makefile ] || exit 0; \
34714 r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(HOST_EXPORTS) \
34717 for flag in $(EXTRA_HOST_FLAGS) ; do \
34718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34719 done; \
34720 echo "Doing clean in rcs" ; \
34721 (cd $(HOST_SUBDIR)/rcs && \
34722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34724 "RANLIB=$${RANLIB}" \
34725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34726 clean) \
34727 || exit 1
34729 @endif rcs
34731 .PHONY: maybe-distclean-rcs distclean-rcs
34732 maybe-distclean-rcs:
34733 @if rcs
34734 maybe-distclean-rcs: distclean-rcs
34736 distclean-rcs:
34737 @: $(MAKE); $(unstage)
34738 @[ -f ./rcs/Makefile ] || exit 0; \
34739 r=`${PWD_COMMAND}`; export r; \
34740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34741 $(HOST_EXPORTS) \
34742 for flag in $(EXTRA_HOST_FLAGS) ; do \
34743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34744 done; \
34745 echo "Doing distclean in rcs" ; \
34746 (cd $(HOST_SUBDIR)/rcs && \
34747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34749 "RANLIB=$${RANLIB}" \
34750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34751 distclean) \
34752 || exit 1
34754 @endif rcs
34756 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
34757 maybe-maintainer-clean-rcs:
34758 @if rcs
34759 maybe-maintainer-clean-rcs: maintainer-clean-rcs
34761 maintainer-clean-rcs:
34762 @: $(MAKE); $(unstage)
34763 @[ -f ./rcs/Makefile ] || exit 0; \
34764 r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 $(HOST_EXPORTS) \
34767 for flag in $(EXTRA_HOST_FLAGS) ; do \
34768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34769 done; \
34770 echo "Doing maintainer-clean in rcs" ; \
34771 (cd $(HOST_SUBDIR)/rcs && \
34772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34774 "RANLIB=$${RANLIB}" \
34775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34776 maintainer-clean) \
34777 || exit 1
34779 @endif rcs
34783 .PHONY: configure-readline maybe-configure-readline
34784 maybe-configure-readline:
34785 @if gcc-bootstrap
34786 configure-readline: stage_current
34787 @endif gcc-bootstrap
34788 @if readline
34789 maybe-configure-readline: configure-readline
34790 configure-readline:
34791 @: $(MAKE); $(unstage)
34792 @r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
34795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
34796 $(HOST_EXPORTS) \
34797 echo Configuring in $(HOST_SUBDIR)/readline; \
34798 cd "$(HOST_SUBDIR)/readline" || exit 1; \
34799 case $(srcdir) in \
34800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34801 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
34802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34803 esac; \
34804 srcdiroption="--srcdir=$${topdir}/readline"; \
34805 libsrcdir="$$s/readline"; \
34806 $(SHELL) $${libsrcdir}/configure \
34807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34808 --target=${target_alias} $${srcdiroption} \
34809 || exit 1
34810 @endif readline
34816 .PHONY: all-readline maybe-all-readline
34817 maybe-all-readline:
34818 @if gcc-bootstrap
34819 all-readline: stage_current
34820 @endif gcc-bootstrap
34821 @if readline
34822 TARGET-readline=all
34823 maybe-all-readline: all-readline
34824 all-readline: configure-readline
34825 @: $(MAKE); $(unstage)
34826 @r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(HOST_EXPORTS) \
34829 (cd $(HOST_SUBDIR)/readline && \
34830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34831 $(TARGET-readline))
34832 @endif readline
34837 .PHONY: check-readline maybe-check-readline
34838 maybe-check-readline:
34839 @if readline
34840 maybe-check-readline: check-readline
34842 check-readline:
34843 @: $(MAKE); $(unstage)
34844 @r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(HOST_EXPORTS) \
34847 (cd $(HOST_SUBDIR)/readline && \
34848 $(MAKE) $(FLAGS_TO_PASS) check)
34850 @endif readline
34852 .PHONY: install-readline maybe-install-readline
34853 maybe-install-readline:
34854 @if readline
34855 maybe-install-readline: install-readline
34857 install-readline: installdirs
34858 @: $(MAKE); $(unstage)
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34861 $(HOST_EXPORTS) \
34862 (cd $(HOST_SUBDIR)/readline && \
34863 $(MAKE) $(FLAGS_TO_PASS) install)
34865 @endif readline
34867 .PHONY: install-strip-readline maybe-install-strip-readline
34868 maybe-install-strip-readline:
34869 @if readline
34870 maybe-install-strip-readline: install-strip-readline
34872 install-strip-readline: installdirs
34873 @: $(MAKE); $(unstage)
34874 @r=`${PWD_COMMAND}`; export r; \
34875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34876 $(HOST_EXPORTS) \
34877 (cd $(HOST_SUBDIR)/readline && \
34878 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34880 @endif readline
34882 # Other targets (info, dvi, pdf, etc.)
34884 .PHONY: maybe-info-readline info-readline
34885 maybe-info-readline:
34886 @if readline
34887 maybe-info-readline: info-readline
34889 info-readline: \
34890 configure-readline
34891 @: $(MAKE); $(unstage)
34892 @[ -f ./readline/Makefile ] || exit 0; \
34893 r=`${PWD_COMMAND}`; export r; \
34894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34895 $(HOST_EXPORTS) \
34896 for flag in $(EXTRA_HOST_FLAGS) ; do \
34897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34898 done; \
34899 echo "Doing info in readline" ; \
34900 (cd $(HOST_SUBDIR)/readline && \
34901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34903 "RANLIB=$${RANLIB}" \
34904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34905 info) \
34906 || exit 1
34908 @endif readline
34910 .PHONY: maybe-dvi-readline dvi-readline
34911 maybe-dvi-readline:
34912 @if readline
34913 maybe-dvi-readline: dvi-readline
34915 dvi-readline: \
34916 configure-readline
34917 @: $(MAKE); $(unstage)
34918 @[ -f ./readline/Makefile ] || exit 0; \
34919 r=`${PWD_COMMAND}`; export r; \
34920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34921 $(HOST_EXPORTS) \
34922 for flag in $(EXTRA_HOST_FLAGS) ; do \
34923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34924 done; \
34925 echo "Doing dvi in readline" ; \
34926 (cd $(HOST_SUBDIR)/readline && \
34927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34929 "RANLIB=$${RANLIB}" \
34930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34931 dvi) \
34932 || exit 1
34934 @endif readline
34936 .PHONY: maybe-pdf-readline pdf-readline
34937 maybe-pdf-readline:
34938 @if readline
34939 maybe-pdf-readline: pdf-readline
34941 pdf-readline: \
34942 configure-readline
34943 @: $(MAKE); $(unstage)
34944 @[ -f ./readline/Makefile ] || exit 0; \
34945 r=`${PWD_COMMAND}`; export r; \
34946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34947 $(HOST_EXPORTS) \
34948 for flag in $(EXTRA_HOST_FLAGS) ; do \
34949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34950 done; \
34951 echo "Doing pdf in readline" ; \
34952 (cd $(HOST_SUBDIR)/readline && \
34953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34955 "RANLIB=$${RANLIB}" \
34956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34957 pdf) \
34958 || exit 1
34960 @endif readline
34962 .PHONY: maybe-html-readline html-readline
34963 maybe-html-readline:
34964 @if readline
34965 maybe-html-readline: html-readline
34967 html-readline: \
34968 configure-readline
34969 @: $(MAKE); $(unstage)
34970 @[ -f ./readline/Makefile ] || exit 0; \
34971 r=`${PWD_COMMAND}`; export r; \
34972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34973 $(HOST_EXPORTS) \
34974 for flag in $(EXTRA_HOST_FLAGS) ; do \
34975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34976 done; \
34977 echo "Doing html in readline" ; \
34978 (cd $(HOST_SUBDIR)/readline && \
34979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34981 "RANLIB=$${RANLIB}" \
34982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34983 html) \
34984 || exit 1
34986 @endif readline
34988 .PHONY: maybe-TAGS-readline TAGS-readline
34989 maybe-TAGS-readline:
34990 @if readline
34991 maybe-TAGS-readline: TAGS-readline
34993 TAGS-readline: \
34994 configure-readline
34995 @: $(MAKE); $(unstage)
34996 @[ -f ./readline/Makefile ] || exit 0; \
34997 r=`${PWD_COMMAND}`; export r; \
34998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34999 $(HOST_EXPORTS) \
35000 for flag in $(EXTRA_HOST_FLAGS) ; do \
35001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35002 done; \
35003 echo "Doing TAGS in readline" ; \
35004 (cd $(HOST_SUBDIR)/readline && \
35005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35007 "RANLIB=$${RANLIB}" \
35008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35009 TAGS) \
35010 || exit 1
35012 @endif readline
35014 .PHONY: maybe-install-info-readline install-info-readline
35015 maybe-install-info-readline:
35016 @if readline
35017 maybe-install-info-readline: install-info-readline
35019 install-info-readline: \
35020 configure-readline \
35021 info-readline
35022 @: $(MAKE); $(unstage)
35023 @[ -f ./readline/Makefile ] || exit 0; \
35024 r=`${PWD_COMMAND}`; export r; \
35025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35026 $(HOST_EXPORTS) \
35027 for flag in $(EXTRA_HOST_FLAGS) ; do \
35028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35029 done; \
35030 echo "Doing install-info in readline" ; \
35031 (cd $(HOST_SUBDIR)/readline && \
35032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35034 "RANLIB=$${RANLIB}" \
35035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35036 install-info) \
35037 || exit 1
35039 @endif readline
35041 .PHONY: maybe-install-pdf-readline install-pdf-readline
35042 maybe-install-pdf-readline:
35043 @if readline
35044 maybe-install-pdf-readline: install-pdf-readline
35046 install-pdf-readline: \
35047 configure-readline \
35048 pdf-readline
35049 @: $(MAKE); $(unstage)
35050 @[ -f ./readline/Makefile ] || exit 0; \
35051 r=`${PWD_COMMAND}`; export r; \
35052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35053 $(HOST_EXPORTS) \
35054 for flag in $(EXTRA_HOST_FLAGS) ; do \
35055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35056 done; \
35057 echo "Doing install-pdf in readline" ; \
35058 (cd $(HOST_SUBDIR)/readline && \
35059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35061 "RANLIB=$${RANLIB}" \
35062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35063 install-pdf) \
35064 || exit 1
35066 @endif readline
35068 .PHONY: maybe-install-html-readline install-html-readline
35069 maybe-install-html-readline:
35070 @if readline
35071 maybe-install-html-readline: install-html-readline
35073 install-html-readline: \
35074 configure-readline \
35075 html-readline
35076 @: $(MAKE); $(unstage)
35077 @[ -f ./readline/Makefile ] || exit 0; \
35078 r=`${PWD_COMMAND}`; export r; \
35079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35080 $(HOST_EXPORTS) \
35081 for flag in $(EXTRA_HOST_FLAGS) ; do \
35082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35083 done; \
35084 echo "Doing install-html in readline" ; \
35085 (cd $(HOST_SUBDIR)/readline && \
35086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35088 "RANLIB=$${RANLIB}" \
35089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35090 install-html) \
35091 || exit 1
35093 @endif readline
35095 .PHONY: maybe-installcheck-readline installcheck-readline
35096 maybe-installcheck-readline:
35097 @if readline
35098 maybe-installcheck-readline: installcheck-readline
35100 installcheck-readline: \
35101 configure-readline
35102 @: $(MAKE); $(unstage)
35103 @[ -f ./readline/Makefile ] || exit 0; \
35104 r=`${PWD_COMMAND}`; export r; \
35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35106 $(HOST_EXPORTS) \
35107 for flag in $(EXTRA_HOST_FLAGS) ; do \
35108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35109 done; \
35110 echo "Doing installcheck in readline" ; \
35111 (cd $(HOST_SUBDIR)/readline && \
35112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35114 "RANLIB=$${RANLIB}" \
35115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35116 installcheck) \
35117 || exit 1
35119 @endif readline
35121 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
35122 maybe-mostlyclean-readline:
35123 @if readline
35124 maybe-mostlyclean-readline: mostlyclean-readline
35126 mostlyclean-readline:
35127 @: $(MAKE); $(unstage)
35128 @[ -f ./readline/Makefile ] || exit 0; \
35129 r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(HOST_EXPORTS) \
35132 for flag in $(EXTRA_HOST_FLAGS) ; do \
35133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35134 done; \
35135 echo "Doing mostlyclean in readline" ; \
35136 (cd $(HOST_SUBDIR)/readline && \
35137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35139 "RANLIB=$${RANLIB}" \
35140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35141 mostlyclean) \
35142 || exit 1
35144 @endif readline
35146 .PHONY: maybe-clean-readline clean-readline
35147 maybe-clean-readline:
35148 @if readline
35149 maybe-clean-readline: clean-readline
35151 clean-readline:
35152 @: $(MAKE); $(unstage)
35153 @[ -f ./readline/Makefile ] || exit 0; \
35154 r=`${PWD_COMMAND}`; export r; \
35155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35156 $(HOST_EXPORTS) \
35157 for flag in $(EXTRA_HOST_FLAGS) ; do \
35158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35159 done; \
35160 echo "Doing clean in readline" ; \
35161 (cd $(HOST_SUBDIR)/readline && \
35162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35164 "RANLIB=$${RANLIB}" \
35165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35166 clean) \
35167 || exit 1
35169 @endif readline
35171 .PHONY: maybe-distclean-readline distclean-readline
35172 maybe-distclean-readline:
35173 @if readline
35174 maybe-distclean-readline: distclean-readline
35176 distclean-readline:
35177 @: $(MAKE); $(unstage)
35178 @[ -f ./readline/Makefile ] || exit 0; \
35179 r=`${PWD_COMMAND}`; export r; \
35180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35181 $(HOST_EXPORTS) \
35182 for flag in $(EXTRA_HOST_FLAGS) ; do \
35183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35184 done; \
35185 echo "Doing distclean in readline" ; \
35186 (cd $(HOST_SUBDIR)/readline && \
35187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35189 "RANLIB=$${RANLIB}" \
35190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35191 distclean) \
35192 || exit 1
35194 @endif readline
35196 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
35197 maybe-maintainer-clean-readline:
35198 @if readline
35199 maybe-maintainer-clean-readline: maintainer-clean-readline
35201 maintainer-clean-readline:
35202 @: $(MAKE); $(unstage)
35203 @[ -f ./readline/Makefile ] || exit 0; \
35204 r=`${PWD_COMMAND}`; export r; \
35205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35206 $(HOST_EXPORTS) \
35207 for flag in $(EXTRA_HOST_FLAGS) ; do \
35208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35209 done; \
35210 echo "Doing maintainer-clean in readline" ; \
35211 (cd $(HOST_SUBDIR)/readline && \
35212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35214 "RANLIB=$${RANLIB}" \
35215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35216 maintainer-clean) \
35217 || exit 1
35219 @endif readline
35223 .PHONY: configure-release maybe-configure-release
35224 maybe-configure-release:
35225 @if gcc-bootstrap
35226 configure-release: stage_current
35227 @endif gcc-bootstrap
35228 @if release
35229 maybe-configure-release: configure-release
35230 configure-release:
35231 @: $(MAKE); $(unstage)
35232 @r=`${PWD_COMMAND}`; export r; \
35233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35234 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
35235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
35236 $(HOST_EXPORTS) \
35237 echo Configuring in $(HOST_SUBDIR)/release; \
35238 cd "$(HOST_SUBDIR)/release" || exit 1; \
35239 case $(srcdir) in \
35240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35241 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
35242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35243 esac; \
35244 srcdiroption="--srcdir=$${topdir}/release"; \
35245 libsrcdir="$$s/release"; \
35246 $(SHELL) $${libsrcdir}/configure \
35247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35248 --target=${target_alias} $${srcdiroption} \
35249 || exit 1
35250 @endif release
35256 .PHONY: all-release maybe-all-release
35257 maybe-all-release:
35258 @if gcc-bootstrap
35259 all-release: stage_current
35260 @endif gcc-bootstrap
35261 @if release
35262 TARGET-release=all
35263 maybe-all-release: all-release
35264 all-release: configure-release
35265 @: $(MAKE); $(unstage)
35266 @r=`${PWD_COMMAND}`; export r; \
35267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35268 $(HOST_EXPORTS) \
35269 (cd $(HOST_SUBDIR)/release && \
35270 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35271 $(TARGET-release))
35272 @endif release
35277 .PHONY: check-release maybe-check-release
35278 maybe-check-release:
35279 @if release
35280 maybe-check-release: check-release
35282 check-release:
35284 @endif release
35286 .PHONY: install-release maybe-install-release
35287 maybe-install-release:
35288 @if release
35289 maybe-install-release: install-release
35291 install-release:
35293 @endif release
35295 .PHONY: install-strip-release maybe-install-strip-release
35296 maybe-install-strip-release:
35297 @if release
35298 maybe-install-strip-release: install-strip-release
35300 install-strip-release:
35302 @endif release
35304 # Other targets (info, dvi, pdf, etc.)
35306 .PHONY: maybe-info-release info-release
35307 maybe-info-release:
35308 @if release
35309 maybe-info-release: info-release
35311 info-release: \
35312 configure-release
35313 @: $(MAKE); $(unstage)
35314 @[ -f ./release/Makefile ] || exit 0; \
35315 r=`${PWD_COMMAND}`; export r; \
35316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35317 $(HOST_EXPORTS) \
35318 for flag in $(EXTRA_HOST_FLAGS) ; do \
35319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35320 done; \
35321 echo "Doing info in release" ; \
35322 (cd $(HOST_SUBDIR)/release && \
35323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35325 "RANLIB=$${RANLIB}" \
35326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35327 info) \
35328 || exit 1
35330 @endif release
35332 .PHONY: maybe-dvi-release dvi-release
35333 maybe-dvi-release:
35334 @if release
35335 maybe-dvi-release: dvi-release
35337 dvi-release: \
35338 configure-release
35339 @: $(MAKE); $(unstage)
35340 @[ -f ./release/Makefile ] || exit 0; \
35341 r=`${PWD_COMMAND}`; export r; \
35342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35343 $(HOST_EXPORTS) \
35344 for flag in $(EXTRA_HOST_FLAGS) ; do \
35345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35346 done; \
35347 echo "Doing dvi in release" ; \
35348 (cd $(HOST_SUBDIR)/release && \
35349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35351 "RANLIB=$${RANLIB}" \
35352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35353 dvi) \
35354 || exit 1
35356 @endif release
35358 .PHONY: maybe-pdf-release pdf-release
35359 maybe-pdf-release:
35360 @if release
35361 maybe-pdf-release: pdf-release
35363 pdf-release: \
35364 configure-release
35365 @: $(MAKE); $(unstage)
35366 @[ -f ./release/Makefile ] || exit 0; \
35367 r=`${PWD_COMMAND}`; export r; \
35368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35369 $(HOST_EXPORTS) \
35370 for flag in $(EXTRA_HOST_FLAGS) ; do \
35371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35372 done; \
35373 echo "Doing pdf in release" ; \
35374 (cd $(HOST_SUBDIR)/release && \
35375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35377 "RANLIB=$${RANLIB}" \
35378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35379 pdf) \
35380 || exit 1
35382 @endif release
35384 .PHONY: maybe-html-release html-release
35385 maybe-html-release:
35386 @if release
35387 maybe-html-release: html-release
35389 html-release: \
35390 configure-release
35391 @: $(MAKE); $(unstage)
35392 @[ -f ./release/Makefile ] || exit 0; \
35393 r=`${PWD_COMMAND}`; export r; \
35394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35395 $(HOST_EXPORTS) \
35396 for flag in $(EXTRA_HOST_FLAGS) ; do \
35397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35398 done; \
35399 echo "Doing html in release" ; \
35400 (cd $(HOST_SUBDIR)/release && \
35401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35403 "RANLIB=$${RANLIB}" \
35404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35405 html) \
35406 || exit 1
35408 @endif release
35410 .PHONY: maybe-TAGS-release TAGS-release
35411 maybe-TAGS-release:
35412 @if release
35413 maybe-TAGS-release: TAGS-release
35415 TAGS-release: \
35416 configure-release
35417 @: $(MAKE); $(unstage)
35418 @[ -f ./release/Makefile ] || exit 0; \
35419 r=`${PWD_COMMAND}`; export r; \
35420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35421 $(HOST_EXPORTS) \
35422 for flag in $(EXTRA_HOST_FLAGS) ; do \
35423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35424 done; \
35425 echo "Doing TAGS in release" ; \
35426 (cd $(HOST_SUBDIR)/release && \
35427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35429 "RANLIB=$${RANLIB}" \
35430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35431 TAGS) \
35432 || exit 1
35434 @endif release
35436 .PHONY: maybe-install-info-release install-info-release
35437 maybe-install-info-release:
35438 @if release
35439 maybe-install-info-release: install-info-release
35441 install-info-release: \
35442 configure-release \
35443 info-release
35444 @: $(MAKE); $(unstage)
35445 @[ -f ./release/Makefile ] || exit 0; \
35446 r=`${PWD_COMMAND}`; export r; \
35447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35448 $(HOST_EXPORTS) \
35449 for flag in $(EXTRA_HOST_FLAGS) ; do \
35450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35451 done; \
35452 echo "Doing install-info in release" ; \
35453 (cd $(HOST_SUBDIR)/release && \
35454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35456 "RANLIB=$${RANLIB}" \
35457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35458 install-info) \
35459 || exit 1
35461 @endif release
35463 .PHONY: maybe-install-pdf-release install-pdf-release
35464 maybe-install-pdf-release:
35465 @if release
35466 maybe-install-pdf-release: install-pdf-release
35468 install-pdf-release: \
35469 configure-release \
35470 pdf-release
35471 @: $(MAKE); $(unstage)
35472 @[ -f ./release/Makefile ] || exit 0; \
35473 r=`${PWD_COMMAND}`; export r; \
35474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35475 $(HOST_EXPORTS) \
35476 for flag in $(EXTRA_HOST_FLAGS) ; do \
35477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35478 done; \
35479 echo "Doing install-pdf in release" ; \
35480 (cd $(HOST_SUBDIR)/release && \
35481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35483 "RANLIB=$${RANLIB}" \
35484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35485 install-pdf) \
35486 || exit 1
35488 @endif release
35490 .PHONY: maybe-install-html-release install-html-release
35491 maybe-install-html-release:
35492 @if release
35493 maybe-install-html-release: install-html-release
35495 install-html-release: \
35496 configure-release \
35497 html-release
35498 @: $(MAKE); $(unstage)
35499 @[ -f ./release/Makefile ] || exit 0; \
35500 r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(HOST_EXPORTS) \
35503 for flag in $(EXTRA_HOST_FLAGS) ; do \
35504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35505 done; \
35506 echo "Doing install-html in release" ; \
35507 (cd $(HOST_SUBDIR)/release && \
35508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35510 "RANLIB=$${RANLIB}" \
35511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35512 install-html) \
35513 || exit 1
35515 @endif release
35517 .PHONY: maybe-installcheck-release installcheck-release
35518 maybe-installcheck-release:
35519 @if release
35520 maybe-installcheck-release: installcheck-release
35522 installcheck-release: \
35523 configure-release
35524 @: $(MAKE); $(unstage)
35525 @[ -f ./release/Makefile ] || exit 0; \
35526 r=`${PWD_COMMAND}`; export r; \
35527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35528 $(HOST_EXPORTS) \
35529 for flag in $(EXTRA_HOST_FLAGS) ; do \
35530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35531 done; \
35532 echo "Doing installcheck in release" ; \
35533 (cd $(HOST_SUBDIR)/release && \
35534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35536 "RANLIB=$${RANLIB}" \
35537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35538 installcheck) \
35539 || exit 1
35541 @endif release
35543 .PHONY: maybe-mostlyclean-release mostlyclean-release
35544 maybe-mostlyclean-release:
35545 @if release
35546 maybe-mostlyclean-release: mostlyclean-release
35548 mostlyclean-release:
35549 @: $(MAKE); $(unstage)
35550 @[ -f ./release/Makefile ] || exit 0; \
35551 r=`${PWD_COMMAND}`; export r; \
35552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35553 $(HOST_EXPORTS) \
35554 for flag in $(EXTRA_HOST_FLAGS) ; do \
35555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35556 done; \
35557 echo "Doing mostlyclean in release" ; \
35558 (cd $(HOST_SUBDIR)/release && \
35559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35561 "RANLIB=$${RANLIB}" \
35562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35563 mostlyclean) \
35564 || exit 1
35566 @endif release
35568 .PHONY: maybe-clean-release clean-release
35569 maybe-clean-release:
35570 @if release
35571 maybe-clean-release: clean-release
35573 clean-release:
35574 @: $(MAKE); $(unstage)
35575 @[ -f ./release/Makefile ] || exit 0; \
35576 r=`${PWD_COMMAND}`; export r; \
35577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35578 $(HOST_EXPORTS) \
35579 for flag in $(EXTRA_HOST_FLAGS) ; do \
35580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35581 done; \
35582 echo "Doing clean in release" ; \
35583 (cd $(HOST_SUBDIR)/release && \
35584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35586 "RANLIB=$${RANLIB}" \
35587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35588 clean) \
35589 || exit 1
35591 @endif release
35593 .PHONY: maybe-distclean-release distclean-release
35594 maybe-distclean-release:
35595 @if release
35596 maybe-distclean-release: distclean-release
35598 distclean-release:
35599 @: $(MAKE); $(unstage)
35600 @[ -f ./release/Makefile ] || exit 0; \
35601 r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(HOST_EXPORTS) \
35604 for flag in $(EXTRA_HOST_FLAGS) ; do \
35605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35606 done; \
35607 echo "Doing distclean in release" ; \
35608 (cd $(HOST_SUBDIR)/release && \
35609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35611 "RANLIB=$${RANLIB}" \
35612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35613 distclean) \
35614 || exit 1
35616 @endif release
35618 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
35619 maybe-maintainer-clean-release:
35620 @if release
35621 maybe-maintainer-clean-release: maintainer-clean-release
35623 maintainer-clean-release:
35624 @: $(MAKE); $(unstage)
35625 @[ -f ./release/Makefile ] || exit 0; \
35626 r=`${PWD_COMMAND}`; export r; \
35627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35628 $(HOST_EXPORTS) \
35629 for flag in $(EXTRA_HOST_FLAGS) ; do \
35630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35631 done; \
35632 echo "Doing maintainer-clean in release" ; \
35633 (cd $(HOST_SUBDIR)/release && \
35634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35636 "RANLIB=$${RANLIB}" \
35637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35638 maintainer-clean) \
35639 || exit 1
35641 @endif release
35645 .PHONY: configure-recode maybe-configure-recode
35646 maybe-configure-recode:
35647 @if gcc-bootstrap
35648 configure-recode: stage_current
35649 @endif gcc-bootstrap
35650 @if recode
35651 maybe-configure-recode: configure-recode
35652 configure-recode:
35653 @: $(MAKE); $(unstage)
35654 @r=`${PWD_COMMAND}`; export r; \
35655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35656 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
35657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
35658 $(HOST_EXPORTS) \
35659 echo Configuring in $(HOST_SUBDIR)/recode; \
35660 cd "$(HOST_SUBDIR)/recode" || exit 1; \
35661 case $(srcdir) in \
35662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35663 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
35664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35665 esac; \
35666 srcdiroption="--srcdir=$${topdir}/recode"; \
35667 libsrcdir="$$s/recode"; \
35668 $(SHELL) $${libsrcdir}/configure \
35669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35670 --target=${target_alias} $${srcdiroption} \
35671 || exit 1
35672 @endif recode
35678 .PHONY: all-recode maybe-all-recode
35679 maybe-all-recode:
35680 @if gcc-bootstrap
35681 all-recode: stage_current
35682 @endif gcc-bootstrap
35683 @if recode
35684 TARGET-recode=all
35685 maybe-all-recode: all-recode
35686 all-recode: configure-recode
35687 @: $(MAKE); $(unstage)
35688 @r=`${PWD_COMMAND}`; export r; \
35689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35690 $(HOST_EXPORTS) \
35691 (cd $(HOST_SUBDIR)/recode && \
35692 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35693 $(TARGET-recode))
35694 @endif recode
35699 .PHONY: check-recode maybe-check-recode
35700 maybe-check-recode:
35701 @if recode
35702 maybe-check-recode: check-recode
35704 check-recode:
35705 @: $(MAKE); $(unstage)
35706 @r=`${PWD_COMMAND}`; export r; \
35707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35708 $(HOST_EXPORTS) \
35709 (cd $(HOST_SUBDIR)/recode && \
35710 $(MAKE) $(FLAGS_TO_PASS) check)
35712 @endif recode
35714 .PHONY: install-recode maybe-install-recode
35715 maybe-install-recode:
35716 @if recode
35717 maybe-install-recode: install-recode
35719 install-recode: installdirs
35720 @: $(MAKE); $(unstage)
35721 @r=`${PWD_COMMAND}`; export r; \
35722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35723 $(HOST_EXPORTS) \
35724 (cd $(HOST_SUBDIR)/recode && \
35725 $(MAKE) $(FLAGS_TO_PASS) install)
35727 @endif recode
35729 .PHONY: install-strip-recode maybe-install-strip-recode
35730 maybe-install-strip-recode:
35731 @if recode
35732 maybe-install-strip-recode: install-strip-recode
35734 install-strip-recode: installdirs
35735 @: $(MAKE); $(unstage)
35736 @r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 (cd $(HOST_SUBDIR)/recode && \
35740 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35742 @endif recode
35744 # Other targets (info, dvi, pdf, etc.)
35746 .PHONY: maybe-info-recode info-recode
35747 maybe-info-recode:
35748 @if recode
35749 maybe-info-recode: info-recode
35751 info-recode: \
35752 configure-recode
35753 @: $(MAKE); $(unstage)
35754 @[ -f ./recode/Makefile ] || exit 0; \
35755 r=`${PWD_COMMAND}`; export r; \
35756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35757 $(HOST_EXPORTS) \
35758 for flag in $(EXTRA_HOST_FLAGS) ; do \
35759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35760 done; \
35761 echo "Doing info in recode" ; \
35762 (cd $(HOST_SUBDIR)/recode && \
35763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35765 "RANLIB=$${RANLIB}" \
35766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35767 info) \
35768 || exit 1
35770 @endif recode
35772 .PHONY: maybe-dvi-recode dvi-recode
35773 maybe-dvi-recode:
35774 @if recode
35775 maybe-dvi-recode: dvi-recode
35777 dvi-recode: \
35778 configure-recode
35779 @: $(MAKE); $(unstage)
35780 @[ -f ./recode/Makefile ] || exit 0; \
35781 r=`${PWD_COMMAND}`; export r; \
35782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35783 $(HOST_EXPORTS) \
35784 for flag in $(EXTRA_HOST_FLAGS) ; do \
35785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35786 done; \
35787 echo "Doing dvi in recode" ; \
35788 (cd $(HOST_SUBDIR)/recode && \
35789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35791 "RANLIB=$${RANLIB}" \
35792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35793 dvi) \
35794 || exit 1
35796 @endif recode
35798 .PHONY: maybe-pdf-recode pdf-recode
35799 maybe-pdf-recode:
35800 @if recode
35801 maybe-pdf-recode: pdf-recode
35803 pdf-recode: \
35804 configure-recode
35805 @: $(MAKE); $(unstage)
35806 @[ -f ./recode/Makefile ] || exit 0; \
35807 r=`${PWD_COMMAND}`; export r; \
35808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35809 $(HOST_EXPORTS) \
35810 for flag in $(EXTRA_HOST_FLAGS) ; do \
35811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35812 done; \
35813 echo "Doing pdf in recode" ; \
35814 (cd $(HOST_SUBDIR)/recode && \
35815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35817 "RANLIB=$${RANLIB}" \
35818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35819 pdf) \
35820 || exit 1
35822 @endif recode
35824 .PHONY: maybe-html-recode html-recode
35825 maybe-html-recode:
35826 @if recode
35827 maybe-html-recode: html-recode
35829 html-recode: \
35830 configure-recode
35831 @: $(MAKE); $(unstage)
35832 @[ -f ./recode/Makefile ] || exit 0; \
35833 r=`${PWD_COMMAND}`; export r; \
35834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35835 $(HOST_EXPORTS) \
35836 for flag in $(EXTRA_HOST_FLAGS) ; do \
35837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35838 done; \
35839 echo "Doing html in recode" ; \
35840 (cd $(HOST_SUBDIR)/recode && \
35841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35843 "RANLIB=$${RANLIB}" \
35844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35845 html) \
35846 || exit 1
35848 @endif recode
35850 .PHONY: maybe-TAGS-recode TAGS-recode
35851 maybe-TAGS-recode:
35852 @if recode
35853 maybe-TAGS-recode: TAGS-recode
35855 TAGS-recode: \
35856 configure-recode
35857 @: $(MAKE); $(unstage)
35858 @[ -f ./recode/Makefile ] || exit 0; \
35859 r=`${PWD_COMMAND}`; export r; \
35860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35861 $(HOST_EXPORTS) \
35862 for flag in $(EXTRA_HOST_FLAGS) ; do \
35863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35864 done; \
35865 echo "Doing TAGS in recode" ; \
35866 (cd $(HOST_SUBDIR)/recode && \
35867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35869 "RANLIB=$${RANLIB}" \
35870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35871 TAGS) \
35872 || exit 1
35874 @endif recode
35876 .PHONY: maybe-install-info-recode install-info-recode
35877 maybe-install-info-recode:
35878 @if recode
35879 maybe-install-info-recode: install-info-recode
35881 install-info-recode: \
35882 configure-recode \
35883 info-recode
35884 @: $(MAKE); $(unstage)
35885 @[ -f ./recode/Makefile ] || exit 0; \
35886 r=`${PWD_COMMAND}`; export r; \
35887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35888 $(HOST_EXPORTS) \
35889 for flag in $(EXTRA_HOST_FLAGS) ; do \
35890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35891 done; \
35892 echo "Doing install-info in recode" ; \
35893 (cd $(HOST_SUBDIR)/recode && \
35894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35896 "RANLIB=$${RANLIB}" \
35897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35898 install-info) \
35899 || exit 1
35901 @endif recode
35903 .PHONY: maybe-install-pdf-recode install-pdf-recode
35904 maybe-install-pdf-recode:
35905 @if recode
35906 maybe-install-pdf-recode: install-pdf-recode
35908 install-pdf-recode: \
35909 configure-recode \
35910 pdf-recode
35911 @: $(MAKE); $(unstage)
35912 @[ -f ./recode/Makefile ] || exit 0; \
35913 r=`${PWD_COMMAND}`; export r; \
35914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35915 $(HOST_EXPORTS) \
35916 for flag in $(EXTRA_HOST_FLAGS) ; do \
35917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35918 done; \
35919 echo "Doing install-pdf in recode" ; \
35920 (cd $(HOST_SUBDIR)/recode && \
35921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35923 "RANLIB=$${RANLIB}" \
35924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35925 install-pdf) \
35926 || exit 1
35928 @endif recode
35930 .PHONY: maybe-install-html-recode install-html-recode
35931 maybe-install-html-recode:
35932 @if recode
35933 maybe-install-html-recode: install-html-recode
35935 install-html-recode: \
35936 configure-recode \
35937 html-recode
35938 @: $(MAKE); $(unstage)
35939 @[ -f ./recode/Makefile ] || exit 0; \
35940 r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 $(HOST_EXPORTS) \
35943 for flag in $(EXTRA_HOST_FLAGS) ; do \
35944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35945 done; \
35946 echo "Doing install-html in recode" ; \
35947 (cd $(HOST_SUBDIR)/recode && \
35948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35950 "RANLIB=$${RANLIB}" \
35951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35952 install-html) \
35953 || exit 1
35955 @endif recode
35957 .PHONY: maybe-installcheck-recode installcheck-recode
35958 maybe-installcheck-recode:
35959 @if recode
35960 maybe-installcheck-recode: installcheck-recode
35962 installcheck-recode: \
35963 configure-recode
35964 @: $(MAKE); $(unstage)
35965 @[ -f ./recode/Makefile ] || exit 0; \
35966 r=`${PWD_COMMAND}`; export r; \
35967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35968 $(HOST_EXPORTS) \
35969 for flag in $(EXTRA_HOST_FLAGS) ; do \
35970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35971 done; \
35972 echo "Doing installcheck in recode" ; \
35973 (cd $(HOST_SUBDIR)/recode && \
35974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35976 "RANLIB=$${RANLIB}" \
35977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35978 installcheck) \
35979 || exit 1
35981 @endif recode
35983 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
35984 maybe-mostlyclean-recode:
35985 @if recode
35986 maybe-mostlyclean-recode: mostlyclean-recode
35988 mostlyclean-recode:
35989 @: $(MAKE); $(unstage)
35990 @[ -f ./recode/Makefile ] || exit 0; \
35991 r=`${PWD_COMMAND}`; export r; \
35992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35993 $(HOST_EXPORTS) \
35994 for flag in $(EXTRA_HOST_FLAGS) ; do \
35995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35996 done; \
35997 echo "Doing mostlyclean in recode" ; \
35998 (cd $(HOST_SUBDIR)/recode && \
35999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36001 "RANLIB=$${RANLIB}" \
36002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36003 mostlyclean) \
36004 || exit 1
36006 @endif recode
36008 .PHONY: maybe-clean-recode clean-recode
36009 maybe-clean-recode:
36010 @if recode
36011 maybe-clean-recode: clean-recode
36013 clean-recode:
36014 @: $(MAKE); $(unstage)
36015 @[ -f ./recode/Makefile ] || exit 0; \
36016 r=`${PWD_COMMAND}`; export r; \
36017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36018 $(HOST_EXPORTS) \
36019 for flag in $(EXTRA_HOST_FLAGS) ; do \
36020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36021 done; \
36022 echo "Doing clean in recode" ; \
36023 (cd $(HOST_SUBDIR)/recode && \
36024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36026 "RANLIB=$${RANLIB}" \
36027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36028 clean) \
36029 || exit 1
36031 @endif recode
36033 .PHONY: maybe-distclean-recode distclean-recode
36034 maybe-distclean-recode:
36035 @if recode
36036 maybe-distclean-recode: distclean-recode
36038 distclean-recode:
36039 @: $(MAKE); $(unstage)
36040 @[ -f ./recode/Makefile ] || exit 0; \
36041 r=`${PWD_COMMAND}`; export r; \
36042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36043 $(HOST_EXPORTS) \
36044 for flag in $(EXTRA_HOST_FLAGS) ; do \
36045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36046 done; \
36047 echo "Doing distclean in recode" ; \
36048 (cd $(HOST_SUBDIR)/recode && \
36049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36051 "RANLIB=$${RANLIB}" \
36052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36053 distclean) \
36054 || exit 1
36056 @endif recode
36058 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
36059 maybe-maintainer-clean-recode:
36060 @if recode
36061 maybe-maintainer-clean-recode: maintainer-clean-recode
36063 maintainer-clean-recode:
36064 @: $(MAKE); $(unstage)
36065 @[ -f ./recode/Makefile ] || exit 0; \
36066 r=`${PWD_COMMAND}`; export r; \
36067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36068 $(HOST_EXPORTS) \
36069 for flag in $(EXTRA_HOST_FLAGS) ; do \
36070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36071 done; \
36072 echo "Doing maintainer-clean in recode" ; \
36073 (cd $(HOST_SUBDIR)/recode && \
36074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36076 "RANLIB=$${RANLIB}" \
36077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36078 maintainer-clean) \
36079 || exit 1
36081 @endif recode
36085 .PHONY: configure-sed maybe-configure-sed
36086 maybe-configure-sed:
36087 @if gcc-bootstrap
36088 configure-sed: stage_current
36089 @endif gcc-bootstrap
36090 @if sed
36091 maybe-configure-sed: configure-sed
36092 configure-sed:
36093 @: $(MAKE); $(unstage)
36094 @r=`${PWD_COMMAND}`; export r; \
36095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36096 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
36097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
36098 $(HOST_EXPORTS) \
36099 echo Configuring in $(HOST_SUBDIR)/sed; \
36100 cd "$(HOST_SUBDIR)/sed" || exit 1; \
36101 case $(srcdir) in \
36102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36103 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
36104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36105 esac; \
36106 srcdiroption="--srcdir=$${topdir}/sed"; \
36107 libsrcdir="$$s/sed"; \
36108 $(SHELL) $${libsrcdir}/configure \
36109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36110 --target=${target_alias} $${srcdiroption} \
36111 || exit 1
36112 @endif sed
36118 .PHONY: all-sed maybe-all-sed
36119 maybe-all-sed:
36120 @if gcc-bootstrap
36121 all-sed: stage_current
36122 @endif gcc-bootstrap
36123 @if sed
36124 TARGET-sed=all
36125 maybe-all-sed: all-sed
36126 all-sed: configure-sed
36127 @: $(MAKE); $(unstage)
36128 @r=`${PWD_COMMAND}`; export r; \
36129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36130 $(HOST_EXPORTS) \
36131 (cd $(HOST_SUBDIR)/sed && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36133 $(TARGET-sed))
36134 @endif sed
36139 .PHONY: check-sed maybe-check-sed
36140 maybe-check-sed:
36141 @if sed
36142 maybe-check-sed: check-sed
36144 check-sed:
36145 @: $(MAKE); $(unstage)
36146 @r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 $(HOST_EXPORTS) \
36149 (cd $(HOST_SUBDIR)/sed && \
36150 $(MAKE) $(FLAGS_TO_PASS) check)
36152 @endif sed
36154 .PHONY: install-sed maybe-install-sed
36155 maybe-install-sed:
36156 @if sed
36157 maybe-install-sed: install-sed
36159 install-sed: installdirs
36160 @: $(MAKE); $(unstage)
36161 @r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 $(HOST_EXPORTS) \
36164 (cd $(HOST_SUBDIR)/sed && \
36165 $(MAKE) $(FLAGS_TO_PASS) install)
36167 @endif sed
36169 .PHONY: install-strip-sed maybe-install-strip-sed
36170 maybe-install-strip-sed:
36171 @if sed
36172 maybe-install-strip-sed: install-strip-sed
36174 install-strip-sed: installdirs
36175 @: $(MAKE); $(unstage)
36176 @r=`${PWD_COMMAND}`; export r; \
36177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36178 $(HOST_EXPORTS) \
36179 (cd $(HOST_SUBDIR)/sed && \
36180 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36182 @endif sed
36184 # Other targets (info, dvi, pdf, etc.)
36186 .PHONY: maybe-info-sed info-sed
36187 maybe-info-sed:
36188 @if sed
36189 maybe-info-sed: info-sed
36191 info-sed: \
36192 configure-sed
36193 @: $(MAKE); $(unstage)
36194 @[ -f ./sed/Makefile ] || exit 0; \
36195 r=`${PWD_COMMAND}`; export r; \
36196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36197 $(HOST_EXPORTS) \
36198 for flag in $(EXTRA_HOST_FLAGS) ; do \
36199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36200 done; \
36201 echo "Doing info in sed" ; \
36202 (cd $(HOST_SUBDIR)/sed && \
36203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36205 "RANLIB=$${RANLIB}" \
36206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36207 info) \
36208 || exit 1
36210 @endif sed
36212 .PHONY: maybe-dvi-sed dvi-sed
36213 maybe-dvi-sed:
36214 @if sed
36215 maybe-dvi-sed: dvi-sed
36217 dvi-sed: \
36218 configure-sed
36219 @: $(MAKE); $(unstage)
36220 @[ -f ./sed/Makefile ] || exit 0; \
36221 r=`${PWD_COMMAND}`; export r; \
36222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36223 $(HOST_EXPORTS) \
36224 for flag in $(EXTRA_HOST_FLAGS) ; do \
36225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36226 done; \
36227 echo "Doing dvi in sed" ; \
36228 (cd $(HOST_SUBDIR)/sed && \
36229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36231 "RANLIB=$${RANLIB}" \
36232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36233 dvi) \
36234 || exit 1
36236 @endif sed
36238 .PHONY: maybe-pdf-sed pdf-sed
36239 maybe-pdf-sed:
36240 @if sed
36241 maybe-pdf-sed: pdf-sed
36243 pdf-sed: \
36244 configure-sed
36245 @: $(MAKE); $(unstage)
36246 @[ -f ./sed/Makefile ] || exit 0; \
36247 r=`${PWD_COMMAND}`; export r; \
36248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36249 $(HOST_EXPORTS) \
36250 for flag in $(EXTRA_HOST_FLAGS) ; do \
36251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36252 done; \
36253 echo "Doing pdf in sed" ; \
36254 (cd $(HOST_SUBDIR)/sed && \
36255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36257 "RANLIB=$${RANLIB}" \
36258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36259 pdf) \
36260 || exit 1
36262 @endif sed
36264 .PHONY: maybe-html-sed html-sed
36265 maybe-html-sed:
36266 @if sed
36267 maybe-html-sed: html-sed
36269 html-sed: \
36270 configure-sed
36271 @: $(MAKE); $(unstage)
36272 @[ -f ./sed/Makefile ] || exit 0; \
36273 r=`${PWD_COMMAND}`; export r; \
36274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36275 $(HOST_EXPORTS) \
36276 for flag in $(EXTRA_HOST_FLAGS) ; do \
36277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36278 done; \
36279 echo "Doing html in sed" ; \
36280 (cd $(HOST_SUBDIR)/sed && \
36281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36283 "RANLIB=$${RANLIB}" \
36284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36285 html) \
36286 || exit 1
36288 @endif sed
36290 .PHONY: maybe-TAGS-sed TAGS-sed
36291 maybe-TAGS-sed:
36292 @if sed
36293 maybe-TAGS-sed: TAGS-sed
36295 TAGS-sed: \
36296 configure-sed
36297 @: $(MAKE); $(unstage)
36298 @[ -f ./sed/Makefile ] || exit 0; \
36299 r=`${PWD_COMMAND}`; export r; \
36300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36301 $(HOST_EXPORTS) \
36302 for flag in $(EXTRA_HOST_FLAGS) ; do \
36303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36304 done; \
36305 echo "Doing TAGS in sed" ; \
36306 (cd $(HOST_SUBDIR)/sed && \
36307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36309 "RANLIB=$${RANLIB}" \
36310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36311 TAGS) \
36312 || exit 1
36314 @endif sed
36316 .PHONY: maybe-install-info-sed install-info-sed
36317 maybe-install-info-sed:
36318 @if sed
36319 maybe-install-info-sed: install-info-sed
36321 install-info-sed: \
36322 configure-sed \
36323 info-sed
36324 @: $(MAKE); $(unstage)
36325 @[ -f ./sed/Makefile ] || exit 0; \
36326 r=`${PWD_COMMAND}`; export r; \
36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36328 $(HOST_EXPORTS) \
36329 for flag in $(EXTRA_HOST_FLAGS) ; do \
36330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36331 done; \
36332 echo "Doing install-info in sed" ; \
36333 (cd $(HOST_SUBDIR)/sed && \
36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36336 "RANLIB=$${RANLIB}" \
36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36338 install-info) \
36339 || exit 1
36341 @endif sed
36343 .PHONY: maybe-install-pdf-sed install-pdf-sed
36344 maybe-install-pdf-sed:
36345 @if sed
36346 maybe-install-pdf-sed: install-pdf-sed
36348 install-pdf-sed: \
36349 configure-sed \
36350 pdf-sed
36351 @: $(MAKE); $(unstage)
36352 @[ -f ./sed/Makefile ] || exit 0; \
36353 r=`${PWD_COMMAND}`; export r; \
36354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36355 $(HOST_EXPORTS) \
36356 for flag in $(EXTRA_HOST_FLAGS) ; do \
36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36358 done; \
36359 echo "Doing install-pdf in sed" ; \
36360 (cd $(HOST_SUBDIR)/sed && \
36361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36363 "RANLIB=$${RANLIB}" \
36364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36365 install-pdf) \
36366 || exit 1
36368 @endif sed
36370 .PHONY: maybe-install-html-sed install-html-sed
36371 maybe-install-html-sed:
36372 @if sed
36373 maybe-install-html-sed: install-html-sed
36375 install-html-sed: \
36376 configure-sed \
36377 html-sed
36378 @: $(MAKE); $(unstage)
36379 @[ -f ./sed/Makefile ] || exit 0; \
36380 r=`${PWD_COMMAND}`; export r; \
36381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36382 $(HOST_EXPORTS) \
36383 for flag in $(EXTRA_HOST_FLAGS) ; do \
36384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36385 done; \
36386 echo "Doing install-html in sed" ; \
36387 (cd $(HOST_SUBDIR)/sed && \
36388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36390 "RANLIB=$${RANLIB}" \
36391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36392 install-html) \
36393 || exit 1
36395 @endif sed
36397 .PHONY: maybe-installcheck-sed installcheck-sed
36398 maybe-installcheck-sed:
36399 @if sed
36400 maybe-installcheck-sed: installcheck-sed
36402 installcheck-sed: \
36403 configure-sed
36404 @: $(MAKE); $(unstage)
36405 @[ -f ./sed/Makefile ] || exit 0; \
36406 r=`${PWD_COMMAND}`; export r; \
36407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36408 $(HOST_EXPORTS) \
36409 for flag in $(EXTRA_HOST_FLAGS) ; do \
36410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36411 done; \
36412 echo "Doing installcheck in sed" ; \
36413 (cd $(HOST_SUBDIR)/sed && \
36414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36416 "RANLIB=$${RANLIB}" \
36417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36418 installcheck) \
36419 || exit 1
36421 @endif sed
36423 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
36424 maybe-mostlyclean-sed:
36425 @if sed
36426 maybe-mostlyclean-sed: mostlyclean-sed
36428 mostlyclean-sed:
36429 @: $(MAKE); $(unstage)
36430 @[ -f ./sed/Makefile ] || exit 0; \
36431 r=`${PWD_COMMAND}`; export r; \
36432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36433 $(HOST_EXPORTS) \
36434 for flag in $(EXTRA_HOST_FLAGS) ; do \
36435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36436 done; \
36437 echo "Doing mostlyclean in sed" ; \
36438 (cd $(HOST_SUBDIR)/sed && \
36439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36441 "RANLIB=$${RANLIB}" \
36442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36443 mostlyclean) \
36444 || exit 1
36446 @endif sed
36448 .PHONY: maybe-clean-sed clean-sed
36449 maybe-clean-sed:
36450 @if sed
36451 maybe-clean-sed: clean-sed
36453 clean-sed:
36454 @: $(MAKE); $(unstage)
36455 @[ -f ./sed/Makefile ] || exit 0; \
36456 r=`${PWD_COMMAND}`; export r; \
36457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36458 $(HOST_EXPORTS) \
36459 for flag in $(EXTRA_HOST_FLAGS) ; do \
36460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36461 done; \
36462 echo "Doing clean in sed" ; \
36463 (cd $(HOST_SUBDIR)/sed && \
36464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36466 "RANLIB=$${RANLIB}" \
36467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36468 clean) \
36469 || exit 1
36471 @endif sed
36473 .PHONY: maybe-distclean-sed distclean-sed
36474 maybe-distclean-sed:
36475 @if sed
36476 maybe-distclean-sed: distclean-sed
36478 distclean-sed:
36479 @: $(MAKE); $(unstage)
36480 @[ -f ./sed/Makefile ] || exit 0; \
36481 r=`${PWD_COMMAND}`; export r; \
36482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36483 $(HOST_EXPORTS) \
36484 for flag in $(EXTRA_HOST_FLAGS) ; do \
36485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36486 done; \
36487 echo "Doing distclean in sed" ; \
36488 (cd $(HOST_SUBDIR)/sed && \
36489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36491 "RANLIB=$${RANLIB}" \
36492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36493 distclean) \
36494 || exit 1
36496 @endif sed
36498 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
36499 maybe-maintainer-clean-sed:
36500 @if sed
36501 maybe-maintainer-clean-sed: maintainer-clean-sed
36503 maintainer-clean-sed:
36504 @: $(MAKE); $(unstage)
36505 @[ -f ./sed/Makefile ] || exit 0; \
36506 r=`${PWD_COMMAND}`; export r; \
36507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36508 $(HOST_EXPORTS) \
36509 for flag in $(EXTRA_HOST_FLAGS) ; do \
36510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36511 done; \
36512 echo "Doing maintainer-clean in sed" ; \
36513 (cd $(HOST_SUBDIR)/sed && \
36514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36516 "RANLIB=$${RANLIB}" \
36517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36518 maintainer-clean) \
36519 || exit 1
36521 @endif sed
36525 .PHONY: configure-send-pr maybe-configure-send-pr
36526 maybe-configure-send-pr:
36527 @if gcc-bootstrap
36528 configure-send-pr: stage_current
36529 @endif gcc-bootstrap
36530 @if send-pr
36531 maybe-configure-send-pr: configure-send-pr
36532 configure-send-pr:
36533 @: $(MAKE); $(unstage)
36534 @r=`${PWD_COMMAND}`; export r; \
36535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36536 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
36537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
36538 $(HOST_EXPORTS) \
36539 echo Configuring in $(HOST_SUBDIR)/send-pr; \
36540 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
36541 case $(srcdir) in \
36542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36543 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
36544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36545 esac; \
36546 srcdiroption="--srcdir=$${topdir}/send-pr"; \
36547 libsrcdir="$$s/send-pr"; \
36548 $(SHELL) $${libsrcdir}/configure \
36549 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36550 --target=${target_alias} $${srcdiroption} \
36551 || exit 1
36552 @endif send-pr
36558 .PHONY: all-send-pr maybe-all-send-pr
36559 maybe-all-send-pr:
36560 @if gcc-bootstrap
36561 all-send-pr: stage_current
36562 @endif gcc-bootstrap
36563 @if send-pr
36564 TARGET-send-pr=all
36565 maybe-all-send-pr: all-send-pr
36566 all-send-pr: configure-send-pr
36567 @: $(MAKE); $(unstage)
36568 @r=`${PWD_COMMAND}`; export r; \
36569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36570 $(HOST_EXPORTS) \
36571 (cd $(HOST_SUBDIR)/send-pr && \
36572 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36573 $(TARGET-send-pr))
36574 @endif send-pr
36579 .PHONY: check-send-pr maybe-check-send-pr
36580 maybe-check-send-pr:
36581 @if send-pr
36582 maybe-check-send-pr: check-send-pr
36584 check-send-pr:
36585 @: $(MAKE); $(unstage)
36586 @r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(HOST_EXPORTS) \
36589 (cd $(HOST_SUBDIR)/send-pr && \
36590 $(MAKE) $(FLAGS_TO_PASS) check)
36592 @endif send-pr
36594 .PHONY: install-send-pr maybe-install-send-pr
36595 maybe-install-send-pr:
36596 @if send-pr
36597 maybe-install-send-pr: install-send-pr
36599 install-send-pr: installdirs
36600 @: $(MAKE); $(unstage)
36601 @r=`${PWD_COMMAND}`; export r; \
36602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36603 $(HOST_EXPORTS) \
36604 (cd $(HOST_SUBDIR)/send-pr && \
36605 $(MAKE) $(FLAGS_TO_PASS) install)
36607 @endif send-pr
36609 .PHONY: install-strip-send-pr maybe-install-strip-send-pr
36610 maybe-install-strip-send-pr:
36611 @if send-pr
36612 maybe-install-strip-send-pr: install-strip-send-pr
36614 install-strip-send-pr: installdirs
36615 @: $(MAKE); $(unstage)
36616 @r=`${PWD_COMMAND}`; export r; \
36617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36618 $(HOST_EXPORTS) \
36619 (cd $(HOST_SUBDIR)/send-pr && \
36620 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36622 @endif send-pr
36624 # Other targets (info, dvi, pdf, etc.)
36626 .PHONY: maybe-info-send-pr info-send-pr
36627 maybe-info-send-pr:
36628 @if send-pr
36629 maybe-info-send-pr: info-send-pr
36631 info-send-pr: \
36632 configure-send-pr
36633 @: $(MAKE); $(unstage)
36634 @[ -f ./send-pr/Makefile ] || exit 0; \
36635 r=`${PWD_COMMAND}`; export r; \
36636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36637 $(HOST_EXPORTS) \
36638 for flag in $(EXTRA_HOST_FLAGS) ; do \
36639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36640 done; \
36641 echo "Doing info in send-pr" ; \
36642 (cd $(HOST_SUBDIR)/send-pr && \
36643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36645 "RANLIB=$${RANLIB}" \
36646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36647 info) \
36648 || exit 1
36650 @endif send-pr
36652 .PHONY: maybe-dvi-send-pr dvi-send-pr
36653 maybe-dvi-send-pr:
36654 @if send-pr
36655 maybe-dvi-send-pr: dvi-send-pr
36657 dvi-send-pr: \
36658 configure-send-pr
36659 @: $(MAKE); $(unstage)
36660 @[ -f ./send-pr/Makefile ] || exit 0; \
36661 r=`${PWD_COMMAND}`; export r; \
36662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36663 $(HOST_EXPORTS) \
36664 for flag in $(EXTRA_HOST_FLAGS) ; do \
36665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36666 done; \
36667 echo "Doing dvi in send-pr" ; \
36668 (cd $(HOST_SUBDIR)/send-pr && \
36669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36671 "RANLIB=$${RANLIB}" \
36672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36673 dvi) \
36674 || exit 1
36676 @endif send-pr
36678 .PHONY: maybe-pdf-send-pr pdf-send-pr
36679 maybe-pdf-send-pr:
36680 @if send-pr
36681 maybe-pdf-send-pr: pdf-send-pr
36683 pdf-send-pr: \
36684 configure-send-pr
36685 @: $(MAKE); $(unstage)
36686 @[ -f ./send-pr/Makefile ] || exit 0; \
36687 r=`${PWD_COMMAND}`; export r; \
36688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36689 $(HOST_EXPORTS) \
36690 for flag in $(EXTRA_HOST_FLAGS) ; do \
36691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36692 done; \
36693 echo "Doing pdf in send-pr" ; \
36694 (cd $(HOST_SUBDIR)/send-pr && \
36695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36697 "RANLIB=$${RANLIB}" \
36698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36699 pdf) \
36700 || exit 1
36702 @endif send-pr
36704 .PHONY: maybe-html-send-pr html-send-pr
36705 maybe-html-send-pr:
36706 @if send-pr
36707 maybe-html-send-pr: html-send-pr
36709 html-send-pr: \
36710 configure-send-pr
36711 @: $(MAKE); $(unstage)
36712 @[ -f ./send-pr/Makefile ] || exit 0; \
36713 r=`${PWD_COMMAND}`; export r; \
36714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36715 $(HOST_EXPORTS) \
36716 for flag in $(EXTRA_HOST_FLAGS) ; do \
36717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36718 done; \
36719 echo "Doing html in send-pr" ; \
36720 (cd $(HOST_SUBDIR)/send-pr && \
36721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36723 "RANLIB=$${RANLIB}" \
36724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36725 html) \
36726 || exit 1
36728 @endif send-pr
36730 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
36731 maybe-TAGS-send-pr:
36732 @if send-pr
36733 maybe-TAGS-send-pr: TAGS-send-pr
36735 TAGS-send-pr: \
36736 configure-send-pr
36737 @: $(MAKE); $(unstage)
36738 @[ -f ./send-pr/Makefile ] || exit 0; \
36739 r=`${PWD_COMMAND}`; export r; \
36740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36741 $(HOST_EXPORTS) \
36742 for flag in $(EXTRA_HOST_FLAGS) ; do \
36743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36744 done; \
36745 echo "Doing TAGS in send-pr" ; \
36746 (cd $(HOST_SUBDIR)/send-pr && \
36747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36749 "RANLIB=$${RANLIB}" \
36750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36751 TAGS) \
36752 || exit 1
36754 @endif send-pr
36756 .PHONY: maybe-install-info-send-pr install-info-send-pr
36757 maybe-install-info-send-pr:
36758 @if send-pr
36759 maybe-install-info-send-pr: install-info-send-pr
36761 install-info-send-pr: \
36762 configure-send-pr \
36763 info-send-pr
36764 @: $(MAKE); $(unstage)
36765 @[ -f ./send-pr/Makefile ] || exit 0; \
36766 r=`${PWD_COMMAND}`; export r; \
36767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36768 $(HOST_EXPORTS) \
36769 for flag in $(EXTRA_HOST_FLAGS) ; do \
36770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36771 done; \
36772 echo "Doing install-info in send-pr" ; \
36773 (cd $(HOST_SUBDIR)/send-pr && \
36774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36776 "RANLIB=$${RANLIB}" \
36777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36778 install-info) \
36779 || exit 1
36781 @endif send-pr
36783 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
36784 maybe-install-pdf-send-pr:
36785 @if send-pr
36786 maybe-install-pdf-send-pr: install-pdf-send-pr
36788 install-pdf-send-pr: \
36789 configure-send-pr \
36790 pdf-send-pr
36791 @: $(MAKE); $(unstage)
36792 @[ -f ./send-pr/Makefile ] || exit 0; \
36793 r=`${PWD_COMMAND}`; export r; \
36794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36795 $(HOST_EXPORTS) \
36796 for flag in $(EXTRA_HOST_FLAGS) ; do \
36797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36798 done; \
36799 echo "Doing install-pdf in send-pr" ; \
36800 (cd $(HOST_SUBDIR)/send-pr && \
36801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36803 "RANLIB=$${RANLIB}" \
36804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36805 install-pdf) \
36806 || exit 1
36808 @endif send-pr
36810 .PHONY: maybe-install-html-send-pr install-html-send-pr
36811 maybe-install-html-send-pr:
36812 @if send-pr
36813 maybe-install-html-send-pr: install-html-send-pr
36815 install-html-send-pr: \
36816 configure-send-pr \
36817 html-send-pr
36818 @: $(MAKE); $(unstage)
36819 @[ -f ./send-pr/Makefile ] || exit 0; \
36820 r=`${PWD_COMMAND}`; export r; \
36821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36822 $(HOST_EXPORTS) \
36823 for flag in $(EXTRA_HOST_FLAGS) ; do \
36824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36825 done; \
36826 echo "Doing install-html in send-pr" ; \
36827 (cd $(HOST_SUBDIR)/send-pr && \
36828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36830 "RANLIB=$${RANLIB}" \
36831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36832 install-html) \
36833 || exit 1
36835 @endif send-pr
36837 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
36838 maybe-installcheck-send-pr:
36839 @if send-pr
36840 maybe-installcheck-send-pr: installcheck-send-pr
36842 installcheck-send-pr: \
36843 configure-send-pr
36844 @: $(MAKE); $(unstage)
36845 @[ -f ./send-pr/Makefile ] || exit 0; \
36846 r=`${PWD_COMMAND}`; export r; \
36847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36848 $(HOST_EXPORTS) \
36849 for flag in $(EXTRA_HOST_FLAGS) ; do \
36850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36851 done; \
36852 echo "Doing installcheck in send-pr" ; \
36853 (cd $(HOST_SUBDIR)/send-pr && \
36854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36856 "RANLIB=$${RANLIB}" \
36857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36858 installcheck) \
36859 || exit 1
36861 @endif send-pr
36863 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
36864 maybe-mostlyclean-send-pr:
36865 @if send-pr
36866 maybe-mostlyclean-send-pr: mostlyclean-send-pr
36868 mostlyclean-send-pr:
36869 @: $(MAKE); $(unstage)
36870 @[ -f ./send-pr/Makefile ] || exit 0; \
36871 r=`${PWD_COMMAND}`; export r; \
36872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36873 $(HOST_EXPORTS) \
36874 for flag in $(EXTRA_HOST_FLAGS) ; do \
36875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36876 done; \
36877 echo "Doing mostlyclean in send-pr" ; \
36878 (cd $(HOST_SUBDIR)/send-pr && \
36879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36881 "RANLIB=$${RANLIB}" \
36882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36883 mostlyclean) \
36884 || exit 1
36886 @endif send-pr
36888 .PHONY: maybe-clean-send-pr clean-send-pr
36889 maybe-clean-send-pr:
36890 @if send-pr
36891 maybe-clean-send-pr: clean-send-pr
36893 clean-send-pr:
36894 @: $(MAKE); $(unstage)
36895 @[ -f ./send-pr/Makefile ] || exit 0; \
36896 r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 $(HOST_EXPORTS) \
36899 for flag in $(EXTRA_HOST_FLAGS) ; do \
36900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36901 done; \
36902 echo "Doing clean in send-pr" ; \
36903 (cd $(HOST_SUBDIR)/send-pr && \
36904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36906 "RANLIB=$${RANLIB}" \
36907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36908 clean) \
36909 || exit 1
36911 @endif send-pr
36913 .PHONY: maybe-distclean-send-pr distclean-send-pr
36914 maybe-distclean-send-pr:
36915 @if send-pr
36916 maybe-distclean-send-pr: distclean-send-pr
36918 distclean-send-pr:
36919 @: $(MAKE); $(unstage)
36920 @[ -f ./send-pr/Makefile ] || exit 0; \
36921 r=`${PWD_COMMAND}`; export r; \
36922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36923 $(HOST_EXPORTS) \
36924 for flag in $(EXTRA_HOST_FLAGS) ; do \
36925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36926 done; \
36927 echo "Doing distclean in send-pr" ; \
36928 (cd $(HOST_SUBDIR)/send-pr && \
36929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36931 "RANLIB=$${RANLIB}" \
36932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36933 distclean) \
36934 || exit 1
36936 @endif send-pr
36938 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
36939 maybe-maintainer-clean-send-pr:
36940 @if send-pr
36941 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
36943 maintainer-clean-send-pr:
36944 @: $(MAKE); $(unstage)
36945 @[ -f ./send-pr/Makefile ] || exit 0; \
36946 r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 $(HOST_EXPORTS) \
36949 for flag in $(EXTRA_HOST_FLAGS) ; do \
36950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36951 done; \
36952 echo "Doing maintainer-clean in send-pr" ; \
36953 (cd $(HOST_SUBDIR)/send-pr && \
36954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36956 "RANLIB=$${RANLIB}" \
36957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36958 maintainer-clean) \
36959 || exit 1
36961 @endif send-pr
36965 .PHONY: configure-shellutils maybe-configure-shellutils
36966 maybe-configure-shellutils:
36967 @if gcc-bootstrap
36968 configure-shellutils: stage_current
36969 @endif gcc-bootstrap
36970 @if shellutils
36971 maybe-configure-shellutils: configure-shellutils
36972 configure-shellutils:
36973 @: $(MAKE); $(unstage)
36974 @r=`${PWD_COMMAND}`; export r; \
36975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36976 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
36977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
36978 $(HOST_EXPORTS) \
36979 echo Configuring in $(HOST_SUBDIR)/shellutils; \
36980 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
36981 case $(srcdir) in \
36982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36983 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
36984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36985 esac; \
36986 srcdiroption="--srcdir=$${topdir}/shellutils"; \
36987 libsrcdir="$$s/shellutils"; \
36988 $(SHELL) $${libsrcdir}/configure \
36989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36990 --target=${target_alias} $${srcdiroption} \
36991 || exit 1
36992 @endif shellutils
36998 .PHONY: all-shellutils maybe-all-shellutils
36999 maybe-all-shellutils:
37000 @if gcc-bootstrap
37001 all-shellutils: stage_current
37002 @endif gcc-bootstrap
37003 @if shellutils
37004 TARGET-shellutils=all
37005 maybe-all-shellutils: all-shellutils
37006 all-shellutils: configure-shellutils
37007 @: $(MAKE); $(unstage)
37008 @r=`${PWD_COMMAND}`; export r; \
37009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37010 $(HOST_EXPORTS) \
37011 (cd $(HOST_SUBDIR)/shellutils && \
37012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37013 $(TARGET-shellutils))
37014 @endif shellutils
37019 .PHONY: check-shellutils maybe-check-shellutils
37020 maybe-check-shellutils:
37021 @if shellutils
37022 maybe-check-shellutils: check-shellutils
37024 check-shellutils:
37025 @: $(MAKE); $(unstage)
37026 @r=`${PWD_COMMAND}`; export r; \
37027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37028 $(HOST_EXPORTS) \
37029 (cd $(HOST_SUBDIR)/shellutils && \
37030 $(MAKE) $(FLAGS_TO_PASS) check)
37032 @endif shellutils
37034 .PHONY: install-shellutils maybe-install-shellutils
37035 maybe-install-shellutils:
37036 @if shellutils
37037 maybe-install-shellutils: install-shellutils
37039 install-shellutils: installdirs
37040 @: $(MAKE); $(unstage)
37041 @r=`${PWD_COMMAND}`; export r; \
37042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37043 $(HOST_EXPORTS) \
37044 (cd $(HOST_SUBDIR)/shellutils && \
37045 $(MAKE) $(FLAGS_TO_PASS) install)
37047 @endif shellutils
37049 .PHONY: install-strip-shellutils maybe-install-strip-shellutils
37050 maybe-install-strip-shellutils:
37051 @if shellutils
37052 maybe-install-strip-shellutils: install-strip-shellutils
37054 install-strip-shellutils: installdirs
37055 @: $(MAKE); $(unstage)
37056 @r=`${PWD_COMMAND}`; export r; \
37057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37058 $(HOST_EXPORTS) \
37059 (cd $(HOST_SUBDIR)/shellutils && \
37060 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37062 @endif shellutils
37064 # Other targets (info, dvi, pdf, etc.)
37066 .PHONY: maybe-info-shellutils info-shellutils
37067 maybe-info-shellutils:
37068 @if shellutils
37069 maybe-info-shellutils: info-shellutils
37071 info-shellutils: \
37072 configure-shellutils
37073 @: $(MAKE); $(unstage)
37074 @[ -f ./shellutils/Makefile ] || exit 0; \
37075 r=`${PWD_COMMAND}`; export r; \
37076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37077 $(HOST_EXPORTS) \
37078 for flag in $(EXTRA_HOST_FLAGS) ; do \
37079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37080 done; \
37081 echo "Doing info in shellutils" ; \
37082 (cd $(HOST_SUBDIR)/shellutils && \
37083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37085 "RANLIB=$${RANLIB}" \
37086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37087 info) \
37088 || exit 1
37090 @endif shellutils
37092 .PHONY: maybe-dvi-shellutils dvi-shellutils
37093 maybe-dvi-shellutils:
37094 @if shellutils
37095 maybe-dvi-shellutils: dvi-shellutils
37097 dvi-shellutils: \
37098 configure-shellutils
37099 @: $(MAKE); $(unstage)
37100 @[ -f ./shellutils/Makefile ] || exit 0; \
37101 r=`${PWD_COMMAND}`; export r; \
37102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37103 $(HOST_EXPORTS) \
37104 for flag in $(EXTRA_HOST_FLAGS) ; do \
37105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37106 done; \
37107 echo "Doing dvi in shellutils" ; \
37108 (cd $(HOST_SUBDIR)/shellutils && \
37109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37111 "RANLIB=$${RANLIB}" \
37112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37113 dvi) \
37114 || exit 1
37116 @endif shellutils
37118 .PHONY: maybe-pdf-shellutils pdf-shellutils
37119 maybe-pdf-shellutils:
37120 @if shellutils
37121 maybe-pdf-shellutils: pdf-shellutils
37123 pdf-shellutils: \
37124 configure-shellutils
37125 @: $(MAKE); $(unstage)
37126 @[ -f ./shellutils/Makefile ] || exit 0; \
37127 r=`${PWD_COMMAND}`; export r; \
37128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37129 $(HOST_EXPORTS) \
37130 for flag in $(EXTRA_HOST_FLAGS) ; do \
37131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37132 done; \
37133 echo "Doing pdf in shellutils" ; \
37134 (cd $(HOST_SUBDIR)/shellutils && \
37135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37137 "RANLIB=$${RANLIB}" \
37138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37139 pdf) \
37140 || exit 1
37142 @endif shellutils
37144 .PHONY: maybe-html-shellutils html-shellutils
37145 maybe-html-shellutils:
37146 @if shellutils
37147 maybe-html-shellutils: html-shellutils
37149 html-shellutils: \
37150 configure-shellutils
37151 @: $(MAKE); $(unstage)
37152 @[ -f ./shellutils/Makefile ] || exit 0; \
37153 r=`${PWD_COMMAND}`; export r; \
37154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37155 $(HOST_EXPORTS) \
37156 for flag in $(EXTRA_HOST_FLAGS) ; do \
37157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37158 done; \
37159 echo "Doing html in shellutils" ; \
37160 (cd $(HOST_SUBDIR)/shellutils && \
37161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37163 "RANLIB=$${RANLIB}" \
37164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37165 html) \
37166 || exit 1
37168 @endif shellutils
37170 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
37171 maybe-TAGS-shellutils:
37172 @if shellutils
37173 maybe-TAGS-shellutils: TAGS-shellutils
37175 TAGS-shellutils: \
37176 configure-shellutils
37177 @: $(MAKE); $(unstage)
37178 @[ -f ./shellutils/Makefile ] || exit 0; \
37179 r=`${PWD_COMMAND}`; export r; \
37180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37181 $(HOST_EXPORTS) \
37182 for flag in $(EXTRA_HOST_FLAGS) ; do \
37183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37184 done; \
37185 echo "Doing TAGS in shellutils" ; \
37186 (cd $(HOST_SUBDIR)/shellutils && \
37187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37189 "RANLIB=$${RANLIB}" \
37190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37191 TAGS) \
37192 || exit 1
37194 @endif shellutils
37196 .PHONY: maybe-install-info-shellutils install-info-shellutils
37197 maybe-install-info-shellutils:
37198 @if shellutils
37199 maybe-install-info-shellutils: install-info-shellutils
37201 install-info-shellutils: \
37202 configure-shellutils \
37203 info-shellutils
37204 @: $(MAKE); $(unstage)
37205 @[ -f ./shellutils/Makefile ] || exit 0; \
37206 r=`${PWD_COMMAND}`; export r; \
37207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37208 $(HOST_EXPORTS) \
37209 for flag in $(EXTRA_HOST_FLAGS) ; do \
37210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37211 done; \
37212 echo "Doing install-info in shellutils" ; \
37213 (cd $(HOST_SUBDIR)/shellutils && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37216 "RANLIB=$${RANLIB}" \
37217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37218 install-info) \
37219 || exit 1
37221 @endif shellutils
37223 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
37224 maybe-install-pdf-shellutils:
37225 @if shellutils
37226 maybe-install-pdf-shellutils: install-pdf-shellutils
37228 install-pdf-shellutils: \
37229 configure-shellutils \
37230 pdf-shellutils
37231 @: $(MAKE); $(unstage)
37232 @[ -f ./shellutils/Makefile ] || exit 0; \
37233 r=`${PWD_COMMAND}`; export r; \
37234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37235 $(HOST_EXPORTS) \
37236 for flag in $(EXTRA_HOST_FLAGS) ; do \
37237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37238 done; \
37239 echo "Doing install-pdf in shellutils" ; \
37240 (cd $(HOST_SUBDIR)/shellutils && \
37241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37243 "RANLIB=$${RANLIB}" \
37244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37245 install-pdf) \
37246 || exit 1
37248 @endif shellutils
37250 .PHONY: maybe-install-html-shellutils install-html-shellutils
37251 maybe-install-html-shellutils:
37252 @if shellutils
37253 maybe-install-html-shellutils: install-html-shellutils
37255 install-html-shellutils: \
37256 configure-shellutils \
37257 html-shellutils
37258 @: $(MAKE); $(unstage)
37259 @[ -f ./shellutils/Makefile ] || exit 0; \
37260 r=`${PWD_COMMAND}`; export r; \
37261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37262 $(HOST_EXPORTS) \
37263 for flag in $(EXTRA_HOST_FLAGS) ; do \
37264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37265 done; \
37266 echo "Doing install-html in shellutils" ; \
37267 (cd $(HOST_SUBDIR)/shellutils && \
37268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37270 "RANLIB=$${RANLIB}" \
37271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37272 install-html) \
37273 || exit 1
37275 @endif shellutils
37277 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
37278 maybe-installcheck-shellutils:
37279 @if shellutils
37280 maybe-installcheck-shellutils: installcheck-shellutils
37282 installcheck-shellutils: \
37283 configure-shellutils
37284 @: $(MAKE); $(unstage)
37285 @[ -f ./shellutils/Makefile ] || exit 0; \
37286 r=`${PWD_COMMAND}`; export r; \
37287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37288 $(HOST_EXPORTS) \
37289 for flag in $(EXTRA_HOST_FLAGS) ; do \
37290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37291 done; \
37292 echo "Doing installcheck in shellutils" ; \
37293 (cd $(HOST_SUBDIR)/shellutils && \
37294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37296 "RANLIB=$${RANLIB}" \
37297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37298 installcheck) \
37299 || exit 1
37301 @endif shellutils
37303 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
37304 maybe-mostlyclean-shellutils:
37305 @if shellutils
37306 maybe-mostlyclean-shellutils: mostlyclean-shellutils
37308 mostlyclean-shellutils:
37309 @: $(MAKE); $(unstage)
37310 @[ -f ./shellutils/Makefile ] || exit 0; \
37311 r=`${PWD_COMMAND}`; export r; \
37312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37313 $(HOST_EXPORTS) \
37314 for flag in $(EXTRA_HOST_FLAGS) ; do \
37315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37316 done; \
37317 echo "Doing mostlyclean in shellutils" ; \
37318 (cd $(HOST_SUBDIR)/shellutils && \
37319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37321 "RANLIB=$${RANLIB}" \
37322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37323 mostlyclean) \
37324 || exit 1
37326 @endif shellutils
37328 .PHONY: maybe-clean-shellutils clean-shellutils
37329 maybe-clean-shellutils:
37330 @if shellutils
37331 maybe-clean-shellutils: clean-shellutils
37333 clean-shellutils:
37334 @: $(MAKE); $(unstage)
37335 @[ -f ./shellutils/Makefile ] || exit 0; \
37336 r=`${PWD_COMMAND}`; export r; \
37337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37338 $(HOST_EXPORTS) \
37339 for flag in $(EXTRA_HOST_FLAGS) ; do \
37340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37341 done; \
37342 echo "Doing clean in shellutils" ; \
37343 (cd $(HOST_SUBDIR)/shellutils && \
37344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37346 "RANLIB=$${RANLIB}" \
37347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37348 clean) \
37349 || exit 1
37351 @endif shellutils
37353 .PHONY: maybe-distclean-shellutils distclean-shellutils
37354 maybe-distclean-shellutils:
37355 @if shellutils
37356 maybe-distclean-shellutils: distclean-shellutils
37358 distclean-shellutils:
37359 @: $(MAKE); $(unstage)
37360 @[ -f ./shellutils/Makefile ] || exit 0; \
37361 r=`${PWD_COMMAND}`; export r; \
37362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37363 $(HOST_EXPORTS) \
37364 for flag in $(EXTRA_HOST_FLAGS) ; do \
37365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37366 done; \
37367 echo "Doing distclean in shellutils" ; \
37368 (cd $(HOST_SUBDIR)/shellutils && \
37369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37371 "RANLIB=$${RANLIB}" \
37372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37373 distclean) \
37374 || exit 1
37376 @endif shellutils
37378 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
37379 maybe-maintainer-clean-shellutils:
37380 @if shellutils
37381 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
37383 maintainer-clean-shellutils:
37384 @: $(MAKE); $(unstage)
37385 @[ -f ./shellutils/Makefile ] || exit 0; \
37386 r=`${PWD_COMMAND}`; export r; \
37387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37388 $(HOST_EXPORTS) \
37389 for flag in $(EXTRA_HOST_FLAGS) ; do \
37390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37391 done; \
37392 echo "Doing maintainer-clean in shellutils" ; \
37393 (cd $(HOST_SUBDIR)/shellutils && \
37394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37396 "RANLIB=$${RANLIB}" \
37397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37398 maintainer-clean) \
37399 || exit 1
37401 @endif shellutils
37405 .PHONY: configure-sid maybe-configure-sid
37406 maybe-configure-sid:
37407 @if gcc-bootstrap
37408 configure-sid: stage_current
37409 @endif gcc-bootstrap
37410 @if sid
37411 maybe-configure-sid: configure-sid
37412 configure-sid:
37413 @: $(MAKE); $(unstage)
37414 @r=`${PWD_COMMAND}`; export r; \
37415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37416 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
37417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
37418 $(HOST_EXPORTS) \
37419 echo Configuring in $(HOST_SUBDIR)/sid; \
37420 cd "$(HOST_SUBDIR)/sid" || exit 1; \
37421 case $(srcdir) in \
37422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37423 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
37424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37425 esac; \
37426 srcdiroption="--srcdir=$${topdir}/sid"; \
37427 libsrcdir="$$s/sid"; \
37428 $(SHELL) $${libsrcdir}/configure \
37429 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37430 --target=${target_alias} $${srcdiroption} \
37431 || exit 1
37432 @endif sid
37438 .PHONY: all-sid maybe-all-sid
37439 maybe-all-sid:
37440 @if gcc-bootstrap
37441 all-sid: stage_current
37442 @endif gcc-bootstrap
37443 @if sid
37444 TARGET-sid=all
37445 maybe-all-sid: all-sid
37446 all-sid: configure-sid
37447 @: $(MAKE); $(unstage)
37448 @r=`${PWD_COMMAND}`; export r; \
37449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37450 $(HOST_EXPORTS) \
37451 (cd $(HOST_SUBDIR)/sid && \
37452 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37453 $(TARGET-sid))
37454 @endif sid
37459 .PHONY: check-sid maybe-check-sid
37460 maybe-check-sid:
37461 @if sid
37462 maybe-check-sid: check-sid
37464 check-sid:
37465 @: $(MAKE); $(unstage)
37466 @r=`${PWD_COMMAND}`; export r; \
37467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37468 $(HOST_EXPORTS) \
37469 (cd $(HOST_SUBDIR)/sid && \
37470 $(MAKE) $(FLAGS_TO_PASS) check)
37472 @endif sid
37474 .PHONY: install-sid maybe-install-sid
37475 maybe-install-sid:
37476 @if sid
37477 maybe-install-sid: install-sid
37479 install-sid: installdirs
37480 @: $(MAKE); $(unstage)
37481 @r=`${PWD_COMMAND}`; export r; \
37482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37483 $(HOST_EXPORTS) \
37484 (cd $(HOST_SUBDIR)/sid && \
37485 $(MAKE) $(FLAGS_TO_PASS) install)
37487 @endif sid
37489 .PHONY: install-strip-sid maybe-install-strip-sid
37490 maybe-install-strip-sid:
37491 @if sid
37492 maybe-install-strip-sid: install-strip-sid
37494 install-strip-sid: installdirs
37495 @: $(MAKE); $(unstage)
37496 @r=`${PWD_COMMAND}`; export r; \
37497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37498 $(HOST_EXPORTS) \
37499 (cd $(HOST_SUBDIR)/sid && \
37500 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37502 @endif sid
37504 # Other targets (info, dvi, pdf, etc.)
37506 .PHONY: maybe-info-sid info-sid
37507 maybe-info-sid:
37508 @if sid
37509 maybe-info-sid: info-sid
37511 info-sid: \
37512 configure-sid
37513 @: $(MAKE); $(unstage)
37514 @[ -f ./sid/Makefile ] || exit 0; \
37515 r=`${PWD_COMMAND}`; export r; \
37516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37517 $(HOST_EXPORTS) \
37518 for flag in $(EXTRA_HOST_FLAGS) ; do \
37519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37520 done; \
37521 echo "Doing info in sid" ; \
37522 (cd $(HOST_SUBDIR)/sid && \
37523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37525 "RANLIB=$${RANLIB}" \
37526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37527 info) \
37528 || exit 1
37530 @endif sid
37532 .PHONY: maybe-dvi-sid dvi-sid
37533 maybe-dvi-sid:
37534 @if sid
37535 maybe-dvi-sid: dvi-sid
37537 dvi-sid: \
37538 configure-sid
37539 @: $(MAKE); $(unstage)
37540 @[ -f ./sid/Makefile ] || exit 0; \
37541 r=`${PWD_COMMAND}`; export r; \
37542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37543 $(HOST_EXPORTS) \
37544 for flag in $(EXTRA_HOST_FLAGS) ; do \
37545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37546 done; \
37547 echo "Doing dvi in sid" ; \
37548 (cd $(HOST_SUBDIR)/sid && \
37549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37551 "RANLIB=$${RANLIB}" \
37552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37553 dvi) \
37554 || exit 1
37556 @endif sid
37558 .PHONY: maybe-pdf-sid pdf-sid
37559 maybe-pdf-sid:
37560 @if sid
37561 maybe-pdf-sid: pdf-sid
37563 pdf-sid: \
37564 configure-sid
37565 @: $(MAKE); $(unstage)
37566 @[ -f ./sid/Makefile ] || exit 0; \
37567 r=`${PWD_COMMAND}`; export r; \
37568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37569 $(HOST_EXPORTS) \
37570 for flag in $(EXTRA_HOST_FLAGS) ; do \
37571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37572 done; \
37573 echo "Doing pdf in sid" ; \
37574 (cd $(HOST_SUBDIR)/sid && \
37575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37577 "RANLIB=$${RANLIB}" \
37578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37579 pdf) \
37580 || exit 1
37582 @endif sid
37584 .PHONY: maybe-html-sid html-sid
37585 maybe-html-sid:
37586 @if sid
37587 maybe-html-sid: html-sid
37589 html-sid: \
37590 configure-sid
37591 @: $(MAKE); $(unstage)
37592 @[ -f ./sid/Makefile ] || exit 0; \
37593 r=`${PWD_COMMAND}`; export r; \
37594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37595 $(HOST_EXPORTS) \
37596 for flag in $(EXTRA_HOST_FLAGS) ; do \
37597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37598 done; \
37599 echo "Doing html in sid" ; \
37600 (cd $(HOST_SUBDIR)/sid && \
37601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37603 "RANLIB=$${RANLIB}" \
37604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37605 html) \
37606 || exit 1
37608 @endif sid
37610 .PHONY: maybe-TAGS-sid TAGS-sid
37611 maybe-TAGS-sid:
37612 @if sid
37613 maybe-TAGS-sid: TAGS-sid
37615 TAGS-sid: \
37616 configure-sid
37617 @: $(MAKE); $(unstage)
37618 @[ -f ./sid/Makefile ] || exit 0; \
37619 r=`${PWD_COMMAND}`; export r; \
37620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37621 $(HOST_EXPORTS) \
37622 for flag in $(EXTRA_HOST_FLAGS) ; do \
37623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37624 done; \
37625 echo "Doing TAGS in sid" ; \
37626 (cd $(HOST_SUBDIR)/sid && \
37627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37629 "RANLIB=$${RANLIB}" \
37630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37631 TAGS) \
37632 || exit 1
37634 @endif sid
37636 .PHONY: maybe-install-info-sid install-info-sid
37637 maybe-install-info-sid:
37638 @if sid
37639 maybe-install-info-sid: install-info-sid
37641 install-info-sid: \
37642 configure-sid \
37643 info-sid
37644 @: $(MAKE); $(unstage)
37645 @[ -f ./sid/Makefile ] || exit 0; \
37646 r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(HOST_EXPORTS) \
37649 for flag in $(EXTRA_HOST_FLAGS) ; do \
37650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37651 done; \
37652 echo "Doing install-info in sid" ; \
37653 (cd $(HOST_SUBDIR)/sid && \
37654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37656 "RANLIB=$${RANLIB}" \
37657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37658 install-info) \
37659 || exit 1
37661 @endif sid
37663 .PHONY: maybe-install-pdf-sid install-pdf-sid
37664 maybe-install-pdf-sid:
37665 @if sid
37666 maybe-install-pdf-sid: install-pdf-sid
37668 install-pdf-sid: \
37669 configure-sid \
37670 pdf-sid
37671 @: $(MAKE); $(unstage)
37672 @[ -f ./sid/Makefile ] || exit 0; \
37673 r=`${PWD_COMMAND}`; export r; \
37674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37675 $(HOST_EXPORTS) \
37676 for flag in $(EXTRA_HOST_FLAGS) ; do \
37677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37678 done; \
37679 echo "Doing install-pdf in sid" ; \
37680 (cd $(HOST_SUBDIR)/sid && \
37681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37683 "RANLIB=$${RANLIB}" \
37684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37685 install-pdf) \
37686 || exit 1
37688 @endif sid
37690 .PHONY: maybe-install-html-sid install-html-sid
37691 maybe-install-html-sid:
37692 @if sid
37693 maybe-install-html-sid: install-html-sid
37695 install-html-sid: \
37696 configure-sid \
37697 html-sid
37698 @: $(MAKE); $(unstage)
37699 @[ -f ./sid/Makefile ] || exit 0; \
37700 r=`${PWD_COMMAND}`; export r; \
37701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37702 $(HOST_EXPORTS) \
37703 for flag in $(EXTRA_HOST_FLAGS) ; do \
37704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37705 done; \
37706 echo "Doing install-html in sid" ; \
37707 (cd $(HOST_SUBDIR)/sid && \
37708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37710 "RANLIB=$${RANLIB}" \
37711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37712 install-html) \
37713 || exit 1
37715 @endif sid
37717 .PHONY: maybe-installcheck-sid installcheck-sid
37718 maybe-installcheck-sid:
37719 @if sid
37720 maybe-installcheck-sid: installcheck-sid
37722 installcheck-sid: \
37723 configure-sid
37724 @: $(MAKE); $(unstage)
37725 @[ -f ./sid/Makefile ] || exit 0; \
37726 r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(HOST_EXPORTS) \
37729 for flag in $(EXTRA_HOST_FLAGS) ; do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 echo "Doing installcheck in sid" ; \
37733 (cd $(HOST_SUBDIR)/sid && \
37734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37736 "RANLIB=$${RANLIB}" \
37737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37738 installcheck) \
37739 || exit 1
37741 @endif sid
37743 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
37744 maybe-mostlyclean-sid:
37745 @if sid
37746 maybe-mostlyclean-sid: mostlyclean-sid
37748 mostlyclean-sid:
37749 @: $(MAKE); $(unstage)
37750 @[ -f ./sid/Makefile ] || exit 0; \
37751 r=`${PWD_COMMAND}`; export r; \
37752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37753 $(HOST_EXPORTS) \
37754 for flag in $(EXTRA_HOST_FLAGS) ; do \
37755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37756 done; \
37757 echo "Doing mostlyclean in sid" ; \
37758 (cd $(HOST_SUBDIR)/sid && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37761 "RANLIB=$${RANLIB}" \
37762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37763 mostlyclean) \
37764 || exit 1
37766 @endif sid
37768 .PHONY: maybe-clean-sid clean-sid
37769 maybe-clean-sid:
37770 @if sid
37771 maybe-clean-sid: clean-sid
37773 clean-sid:
37774 @: $(MAKE); $(unstage)
37775 @[ -f ./sid/Makefile ] || exit 0; \
37776 r=`${PWD_COMMAND}`; export r; \
37777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37778 $(HOST_EXPORTS) \
37779 for flag in $(EXTRA_HOST_FLAGS) ; do \
37780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37781 done; \
37782 echo "Doing clean in sid" ; \
37783 (cd $(HOST_SUBDIR)/sid && \
37784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37786 "RANLIB=$${RANLIB}" \
37787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37788 clean) \
37789 || exit 1
37791 @endif sid
37793 .PHONY: maybe-distclean-sid distclean-sid
37794 maybe-distclean-sid:
37795 @if sid
37796 maybe-distclean-sid: distclean-sid
37798 distclean-sid:
37799 @: $(MAKE); $(unstage)
37800 @[ -f ./sid/Makefile ] || exit 0; \
37801 r=`${PWD_COMMAND}`; export r; \
37802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37803 $(HOST_EXPORTS) \
37804 for flag in $(EXTRA_HOST_FLAGS) ; do \
37805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37806 done; \
37807 echo "Doing distclean in sid" ; \
37808 (cd $(HOST_SUBDIR)/sid && \
37809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37811 "RANLIB=$${RANLIB}" \
37812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37813 distclean) \
37814 || exit 1
37816 @endif sid
37818 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
37819 maybe-maintainer-clean-sid:
37820 @if sid
37821 maybe-maintainer-clean-sid: maintainer-clean-sid
37823 maintainer-clean-sid:
37824 @: $(MAKE); $(unstage)
37825 @[ -f ./sid/Makefile ] || exit 0; \
37826 r=`${PWD_COMMAND}`; export r; \
37827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37828 $(HOST_EXPORTS) \
37829 for flag in $(EXTRA_HOST_FLAGS) ; do \
37830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37831 done; \
37832 echo "Doing maintainer-clean in sid" ; \
37833 (cd $(HOST_SUBDIR)/sid && \
37834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37836 "RANLIB=$${RANLIB}" \
37837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37838 maintainer-clean) \
37839 || exit 1
37841 @endif sid
37845 .PHONY: configure-sim maybe-configure-sim
37846 maybe-configure-sim:
37847 @if gcc-bootstrap
37848 configure-sim: stage_current
37849 @endif gcc-bootstrap
37850 @if sim
37851 maybe-configure-sim: configure-sim
37852 configure-sim:
37853 @: $(MAKE); $(unstage)
37854 @r=`${PWD_COMMAND}`; export r; \
37855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37856 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
37857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
37858 $(HOST_EXPORTS) \
37859 echo Configuring in $(HOST_SUBDIR)/sim; \
37860 cd "$(HOST_SUBDIR)/sim" || exit 1; \
37861 case $(srcdir) in \
37862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37863 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
37864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37865 esac; \
37866 srcdiroption="--srcdir=$${topdir}/sim"; \
37867 libsrcdir="$$s/sim"; \
37868 $(SHELL) $${libsrcdir}/configure \
37869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37870 --target=${target_alias} $${srcdiroption} \
37871 || exit 1
37872 @endif sim
37878 .PHONY: all-sim maybe-all-sim
37879 maybe-all-sim:
37880 @if gcc-bootstrap
37881 all-sim: stage_current
37882 @endif gcc-bootstrap
37883 @if sim
37884 TARGET-sim=all
37885 maybe-all-sim: all-sim
37886 all-sim: configure-sim
37887 @: $(MAKE); $(unstage)
37888 @r=`${PWD_COMMAND}`; export r; \
37889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37890 $(HOST_EXPORTS) \
37891 (cd $(HOST_SUBDIR)/sim && \
37892 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37893 $(TARGET-sim))
37894 @endif sim
37899 .PHONY: check-sim maybe-check-sim
37900 maybe-check-sim:
37901 @if sim
37902 maybe-check-sim: check-sim
37904 check-sim:
37905 @: $(MAKE); $(unstage)
37906 @r=`${PWD_COMMAND}`; export r; \
37907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37908 $(HOST_EXPORTS) \
37909 (cd $(HOST_SUBDIR)/sim && \
37910 $(MAKE) $(FLAGS_TO_PASS) check)
37912 @endif sim
37914 .PHONY: install-sim maybe-install-sim
37915 maybe-install-sim:
37916 @if sim
37917 maybe-install-sim: install-sim
37919 install-sim: installdirs
37920 @: $(MAKE); $(unstage)
37921 @r=`${PWD_COMMAND}`; export r; \
37922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37923 $(HOST_EXPORTS) \
37924 (cd $(HOST_SUBDIR)/sim && \
37925 $(MAKE) $(FLAGS_TO_PASS) install)
37927 @endif sim
37929 .PHONY: install-strip-sim maybe-install-strip-sim
37930 maybe-install-strip-sim:
37931 @if sim
37932 maybe-install-strip-sim: install-strip-sim
37934 install-strip-sim: installdirs
37935 @: $(MAKE); $(unstage)
37936 @r=`${PWD_COMMAND}`; export r; \
37937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37938 $(HOST_EXPORTS) \
37939 (cd $(HOST_SUBDIR)/sim && \
37940 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37942 @endif sim
37944 # Other targets (info, dvi, pdf, etc.)
37946 .PHONY: maybe-info-sim info-sim
37947 maybe-info-sim:
37948 @if sim
37949 maybe-info-sim: info-sim
37951 info-sim: \
37952 configure-sim
37953 @: $(MAKE); $(unstage)
37954 @[ -f ./sim/Makefile ] || exit 0; \
37955 r=`${PWD_COMMAND}`; export r; \
37956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37957 $(HOST_EXPORTS) \
37958 for flag in $(EXTRA_HOST_FLAGS) ; do \
37959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37960 done; \
37961 echo "Doing info in sim" ; \
37962 (cd $(HOST_SUBDIR)/sim && \
37963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37965 "RANLIB=$${RANLIB}" \
37966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37967 info) \
37968 || exit 1
37970 @endif sim
37972 .PHONY: maybe-dvi-sim dvi-sim
37973 maybe-dvi-sim:
37974 @if sim
37975 maybe-dvi-sim: dvi-sim
37977 dvi-sim: \
37978 configure-sim
37979 @: $(MAKE); $(unstage)
37980 @[ -f ./sim/Makefile ] || exit 0; \
37981 r=`${PWD_COMMAND}`; export r; \
37982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37983 $(HOST_EXPORTS) \
37984 for flag in $(EXTRA_HOST_FLAGS) ; do \
37985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37986 done; \
37987 echo "Doing dvi in sim" ; \
37988 (cd $(HOST_SUBDIR)/sim && \
37989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37991 "RANLIB=$${RANLIB}" \
37992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37993 dvi) \
37994 || exit 1
37996 @endif sim
37998 .PHONY: maybe-pdf-sim pdf-sim
37999 maybe-pdf-sim:
38000 @if sim
38001 maybe-pdf-sim: pdf-sim
38003 pdf-sim: \
38004 configure-sim
38005 @: $(MAKE); $(unstage)
38006 @[ -f ./sim/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 pdf in sim" ; \
38014 (cd $(HOST_SUBDIR)/sim && \
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 pdf) \
38020 || exit 1
38022 @endif sim
38024 .PHONY: maybe-html-sim html-sim
38025 maybe-html-sim:
38026 @if sim
38027 maybe-html-sim: html-sim
38029 html-sim: \
38030 configure-sim
38031 @: $(MAKE); $(unstage)
38032 @[ -f ./sim/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 html in sim" ; \
38040 (cd $(HOST_SUBDIR)/sim && \
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 html) \
38046 || exit 1
38048 @endif sim
38050 .PHONY: maybe-TAGS-sim TAGS-sim
38051 maybe-TAGS-sim:
38052 @if sim
38053 maybe-TAGS-sim: TAGS-sim
38055 TAGS-sim: \
38056 configure-sim
38057 @: $(MAKE); $(unstage)
38058 @[ -f ./sim/Makefile ] || exit 0; \
38059 r=`${PWD_COMMAND}`; export r; \
38060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38061 $(HOST_EXPORTS) \
38062 for flag in $(EXTRA_HOST_FLAGS) ; do \
38063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38064 done; \
38065 echo "Doing TAGS in sim" ; \
38066 (cd $(HOST_SUBDIR)/sim && \
38067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38069 "RANLIB=$${RANLIB}" \
38070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38071 TAGS) \
38072 || exit 1
38074 @endif sim
38076 .PHONY: maybe-install-info-sim install-info-sim
38077 maybe-install-info-sim:
38078 @if sim
38079 maybe-install-info-sim: install-info-sim
38081 install-info-sim: \
38082 configure-sim \
38083 info-sim
38084 @: $(MAKE); $(unstage)
38085 @[ -f ./sim/Makefile ] || exit 0; \
38086 r=`${PWD_COMMAND}`; export r; \
38087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38088 $(HOST_EXPORTS) \
38089 for flag in $(EXTRA_HOST_FLAGS) ; do \
38090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38091 done; \
38092 echo "Doing install-info in sim" ; \
38093 (cd $(HOST_SUBDIR)/sim && \
38094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38096 "RANLIB=$${RANLIB}" \
38097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38098 install-info) \
38099 || exit 1
38101 @endif sim
38103 .PHONY: maybe-install-pdf-sim install-pdf-sim
38104 maybe-install-pdf-sim:
38105 @if sim
38106 maybe-install-pdf-sim: install-pdf-sim
38108 install-pdf-sim: \
38109 configure-sim \
38110 pdf-sim
38111 @: $(MAKE); $(unstage)
38112 @[ -f ./sim/Makefile ] || exit 0; \
38113 r=`${PWD_COMMAND}`; export r; \
38114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38115 $(HOST_EXPORTS) \
38116 for flag in $(EXTRA_HOST_FLAGS) ; do \
38117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38118 done; \
38119 echo "Doing install-pdf in sim" ; \
38120 (cd $(HOST_SUBDIR)/sim && \
38121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38123 "RANLIB=$${RANLIB}" \
38124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38125 install-pdf) \
38126 || exit 1
38128 @endif sim
38130 .PHONY: maybe-install-html-sim install-html-sim
38131 maybe-install-html-sim:
38132 @if sim
38133 maybe-install-html-sim: install-html-sim
38135 install-html-sim: \
38136 configure-sim \
38137 html-sim
38138 @: $(MAKE); $(unstage)
38139 @[ -f ./sim/Makefile ] || exit 0; \
38140 r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 $(HOST_EXPORTS) \
38143 for flag in $(EXTRA_HOST_FLAGS) ; do \
38144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38145 done; \
38146 echo "Doing install-html in sim" ; \
38147 (cd $(HOST_SUBDIR)/sim && \
38148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38150 "RANLIB=$${RANLIB}" \
38151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38152 install-html) \
38153 || exit 1
38155 @endif sim
38157 .PHONY: maybe-installcheck-sim installcheck-sim
38158 maybe-installcheck-sim:
38159 @if sim
38160 maybe-installcheck-sim: installcheck-sim
38162 installcheck-sim: \
38163 configure-sim
38164 @: $(MAKE); $(unstage)
38165 @[ -f ./sim/Makefile ] || exit 0; \
38166 r=`${PWD_COMMAND}`; export r; \
38167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38168 $(HOST_EXPORTS) \
38169 for flag in $(EXTRA_HOST_FLAGS) ; do \
38170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38171 done; \
38172 echo "Doing installcheck in sim" ; \
38173 (cd $(HOST_SUBDIR)/sim && \
38174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38176 "RANLIB=$${RANLIB}" \
38177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38178 installcheck) \
38179 || exit 1
38181 @endif sim
38183 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
38184 maybe-mostlyclean-sim:
38185 @if sim
38186 maybe-mostlyclean-sim: mostlyclean-sim
38188 mostlyclean-sim:
38189 @: $(MAKE); $(unstage)
38190 @[ -f ./sim/Makefile ] || exit 0; \
38191 r=`${PWD_COMMAND}`; export r; \
38192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38193 $(HOST_EXPORTS) \
38194 for flag in $(EXTRA_HOST_FLAGS) ; do \
38195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38196 done; \
38197 echo "Doing mostlyclean in sim" ; \
38198 (cd $(HOST_SUBDIR)/sim && \
38199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38201 "RANLIB=$${RANLIB}" \
38202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38203 mostlyclean) \
38204 || exit 1
38206 @endif sim
38208 .PHONY: maybe-clean-sim clean-sim
38209 maybe-clean-sim:
38210 @if sim
38211 maybe-clean-sim: clean-sim
38213 clean-sim:
38214 @: $(MAKE); $(unstage)
38215 @[ -f ./sim/Makefile ] || exit 0; \
38216 r=`${PWD_COMMAND}`; export r; \
38217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38218 $(HOST_EXPORTS) \
38219 for flag in $(EXTRA_HOST_FLAGS) ; do \
38220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38221 done; \
38222 echo "Doing clean in sim" ; \
38223 (cd $(HOST_SUBDIR)/sim && \
38224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38226 "RANLIB=$${RANLIB}" \
38227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38228 clean) \
38229 || exit 1
38231 @endif sim
38233 .PHONY: maybe-distclean-sim distclean-sim
38234 maybe-distclean-sim:
38235 @if sim
38236 maybe-distclean-sim: distclean-sim
38238 distclean-sim:
38239 @: $(MAKE); $(unstage)
38240 @[ -f ./sim/Makefile ] || exit 0; \
38241 r=`${PWD_COMMAND}`; export r; \
38242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38243 $(HOST_EXPORTS) \
38244 for flag in $(EXTRA_HOST_FLAGS) ; do \
38245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38246 done; \
38247 echo "Doing distclean in sim" ; \
38248 (cd $(HOST_SUBDIR)/sim && \
38249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38251 "RANLIB=$${RANLIB}" \
38252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38253 distclean) \
38254 || exit 1
38256 @endif sim
38258 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
38259 maybe-maintainer-clean-sim:
38260 @if sim
38261 maybe-maintainer-clean-sim: maintainer-clean-sim
38263 maintainer-clean-sim:
38264 @: $(MAKE); $(unstage)
38265 @[ -f ./sim/Makefile ] || exit 0; \
38266 r=`${PWD_COMMAND}`; export r; \
38267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38268 $(HOST_EXPORTS) \
38269 for flag in $(EXTRA_HOST_FLAGS) ; do \
38270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38271 done; \
38272 echo "Doing maintainer-clean in sim" ; \
38273 (cd $(HOST_SUBDIR)/sim && \
38274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38276 "RANLIB=$${RANLIB}" \
38277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38278 maintainer-clean) \
38279 || exit 1
38281 @endif sim
38285 .PHONY: configure-tar maybe-configure-tar
38286 maybe-configure-tar:
38287 @if gcc-bootstrap
38288 configure-tar: stage_current
38289 @endif gcc-bootstrap
38290 @if tar
38291 maybe-configure-tar: configure-tar
38292 configure-tar:
38293 @: $(MAKE); $(unstage)
38294 @r=`${PWD_COMMAND}`; export r; \
38295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38296 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
38297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
38298 $(HOST_EXPORTS) \
38299 echo Configuring in $(HOST_SUBDIR)/tar; \
38300 cd "$(HOST_SUBDIR)/tar" || exit 1; \
38301 case $(srcdir) in \
38302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38303 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
38304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38305 esac; \
38306 srcdiroption="--srcdir=$${topdir}/tar"; \
38307 libsrcdir="$$s/tar"; \
38308 $(SHELL) $${libsrcdir}/configure \
38309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38310 --target=${target_alias} $${srcdiroption} \
38311 || exit 1
38312 @endif tar
38318 .PHONY: all-tar maybe-all-tar
38319 maybe-all-tar:
38320 @if gcc-bootstrap
38321 all-tar: stage_current
38322 @endif gcc-bootstrap
38323 @if tar
38324 TARGET-tar=all
38325 maybe-all-tar: all-tar
38326 all-tar: configure-tar
38327 @: $(MAKE); $(unstage)
38328 @r=`${PWD_COMMAND}`; export r; \
38329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38330 $(HOST_EXPORTS) \
38331 (cd $(HOST_SUBDIR)/tar && \
38332 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38333 $(TARGET-tar))
38334 @endif tar
38339 .PHONY: check-tar maybe-check-tar
38340 maybe-check-tar:
38341 @if tar
38342 maybe-check-tar: check-tar
38344 check-tar:
38345 @: $(MAKE); $(unstage)
38346 @r=`${PWD_COMMAND}`; export r; \
38347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38348 $(HOST_EXPORTS) \
38349 (cd $(HOST_SUBDIR)/tar && \
38350 $(MAKE) $(FLAGS_TO_PASS) check)
38352 @endif tar
38354 .PHONY: install-tar maybe-install-tar
38355 maybe-install-tar:
38356 @if tar
38357 maybe-install-tar: install-tar
38359 install-tar: installdirs
38360 @: $(MAKE); $(unstage)
38361 @r=`${PWD_COMMAND}`; export r; \
38362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38363 $(HOST_EXPORTS) \
38364 (cd $(HOST_SUBDIR)/tar && \
38365 $(MAKE) $(FLAGS_TO_PASS) install)
38367 @endif tar
38369 .PHONY: install-strip-tar maybe-install-strip-tar
38370 maybe-install-strip-tar:
38371 @if tar
38372 maybe-install-strip-tar: install-strip-tar
38374 install-strip-tar: installdirs
38375 @: $(MAKE); $(unstage)
38376 @r=`${PWD_COMMAND}`; export r; \
38377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38378 $(HOST_EXPORTS) \
38379 (cd $(HOST_SUBDIR)/tar && \
38380 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38382 @endif tar
38384 # Other targets (info, dvi, pdf, etc.)
38386 .PHONY: maybe-info-tar info-tar
38387 maybe-info-tar:
38388 @if tar
38389 maybe-info-tar: info-tar
38391 info-tar: \
38392 configure-tar
38393 @: $(MAKE); $(unstage)
38394 @[ -f ./tar/Makefile ] || exit 0; \
38395 r=`${PWD_COMMAND}`; export r; \
38396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38397 $(HOST_EXPORTS) \
38398 for flag in $(EXTRA_HOST_FLAGS) ; do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 echo "Doing info in tar" ; \
38402 (cd $(HOST_SUBDIR)/tar && \
38403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38405 "RANLIB=$${RANLIB}" \
38406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38407 info) \
38408 || exit 1
38410 @endif tar
38412 .PHONY: maybe-dvi-tar dvi-tar
38413 maybe-dvi-tar:
38414 @if tar
38415 maybe-dvi-tar: dvi-tar
38417 dvi-tar: \
38418 configure-tar
38419 @: $(MAKE); $(unstage)
38420 @[ -f ./tar/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 dvi in tar" ; \
38428 (cd $(HOST_SUBDIR)/tar && \
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 dvi) \
38434 || exit 1
38436 @endif tar
38438 .PHONY: maybe-pdf-tar pdf-tar
38439 maybe-pdf-tar:
38440 @if tar
38441 maybe-pdf-tar: pdf-tar
38443 pdf-tar: \
38444 configure-tar
38445 @: $(MAKE); $(unstage)
38446 @[ -f ./tar/Makefile ] || exit 0; \
38447 r=`${PWD_COMMAND}`; export r; \
38448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38449 $(HOST_EXPORTS) \
38450 for flag in $(EXTRA_HOST_FLAGS) ; do \
38451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38452 done; \
38453 echo "Doing pdf in tar" ; \
38454 (cd $(HOST_SUBDIR)/tar && \
38455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38457 "RANLIB=$${RANLIB}" \
38458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38459 pdf) \
38460 || exit 1
38462 @endif tar
38464 .PHONY: maybe-html-tar html-tar
38465 maybe-html-tar:
38466 @if tar
38467 maybe-html-tar: html-tar
38469 html-tar: \
38470 configure-tar
38471 @: $(MAKE); $(unstage)
38472 @[ -f ./tar/Makefile ] || exit 0; \
38473 r=`${PWD_COMMAND}`; export r; \
38474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38475 $(HOST_EXPORTS) \
38476 for flag in $(EXTRA_HOST_FLAGS) ; do \
38477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38478 done; \
38479 echo "Doing html in tar" ; \
38480 (cd $(HOST_SUBDIR)/tar && \
38481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38483 "RANLIB=$${RANLIB}" \
38484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38485 html) \
38486 || exit 1
38488 @endif tar
38490 .PHONY: maybe-TAGS-tar TAGS-tar
38491 maybe-TAGS-tar:
38492 @if tar
38493 maybe-TAGS-tar: TAGS-tar
38495 TAGS-tar: \
38496 configure-tar
38497 @: $(MAKE); $(unstage)
38498 @[ -f ./tar/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 TAGS in tar" ; \
38506 (cd $(HOST_SUBDIR)/tar && \
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 TAGS) \
38512 || exit 1
38514 @endif tar
38516 .PHONY: maybe-install-info-tar install-info-tar
38517 maybe-install-info-tar:
38518 @if tar
38519 maybe-install-info-tar: install-info-tar
38521 install-info-tar: \
38522 configure-tar \
38523 info-tar
38524 @: $(MAKE); $(unstage)
38525 @[ -f ./tar/Makefile ] || exit 0; \
38526 r=`${PWD_COMMAND}`; export r; \
38527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38528 $(HOST_EXPORTS) \
38529 for flag in $(EXTRA_HOST_FLAGS) ; do \
38530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38531 done; \
38532 echo "Doing install-info in tar" ; \
38533 (cd $(HOST_SUBDIR)/tar && \
38534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38536 "RANLIB=$${RANLIB}" \
38537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38538 install-info) \
38539 || exit 1
38541 @endif tar
38543 .PHONY: maybe-install-pdf-tar install-pdf-tar
38544 maybe-install-pdf-tar:
38545 @if tar
38546 maybe-install-pdf-tar: install-pdf-tar
38548 install-pdf-tar: \
38549 configure-tar \
38550 pdf-tar
38551 @: $(MAKE); $(unstage)
38552 @[ -f ./tar/Makefile ] || exit 0; \
38553 r=`${PWD_COMMAND}`; export r; \
38554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38555 $(HOST_EXPORTS) \
38556 for flag in $(EXTRA_HOST_FLAGS) ; do \
38557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38558 done; \
38559 echo "Doing install-pdf in tar" ; \
38560 (cd $(HOST_SUBDIR)/tar && \
38561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38563 "RANLIB=$${RANLIB}" \
38564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38565 install-pdf) \
38566 || exit 1
38568 @endif tar
38570 .PHONY: maybe-install-html-tar install-html-tar
38571 maybe-install-html-tar:
38572 @if tar
38573 maybe-install-html-tar: install-html-tar
38575 install-html-tar: \
38576 configure-tar \
38577 html-tar
38578 @: $(MAKE); $(unstage)
38579 @[ -f ./tar/Makefile ] || exit 0; \
38580 r=`${PWD_COMMAND}`; export r; \
38581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38582 $(HOST_EXPORTS) \
38583 for flag in $(EXTRA_HOST_FLAGS) ; do \
38584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 done; \
38586 echo "Doing install-html in tar" ; \
38587 (cd $(HOST_SUBDIR)/tar && \
38588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38590 "RANLIB=$${RANLIB}" \
38591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38592 install-html) \
38593 || exit 1
38595 @endif tar
38597 .PHONY: maybe-installcheck-tar installcheck-tar
38598 maybe-installcheck-tar:
38599 @if tar
38600 maybe-installcheck-tar: installcheck-tar
38602 installcheck-tar: \
38603 configure-tar
38604 @: $(MAKE); $(unstage)
38605 @[ -f ./tar/Makefile ] || exit 0; \
38606 r=`${PWD_COMMAND}`; export r; \
38607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38608 $(HOST_EXPORTS) \
38609 for flag in $(EXTRA_HOST_FLAGS) ; do \
38610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38611 done; \
38612 echo "Doing installcheck in tar" ; \
38613 (cd $(HOST_SUBDIR)/tar && \
38614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38616 "RANLIB=$${RANLIB}" \
38617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38618 installcheck) \
38619 || exit 1
38621 @endif tar
38623 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
38624 maybe-mostlyclean-tar:
38625 @if tar
38626 maybe-mostlyclean-tar: mostlyclean-tar
38628 mostlyclean-tar:
38629 @: $(MAKE); $(unstage)
38630 @[ -f ./tar/Makefile ] || exit 0; \
38631 r=`${PWD_COMMAND}`; export r; \
38632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38633 $(HOST_EXPORTS) \
38634 for flag in $(EXTRA_HOST_FLAGS) ; do \
38635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38636 done; \
38637 echo "Doing mostlyclean in tar" ; \
38638 (cd $(HOST_SUBDIR)/tar && \
38639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38641 "RANLIB=$${RANLIB}" \
38642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38643 mostlyclean) \
38644 || exit 1
38646 @endif tar
38648 .PHONY: maybe-clean-tar clean-tar
38649 maybe-clean-tar:
38650 @if tar
38651 maybe-clean-tar: clean-tar
38653 clean-tar:
38654 @: $(MAKE); $(unstage)
38655 @[ -f ./tar/Makefile ] || exit 0; \
38656 r=`${PWD_COMMAND}`; export r; \
38657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38658 $(HOST_EXPORTS) \
38659 for flag in $(EXTRA_HOST_FLAGS) ; do \
38660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38661 done; \
38662 echo "Doing clean in tar" ; \
38663 (cd $(HOST_SUBDIR)/tar && \
38664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38666 "RANLIB=$${RANLIB}" \
38667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38668 clean) \
38669 || exit 1
38671 @endif tar
38673 .PHONY: maybe-distclean-tar distclean-tar
38674 maybe-distclean-tar:
38675 @if tar
38676 maybe-distclean-tar: distclean-tar
38678 distclean-tar:
38679 @: $(MAKE); $(unstage)
38680 @[ -f ./tar/Makefile ] || exit 0; \
38681 r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 $(HOST_EXPORTS) \
38684 for flag in $(EXTRA_HOST_FLAGS) ; do \
38685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38686 done; \
38687 echo "Doing distclean in tar" ; \
38688 (cd $(HOST_SUBDIR)/tar && \
38689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38691 "RANLIB=$${RANLIB}" \
38692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38693 distclean) \
38694 || exit 1
38696 @endif tar
38698 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
38699 maybe-maintainer-clean-tar:
38700 @if tar
38701 maybe-maintainer-clean-tar: maintainer-clean-tar
38703 maintainer-clean-tar:
38704 @: $(MAKE); $(unstage)
38705 @[ -f ./tar/Makefile ] || exit 0; \
38706 r=`${PWD_COMMAND}`; export r; \
38707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38708 $(HOST_EXPORTS) \
38709 for flag in $(EXTRA_HOST_FLAGS) ; do \
38710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38711 done; \
38712 echo "Doing maintainer-clean in tar" ; \
38713 (cd $(HOST_SUBDIR)/tar && \
38714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38716 "RANLIB=$${RANLIB}" \
38717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38718 maintainer-clean) \
38719 || exit 1
38721 @endif tar
38725 .PHONY: configure-texinfo maybe-configure-texinfo
38726 maybe-configure-texinfo:
38727 @if gcc-bootstrap
38728 configure-texinfo: stage_current
38729 @endif gcc-bootstrap
38730 @if texinfo
38731 maybe-configure-texinfo: configure-texinfo
38732 configure-texinfo:
38733 @: $(MAKE); $(unstage)
38734 @r=`${PWD_COMMAND}`; export r; \
38735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38736 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
38737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
38738 $(HOST_EXPORTS) \
38739 echo Configuring in $(HOST_SUBDIR)/texinfo; \
38740 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
38741 case $(srcdir) in \
38742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38743 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
38744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38745 esac; \
38746 srcdiroption="--srcdir=$${topdir}/texinfo"; \
38747 libsrcdir="$$s/texinfo"; \
38748 $(SHELL) $${libsrcdir}/configure \
38749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38750 --target=${target_alias} $${srcdiroption} \
38751 || exit 1
38752 @endif texinfo
38758 .PHONY: all-texinfo maybe-all-texinfo
38759 maybe-all-texinfo:
38760 @if gcc-bootstrap
38761 all-texinfo: stage_current
38762 @endif gcc-bootstrap
38763 @if texinfo
38764 TARGET-texinfo=all
38765 maybe-all-texinfo: all-texinfo
38766 all-texinfo: configure-texinfo
38767 @: $(MAKE); $(unstage)
38768 @r=`${PWD_COMMAND}`; export r; \
38769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38770 $(HOST_EXPORTS) \
38771 (cd $(HOST_SUBDIR)/texinfo && \
38772 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38773 $(TARGET-texinfo))
38774 @endif texinfo
38779 .PHONY: check-texinfo maybe-check-texinfo
38780 maybe-check-texinfo:
38781 @if texinfo
38782 maybe-check-texinfo: check-texinfo
38784 check-texinfo:
38785 @: $(MAKE); $(unstage)
38786 @r=`${PWD_COMMAND}`; export r; \
38787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38788 $(HOST_EXPORTS) \
38789 (cd $(HOST_SUBDIR)/texinfo && \
38790 $(MAKE) $(FLAGS_TO_PASS) check)
38792 @endif texinfo
38794 .PHONY: install-texinfo maybe-install-texinfo
38795 maybe-install-texinfo:
38796 @if texinfo
38797 maybe-install-texinfo: install-texinfo
38799 install-texinfo:
38801 @endif texinfo
38803 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
38804 maybe-install-strip-texinfo:
38805 @if texinfo
38806 maybe-install-strip-texinfo: install-strip-texinfo
38808 install-strip-texinfo:
38810 @endif texinfo
38812 # Other targets (info, dvi, pdf, etc.)
38814 .PHONY: maybe-info-texinfo info-texinfo
38815 maybe-info-texinfo:
38816 @if texinfo
38817 maybe-info-texinfo: info-texinfo
38819 info-texinfo: \
38820 configure-texinfo
38821 @: $(MAKE); $(unstage)
38822 @[ -f ./texinfo/Makefile ] || exit 0; \
38823 r=`${PWD_COMMAND}`; export r; \
38824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38825 $(HOST_EXPORTS) \
38826 for flag in $(EXTRA_HOST_FLAGS) ; do \
38827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38828 done; \
38829 echo "Doing info in texinfo" ; \
38830 (cd $(HOST_SUBDIR)/texinfo && \
38831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38833 "RANLIB=$${RANLIB}" \
38834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38835 info) \
38836 || exit 1
38838 @endif texinfo
38840 .PHONY: maybe-dvi-texinfo dvi-texinfo
38841 maybe-dvi-texinfo:
38842 @if texinfo
38843 maybe-dvi-texinfo: dvi-texinfo
38845 dvi-texinfo: \
38846 configure-texinfo
38847 @: $(MAKE); $(unstage)
38848 @[ -f ./texinfo/Makefile ] || exit 0; \
38849 r=`${PWD_COMMAND}`; export r; \
38850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38851 $(HOST_EXPORTS) \
38852 for flag in $(EXTRA_HOST_FLAGS) ; do \
38853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38854 done; \
38855 echo "Doing dvi in texinfo" ; \
38856 (cd $(HOST_SUBDIR)/texinfo && \
38857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38859 "RANLIB=$${RANLIB}" \
38860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38861 dvi) \
38862 || exit 1
38864 @endif texinfo
38866 .PHONY: maybe-pdf-texinfo pdf-texinfo
38867 maybe-pdf-texinfo:
38868 @if texinfo
38869 maybe-pdf-texinfo: pdf-texinfo
38871 pdf-texinfo: \
38872 configure-texinfo
38873 @: $(MAKE); $(unstage)
38874 @[ -f ./texinfo/Makefile ] || exit 0; \
38875 r=`${PWD_COMMAND}`; export r; \
38876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38877 $(HOST_EXPORTS) \
38878 for flag in $(EXTRA_HOST_FLAGS) ; do \
38879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38880 done; \
38881 echo "Doing pdf in texinfo" ; \
38882 (cd $(HOST_SUBDIR)/texinfo && \
38883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38885 "RANLIB=$${RANLIB}" \
38886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38887 pdf) \
38888 || exit 1
38890 @endif texinfo
38892 .PHONY: maybe-html-texinfo html-texinfo
38893 maybe-html-texinfo:
38894 @if texinfo
38895 maybe-html-texinfo: html-texinfo
38897 html-texinfo: \
38898 configure-texinfo
38899 @: $(MAKE); $(unstage)
38900 @[ -f ./texinfo/Makefile ] || exit 0; \
38901 r=`${PWD_COMMAND}`; export r; \
38902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38903 $(HOST_EXPORTS) \
38904 for flag in $(EXTRA_HOST_FLAGS) ; do \
38905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38906 done; \
38907 echo "Doing html in texinfo" ; \
38908 (cd $(HOST_SUBDIR)/texinfo && \
38909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38911 "RANLIB=$${RANLIB}" \
38912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38913 html) \
38914 || exit 1
38916 @endif texinfo
38918 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
38919 maybe-TAGS-texinfo:
38920 @if texinfo
38921 maybe-TAGS-texinfo: TAGS-texinfo
38923 TAGS-texinfo: \
38924 configure-texinfo
38925 @: $(MAKE); $(unstage)
38926 @[ -f ./texinfo/Makefile ] || exit 0; \
38927 r=`${PWD_COMMAND}`; export r; \
38928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38929 $(HOST_EXPORTS) \
38930 for flag in $(EXTRA_HOST_FLAGS) ; do \
38931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38932 done; \
38933 echo "Doing TAGS in texinfo" ; \
38934 (cd $(HOST_SUBDIR)/texinfo && \
38935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38937 "RANLIB=$${RANLIB}" \
38938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38939 TAGS) \
38940 || exit 1
38942 @endif texinfo
38944 .PHONY: maybe-install-info-texinfo install-info-texinfo
38945 maybe-install-info-texinfo:
38946 @if texinfo
38947 maybe-install-info-texinfo: install-info-texinfo
38949 install-info-texinfo: \
38950 configure-texinfo \
38951 info-texinfo
38952 @: $(MAKE); $(unstage)
38953 @[ -f ./texinfo/Makefile ] || exit 0; \
38954 r=`${PWD_COMMAND}`; export r; \
38955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38956 $(HOST_EXPORTS) \
38957 for flag in $(EXTRA_HOST_FLAGS) ; do \
38958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38959 done; \
38960 echo "Doing install-info in texinfo" ; \
38961 (cd $(HOST_SUBDIR)/texinfo && \
38962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38964 "RANLIB=$${RANLIB}" \
38965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38966 install-info) \
38967 || exit 1
38969 @endif texinfo
38971 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
38972 maybe-install-pdf-texinfo:
38973 @if texinfo
38974 maybe-install-pdf-texinfo: install-pdf-texinfo
38976 install-pdf-texinfo: \
38977 configure-texinfo \
38978 pdf-texinfo
38979 @: $(MAKE); $(unstage)
38980 @[ -f ./texinfo/Makefile ] || exit 0; \
38981 r=`${PWD_COMMAND}`; export r; \
38982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38983 $(HOST_EXPORTS) \
38984 for flag in $(EXTRA_HOST_FLAGS) ; do \
38985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38986 done; \
38987 echo "Doing install-pdf in texinfo" ; \
38988 (cd $(HOST_SUBDIR)/texinfo && \
38989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38991 "RANLIB=$${RANLIB}" \
38992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38993 install-pdf) \
38994 || exit 1
38996 @endif texinfo
38998 .PHONY: maybe-install-html-texinfo install-html-texinfo
38999 maybe-install-html-texinfo:
39000 @if texinfo
39001 maybe-install-html-texinfo: install-html-texinfo
39003 install-html-texinfo: \
39004 configure-texinfo \
39005 html-texinfo
39006 @: $(MAKE); $(unstage)
39007 @[ -f ./texinfo/Makefile ] || exit 0; \
39008 r=`${PWD_COMMAND}`; export r; \
39009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39010 $(HOST_EXPORTS) \
39011 for flag in $(EXTRA_HOST_FLAGS) ; do \
39012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39013 done; \
39014 echo "Doing install-html in texinfo" ; \
39015 (cd $(HOST_SUBDIR)/texinfo && \
39016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39018 "RANLIB=$${RANLIB}" \
39019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39020 install-html) \
39021 || exit 1
39023 @endif texinfo
39025 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
39026 maybe-installcheck-texinfo:
39027 @if texinfo
39028 maybe-installcheck-texinfo: installcheck-texinfo
39030 installcheck-texinfo: \
39031 configure-texinfo
39032 @: $(MAKE); $(unstage)
39033 @[ -f ./texinfo/Makefile ] || exit 0; \
39034 r=`${PWD_COMMAND}`; export r; \
39035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39036 $(HOST_EXPORTS) \
39037 for flag in $(EXTRA_HOST_FLAGS) ; do \
39038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39039 done; \
39040 echo "Doing installcheck in texinfo" ; \
39041 (cd $(HOST_SUBDIR)/texinfo && \
39042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39044 "RANLIB=$${RANLIB}" \
39045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39046 installcheck) \
39047 || exit 1
39049 @endif texinfo
39051 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
39052 maybe-mostlyclean-texinfo:
39053 @if texinfo
39054 maybe-mostlyclean-texinfo: mostlyclean-texinfo
39056 mostlyclean-texinfo:
39057 @: $(MAKE); $(unstage)
39058 @[ -f ./texinfo/Makefile ] || exit 0; \
39059 r=`${PWD_COMMAND}`; export r; \
39060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39061 $(HOST_EXPORTS) \
39062 for flag in $(EXTRA_HOST_FLAGS) ; do \
39063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39064 done; \
39065 echo "Doing mostlyclean in texinfo" ; \
39066 (cd $(HOST_SUBDIR)/texinfo && \
39067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39069 "RANLIB=$${RANLIB}" \
39070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39071 mostlyclean) \
39072 || exit 1
39074 @endif texinfo
39076 .PHONY: maybe-clean-texinfo clean-texinfo
39077 maybe-clean-texinfo:
39078 @if texinfo
39079 maybe-clean-texinfo: clean-texinfo
39081 clean-texinfo:
39082 @: $(MAKE); $(unstage)
39083 @[ -f ./texinfo/Makefile ] || exit 0; \
39084 r=`${PWD_COMMAND}`; export r; \
39085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39086 $(HOST_EXPORTS) \
39087 for flag in $(EXTRA_HOST_FLAGS) ; do \
39088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39089 done; \
39090 echo "Doing clean in texinfo" ; \
39091 (cd $(HOST_SUBDIR)/texinfo && \
39092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39094 "RANLIB=$${RANLIB}" \
39095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39096 clean) \
39097 || exit 1
39099 @endif texinfo
39101 .PHONY: maybe-distclean-texinfo distclean-texinfo
39102 maybe-distclean-texinfo:
39103 @if texinfo
39104 maybe-distclean-texinfo: distclean-texinfo
39106 distclean-texinfo:
39107 @: $(MAKE); $(unstage)
39108 @[ -f ./texinfo/Makefile ] || exit 0; \
39109 r=`${PWD_COMMAND}`; export r; \
39110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39111 $(HOST_EXPORTS) \
39112 for flag in $(EXTRA_HOST_FLAGS) ; do \
39113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39114 done; \
39115 echo "Doing distclean in texinfo" ; \
39116 (cd $(HOST_SUBDIR)/texinfo && \
39117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39119 "RANLIB=$${RANLIB}" \
39120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39121 distclean) \
39122 || exit 1
39124 @endif texinfo
39126 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
39127 maybe-maintainer-clean-texinfo:
39128 @if texinfo
39129 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
39131 maintainer-clean-texinfo:
39132 @: $(MAKE); $(unstage)
39133 @[ -f ./texinfo/Makefile ] || exit 0; \
39134 r=`${PWD_COMMAND}`; export r; \
39135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39136 $(HOST_EXPORTS) \
39137 for flag in $(EXTRA_HOST_FLAGS) ; do \
39138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39139 done; \
39140 echo "Doing maintainer-clean in texinfo" ; \
39141 (cd $(HOST_SUBDIR)/texinfo && \
39142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39144 "RANLIB=$${RANLIB}" \
39145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39146 maintainer-clean) \
39147 || exit 1
39149 @endif texinfo
39153 .PHONY: configure-textutils maybe-configure-textutils
39154 maybe-configure-textutils:
39155 @if gcc-bootstrap
39156 configure-textutils: stage_current
39157 @endif gcc-bootstrap
39158 @if textutils
39159 maybe-configure-textutils: configure-textutils
39160 configure-textutils:
39161 @: $(MAKE); $(unstage)
39162 @r=`${PWD_COMMAND}`; export r; \
39163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39164 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
39165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
39166 $(HOST_EXPORTS) \
39167 echo Configuring in $(HOST_SUBDIR)/textutils; \
39168 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
39169 case $(srcdir) in \
39170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39171 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
39172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39173 esac; \
39174 srcdiroption="--srcdir=$${topdir}/textutils"; \
39175 libsrcdir="$$s/textutils"; \
39176 $(SHELL) $${libsrcdir}/configure \
39177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39178 --target=${target_alias} $${srcdiroption} \
39179 || exit 1
39180 @endif textutils
39186 .PHONY: all-textutils maybe-all-textutils
39187 maybe-all-textutils:
39188 @if gcc-bootstrap
39189 all-textutils: stage_current
39190 @endif gcc-bootstrap
39191 @if textutils
39192 TARGET-textutils=all
39193 maybe-all-textutils: all-textutils
39194 all-textutils: configure-textutils
39195 @: $(MAKE); $(unstage)
39196 @r=`${PWD_COMMAND}`; export r; \
39197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39198 $(HOST_EXPORTS) \
39199 (cd $(HOST_SUBDIR)/textutils && \
39200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39201 $(TARGET-textutils))
39202 @endif textutils
39207 .PHONY: check-textutils maybe-check-textutils
39208 maybe-check-textutils:
39209 @if textutils
39210 maybe-check-textutils: check-textutils
39212 check-textutils:
39213 @: $(MAKE); $(unstage)
39214 @r=`${PWD_COMMAND}`; export r; \
39215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39216 $(HOST_EXPORTS) \
39217 (cd $(HOST_SUBDIR)/textutils && \
39218 $(MAKE) $(FLAGS_TO_PASS) check)
39220 @endif textutils
39222 .PHONY: install-textutils maybe-install-textutils
39223 maybe-install-textutils:
39224 @if textutils
39225 maybe-install-textutils: install-textutils
39227 install-textutils: installdirs
39228 @: $(MAKE); $(unstage)
39229 @r=`${PWD_COMMAND}`; export r; \
39230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39231 $(HOST_EXPORTS) \
39232 (cd $(HOST_SUBDIR)/textutils && \
39233 $(MAKE) $(FLAGS_TO_PASS) install)
39235 @endif textutils
39237 .PHONY: install-strip-textutils maybe-install-strip-textutils
39238 maybe-install-strip-textutils:
39239 @if textutils
39240 maybe-install-strip-textutils: install-strip-textutils
39242 install-strip-textutils: installdirs
39243 @: $(MAKE); $(unstage)
39244 @r=`${PWD_COMMAND}`; export r; \
39245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39246 $(HOST_EXPORTS) \
39247 (cd $(HOST_SUBDIR)/textutils && \
39248 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39250 @endif textutils
39252 # Other targets (info, dvi, pdf, etc.)
39254 .PHONY: maybe-info-textutils info-textutils
39255 maybe-info-textutils:
39256 @if textutils
39257 maybe-info-textutils: info-textutils
39259 info-textutils: \
39260 configure-textutils
39261 @: $(MAKE); $(unstage)
39262 @[ -f ./textutils/Makefile ] || exit 0; \
39263 r=`${PWD_COMMAND}`; export r; \
39264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39265 $(HOST_EXPORTS) \
39266 for flag in $(EXTRA_HOST_FLAGS) ; do \
39267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39268 done; \
39269 echo "Doing info in textutils" ; \
39270 (cd $(HOST_SUBDIR)/textutils && \
39271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39273 "RANLIB=$${RANLIB}" \
39274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39275 info) \
39276 || exit 1
39278 @endif textutils
39280 .PHONY: maybe-dvi-textutils dvi-textutils
39281 maybe-dvi-textutils:
39282 @if textutils
39283 maybe-dvi-textutils: dvi-textutils
39285 dvi-textutils: \
39286 configure-textutils
39287 @: $(MAKE); $(unstage)
39288 @[ -f ./textutils/Makefile ] || exit 0; \
39289 r=`${PWD_COMMAND}`; export r; \
39290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39291 $(HOST_EXPORTS) \
39292 for flag in $(EXTRA_HOST_FLAGS) ; do \
39293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39294 done; \
39295 echo "Doing dvi in textutils" ; \
39296 (cd $(HOST_SUBDIR)/textutils && \
39297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39299 "RANLIB=$${RANLIB}" \
39300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39301 dvi) \
39302 || exit 1
39304 @endif textutils
39306 .PHONY: maybe-pdf-textutils pdf-textutils
39307 maybe-pdf-textutils:
39308 @if textutils
39309 maybe-pdf-textutils: pdf-textutils
39311 pdf-textutils: \
39312 configure-textutils
39313 @: $(MAKE); $(unstage)
39314 @[ -f ./textutils/Makefile ] || exit 0; \
39315 r=`${PWD_COMMAND}`; export r; \
39316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39317 $(HOST_EXPORTS) \
39318 for flag in $(EXTRA_HOST_FLAGS) ; do \
39319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39320 done; \
39321 echo "Doing pdf in textutils" ; \
39322 (cd $(HOST_SUBDIR)/textutils && \
39323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39325 "RANLIB=$${RANLIB}" \
39326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39327 pdf) \
39328 || exit 1
39330 @endif textutils
39332 .PHONY: maybe-html-textutils html-textutils
39333 maybe-html-textutils:
39334 @if textutils
39335 maybe-html-textutils: html-textutils
39337 html-textutils: \
39338 configure-textutils
39339 @: $(MAKE); $(unstage)
39340 @[ -f ./textutils/Makefile ] || exit 0; \
39341 r=`${PWD_COMMAND}`; export r; \
39342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39343 $(HOST_EXPORTS) \
39344 for flag in $(EXTRA_HOST_FLAGS) ; do \
39345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39346 done; \
39347 echo "Doing html in textutils" ; \
39348 (cd $(HOST_SUBDIR)/textutils && \
39349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39351 "RANLIB=$${RANLIB}" \
39352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39353 html) \
39354 || exit 1
39356 @endif textutils
39358 .PHONY: maybe-TAGS-textutils TAGS-textutils
39359 maybe-TAGS-textutils:
39360 @if textutils
39361 maybe-TAGS-textutils: TAGS-textutils
39363 TAGS-textutils: \
39364 configure-textutils
39365 @: $(MAKE); $(unstage)
39366 @[ -f ./textutils/Makefile ] || exit 0; \
39367 r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 $(HOST_EXPORTS) \
39370 for flag in $(EXTRA_HOST_FLAGS) ; do \
39371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39372 done; \
39373 echo "Doing TAGS in textutils" ; \
39374 (cd $(HOST_SUBDIR)/textutils && \
39375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39377 "RANLIB=$${RANLIB}" \
39378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39379 TAGS) \
39380 || exit 1
39382 @endif textutils
39384 .PHONY: maybe-install-info-textutils install-info-textutils
39385 maybe-install-info-textutils:
39386 @if textutils
39387 maybe-install-info-textutils: install-info-textutils
39389 install-info-textutils: \
39390 configure-textutils \
39391 info-textutils
39392 @: $(MAKE); $(unstage)
39393 @[ -f ./textutils/Makefile ] || exit 0; \
39394 r=`${PWD_COMMAND}`; export r; \
39395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39396 $(HOST_EXPORTS) \
39397 for flag in $(EXTRA_HOST_FLAGS) ; do \
39398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39399 done; \
39400 echo "Doing install-info in textutils" ; \
39401 (cd $(HOST_SUBDIR)/textutils && \
39402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39404 "RANLIB=$${RANLIB}" \
39405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39406 install-info) \
39407 || exit 1
39409 @endif textutils
39411 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
39412 maybe-install-pdf-textutils:
39413 @if textutils
39414 maybe-install-pdf-textutils: install-pdf-textutils
39416 install-pdf-textutils: \
39417 configure-textutils \
39418 pdf-textutils
39419 @: $(MAKE); $(unstage)
39420 @[ -f ./textutils/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 install-pdf in textutils" ; \
39428 (cd $(HOST_SUBDIR)/textutils && \
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 install-pdf) \
39434 || exit 1
39436 @endif textutils
39438 .PHONY: maybe-install-html-textutils install-html-textutils
39439 maybe-install-html-textutils:
39440 @if textutils
39441 maybe-install-html-textutils: install-html-textutils
39443 install-html-textutils: \
39444 configure-textutils \
39445 html-textutils
39446 @: $(MAKE); $(unstage)
39447 @[ -f ./textutils/Makefile ] || exit 0; \
39448 r=`${PWD_COMMAND}`; export r; \
39449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39450 $(HOST_EXPORTS) \
39451 for flag in $(EXTRA_HOST_FLAGS) ; do \
39452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39453 done; \
39454 echo "Doing install-html in textutils" ; \
39455 (cd $(HOST_SUBDIR)/textutils && \
39456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39458 "RANLIB=$${RANLIB}" \
39459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39460 install-html) \
39461 || exit 1
39463 @endif textutils
39465 .PHONY: maybe-installcheck-textutils installcheck-textutils
39466 maybe-installcheck-textutils:
39467 @if textutils
39468 maybe-installcheck-textutils: installcheck-textutils
39470 installcheck-textutils: \
39471 configure-textutils
39472 @: $(MAKE); $(unstage)
39473 @[ -f ./textutils/Makefile ] || exit 0; \
39474 r=`${PWD_COMMAND}`; export r; \
39475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39476 $(HOST_EXPORTS) \
39477 for flag in $(EXTRA_HOST_FLAGS) ; do \
39478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39479 done; \
39480 echo "Doing installcheck in textutils" ; \
39481 (cd $(HOST_SUBDIR)/textutils && \
39482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39484 "RANLIB=$${RANLIB}" \
39485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39486 installcheck) \
39487 || exit 1
39489 @endif textutils
39491 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
39492 maybe-mostlyclean-textutils:
39493 @if textutils
39494 maybe-mostlyclean-textutils: mostlyclean-textutils
39496 mostlyclean-textutils:
39497 @: $(MAKE); $(unstage)
39498 @[ -f ./textutils/Makefile ] || exit 0; \
39499 r=`${PWD_COMMAND}`; export r; \
39500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39501 $(HOST_EXPORTS) \
39502 for flag in $(EXTRA_HOST_FLAGS) ; do \
39503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39504 done; \
39505 echo "Doing mostlyclean in textutils" ; \
39506 (cd $(HOST_SUBDIR)/textutils && \
39507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39509 "RANLIB=$${RANLIB}" \
39510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39511 mostlyclean) \
39512 || exit 1
39514 @endif textutils
39516 .PHONY: maybe-clean-textutils clean-textutils
39517 maybe-clean-textutils:
39518 @if textutils
39519 maybe-clean-textutils: clean-textutils
39521 clean-textutils:
39522 @: $(MAKE); $(unstage)
39523 @[ -f ./textutils/Makefile ] || exit 0; \
39524 r=`${PWD_COMMAND}`; export r; \
39525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39526 $(HOST_EXPORTS) \
39527 for flag in $(EXTRA_HOST_FLAGS) ; do \
39528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39529 done; \
39530 echo "Doing clean in textutils" ; \
39531 (cd $(HOST_SUBDIR)/textutils && \
39532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39534 "RANLIB=$${RANLIB}" \
39535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39536 clean) \
39537 || exit 1
39539 @endif textutils
39541 .PHONY: maybe-distclean-textutils distclean-textutils
39542 maybe-distclean-textutils:
39543 @if textutils
39544 maybe-distclean-textutils: distclean-textutils
39546 distclean-textutils:
39547 @: $(MAKE); $(unstage)
39548 @[ -f ./textutils/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 distclean in textutils" ; \
39556 (cd $(HOST_SUBDIR)/textutils && \
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 distclean) \
39562 || exit 1
39564 @endif textutils
39566 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
39567 maybe-maintainer-clean-textutils:
39568 @if textutils
39569 maybe-maintainer-clean-textutils: maintainer-clean-textutils
39571 maintainer-clean-textutils:
39572 @: $(MAKE); $(unstage)
39573 @[ -f ./textutils/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 maintainer-clean in textutils" ; \
39581 (cd $(HOST_SUBDIR)/textutils && \
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 maintainer-clean) \
39587 || exit 1
39589 @endif textutils
39593 .PHONY: configure-time maybe-configure-time
39594 maybe-configure-time:
39595 @if gcc-bootstrap
39596 configure-time: stage_current
39597 @endif gcc-bootstrap
39598 @if time
39599 maybe-configure-time: configure-time
39600 configure-time:
39601 @: $(MAKE); $(unstage)
39602 @r=`${PWD_COMMAND}`; export r; \
39603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39604 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
39605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
39606 $(HOST_EXPORTS) \
39607 echo Configuring in $(HOST_SUBDIR)/time; \
39608 cd "$(HOST_SUBDIR)/time" || exit 1; \
39609 case $(srcdir) in \
39610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39611 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
39612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39613 esac; \
39614 srcdiroption="--srcdir=$${topdir}/time"; \
39615 libsrcdir="$$s/time"; \
39616 $(SHELL) $${libsrcdir}/configure \
39617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39618 --target=${target_alias} $${srcdiroption} \
39619 || exit 1
39620 @endif time
39626 .PHONY: all-time maybe-all-time
39627 maybe-all-time:
39628 @if gcc-bootstrap
39629 all-time: stage_current
39630 @endif gcc-bootstrap
39631 @if time
39632 TARGET-time=all
39633 maybe-all-time: all-time
39634 all-time: configure-time
39635 @: $(MAKE); $(unstage)
39636 @r=`${PWD_COMMAND}`; export r; \
39637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39638 $(HOST_EXPORTS) \
39639 (cd $(HOST_SUBDIR)/time && \
39640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39641 $(TARGET-time))
39642 @endif time
39647 .PHONY: check-time maybe-check-time
39648 maybe-check-time:
39649 @if time
39650 maybe-check-time: check-time
39652 check-time:
39653 @: $(MAKE); $(unstage)
39654 @r=`${PWD_COMMAND}`; export r; \
39655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39656 $(HOST_EXPORTS) \
39657 (cd $(HOST_SUBDIR)/time && \
39658 $(MAKE) $(FLAGS_TO_PASS) check)
39660 @endif time
39662 .PHONY: install-time maybe-install-time
39663 maybe-install-time:
39664 @if time
39665 maybe-install-time: install-time
39667 install-time: installdirs
39668 @: $(MAKE); $(unstage)
39669 @r=`${PWD_COMMAND}`; export r; \
39670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39671 $(HOST_EXPORTS) \
39672 (cd $(HOST_SUBDIR)/time && \
39673 $(MAKE) $(FLAGS_TO_PASS) install)
39675 @endif time
39677 .PHONY: install-strip-time maybe-install-strip-time
39678 maybe-install-strip-time:
39679 @if time
39680 maybe-install-strip-time: install-strip-time
39682 install-strip-time: installdirs
39683 @: $(MAKE); $(unstage)
39684 @r=`${PWD_COMMAND}`; export r; \
39685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39686 $(HOST_EXPORTS) \
39687 (cd $(HOST_SUBDIR)/time && \
39688 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39690 @endif time
39692 # Other targets (info, dvi, pdf, etc.)
39694 .PHONY: maybe-info-time info-time
39695 maybe-info-time:
39696 @if time
39697 maybe-info-time: info-time
39699 info-time: \
39700 configure-time
39701 @: $(MAKE); $(unstage)
39702 @[ -f ./time/Makefile ] || exit 0; \
39703 r=`${PWD_COMMAND}`; export r; \
39704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39705 $(HOST_EXPORTS) \
39706 for flag in $(EXTRA_HOST_FLAGS) ; do \
39707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39708 done; \
39709 echo "Doing info in time" ; \
39710 (cd $(HOST_SUBDIR)/time && \
39711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39713 "RANLIB=$${RANLIB}" \
39714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39715 info) \
39716 || exit 1
39718 @endif time
39720 .PHONY: maybe-dvi-time dvi-time
39721 maybe-dvi-time:
39722 @if time
39723 maybe-dvi-time: dvi-time
39725 dvi-time: \
39726 configure-time
39727 @: $(MAKE); $(unstage)
39728 @[ -f ./time/Makefile ] || exit 0; \
39729 r=`${PWD_COMMAND}`; export r; \
39730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39731 $(HOST_EXPORTS) \
39732 for flag in $(EXTRA_HOST_FLAGS) ; do \
39733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39734 done; \
39735 echo "Doing dvi in time" ; \
39736 (cd $(HOST_SUBDIR)/time && \
39737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39739 "RANLIB=$${RANLIB}" \
39740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39741 dvi) \
39742 || exit 1
39744 @endif time
39746 .PHONY: maybe-pdf-time pdf-time
39747 maybe-pdf-time:
39748 @if time
39749 maybe-pdf-time: pdf-time
39751 pdf-time: \
39752 configure-time
39753 @: $(MAKE); $(unstage)
39754 @[ -f ./time/Makefile ] || exit 0; \
39755 r=`${PWD_COMMAND}`; export r; \
39756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39757 $(HOST_EXPORTS) \
39758 for flag in $(EXTRA_HOST_FLAGS) ; do \
39759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39760 done; \
39761 echo "Doing pdf in time" ; \
39762 (cd $(HOST_SUBDIR)/time && \
39763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39765 "RANLIB=$${RANLIB}" \
39766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39767 pdf) \
39768 || exit 1
39770 @endif time
39772 .PHONY: maybe-html-time html-time
39773 maybe-html-time:
39774 @if time
39775 maybe-html-time: html-time
39777 html-time: \
39778 configure-time
39779 @: $(MAKE); $(unstage)
39780 @[ -f ./time/Makefile ] || exit 0; \
39781 r=`${PWD_COMMAND}`; export r; \
39782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39783 $(HOST_EXPORTS) \
39784 for flag in $(EXTRA_HOST_FLAGS) ; do \
39785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39786 done; \
39787 echo "Doing html in time" ; \
39788 (cd $(HOST_SUBDIR)/time && \
39789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39791 "RANLIB=$${RANLIB}" \
39792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39793 html) \
39794 || exit 1
39796 @endif time
39798 .PHONY: maybe-TAGS-time TAGS-time
39799 maybe-TAGS-time:
39800 @if time
39801 maybe-TAGS-time: TAGS-time
39803 TAGS-time: \
39804 configure-time
39805 @: $(MAKE); $(unstage)
39806 @[ -f ./time/Makefile ] || exit 0; \
39807 r=`${PWD_COMMAND}`; export r; \
39808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39809 $(HOST_EXPORTS) \
39810 for flag in $(EXTRA_HOST_FLAGS) ; do \
39811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39812 done; \
39813 echo "Doing TAGS in time" ; \
39814 (cd $(HOST_SUBDIR)/time && \
39815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39817 "RANLIB=$${RANLIB}" \
39818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39819 TAGS) \
39820 || exit 1
39822 @endif time
39824 .PHONY: maybe-install-info-time install-info-time
39825 maybe-install-info-time:
39826 @if time
39827 maybe-install-info-time: install-info-time
39829 install-info-time: \
39830 configure-time \
39831 info-time
39832 @: $(MAKE); $(unstage)
39833 @[ -f ./time/Makefile ] || exit 0; \
39834 r=`${PWD_COMMAND}`; export r; \
39835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39836 $(HOST_EXPORTS) \
39837 for flag in $(EXTRA_HOST_FLAGS) ; do \
39838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39839 done; \
39840 echo "Doing install-info in time" ; \
39841 (cd $(HOST_SUBDIR)/time && \
39842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39844 "RANLIB=$${RANLIB}" \
39845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39846 install-info) \
39847 || exit 1
39849 @endif time
39851 .PHONY: maybe-install-pdf-time install-pdf-time
39852 maybe-install-pdf-time:
39853 @if time
39854 maybe-install-pdf-time: install-pdf-time
39856 install-pdf-time: \
39857 configure-time \
39858 pdf-time
39859 @: $(MAKE); $(unstage)
39860 @[ -f ./time/Makefile ] || exit 0; \
39861 r=`${PWD_COMMAND}`; export r; \
39862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39863 $(HOST_EXPORTS) \
39864 for flag in $(EXTRA_HOST_FLAGS) ; do \
39865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39866 done; \
39867 echo "Doing install-pdf in time" ; \
39868 (cd $(HOST_SUBDIR)/time && \
39869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39871 "RANLIB=$${RANLIB}" \
39872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39873 install-pdf) \
39874 || exit 1
39876 @endif time
39878 .PHONY: maybe-install-html-time install-html-time
39879 maybe-install-html-time:
39880 @if time
39881 maybe-install-html-time: install-html-time
39883 install-html-time: \
39884 configure-time \
39885 html-time
39886 @: $(MAKE); $(unstage)
39887 @[ -f ./time/Makefile ] || exit 0; \
39888 r=`${PWD_COMMAND}`; export r; \
39889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39890 $(HOST_EXPORTS) \
39891 for flag in $(EXTRA_HOST_FLAGS) ; do \
39892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39893 done; \
39894 echo "Doing install-html in time" ; \
39895 (cd $(HOST_SUBDIR)/time && \
39896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39898 "RANLIB=$${RANLIB}" \
39899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39900 install-html) \
39901 || exit 1
39903 @endif time
39905 .PHONY: maybe-installcheck-time installcheck-time
39906 maybe-installcheck-time:
39907 @if time
39908 maybe-installcheck-time: installcheck-time
39910 installcheck-time: \
39911 configure-time
39912 @: $(MAKE); $(unstage)
39913 @[ -f ./time/Makefile ] || exit 0; \
39914 r=`${PWD_COMMAND}`; export r; \
39915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39916 $(HOST_EXPORTS) \
39917 for flag in $(EXTRA_HOST_FLAGS) ; do \
39918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39919 done; \
39920 echo "Doing installcheck in time" ; \
39921 (cd $(HOST_SUBDIR)/time && \
39922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39924 "RANLIB=$${RANLIB}" \
39925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39926 installcheck) \
39927 || exit 1
39929 @endif time
39931 .PHONY: maybe-mostlyclean-time mostlyclean-time
39932 maybe-mostlyclean-time:
39933 @if time
39934 maybe-mostlyclean-time: mostlyclean-time
39936 mostlyclean-time:
39937 @: $(MAKE); $(unstage)
39938 @[ -f ./time/Makefile ] || exit 0; \
39939 r=`${PWD_COMMAND}`; export r; \
39940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39941 $(HOST_EXPORTS) \
39942 for flag in $(EXTRA_HOST_FLAGS) ; do \
39943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39944 done; \
39945 echo "Doing mostlyclean in time" ; \
39946 (cd $(HOST_SUBDIR)/time && \
39947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39949 "RANLIB=$${RANLIB}" \
39950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39951 mostlyclean) \
39952 || exit 1
39954 @endif time
39956 .PHONY: maybe-clean-time clean-time
39957 maybe-clean-time:
39958 @if time
39959 maybe-clean-time: clean-time
39961 clean-time:
39962 @: $(MAKE); $(unstage)
39963 @[ -f ./time/Makefile ] || exit 0; \
39964 r=`${PWD_COMMAND}`; export r; \
39965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39966 $(HOST_EXPORTS) \
39967 for flag in $(EXTRA_HOST_FLAGS) ; do \
39968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39969 done; \
39970 echo "Doing clean in time" ; \
39971 (cd $(HOST_SUBDIR)/time && \
39972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39974 "RANLIB=$${RANLIB}" \
39975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39976 clean) \
39977 || exit 1
39979 @endif time
39981 .PHONY: maybe-distclean-time distclean-time
39982 maybe-distclean-time:
39983 @if time
39984 maybe-distclean-time: distclean-time
39986 distclean-time:
39987 @: $(MAKE); $(unstage)
39988 @[ -f ./time/Makefile ] || exit 0; \
39989 r=`${PWD_COMMAND}`; export r; \
39990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39991 $(HOST_EXPORTS) \
39992 for flag in $(EXTRA_HOST_FLAGS) ; do \
39993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39994 done; \
39995 echo "Doing distclean in time" ; \
39996 (cd $(HOST_SUBDIR)/time && \
39997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39999 "RANLIB=$${RANLIB}" \
40000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40001 distclean) \
40002 || exit 1
40004 @endif time
40006 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
40007 maybe-maintainer-clean-time:
40008 @if time
40009 maybe-maintainer-clean-time: maintainer-clean-time
40011 maintainer-clean-time:
40012 @: $(MAKE); $(unstage)
40013 @[ -f ./time/Makefile ] || exit 0; \
40014 r=`${PWD_COMMAND}`; export r; \
40015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40016 $(HOST_EXPORTS) \
40017 for flag in $(EXTRA_HOST_FLAGS) ; do \
40018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40019 done; \
40020 echo "Doing maintainer-clean in time" ; \
40021 (cd $(HOST_SUBDIR)/time && \
40022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40024 "RANLIB=$${RANLIB}" \
40025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40026 maintainer-clean) \
40027 || exit 1
40029 @endif time
40033 .PHONY: configure-uudecode maybe-configure-uudecode
40034 maybe-configure-uudecode:
40035 @if gcc-bootstrap
40036 configure-uudecode: stage_current
40037 @endif gcc-bootstrap
40038 @if uudecode
40039 maybe-configure-uudecode: configure-uudecode
40040 configure-uudecode:
40041 @: $(MAKE); $(unstage)
40042 @r=`${PWD_COMMAND}`; export r; \
40043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40044 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
40045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
40046 $(HOST_EXPORTS) \
40047 echo Configuring in $(HOST_SUBDIR)/uudecode; \
40048 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
40049 case $(srcdir) in \
40050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40051 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
40052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40053 esac; \
40054 srcdiroption="--srcdir=$${topdir}/uudecode"; \
40055 libsrcdir="$$s/uudecode"; \
40056 $(SHELL) $${libsrcdir}/configure \
40057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40058 --target=${target_alias} $${srcdiroption} \
40059 || exit 1
40060 @endif uudecode
40066 .PHONY: all-uudecode maybe-all-uudecode
40067 maybe-all-uudecode:
40068 @if gcc-bootstrap
40069 all-uudecode: stage_current
40070 @endif gcc-bootstrap
40071 @if uudecode
40072 TARGET-uudecode=all
40073 maybe-all-uudecode: all-uudecode
40074 all-uudecode: configure-uudecode
40075 @: $(MAKE); $(unstage)
40076 @r=`${PWD_COMMAND}`; export r; \
40077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40078 $(HOST_EXPORTS) \
40079 (cd $(HOST_SUBDIR)/uudecode && \
40080 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40081 $(TARGET-uudecode))
40082 @endif uudecode
40087 .PHONY: check-uudecode maybe-check-uudecode
40088 maybe-check-uudecode:
40089 @if uudecode
40090 maybe-check-uudecode: check-uudecode
40092 check-uudecode:
40093 @: $(MAKE); $(unstage)
40094 @r=`${PWD_COMMAND}`; export r; \
40095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40096 $(HOST_EXPORTS) \
40097 (cd $(HOST_SUBDIR)/uudecode && \
40098 $(MAKE) $(FLAGS_TO_PASS) check)
40100 @endif uudecode
40102 .PHONY: install-uudecode maybe-install-uudecode
40103 maybe-install-uudecode:
40104 @if uudecode
40105 maybe-install-uudecode: install-uudecode
40107 install-uudecode: installdirs
40108 @: $(MAKE); $(unstage)
40109 @r=`${PWD_COMMAND}`; export r; \
40110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40111 $(HOST_EXPORTS) \
40112 (cd $(HOST_SUBDIR)/uudecode && \
40113 $(MAKE) $(FLAGS_TO_PASS) install)
40115 @endif uudecode
40117 .PHONY: install-strip-uudecode maybe-install-strip-uudecode
40118 maybe-install-strip-uudecode:
40119 @if uudecode
40120 maybe-install-strip-uudecode: install-strip-uudecode
40122 install-strip-uudecode: installdirs
40123 @: $(MAKE); $(unstage)
40124 @r=`${PWD_COMMAND}`; export r; \
40125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40126 $(HOST_EXPORTS) \
40127 (cd $(HOST_SUBDIR)/uudecode && \
40128 $(MAKE) $(FLAGS_TO_PASS) install-strip)
40130 @endif uudecode
40132 # Other targets (info, dvi, pdf, etc.)
40134 .PHONY: maybe-info-uudecode info-uudecode
40135 maybe-info-uudecode:
40136 @if uudecode
40137 maybe-info-uudecode: info-uudecode
40139 info-uudecode: \
40140 configure-uudecode
40141 @: $(MAKE); $(unstage)
40142 @[ -f ./uudecode/Makefile ] || exit 0; \
40143 r=`${PWD_COMMAND}`; export r; \
40144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40145 $(HOST_EXPORTS) \
40146 for flag in $(EXTRA_HOST_FLAGS) ; do \
40147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40148 done; \
40149 echo "Doing info in uudecode" ; \
40150 (cd $(HOST_SUBDIR)/uudecode && \
40151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40153 "RANLIB=$${RANLIB}" \
40154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 info) \
40156 || exit 1
40158 @endif uudecode
40160 .PHONY: maybe-dvi-uudecode dvi-uudecode
40161 maybe-dvi-uudecode:
40162 @if uudecode
40163 maybe-dvi-uudecode: dvi-uudecode
40165 dvi-uudecode: \
40166 configure-uudecode
40167 @: $(MAKE); $(unstage)
40168 @[ -f ./uudecode/Makefile ] || exit 0; \
40169 r=`${PWD_COMMAND}`; export r; \
40170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40171 $(HOST_EXPORTS) \
40172 for flag in $(EXTRA_HOST_FLAGS) ; do \
40173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40174 done; \
40175 echo "Doing dvi in uudecode" ; \
40176 (cd $(HOST_SUBDIR)/uudecode && \
40177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40179 "RANLIB=$${RANLIB}" \
40180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40181 dvi) \
40182 || exit 1
40184 @endif uudecode
40186 .PHONY: maybe-pdf-uudecode pdf-uudecode
40187 maybe-pdf-uudecode:
40188 @if uudecode
40189 maybe-pdf-uudecode: pdf-uudecode
40191 pdf-uudecode: \
40192 configure-uudecode
40193 @: $(MAKE); $(unstage)
40194 @[ -f ./uudecode/Makefile ] || exit 0; \
40195 r=`${PWD_COMMAND}`; export r; \
40196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40197 $(HOST_EXPORTS) \
40198 for flag in $(EXTRA_HOST_FLAGS) ; do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 echo "Doing pdf in uudecode" ; \
40202 (cd $(HOST_SUBDIR)/uudecode && \
40203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40205 "RANLIB=$${RANLIB}" \
40206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40207 pdf) \
40208 || exit 1
40210 @endif uudecode
40212 .PHONY: maybe-html-uudecode html-uudecode
40213 maybe-html-uudecode:
40214 @if uudecode
40215 maybe-html-uudecode: html-uudecode
40217 html-uudecode: \
40218 configure-uudecode
40219 @: $(MAKE); $(unstage)
40220 @[ -f ./uudecode/Makefile ] || exit 0; \
40221 r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 $(HOST_EXPORTS) \
40224 for flag in $(EXTRA_HOST_FLAGS) ; do \
40225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40226 done; \
40227 echo "Doing html in uudecode" ; \
40228 (cd $(HOST_SUBDIR)/uudecode && \
40229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40231 "RANLIB=$${RANLIB}" \
40232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40233 html) \
40234 || exit 1
40236 @endif uudecode
40238 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
40239 maybe-TAGS-uudecode:
40240 @if uudecode
40241 maybe-TAGS-uudecode: TAGS-uudecode
40243 TAGS-uudecode: \
40244 configure-uudecode
40245 @: $(MAKE); $(unstage)
40246 @[ -f ./uudecode/Makefile ] || exit 0; \
40247 r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(HOST_EXPORTS) \
40250 for flag in $(EXTRA_HOST_FLAGS) ; do \
40251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40252 done; \
40253 echo "Doing TAGS in uudecode" ; \
40254 (cd $(HOST_SUBDIR)/uudecode && \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40257 "RANLIB=$${RANLIB}" \
40258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40259 TAGS) \
40260 || exit 1
40262 @endif uudecode
40264 .PHONY: maybe-install-info-uudecode install-info-uudecode
40265 maybe-install-info-uudecode:
40266 @if uudecode
40267 maybe-install-info-uudecode: install-info-uudecode
40269 install-info-uudecode: \
40270 configure-uudecode \
40271 info-uudecode
40272 @: $(MAKE); $(unstage)
40273 @[ -f ./uudecode/Makefile ] || exit 0; \
40274 r=`${PWD_COMMAND}`; export r; \
40275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40276 $(HOST_EXPORTS) \
40277 for flag in $(EXTRA_HOST_FLAGS) ; do \
40278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 done; \
40280 echo "Doing install-info in uudecode" ; \
40281 (cd $(HOST_SUBDIR)/uudecode && \
40282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40284 "RANLIB=$${RANLIB}" \
40285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40286 install-info) \
40287 || exit 1
40289 @endif uudecode
40291 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
40292 maybe-install-pdf-uudecode:
40293 @if uudecode
40294 maybe-install-pdf-uudecode: install-pdf-uudecode
40296 install-pdf-uudecode: \
40297 configure-uudecode \
40298 pdf-uudecode
40299 @: $(MAKE); $(unstage)
40300 @[ -f ./uudecode/Makefile ] || exit 0; \
40301 r=`${PWD_COMMAND}`; export r; \
40302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40303 $(HOST_EXPORTS) \
40304 for flag in $(EXTRA_HOST_FLAGS) ; do \
40305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40306 done; \
40307 echo "Doing install-pdf in uudecode" ; \
40308 (cd $(HOST_SUBDIR)/uudecode && \
40309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40311 "RANLIB=$${RANLIB}" \
40312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40313 install-pdf) \
40314 || exit 1
40316 @endif uudecode
40318 .PHONY: maybe-install-html-uudecode install-html-uudecode
40319 maybe-install-html-uudecode:
40320 @if uudecode
40321 maybe-install-html-uudecode: install-html-uudecode
40323 install-html-uudecode: \
40324 configure-uudecode \
40325 html-uudecode
40326 @: $(MAKE); $(unstage)
40327 @[ -f ./uudecode/Makefile ] || exit 0; \
40328 r=`${PWD_COMMAND}`; export r; \
40329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40330 $(HOST_EXPORTS) \
40331 for flag in $(EXTRA_HOST_FLAGS) ; do \
40332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40333 done; \
40334 echo "Doing install-html in uudecode" ; \
40335 (cd $(HOST_SUBDIR)/uudecode && \
40336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40338 "RANLIB=$${RANLIB}" \
40339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40340 install-html) \
40341 || exit 1
40343 @endif uudecode
40345 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
40346 maybe-installcheck-uudecode:
40347 @if uudecode
40348 maybe-installcheck-uudecode: installcheck-uudecode
40350 installcheck-uudecode: \
40351 configure-uudecode
40352 @: $(MAKE); $(unstage)
40353 @[ -f ./uudecode/Makefile ] || exit 0; \
40354 r=`${PWD_COMMAND}`; export r; \
40355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40356 $(HOST_EXPORTS) \
40357 for flag in $(EXTRA_HOST_FLAGS) ; do \
40358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40359 done; \
40360 echo "Doing installcheck in uudecode" ; \
40361 (cd $(HOST_SUBDIR)/uudecode && \
40362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40364 "RANLIB=$${RANLIB}" \
40365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40366 installcheck) \
40367 || exit 1
40369 @endif uudecode
40371 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
40372 maybe-mostlyclean-uudecode:
40373 @if uudecode
40374 maybe-mostlyclean-uudecode: mostlyclean-uudecode
40376 mostlyclean-uudecode:
40377 @: $(MAKE); $(unstage)
40378 @[ -f ./uudecode/Makefile ] || exit 0; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(HOST_EXPORTS) \
40382 for flag in $(EXTRA_HOST_FLAGS) ; do \
40383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40384 done; \
40385 echo "Doing mostlyclean in uudecode" ; \
40386 (cd $(HOST_SUBDIR)/uudecode && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 mostlyclean) \
40392 || exit 1
40394 @endif uudecode
40396 .PHONY: maybe-clean-uudecode clean-uudecode
40397 maybe-clean-uudecode:
40398 @if uudecode
40399 maybe-clean-uudecode: clean-uudecode
40401 clean-uudecode:
40402 @: $(MAKE); $(unstage)
40403 @[ -f ./uudecode/Makefile ] || exit 0; \
40404 r=`${PWD_COMMAND}`; export r; \
40405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40406 $(HOST_EXPORTS) \
40407 for flag in $(EXTRA_HOST_FLAGS) ; do \
40408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40409 done; \
40410 echo "Doing clean in uudecode" ; \
40411 (cd $(HOST_SUBDIR)/uudecode && \
40412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40414 "RANLIB=$${RANLIB}" \
40415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40416 clean) \
40417 || exit 1
40419 @endif uudecode
40421 .PHONY: maybe-distclean-uudecode distclean-uudecode
40422 maybe-distclean-uudecode:
40423 @if uudecode
40424 maybe-distclean-uudecode: distclean-uudecode
40426 distclean-uudecode:
40427 @: $(MAKE); $(unstage)
40428 @[ -f ./uudecode/Makefile ] || exit 0; \
40429 r=`${PWD_COMMAND}`; export r; \
40430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40431 $(HOST_EXPORTS) \
40432 for flag in $(EXTRA_HOST_FLAGS) ; do \
40433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40434 done; \
40435 echo "Doing distclean in uudecode" ; \
40436 (cd $(HOST_SUBDIR)/uudecode && \
40437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40439 "RANLIB=$${RANLIB}" \
40440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40441 distclean) \
40442 || exit 1
40444 @endif uudecode
40446 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
40447 maybe-maintainer-clean-uudecode:
40448 @if uudecode
40449 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
40451 maintainer-clean-uudecode:
40452 @: $(MAKE); $(unstage)
40453 @[ -f ./uudecode/Makefile ] || exit 0; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(HOST_EXPORTS) \
40457 for flag in $(EXTRA_HOST_FLAGS) ; do \
40458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40459 done; \
40460 echo "Doing maintainer-clean in uudecode" ; \
40461 (cd $(HOST_SUBDIR)/uudecode && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40466 maintainer-clean) \
40467 || exit 1
40469 @endif uudecode
40473 .PHONY: configure-wdiff maybe-configure-wdiff
40474 maybe-configure-wdiff:
40475 @if gcc-bootstrap
40476 configure-wdiff: stage_current
40477 @endif gcc-bootstrap
40478 @if wdiff
40479 maybe-configure-wdiff: configure-wdiff
40480 configure-wdiff:
40481 @: $(MAKE); $(unstage)
40482 @r=`${PWD_COMMAND}`; export r; \
40483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40484 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
40485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
40486 $(HOST_EXPORTS) \
40487 echo Configuring in $(HOST_SUBDIR)/wdiff; \
40488 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
40489 case $(srcdir) in \
40490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40491 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
40492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40493 esac; \
40494 srcdiroption="--srcdir=$${topdir}/wdiff"; \
40495 libsrcdir="$$s/wdiff"; \
40496 $(SHELL) $${libsrcdir}/configure \
40497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40498 --target=${target_alias} $${srcdiroption} \
40499 || exit 1
40500 @endif wdiff
40506 .PHONY: all-wdiff maybe-all-wdiff
40507 maybe-all-wdiff:
40508 @if gcc-bootstrap
40509 all-wdiff: stage_current
40510 @endif gcc-bootstrap
40511 @if wdiff
40512 TARGET-wdiff=all
40513 maybe-all-wdiff: all-wdiff
40514 all-wdiff: configure-wdiff
40515 @: $(MAKE); $(unstage)
40516 @r=`${PWD_COMMAND}`; export r; \
40517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40518 $(HOST_EXPORTS) \
40519 (cd $(HOST_SUBDIR)/wdiff && \
40520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40521 $(TARGET-wdiff))
40522 @endif wdiff
40527 .PHONY: check-wdiff maybe-check-wdiff
40528 maybe-check-wdiff:
40529 @if wdiff
40530 maybe-check-wdiff: check-wdiff
40532 check-wdiff:
40533 @: $(MAKE); $(unstage)
40534 @r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(HOST_EXPORTS) \
40537 (cd $(HOST_SUBDIR)/wdiff && \
40538 $(MAKE) $(FLAGS_TO_PASS) check)
40540 @endif wdiff
40542 .PHONY: install-wdiff maybe-install-wdiff
40543 maybe-install-wdiff:
40544 @if wdiff
40545 maybe-install-wdiff: install-wdiff
40547 install-wdiff: installdirs
40548 @: $(MAKE); $(unstage)
40549 @r=`${PWD_COMMAND}`; export r; \
40550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40551 $(HOST_EXPORTS) \
40552 (cd $(HOST_SUBDIR)/wdiff && \
40553 $(MAKE) $(FLAGS_TO_PASS) install)
40555 @endif wdiff
40557 .PHONY: install-strip-wdiff maybe-install-strip-wdiff
40558 maybe-install-strip-wdiff:
40559 @if wdiff
40560 maybe-install-strip-wdiff: install-strip-wdiff
40562 install-strip-wdiff: installdirs
40563 @: $(MAKE); $(unstage)
40564 @r=`${PWD_COMMAND}`; export r; \
40565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40566 $(HOST_EXPORTS) \
40567 (cd $(HOST_SUBDIR)/wdiff && \
40568 $(MAKE) $(FLAGS_TO_PASS) install-strip)
40570 @endif wdiff
40572 # Other targets (info, dvi, pdf, etc.)
40574 .PHONY: maybe-info-wdiff info-wdiff
40575 maybe-info-wdiff:
40576 @if wdiff
40577 maybe-info-wdiff: info-wdiff
40579 info-wdiff: \
40580 configure-wdiff
40581 @: $(MAKE); $(unstage)
40582 @[ -f ./wdiff/Makefile ] || exit 0; \
40583 r=`${PWD_COMMAND}`; export r; \
40584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40585 $(HOST_EXPORTS) \
40586 for flag in $(EXTRA_HOST_FLAGS) ; do \
40587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40588 done; \
40589 echo "Doing info in wdiff" ; \
40590 (cd $(HOST_SUBDIR)/wdiff && \
40591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40593 "RANLIB=$${RANLIB}" \
40594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40595 info) \
40596 || exit 1
40598 @endif wdiff
40600 .PHONY: maybe-dvi-wdiff dvi-wdiff
40601 maybe-dvi-wdiff:
40602 @if wdiff
40603 maybe-dvi-wdiff: dvi-wdiff
40605 dvi-wdiff: \
40606 configure-wdiff
40607 @: $(MAKE); $(unstage)
40608 @[ -f ./wdiff/Makefile ] || exit 0; \
40609 r=`${PWD_COMMAND}`; export r; \
40610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40611 $(HOST_EXPORTS) \
40612 for flag in $(EXTRA_HOST_FLAGS) ; do \
40613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40614 done; \
40615 echo "Doing dvi in wdiff" ; \
40616 (cd $(HOST_SUBDIR)/wdiff && \
40617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40619 "RANLIB=$${RANLIB}" \
40620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40621 dvi) \
40622 || exit 1
40624 @endif wdiff
40626 .PHONY: maybe-pdf-wdiff pdf-wdiff
40627 maybe-pdf-wdiff:
40628 @if wdiff
40629 maybe-pdf-wdiff: pdf-wdiff
40631 pdf-wdiff: \
40632 configure-wdiff
40633 @: $(MAKE); $(unstage)
40634 @[ -f ./wdiff/Makefile ] || exit 0; \
40635 r=`${PWD_COMMAND}`; export r; \
40636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40637 $(HOST_EXPORTS) \
40638 for flag in $(EXTRA_HOST_FLAGS) ; do \
40639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40640 done; \
40641 echo "Doing pdf in wdiff" ; \
40642 (cd $(HOST_SUBDIR)/wdiff && \
40643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40645 "RANLIB=$${RANLIB}" \
40646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40647 pdf) \
40648 || exit 1
40650 @endif wdiff
40652 .PHONY: maybe-html-wdiff html-wdiff
40653 maybe-html-wdiff:
40654 @if wdiff
40655 maybe-html-wdiff: html-wdiff
40657 html-wdiff: \
40658 configure-wdiff
40659 @: $(MAKE); $(unstage)
40660 @[ -f ./wdiff/Makefile ] || exit 0; \
40661 r=`${PWD_COMMAND}`; export r; \
40662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40663 $(HOST_EXPORTS) \
40664 for flag in $(EXTRA_HOST_FLAGS) ; do \
40665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40666 done; \
40667 echo "Doing html in wdiff" ; \
40668 (cd $(HOST_SUBDIR)/wdiff && \
40669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40671 "RANLIB=$${RANLIB}" \
40672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40673 html) \
40674 || exit 1
40676 @endif wdiff
40678 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
40679 maybe-TAGS-wdiff:
40680 @if wdiff
40681 maybe-TAGS-wdiff: TAGS-wdiff
40683 TAGS-wdiff: \
40684 configure-wdiff
40685 @: $(MAKE); $(unstage)
40686 @[ -f ./wdiff/Makefile ] || exit 0; \
40687 r=`${PWD_COMMAND}`; export r; \
40688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40689 $(HOST_EXPORTS) \
40690 for flag in $(EXTRA_HOST_FLAGS) ; do \
40691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40692 done; \
40693 echo "Doing TAGS in wdiff" ; \
40694 (cd $(HOST_SUBDIR)/wdiff && \
40695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40697 "RANLIB=$${RANLIB}" \
40698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40699 TAGS) \
40700 || exit 1
40702 @endif wdiff
40704 .PHONY: maybe-install-info-wdiff install-info-wdiff
40705 maybe-install-info-wdiff:
40706 @if wdiff
40707 maybe-install-info-wdiff: install-info-wdiff
40709 install-info-wdiff: \
40710 configure-wdiff \
40711 info-wdiff
40712 @: $(MAKE); $(unstage)
40713 @[ -f ./wdiff/Makefile ] || exit 0; \
40714 r=`${PWD_COMMAND}`; export r; \
40715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40716 $(HOST_EXPORTS) \
40717 for flag in $(EXTRA_HOST_FLAGS) ; do \
40718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40719 done; \
40720 echo "Doing install-info in wdiff" ; \
40721 (cd $(HOST_SUBDIR)/wdiff && \
40722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40724 "RANLIB=$${RANLIB}" \
40725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40726 install-info) \
40727 || exit 1
40729 @endif wdiff
40731 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
40732 maybe-install-pdf-wdiff:
40733 @if wdiff
40734 maybe-install-pdf-wdiff: install-pdf-wdiff
40736 install-pdf-wdiff: \
40737 configure-wdiff \
40738 pdf-wdiff
40739 @: $(MAKE); $(unstage)
40740 @[ -f ./wdiff/Makefile ] || exit 0; \
40741 r=`${PWD_COMMAND}`; export r; \
40742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40743 $(HOST_EXPORTS) \
40744 for flag in $(EXTRA_HOST_FLAGS) ; do \
40745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40746 done; \
40747 echo "Doing install-pdf in wdiff" ; \
40748 (cd $(HOST_SUBDIR)/wdiff && \
40749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40751 "RANLIB=$${RANLIB}" \
40752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40753 install-pdf) \
40754 || exit 1
40756 @endif wdiff
40758 .PHONY: maybe-install-html-wdiff install-html-wdiff
40759 maybe-install-html-wdiff:
40760 @if wdiff
40761 maybe-install-html-wdiff: install-html-wdiff
40763 install-html-wdiff: \
40764 configure-wdiff \
40765 html-wdiff
40766 @: $(MAKE); $(unstage)
40767 @[ -f ./wdiff/Makefile ] || exit 0; \
40768 r=`${PWD_COMMAND}`; export r; \
40769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40770 $(HOST_EXPORTS) \
40771 for flag in $(EXTRA_HOST_FLAGS) ; do \
40772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40773 done; \
40774 echo "Doing install-html in wdiff" ; \
40775 (cd $(HOST_SUBDIR)/wdiff && \
40776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40778 "RANLIB=$${RANLIB}" \
40779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40780 install-html) \
40781 || exit 1
40783 @endif wdiff
40785 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
40786 maybe-installcheck-wdiff:
40787 @if wdiff
40788 maybe-installcheck-wdiff: installcheck-wdiff
40790 installcheck-wdiff: \
40791 configure-wdiff
40792 @: $(MAKE); $(unstage)
40793 @[ -f ./wdiff/Makefile ] || exit 0; \
40794 r=`${PWD_COMMAND}`; export r; \
40795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40796 $(HOST_EXPORTS) \
40797 for flag in $(EXTRA_HOST_FLAGS) ; do \
40798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40799 done; \
40800 echo "Doing installcheck in wdiff" ; \
40801 (cd $(HOST_SUBDIR)/wdiff && \
40802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40804 "RANLIB=$${RANLIB}" \
40805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40806 installcheck) \
40807 || exit 1
40809 @endif wdiff
40811 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
40812 maybe-mostlyclean-wdiff:
40813 @if wdiff
40814 maybe-mostlyclean-wdiff: mostlyclean-wdiff
40816 mostlyclean-wdiff:
40817 @: $(MAKE); $(unstage)
40818 @[ -f ./wdiff/Makefile ] || exit 0; \
40819 r=`${PWD_COMMAND}`; export r; \
40820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40821 $(HOST_EXPORTS) \
40822 for flag in $(EXTRA_HOST_FLAGS) ; do \
40823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40824 done; \
40825 echo "Doing mostlyclean in wdiff" ; \
40826 (cd $(HOST_SUBDIR)/wdiff && \
40827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40829 "RANLIB=$${RANLIB}" \
40830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40831 mostlyclean) \
40832 || exit 1
40834 @endif wdiff
40836 .PHONY: maybe-clean-wdiff clean-wdiff
40837 maybe-clean-wdiff:
40838 @if wdiff
40839 maybe-clean-wdiff: clean-wdiff
40841 clean-wdiff:
40842 @: $(MAKE); $(unstage)
40843 @[ -f ./wdiff/Makefile ] || exit 0; \
40844 r=`${PWD_COMMAND}`; export r; \
40845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40846 $(HOST_EXPORTS) \
40847 for flag in $(EXTRA_HOST_FLAGS) ; do \
40848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40849 done; \
40850 echo "Doing clean in wdiff" ; \
40851 (cd $(HOST_SUBDIR)/wdiff && \
40852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40854 "RANLIB=$${RANLIB}" \
40855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40856 clean) \
40857 || exit 1
40859 @endif wdiff
40861 .PHONY: maybe-distclean-wdiff distclean-wdiff
40862 maybe-distclean-wdiff:
40863 @if wdiff
40864 maybe-distclean-wdiff: distclean-wdiff
40866 distclean-wdiff:
40867 @: $(MAKE); $(unstage)
40868 @[ -f ./wdiff/Makefile ] || exit 0; \
40869 r=`${PWD_COMMAND}`; export r; \
40870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40871 $(HOST_EXPORTS) \
40872 for flag in $(EXTRA_HOST_FLAGS) ; do \
40873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40874 done; \
40875 echo "Doing distclean in wdiff" ; \
40876 (cd $(HOST_SUBDIR)/wdiff && \
40877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40879 "RANLIB=$${RANLIB}" \
40880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40881 distclean) \
40882 || exit 1
40884 @endif wdiff
40886 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
40887 maybe-maintainer-clean-wdiff:
40888 @if wdiff
40889 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
40891 maintainer-clean-wdiff:
40892 @: $(MAKE); $(unstage)
40893 @[ -f ./wdiff/Makefile ] || exit 0; \
40894 r=`${PWD_COMMAND}`; export r; \
40895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40896 $(HOST_EXPORTS) \
40897 for flag in $(EXTRA_HOST_FLAGS) ; do \
40898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40899 done; \
40900 echo "Doing maintainer-clean in wdiff" ; \
40901 (cd $(HOST_SUBDIR)/wdiff && \
40902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40904 "RANLIB=$${RANLIB}" \
40905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40906 maintainer-clean) \
40907 || exit 1
40909 @endif wdiff
40913 .PHONY: configure-zip maybe-configure-zip
40914 maybe-configure-zip:
40915 @if gcc-bootstrap
40916 configure-zip: stage_current
40917 @endif gcc-bootstrap
40918 @if zip
40919 maybe-configure-zip: configure-zip
40920 configure-zip:
40921 @: $(MAKE); $(unstage)
40922 @r=`${PWD_COMMAND}`; export r; \
40923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40924 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
40925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
40926 $(HOST_EXPORTS) \
40927 echo Configuring in $(HOST_SUBDIR)/zip; \
40928 cd "$(HOST_SUBDIR)/zip" || exit 1; \
40929 case $(srcdir) in \
40930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40931 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
40932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40933 esac; \
40934 srcdiroption="--srcdir=$${topdir}/zip"; \
40935 libsrcdir="$$s/zip"; \
40936 $(SHELL) $${libsrcdir}/configure \
40937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40938 --target=${target_alias} $${srcdiroption} \
40939 || exit 1
40940 @endif zip
40946 .PHONY: all-zip maybe-all-zip
40947 maybe-all-zip:
40948 @if gcc-bootstrap
40949 all-zip: stage_current
40950 @endif gcc-bootstrap
40951 @if zip
40952 TARGET-zip=all
40953 maybe-all-zip: all-zip
40954 all-zip: configure-zip
40955 @: $(MAKE); $(unstage)
40956 @r=`${PWD_COMMAND}`; export r; \
40957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40958 $(HOST_EXPORTS) \
40959 (cd $(HOST_SUBDIR)/zip && \
40960 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40961 $(TARGET-zip))
40962 @endif zip
40967 .PHONY: check-zip maybe-check-zip
40968 maybe-check-zip:
40969 @if zip
40970 maybe-check-zip: check-zip
40972 # This module is only tested in a native toolchain.
40973 check-zip:
40974 @: $(MAKE); $(unstage)
40975 @if [ '$(host)' = '$(target)' ] ; then \
40976 r=`${PWD_COMMAND}`; export r; \
40977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40978 $(HOST_EXPORTS) \
40979 (cd $(HOST_SUBDIR)/zip && \
40980 $(MAKE) $(FLAGS_TO_PASS) check); \
40983 @endif zip
40985 .PHONY: install-zip maybe-install-zip
40986 maybe-install-zip:
40987 @if zip
40988 maybe-install-zip: install-zip
40990 install-zip: installdirs
40991 @: $(MAKE); $(unstage)
40992 @r=`${PWD_COMMAND}`; export r; \
40993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40994 $(HOST_EXPORTS) \
40995 (cd $(HOST_SUBDIR)/zip && \
40996 $(MAKE) $(FLAGS_TO_PASS) install)
40998 @endif zip
41000 .PHONY: install-strip-zip maybe-install-strip-zip
41001 maybe-install-strip-zip:
41002 @if zip
41003 maybe-install-strip-zip: install-strip-zip
41005 install-strip-zip: installdirs
41006 @: $(MAKE); $(unstage)
41007 @r=`${PWD_COMMAND}`; export r; \
41008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41009 $(HOST_EXPORTS) \
41010 (cd $(HOST_SUBDIR)/zip && \
41011 $(MAKE) $(FLAGS_TO_PASS) install-strip)
41013 @endif zip
41015 # Other targets (info, dvi, pdf, etc.)
41017 .PHONY: maybe-info-zip info-zip
41018 maybe-info-zip:
41019 @if zip
41020 maybe-info-zip: info-zip
41022 info-zip: \
41023 configure-zip
41024 @: $(MAKE); $(unstage)
41025 @[ -f ./zip/Makefile ] || exit 0; \
41026 r=`${PWD_COMMAND}`; export r; \
41027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41028 $(HOST_EXPORTS) \
41029 for flag in $(EXTRA_HOST_FLAGS) ; do \
41030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41031 done; \
41032 echo "Doing info in zip" ; \
41033 (cd $(HOST_SUBDIR)/zip && \
41034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41036 "RANLIB=$${RANLIB}" \
41037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41038 info) \
41039 || exit 1
41041 @endif zip
41043 .PHONY: maybe-dvi-zip dvi-zip
41044 maybe-dvi-zip:
41045 @if zip
41046 maybe-dvi-zip: dvi-zip
41048 dvi-zip: \
41049 configure-zip
41050 @: $(MAKE); $(unstage)
41051 @[ -f ./zip/Makefile ] || exit 0; \
41052 r=`${PWD_COMMAND}`; export r; \
41053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41054 $(HOST_EXPORTS) \
41055 for flag in $(EXTRA_HOST_FLAGS) ; do \
41056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41057 done; \
41058 echo "Doing dvi in zip" ; \
41059 (cd $(HOST_SUBDIR)/zip && \
41060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41062 "RANLIB=$${RANLIB}" \
41063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41064 dvi) \
41065 || exit 1
41067 @endif zip
41069 .PHONY: maybe-pdf-zip pdf-zip
41070 maybe-pdf-zip:
41071 @if zip
41072 maybe-pdf-zip: pdf-zip
41074 pdf-zip: \
41075 configure-zip
41076 @: $(MAKE); $(unstage)
41077 @[ -f ./zip/Makefile ] || exit 0; \
41078 r=`${PWD_COMMAND}`; export r; \
41079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41080 $(HOST_EXPORTS) \
41081 for flag in $(EXTRA_HOST_FLAGS) ; do \
41082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41083 done; \
41084 echo "Doing pdf in zip" ; \
41085 (cd $(HOST_SUBDIR)/zip && \
41086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41088 "RANLIB=$${RANLIB}" \
41089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41090 pdf) \
41091 || exit 1
41093 @endif zip
41095 .PHONY: maybe-html-zip html-zip
41096 maybe-html-zip:
41097 @if zip
41098 maybe-html-zip: html-zip
41100 html-zip: \
41101 configure-zip
41102 @: $(MAKE); $(unstage)
41103 @[ -f ./zip/Makefile ] || exit 0; \
41104 r=`${PWD_COMMAND}`; export r; \
41105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41106 $(HOST_EXPORTS) \
41107 for flag in $(EXTRA_HOST_FLAGS) ; do \
41108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41109 done; \
41110 echo "Doing html in zip" ; \
41111 (cd $(HOST_SUBDIR)/zip && \
41112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41114 "RANLIB=$${RANLIB}" \
41115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41116 html) \
41117 || exit 1
41119 @endif zip
41121 .PHONY: maybe-TAGS-zip TAGS-zip
41122 maybe-TAGS-zip:
41123 @if zip
41124 maybe-TAGS-zip: TAGS-zip
41126 TAGS-zip: \
41127 configure-zip
41128 @: $(MAKE); $(unstage)
41129 @[ -f ./zip/Makefile ] || exit 0; \
41130 r=`${PWD_COMMAND}`; export r; \
41131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41132 $(HOST_EXPORTS) \
41133 for flag in $(EXTRA_HOST_FLAGS) ; do \
41134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41135 done; \
41136 echo "Doing TAGS in zip" ; \
41137 (cd $(HOST_SUBDIR)/zip && \
41138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41140 "RANLIB=$${RANLIB}" \
41141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41142 TAGS) \
41143 || exit 1
41145 @endif zip
41147 .PHONY: maybe-install-info-zip install-info-zip
41148 maybe-install-info-zip:
41149 @if zip
41150 maybe-install-info-zip: install-info-zip
41152 install-info-zip: \
41153 configure-zip \
41154 info-zip
41155 @: $(MAKE); $(unstage)
41156 @[ -f ./zip/Makefile ] || exit 0; \
41157 r=`${PWD_COMMAND}`; export r; \
41158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41159 $(HOST_EXPORTS) \
41160 for flag in $(EXTRA_HOST_FLAGS) ; do \
41161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41162 done; \
41163 echo "Doing install-info in zip" ; \
41164 (cd $(HOST_SUBDIR)/zip && \
41165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41167 "RANLIB=$${RANLIB}" \
41168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41169 install-info) \
41170 || exit 1
41172 @endif zip
41174 .PHONY: maybe-install-pdf-zip install-pdf-zip
41175 maybe-install-pdf-zip:
41176 @if zip
41177 maybe-install-pdf-zip: install-pdf-zip
41179 install-pdf-zip: \
41180 configure-zip \
41181 pdf-zip
41182 @: $(MAKE); $(unstage)
41183 @[ -f ./zip/Makefile ] || exit 0; \
41184 r=`${PWD_COMMAND}`; export r; \
41185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41186 $(HOST_EXPORTS) \
41187 for flag in $(EXTRA_HOST_FLAGS) ; do \
41188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41189 done; \
41190 echo "Doing install-pdf in zip" ; \
41191 (cd $(HOST_SUBDIR)/zip && \
41192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41194 "RANLIB=$${RANLIB}" \
41195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41196 install-pdf) \
41197 || exit 1
41199 @endif zip
41201 .PHONY: maybe-install-html-zip install-html-zip
41202 maybe-install-html-zip:
41203 @if zip
41204 maybe-install-html-zip: install-html-zip
41206 install-html-zip: \
41207 configure-zip \
41208 html-zip
41209 @: $(MAKE); $(unstage)
41210 @[ -f ./zip/Makefile ] || exit 0; \
41211 r=`${PWD_COMMAND}`; export r; \
41212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41213 $(HOST_EXPORTS) \
41214 for flag in $(EXTRA_HOST_FLAGS) ; do \
41215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41216 done; \
41217 echo "Doing install-html in zip" ; \
41218 (cd $(HOST_SUBDIR)/zip && \
41219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41221 "RANLIB=$${RANLIB}" \
41222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41223 install-html) \
41224 || exit 1
41226 @endif zip
41228 .PHONY: maybe-installcheck-zip installcheck-zip
41229 maybe-installcheck-zip:
41230 @if zip
41231 maybe-installcheck-zip: installcheck-zip
41233 installcheck-zip: \
41234 configure-zip
41235 @: $(MAKE); $(unstage)
41236 @[ -f ./zip/Makefile ] || exit 0; \
41237 r=`${PWD_COMMAND}`; export r; \
41238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41239 $(HOST_EXPORTS) \
41240 for flag in $(EXTRA_HOST_FLAGS) ; do \
41241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41242 done; \
41243 echo "Doing installcheck in zip" ; \
41244 (cd $(HOST_SUBDIR)/zip && \
41245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41247 "RANLIB=$${RANLIB}" \
41248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41249 installcheck) \
41250 || exit 1
41252 @endif zip
41254 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
41255 maybe-mostlyclean-zip:
41256 @if zip
41257 maybe-mostlyclean-zip: mostlyclean-zip
41259 mostlyclean-zip:
41260 @: $(MAKE); $(unstage)
41261 @[ -f ./zip/Makefile ] || exit 0; \
41262 r=`${PWD_COMMAND}`; export r; \
41263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41264 $(HOST_EXPORTS) \
41265 for flag in $(EXTRA_HOST_FLAGS) ; do \
41266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41267 done; \
41268 echo "Doing mostlyclean in zip" ; \
41269 (cd $(HOST_SUBDIR)/zip && \
41270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41272 "RANLIB=$${RANLIB}" \
41273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41274 mostlyclean) \
41275 || exit 1
41277 @endif zip
41279 .PHONY: maybe-clean-zip clean-zip
41280 maybe-clean-zip:
41281 @if zip
41282 maybe-clean-zip: clean-zip
41284 clean-zip:
41285 @: $(MAKE); $(unstage)
41286 @[ -f ./zip/Makefile ] || exit 0; \
41287 r=`${PWD_COMMAND}`; export r; \
41288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41289 $(HOST_EXPORTS) \
41290 for flag in $(EXTRA_HOST_FLAGS) ; do \
41291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41292 done; \
41293 echo "Doing clean in zip" ; \
41294 (cd $(HOST_SUBDIR)/zip && \
41295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41297 "RANLIB=$${RANLIB}" \
41298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41299 clean) \
41300 || exit 1
41302 @endif zip
41304 .PHONY: maybe-distclean-zip distclean-zip
41305 maybe-distclean-zip:
41306 @if zip
41307 maybe-distclean-zip: distclean-zip
41309 distclean-zip:
41310 @: $(MAKE); $(unstage)
41311 @[ -f ./zip/Makefile ] || exit 0; \
41312 r=`${PWD_COMMAND}`; export r; \
41313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41314 $(HOST_EXPORTS) \
41315 for flag in $(EXTRA_HOST_FLAGS) ; do \
41316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41317 done; \
41318 echo "Doing distclean in zip" ; \
41319 (cd $(HOST_SUBDIR)/zip && \
41320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41322 "RANLIB=$${RANLIB}" \
41323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41324 distclean) \
41325 || exit 1
41327 @endif zip
41329 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
41330 maybe-maintainer-clean-zip:
41331 @if zip
41332 maybe-maintainer-clean-zip: maintainer-clean-zip
41334 maintainer-clean-zip:
41335 @: $(MAKE); $(unstage)
41336 @[ -f ./zip/Makefile ] || exit 0; \
41337 r=`${PWD_COMMAND}`; export r; \
41338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41339 $(HOST_EXPORTS) \
41340 for flag in $(EXTRA_HOST_FLAGS) ; do \
41341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41342 done; \
41343 echo "Doing maintainer-clean in zip" ; \
41344 (cd $(HOST_SUBDIR)/zip && \
41345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41347 "RANLIB=$${RANLIB}" \
41348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41349 maintainer-clean) \
41350 || exit 1
41352 @endif zip
41356 .PHONY: configure-zlib maybe-configure-zlib
41357 maybe-configure-zlib:
41358 @if gcc-bootstrap
41359 configure-zlib: stage_current
41360 @endif gcc-bootstrap
41361 @if zlib
41362 maybe-configure-zlib: configure-zlib
41363 configure-zlib:
41364 @r=`${PWD_COMMAND}`; export r; \
41365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41366 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41368 $(HOST_EXPORTS) \
41369 echo Configuring in $(HOST_SUBDIR)/zlib; \
41370 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
41371 case $(srcdir) in \
41372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41373 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41375 esac; \
41376 srcdiroption="--srcdir=$${topdir}/zlib"; \
41377 libsrcdir="$$s/zlib"; \
41378 $(SHELL) $${libsrcdir}/configure \
41379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41380 --target=${target_alias} $${srcdiroption} \
41381 || exit 1
41382 @endif zlib
41386 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
41387 maybe-configure-stage1-zlib:
41388 @if zlib-bootstrap
41389 maybe-configure-stage1-zlib: configure-stage1-zlib
41390 configure-stage1-zlib:
41391 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41393 @r=`${PWD_COMMAND}`; export r; \
41394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41395 TFLAGS="$(STAGE1_TFLAGS)"; \
41396 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41397 $(HOST_EXPORTS) \
41398 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
41399 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
41400 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
41401 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
41402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41403 cd $(HOST_SUBDIR)/zlib || exit 1; \
41404 case $(srcdir) in \
41405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41406 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41408 esac; \
41409 srcdiroption="--srcdir=$${topdir}/zlib"; \
41410 libsrcdir="$$s/zlib"; \
41411 $(SHELL) $${libsrcdir}/configure \
41412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41413 --target=${target_alias} $${srcdiroption} \
41414 $(STAGE1_CONFIGURE_FLAGS)
41415 @endif zlib-bootstrap
41417 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
41418 maybe-configure-stage2-zlib:
41419 @if zlib-bootstrap
41420 maybe-configure-stage2-zlib: configure-stage2-zlib
41421 configure-stage2-zlib:
41422 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41424 @r=`${PWD_COMMAND}`; export r; \
41425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41426 TFLAGS="$(STAGE2_TFLAGS)"; \
41427 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41428 $(HOST_EXPORTS) \
41429 $(POSTSTAGE1_HOST_EXPORTS) \
41430 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
41431 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
41432 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
41433 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
41434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41435 cd $(HOST_SUBDIR)/zlib || exit 1; \
41436 case $(srcdir) in \
41437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41438 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41440 esac; \
41441 srcdiroption="--srcdir=$${topdir}/zlib"; \
41442 libsrcdir="$$s/zlib"; \
41443 $(SHELL) $${libsrcdir}/configure \
41444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41445 --target=${target_alias} $${srcdiroption} \
41446 --with-build-libsubdir=$(HOST_SUBDIR) \
41447 $(STAGE2_CONFIGURE_FLAGS)
41448 @endif zlib-bootstrap
41450 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
41451 maybe-configure-stage3-zlib:
41452 @if zlib-bootstrap
41453 maybe-configure-stage3-zlib: configure-stage3-zlib
41454 configure-stage3-zlib:
41455 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41456 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41457 @r=`${PWD_COMMAND}`; export r; \
41458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41459 TFLAGS="$(STAGE3_TFLAGS)"; \
41460 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41461 $(HOST_EXPORTS) \
41462 $(POSTSTAGE1_HOST_EXPORTS) \
41463 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
41464 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
41465 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
41466 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
41467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41468 cd $(HOST_SUBDIR)/zlib || exit 1; \
41469 case $(srcdir) in \
41470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41471 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41473 esac; \
41474 srcdiroption="--srcdir=$${topdir}/zlib"; \
41475 libsrcdir="$$s/zlib"; \
41476 $(SHELL) $${libsrcdir}/configure \
41477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41478 --target=${target_alias} $${srcdiroption} \
41479 --with-build-libsubdir=$(HOST_SUBDIR) \
41480 $(STAGE3_CONFIGURE_FLAGS)
41481 @endif zlib-bootstrap
41483 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
41484 maybe-configure-stage4-zlib:
41485 @if zlib-bootstrap
41486 maybe-configure-stage4-zlib: configure-stage4-zlib
41487 configure-stage4-zlib:
41488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41490 @r=`${PWD_COMMAND}`; export r; \
41491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41492 TFLAGS="$(STAGE4_TFLAGS)"; \
41493 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41494 $(HOST_EXPORTS) \
41495 $(POSTSTAGE1_HOST_EXPORTS) \
41496 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
41497 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
41498 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
41499 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
41500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41501 cd $(HOST_SUBDIR)/zlib || exit 1; \
41502 case $(srcdir) in \
41503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41504 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41506 esac; \
41507 srcdiroption="--srcdir=$${topdir}/zlib"; \
41508 libsrcdir="$$s/zlib"; \
41509 $(SHELL) $${libsrcdir}/configure \
41510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41511 --target=${target_alias} $${srcdiroption} \
41512 --with-build-libsubdir=$(HOST_SUBDIR) \
41513 $(STAGE4_CONFIGURE_FLAGS)
41514 @endif zlib-bootstrap
41516 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
41517 maybe-configure-stageprofile-zlib:
41518 @if zlib-bootstrap
41519 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
41520 configure-stageprofile-zlib:
41521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41523 @r=`${PWD_COMMAND}`; export r; \
41524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41526 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41527 $(HOST_EXPORTS) \
41528 $(POSTSTAGE1_HOST_EXPORTS) \
41529 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
41530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
41531 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
41532 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
41533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41534 cd $(HOST_SUBDIR)/zlib || exit 1; \
41535 case $(srcdir) in \
41536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41537 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41539 esac; \
41540 srcdiroption="--srcdir=$${topdir}/zlib"; \
41541 libsrcdir="$$s/zlib"; \
41542 $(SHELL) $${libsrcdir}/configure \
41543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41544 --target=${target_alias} $${srcdiroption} \
41545 --with-build-libsubdir=$(HOST_SUBDIR) \
41546 $(STAGEprofile_CONFIGURE_FLAGS)
41547 @endif zlib-bootstrap
41549 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
41550 maybe-configure-stagefeedback-zlib:
41551 @if zlib-bootstrap
41552 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
41553 configure-stagefeedback-zlib:
41554 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
41556 @r=`${PWD_COMMAND}`; export r; \
41557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41558 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41559 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
41560 $(HOST_EXPORTS) \
41561 $(POSTSTAGE1_HOST_EXPORTS) \
41562 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
41563 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
41564 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
41565 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
41566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
41567 cd $(HOST_SUBDIR)/zlib || exit 1; \
41568 case $(srcdir) in \
41569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41570 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
41571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41572 esac; \
41573 srcdiroption="--srcdir=$${topdir}/zlib"; \
41574 libsrcdir="$$s/zlib"; \
41575 $(SHELL) $${libsrcdir}/configure \
41576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41577 --target=${target_alias} $${srcdiroption} \
41578 --with-build-libsubdir=$(HOST_SUBDIR) \
41579 $(STAGEfeedback_CONFIGURE_FLAGS)
41580 @endif zlib-bootstrap
41586 .PHONY: all-zlib maybe-all-zlib
41587 maybe-all-zlib:
41588 @if gcc-bootstrap
41589 all-zlib: stage_current
41590 @endif gcc-bootstrap
41591 @if zlib
41592 TARGET-zlib=all
41593 maybe-all-zlib: all-zlib
41594 all-zlib: configure-zlib
41595 @r=`${PWD_COMMAND}`; export r; \
41596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41597 $(HOST_EXPORTS) \
41598 (cd $(HOST_SUBDIR)/zlib && \
41599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
41600 $(TARGET-zlib))
41601 @endif zlib
41605 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
41606 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
41607 maybe-all-stage1-zlib:
41608 maybe-clean-stage1-zlib:
41609 @if zlib-bootstrap
41610 maybe-all-stage1-zlib: all-stage1-zlib
41611 all-stage1: all-stage1-zlib
41612 TARGET-stage1-zlib = $(TARGET-zlib)
41613 all-stage1-zlib: configure-stage1-zlib
41614 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41615 @r=`${PWD_COMMAND}`; export r; \
41616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41617 TFLAGS="$(STAGE1_TFLAGS)"; \
41618 $(HOST_EXPORTS) \
41619 cd $(HOST_SUBDIR)/zlib && \
41620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41621 CFLAGS="$(STAGE1_CFLAGS)" \
41622 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
41623 LIBCFLAGS="$(LIBCFLAGS)" \
41624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41627 $(EXTRA_HOST_FLAGS) \
41628 TFLAGS="$(STAGE1_TFLAGS)" \
41629 $(TARGET-stage1-zlib)
41631 maybe-clean-stage1-zlib: clean-stage1-zlib
41632 clean-stage1: clean-stage1-zlib
41633 clean-stage1-zlib:
41634 @if [ $(current_stage) = stage1 ]; then \
41635 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41636 else \
41637 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
41638 $(MAKE) stage1-start; \
41639 fi; \
41640 cd $(HOST_SUBDIR)/zlib && \
41641 $(MAKE) $(EXTRA_HOST_FLAGS) \
41642 clean
41643 @endif zlib-bootstrap
41646 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
41647 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
41648 maybe-all-stage2-zlib:
41649 maybe-clean-stage2-zlib:
41650 @if zlib-bootstrap
41651 maybe-all-stage2-zlib: all-stage2-zlib
41652 all-stage2: all-stage2-zlib
41653 TARGET-stage2-zlib = $(TARGET-zlib)
41654 all-stage2-zlib: configure-stage2-zlib
41655 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41656 @r=`${PWD_COMMAND}`; export r; \
41657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41658 TFLAGS="$(STAGE2_TFLAGS)"; \
41659 $(HOST_EXPORTS) \
41660 $(POSTSTAGE1_HOST_EXPORTS) \
41661 cd $(HOST_SUBDIR)/zlib && \
41662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41663 CFLAGS="$(STAGE2_CFLAGS)" \
41664 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
41665 LIBCFLAGS="$(STAGE2_CFLAGS)" \
41666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
41670 TFLAGS="$(STAGE2_TFLAGS)" \
41671 $(TARGET-stage2-zlib)
41673 maybe-clean-stage2-zlib: clean-stage2-zlib
41674 clean-stage2: clean-stage2-zlib
41675 clean-stage2-zlib:
41676 @if [ $(current_stage) = stage2 ]; then \
41677 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41678 else \
41679 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
41680 $(MAKE) stage2-start; \
41681 fi; \
41682 cd $(HOST_SUBDIR)/zlib && \
41683 $(MAKE) $(EXTRA_HOST_FLAGS) \
41684 $(POSTSTAGE1_FLAGS_TO_PASS) \
41685 clean
41686 @endif zlib-bootstrap
41689 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
41690 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
41691 maybe-all-stage3-zlib:
41692 maybe-clean-stage3-zlib:
41693 @if zlib-bootstrap
41694 maybe-all-stage3-zlib: all-stage3-zlib
41695 all-stage3: all-stage3-zlib
41696 TARGET-stage3-zlib = $(TARGET-zlib)
41697 all-stage3-zlib: configure-stage3-zlib
41698 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41699 @r=`${PWD_COMMAND}`; export r; \
41700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41701 TFLAGS="$(STAGE3_TFLAGS)"; \
41702 $(HOST_EXPORTS) \
41703 $(POSTSTAGE1_HOST_EXPORTS) \
41704 cd $(HOST_SUBDIR)/zlib && \
41705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41706 CFLAGS="$(STAGE3_CFLAGS)" \
41707 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
41708 LIBCFLAGS="$(STAGE3_CFLAGS)" \
41709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
41713 TFLAGS="$(STAGE3_TFLAGS)" \
41714 $(TARGET-stage3-zlib)
41716 maybe-clean-stage3-zlib: clean-stage3-zlib
41717 clean-stage3: clean-stage3-zlib
41718 clean-stage3-zlib:
41719 @if [ $(current_stage) = stage3 ]; then \
41720 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41721 else \
41722 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
41723 $(MAKE) stage3-start; \
41724 fi; \
41725 cd $(HOST_SUBDIR)/zlib && \
41726 $(MAKE) $(EXTRA_HOST_FLAGS) \
41727 $(POSTSTAGE1_FLAGS_TO_PASS) \
41728 clean
41729 @endif zlib-bootstrap
41732 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
41733 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
41734 maybe-all-stage4-zlib:
41735 maybe-clean-stage4-zlib:
41736 @if zlib-bootstrap
41737 maybe-all-stage4-zlib: all-stage4-zlib
41738 all-stage4: all-stage4-zlib
41739 TARGET-stage4-zlib = $(TARGET-zlib)
41740 all-stage4-zlib: configure-stage4-zlib
41741 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41742 @r=`${PWD_COMMAND}`; export r; \
41743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41744 TFLAGS="$(STAGE4_TFLAGS)"; \
41745 $(HOST_EXPORTS) \
41746 $(POSTSTAGE1_HOST_EXPORTS) \
41747 cd $(HOST_SUBDIR)/zlib && \
41748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41749 CFLAGS="$(STAGE4_CFLAGS)" \
41750 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
41751 LIBCFLAGS="$(STAGE4_CFLAGS)" \
41752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
41756 TFLAGS="$(STAGE4_TFLAGS)" \
41757 $(TARGET-stage4-zlib)
41759 maybe-clean-stage4-zlib: clean-stage4-zlib
41760 clean-stage4: clean-stage4-zlib
41761 clean-stage4-zlib:
41762 @if [ $(current_stage) = stage4 ]; then \
41763 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41764 else \
41765 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
41766 $(MAKE) stage4-start; \
41767 fi; \
41768 cd $(HOST_SUBDIR)/zlib && \
41769 $(MAKE) $(EXTRA_HOST_FLAGS) \
41770 $(POSTSTAGE1_FLAGS_TO_PASS) \
41771 clean
41772 @endif zlib-bootstrap
41775 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
41776 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
41777 maybe-all-stageprofile-zlib:
41778 maybe-clean-stageprofile-zlib:
41779 @if zlib-bootstrap
41780 maybe-all-stageprofile-zlib: all-stageprofile-zlib
41781 all-stageprofile: all-stageprofile-zlib
41782 TARGET-stageprofile-zlib = $(TARGET-zlib)
41783 all-stageprofile-zlib: configure-stageprofile-zlib
41784 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41785 @r=`${PWD_COMMAND}`; export r; \
41786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41787 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41788 $(HOST_EXPORTS) \
41789 $(POSTSTAGE1_HOST_EXPORTS) \
41790 cd $(HOST_SUBDIR)/zlib && \
41791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41792 CFLAGS="$(STAGEprofile_CFLAGS)" \
41793 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
41794 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
41795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
41799 TFLAGS="$(STAGEprofile_TFLAGS)" \
41800 $(TARGET-stageprofile-zlib)
41802 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
41803 clean-stageprofile: clean-stageprofile-zlib
41804 clean-stageprofile-zlib:
41805 @if [ $(current_stage) = stageprofile ]; then \
41806 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41807 else \
41808 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
41809 $(MAKE) stageprofile-start; \
41810 fi; \
41811 cd $(HOST_SUBDIR)/zlib && \
41812 $(MAKE) $(EXTRA_HOST_FLAGS) \
41813 $(POSTSTAGE1_FLAGS_TO_PASS) \
41814 clean
41815 @endif zlib-bootstrap
41818 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
41819 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
41820 maybe-all-stagefeedback-zlib:
41821 maybe-clean-stagefeedback-zlib:
41822 @if zlib-bootstrap
41823 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
41824 all-stagefeedback: all-stagefeedback-zlib
41825 TARGET-stagefeedback-zlib = $(TARGET-zlib)
41826 all-stagefeedback-zlib: configure-stagefeedback-zlib
41827 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41828 @r=`${PWD_COMMAND}`; export r; \
41829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41831 $(HOST_EXPORTS) \
41832 $(POSTSTAGE1_HOST_EXPORTS) \
41833 cd $(HOST_SUBDIR)/zlib && \
41834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41835 CFLAGS="$(STAGEfeedback_CFLAGS)" \
41836 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
41837 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
41838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
41842 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41843 $(TARGET-stagefeedback-zlib)
41845 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
41846 clean-stagefeedback: clean-stagefeedback-zlib
41847 clean-stagefeedback-zlib:
41848 @if [ $(current_stage) = stagefeedback ]; then \
41849 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
41850 else \
41851 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
41852 $(MAKE) stagefeedback-start; \
41853 fi; \
41854 cd $(HOST_SUBDIR)/zlib && \
41855 $(MAKE) $(EXTRA_HOST_FLAGS) \
41856 $(POSTSTAGE1_FLAGS_TO_PASS) \
41857 clean
41858 @endif zlib-bootstrap
41864 .PHONY: check-zlib maybe-check-zlib
41865 maybe-check-zlib:
41866 @if zlib
41867 maybe-check-zlib: check-zlib
41869 check-zlib:
41871 @endif zlib
41873 .PHONY: install-zlib maybe-install-zlib
41874 maybe-install-zlib:
41875 @if zlib
41876 maybe-install-zlib: install-zlib
41878 install-zlib:
41880 @endif zlib
41882 .PHONY: install-strip-zlib maybe-install-strip-zlib
41883 maybe-install-strip-zlib:
41884 @if zlib
41885 maybe-install-strip-zlib: install-strip-zlib
41887 install-strip-zlib:
41889 @endif zlib
41891 # Other targets (info, dvi, pdf, etc.)
41893 .PHONY: maybe-info-zlib info-zlib
41894 maybe-info-zlib:
41895 @if zlib
41896 maybe-info-zlib: info-zlib
41898 info-zlib: \
41899 configure-zlib
41900 @[ -f ./zlib/Makefile ] || exit 0; \
41901 r=`${PWD_COMMAND}`; export r; \
41902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41903 $(HOST_EXPORTS) \
41904 for flag in $(EXTRA_HOST_FLAGS) ; do \
41905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41906 done; \
41907 echo "Doing info in zlib" ; \
41908 (cd $(HOST_SUBDIR)/zlib && \
41909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41911 "RANLIB=$${RANLIB}" \
41912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41913 info) \
41914 || exit 1
41916 @endif zlib
41918 .PHONY: maybe-dvi-zlib dvi-zlib
41919 maybe-dvi-zlib:
41920 @if zlib
41921 maybe-dvi-zlib: dvi-zlib
41923 dvi-zlib: \
41924 configure-zlib
41925 @[ -f ./zlib/Makefile ] || exit 0; \
41926 r=`${PWD_COMMAND}`; export r; \
41927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41928 $(HOST_EXPORTS) \
41929 for flag in $(EXTRA_HOST_FLAGS) ; do \
41930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41931 done; \
41932 echo "Doing dvi in zlib" ; \
41933 (cd $(HOST_SUBDIR)/zlib && \
41934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41936 "RANLIB=$${RANLIB}" \
41937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41938 dvi) \
41939 || exit 1
41941 @endif zlib
41943 .PHONY: maybe-pdf-zlib pdf-zlib
41944 maybe-pdf-zlib:
41945 @if zlib
41946 maybe-pdf-zlib: pdf-zlib
41948 pdf-zlib: \
41949 configure-zlib
41950 @[ -f ./zlib/Makefile ] || exit 0; \
41951 r=`${PWD_COMMAND}`; export r; \
41952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41953 $(HOST_EXPORTS) \
41954 for flag in $(EXTRA_HOST_FLAGS) ; do \
41955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41956 done; \
41957 echo "Doing pdf in zlib" ; \
41958 (cd $(HOST_SUBDIR)/zlib && \
41959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41961 "RANLIB=$${RANLIB}" \
41962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41963 pdf) \
41964 || exit 1
41966 @endif zlib
41968 .PHONY: maybe-html-zlib html-zlib
41969 maybe-html-zlib:
41970 @if zlib
41971 maybe-html-zlib: html-zlib
41973 html-zlib: \
41974 configure-zlib
41975 @[ -f ./zlib/Makefile ] || exit 0; \
41976 r=`${PWD_COMMAND}`; export r; \
41977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41978 $(HOST_EXPORTS) \
41979 for flag in $(EXTRA_HOST_FLAGS) ; do \
41980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41981 done; \
41982 echo "Doing html in zlib" ; \
41983 (cd $(HOST_SUBDIR)/zlib && \
41984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41986 "RANLIB=$${RANLIB}" \
41987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41988 html) \
41989 || exit 1
41991 @endif zlib
41993 .PHONY: maybe-TAGS-zlib TAGS-zlib
41994 maybe-TAGS-zlib:
41995 @if zlib
41996 maybe-TAGS-zlib: TAGS-zlib
41998 TAGS-zlib: \
41999 configure-zlib
42000 @[ -f ./zlib/Makefile ] || exit 0; \
42001 r=`${PWD_COMMAND}`; export r; \
42002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42003 $(HOST_EXPORTS) \
42004 for flag in $(EXTRA_HOST_FLAGS) ; do \
42005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42006 done; \
42007 echo "Doing TAGS in zlib" ; \
42008 (cd $(HOST_SUBDIR)/zlib && \
42009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42011 "RANLIB=$${RANLIB}" \
42012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42013 TAGS) \
42014 || exit 1
42016 @endif zlib
42018 .PHONY: maybe-install-info-zlib install-info-zlib
42019 maybe-install-info-zlib:
42020 @if zlib
42021 maybe-install-info-zlib: install-info-zlib
42023 install-info-zlib: \
42024 configure-zlib \
42025 info-zlib
42026 @[ -f ./zlib/Makefile ] || exit 0; \
42027 r=`${PWD_COMMAND}`; export r; \
42028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42029 $(HOST_EXPORTS) \
42030 for flag in $(EXTRA_HOST_FLAGS) ; do \
42031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42032 done; \
42033 echo "Doing install-info in zlib" ; \
42034 (cd $(HOST_SUBDIR)/zlib && \
42035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42037 "RANLIB=$${RANLIB}" \
42038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42039 install-info) \
42040 || exit 1
42042 @endif zlib
42044 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
42045 maybe-install-pdf-zlib:
42046 @if zlib
42047 maybe-install-pdf-zlib: install-pdf-zlib
42049 install-pdf-zlib: \
42050 configure-zlib \
42051 pdf-zlib
42052 @[ -f ./zlib/Makefile ] || exit 0; \
42053 r=`${PWD_COMMAND}`; export r; \
42054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42055 $(HOST_EXPORTS) \
42056 for flag in $(EXTRA_HOST_FLAGS) ; do \
42057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42058 done; \
42059 echo "Doing install-pdf in zlib" ; \
42060 (cd $(HOST_SUBDIR)/zlib && \
42061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42063 "RANLIB=$${RANLIB}" \
42064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42065 install-pdf) \
42066 || exit 1
42068 @endif zlib
42070 .PHONY: maybe-install-html-zlib install-html-zlib
42071 maybe-install-html-zlib:
42072 @if zlib
42073 maybe-install-html-zlib: install-html-zlib
42075 install-html-zlib: \
42076 configure-zlib \
42077 html-zlib
42078 @[ -f ./zlib/Makefile ] || exit 0; \
42079 r=`${PWD_COMMAND}`; export r; \
42080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42081 $(HOST_EXPORTS) \
42082 for flag in $(EXTRA_HOST_FLAGS) ; do \
42083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42084 done; \
42085 echo "Doing install-html in zlib" ; \
42086 (cd $(HOST_SUBDIR)/zlib && \
42087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42089 "RANLIB=$${RANLIB}" \
42090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42091 install-html) \
42092 || exit 1
42094 @endif zlib
42096 .PHONY: maybe-installcheck-zlib installcheck-zlib
42097 maybe-installcheck-zlib:
42098 @if zlib
42099 maybe-installcheck-zlib: installcheck-zlib
42101 installcheck-zlib: \
42102 configure-zlib
42103 @[ -f ./zlib/Makefile ] || exit 0; \
42104 r=`${PWD_COMMAND}`; export r; \
42105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42106 $(HOST_EXPORTS) \
42107 for flag in $(EXTRA_HOST_FLAGS) ; do \
42108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42109 done; \
42110 echo "Doing installcheck in zlib" ; \
42111 (cd $(HOST_SUBDIR)/zlib && \
42112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42114 "RANLIB=$${RANLIB}" \
42115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42116 installcheck) \
42117 || exit 1
42119 @endif zlib
42121 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
42122 maybe-mostlyclean-zlib:
42123 @if zlib
42124 maybe-mostlyclean-zlib: mostlyclean-zlib
42126 mostlyclean-zlib:
42127 @[ -f ./zlib/Makefile ] || exit 0; \
42128 r=`${PWD_COMMAND}`; export r; \
42129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42130 $(HOST_EXPORTS) \
42131 for flag in $(EXTRA_HOST_FLAGS) ; do \
42132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42133 done; \
42134 echo "Doing mostlyclean in zlib" ; \
42135 (cd $(HOST_SUBDIR)/zlib && \
42136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42138 "RANLIB=$${RANLIB}" \
42139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42140 mostlyclean) \
42141 || exit 1
42143 @endif zlib
42145 .PHONY: maybe-clean-zlib clean-zlib
42146 maybe-clean-zlib:
42147 @if zlib
42148 maybe-clean-zlib: clean-zlib
42150 clean-zlib:
42151 @[ -f ./zlib/Makefile ] || exit 0; \
42152 r=`${PWD_COMMAND}`; export r; \
42153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42154 $(HOST_EXPORTS) \
42155 for flag in $(EXTRA_HOST_FLAGS) ; do \
42156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42157 done; \
42158 echo "Doing clean in zlib" ; \
42159 (cd $(HOST_SUBDIR)/zlib && \
42160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42162 "RANLIB=$${RANLIB}" \
42163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42164 clean) \
42165 || exit 1
42167 @endif zlib
42169 .PHONY: maybe-distclean-zlib distclean-zlib
42170 maybe-distclean-zlib:
42171 @if zlib
42172 maybe-distclean-zlib: distclean-zlib
42174 distclean-zlib:
42175 @[ -f ./zlib/Makefile ] || exit 0; \
42176 r=`${PWD_COMMAND}`; export r; \
42177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42178 $(HOST_EXPORTS) \
42179 for flag in $(EXTRA_HOST_FLAGS) ; do \
42180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42181 done; \
42182 echo "Doing distclean in zlib" ; \
42183 (cd $(HOST_SUBDIR)/zlib && \
42184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42186 "RANLIB=$${RANLIB}" \
42187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42188 distclean) \
42189 || exit 1
42191 @endif zlib
42193 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
42194 maybe-maintainer-clean-zlib:
42195 @if zlib
42196 maybe-maintainer-clean-zlib: maintainer-clean-zlib
42198 maintainer-clean-zlib:
42199 @[ -f ./zlib/Makefile ] || exit 0; \
42200 r=`${PWD_COMMAND}`; export r; \
42201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42202 $(HOST_EXPORTS) \
42203 for flag in $(EXTRA_HOST_FLAGS) ; do \
42204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42205 done; \
42206 echo "Doing maintainer-clean in zlib" ; \
42207 (cd $(HOST_SUBDIR)/zlib && \
42208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42210 "RANLIB=$${RANLIB}" \
42211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42212 maintainer-clean) \
42213 || exit 1
42215 @endif zlib
42219 .PHONY: configure-gdb maybe-configure-gdb
42220 maybe-configure-gdb:
42221 @if gcc-bootstrap
42222 configure-gdb: stage_current
42223 @endif gcc-bootstrap
42224 @if gdb
42225 maybe-configure-gdb: configure-gdb
42226 configure-gdb:
42227 @: $(MAKE); $(unstage)
42228 @r=`${PWD_COMMAND}`; export r; \
42229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42230 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
42231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
42232 $(HOST_EXPORTS) \
42233 echo Configuring in $(HOST_SUBDIR)/gdb; \
42234 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
42235 case $(srcdir) in \
42236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42237 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
42238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42239 esac; \
42240 srcdiroption="--srcdir=$${topdir}/gdb"; \
42241 libsrcdir="$$s/gdb"; \
42242 $(SHELL) $${libsrcdir}/configure \
42243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42244 --target=${target_alias} $${srcdiroption} \
42245 || exit 1
42246 @endif gdb
42252 .PHONY: all-gdb maybe-all-gdb
42253 maybe-all-gdb:
42254 @if gcc-bootstrap
42255 all-gdb: stage_current
42256 @endif gcc-bootstrap
42257 @if gdb
42258 TARGET-gdb=all
42259 maybe-all-gdb: all-gdb
42260 all-gdb: configure-gdb
42261 @: $(MAKE); $(unstage)
42262 @r=`${PWD_COMMAND}`; export r; \
42263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42264 $(HOST_EXPORTS) \
42265 (cd $(HOST_SUBDIR)/gdb && \
42266 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
42267 $(TARGET-gdb))
42268 @endif gdb
42273 .PHONY: check-gdb maybe-check-gdb
42274 maybe-check-gdb:
42275 @if gdb
42276 maybe-check-gdb: check-gdb
42278 check-gdb:
42279 @: $(MAKE); $(unstage)
42280 @r=`${PWD_COMMAND}`; export r; \
42281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42282 $(HOST_EXPORTS) \
42283 (cd $(HOST_SUBDIR)/gdb && \
42284 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
42286 @endif gdb
42288 .PHONY: install-gdb maybe-install-gdb
42289 maybe-install-gdb:
42290 @if gdb
42291 maybe-install-gdb: install-gdb
42293 install-gdb: installdirs
42294 @: $(MAKE); $(unstage)
42295 @r=`${PWD_COMMAND}`; export r; \
42296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42297 $(HOST_EXPORTS) \
42298 (cd $(HOST_SUBDIR)/gdb && \
42299 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
42301 @endif gdb
42303 .PHONY: install-strip-gdb maybe-install-strip-gdb
42304 maybe-install-strip-gdb:
42305 @if gdb
42306 maybe-install-strip-gdb: install-strip-gdb
42308 install-strip-gdb: installdirs
42309 @: $(MAKE); $(unstage)
42310 @r=`${PWD_COMMAND}`; export r; \
42311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42312 $(HOST_EXPORTS) \
42313 (cd $(HOST_SUBDIR)/gdb && \
42314 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
42316 @endif gdb
42318 # Other targets (info, dvi, pdf, etc.)
42320 .PHONY: maybe-info-gdb info-gdb
42321 maybe-info-gdb:
42322 @if gdb
42323 maybe-info-gdb: info-gdb
42325 info-gdb: \
42326 configure-gdb
42327 @: $(MAKE); $(unstage)
42328 @[ -f ./gdb/Makefile ] || exit 0; \
42329 r=`${PWD_COMMAND}`; export r; \
42330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42331 $(HOST_EXPORTS) \
42332 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42334 done; \
42335 echo "Doing info in gdb" ; \
42336 (cd $(HOST_SUBDIR)/gdb && \
42337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42339 "RANLIB=$${RANLIB}" \
42340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42341 info) \
42342 || exit 1
42344 @endif gdb
42346 .PHONY: maybe-dvi-gdb dvi-gdb
42347 maybe-dvi-gdb:
42348 @if gdb
42349 maybe-dvi-gdb: dvi-gdb
42351 dvi-gdb: \
42352 configure-gdb
42353 @: $(MAKE); $(unstage)
42354 @[ -f ./gdb/Makefile ] || exit 0; \
42355 r=`${PWD_COMMAND}`; export r; \
42356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42357 $(HOST_EXPORTS) \
42358 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42360 done; \
42361 echo "Doing dvi in gdb" ; \
42362 (cd $(HOST_SUBDIR)/gdb && \
42363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42365 "RANLIB=$${RANLIB}" \
42366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42367 dvi) \
42368 || exit 1
42370 @endif gdb
42372 .PHONY: maybe-pdf-gdb pdf-gdb
42373 maybe-pdf-gdb:
42374 @if gdb
42375 maybe-pdf-gdb: pdf-gdb
42377 pdf-gdb: \
42378 configure-gdb
42379 @: $(MAKE); $(unstage)
42380 @[ -f ./gdb/Makefile ] || exit 0; \
42381 r=`${PWD_COMMAND}`; export r; \
42382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42383 $(HOST_EXPORTS) \
42384 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42386 done; \
42387 echo "Doing pdf in gdb" ; \
42388 (cd $(HOST_SUBDIR)/gdb && \
42389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42391 "RANLIB=$${RANLIB}" \
42392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42393 pdf) \
42394 || exit 1
42396 @endif gdb
42398 .PHONY: maybe-html-gdb html-gdb
42399 maybe-html-gdb:
42400 @if gdb
42401 maybe-html-gdb: html-gdb
42403 html-gdb: \
42404 configure-gdb
42405 @: $(MAKE); $(unstage)
42406 @[ -f ./gdb/Makefile ] || exit 0; \
42407 r=`${PWD_COMMAND}`; export r; \
42408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42409 $(HOST_EXPORTS) \
42410 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42412 done; \
42413 echo "Doing html in gdb" ; \
42414 (cd $(HOST_SUBDIR)/gdb && \
42415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42417 "RANLIB=$${RANLIB}" \
42418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42419 html) \
42420 || exit 1
42422 @endif gdb
42424 .PHONY: maybe-TAGS-gdb TAGS-gdb
42425 maybe-TAGS-gdb:
42426 @if gdb
42427 maybe-TAGS-gdb: TAGS-gdb
42429 TAGS-gdb: \
42430 configure-gdb
42431 @: $(MAKE); $(unstage)
42432 @[ -f ./gdb/Makefile ] || exit 0; \
42433 r=`${PWD_COMMAND}`; export r; \
42434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42435 $(HOST_EXPORTS) \
42436 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42438 done; \
42439 echo "Doing TAGS in gdb" ; \
42440 (cd $(HOST_SUBDIR)/gdb && \
42441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42443 "RANLIB=$${RANLIB}" \
42444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42445 TAGS) \
42446 || exit 1
42448 @endif gdb
42450 .PHONY: maybe-install-info-gdb install-info-gdb
42451 maybe-install-info-gdb:
42452 @if gdb
42453 maybe-install-info-gdb: install-info-gdb
42455 install-info-gdb: \
42456 configure-gdb \
42457 info-gdb
42458 @: $(MAKE); $(unstage)
42459 @[ -f ./gdb/Makefile ] || exit 0; \
42460 r=`${PWD_COMMAND}`; export r; \
42461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42462 $(HOST_EXPORTS) \
42463 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42465 done; \
42466 echo "Doing install-info in gdb" ; \
42467 (cd $(HOST_SUBDIR)/gdb && \
42468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42470 "RANLIB=$${RANLIB}" \
42471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42472 install-info) \
42473 || exit 1
42475 @endif gdb
42477 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
42478 maybe-install-pdf-gdb:
42479 @if gdb
42480 maybe-install-pdf-gdb: install-pdf-gdb
42482 install-pdf-gdb: \
42483 configure-gdb \
42484 pdf-gdb
42485 @: $(MAKE); $(unstage)
42486 @[ -f ./gdb/Makefile ] || exit 0; \
42487 r=`${PWD_COMMAND}`; export r; \
42488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42489 $(HOST_EXPORTS) \
42490 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42492 done; \
42493 echo "Doing install-pdf in gdb" ; \
42494 (cd $(HOST_SUBDIR)/gdb && \
42495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42497 "RANLIB=$${RANLIB}" \
42498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42499 install-pdf) \
42500 || exit 1
42502 @endif gdb
42504 .PHONY: maybe-install-html-gdb install-html-gdb
42505 maybe-install-html-gdb:
42506 @if gdb
42507 maybe-install-html-gdb: install-html-gdb
42509 install-html-gdb: \
42510 configure-gdb \
42511 html-gdb
42512 @: $(MAKE); $(unstage)
42513 @[ -f ./gdb/Makefile ] || exit 0; \
42514 r=`${PWD_COMMAND}`; export r; \
42515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42516 $(HOST_EXPORTS) \
42517 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42519 done; \
42520 echo "Doing install-html in gdb" ; \
42521 (cd $(HOST_SUBDIR)/gdb && \
42522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42524 "RANLIB=$${RANLIB}" \
42525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42526 install-html) \
42527 || exit 1
42529 @endif gdb
42531 .PHONY: maybe-installcheck-gdb installcheck-gdb
42532 maybe-installcheck-gdb:
42533 @if gdb
42534 maybe-installcheck-gdb: installcheck-gdb
42536 installcheck-gdb: \
42537 configure-gdb
42538 @: $(MAKE); $(unstage)
42539 @[ -f ./gdb/Makefile ] || exit 0; \
42540 r=`${PWD_COMMAND}`; export r; \
42541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42542 $(HOST_EXPORTS) \
42543 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42545 done; \
42546 echo "Doing installcheck in gdb" ; \
42547 (cd $(HOST_SUBDIR)/gdb && \
42548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42550 "RANLIB=$${RANLIB}" \
42551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42552 installcheck) \
42553 || exit 1
42555 @endif gdb
42557 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
42558 maybe-mostlyclean-gdb:
42559 @if gdb
42560 maybe-mostlyclean-gdb: mostlyclean-gdb
42562 mostlyclean-gdb:
42563 @: $(MAKE); $(unstage)
42564 @[ -f ./gdb/Makefile ] || exit 0; \
42565 r=`${PWD_COMMAND}`; export r; \
42566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42567 $(HOST_EXPORTS) \
42568 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42570 done; \
42571 echo "Doing mostlyclean in gdb" ; \
42572 (cd $(HOST_SUBDIR)/gdb && \
42573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42575 "RANLIB=$${RANLIB}" \
42576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42577 mostlyclean) \
42578 || exit 1
42580 @endif gdb
42582 .PHONY: maybe-clean-gdb clean-gdb
42583 maybe-clean-gdb:
42584 @if gdb
42585 maybe-clean-gdb: clean-gdb
42587 clean-gdb:
42588 @: $(MAKE); $(unstage)
42589 @[ -f ./gdb/Makefile ] || exit 0; \
42590 r=`${PWD_COMMAND}`; export r; \
42591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42592 $(HOST_EXPORTS) \
42593 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42595 done; \
42596 echo "Doing clean in gdb" ; \
42597 (cd $(HOST_SUBDIR)/gdb && \
42598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42600 "RANLIB=$${RANLIB}" \
42601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42602 clean) \
42603 || exit 1
42605 @endif gdb
42607 .PHONY: maybe-distclean-gdb distclean-gdb
42608 maybe-distclean-gdb:
42609 @if gdb
42610 maybe-distclean-gdb: distclean-gdb
42612 distclean-gdb:
42613 @: $(MAKE); $(unstage)
42614 @[ -f ./gdb/Makefile ] || exit 0; \
42615 r=`${PWD_COMMAND}`; export r; \
42616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42617 $(HOST_EXPORTS) \
42618 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42620 done; \
42621 echo "Doing distclean in gdb" ; \
42622 (cd $(HOST_SUBDIR)/gdb && \
42623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42625 "RANLIB=$${RANLIB}" \
42626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42627 distclean) \
42628 || exit 1
42630 @endif gdb
42632 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
42633 maybe-maintainer-clean-gdb:
42634 @if gdb
42635 maybe-maintainer-clean-gdb: maintainer-clean-gdb
42637 maintainer-clean-gdb:
42638 @: $(MAKE); $(unstage)
42639 @[ -f ./gdb/Makefile ] || exit 0; \
42640 r=`${PWD_COMMAND}`; export r; \
42641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42642 $(HOST_EXPORTS) \
42643 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42645 done; \
42646 echo "Doing maintainer-clean in gdb" ; \
42647 (cd $(HOST_SUBDIR)/gdb && \
42648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42650 "RANLIB=$${RANLIB}" \
42651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42652 maintainer-clean) \
42653 || exit 1
42655 @endif gdb
42659 .PHONY: configure-expect maybe-configure-expect
42660 maybe-configure-expect:
42661 @if gcc-bootstrap
42662 configure-expect: stage_current
42663 @endif gcc-bootstrap
42664 @if expect
42665 maybe-configure-expect: configure-expect
42666 configure-expect:
42667 @: $(MAKE); $(unstage)
42668 @r=`${PWD_COMMAND}`; export r; \
42669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42670 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
42671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
42672 $(HOST_EXPORTS) \
42673 echo Configuring in $(HOST_SUBDIR)/expect; \
42674 cd "$(HOST_SUBDIR)/expect" || exit 1; \
42675 case $(srcdir) in \
42676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42677 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
42678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42679 esac; \
42680 srcdiroption="--srcdir=$${topdir}/expect"; \
42681 libsrcdir="$$s/expect"; \
42682 $(SHELL) $${libsrcdir}/configure \
42683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42684 --target=${target_alias} $${srcdiroption} \
42685 || exit 1
42686 @endif expect
42692 .PHONY: all-expect maybe-all-expect
42693 maybe-all-expect:
42694 @if gcc-bootstrap
42695 all-expect: stage_current
42696 @endif gcc-bootstrap
42697 @if expect
42698 TARGET-expect=all
42699 maybe-all-expect: all-expect
42700 all-expect: configure-expect
42701 @: $(MAKE); $(unstage)
42702 @r=`${PWD_COMMAND}`; export r; \
42703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42704 $(HOST_EXPORTS) \
42705 (cd $(HOST_SUBDIR)/expect && \
42706 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
42707 $(TARGET-expect))
42708 @endif expect
42713 .PHONY: check-expect maybe-check-expect
42714 maybe-check-expect:
42715 @if expect
42716 maybe-check-expect: check-expect
42718 check-expect:
42719 @: $(MAKE); $(unstage)
42720 @r=`${PWD_COMMAND}`; export r; \
42721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42722 $(HOST_EXPORTS) \
42723 (cd $(HOST_SUBDIR)/expect && \
42724 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
42726 @endif expect
42728 .PHONY: install-expect maybe-install-expect
42729 maybe-install-expect:
42730 @if expect
42731 maybe-install-expect: install-expect
42733 install-expect: installdirs
42734 @: $(MAKE); $(unstage)
42735 @r=`${PWD_COMMAND}`; export r; \
42736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42737 $(HOST_EXPORTS) \
42738 (cd $(HOST_SUBDIR)/expect && \
42739 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
42741 @endif expect
42743 .PHONY: install-strip-expect maybe-install-strip-expect
42744 maybe-install-strip-expect:
42745 @if expect
42746 maybe-install-strip-expect: install-strip-expect
42748 install-strip-expect: installdirs
42749 @: $(MAKE); $(unstage)
42750 @r=`${PWD_COMMAND}`; export r; \
42751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42752 $(HOST_EXPORTS) \
42753 (cd $(HOST_SUBDIR)/expect && \
42754 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
42756 @endif expect
42758 # Other targets (info, dvi, pdf, etc.)
42760 .PHONY: maybe-info-expect info-expect
42761 maybe-info-expect:
42762 @if expect
42763 maybe-info-expect: info-expect
42765 info-expect: \
42766 configure-expect
42767 @: $(MAKE); $(unstage)
42768 @[ -f ./expect/Makefile ] || exit 0; \
42769 r=`${PWD_COMMAND}`; export r; \
42770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42771 $(HOST_EXPORTS) \
42772 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42774 done; \
42775 echo "Doing info in expect" ; \
42776 (cd $(HOST_SUBDIR)/expect && \
42777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42779 "RANLIB=$${RANLIB}" \
42780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42781 info) \
42782 || exit 1
42784 @endif expect
42786 .PHONY: maybe-dvi-expect dvi-expect
42787 maybe-dvi-expect:
42788 @if expect
42789 maybe-dvi-expect: dvi-expect
42791 dvi-expect: \
42792 configure-expect
42793 @: $(MAKE); $(unstage)
42794 @[ -f ./expect/Makefile ] || exit 0; \
42795 r=`${PWD_COMMAND}`; export r; \
42796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42797 $(HOST_EXPORTS) \
42798 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42800 done; \
42801 echo "Doing dvi in expect" ; \
42802 (cd $(HOST_SUBDIR)/expect && \
42803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42805 "RANLIB=$${RANLIB}" \
42806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42807 dvi) \
42808 || exit 1
42810 @endif expect
42812 .PHONY: maybe-pdf-expect pdf-expect
42813 maybe-pdf-expect:
42814 @if expect
42815 maybe-pdf-expect: pdf-expect
42817 pdf-expect: \
42818 configure-expect
42819 @: $(MAKE); $(unstage)
42820 @[ -f ./expect/Makefile ] || exit 0; \
42821 r=`${PWD_COMMAND}`; export r; \
42822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42823 $(HOST_EXPORTS) \
42824 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42826 done; \
42827 echo "Doing pdf in expect" ; \
42828 (cd $(HOST_SUBDIR)/expect && \
42829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42831 "RANLIB=$${RANLIB}" \
42832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42833 pdf) \
42834 || exit 1
42836 @endif expect
42838 .PHONY: maybe-html-expect html-expect
42839 maybe-html-expect:
42840 @if expect
42841 maybe-html-expect: html-expect
42843 html-expect: \
42844 configure-expect
42845 @: $(MAKE); $(unstage)
42846 @[ -f ./expect/Makefile ] || exit 0; \
42847 r=`${PWD_COMMAND}`; export r; \
42848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42849 $(HOST_EXPORTS) \
42850 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42852 done; \
42853 echo "Doing html in expect" ; \
42854 (cd $(HOST_SUBDIR)/expect && \
42855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42857 "RANLIB=$${RANLIB}" \
42858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42859 html) \
42860 || exit 1
42862 @endif expect
42864 .PHONY: maybe-TAGS-expect TAGS-expect
42865 maybe-TAGS-expect:
42866 @if expect
42867 maybe-TAGS-expect: TAGS-expect
42869 TAGS-expect: \
42870 configure-expect
42871 @: $(MAKE); $(unstage)
42872 @[ -f ./expect/Makefile ] || exit 0; \
42873 r=`${PWD_COMMAND}`; export r; \
42874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42875 $(HOST_EXPORTS) \
42876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42878 done; \
42879 echo "Doing TAGS in expect" ; \
42880 (cd $(HOST_SUBDIR)/expect && \
42881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42883 "RANLIB=$${RANLIB}" \
42884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42885 TAGS) \
42886 || exit 1
42888 @endif expect
42890 .PHONY: maybe-install-info-expect install-info-expect
42891 maybe-install-info-expect:
42892 @if expect
42893 maybe-install-info-expect: install-info-expect
42895 install-info-expect: \
42896 configure-expect \
42897 info-expect
42898 @: $(MAKE); $(unstage)
42899 @[ -f ./expect/Makefile ] || exit 0; \
42900 r=`${PWD_COMMAND}`; export r; \
42901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42902 $(HOST_EXPORTS) \
42903 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42905 done; \
42906 echo "Doing install-info in expect" ; \
42907 (cd $(HOST_SUBDIR)/expect && \
42908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42910 "RANLIB=$${RANLIB}" \
42911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42912 install-info) \
42913 || exit 1
42915 @endif expect
42917 .PHONY: maybe-install-pdf-expect install-pdf-expect
42918 maybe-install-pdf-expect:
42919 @if expect
42920 maybe-install-pdf-expect: install-pdf-expect
42922 install-pdf-expect: \
42923 configure-expect \
42924 pdf-expect
42925 @: $(MAKE); $(unstage)
42926 @[ -f ./expect/Makefile ] || exit 0; \
42927 r=`${PWD_COMMAND}`; export r; \
42928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42929 $(HOST_EXPORTS) \
42930 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42932 done; \
42933 echo "Doing install-pdf in expect" ; \
42934 (cd $(HOST_SUBDIR)/expect && \
42935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42937 "RANLIB=$${RANLIB}" \
42938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42939 install-pdf) \
42940 || exit 1
42942 @endif expect
42944 .PHONY: maybe-install-html-expect install-html-expect
42945 maybe-install-html-expect:
42946 @if expect
42947 maybe-install-html-expect: install-html-expect
42949 install-html-expect: \
42950 configure-expect \
42951 html-expect
42952 @: $(MAKE); $(unstage)
42953 @[ -f ./expect/Makefile ] || exit 0; \
42954 r=`${PWD_COMMAND}`; export r; \
42955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42956 $(HOST_EXPORTS) \
42957 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42959 done; \
42960 echo "Doing install-html in expect" ; \
42961 (cd $(HOST_SUBDIR)/expect && \
42962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42964 "RANLIB=$${RANLIB}" \
42965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42966 install-html) \
42967 || exit 1
42969 @endif expect
42971 .PHONY: maybe-installcheck-expect installcheck-expect
42972 maybe-installcheck-expect:
42973 @if expect
42974 maybe-installcheck-expect: installcheck-expect
42976 installcheck-expect: \
42977 configure-expect
42978 @: $(MAKE); $(unstage)
42979 @[ -f ./expect/Makefile ] || exit 0; \
42980 r=`${PWD_COMMAND}`; export r; \
42981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42982 $(HOST_EXPORTS) \
42983 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42985 done; \
42986 echo "Doing installcheck in expect" ; \
42987 (cd $(HOST_SUBDIR)/expect && \
42988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42990 "RANLIB=$${RANLIB}" \
42991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42992 installcheck) \
42993 || exit 1
42995 @endif expect
42997 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
42998 maybe-mostlyclean-expect:
42999 @if expect
43000 maybe-mostlyclean-expect: mostlyclean-expect
43002 mostlyclean-expect:
43003 @: $(MAKE); $(unstage)
43004 @[ -f ./expect/Makefile ] || exit 0; \
43005 r=`${PWD_COMMAND}`; export r; \
43006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43007 $(HOST_EXPORTS) \
43008 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43010 done; \
43011 echo "Doing mostlyclean in expect" ; \
43012 (cd $(HOST_SUBDIR)/expect && \
43013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43015 "RANLIB=$${RANLIB}" \
43016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43017 mostlyclean) \
43018 || exit 1
43020 @endif expect
43022 .PHONY: maybe-clean-expect clean-expect
43023 maybe-clean-expect:
43024 @if expect
43025 maybe-clean-expect: clean-expect
43027 clean-expect:
43028 @: $(MAKE); $(unstage)
43029 @[ -f ./expect/Makefile ] || exit 0; \
43030 r=`${PWD_COMMAND}`; export r; \
43031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43032 $(HOST_EXPORTS) \
43033 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43035 done; \
43036 echo "Doing clean in expect" ; \
43037 (cd $(HOST_SUBDIR)/expect && \
43038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43040 "RANLIB=$${RANLIB}" \
43041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43042 clean) \
43043 || exit 1
43045 @endif expect
43047 .PHONY: maybe-distclean-expect distclean-expect
43048 maybe-distclean-expect:
43049 @if expect
43050 maybe-distclean-expect: distclean-expect
43052 distclean-expect:
43053 @: $(MAKE); $(unstage)
43054 @[ -f ./expect/Makefile ] || exit 0; \
43055 r=`${PWD_COMMAND}`; export r; \
43056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43057 $(HOST_EXPORTS) \
43058 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43060 done; \
43061 echo "Doing distclean in expect" ; \
43062 (cd $(HOST_SUBDIR)/expect && \
43063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43065 "RANLIB=$${RANLIB}" \
43066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43067 distclean) \
43068 || exit 1
43070 @endif expect
43072 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
43073 maybe-maintainer-clean-expect:
43074 @if expect
43075 maybe-maintainer-clean-expect: maintainer-clean-expect
43077 maintainer-clean-expect:
43078 @: $(MAKE); $(unstage)
43079 @[ -f ./expect/Makefile ] || exit 0; \
43080 r=`${PWD_COMMAND}`; export r; \
43081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43082 $(HOST_EXPORTS) \
43083 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43085 done; \
43086 echo "Doing maintainer-clean in expect" ; \
43087 (cd $(HOST_SUBDIR)/expect && \
43088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43090 "RANLIB=$${RANLIB}" \
43091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43092 maintainer-clean) \
43093 || exit 1
43095 @endif expect
43099 .PHONY: configure-guile maybe-configure-guile
43100 maybe-configure-guile:
43101 @if gcc-bootstrap
43102 configure-guile: stage_current
43103 @endif gcc-bootstrap
43104 @if guile
43105 maybe-configure-guile: configure-guile
43106 configure-guile:
43107 @: $(MAKE); $(unstage)
43108 @r=`${PWD_COMMAND}`; export r; \
43109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43110 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
43111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
43112 $(HOST_EXPORTS) \
43113 echo Configuring in $(HOST_SUBDIR)/guile; \
43114 cd "$(HOST_SUBDIR)/guile" || exit 1; \
43115 case $(srcdir) in \
43116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43117 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
43118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43119 esac; \
43120 srcdiroption="--srcdir=$${topdir}/guile"; \
43121 libsrcdir="$$s/guile"; \
43122 $(SHELL) $${libsrcdir}/configure \
43123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43124 --target=${target_alias} $${srcdiroption} \
43125 || exit 1
43126 @endif guile
43132 .PHONY: all-guile maybe-all-guile
43133 maybe-all-guile:
43134 @if gcc-bootstrap
43135 all-guile: stage_current
43136 @endif gcc-bootstrap
43137 @if guile
43138 TARGET-guile=all
43139 maybe-all-guile: all-guile
43140 all-guile: configure-guile
43141 @: $(MAKE); $(unstage)
43142 @r=`${PWD_COMMAND}`; export r; \
43143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43144 $(HOST_EXPORTS) \
43145 (cd $(HOST_SUBDIR)/guile && \
43146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
43147 $(TARGET-guile))
43148 @endif guile
43153 .PHONY: check-guile maybe-check-guile
43154 maybe-check-guile:
43155 @if guile
43156 maybe-check-guile: check-guile
43158 check-guile:
43159 @: $(MAKE); $(unstage)
43160 @r=`${PWD_COMMAND}`; export r; \
43161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43162 $(HOST_EXPORTS) \
43163 (cd $(HOST_SUBDIR)/guile && \
43164 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
43166 @endif guile
43168 .PHONY: install-guile maybe-install-guile
43169 maybe-install-guile:
43170 @if guile
43171 maybe-install-guile: install-guile
43173 install-guile: installdirs
43174 @: $(MAKE); $(unstage)
43175 @r=`${PWD_COMMAND}`; export r; \
43176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43177 $(HOST_EXPORTS) \
43178 (cd $(HOST_SUBDIR)/guile && \
43179 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
43181 @endif guile
43183 .PHONY: install-strip-guile maybe-install-strip-guile
43184 maybe-install-strip-guile:
43185 @if guile
43186 maybe-install-strip-guile: install-strip-guile
43188 install-strip-guile: installdirs
43189 @: $(MAKE); $(unstage)
43190 @r=`${PWD_COMMAND}`; export r; \
43191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43192 $(HOST_EXPORTS) \
43193 (cd $(HOST_SUBDIR)/guile && \
43194 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
43196 @endif guile
43198 # Other targets (info, dvi, pdf, etc.)
43200 .PHONY: maybe-info-guile info-guile
43201 maybe-info-guile:
43202 @if guile
43203 maybe-info-guile: info-guile
43205 info-guile: \
43206 configure-guile
43207 @: $(MAKE); $(unstage)
43208 @[ -f ./guile/Makefile ] || exit 0; \
43209 r=`${PWD_COMMAND}`; export r; \
43210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43211 $(HOST_EXPORTS) \
43212 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43214 done; \
43215 echo "Doing info in guile" ; \
43216 (cd $(HOST_SUBDIR)/guile && \
43217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43219 "RANLIB=$${RANLIB}" \
43220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43221 info) \
43222 || exit 1
43224 @endif guile
43226 .PHONY: maybe-dvi-guile dvi-guile
43227 maybe-dvi-guile:
43228 @if guile
43229 maybe-dvi-guile: dvi-guile
43231 dvi-guile: \
43232 configure-guile
43233 @: $(MAKE); $(unstage)
43234 @[ -f ./guile/Makefile ] || exit 0; \
43235 r=`${PWD_COMMAND}`; export r; \
43236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43237 $(HOST_EXPORTS) \
43238 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43240 done; \
43241 echo "Doing dvi in guile" ; \
43242 (cd $(HOST_SUBDIR)/guile && \
43243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43245 "RANLIB=$${RANLIB}" \
43246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43247 dvi) \
43248 || exit 1
43250 @endif guile
43252 .PHONY: maybe-pdf-guile pdf-guile
43253 maybe-pdf-guile:
43254 @if guile
43255 maybe-pdf-guile: pdf-guile
43257 pdf-guile: \
43258 configure-guile
43259 @: $(MAKE); $(unstage)
43260 @[ -f ./guile/Makefile ] || exit 0; \
43261 r=`${PWD_COMMAND}`; export r; \
43262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43263 $(HOST_EXPORTS) \
43264 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43266 done; \
43267 echo "Doing pdf in guile" ; \
43268 (cd $(HOST_SUBDIR)/guile && \
43269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43271 "RANLIB=$${RANLIB}" \
43272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43273 pdf) \
43274 || exit 1
43276 @endif guile
43278 .PHONY: maybe-html-guile html-guile
43279 maybe-html-guile:
43280 @if guile
43281 maybe-html-guile: html-guile
43283 html-guile: \
43284 configure-guile
43285 @: $(MAKE); $(unstage)
43286 @[ -f ./guile/Makefile ] || exit 0; \
43287 r=`${PWD_COMMAND}`; export r; \
43288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43289 $(HOST_EXPORTS) \
43290 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43292 done; \
43293 echo "Doing html in guile" ; \
43294 (cd $(HOST_SUBDIR)/guile && \
43295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43297 "RANLIB=$${RANLIB}" \
43298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43299 html) \
43300 || exit 1
43302 @endif guile
43304 .PHONY: maybe-TAGS-guile TAGS-guile
43305 maybe-TAGS-guile:
43306 @if guile
43307 maybe-TAGS-guile: TAGS-guile
43309 TAGS-guile: \
43310 configure-guile
43311 @: $(MAKE); $(unstage)
43312 @[ -f ./guile/Makefile ] || exit 0; \
43313 r=`${PWD_COMMAND}`; export r; \
43314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43315 $(HOST_EXPORTS) \
43316 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43318 done; \
43319 echo "Doing TAGS in guile" ; \
43320 (cd $(HOST_SUBDIR)/guile && \
43321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43323 "RANLIB=$${RANLIB}" \
43324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43325 TAGS) \
43326 || exit 1
43328 @endif guile
43330 .PHONY: maybe-install-info-guile install-info-guile
43331 maybe-install-info-guile:
43332 @if guile
43333 maybe-install-info-guile: install-info-guile
43335 install-info-guile: \
43336 configure-guile \
43337 info-guile
43338 @: $(MAKE); $(unstage)
43339 @[ -f ./guile/Makefile ] || exit 0; \
43340 r=`${PWD_COMMAND}`; export r; \
43341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43342 $(HOST_EXPORTS) \
43343 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43345 done; \
43346 echo "Doing install-info in guile" ; \
43347 (cd $(HOST_SUBDIR)/guile && \
43348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43350 "RANLIB=$${RANLIB}" \
43351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43352 install-info) \
43353 || exit 1
43355 @endif guile
43357 .PHONY: maybe-install-pdf-guile install-pdf-guile
43358 maybe-install-pdf-guile:
43359 @if guile
43360 maybe-install-pdf-guile: install-pdf-guile
43362 install-pdf-guile: \
43363 configure-guile \
43364 pdf-guile
43365 @: $(MAKE); $(unstage)
43366 @[ -f ./guile/Makefile ] || exit 0; \
43367 r=`${PWD_COMMAND}`; export r; \
43368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43369 $(HOST_EXPORTS) \
43370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43372 done; \
43373 echo "Doing install-pdf in guile" ; \
43374 (cd $(HOST_SUBDIR)/guile && \
43375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43377 "RANLIB=$${RANLIB}" \
43378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43379 install-pdf) \
43380 || exit 1
43382 @endif guile
43384 .PHONY: maybe-install-html-guile install-html-guile
43385 maybe-install-html-guile:
43386 @if guile
43387 maybe-install-html-guile: install-html-guile
43389 install-html-guile: \
43390 configure-guile \
43391 html-guile
43392 @: $(MAKE); $(unstage)
43393 @[ -f ./guile/Makefile ] || exit 0; \
43394 r=`${PWD_COMMAND}`; export r; \
43395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43396 $(HOST_EXPORTS) \
43397 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43399 done; \
43400 echo "Doing install-html in guile" ; \
43401 (cd $(HOST_SUBDIR)/guile && \
43402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43404 "RANLIB=$${RANLIB}" \
43405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43406 install-html) \
43407 || exit 1
43409 @endif guile
43411 .PHONY: maybe-installcheck-guile installcheck-guile
43412 maybe-installcheck-guile:
43413 @if guile
43414 maybe-installcheck-guile: installcheck-guile
43416 installcheck-guile: \
43417 configure-guile
43418 @: $(MAKE); $(unstage)
43419 @[ -f ./guile/Makefile ] || exit 0; \
43420 r=`${PWD_COMMAND}`; export r; \
43421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43422 $(HOST_EXPORTS) \
43423 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43425 done; \
43426 echo "Doing installcheck in guile" ; \
43427 (cd $(HOST_SUBDIR)/guile && \
43428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43430 "RANLIB=$${RANLIB}" \
43431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43432 installcheck) \
43433 || exit 1
43435 @endif guile
43437 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
43438 maybe-mostlyclean-guile:
43439 @if guile
43440 maybe-mostlyclean-guile: mostlyclean-guile
43442 mostlyclean-guile:
43443 @: $(MAKE); $(unstage)
43444 @[ -f ./guile/Makefile ] || exit 0; \
43445 r=`${PWD_COMMAND}`; export r; \
43446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43447 $(HOST_EXPORTS) \
43448 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43450 done; \
43451 echo "Doing mostlyclean in guile" ; \
43452 (cd $(HOST_SUBDIR)/guile && \
43453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43455 "RANLIB=$${RANLIB}" \
43456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43457 mostlyclean) \
43458 || exit 1
43460 @endif guile
43462 .PHONY: maybe-clean-guile clean-guile
43463 maybe-clean-guile:
43464 @if guile
43465 maybe-clean-guile: clean-guile
43467 clean-guile:
43468 @: $(MAKE); $(unstage)
43469 @[ -f ./guile/Makefile ] || exit 0; \
43470 r=`${PWD_COMMAND}`; export r; \
43471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43472 $(HOST_EXPORTS) \
43473 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43475 done; \
43476 echo "Doing clean in guile" ; \
43477 (cd $(HOST_SUBDIR)/guile && \
43478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43480 "RANLIB=$${RANLIB}" \
43481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43482 clean) \
43483 || exit 1
43485 @endif guile
43487 .PHONY: maybe-distclean-guile distclean-guile
43488 maybe-distclean-guile:
43489 @if guile
43490 maybe-distclean-guile: distclean-guile
43492 distclean-guile:
43493 @: $(MAKE); $(unstage)
43494 @[ -f ./guile/Makefile ] || exit 0; \
43495 r=`${PWD_COMMAND}`; export r; \
43496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43497 $(HOST_EXPORTS) \
43498 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43500 done; \
43501 echo "Doing distclean in guile" ; \
43502 (cd $(HOST_SUBDIR)/guile && \
43503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43505 "RANLIB=$${RANLIB}" \
43506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43507 distclean) \
43508 || exit 1
43510 @endif guile
43512 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
43513 maybe-maintainer-clean-guile:
43514 @if guile
43515 maybe-maintainer-clean-guile: maintainer-clean-guile
43517 maintainer-clean-guile:
43518 @: $(MAKE); $(unstage)
43519 @[ -f ./guile/Makefile ] || exit 0; \
43520 r=`${PWD_COMMAND}`; export r; \
43521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43522 $(HOST_EXPORTS) \
43523 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43525 done; \
43526 echo "Doing maintainer-clean in guile" ; \
43527 (cd $(HOST_SUBDIR)/guile && \
43528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43530 "RANLIB=$${RANLIB}" \
43531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43532 maintainer-clean) \
43533 || exit 1
43535 @endif guile
43539 .PHONY: configure-tk maybe-configure-tk
43540 maybe-configure-tk:
43541 @if gcc-bootstrap
43542 configure-tk: stage_current
43543 @endif gcc-bootstrap
43544 @if tk
43545 maybe-configure-tk: configure-tk
43546 configure-tk:
43547 @: $(MAKE); $(unstage)
43548 @r=`${PWD_COMMAND}`; export r; \
43549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43550 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
43551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
43552 $(HOST_EXPORTS) \
43553 echo Configuring in $(HOST_SUBDIR)/tk; \
43554 cd "$(HOST_SUBDIR)/tk" || exit 1; \
43555 case $(srcdir) in \
43556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43557 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
43558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43559 esac; \
43560 srcdiroption="--srcdir=$${topdir}/tk"; \
43561 libsrcdir="$$s/tk"; \
43562 $(SHELL) $${libsrcdir}/configure \
43563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43564 --target=${target_alias} $${srcdiroption} \
43565 || exit 1
43566 @endif tk
43572 .PHONY: all-tk maybe-all-tk
43573 maybe-all-tk:
43574 @if gcc-bootstrap
43575 all-tk: stage_current
43576 @endif gcc-bootstrap
43577 @if tk
43578 TARGET-tk=all
43579 maybe-all-tk: all-tk
43580 all-tk: configure-tk
43581 @: $(MAKE); $(unstage)
43582 @r=`${PWD_COMMAND}`; export r; \
43583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43584 $(HOST_EXPORTS) \
43585 (cd $(HOST_SUBDIR)/tk && \
43586 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
43587 $(TARGET-tk))
43588 @endif tk
43593 .PHONY: check-tk maybe-check-tk
43594 maybe-check-tk:
43595 @if tk
43596 maybe-check-tk: check-tk
43598 check-tk:
43599 @: $(MAKE); $(unstage)
43600 @r=`${PWD_COMMAND}`; export r; \
43601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43602 $(HOST_EXPORTS) \
43603 (cd $(HOST_SUBDIR)/tk && \
43604 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
43606 @endif tk
43608 .PHONY: install-tk maybe-install-tk
43609 maybe-install-tk:
43610 @if tk
43611 maybe-install-tk: install-tk
43613 install-tk: installdirs
43614 @: $(MAKE); $(unstage)
43615 @r=`${PWD_COMMAND}`; export r; \
43616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43617 $(HOST_EXPORTS) \
43618 (cd $(HOST_SUBDIR)/tk && \
43619 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
43621 @endif tk
43623 .PHONY: install-strip-tk maybe-install-strip-tk
43624 maybe-install-strip-tk:
43625 @if tk
43626 maybe-install-strip-tk: install-strip-tk
43628 install-strip-tk: installdirs
43629 @: $(MAKE); $(unstage)
43630 @r=`${PWD_COMMAND}`; export r; \
43631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43632 $(HOST_EXPORTS) \
43633 (cd $(HOST_SUBDIR)/tk && \
43634 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
43636 @endif tk
43638 # Other targets (info, dvi, pdf, etc.)
43640 .PHONY: maybe-info-tk info-tk
43641 maybe-info-tk:
43642 @if tk
43643 maybe-info-tk: info-tk
43645 info-tk: \
43646 configure-tk
43647 @: $(MAKE); $(unstage)
43648 @[ -f ./tk/Makefile ] || exit 0; \
43649 r=`${PWD_COMMAND}`; export r; \
43650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43651 $(HOST_EXPORTS) \
43652 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43654 done; \
43655 echo "Doing info in tk" ; \
43656 (cd $(HOST_SUBDIR)/tk && \
43657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43659 "RANLIB=$${RANLIB}" \
43660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43661 info) \
43662 || exit 1
43664 @endif tk
43666 .PHONY: maybe-dvi-tk dvi-tk
43667 maybe-dvi-tk:
43668 @if tk
43669 maybe-dvi-tk: dvi-tk
43671 dvi-tk: \
43672 configure-tk
43673 @: $(MAKE); $(unstage)
43674 @[ -f ./tk/Makefile ] || exit 0; \
43675 r=`${PWD_COMMAND}`; export r; \
43676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43677 $(HOST_EXPORTS) \
43678 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43680 done; \
43681 echo "Doing dvi in tk" ; \
43682 (cd $(HOST_SUBDIR)/tk && \
43683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43685 "RANLIB=$${RANLIB}" \
43686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43687 dvi) \
43688 || exit 1
43690 @endif tk
43692 .PHONY: maybe-pdf-tk pdf-tk
43693 maybe-pdf-tk:
43694 @if tk
43695 maybe-pdf-tk: pdf-tk
43697 pdf-tk: \
43698 configure-tk
43699 @: $(MAKE); $(unstage)
43700 @[ -f ./tk/Makefile ] || exit 0; \
43701 r=`${PWD_COMMAND}`; export r; \
43702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43703 $(HOST_EXPORTS) \
43704 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43706 done; \
43707 echo "Doing pdf in tk" ; \
43708 (cd $(HOST_SUBDIR)/tk && \
43709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43711 "RANLIB=$${RANLIB}" \
43712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43713 pdf) \
43714 || exit 1
43716 @endif tk
43718 .PHONY: maybe-html-tk html-tk
43719 maybe-html-tk:
43720 @if tk
43721 maybe-html-tk: html-tk
43723 html-tk: \
43724 configure-tk
43725 @: $(MAKE); $(unstage)
43726 @[ -f ./tk/Makefile ] || exit 0; \
43727 r=`${PWD_COMMAND}`; export r; \
43728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43729 $(HOST_EXPORTS) \
43730 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43732 done; \
43733 echo "Doing html in tk" ; \
43734 (cd $(HOST_SUBDIR)/tk && \
43735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43737 "RANLIB=$${RANLIB}" \
43738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43739 html) \
43740 || exit 1
43742 @endif tk
43744 .PHONY: maybe-TAGS-tk TAGS-tk
43745 maybe-TAGS-tk:
43746 @if tk
43747 maybe-TAGS-tk: TAGS-tk
43749 TAGS-tk: \
43750 configure-tk
43751 @: $(MAKE); $(unstage)
43752 @[ -f ./tk/Makefile ] || exit 0; \
43753 r=`${PWD_COMMAND}`; export r; \
43754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43755 $(HOST_EXPORTS) \
43756 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43758 done; \
43759 echo "Doing TAGS in tk" ; \
43760 (cd $(HOST_SUBDIR)/tk && \
43761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43763 "RANLIB=$${RANLIB}" \
43764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43765 TAGS) \
43766 || exit 1
43768 @endif tk
43770 .PHONY: maybe-install-info-tk install-info-tk
43771 maybe-install-info-tk:
43772 @if tk
43773 maybe-install-info-tk: install-info-tk
43775 install-info-tk: \
43776 configure-tk \
43777 info-tk
43778 @: $(MAKE); $(unstage)
43779 @[ -f ./tk/Makefile ] || exit 0; \
43780 r=`${PWD_COMMAND}`; export r; \
43781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43782 $(HOST_EXPORTS) \
43783 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43785 done; \
43786 echo "Doing install-info in tk" ; \
43787 (cd $(HOST_SUBDIR)/tk && \
43788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43790 "RANLIB=$${RANLIB}" \
43791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43792 install-info) \
43793 || exit 1
43795 @endif tk
43797 .PHONY: maybe-install-pdf-tk install-pdf-tk
43798 maybe-install-pdf-tk:
43799 @if tk
43800 maybe-install-pdf-tk: install-pdf-tk
43802 install-pdf-tk: \
43803 configure-tk \
43804 pdf-tk
43805 @: $(MAKE); $(unstage)
43806 @[ -f ./tk/Makefile ] || exit 0; \
43807 r=`${PWD_COMMAND}`; export r; \
43808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43809 $(HOST_EXPORTS) \
43810 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43812 done; \
43813 echo "Doing install-pdf in tk" ; \
43814 (cd $(HOST_SUBDIR)/tk && \
43815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43817 "RANLIB=$${RANLIB}" \
43818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43819 install-pdf) \
43820 || exit 1
43822 @endif tk
43824 .PHONY: maybe-install-html-tk install-html-tk
43825 maybe-install-html-tk:
43826 @if tk
43827 maybe-install-html-tk: install-html-tk
43829 install-html-tk: \
43830 configure-tk \
43831 html-tk
43832 @: $(MAKE); $(unstage)
43833 @[ -f ./tk/Makefile ] || exit 0; \
43834 r=`${PWD_COMMAND}`; export r; \
43835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43836 $(HOST_EXPORTS) \
43837 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43839 done; \
43840 echo "Doing install-html in tk" ; \
43841 (cd $(HOST_SUBDIR)/tk && \
43842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43844 "RANLIB=$${RANLIB}" \
43845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43846 install-html) \
43847 || exit 1
43849 @endif tk
43851 .PHONY: maybe-installcheck-tk installcheck-tk
43852 maybe-installcheck-tk:
43853 @if tk
43854 maybe-installcheck-tk: installcheck-tk
43856 installcheck-tk: \
43857 configure-tk
43858 @: $(MAKE); $(unstage)
43859 @[ -f ./tk/Makefile ] || exit 0; \
43860 r=`${PWD_COMMAND}`; export r; \
43861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43862 $(HOST_EXPORTS) \
43863 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43865 done; \
43866 echo "Doing installcheck in tk" ; \
43867 (cd $(HOST_SUBDIR)/tk && \
43868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43870 "RANLIB=$${RANLIB}" \
43871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43872 installcheck) \
43873 || exit 1
43875 @endif tk
43877 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
43878 maybe-mostlyclean-tk:
43879 @if tk
43880 maybe-mostlyclean-tk: mostlyclean-tk
43882 mostlyclean-tk:
43883 @: $(MAKE); $(unstage)
43884 @[ -f ./tk/Makefile ] || exit 0; \
43885 r=`${PWD_COMMAND}`; export r; \
43886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43887 $(HOST_EXPORTS) \
43888 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43890 done; \
43891 echo "Doing mostlyclean in tk" ; \
43892 (cd $(HOST_SUBDIR)/tk && \
43893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43895 "RANLIB=$${RANLIB}" \
43896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43897 mostlyclean) \
43898 || exit 1
43900 @endif tk
43902 .PHONY: maybe-clean-tk clean-tk
43903 maybe-clean-tk:
43904 @if tk
43905 maybe-clean-tk: clean-tk
43907 clean-tk:
43908 @: $(MAKE); $(unstage)
43909 @[ -f ./tk/Makefile ] || exit 0; \
43910 r=`${PWD_COMMAND}`; export r; \
43911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43912 $(HOST_EXPORTS) \
43913 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43915 done; \
43916 echo "Doing clean in tk" ; \
43917 (cd $(HOST_SUBDIR)/tk && \
43918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43920 "RANLIB=$${RANLIB}" \
43921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43922 clean) \
43923 || exit 1
43925 @endif tk
43927 .PHONY: maybe-distclean-tk distclean-tk
43928 maybe-distclean-tk:
43929 @if tk
43930 maybe-distclean-tk: distclean-tk
43932 distclean-tk:
43933 @: $(MAKE); $(unstage)
43934 @[ -f ./tk/Makefile ] || exit 0; \
43935 r=`${PWD_COMMAND}`; export r; \
43936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43937 $(HOST_EXPORTS) \
43938 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43940 done; \
43941 echo "Doing distclean in tk" ; \
43942 (cd $(HOST_SUBDIR)/tk && \
43943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43945 "RANLIB=$${RANLIB}" \
43946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43947 distclean) \
43948 || exit 1
43950 @endif tk
43952 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
43953 maybe-maintainer-clean-tk:
43954 @if tk
43955 maybe-maintainer-clean-tk: maintainer-clean-tk
43957 maintainer-clean-tk:
43958 @: $(MAKE); $(unstage)
43959 @[ -f ./tk/Makefile ] || exit 0; \
43960 r=`${PWD_COMMAND}`; export r; \
43961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43962 $(HOST_EXPORTS) \
43963 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
43964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43965 done; \
43966 echo "Doing maintainer-clean in tk" ; \
43967 (cd $(HOST_SUBDIR)/tk && \
43968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43970 "RANLIB=$${RANLIB}" \
43971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43972 maintainer-clean) \
43973 || exit 1
43975 @endif tk
43979 .PHONY: configure-libtermcap maybe-configure-libtermcap
43980 maybe-configure-libtermcap:
43981 @if gcc-bootstrap
43982 configure-libtermcap: stage_current
43983 @endif gcc-bootstrap
43984 @if libtermcap
43985 maybe-configure-libtermcap: configure-libtermcap
43986 configure-libtermcap:
43987 @: $(MAKE); $(unstage)
43988 @r=`${PWD_COMMAND}`; export r; \
43989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43990 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
43991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
43992 $(HOST_EXPORTS) \
43993 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
43994 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
43995 case $(srcdir) in \
43996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43997 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
43998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43999 esac; \
44000 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
44001 libsrcdir="$$s/libtermcap"; \
44002 $(SHELL) $${libsrcdir}/configure \
44003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44004 --target=${target_alias} $${srcdiroption} \
44005 || exit 1
44006 @endif libtermcap
44012 .PHONY: all-libtermcap maybe-all-libtermcap
44013 maybe-all-libtermcap:
44014 @if gcc-bootstrap
44015 all-libtermcap: stage_current
44016 @endif gcc-bootstrap
44017 @if libtermcap
44018 TARGET-libtermcap=all
44019 maybe-all-libtermcap: all-libtermcap
44020 all-libtermcap: configure-libtermcap
44021 @: $(MAKE); $(unstage)
44022 @r=`${PWD_COMMAND}`; export r; \
44023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44024 $(HOST_EXPORTS) \
44025 (cd $(HOST_SUBDIR)/libtermcap && \
44026 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
44027 $(TARGET-libtermcap))
44028 @endif libtermcap
44033 .PHONY: check-libtermcap maybe-check-libtermcap
44034 maybe-check-libtermcap:
44035 @if libtermcap
44036 maybe-check-libtermcap: check-libtermcap
44038 check-libtermcap:
44040 @endif libtermcap
44042 .PHONY: install-libtermcap maybe-install-libtermcap
44043 maybe-install-libtermcap:
44044 @if libtermcap
44045 maybe-install-libtermcap: install-libtermcap
44047 install-libtermcap: installdirs
44048 @: $(MAKE); $(unstage)
44049 @r=`${PWD_COMMAND}`; export r; \
44050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44051 $(HOST_EXPORTS) \
44052 (cd $(HOST_SUBDIR)/libtermcap && \
44053 $(MAKE) $(FLAGS_TO_PASS) install)
44055 @endif libtermcap
44057 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
44058 maybe-install-strip-libtermcap:
44059 @if libtermcap
44060 maybe-install-strip-libtermcap: install-strip-libtermcap
44062 install-strip-libtermcap: installdirs
44063 @: $(MAKE); $(unstage)
44064 @r=`${PWD_COMMAND}`; export r; \
44065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44066 $(HOST_EXPORTS) \
44067 (cd $(HOST_SUBDIR)/libtermcap && \
44068 $(MAKE) $(FLAGS_TO_PASS) install-strip)
44070 @endif libtermcap
44072 # Other targets (info, dvi, pdf, etc.)
44074 .PHONY: maybe-info-libtermcap info-libtermcap
44075 maybe-info-libtermcap:
44076 @if libtermcap
44077 maybe-info-libtermcap: info-libtermcap
44079 info-libtermcap: \
44080 configure-libtermcap
44081 @: $(MAKE); $(unstage)
44082 @[ -f ./libtermcap/Makefile ] || exit 0; \
44083 r=`${PWD_COMMAND}`; export r; \
44084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44085 $(HOST_EXPORTS) \
44086 for flag in $(EXTRA_HOST_FLAGS) ; do \
44087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44088 done; \
44089 echo "Doing info in libtermcap" ; \
44090 (cd $(HOST_SUBDIR)/libtermcap && \
44091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44093 "RANLIB=$${RANLIB}" \
44094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44095 info) \
44096 || exit 1
44098 @endif libtermcap
44100 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
44101 maybe-dvi-libtermcap:
44102 @if libtermcap
44103 maybe-dvi-libtermcap: dvi-libtermcap
44105 dvi-libtermcap: \
44106 configure-libtermcap
44107 @: $(MAKE); $(unstage)
44108 @[ -f ./libtermcap/Makefile ] || exit 0; \
44109 r=`${PWD_COMMAND}`; export r; \
44110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44111 $(HOST_EXPORTS) \
44112 for flag in $(EXTRA_HOST_FLAGS) ; do \
44113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44114 done; \
44115 echo "Doing dvi in libtermcap" ; \
44116 (cd $(HOST_SUBDIR)/libtermcap && \
44117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44119 "RANLIB=$${RANLIB}" \
44120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44121 dvi) \
44122 || exit 1
44124 @endif libtermcap
44126 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
44127 maybe-pdf-libtermcap:
44128 @if libtermcap
44129 maybe-pdf-libtermcap: pdf-libtermcap
44131 pdf-libtermcap: \
44132 configure-libtermcap
44133 @: $(MAKE); $(unstage)
44134 @[ -f ./libtermcap/Makefile ] || exit 0; \
44135 r=`${PWD_COMMAND}`; export r; \
44136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44137 $(HOST_EXPORTS) \
44138 for flag in $(EXTRA_HOST_FLAGS) ; do \
44139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44140 done; \
44141 echo "Doing pdf in libtermcap" ; \
44142 (cd $(HOST_SUBDIR)/libtermcap && \
44143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44145 "RANLIB=$${RANLIB}" \
44146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44147 pdf) \
44148 || exit 1
44150 @endif libtermcap
44152 .PHONY: maybe-html-libtermcap html-libtermcap
44153 maybe-html-libtermcap:
44154 @if libtermcap
44155 maybe-html-libtermcap: html-libtermcap
44157 html-libtermcap: \
44158 configure-libtermcap
44159 @: $(MAKE); $(unstage)
44160 @[ -f ./libtermcap/Makefile ] || exit 0; \
44161 r=`${PWD_COMMAND}`; export r; \
44162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44163 $(HOST_EXPORTS) \
44164 for flag in $(EXTRA_HOST_FLAGS) ; do \
44165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44166 done; \
44167 echo "Doing html in libtermcap" ; \
44168 (cd $(HOST_SUBDIR)/libtermcap && \
44169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44171 "RANLIB=$${RANLIB}" \
44172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44173 html) \
44174 || exit 1
44176 @endif libtermcap
44178 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
44179 maybe-TAGS-libtermcap:
44180 @if libtermcap
44181 maybe-TAGS-libtermcap: TAGS-libtermcap
44183 TAGS-libtermcap: \
44184 configure-libtermcap
44185 @: $(MAKE); $(unstage)
44186 @[ -f ./libtermcap/Makefile ] || exit 0; \
44187 r=`${PWD_COMMAND}`; export r; \
44188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44189 $(HOST_EXPORTS) \
44190 for flag in $(EXTRA_HOST_FLAGS) ; do \
44191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44192 done; \
44193 echo "Doing TAGS in libtermcap" ; \
44194 (cd $(HOST_SUBDIR)/libtermcap && \
44195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44197 "RANLIB=$${RANLIB}" \
44198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44199 TAGS) \
44200 || exit 1
44202 @endif libtermcap
44204 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
44205 maybe-install-info-libtermcap:
44206 @if libtermcap
44207 maybe-install-info-libtermcap: install-info-libtermcap
44209 install-info-libtermcap: \
44210 configure-libtermcap \
44211 info-libtermcap
44212 @: $(MAKE); $(unstage)
44213 @[ -f ./libtermcap/Makefile ] || exit 0; \
44214 r=`${PWD_COMMAND}`; export r; \
44215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44216 $(HOST_EXPORTS) \
44217 for flag in $(EXTRA_HOST_FLAGS) ; do \
44218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44219 done; \
44220 echo "Doing install-info in libtermcap" ; \
44221 (cd $(HOST_SUBDIR)/libtermcap && \
44222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44224 "RANLIB=$${RANLIB}" \
44225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44226 install-info) \
44227 || exit 1
44229 @endif libtermcap
44231 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
44232 maybe-install-pdf-libtermcap:
44233 @if libtermcap
44234 maybe-install-pdf-libtermcap: install-pdf-libtermcap
44236 install-pdf-libtermcap: \
44237 configure-libtermcap \
44238 pdf-libtermcap
44239 @: $(MAKE); $(unstage)
44240 @[ -f ./libtermcap/Makefile ] || exit 0; \
44241 r=`${PWD_COMMAND}`; export r; \
44242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44243 $(HOST_EXPORTS) \
44244 for flag in $(EXTRA_HOST_FLAGS) ; do \
44245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44246 done; \
44247 echo "Doing install-pdf in libtermcap" ; \
44248 (cd $(HOST_SUBDIR)/libtermcap && \
44249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44251 "RANLIB=$${RANLIB}" \
44252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44253 install-pdf) \
44254 || exit 1
44256 @endif libtermcap
44258 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
44259 maybe-install-html-libtermcap:
44260 @if libtermcap
44261 maybe-install-html-libtermcap: install-html-libtermcap
44263 install-html-libtermcap: \
44264 configure-libtermcap \
44265 html-libtermcap
44266 @: $(MAKE); $(unstage)
44267 @[ -f ./libtermcap/Makefile ] || exit 0; \
44268 r=`${PWD_COMMAND}`; export r; \
44269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44270 $(HOST_EXPORTS) \
44271 for flag in $(EXTRA_HOST_FLAGS) ; do \
44272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44273 done; \
44274 echo "Doing install-html in libtermcap" ; \
44275 (cd $(HOST_SUBDIR)/libtermcap && \
44276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44278 "RANLIB=$${RANLIB}" \
44279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44280 install-html) \
44281 || exit 1
44283 @endif libtermcap
44285 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
44286 maybe-installcheck-libtermcap:
44287 @if libtermcap
44288 maybe-installcheck-libtermcap: installcheck-libtermcap
44290 installcheck-libtermcap: \
44291 configure-libtermcap
44292 @: $(MAKE); $(unstage)
44293 @[ -f ./libtermcap/Makefile ] || exit 0; \
44294 r=`${PWD_COMMAND}`; export r; \
44295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44296 $(HOST_EXPORTS) \
44297 for flag in $(EXTRA_HOST_FLAGS) ; do \
44298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44299 done; \
44300 echo "Doing installcheck in libtermcap" ; \
44301 (cd $(HOST_SUBDIR)/libtermcap && \
44302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44304 "RANLIB=$${RANLIB}" \
44305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44306 installcheck) \
44307 || exit 1
44309 @endif libtermcap
44311 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
44312 maybe-mostlyclean-libtermcap:
44313 @if libtermcap
44314 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
44316 # libtermcap doesn't support mostlyclean.
44317 mostlyclean-libtermcap:
44319 @endif libtermcap
44321 .PHONY: maybe-clean-libtermcap clean-libtermcap
44322 maybe-clean-libtermcap:
44323 @if libtermcap
44324 maybe-clean-libtermcap: clean-libtermcap
44326 # libtermcap doesn't support clean.
44327 clean-libtermcap:
44329 @endif libtermcap
44331 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
44332 maybe-distclean-libtermcap:
44333 @if libtermcap
44334 maybe-distclean-libtermcap: distclean-libtermcap
44336 # libtermcap doesn't support distclean.
44337 distclean-libtermcap:
44339 @endif libtermcap
44341 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
44342 maybe-maintainer-clean-libtermcap:
44343 @if libtermcap
44344 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
44346 # libtermcap doesn't support maintainer-clean.
44347 maintainer-clean-libtermcap:
44349 @endif libtermcap
44353 .PHONY: configure-utils maybe-configure-utils
44354 maybe-configure-utils:
44355 @if gcc-bootstrap
44356 configure-utils: stage_current
44357 @endif gcc-bootstrap
44358 @if utils
44359 maybe-configure-utils: configure-utils
44360 configure-utils:
44361 @: $(MAKE); $(unstage)
44362 @r=`${PWD_COMMAND}`; export r; \
44363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44364 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
44365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
44366 $(HOST_EXPORTS) \
44367 echo Configuring in $(HOST_SUBDIR)/utils; \
44368 cd "$(HOST_SUBDIR)/utils" || exit 1; \
44369 case $(srcdir) in \
44370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44371 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
44372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44373 esac; \
44374 srcdiroption="--srcdir=$${topdir}/utils"; \
44375 libsrcdir="$$s/utils"; \
44376 $(SHELL) $${libsrcdir}/configure \
44377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44378 --target=${target_alias} $${srcdiroption} \
44379 || exit 1
44380 @endif utils
44386 .PHONY: all-utils maybe-all-utils
44387 maybe-all-utils:
44388 @if gcc-bootstrap
44389 all-utils: stage_current
44390 @endif gcc-bootstrap
44391 @if utils
44392 TARGET-utils=all
44393 maybe-all-utils: all-utils
44394 all-utils: configure-utils
44395 @: $(MAKE); $(unstage)
44396 @r=`${PWD_COMMAND}`; export r; \
44397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44398 $(HOST_EXPORTS) \
44399 (cd $(HOST_SUBDIR)/utils && \
44400 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
44401 $(TARGET-utils))
44402 @endif utils
44407 .PHONY: check-utils maybe-check-utils
44408 maybe-check-utils:
44409 @if utils
44410 maybe-check-utils: check-utils
44412 check-utils:
44414 @endif utils
44416 .PHONY: install-utils maybe-install-utils
44417 maybe-install-utils:
44418 @if utils
44419 maybe-install-utils: install-utils
44421 install-utils: installdirs
44422 @: $(MAKE); $(unstage)
44423 @r=`${PWD_COMMAND}`; export r; \
44424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44425 $(HOST_EXPORTS) \
44426 (cd $(HOST_SUBDIR)/utils && \
44427 $(MAKE) $(FLAGS_TO_PASS) install)
44429 @endif utils
44431 .PHONY: install-strip-utils maybe-install-strip-utils
44432 maybe-install-strip-utils:
44433 @if utils
44434 maybe-install-strip-utils: install-strip-utils
44436 install-strip-utils: installdirs
44437 @: $(MAKE); $(unstage)
44438 @r=`${PWD_COMMAND}`; export r; \
44439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44440 $(HOST_EXPORTS) \
44441 (cd $(HOST_SUBDIR)/utils && \
44442 $(MAKE) $(FLAGS_TO_PASS) install-strip)
44444 @endif utils
44446 # Other targets (info, dvi, pdf, etc.)
44448 .PHONY: maybe-info-utils info-utils
44449 maybe-info-utils:
44450 @if utils
44451 maybe-info-utils: info-utils
44453 info-utils: \
44454 configure-utils
44455 @: $(MAKE); $(unstage)
44456 @[ -f ./utils/Makefile ] || exit 0; \
44457 r=`${PWD_COMMAND}`; export r; \
44458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44459 $(HOST_EXPORTS) \
44460 for flag in $(EXTRA_HOST_FLAGS) ; do \
44461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44462 done; \
44463 echo "Doing info in utils" ; \
44464 (cd $(HOST_SUBDIR)/utils && \
44465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44467 "RANLIB=$${RANLIB}" \
44468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44469 info) \
44470 || exit 1
44472 @endif utils
44474 .PHONY: maybe-dvi-utils dvi-utils
44475 maybe-dvi-utils:
44476 @if utils
44477 maybe-dvi-utils: dvi-utils
44479 dvi-utils: \
44480 configure-utils
44481 @: $(MAKE); $(unstage)
44482 @[ -f ./utils/Makefile ] || exit 0; \
44483 r=`${PWD_COMMAND}`; export r; \
44484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44485 $(HOST_EXPORTS) \
44486 for flag in $(EXTRA_HOST_FLAGS) ; do \
44487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44488 done; \
44489 echo "Doing dvi in utils" ; \
44490 (cd $(HOST_SUBDIR)/utils && \
44491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44493 "RANLIB=$${RANLIB}" \
44494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44495 dvi) \
44496 || exit 1
44498 @endif utils
44500 .PHONY: maybe-pdf-utils pdf-utils
44501 maybe-pdf-utils:
44502 @if utils
44503 maybe-pdf-utils: pdf-utils
44505 pdf-utils: \
44506 configure-utils
44507 @: $(MAKE); $(unstage)
44508 @[ -f ./utils/Makefile ] || exit 0; \
44509 r=`${PWD_COMMAND}`; export r; \
44510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44511 $(HOST_EXPORTS) \
44512 for flag in $(EXTRA_HOST_FLAGS) ; do \
44513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44514 done; \
44515 echo "Doing pdf in utils" ; \
44516 (cd $(HOST_SUBDIR)/utils && \
44517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44519 "RANLIB=$${RANLIB}" \
44520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44521 pdf) \
44522 || exit 1
44524 @endif utils
44526 .PHONY: maybe-html-utils html-utils
44527 maybe-html-utils:
44528 @if utils
44529 maybe-html-utils: html-utils
44531 html-utils: \
44532 configure-utils
44533 @: $(MAKE); $(unstage)
44534 @[ -f ./utils/Makefile ] || exit 0; \
44535 r=`${PWD_COMMAND}`; export r; \
44536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44537 $(HOST_EXPORTS) \
44538 for flag in $(EXTRA_HOST_FLAGS) ; do \
44539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44540 done; \
44541 echo "Doing html in utils" ; \
44542 (cd $(HOST_SUBDIR)/utils && \
44543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44545 "RANLIB=$${RANLIB}" \
44546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44547 html) \
44548 || exit 1
44550 @endif utils
44552 .PHONY: maybe-TAGS-utils TAGS-utils
44553 maybe-TAGS-utils:
44554 @if utils
44555 maybe-TAGS-utils: TAGS-utils
44557 TAGS-utils: \
44558 configure-utils
44559 @: $(MAKE); $(unstage)
44560 @[ -f ./utils/Makefile ] || exit 0; \
44561 r=`${PWD_COMMAND}`; export r; \
44562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44563 $(HOST_EXPORTS) \
44564 for flag in $(EXTRA_HOST_FLAGS) ; do \
44565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44566 done; \
44567 echo "Doing TAGS in utils" ; \
44568 (cd $(HOST_SUBDIR)/utils && \
44569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44571 "RANLIB=$${RANLIB}" \
44572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44573 TAGS) \
44574 || exit 1
44576 @endif utils
44578 .PHONY: maybe-install-info-utils install-info-utils
44579 maybe-install-info-utils:
44580 @if utils
44581 maybe-install-info-utils: install-info-utils
44583 install-info-utils: \
44584 configure-utils \
44585 info-utils
44586 @: $(MAKE); $(unstage)
44587 @[ -f ./utils/Makefile ] || exit 0; \
44588 r=`${PWD_COMMAND}`; export r; \
44589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44590 $(HOST_EXPORTS) \
44591 for flag in $(EXTRA_HOST_FLAGS) ; do \
44592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44593 done; \
44594 echo "Doing install-info in utils" ; \
44595 (cd $(HOST_SUBDIR)/utils && \
44596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44598 "RANLIB=$${RANLIB}" \
44599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44600 install-info) \
44601 || exit 1
44603 @endif utils
44605 .PHONY: maybe-install-pdf-utils install-pdf-utils
44606 maybe-install-pdf-utils:
44607 @if utils
44608 maybe-install-pdf-utils: install-pdf-utils
44610 install-pdf-utils: \
44611 configure-utils \
44612 pdf-utils
44613 @: $(MAKE); $(unstage)
44614 @[ -f ./utils/Makefile ] || exit 0; \
44615 r=`${PWD_COMMAND}`; export r; \
44616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44617 $(HOST_EXPORTS) \
44618 for flag in $(EXTRA_HOST_FLAGS) ; do \
44619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44620 done; \
44621 echo "Doing install-pdf in utils" ; \
44622 (cd $(HOST_SUBDIR)/utils && \
44623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44625 "RANLIB=$${RANLIB}" \
44626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44627 install-pdf) \
44628 || exit 1
44630 @endif utils
44632 .PHONY: maybe-install-html-utils install-html-utils
44633 maybe-install-html-utils:
44634 @if utils
44635 maybe-install-html-utils: install-html-utils
44637 install-html-utils: \
44638 configure-utils \
44639 html-utils
44640 @: $(MAKE); $(unstage)
44641 @[ -f ./utils/Makefile ] || exit 0; \
44642 r=`${PWD_COMMAND}`; export r; \
44643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44644 $(HOST_EXPORTS) \
44645 for flag in $(EXTRA_HOST_FLAGS) ; do \
44646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44647 done; \
44648 echo "Doing install-html in utils" ; \
44649 (cd $(HOST_SUBDIR)/utils && \
44650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44652 "RANLIB=$${RANLIB}" \
44653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44654 install-html) \
44655 || exit 1
44657 @endif utils
44659 .PHONY: maybe-installcheck-utils installcheck-utils
44660 maybe-installcheck-utils:
44661 @if utils
44662 maybe-installcheck-utils: installcheck-utils
44664 installcheck-utils: \
44665 configure-utils
44666 @: $(MAKE); $(unstage)
44667 @[ -f ./utils/Makefile ] || exit 0; \
44668 r=`${PWD_COMMAND}`; export r; \
44669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44670 $(HOST_EXPORTS) \
44671 for flag in $(EXTRA_HOST_FLAGS) ; do \
44672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44673 done; \
44674 echo "Doing installcheck in utils" ; \
44675 (cd $(HOST_SUBDIR)/utils && \
44676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44678 "RANLIB=$${RANLIB}" \
44679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44680 installcheck) \
44681 || exit 1
44683 @endif utils
44685 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
44686 maybe-mostlyclean-utils:
44687 @if utils
44688 maybe-mostlyclean-utils: mostlyclean-utils
44690 mostlyclean-utils:
44691 @: $(MAKE); $(unstage)
44692 @[ -f ./utils/Makefile ] || exit 0; \
44693 r=`${PWD_COMMAND}`; export r; \
44694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44695 $(HOST_EXPORTS) \
44696 for flag in $(EXTRA_HOST_FLAGS) ; do \
44697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44698 done; \
44699 echo "Doing mostlyclean in utils" ; \
44700 (cd $(HOST_SUBDIR)/utils && \
44701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44703 "RANLIB=$${RANLIB}" \
44704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44705 mostlyclean) \
44706 || exit 1
44708 @endif utils
44710 .PHONY: maybe-clean-utils clean-utils
44711 maybe-clean-utils:
44712 @if utils
44713 maybe-clean-utils: clean-utils
44715 clean-utils:
44716 @: $(MAKE); $(unstage)
44717 @[ -f ./utils/Makefile ] || exit 0; \
44718 r=`${PWD_COMMAND}`; export r; \
44719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44720 $(HOST_EXPORTS) \
44721 for flag in $(EXTRA_HOST_FLAGS) ; do \
44722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44723 done; \
44724 echo "Doing clean in utils" ; \
44725 (cd $(HOST_SUBDIR)/utils && \
44726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44728 "RANLIB=$${RANLIB}" \
44729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44730 clean) \
44731 || exit 1
44733 @endif utils
44735 .PHONY: maybe-distclean-utils distclean-utils
44736 maybe-distclean-utils:
44737 @if utils
44738 maybe-distclean-utils: distclean-utils
44740 distclean-utils:
44741 @: $(MAKE); $(unstage)
44742 @[ -f ./utils/Makefile ] || exit 0; \
44743 r=`${PWD_COMMAND}`; export r; \
44744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44745 $(HOST_EXPORTS) \
44746 for flag in $(EXTRA_HOST_FLAGS) ; do \
44747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44748 done; \
44749 echo "Doing distclean in utils" ; \
44750 (cd $(HOST_SUBDIR)/utils && \
44751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44753 "RANLIB=$${RANLIB}" \
44754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44755 distclean) \
44756 || exit 1
44758 @endif utils
44760 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
44761 maybe-maintainer-clean-utils:
44762 @if utils
44763 maybe-maintainer-clean-utils: maintainer-clean-utils
44765 maintainer-clean-utils:
44766 @: $(MAKE); $(unstage)
44767 @[ -f ./utils/Makefile ] || exit 0; \
44768 r=`${PWD_COMMAND}`; export r; \
44769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44770 $(HOST_EXPORTS) \
44771 for flag in $(EXTRA_HOST_FLAGS) ; do \
44772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44773 done; \
44774 echo "Doing maintainer-clean in utils" ; \
44775 (cd $(HOST_SUBDIR)/utils && \
44776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44778 "RANLIB=$${RANLIB}" \
44779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44780 maintainer-clean) \
44781 || exit 1
44783 @endif utils
44787 .PHONY: configure-gnattools maybe-configure-gnattools
44788 maybe-configure-gnattools:
44789 @if gcc-bootstrap
44790 configure-gnattools: stage_current
44791 @endif gcc-bootstrap
44792 @if gnattools
44793 maybe-configure-gnattools: configure-gnattools
44794 configure-gnattools:
44795 @: $(MAKE); $(unstage)
44796 @r=`${PWD_COMMAND}`; export r; \
44797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44798 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
44799 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
44800 $(HOST_EXPORTS) \
44801 echo Configuring in $(HOST_SUBDIR)/gnattools; \
44802 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
44803 case $(srcdir) in \
44804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44805 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
44806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44807 esac; \
44808 srcdiroption="--srcdir=$${topdir}/gnattools"; \
44809 libsrcdir="$$s/gnattools"; \
44810 $(SHELL) $${libsrcdir}/configure \
44811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44812 --target=${target_alias} $${srcdiroption} \
44813 || exit 1
44814 @endif gnattools
44820 .PHONY: all-gnattools maybe-all-gnattools
44821 maybe-all-gnattools:
44822 @if gcc-bootstrap
44823 all-gnattools: stage_current
44824 @endif gcc-bootstrap
44825 @if gnattools
44826 TARGET-gnattools=all
44827 maybe-all-gnattools: all-gnattools
44828 all-gnattools: configure-gnattools
44829 @: $(MAKE); $(unstage)
44830 @r=`${PWD_COMMAND}`; export r; \
44831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44832 $(HOST_EXPORTS) \
44833 (cd $(HOST_SUBDIR)/gnattools && \
44834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
44835 $(TARGET-gnattools))
44836 @endif gnattools
44841 .PHONY: check-gnattools maybe-check-gnattools
44842 maybe-check-gnattools:
44843 @if gnattools
44844 maybe-check-gnattools: check-gnattools
44846 check-gnattools:
44847 @: $(MAKE); $(unstage)
44848 @r=`${PWD_COMMAND}`; export r; \
44849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44850 $(HOST_EXPORTS) \
44851 (cd $(HOST_SUBDIR)/gnattools && \
44852 $(MAKE) $(FLAGS_TO_PASS) check)
44854 @endif gnattools
44856 .PHONY: install-gnattools maybe-install-gnattools
44857 maybe-install-gnattools:
44858 @if gnattools
44859 maybe-install-gnattools: install-gnattools
44861 install-gnattools: installdirs
44862 @: $(MAKE); $(unstage)
44863 @r=`${PWD_COMMAND}`; export r; \
44864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44865 $(HOST_EXPORTS) \
44866 (cd $(HOST_SUBDIR)/gnattools && \
44867 $(MAKE) $(FLAGS_TO_PASS) install)
44869 @endif gnattools
44871 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
44872 maybe-install-strip-gnattools:
44873 @if gnattools
44874 maybe-install-strip-gnattools: install-strip-gnattools
44876 install-strip-gnattools: installdirs
44877 @: $(MAKE); $(unstage)
44878 @r=`${PWD_COMMAND}`; export r; \
44879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44880 $(HOST_EXPORTS) \
44881 (cd $(HOST_SUBDIR)/gnattools && \
44882 $(MAKE) $(FLAGS_TO_PASS) install-strip)
44884 @endif gnattools
44886 # Other targets (info, dvi, pdf, etc.)
44888 .PHONY: maybe-info-gnattools info-gnattools
44889 maybe-info-gnattools:
44890 @if gnattools
44891 maybe-info-gnattools: info-gnattools
44893 info-gnattools: \
44894 configure-gnattools
44895 @: $(MAKE); $(unstage)
44896 @[ -f ./gnattools/Makefile ] || exit 0; \
44897 r=`${PWD_COMMAND}`; export r; \
44898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44899 $(HOST_EXPORTS) \
44900 for flag in $(EXTRA_HOST_FLAGS) ; do \
44901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44902 done; \
44903 echo "Doing info in gnattools" ; \
44904 (cd $(HOST_SUBDIR)/gnattools && \
44905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44907 "RANLIB=$${RANLIB}" \
44908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44909 info) \
44910 || exit 1
44912 @endif gnattools
44914 .PHONY: maybe-dvi-gnattools dvi-gnattools
44915 maybe-dvi-gnattools:
44916 @if gnattools
44917 maybe-dvi-gnattools: dvi-gnattools
44919 dvi-gnattools: \
44920 configure-gnattools
44921 @: $(MAKE); $(unstage)
44922 @[ -f ./gnattools/Makefile ] || exit 0; \
44923 r=`${PWD_COMMAND}`; export r; \
44924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44925 $(HOST_EXPORTS) \
44926 for flag in $(EXTRA_HOST_FLAGS) ; do \
44927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44928 done; \
44929 echo "Doing dvi in gnattools" ; \
44930 (cd $(HOST_SUBDIR)/gnattools && \
44931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44933 "RANLIB=$${RANLIB}" \
44934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44935 dvi) \
44936 || exit 1
44938 @endif gnattools
44940 .PHONY: maybe-pdf-gnattools pdf-gnattools
44941 maybe-pdf-gnattools:
44942 @if gnattools
44943 maybe-pdf-gnattools: pdf-gnattools
44945 pdf-gnattools: \
44946 configure-gnattools
44947 @: $(MAKE); $(unstage)
44948 @[ -f ./gnattools/Makefile ] || exit 0; \
44949 r=`${PWD_COMMAND}`; export r; \
44950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44951 $(HOST_EXPORTS) \
44952 for flag in $(EXTRA_HOST_FLAGS) ; do \
44953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44954 done; \
44955 echo "Doing pdf in gnattools" ; \
44956 (cd $(HOST_SUBDIR)/gnattools && \
44957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44959 "RANLIB=$${RANLIB}" \
44960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44961 pdf) \
44962 || exit 1
44964 @endif gnattools
44966 .PHONY: maybe-html-gnattools html-gnattools
44967 maybe-html-gnattools:
44968 @if gnattools
44969 maybe-html-gnattools: html-gnattools
44971 html-gnattools: \
44972 configure-gnattools
44973 @: $(MAKE); $(unstage)
44974 @[ -f ./gnattools/Makefile ] || exit 0; \
44975 r=`${PWD_COMMAND}`; export r; \
44976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44977 $(HOST_EXPORTS) \
44978 for flag in $(EXTRA_HOST_FLAGS) ; do \
44979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44980 done; \
44981 echo "Doing html in gnattools" ; \
44982 (cd $(HOST_SUBDIR)/gnattools && \
44983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44985 "RANLIB=$${RANLIB}" \
44986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44987 html) \
44988 || exit 1
44990 @endif gnattools
44992 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
44993 maybe-TAGS-gnattools:
44994 @if gnattools
44995 maybe-TAGS-gnattools: TAGS-gnattools
44997 TAGS-gnattools: \
44998 configure-gnattools
44999 @: $(MAKE); $(unstage)
45000 @[ -f ./gnattools/Makefile ] || exit 0; \
45001 r=`${PWD_COMMAND}`; export r; \
45002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45003 $(HOST_EXPORTS) \
45004 for flag in $(EXTRA_HOST_FLAGS) ; do \
45005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45006 done; \
45007 echo "Doing TAGS in gnattools" ; \
45008 (cd $(HOST_SUBDIR)/gnattools && \
45009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45011 "RANLIB=$${RANLIB}" \
45012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45013 TAGS) \
45014 || exit 1
45016 @endif gnattools
45018 .PHONY: maybe-install-info-gnattools install-info-gnattools
45019 maybe-install-info-gnattools:
45020 @if gnattools
45021 maybe-install-info-gnattools: install-info-gnattools
45023 install-info-gnattools: \
45024 configure-gnattools \
45025 info-gnattools
45026 @: $(MAKE); $(unstage)
45027 @[ -f ./gnattools/Makefile ] || exit 0; \
45028 r=`${PWD_COMMAND}`; export r; \
45029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45030 $(HOST_EXPORTS) \
45031 for flag in $(EXTRA_HOST_FLAGS) ; do \
45032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45033 done; \
45034 echo "Doing install-info in gnattools" ; \
45035 (cd $(HOST_SUBDIR)/gnattools && \
45036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45038 "RANLIB=$${RANLIB}" \
45039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45040 install-info) \
45041 || exit 1
45043 @endif gnattools
45045 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
45046 maybe-install-pdf-gnattools:
45047 @if gnattools
45048 maybe-install-pdf-gnattools: install-pdf-gnattools
45050 install-pdf-gnattools: \
45051 configure-gnattools \
45052 pdf-gnattools
45053 @: $(MAKE); $(unstage)
45054 @[ -f ./gnattools/Makefile ] || exit 0; \
45055 r=`${PWD_COMMAND}`; export r; \
45056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45057 $(HOST_EXPORTS) \
45058 for flag in $(EXTRA_HOST_FLAGS) ; do \
45059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45060 done; \
45061 echo "Doing install-pdf in gnattools" ; \
45062 (cd $(HOST_SUBDIR)/gnattools && \
45063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45065 "RANLIB=$${RANLIB}" \
45066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45067 install-pdf) \
45068 || exit 1
45070 @endif gnattools
45072 .PHONY: maybe-install-html-gnattools install-html-gnattools
45073 maybe-install-html-gnattools:
45074 @if gnattools
45075 maybe-install-html-gnattools: install-html-gnattools
45077 install-html-gnattools: \
45078 configure-gnattools \
45079 html-gnattools
45080 @: $(MAKE); $(unstage)
45081 @[ -f ./gnattools/Makefile ] || exit 0; \
45082 r=`${PWD_COMMAND}`; export r; \
45083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45084 $(HOST_EXPORTS) \
45085 for flag in $(EXTRA_HOST_FLAGS) ; do \
45086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45087 done; \
45088 echo "Doing install-html in gnattools" ; \
45089 (cd $(HOST_SUBDIR)/gnattools && \
45090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45092 "RANLIB=$${RANLIB}" \
45093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45094 install-html) \
45095 || exit 1
45097 @endif gnattools
45099 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
45100 maybe-installcheck-gnattools:
45101 @if gnattools
45102 maybe-installcheck-gnattools: installcheck-gnattools
45104 installcheck-gnattools: \
45105 configure-gnattools
45106 @: $(MAKE); $(unstage)
45107 @[ -f ./gnattools/Makefile ] || exit 0; \
45108 r=`${PWD_COMMAND}`; export r; \
45109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45110 $(HOST_EXPORTS) \
45111 for flag in $(EXTRA_HOST_FLAGS) ; do \
45112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45113 done; \
45114 echo "Doing installcheck in gnattools" ; \
45115 (cd $(HOST_SUBDIR)/gnattools && \
45116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45118 "RANLIB=$${RANLIB}" \
45119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45120 installcheck) \
45121 || exit 1
45123 @endif gnattools
45125 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
45126 maybe-mostlyclean-gnattools:
45127 @if gnattools
45128 maybe-mostlyclean-gnattools: mostlyclean-gnattools
45130 mostlyclean-gnattools:
45131 @: $(MAKE); $(unstage)
45132 @[ -f ./gnattools/Makefile ] || exit 0; \
45133 r=`${PWD_COMMAND}`; export r; \
45134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45135 $(HOST_EXPORTS) \
45136 for flag in $(EXTRA_HOST_FLAGS) ; do \
45137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45138 done; \
45139 echo "Doing mostlyclean in gnattools" ; \
45140 (cd $(HOST_SUBDIR)/gnattools && \
45141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45143 "RANLIB=$${RANLIB}" \
45144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45145 mostlyclean) \
45146 || exit 1
45148 @endif gnattools
45150 .PHONY: maybe-clean-gnattools clean-gnattools
45151 maybe-clean-gnattools:
45152 @if gnattools
45153 maybe-clean-gnattools: clean-gnattools
45155 clean-gnattools:
45156 @: $(MAKE); $(unstage)
45157 @[ -f ./gnattools/Makefile ] || exit 0; \
45158 r=`${PWD_COMMAND}`; export r; \
45159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45160 $(HOST_EXPORTS) \
45161 for flag in $(EXTRA_HOST_FLAGS) ; do \
45162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45163 done; \
45164 echo "Doing clean in gnattools" ; \
45165 (cd $(HOST_SUBDIR)/gnattools && \
45166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45168 "RANLIB=$${RANLIB}" \
45169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45170 clean) \
45171 || exit 1
45173 @endif gnattools
45175 .PHONY: maybe-distclean-gnattools distclean-gnattools
45176 maybe-distclean-gnattools:
45177 @if gnattools
45178 maybe-distclean-gnattools: distclean-gnattools
45180 distclean-gnattools:
45181 @: $(MAKE); $(unstage)
45182 @[ -f ./gnattools/Makefile ] || exit 0; \
45183 r=`${PWD_COMMAND}`; export r; \
45184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45185 $(HOST_EXPORTS) \
45186 for flag in $(EXTRA_HOST_FLAGS) ; do \
45187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45188 done; \
45189 echo "Doing distclean in gnattools" ; \
45190 (cd $(HOST_SUBDIR)/gnattools && \
45191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45193 "RANLIB=$${RANLIB}" \
45194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45195 distclean) \
45196 || exit 1
45198 @endif gnattools
45200 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
45201 maybe-maintainer-clean-gnattools:
45202 @if gnattools
45203 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
45205 maintainer-clean-gnattools:
45206 @: $(MAKE); $(unstage)
45207 @[ -f ./gnattools/Makefile ] || exit 0; \
45208 r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 $(HOST_EXPORTS) \
45211 for flag in $(EXTRA_HOST_FLAGS) ; do \
45212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45213 done; \
45214 echo "Doing maintainer-clean in gnattools" ; \
45215 (cd $(HOST_SUBDIR)/gnattools && \
45216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45218 "RANLIB=$${RANLIB}" \
45219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45220 maintainer-clean) \
45221 || exit 1
45223 @endif gnattools
45227 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
45228 maybe-configure-lto-plugin:
45229 @if gcc-bootstrap
45230 configure-lto-plugin: stage_current
45231 @endif gcc-bootstrap
45232 @if lto-plugin
45233 maybe-configure-lto-plugin: configure-lto-plugin
45234 configure-lto-plugin:
45235 @r=`${PWD_COMMAND}`; export r; \
45236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45237 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45239 $(HOST_EXPORTS) \
45240 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
45241 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
45242 case $(srcdir) in \
45243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45244 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45246 esac; \
45247 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45248 libsrcdir="$$s/lto-plugin"; \
45249 $(SHELL) $${libsrcdir}/configure \
45250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45251 --target=${target_alias} $${srcdiroption} \
45252 || exit 1
45253 @endif lto-plugin
45257 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
45258 maybe-configure-stage1-lto-plugin:
45259 @if lto-plugin-bootstrap
45260 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
45261 configure-stage1-lto-plugin:
45262 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45263 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45264 @r=`${PWD_COMMAND}`; export r; \
45265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45266 TFLAGS="$(STAGE1_TFLAGS)"; \
45267 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45268 $(HOST_EXPORTS) \
45269 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
45270 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
45271 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
45272 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
45273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45274 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45275 case $(srcdir) in \
45276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45277 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45279 esac; \
45280 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45281 libsrcdir="$$s/lto-plugin"; \
45282 $(SHELL) $${libsrcdir}/configure \
45283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45284 --target=${target_alias} $${srcdiroption} \
45285 $(STAGE1_CONFIGURE_FLAGS)
45286 @endif lto-plugin-bootstrap
45288 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
45289 maybe-configure-stage2-lto-plugin:
45290 @if lto-plugin-bootstrap
45291 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
45292 configure-stage2-lto-plugin:
45293 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45295 @r=`${PWD_COMMAND}`; export r; \
45296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45297 TFLAGS="$(STAGE2_TFLAGS)"; \
45298 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45299 $(HOST_EXPORTS) \
45300 $(POSTSTAGE1_HOST_EXPORTS) \
45301 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
45302 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
45303 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
45304 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
45305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45306 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45307 case $(srcdir) in \
45308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45309 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45311 esac; \
45312 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45313 libsrcdir="$$s/lto-plugin"; \
45314 $(SHELL) $${libsrcdir}/configure \
45315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45316 --target=${target_alias} $${srcdiroption} \
45317 --with-build-libsubdir=$(HOST_SUBDIR) \
45318 $(STAGE2_CONFIGURE_FLAGS)
45319 @endif lto-plugin-bootstrap
45321 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
45322 maybe-configure-stage3-lto-plugin:
45323 @if lto-plugin-bootstrap
45324 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
45325 configure-stage3-lto-plugin:
45326 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45328 @r=`${PWD_COMMAND}`; export r; \
45329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45330 TFLAGS="$(STAGE3_TFLAGS)"; \
45331 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45332 $(HOST_EXPORTS) \
45333 $(POSTSTAGE1_HOST_EXPORTS) \
45334 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
45335 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
45336 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
45337 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
45338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45339 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45340 case $(srcdir) in \
45341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45342 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45344 esac; \
45345 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45346 libsrcdir="$$s/lto-plugin"; \
45347 $(SHELL) $${libsrcdir}/configure \
45348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45349 --target=${target_alias} $${srcdiroption} \
45350 --with-build-libsubdir=$(HOST_SUBDIR) \
45351 $(STAGE3_CONFIGURE_FLAGS)
45352 @endif lto-plugin-bootstrap
45354 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
45355 maybe-configure-stage4-lto-plugin:
45356 @if lto-plugin-bootstrap
45357 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
45358 configure-stage4-lto-plugin:
45359 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45361 @r=`${PWD_COMMAND}`; export r; \
45362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45363 TFLAGS="$(STAGE4_TFLAGS)"; \
45364 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45365 $(HOST_EXPORTS) \
45366 $(POSTSTAGE1_HOST_EXPORTS) \
45367 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
45368 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
45369 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
45370 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
45371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45372 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45373 case $(srcdir) in \
45374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45375 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45377 esac; \
45378 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45379 libsrcdir="$$s/lto-plugin"; \
45380 $(SHELL) $${libsrcdir}/configure \
45381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45382 --target=${target_alias} $${srcdiroption} \
45383 --with-build-libsubdir=$(HOST_SUBDIR) \
45384 $(STAGE4_CONFIGURE_FLAGS)
45385 @endif lto-plugin-bootstrap
45387 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
45388 maybe-configure-stageprofile-lto-plugin:
45389 @if lto-plugin-bootstrap
45390 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
45391 configure-stageprofile-lto-plugin:
45392 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45393 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45394 @r=`${PWD_COMMAND}`; export r; \
45395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45396 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45397 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45398 $(HOST_EXPORTS) \
45399 $(POSTSTAGE1_HOST_EXPORTS) \
45400 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
45401 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
45402 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
45403 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
45404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45405 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45406 case $(srcdir) in \
45407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45408 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45410 esac; \
45411 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45412 libsrcdir="$$s/lto-plugin"; \
45413 $(SHELL) $${libsrcdir}/configure \
45414 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45415 --target=${target_alias} $${srcdiroption} \
45416 --with-build-libsubdir=$(HOST_SUBDIR) \
45417 $(STAGEprofile_CONFIGURE_FLAGS)
45418 @endif lto-plugin-bootstrap
45420 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
45421 maybe-configure-stagefeedback-lto-plugin:
45422 @if lto-plugin-bootstrap
45423 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
45424 configure-stagefeedback-lto-plugin:
45425 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45426 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45427 @r=`${PWD_COMMAND}`; export r; \
45428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45429 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45430 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45431 $(HOST_EXPORTS) \
45432 $(POSTSTAGE1_HOST_EXPORTS) \
45433 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
45434 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
45435 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
45436 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
45437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45438 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45439 case $(srcdir) in \
45440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45441 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45443 esac; \
45444 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45445 libsrcdir="$$s/lto-plugin"; \
45446 $(SHELL) $${libsrcdir}/configure \
45447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45448 --target=${target_alias} $${srcdiroption} \
45449 --with-build-libsubdir=$(HOST_SUBDIR) \
45450 $(STAGEfeedback_CONFIGURE_FLAGS)
45451 @endif lto-plugin-bootstrap
45457 .PHONY: all-lto-plugin maybe-all-lto-plugin
45458 maybe-all-lto-plugin:
45459 @if gcc-bootstrap
45460 all-lto-plugin: stage_current
45461 @endif gcc-bootstrap
45462 @if lto-plugin
45463 TARGET-lto-plugin=all
45464 maybe-all-lto-plugin: all-lto-plugin
45465 all-lto-plugin: configure-lto-plugin
45466 @r=`${PWD_COMMAND}`; export r; \
45467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45468 $(HOST_EXPORTS) \
45469 (cd $(HOST_SUBDIR)/lto-plugin && \
45470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
45471 $(TARGET-lto-plugin))
45472 @endif lto-plugin
45476 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
45477 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
45478 maybe-all-stage1-lto-plugin:
45479 maybe-clean-stage1-lto-plugin:
45480 @if lto-plugin-bootstrap
45481 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
45482 all-stage1: all-stage1-lto-plugin
45483 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
45484 all-stage1-lto-plugin: configure-stage1-lto-plugin
45485 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45486 @r=`${PWD_COMMAND}`; export r; \
45487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45488 TFLAGS="$(STAGE1_TFLAGS)"; \
45489 $(HOST_EXPORTS) \
45490 cd $(HOST_SUBDIR)/lto-plugin && \
45491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45492 CFLAGS="$(STAGE1_CFLAGS)" \
45493 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
45494 LIBCFLAGS="$(LIBCFLAGS)" \
45495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45498 $(EXTRA_HOST_FLAGS) \
45499 TFLAGS="$(STAGE1_TFLAGS)" \
45500 $(TARGET-stage1-lto-plugin)
45502 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
45503 clean-stage1: clean-stage1-lto-plugin
45504 clean-stage1-lto-plugin:
45505 @if [ $(current_stage) = stage1 ]; then \
45506 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45507 else \
45508 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
45509 $(MAKE) stage1-start; \
45510 fi; \
45511 cd $(HOST_SUBDIR)/lto-plugin && \
45512 $(MAKE) $(EXTRA_HOST_FLAGS) \
45513 clean
45514 @endif lto-plugin-bootstrap
45517 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
45518 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
45519 maybe-all-stage2-lto-plugin:
45520 maybe-clean-stage2-lto-plugin:
45521 @if lto-plugin-bootstrap
45522 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
45523 all-stage2: all-stage2-lto-plugin
45524 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
45525 all-stage2-lto-plugin: configure-stage2-lto-plugin
45526 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45527 @r=`${PWD_COMMAND}`; export r; \
45528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45529 TFLAGS="$(STAGE2_TFLAGS)"; \
45530 $(HOST_EXPORTS) \
45531 $(POSTSTAGE1_HOST_EXPORTS) \
45532 cd $(HOST_SUBDIR)/lto-plugin && \
45533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45534 CFLAGS="$(STAGE2_CFLAGS)" \
45535 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
45536 LIBCFLAGS="$(STAGE2_CFLAGS)" \
45537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45541 TFLAGS="$(STAGE2_TFLAGS)" \
45542 $(TARGET-stage2-lto-plugin)
45544 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
45545 clean-stage2: clean-stage2-lto-plugin
45546 clean-stage2-lto-plugin:
45547 @if [ $(current_stage) = stage2 ]; then \
45548 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45549 else \
45550 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
45551 $(MAKE) stage2-start; \
45552 fi; \
45553 cd $(HOST_SUBDIR)/lto-plugin && \
45554 $(MAKE) $(EXTRA_HOST_FLAGS) \
45555 $(POSTSTAGE1_FLAGS_TO_PASS) \
45556 clean
45557 @endif lto-plugin-bootstrap
45560 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
45561 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
45562 maybe-all-stage3-lto-plugin:
45563 maybe-clean-stage3-lto-plugin:
45564 @if lto-plugin-bootstrap
45565 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
45566 all-stage3: all-stage3-lto-plugin
45567 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
45568 all-stage3-lto-plugin: configure-stage3-lto-plugin
45569 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45570 @r=`${PWD_COMMAND}`; export r; \
45571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45572 TFLAGS="$(STAGE3_TFLAGS)"; \
45573 $(HOST_EXPORTS) \
45574 $(POSTSTAGE1_HOST_EXPORTS) \
45575 cd $(HOST_SUBDIR)/lto-plugin && \
45576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45577 CFLAGS="$(STAGE3_CFLAGS)" \
45578 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
45579 LIBCFLAGS="$(STAGE3_CFLAGS)" \
45580 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45581 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45582 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45583 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45584 TFLAGS="$(STAGE3_TFLAGS)" \
45585 $(TARGET-stage3-lto-plugin)
45587 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
45588 clean-stage3: clean-stage3-lto-plugin
45589 clean-stage3-lto-plugin:
45590 @if [ $(current_stage) = stage3 ]; then \
45591 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45592 else \
45593 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
45594 $(MAKE) stage3-start; \
45595 fi; \
45596 cd $(HOST_SUBDIR)/lto-plugin && \
45597 $(MAKE) $(EXTRA_HOST_FLAGS) \
45598 $(POSTSTAGE1_FLAGS_TO_PASS) \
45599 clean
45600 @endif lto-plugin-bootstrap
45603 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
45604 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
45605 maybe-all-stage4-lto-plugin:
45606 maybe-clean-stage4-lto-plugin:
45607 @if lto-plugin-bootstrap
45608 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
45609 all-stage4: all-stage4-lto-plugin
45610 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
45611 all-stage4-lto-plugin: configure-stage4-lto-plugin
45612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45613 @r=`${PWD_COMMAND}`; export r; \
45614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45615 TFLAGS="$(STAGE4_TFLAGS)"; \
45616 $(HOST_EXPORTS) \
45617 $(POSTSTAGE1_HOST_EXPORTS) \
45618 cd $(HOST_SUBDIR)/lto-plugin && \
45619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45620 CFLAGS="$(STAGE4_CFLAGS)" \
45621 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
45622 LIBCFLAGS="$(STAGE4_CFLAGS)" \
45623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45626 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45627 TFLAGS="$(STAGE4_TFLAGS)" \
45628 $(TARGET-stage4-lto-plugin)
45630 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
45631 clean-stage4: clean-stage4-lto-plugin
45632 clean-stage4-lto-plugin:
45633 @if [ $(current_stage) = stage4 ]; then \
45634 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45635 else \
45636 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
45637 $(MAKE) stage4-start; \
45638 fi; \
45639 cd $(HOST_SUBDIR)/lto-plugin && \
45640 $(MAKE) $(EXTRA_HOST_FLAGS) \
45641 $(POSTSTAGE1_FLAGS_TO_PASS) \
45642 clean
45643 @endif lto-plugin-bootstrap
45646 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
45647 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
45648 maybe-all-stageprofile-lto-plugin:
45649 maybe-clean-stageprofile-lto-plugin:
45650 @if lto-plugin-bootstrap
45651 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
45652 all-stageprofile: all-stageprofile-lto-plugin
45653 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
45654 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
45655 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45656 @r=`${PWD_COMMAND}`; export r; \
45657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45658 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45659 $(HOST_EXPORTS) \
45660 $(POSTSTAGE1_HOST_EXPORTS) \
45661 cd $(HOST_SUBDIR)/lto-plugin && \
45662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45663 CFLAGS="$(STAGEprofile_CFLAGS)" \
45664 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
45665 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
45666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45670 TFLAGS="$(STAGEprofile_TFLAGS)" \
45671 $(TARGET-stageprofile-lto-plugin)
45673 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
45674 clean-stageprofile: clean-stageprofile-lto-plugin
45675 clean-stageprofile-lto-plugin:
45676 @if [ $(current_stage) = stageprofile ]; then \
45677 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45678 else \
45679 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
45680 $(MAKE) stageprofile-start; \
45681 fi; \
45682 cd $(HOST_SUBDIR)/lto-plugin && \
45683 $(MAKE) $(EXTRA_HOST_FLAGS) \
45684 $(POSTSTAGE1_FLAGS_TO_PASS) \
45685 clean
45686 @endif lto-plugin-bootstrap
45689 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
45690 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
45691 maybe-all-stagefeedback-lto-plugin:
45692 maybe-clean-stagefeedback-lto-plugin:
45693 @if lto-plugin-bootstrap
45694 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
45695 all-stagefeedback: all-stagefeedback-lto-plugin
45696 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
45697 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
45698 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45699 @r=`${PWD_COMMAND}`; export r; \
45700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45701 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45702 $(HOST_EXPORTS) \
45703 $(POSTSTAGE1_HOST_EXPORTS) \
45704 cd $(HOST_SUBDIR)/lto-plugin && \
45705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45706 CFLAGS="$(STAGEfeedback_CFLAGS)" \
45707 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
45708 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
45709 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45710 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45711 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45712 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45713 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45714 $(TARGET-stagefeedback-lto-plugin)
45716 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
45717 clean-stagefeedback: clean-stagefeedback-lto-plugin
45718 clean-stagefeedback-lto-plugin:
45719 @if [ $(current_stage) = stagefeedback ]; then \
45720 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45721 else \
45722 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
45723 $(MAKE) stagefeedback-start; \
45724 fi; \
45725 cd $(HOST_SUBDIR)/lto-plugin && \
45726 $(MAKE) $(EXTRA_HOST_FLAGS) \
45727 $(POSTSTAGE1_FLAGS_TO_PASS) \
45728 clean
45729 @endif lto-plugin-bootstrap
45735 .PHONY: check-lto-plugin maybe-check-lto-plugin
45736 maybe-check-lto-plugin:
45737 @if lto-plugin
45738 maybe-check-lto-plugin: check-lto-plugin
45740 check-lto-plugin:
45741 @: $(MAKE); $(unstage)
45742 @r=`${PWD_COMMAND}`; export r; \
45743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45744 $(HOST_EXPORTS) \
45745 (cd $(HOST_SUBDIR)/lto-plugin && \
45746 $(MAKE) $(FLAGS_TO_PASS) check)
45748 @endif lto-plugin
45750 .PHONY: install-lto-plugin maybe-install-lto-plugin
45751 maybe-install-lto-plugin:
45752 @if lto-plugin
45753 maybe-install-lto-plugin: install-lto-plugin
45755 install-lto-plugin: installdirs
45756 @: $(MAKE); $(unstage)
45757 @r=`${PWD_COMMAND}`; export r; \
45758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45759 $(HOST_EXPORTS) \
45760 (cd $(HOST_SUBDIR)/lto-plugin && \
45761 $(MAKE) $(FLAGS_TO_PASS) install)
45763 @endif lto-plugin
45765 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
45766 maybe-install-strip-lto-plugin:
45767 @if lto-plugin
45768 maybe-install-strip-lto-plugin: install-strip-lto-plugin
45770 install-strip-lto-plugin: installdirs
45771 @: $(MAKE); $(unstage)
45772 @r=`${PWD_COMMAND}`; export r; \
45773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45774 $(HOST_EXPORTS) \
45775 (cd $(HOST_SUBDIR)/lto-plugin && \
45776 $(MAKE) $(FLAGS_TO_PASS) install-strip)
45778 @endif lto-plugin
45780 # Other targets (info, dvi, pdf, etc.)
45782 .PHONY: maybe-info-lto-plugin info-lto-plugin
45783 maybe-info-lto-plugin:
45784 @if lto-plugin
45785 maybe-info-lto-plugin: info-lto-plugin
45787 info-lto-plugin: \
45788 configure-lto-plugin
45789 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45790 r=`${PWD_COMMAND}`; export r; \
45791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45792 $(HOST_EXPORTS) \
45793 for flag in $(EXTRA_HOST_FLAGS) ; do \
45794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45795 done; \
45796 echo "Doing info in lto-plugin" ; \
45797 (cd $(HOST_SUBDIR)/lto-plugin && \
45798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45800 "RANLIB=$${RANLIB}" \
45801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45802 info) \
45803 || exit 1
45805 @endif lto-plugin
45807 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
45808 maybe-dvi-lto-plugin:
45809 @if lto-plugin
45810 maybe-dvi-lto-plugin: dvi-lto-plugin
45812 dvi-lto-plugin: \
45813 configure-lto-plugin
45814 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45815 r=`${PWD_COMMAND}`; export r; \
45816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45817 $(HOST_EXPORTS) \
45818 for flag in $(EXTRA_HOST_FLAGS) ; do \
45819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45820 done; \
45821 echo "Doing dvi in lto-plugin" ; \
45822 (cd $(HOST_SUBDIR)/lto-plugin && \
45823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45825 "RANLIB=$${RANLIB}" \
45826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45827 dvi) \
45828 || exit 1
45830 @endif lto-plugin
45832 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
45833 maybe-pdf-lto-plugin:
45834 @if lto-plugin
45835 maybe-pdf-lto-plugin: pdf-lto-plugin
45837 pdf-lto-plugin: \
45838 configure-lto-plugin
45839 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45840 r=`${PWD_COMMAND}`; export r; \
45841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45842 $(HOST_EXPORTS) \
45843 for flag in $(EXTRA_HOST_FLAGS) ; do \
45844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45845 done; \
45846 echo "Doing pdf in lto-plugin" ; \
45847 (cd $(HOST_SUBDIR)/lto-plugin && \
45848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45850 "RANLIB=$${RANLIB}" \
45851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45852 pdf) \
45853 || exit 1
45855 @endif lto-plugin
45857 .PHONY: maybe-html-lto-plugin html-lto-plugin
45858 maybe-html-lto-plugin:
45859 @if lto-plugin
45860 maybe-html-lto-plugin: html-lto-plugin
45862 html-lto-plugin: \
45863 configure-lto-plugin
45864 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45865 r=`${PWD_COMMAND}`; export r; \
45866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45867 $(HOST_EXPORTS) \
45868 for flag in $(EXTRA_HOST_FLAGS) ; do \
45869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45870 done; \
45871 echo "Doing html in lto-plugin" ; \
45872 (cd $(HOST_SUBDIR)/lto-plugin && \
45873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45875 "RANLIB=$${RANLIB}" \
45876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45877 html) \
45878 || exit 1
45880 @endif lto-plugin
45882 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
45883 maybe-TAGS-lto-plugin:
45884 @if lto-plugin
45885 maybe-TAGS-lto-plugin: TAGS-lto-plugin
45887 TAGS-lto-plugin: \
45888 configure-lto-plugin
45889 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45890 r=`${PWD_COMMAND}`; export r; \
45891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45892 $(HOST_EXPORTS) \
45893 for flag in $(EXTRA_HOST_FLAGS) ; do \
45894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45895 done; \
45896 echo "Doing TAGS in lto-plugin" ; \
45897 (cd $(HOST_SUBDIR)/lto-plugin && \
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 TAGS) \
45903 || exit 1
45905 @endif lto-plugin
45907 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
45908 maybe-install-info-lto-plugin:
45909 @if lto-plugin
45910 maybe-install-info-lto-plugin: install-info-lto-plugin
45912 install-info-lto-plugin: \
45913 configure-lto-plugin \
45914 info-lto-plugin
45915 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45916 r=`${PWD_COMMAND}`; export r; \
45917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45918 $(HOST_EXPORTS) \
45919 for flag in $(EXTRA_HOST_FLAGS) ; do \
45920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45921 done; \
45922 echo "Doing install-info in lto-plugin" ; \
45923 (cd $(HOST_SUBDIR)/lto-plugin && \
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 install-info) \
45929 || exit 1
45931 @endif lto-plugin
45933 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
45934 maybe-install-pdf-lto-plugin:
45935 @if lto-plugin
45936 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
45938 install-pdf-lto-plugin: \
45939 configure-lto-plugin \
45940 pdf-lto-plugin
45941 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45942 r=`${PWD_COMMAND}`; export r; \
45943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45944 $(HOST_EXPORTS) \
45945 for flag in $(EXTRA_HOST_FLAGS) ; do \
45946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45947 done; \
45948 echo "Doing install-pdf in lto-plugin" ; \
45949 (cd $(HOST_SUBDIR)/lto-plugin && \
45950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45952 "RANLIB=$${RANLIB}" \
45953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45954 install-pdf) \
45955 || exit 1
45957 @endif lto-plugin
45959 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
45960 maybe-install-html-lto-plugin:
45961 @if lto-plugin
45962 maybe-install-html-lto-plugin: install-html-lto-plugin
45964 install-html-lto-plugin: \
45965 configure-lto-plugin \
45966 html-lto-plugin
45967 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45968 r=`${PWD_COMMAND}`; export r; \
45969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45970 $(HOST_EXPORTS) \
45971 for flag in $(EXTRA_HOST_FLAGS) ; do \
45972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45973 done; \
45974 echo "Doing install-html in lto-plugin" ; \
45975 (cd $(HOST_SUBDIR)/lto-plugin && \
45976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45978 "RANLIB=$${RANLIB}" \
45979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45980 install-html) \
45981 || exit 1
45983 @endif lto-plugin
45985 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
45986 maybe-installcheck-lto-plugin:
45987 @if lto-plugin
45988 maybe-installcheck-lto-plugin: installcheck-lto-plugin
45990 installcheck-lto-plugin: \
45991 configure-lto-plugin
45992 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45993 r=`${PWD_COMMAND}`; export r; \
45994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45995 $(HOST_EXPORTS) \
45996 for flag in $(EXTRA_HOST_FLAGS) ; do \
45997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45998 done; \
45999 echo "Doing installcheck in lto-plugin" ; \
46000 (cd $(HOST_SUBDIR)/lto-plugin && \
46001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46003 "RANLIB=$${RANLIB}" \
46004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46005 installcheck) \
46006 || exit 1
46008 @endif lto-plugin
46010 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
46011 maybe-mostlyclean-lto-plugin:
46012 @if lto-plugin
46013 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
46015 mostlyclean-lto-plugin:
46016 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46017 r=`${PWD_COMMAND}`; export r; \
46018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46019 $(HOST_EXPORTS) \
46020 for flag in $(EXTRA_HOST_FLAGS) ; do \
46021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46022 done; \
46023 echo "Doing mostlyclean in lto-plugin" ; \
46024 (cd $(HOST_SUBDIR)/lto-plugin && \
46025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46027 "RANLIB=$${RANLIB}" \
46028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46029 mostlyclean) \
46030 || exit 1
46032 @endif lto-plugin
46034 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
46035 maybe-clean-lto-plugin:
46036 @if lto-plugin
46037 maybe-clean-lto-plugin: clean-lto-plugin
46039 clean-lto-plugin:
46040 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46041 r=`${PWD_COMMAND}`; export r; \
46042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46043 $(HOST_EXPORTS) \
46044 for flag in $(EXTRA_HOST_FLAGS) ; do \
46045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46046 done; \
46047 echo "Doing clean in lto-plugin" ; \
46048 (cd $(HOST_SUBDIR)/lto-plugin && \
46049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46051 "RANLIB=$${RANLIB}" \
46052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46053 clean) \
46054 || exit 1
46056 @endif lto-plugin
46058 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
46059 maybe-distclean-lto-plugin:
46060 @if lto-plugin
46061 maybe-distclean-lto-plugin: distclean-lto-plugin
46063 distclean-lto-plugin:
46064 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46065 r=`${PWD_COMMAND}`; export r; \
46066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46067 $(HOST_EXPORTS) \
46068 for flag in $(EXTRA_HOST_FLAGS) ; do \
46069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46070 done; \
46071 echo "Doing distclean in lto-plugin" ; \
46072 (cd $(HOST_SUBDIR)/lto-plugin && \
46073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46075 "RANLIB=$${RANLIB}" \
46076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46077 distclean) \
46078 || exit 1
46080 @endif lto-plugin
46082 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
46083 maybe-maintainer-clean-lto-plugin:
46084 @if lto-plugin
46085 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
46087 maintainer-clean-lto-plugin:
46088 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46089 r=`${PWD_COMMAND}`; export r; \
46090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46091 $(HOST_EXPORTS) \
46092 for flag in $(EXTRA_HOST_FLAGS) ; do \
46093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46094 done; \
46095 echo "Doing maintainer-clean in lto-plugin" ; \
46096 (cd $(HOST_SUBDIR)/lto-plugin && \
46097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46099 "RANLIB=$${RANLIB}" \
46100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46101 maintainer-clean) \
46102 || exit 1
46104 @endif lto-plugin
46108 # ---------------------------------------
46109 # Modules which run on the target machine
46110 # ---------------------------------------
46115 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
46116 maybe-configure-target-libstdc++-v3:
46117 @if gcc-bootstrap
46118 configure-target-libstdc++-v3: stage_current
46119 @endif gcc-bootstrap
46120 @if target-libstdc++-v3
46121 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
46122 configure-target-libstdc++-v3:
46123 @r=`${PWD_COMMAND}`; export r; \
46124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46125 echo "Checking multilib configuration for libstdc++-v3..."; \
46126 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46127 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46128 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46129 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46130 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46131 else \
46132 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46133 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46134 fi; \
46135 else \
46136 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46137 fi; \
46138 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46139 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46140 $(RAW_CXX_TARGET_EXPORTS) \
46141 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
46142 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
46143 case $(srcdir) in \
46144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46145 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46147 esac; \
46148 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46149 libsrcdir="$$s/libstdc++-v3"; \
46150 rm -f no-such-file || : ; \
46151 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46152 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46153 --target=${target_alias} $${srcdiroption} \
46154 || exit 1
46155 @endif target-libstdc++-v3
46159 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
46160 maybe-configure-stage1-target-libstdc++-v3:
46161 @if target-libstdc++-v3-bootstrap
46162 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
46163 configure-stage1-target-libstdc++-v3:
46164 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46165 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46166 @r=`${PWD_COMMAND}`; export r; \
46167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46168 TFLAGS="$(STAGE1_TFLAGS)"; \
46169 echo "Checking multilib configuration for libstdc++-v3..."; \
46170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46171 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46172 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46173 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46174 else \
46175 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46176 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46177 fi; \
46178 else \
46179 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46180 fi; \
46181 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46182 $(RAW_CXX_TARGET_EXPORTS) \
46183 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46184 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46185 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46186 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46188 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46189 case $(srcdir) in \
46190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46191 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46193 esac; \
46194 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46195 libsrcdir="$$s/libstdc++-v3"; \
46196 $(SHELL) $${libsrcdir}/configure \
46197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46198 --target=${target_alias} $${srcdiroption} \
46199 $(STAGE1_CONFIGURE_FLAGS)
46200 @endif target-libstdc++-v3-bootstrap
46202 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
46203 maybe-configure-stage2-target-libstdc++-v3:
46204 @if target-libstdc++-v3-bootstrap
46205 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
46206 configure-stage2-target-libstdc++-v3:
46207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46208 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46209 @r=`${PWD_COMMAND}`; export r; \
46210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46211 TFLAGS="$(STAGE2_TFLAGS)"; \
46212 echo "Checking multilib configuration for libstdc++-v3..."; \
46213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46214 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46215 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46216 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46217 else \
46218 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46219 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46220 fi; \
46221 else \
46222 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46223 fi; \
46224 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46225 $(RAW_CXX_TARGET_EXPORTS) \
46227 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46230 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46232 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46233 case $(srcdir) in \
46234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46235 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46237 esac; \
46238 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46239 libsrcdir="$$s/libstdc++-v3"; \
46240 $(SHELL) $${libsrcdir}/configure \
46241 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46242 --target=${target_alias} $${srcdiroption} \
46243 --with-build-libsubdir=$(HOST_SUBDIR) \
46244 $(STAGE2_CONFIGURE_FLAGS)
46245 @endif target-libstdc++-v3-bootstrap
46247 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
46248 maybe-configure-stage3-target-libstdc++-v3:
46249 @if target-libstdc++-v3-bootstrap
46250 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
46251 configure-stage3-target-libstdc++-v3:
46252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46253 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46254 @r=`${PWD_COMMAND}`; export r; \
46255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46256 TFLAGS="$(STAGE3_TFLAGS)"; \
46257 echo "Checking multilib configuration for libstdc++-v3..."; \
46258 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46259 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46260 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46261 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46262 else \
46263 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46264 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46265 fi; \
46266 else \
46267 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46268 fi; \
46269 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46270 $(RAW_CXX_TARGET_EXPORTS) \
46272 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46273 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46274 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46275 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46277 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46278 case $(srcdir) in \
46279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46280 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46282 esac; \
46283 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46284 libsrcdir="$$s/libstdc++-v3"; \
46285 $(SHELL) $${libsrcdir}/configure \
46286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46287 --target=${target_alias} $${srcdiroption} \
46288 --with-build-libsubdir=$(HOST_SUBDIR) \
46289 $(STAGE3_CONFIGURE_FLAGS)
46290 @endif target-libstdc++-v3-bootstrap
46292 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
46293 maybe-configure-stage4-target-libstdc++-v3:
46294 @if target-libstdc++-v3-bootstrap
46295 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
46296 configure-stage4-target-libstdc++-v3:
46297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46298 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46299 @r=`${PWD_COMMAND}`; export r; \
46300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46301 TFLAGS="$(STAGE4_TFLAGS)"; \
46302 echo "Checking multilib configuration for libstdc++-v3..."; \
46303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46304 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46305 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46306 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46307 else \
46308 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46309 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46310 fi; \
46311 else \
46312 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46313 fi; \
46314 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46315 $(RAW_CXX_TARGET_EXPORTS) \
46317 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46320 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46322 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46323 case $(srcdir) in \
46324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46325 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46327 esac; \
46328 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46329 libsrcdir="$$s/libstdc++-v3"; \
46330 $(SHELL) $${libsrcdir}/configure \
46331 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46332 --target=${target_alias} $${srcdiroption} \
46333 --with-build-libsubdir=$(HOST_SUBDIR) \
46334 $(STAGE4_CONFIGURE_FLAGS)
46335 @endif target-libstdc++-v3-bootstrap
46337 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
46338 maybe-configure-stageprofile-target-libstdc++-v3:
46339 @if target-libstdc++-v3-bootstrap
46340 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
46341 configure-stageprofile-target-libstdc++-v3:
46342 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46343 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46344 @r=`${PWD_COMMAND}`; export r; \
46345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46347 echo "Checking multilib configuration for libstdc++-v3..."; \
46348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46349 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46350 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46351 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46352 else \
46353 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46354 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46355 fi; \
46356 else \
46357 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46358 fi; \
46359 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46360 $(RAW_CXX_TARGET_EXPORTS) \
46362 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46365 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46367 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46368 case $(srcdir) in \
46369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46370 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46372 esac; \
46373 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46374 libsrcdir="$$s/libstdc++-v3"; \
46375 $(SHELL) $${libsrcdir}/configure \
46376 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46377 --target=${target_alias} $${srcdiroption} \
46378 --with-build-libsubdir=$(HOST_SUBDIR) \
46379 $(STAGEprofile_CONFIGURE_FLAGS)
46380 @endif target-libstdc++-v3-bootstrap
46382 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
46383 maybe-configure-stagefeedback-target-libstdc++-v3:
46384 @if target-libstdc++-v3-bootstrap
46385 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
46386 configure-stagefeedback-target-libstdc++-v3:
46387 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46388 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46389 @r=`${PWD_COMMAND}`; export r; \
46390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46391 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46392 echo "Checking multilib configuration for libstdc++-v3..."; \
46393 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46394 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46395 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46396 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46397 else \
46398 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46399 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46400 fi; \
46401 else \
46402 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46403 fi; \
46404 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46405 $(RAW_CXX_TARGET_EXPORTS) \
46407 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46410 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46412 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46413 case $(srcdir) in \
46414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46415 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46417 esac; \
46418 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46419 libsrcdir="$$s/libstdc++-v3"; \
46420 $(SHELL) $${libsrcdir}/configure \
46421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46422 --target=${target_alias} $${srcdiroption} \
46423 --with-build-libsubdir=$(HOST_SUBDIR) \
46424 $(STAGEfeedback_CONFIGURE_FLAGS)
46425 @endif target-libstdc++-v3-bootstrap
46431 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
46432 maybe-all-target-libstdc++-v3:
46433 @if gcc-bootstrap
46434 all-target-libstdc++-v3: stage_current
46435 @endif gcc-bootstrap
46436 @if target-libstdc++-v3
46437 TARGET-target-libstdc++-v3=all
46438 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
46439 all-target-libstdc++-v3: configure-target-libstdc++-v3
46440 @r=`${PWD_COMMAND}`; export r; \
46441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46442 $(RAW_CXX_TARGET_EXPORTS) \
46443 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46445 $(TARGET-target-libstdc++-v3))
46446 @endif target-libstdc++-v3
46450 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
46451 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
46452 maybe-all-stage1-target-libstdc++-v3:
46453 maybe-clean-stage1-target-libstdc++-v3:
46454 @if target-libstdc++-v3-bootstrap
46455 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
46456 all-stage1: all-stage1-target-libstdc++-v3
46457 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46458 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
46459 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46460 @r=`${PWD_COMMAND}`; export r; \
46461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46462 TFLAGS="$(STAGE1_TFLAGS)"; \
46463 $(RAW_CXX_TARGET_EXPORTS) \
46464 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46466 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46472 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46473 TFLAGS="$(STAGE1_TFLAGS)" \
46474 $(TARGET-stage1-target-libstdc++-v3)
46476 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
46477 clean-stage1: clean-stage1-target-libstdc++-v3
46478 clean-stage1-target-libstdc++-v3:
46479 @if [ $(current_stage) = stage1 ]; then \
46480 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46481 else \
46482 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
46483 $(MAKE) stage1-start; \
46484 fi; \
46485 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46486 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46487 clean
46488 @endif target-libstdc++-v3-bootstrap
46491 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
46492 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
46493 maybe-all-stage2-target-libstdc++-v3:
46494 maybe-clean-stage2-target-libstdc++-v3:
46495 @if target-libstdc++-v3-bootstrap
46496 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
46497 all-stage2: all-stage2-target-libstdc++-v3
46498 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46499 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
46500 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46501 @r=`${PWD_COMMAND}`; export r; \
46502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46503 TFLAGS="$(STAGE2_TFLAGS)"; \
46504 $(RAW_CXX_TARGET_EXPORTS) \
46506 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46508 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46509 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46510 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46514 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46515 TFLAGS="$(STAGE2_TFLAGS)" \
46516 $(TARGET-stage2-target-libstdc++-v3)
46518 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
46519 clean-stage2: clean-stage2-target-libstdc++-v3
46520 clean-stage2-target-libstdc++-v3:
46521 @if [ $(current_stage) = stage2 ]; then \
46522 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46523 else \
46524 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
46525 $(MAKE) stage2-start; \
46526 fi; \
46527 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46528 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46530 clean
46531 @endif target-libstdc++-v3-bootstrap
46534 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
46535 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
46536 maybe-all-stage3-target-libstdc++-v3:
46537 maybe-clean-stage3-target-libstdc++-v3:
46538 @if target-libstdc++-v3-bootstrap
46539 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
46540 all-stage3: all-stage3-target-libstdc++-v3
46541 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46542 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
46543 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46544 @r=`${PWD_COMMAND}`; export r; \
46545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46546 TFLAGS="$(STAGE3_TFLAGS)"; \
46547 $(RAW_CXX_TARGET_EXPORTS) \
46549 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46551 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46552 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46553 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46554 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46555 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46556 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46557 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46558 TFLAGS="$(STAGE3_TFLAGS)" \
46559 $(TARGET-stage3-target-libstdc++-v3)
46561 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
46562 clean-stage3: clean-stage3-target-libstdc++-v3
46563 clean-stage3-target-libstdc++-v3:
46564 @if [ $(current_stage) = stage3 ]; then \
46565 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46566 else \
46567 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
46568 $(MAKE) stage3-start; \
46569 fi; \
46570 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46571 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46573 clean
46574 @endif target-libstdc++-v3-bootstrap
46577 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
46578 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
46579 maybe-all-stage4-target-libstdc++-v3:
46580 maybe-clean-stage4-target-libstdc++-v3:
46581 @if target-libstdc++-v3-bootstrap
46582 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
46583 all-stage4: all-stage4-target-libstdc++-v3
46584 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46585 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
46586 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46587 @r=`${PWD_COMMAND}`; export r; \
46588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46589 TFLAGS="$(STAGE4_TFLAGS)"; \
46590 $(RAW_CXX_TARGET_EXPORTS) \
46592 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46594 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46595 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46596 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46600 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46601 TFLAGS="$(STAGE4_TFLAGS)" \
46602 $(TARGET-stage4-target-libstdc++-v3)
46604 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
46605 clean-stage4: clean-stage4-target-libstdc++-v3
46606 clean-stage4-target-libstdc++-v3:
46607 @if [ $(current_stage) = stage4 ]; then \
46608 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46609 else \
46610 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
46611 $(MAKE) stage4-start; \
46612 fi; \
46613 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46614 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46616 clean
46617 @endif target-libstdc++-v3-bootstrap
46620 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
46621 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
46622 maybe-all-stageprofile-target-libstdc++-v3:
46623 maybe-clean-stageprofile-target-libstdc++-v3:
46624 @if target-libstdc++-v3-bootstrap
46625 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
46626 all-stageprofile: all-stageprofile-target-libstdc++-v3
46627 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46628 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
46629 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46630 @r=`${PWD_COMMAND}`; export r; \
46631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46632 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46633 $(RAW_CXX_TARGET_EXPORTS) \
46635 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46643 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46644 TFLAGS="$(STAGEprofile_TFLAGS)" \
46645 $(TARGET-stageprofile-target-libstdc++-v3)
46647 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
46648 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
46649 clean-stageprofile-target-libstdc++-v3:
46650 @if [ $(current_stage) = stageprofile ]; then \
46651 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46652 else \
46653 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
46654 $(MAKE) stageprofile-start; \
46655 fi; \
46656 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46657 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46659 clean
46660 @endif target-libstdc++-v3-bootstrap
46663 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
46664 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
46665 maybe-all-stagefeedback-target-libstdc++-v3:
46666 maybe-clean-stagefeedback-target-libstdc++-v3:
46667 @if target-libstdc++-v3-bootstrap
46668 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
46669 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
46670 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46671 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
46672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46673 @r=`${PWD_COMMAND}`; export r; \
46674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46675 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46676 $(RAW_CXX_TARGET_EXPORTS) \
46678 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46680 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46681 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46682 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46686 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46687 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46688 $(TARGET-stagefeedback-target-libstdc++-v3)
46690 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
46691 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
46692 clean-stagefeedback-target-libstdc++-v3:
46693 @if [ $(current_stage) = stagefeedback ]; then \
46694 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46695 else \
46696 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
46697 $(MAKE) stagefeedback-start; \
46698 fi; \
46699 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46700 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46702 clean
46703 @endif target-libstdc++-v3-bootstrap
46710 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
46711 maybe-check-target-libstdc++-v3:
46712 @if target-libstdc++-v3
46713 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
46715 check-target-libstdc++-v3:
46716 @: $(MAKE); $(unstage)
46717 @r=`${PWD_COMMAND}`; export r; \
46718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46719 $(RAW_CXX_TARGET_EXPORTS) \
46720 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46721 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
46723 @endif target-libstdc++-v3
46725 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
46726 maybe-install-target-libstdc++-v3:
46727 @if target-libstdc++-v3
46728 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
46730 install-target-libstdc++-v3: installdirs
46731 @: $(MAKE); $(unstage)
46732 @r=`${PWD_COMMAND}`; export r; \
46733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46734 $(RAW_CXX_TARGET_EXPORTS) \
46735 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46736 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46738 @endif target-libstdc++-v3
46740 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
46741 maybe-install-strip-target-libstdc++-v3:
46742 @if target-libstdc++-v3
46743 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
46745 install-strip-target-libstdc++-v3: installdirs
46746 @: $(MAKE); $(unstage)
46747 @r=`${PWD_COMMAND}`; export r; \
46748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46749 $(RAW_CXX_TARGET_EXPORTS) \
46750 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46751 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46753 @endif target-libstdc++-v3
46755 # Other targets (info, dvi, pdf, etc.)
46757 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
46758 maybe-info-target-libstdc++-v3:
46759 @if target-libstdc++-v3
46760 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
46762 info-target-libstdc++-v3: \
46763 configure-target-libstdc++-v3
46764 @: $(MAKE); $(unstage)
46765 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46766 r=`${PWD_COMMAND}`; export r; \
46767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46768 $(RAW_CXX_TARGET_EXPORTS) \
46769 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46770 for flag in $(EXTRA_TARGET_FLAGS); do \
46771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46772 done; \
46773 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46776 "RANLIB=$${RANLIB}" \
46777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46778 info) \
46779 || exit 1
46781 @endif target-libstdc++-v3
46783 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
46784 maybe-dvi-target-libstdc++-v3:
46785 @if target-libstdc++-v3
46786 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
46788 dvi-target-libstdc++-v3: \
46789 configure-target-libstdc++-v3
46790 @: $(MAKE); $(unstage)
46791 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46792 r=`${PWD_COMMAND}`; export r; \
46793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46794 $(RAW_CXX_TARGET_EXPORTS) \
46795 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46796 for flag in $(EXTRA_TARGET_FLAGS); do \
46797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46798 done; \
46799 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46802 "RANLIB=$${RANLIB}" \
46803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46804 dvi) \
46805 || exit 1
46807 @endif target-libstdc++-v3
46809 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
46810 maybe-pdf-target-libstdc++-v3:
46811 @if target-libstdc++-v3
46812 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
46814 pdf-target-libstdc++-v3: \
46815 configure-target-libstdc++-v3
46816 @: $(MAKE); $(unstage)
46817 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46818 r=`${PWD_COMMAND}`; export r; \
46819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46820 $(RAW_CXX_TARGET_EXPORTS) \
46821 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46822 for flag in $(EXTRA_TARGET_FLAGS); do \
46823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46824 done; \
46825 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46828 "RANLIB=$${RANLIB}" \
46829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46830 pdf) \
46831 || exit 1
46833 @endif target-libstdc++-v3
46835 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
46836 maybe-html-target-libstdc++-v3:
46837 @if target-libstdc++-v3
46838 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
46840 html-target-libstdc++-v3: \
46841 configure-target-libstdc++-v3
46842 @: $(MAKE); $(unstage)
46843 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46844 r=`${PWD_COMMAND}`; export r; \
46845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46846 $(RAW_CXX_TARGET_EXPORTS) \
46847 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46848 for flag in $(EXTRA_TARGET_FLAGS); do \
46849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46850 done; \
46851 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46854 "RANLIB=$${RANLIB}" \
46855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46856 html) \
46857 || exit 1
46859 @endif target-libstdc++-v3
46861 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
46862 maybe-TAGS-target-libstdc++-v3:
46863 @if target-libstdc++-v3
46864 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
46866 TAGS-target-libstdc++-v3: \
46867 configure-target-libstdc++-v3
46868 @: $(MAKE); $(unstage)
46869 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46870 r=`${PWD_COMMAND}`; export r; \
46871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46872 $(RAW_CXX_TARGET_EXPORTS) \
46873 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46874 for flag in $(EXTRA_TARGET_FLAGS); do \
46875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46876 done; \
46877 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46880 "RANLIB=$${RANLIB}" \
46881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46882 TAGS) \
46883 || exit 1
46885 @endif target-libstdc++-v3
46887 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
46888 maybe-install-info-target-libstdc++-v3:
46889 @if target-libstdc++-v3
46890 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
46892 install-info-target-libstdc++-v3: \
46893 configure-target-libstdc++-v3 \
46894 info-target-libstdc++-v3
46895 @: $(MAKE); $(unstage)
46896 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46897 r=`${PWD_COMMAND}`; export r; \
46898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46899 $(RAW_CXX_TARGET_EXPORTS) \
46900 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46901 for flag in $(EXTRA_TARGET_FLAGS); do \
46902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46903 done; \
46904 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46907 "RANLIB=$${RANLIB}" \
46908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46909 install-info) \
46910 || exit 1
46912 @endif target-libstdc++-v3
46914 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
46915 maybe-install-pdf-target-libstdc++-v3:
46916 @if target-libstdc++-v3
46917 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
46919 install-pdf-target-libstdc++-v3: \
46920 configure-target-libstdc++-v3 \
46921 pdf-target-libstdc++-v3
46922 @: $(MAKE); $(unstage)
46923 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46924 r=`${PWD_COMMAND}`; export r; \
46925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46926 $(RAW_CXX_TARGET_EXPORTS) \
46927 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46928 for flag in $(EXTRA_TARGET_FLAGS); do \
46929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46930 done; \
46931 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46934 "RANLIB=$${RANLIB}" \
46935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46936 install-pdf) \
46937 || exit 1
46939 @endif target-libstdc++-v3
46941 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
46942 maybe-install-html-target-libstdc++-v3:
46943 @if target-libstdc++-v3
46944 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
46946 install-html-target-libstdc++-v3: \
46947 configure-target-libstdc++-v3 \
46948 html-target-libstdc++-v3
46949 @: $(MAKE); $(unstage)
46950 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46951 r=`${PWD_COMMAND}`; export r; \
46952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46953 $(RAW_CXX_TARGET_EXPORTS) \
46954 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46955 for flag in $(EXTRA_TARGET_FLAGS); do \
46956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46957 done; \
46958 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46961 "RANLIB=$${RANLIB}" \
46962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46963 install-html) \
46964 || exit 1
46966 @endif target-libstdc++-v3
46968 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
46969 maybe-installcheck-target-libstdc++-v3:
46970 @if target-libstdc++-v3
46971 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
46973 installcheck-target-libstdc++-v3: \
46974 configure-target-libstdc++-v3
46975 @: $(MAKE); $(unstage)
46976 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46977 r=`${PWD_COMMAND}`; export r; \
46978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46979 $(RAW_CXX_TARGET_EXPORTS) \
46980 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46981 for flag in $(EXTRA_TARGET_FLAGS); do \
46982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46983 done; \
46984 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46987 "RANLIB=$${RANLIB}" \
46988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46989 installcheck) \
46990 || exit 1
46992 @endif target-libstdc++-v3
46994 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
46995 maybe-mostlyclean-target-libstdc++-v3:
46996 @if target-libstdc++-v3
46997 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
46999 mostlyclean-target-libstdc++-v3:
47000 @: $(MAKE); $(unstage)
47001 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47002 r=`${PWD_COMMAND}`; export r; \
47003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47004 $(RAW_CXX_TARGET_EXPORTS) \
47005 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47006 for flag in $(EXTRA_TARGET_FLAGS); do \
47007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47008 done; \
47009 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47012 "RANLIB=$${RANLIB}" \
47013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47014 mostlyclean) \
47015 || exit 1
47017 @endif target-libstdc++-v3
47019 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
47020 maybe-clean-target-libstdc++-v3:
47021 @if target-libstdc++-v3
47022 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
47024 clean-target-libstdc++-v3:
47025 @: $(MAKE); $(unstage)
47026 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47027 r=`${PWD_COMMAND}`; export r; \
47028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47029 $(RAW_CXX_TARGET_EXPORTS) \
47030 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47031 for flag in $(EXTRA_TARGET_FLAGS); do \
47032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47033 done; \
47034 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47037 "RANLIB=$${RANLIB}" \
47038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47039 clean) \
47040 || exit 1
47042 @endif target-libstdc++-v3
47044 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
47045 maybe-distclean-target-libstdc++-v3:
47046 @if target-libstdc++-v3
47047 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
47049 distclean-target-libstdc++-v3:
47050 @: $(MAKE); $(unstage)
47051 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47052 r=`${PWD_COMMAND}`; export r; \
47053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47054 $(RAW_CXX_TARGET_EXPORTS) \
47055 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47056 for flag in $(EXTRA_TARGET_FLAGS); do \
47057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47058 done; \
47059 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47062 "RANLIB=$${RANLIB}" \
47063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47064 distclean) \
47065 || exit 1
47067 @endif target-libstdc++-v3
47069 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
47070 maybe-maintainer-clean-target-libstdc++-v3:
47071 @if target-libstdc++-v3
47072 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
47074 maintainer-clean-target-libstdc++-v3:
47075 @: $(MAKE); $(unstage)
47076 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47077 r=`${PWD_COMMAND}`; export r; \
47078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47079 $(RAW_CXX_TARGET_EXPORTS) \
47080 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47081 for flag in $(EXTRA_TARGET_FLAGS); do \
47082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47083 done; \
47084 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47087 "RANLIB=$${RANLIB}" \
47088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47089 maintainer-clean) \
47090 || exit 1
47092 @endif target-libstdc++-v3
47098 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
47099 maybe-configure-target-libmudflap:
47100 @if gcc-bootstrap
47101 configure-target-libmudflap: stage_current
47102 @endif gcc-bootstrap
47103 @if target-libmudflap
47104 maybe-configure-target-libmudflap: configure-target-libmudflap
47105 configure-target-libmudflap:
47106 @: $(MAKE); $(unstage)
47107 @r=`${PWD_COMMAND}`; export r; \
47108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47109 echo "Checking multilib configuration for libmudflap..."; \
47110 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
47111 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
47112 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
47113 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
47114 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
47115 else \
47116 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
47117 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
47118 fi; \
47119 else \
47120 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
47121 fi; \
47122 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
47123 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
47124 $(NORMAL_TARGET_EXPORTS) \
47125 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
47126 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
47127 case $(srcdir) in \
47128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47129 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
47130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47131 esac; \
47132 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
47133 libsrcdir="$$s/libmudflap"; \
47134 rm -f no-such-file || : ; \
47135 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47136 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47137 --target=${target_alias} $${srcdiroption} \
47138 || exit 1
47139 @endif target-libmudflap
47145 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
47146 maybe-all-target-libmudflap:
47147 @if gcc-bootstrap
47148 all-target-libmudflap: stage_current
47149 @endif gcc-bootstrap
47150 @if target-libmudflap
47151 TARGET-target-libmudflap=all
47152 maybe-all-target-libmudflap: all-target-libmudflap
47153 all-target-libmudflap: configure-target-libmudflap
47154 @: $(MAKE); $(unstage)
47155 @r=`${PWD_COMMAND}`; export r; \
47156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47157 $(NORMAL_TARGET_EXPORTS) \
47158 (cd $(TARGET_SUBDIR)/libmudflap && \
47159 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47160 $(TARGET-target-libmudflap))
47161 @endif target-libmudflap
47167 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
47168 maybe-check-target-libmudflap:
47169 @if target-libmudflap
47170 maybe-check-target-libmudflap: check-target-libmudflap
47172 check-target-libmudflap:
47173 @: $(MAKE); $(unstage)
47174 @r=`${PWD_COMMAND}`; export r; \
47175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47176 $(NORMAL_TARGET_EXPORTS) \
47177 (cd $(TARGET_SUBDIR)/libmudflap && \
47178 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47180 @endif target-libmudflap
47182 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
47183 maybe-install-target-libmudflap:
47184 @if target-libmudflap
47185 maybe-install-target-libmudflap: install-target-libmudflap
47187 install-target-libmudflap: installdirs
47188 @: $(MAKE); $(unstage)
47189 @r=`${PWD_COMMAND}`; export r; \
47190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47191 $(NORMAL_TARGET_EXPORTS) \
47192 (cd $(TARGET_SUBDIR)/libmudflap && \
47193 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47195 @endif target-libmudflap
47197 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
47198 maybe-install-strip-target-libmudflap:
47199 @if target-libmudflap
47200 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
47202 install-strip-target-libmudflap: installdirs
47203 @: $(MAKE); $(unstage)
47204 @r=`${PWD_COMMAND}`; export r; \
47205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47206 $(NORMAL_TARGET_EXPORTS) \
47207 (cd $(TARGET_SUBDIR)/libmudflap && \
47208 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47210 @endif target-libmudflap
47212 # Other targets (info, dvi, pdf, etc.)
47214 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
47215 maybe-info-target-libmudflap:
47216 @if target-libmudflap
47217 maybe-info-target-libmudflap: info-target-libmudflap
47219 info-target-libmudflap: \
47220 configure-target-libmudflap
47221 @: $(MAKE); $(unstage)
47222 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47223 r=`${PWD_COMMAND}`; export r; \
47224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47225 $(NORMAL_TARGET_EXPORTS) \
47226 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
47227 for flag in $(EXTRA_TARGET_FLAGS); do \
47228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47229 done; \
47230 (cd $(TARGET_SUBDIR)/libmudflap && \
47231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47233 "RANLIB=$${RANLIB}" \
47234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47235 info) \
47236 || exit 1
47238 @endif target-libmudflap
47240 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
47241 maybe-dvi-target-libmudflap:
47242 @if target-libmudflap
47243 maybe-dvi-target-libmudflap: dvi-target-libmudflap
47245 dvi-target-libmudflap: \
47246 configure-target-libmudflap
47247 @: $(MAKE); $(unstage)
47248 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47249 r=`${PWD_COMMAND}`; export r; \
47250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47251 $(NORMAL_TARGET_EXPORTS) \
47252 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
47253 for flag in $(EXTRA_TARGET_FLAGS); do \
47254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47255 done; \
47256 (cd $(TARGET_SUBDIR)/libmudflap && \
47257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47259 "RANLIB=$${RANLIB}" \
47260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47261 dvi) \
47262 || exit 1
47264 @endif target-libmudflap
47266 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
47267 maybe-pdf-target-libmudflap:
47268 @if target-libmudflap
47269 maybe-pdf-target-libmudflap: pdf-target-libmudflap
47271 pdf-target-libmudflap: \
47272 configure-target-libmudflap
47273 @: $(MAKE); $(unstage)
47274 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47275 r=`${PWD_COMMAND}`; export r; \
47276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47277 $(NORMAL_TARGET_EXPORTS) \
47278 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
47279 for flag in $(EXTRA_TARGET_FLAGS); do \
47280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47281 done; \
47282 (cd $(TARGET_SUBDIR)/libmudflap && \
47283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47285 "RANLIB=$${RANLIB}" \
47286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47287 pdf) \
47288 || exit 1
47290 @endif target-libmudflap
47292 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
47293 maybe-html-target-libmudflap:
47294 @if target-libmudflap
47295 maybe-html-target-libmudflap: html-target-libmudflap
47297 html-target-libmudflap: \
47298 configure-target-libmudflap
47299 @: $(MAKE); $(unstage)
47300 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47301 r=`${PWD_COMMAND}`; export r; \
47302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47303 $(NORMAL_TARGET_EXPORTS) \
47304 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
47305 for flag in $(EXTRA_TARGET_FLAGS); do \
47306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47307 done; \
47308 (cd $(TARGET_SUBDIR)/libmudflap && \
47309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47311 "RANLIB=$${RANLIB}" \
47312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47313 html) \
47314 || exit 1
47316 @endif target-libmudflap
47318 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
47319 maybe-TAGS-target-libmudflap:
47320 @if target-libmudflap
47321 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
47323 TAGS-target-libmudflap: \
47324 configure-target-libmudflap
47325 @: $(MAKE); $(unstage)
47326 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47327 r=`${PWD_COMMAND}`; export r; \
47328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47329 $(NORMAL_TARGET_EXPORTS) \
47330 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
47331 for flag in $(EXTRA_TARGET_FLAGS); do \
47332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47333 done; \
47334 (cd $(TARGET_SUBDIR)/libmudflap && \
47335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47337 "RANLIB=$${RANLIB}" \
47338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47339 TAGS) \
47340 || exit 1
47342 @endif target-libmudflap
47344 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
47345 maybe-install-info-target-libmudflap:
47346 @if target-libmudflap
47347 maybe-install-info-target-libmudflap: install-info-target-libmudflap
47349 install-info-target-libmudflap: \
47350 configure-target-libmudflap \
47351 info-target-libmudflap
47352 @: $(MAKE); $(unstage)
47353 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47354 r=`${PWD_COMMAND}`; export r; \
47355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47356 $(NORMAL_TARGET_EXPORTS) \
47357 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
47358 for flag in $(EXTRA_TARGET_FLAGS); do \
47359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47360 done; \
47361 (cd $(TARGET_SUBDIR)/libmudflap && \
47362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47364 "RANLIB=$${RANLIB}" \
47365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47366 install-info) \
47367 || exit 1
47369 @endif target-libmudflap
47371 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
47372 maybe-install-pdf-target-libmudflap:
47373 @if target-libmudflap
47374 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
47376 install-pdf-target-libmudflap: \
47377 configure-target-libmudflap \
47378 pdf-target-libmudflap
47379 @: $(MAKE); $(unstage)
47380 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47381 r=`${PWD_COMMAND}`; export r; \
47382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47383 $(NORMAL_TARGET_EXPORTS) \
47384 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
47385 for flag in $(EXTRA_TARGET_FLAGS); do \
47386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47387 done; \
47388 (cd $(TARGET_SUBDIR)/libmudflap && \
47389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47391 "RANLIB=$${RANLIB}" \
47392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47393 install-pdf) \
47394 || exit 1
47396 @endif target-libmudflap
47398 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
47399 maybe-install-html-target-libmudflap:
47400 @if target-libmudflap
47401 maybe-install-html-target-libmudflap: install-html-target-libmudflap
47403 install-html-target-libmudflap: \
47404 configure-target-libmudflap \
47405 html-target-libmudflap
47406 @: $(MAKE); $(unstage)
47407 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47408 r=`${PWD_COMMAND}`; export r; \
47409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47410 $(NORMAL_TARGET_EXPORTS) \
47411 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
47412 for flag in $(EXTRA_TARGET_FLAGS); do \
47413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47414 done; \
47415 (cd $(TARGET_SUBDIR)/libmudflap && \
47416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47418 "RANLIB=$${RANLIB}" \
47419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47420 install-html) \
47421 || exit 1
47423 @endif target-libmudflap
47425 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
47426 maybe-installcheck-target-libmudflap:
47427 @if target-libmudflap
47428 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
47430 installcheck-target-libmudflap: \
47431 configure-target-libmudflap
47432 @: $(MAKE); $(unstage)
47433 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47434 r=`${PWD_COMMAND}`; export r; \
47435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47436 $(NORMAL_TARGET_EXPORTS) \
47437 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
47438 for flag in $(EXTRA_TARGET_FLAGS); do \
47439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47440 done; \
47441 (cd $(TARGET_SUBDIR)/libmudflap && \
47442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47444 "RANLIB=$${RANLIB}" \
47445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47446 installcheck) \
47447 || exit 1
47449 @endif target-libmudflap
47451 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
47452 maybe-mostlyclean-target-libmudflap:
47453 @if target-libmudflap
47454 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
47456 mostlyclean-target-libmudflap:
47457 @: $(MAKE); $(unstage)
47458 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47459 r=`${PWD_COMMAND}`; export r; \
47460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47461 $(NORMAL_TARGET_EXPORTS) \
47462 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
47463 for flag in $(EXTRA_TARGET_FLAGS); do \
47464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47465 done; \
47466 (cd $(TARGET_SUBDIR)/libmudflap && \
47467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47469 "RANLIB=$${RANLIB}" \
47470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47471 mostlyclean) \
47472 || exit 1
47474 @endif target-libmudflap
47476 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
47477 maybe-clean-target-libmudflap:
47478 @if target-libmudflap
47479 maybe-clean-target-libmudflap: clean-target-libmudflap
47481 clean-target-libmudflap:
47482 @: $(MAKE); $(unstage)
47483 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47484 r=`${PWD_COMMAND}`; export r; \
47485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47486 $(NORMAL_TARGET_EXPORTS) \
47487 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
47488 for flag in $(EXTRA_TARGET_FLAGS); do \
47489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47490 done; \
47491 (cd $(TARGET_SUBDIR)/libmudflap && \
47492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47494 "RANLIB=$${RANLIB}" \
47495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47496 clean) \
47497 || exit 1
47499 @endif target-libmudflap
47501 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
47502 maybe-distclean-target-libmudflap:
47503 @if target-libmudflap
47504 maybe-distclean-target-libmudflap: distclean-target-libmudflap
47506 distclean-target-libmudflap:
47507 @: $(MAKE); $(unstage)
47508 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47509 r=`${PWD_COMMAND}`; export r; \
47510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47511 $(NORMAL_TARGET_EXPORTS) \
47512 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
47513 for flag in $(EXTRA_TARGET_FLAGS); do \
47514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47515 done; \
47516 (cd $(TARGET_SUBDIR)/libmudflap && \
47517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47519 "RANLIB=$${RANLIB}" \
47520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47521 distclean) \
47522 || exit 1
47524 @endif target-libmudflap
47526 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
47527 maybe-maintainer-clean-target-libmudflap:
47528 @if target-libmudflap
47529 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
47531 maintainer-clean-target-libmudflap:
47532 @: $(MAKE); $(unstage)
47533 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47534 r=`${PWD_COMMAND}`; export r; \
47535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47536 $(NORMAL_TARGET_EXPORTS) \
47537 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
47538 for flag in $(EXTRA_TARGET_FLAGS); do \
47539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47540 done; \
47541 (cd $(TARGET_SUBDIR)/libmudflap && \
47542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47544 "RANLIB=$${RANLIB}" \
47545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47546 maintainer-clean) \
47547 || exit 1
47549 @endif target-libmudflap
47555 .PHONY: configure-target-libssp maybe-configure-target-libssp
47556 maybe-configure-target-libssp:
47557 @if gcc-bootstrap
47558 configure-target-libssp: stage_current
47559 @endif gcc-bootstrap
47560 @if target-libssp
47561 maybe-configure-target-libssp: configure-target-libssp
47562 configure-target-libssp:
47563 @: $(MAKE); $(unstage)
47564 @r=`${PWD_COMMAND}`; export r; \
47565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47566 echo "Checking multilib configuration for libssp..."; \
47567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
47568 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
47569 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
47570 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
47571 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
47572 else \
47573 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
47574 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47575 fi; \
47576 else \
47577 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47578 fi; \
47579 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
47580 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
47581 $(NORMAL_TARGET_EXPORTS) \
47582 echo Configuring in $(TARGET_SUBDIR)/libssp; \
47583 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
47584 case $(srcdir) in \
47585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47586 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
47587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47588 esac; \
47589 srcdiroption="--srcdir=$${topdir}/libssp"; \
47590 libsrcdir="$$s/libssp"; \
47591 rm -f no-such-file || : ; \
47592 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47593 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47594 --target=${target_alias} $${srcdiroption} \
47595 || exit 1
47596 @endif target-libssp
47602 .PHONY: all-target-libssp maybe-all-target-libssp
47603 maybe-all-target-libssp:
47604 @if gcc-bootstrap
47605 all-target-libssp: stage_current
47606 @endif gcc-bootstrap
47607 @if target-libssp
47608 TARGET-target-libssp=all
47609 maybe-all-target-libssp: all-target-libssp
47610 all-target-libssp: configure-target-libssp
47611 @: $(MAKE); $(unstage)
47612 @r=`${PWD_COMMAND}`; export r; \
47613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47614 $(NORMAL_TARGET_EXPORTS) \
47615 (cd $(TARGET_SUBDIR)/libssp && \
47616 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47617 $(TARGET-target-libssp))
47618 @endif target-libssp
47624 .PHONY: check-target-libssp maybe-check-target-libssp
47625 maybe-check-target-libssp:
47626 @if target-libssp
47627 maybe-check-target-libssp: check-target-libssp
47629 check-target-libssp:
47630 @: $(MAKE); $(unstage)
47631 @r=`${PWD_COMMAND}`; export r; \
47632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47633 $(NORMAL_TARGET_EXPORTS) \
47634 (cd $(TARGET_SUBDIR)/libssp && \
47635 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47637 @endif target-libssp
47639 .PHONY: install-target-libssp maybe-install-target-libssp
47640 maybe-install-target-libssp:
47641 @if target-libssp
47642 maybe-install-target-libssp: install-target-libssp
47644 install-target-libssp: installdirs
47645 @: $(MAKE); $(unstage)
47646 @r=`${PWD_COMMAND}`; export r; \
47647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47648 $(NORMAL_TARGET_EXPORTS) \
47649 (cd $(TARGET_SUBDIR)/libssp && \
47650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47652 @endif target-libssp
47654 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
47655 maybe-install-strip-target-libssp:
47656 @if target-libssp
47657 maybe-install-strip-target-libssp: install-strip-target-libssp
47659 install-strip-target-libssp: installdirs
47660 @: $(MAKE); $(unstage)
47661 @r=`${PWD_COMMAND}`; export r; \
47662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47663 $(NORMAL_TARGET_EXPORTS) \
47664 (cd $(TARGET_SUBDIR)/libssp && \
47665 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47667 @endif target-libssp
47669 # Other targets (info, dvi, pdf, etc.)
47671 .PHONY: maybe-info-target-libssp info-target-libssp
47672 maybe-info-target-libssp:
47673 @if target-libssp
47674 maybe-info-target-libssp: info-target-libssp
47676 info-target-libssp: \
47677 configure-target-libssp
47678 @: $(MAKE); $(unstage)
47679 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47680 r=`${PWD_COMMAND}`; export r; \
47681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47682 $(NORMAL_TARGET_EXPORTS) \
47683 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
47684 for flag in $(EXTRA_TARGET_FLAGS); do \
47685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47686 done; \
47687 (cd $(TARGET_SUBDIR)/libssp && \
47688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47690 "RANLIB=$${RANLIB}" \
47691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47692 info) \
47693 || exit 1
47695 @endif target-libssp
47697 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
47698 maybe-dvi-target-libssp:
47699 @if target-libssp
47700 maybe-dvi-target-libssp: dvi-target-libssp
47702 dvi-target-libssp: \
47703 configure-target-libssp
47704 @: $(MAKE); $(unstage)
47705 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47706 r=`${PWD_COMMAND}`; export r; \
47707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47708 $(NORMAL_TARGET_EXPORTS) \
47709 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
47710 for flag in $(EXTRA_TARGET_FLAGS); do \
47711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47712 done; \
47713 (cd $(TARGET_SUBDIR)/libssp && \
47714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47716 "RANLIB=$${RANLIB}" \
47717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47718 dvi) \
47719 || exit 1
47721 @endif target-libssp
47723 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
47724 maybe-pdf-target-libssp:
47725 @if target-libssp
47726 maybe-pdf-target-libssp: pdf-target-libssp
47728 pdf-target-libssp: \
47729 configure-target-libssp
47730 @: $(MAKE); $(unstage)
47731 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47732 r=`${PWD_COMMAND}`; export r; \
47733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47734 $(NORMAL_TARGET_EXPORTS) \
47735 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
47736 for flag in $(EXTRA_TARGET_FLAGS); do \
47737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47738 done; \
47739 (cd $(TARGET_SUBDIR)/libssp && \
47740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47742 "RANLIB=$${RANLIB}" \
47743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47744 pdf) \
47745 || exit 1
47747 @endif target-libssp
47749 .PHONY: maybe-html-target-libssp html-target-libssp
47750 maybe-html-target-libssp:
47751 @if target-libssp
47752 maybe-html-target-libssp: html-target-libssp
47754 html-target-libssp: \
47755 configure-target-libssp
47756 @: $(MAKE); $(unstage)
47757 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47758 r=`${PWD_COMMAND}`; export r; \
47759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47760 $(NORMAL_TARGET_EXPORTS) \
47761 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
47762 for flag in $(EXTRA_TARGET_FLAGS); do \
47763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47764 done; \
47765 (cd $(TARGET_SUBDIR)/libssp && \
47766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47768 "RANLIB=$${RANLIB}" \
47769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47770 html) \
47771 || exit 1
47773 @endif target-libssp
47775 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
47776 maybe-TAGS-target-libssp:
47777 @if target-libssp
47778 maybe-TAGS-target-libssp: TAGS-target-libssp
47780 TAGS-target-libssp: \
47781 configure-target-libssp
47782 @: $(MAKE); $(unstage)
47783 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47784 r=`${PWD_COMMAND}`; export r; \
47785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47786 $(NORMAL_TARGET_EXPORTS) \
47787 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
47788 for flag in $(EXTRA_TARGET_FLAGS); do \
47789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47790 done; \
47791 (cd $(TARGET_SUBDIR)/libssp && \
47792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47794 "RANLIB=$${RANLIB}" \
47795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47796 TAGS) \
47797 || exit 1
47799 @endif target-libssp
47801 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
47802 maybe-install-info-target-libssp:
47803 @if target-libssp
47804 maybe-install-info-target-libssp: install-info-target-libssp
47806 install-info-target-libssp: \
47807 configure-target-libssp \
47808 info-target-libssp
47809 @: $(MAKE); $(unstage)
47810 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47811 r=`${PWD_COMMAND}`; export r; \
47812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47813 $(NORMAL_TARGET_EXPORTS) \
47814 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
47815 for flag in $(EXTRA_TARGET_FLAGS); do \
47816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47817 done; \
47818 (cd $(TARGET_SUBDIR)/libssp && \
47819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47821 "RANLIB=$${RANLIB}" \
47822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47823 install-info) \
47824 || exit 1
47826 @endif target-libssp
47828 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
47829 maybe-install-pdf-target-libssp:
47830 @if target-libssp
47831 maybe-install-pdf-target-libssp: install-pdf-target-libssp
47833 install-pdf-target-libssp: \
47834 configure-target-libssp \
47835 pdf-target-libssp
47836 @: $(MAKE); $(unstage)
47837 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47838 r=`${PWD_COMMAND}`; export r; \
47839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47840 $(NORMAL_TARGET_EXPORTS) \
47841 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
47842 for flag in $(EXTRA_TARGET_FLAGS); do \
47843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47844 done; \
47845 (cd $(TARGET_SUBDIR)/libssp && \
47846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47848 "RANLIB=$${RANLIB}" \
47849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47850 install-pdf) \
47851 || exit 1
47853 @endif target-libssp
47855 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
47856 maybe-install-html-target-libssp:
47857 @if target-libssp
47858 maybe-install-html-target-libssp: install-html-target-libssp
47860 install-html-target-libssp: \
47861 configure-target-libssp \
47862 html-target-libssp
47863 @: $(MAKE); $(unstage)
47864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47865 r=`${PWD_COMMAND}`; export r; \
47866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47867 $(NORMAL_TARGET_EXPORTS) \
47868 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
47869 for flag in $(EXTRA_TARGET_FLAGS); do \
47870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47871 done; \
47872 (cd $(TARGET_SUBDIR)/libssp && \
47873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47875 "RANLIB=$${RANLIB}" \
47876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47877 install-html) \
47878 || exit 1
47880 @endif target-libssp
47882 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
47883 maybe-installcheck-target-libssp:
47884 @if target-libssp
47885 maybe-installcheck-target-libssp: installcheck-target-libssp
47887 installcheck-target-libssp: \
47888 configure-target-libssp
47889 @: $(MAKE); $(unstage)
47890 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47891 r=`${PWD_COMMAND}`; export r; \
47892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47893 $(NORMAL_TARGET_EXPORTS) \
47894 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
47895 for flag in $(EXTRA_TARGET_FLAGS); do \
47896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47897 done; \
47898 (cd $(TARGET_SUBDIR)/libssp && \
47899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47901 "RANLIB=$${RANLIB}" \
47902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47903 installcheck) \
47904 || exit 1
47906 @endif target-libssp
47908 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
47909 maybe-mostlyclean-target-libssp:
47910 @if target-libssp
47911 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
47913 mostlyclean-target-libssp:
47914 @: $(MAKE); $(unstage)
47915 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47916 r=`${PWD_COMMAND}`; export r; \
47917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47918 $(NORMAL_TARGET_EXPORTS) \
47919 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
47920 for flag in $(EXTRA_TARGET_FLAGS); do \
47921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47922 done; \
47923 (cd $(TARGET_SUBDIR)/libssp && \
47924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47926 "RANLIB=$${RANLIB}" \
47927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47928 mostlyclean) \
47929 || exit 1
47931 @endif target-libssp
47933 .PHONY: maybe-clean-target-libssp clean-target-libssp
47934 maybe-clean-target-libssp:
47935 @if target-libssp
47936 maybe-clean-target-libssp: clean-target-libssp
47938 clean-target-libssp:
47939 @: $(MAKE); $(unstage)
47940 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47941 r=`${PWD_COMMAND}`; export r; \
47942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47943 $(NORMAL_TARGET_EXPORTS) \
47944 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
47945 for flag in $(EXTRA_TARGET_FLAGS); do \
47946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47947 done; \
47948 (cd $(TARGET_SUBDIR)/libssp && \
47949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47951 "RANLIB=$${RANLIB}" \
47952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47953 clean) \
47954 || exit 1
47956 @endif target-libssp
47958 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
47959 maybe-distclean-target-libssp:
47960 @if target-libssp
47961 maybe-distclean-target-libssp: distclean-target-libssp
47963 distclean-target-libssp:
47964 @: $(MAKE); $(unstage)
47965 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47966 r=`${PWD_COMMAND}`; export r; \
47967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47968 $(NORMAL_TARGET_EXPORTS) \
47969 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
47970 for flag in $(EXTRA_TARGET_FLAGS); do \
47971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47972 done; \
47973 (cd $(TARGET_SUBDIR)/libssp && \
47974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47976 "RANLIB=$${RANLIB}" \
47977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47978 distclean) \
47979 || exit 1
47981 @endif target-libssp
47983 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
47984 maybe-maintainer-clean-target-libssp:
47985 @if target-libssp
47986 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
47988 maintainer-clean-target-libssp:
47989 @: $(MAKE); $(unstage)
47990 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47991 r=`${PWD_COMMAND}`; export r; \
47992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47993 $(NORMAL_TARGET_EXPORTS) \
47994 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
47995 for flag in $(EXTRA_TARGET_FLAGS); do \
47996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47997 done; \
47998 (cd $(TARGET_SUBDIR)/libssp && \
47999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48001 "RANLIB=$${RANLIB}" \
48002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48003 maintainer-clean) \
48004 || exit 1
48006 @endif target-libssp
48012 .PHONY: configure-target-newlib maybe-configure-target-newlib
48013 maybe-configure-target-newlib:
48014 @if gcc-bootstrap
48015 configure-target-newlib: stage_current
48016 @endif gcc-bootstrap
48017 @if target-newlib
48018 maybe-configure-target-newlib: configure-target-newlib
48019 configure-target-newlib:
48020 @: $(MAKE); $(unstage)
48021 @r=`${PWD_COMMAND}`; export r; \
48022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48023 echo "Checking multilib configuration for newlib..."; \
48024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
48025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
48026 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
48027 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
48028 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
48029 else \
48030 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
48031 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48032 fi; \
48033 else \
48034 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48035 fi; \
48036 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
48037 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
48038 $(NORMAL_TARGET_EXPORTS) \
48039 echo Configuring in $(TARGET_SUBDIR)/newlib; \
48040 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
48041 case $(srcdir) in \
48042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48043 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
48044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48045 esac; \
48046 srcdiroption="--srcdir=$${topdir}/newlib"; \
48047 libsrcdir="$$s/newlib"; \
48048 rm -f no-such-file || : ; \
48049 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48050 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48051 --target=${target_alias} $${srcdiroption} \
48052 || exit 1
48053 @endif target-newlib
48059 .PHONY: all-target-newlib maybe-all-target-newlib
48060 maybe-all-target-newlib:
48061 @if gcc-bootstrap
48062 all-target-newlib: stage_current
48063 @endif gcc-bootstrap
48064 @if target-newlib
48065 TARGET-target-newlib=all
48066 maybe-all-target-newlib: all-target-newlib
48067 all-target-newlib: configure-target-newlib
48068 @: $(MAKE); $(unstage)
48069 @r=`${PWD_COMMAND}`; export r; \
48070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48071 $(NORMAL_TARGET_EXPORTS) \
48072 (cd $(TARGET_SUBDIR)/newlib && \
48073 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48074 $(TARGET-target-newlib))
48075 @endif target-newlib
48081 .PHONY: check-target-newlib maybe-check-target-newlib
48082 maybe-check-target-newlib:
48083 @if target-newlib
48084 maybe-check-target-newlib: check-target-newlib
48086 check-target-newlib:
48087 @: $(MAKE); $(unstage)
48088 @r=`${PWD_COMMAND}`; export r; \
48089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48090 $(NORMAL_TARGET_EXPORTS) \
48091 (cd $(TARGET_SUBDIR)/newlib && \
48092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48094 @endif target-newlib
48096 .PHONY: install-target-newlib maybe-install-target-newlib
48097 maybe-install-target-newlib:
48098 @if target-newlib
48099 maybe-install-target-newlib: install-target-newlib
48101 install-target-newlib: installdirs
48102 @: $(MAKE); $(unstage)
48103 @r=`${PWD_COMMAND}`; export r; \
48104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48105 $(NORMAL_TARGET_EXPORTS) \
48106 (cd $(TARGET_SUBDIR)/newlib && \
48107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48109 @endif target-newlib
48111 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
48112 maybe-install-strip-target-newlib:
48113 @if target-newlib
48114 maybe-install-strip-target-newlib: install-strip-target-newlib
48116 install-strip-target-newlib: installdirs
48117 @: $(MAKE); $(unstage)
48118 @r=`${PWD_COMMAND}`; export r; \
48119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48120 $(NORMAL_TARGET_EXPORTS) \
48121 (cd $(TARGET_SUBDIR)/newlib && \
48122 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48124 @endif target-newlib
48126 # Other targets (info, dvi, pdf, etc.)
48128 .PHONY: maybe-info-target-newlib info-target-newlib
48129 maybe-info-target-newlib:
48130 @if target-newlib
48131 maybe-info-target-newlib: info-target-newlib
48133 info-target-newlib: \
48134 configure-target-newlib
48135 @: $(MAKE); $(unstage)
48136 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48137 r=`${PWD_COMMAND}`; export r; \
48138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48139 $(NORMAL_TARGET_EXPORTS) \
48140 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
48141 for flag in $(EXTRA_TARGET_FLAGS); do \
48142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48143 done; \
48144 (cd $(TARGET_SUBDIR)/newlib && \
48145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48147 "RANLIB=$${RANLIB}" \
48148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48149 info) \
48150 || exit 1
48152 @endif target-newlib
48154 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
48155 maybe-dvi-target-newlib:
48156 @if target-newlib
48157 maybe-dvi-target-newlib: dvi-target-newlib
48159 dvi-target-newlib: \
48160 configure-target-newlib
48161 @: $(MAKE); $(unstage)
48162 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48163 r=`${PWD_COMMAND}`; export r; \
48164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48165 $(NORMAL_TARGET_EXPORTS) \
48166 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
48167 for flag in $(EXTRA_TARGET_FLAGS); do \
48168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48169 done; \
48170 (cd $(TARGET_SUBDIR)/newlib && \
48171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48173 "RANLIB=$${RANLIB}" \
48174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48175 dvi) \
48176 || exit 1
48178 @endif target-newlib
48180 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
48181 maybe-pdf-target-newlib:
48182 @if target-newlib
48183 maybe-pdf-target-newlib: pdf-target-newlib
48185 pdf-target-newlib: \
48186 configure-target-newlib
48187 @: $(MAKE); $(unstage)
48188 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48189 r=`${PWD_COMMAND}`; export r; \
48190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48191 $(NORMAL_TARGET_EXPORTS) \
48192 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
48193 for flag in $(EXTRA_TARGET_FLAGS); do \
48194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48195 done; \
48196 (cd $(TARGET_SUBDIR)/newlib && \
48197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48199 "RANLIB=$${RANLIB}" \
48200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48201 pdf) \
48202 || exit 1
48204 @endif target-newlib
48206 .PHONY: maybe-html-target-newlib html-target-newlib
48207 maybe-html-target-newlib:
48208 @if target-newlib
48209 maybe-html-target-newlib: html-target-newlib
48211 html-target-newlib: \
48212 configure-target-newlib
48213 @: $(MAKE); $(unstage)
48214 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48215 r=`${PWD_COMMAND}`; export r; \
48216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48217 $(NORMAL_TARGET_EXPORTS) \
48218 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
48219 for flag in $(EXTRA_TARGET_FLAGS); do \
48220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48221 done; \
48222 (cd $(TARGET_SUBDIR)/newlib && \
48223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48225 "RANLIB=$${RANLIB}" \
48226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48227 html) \
48228 || exit 1
48230 @endif target-newlib
48232 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
48233 maybe-TAGS-target-newlib:
48234 @if target-newlib
48235 maybe-TAGS-target-newlib: TAGS-target-newlib
48237 TAGS-target-newlib: \
48238 configure-target-newlib
48239 @: $(MAKE); $(unstage)
48240 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48241 r=`${PWD_COMMAND}`; export r; \
48242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48243 $(NORMAL_TARGET_EXPORTS) \
48244 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
48245 for flag in $(EXTRA_TARGET_FLAGS); do \
48246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48247 done; \
48248 (cd $(TARGET_SUBDIR)/newlib && \
48249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48251 "RANLIB=$${RANLIB}" \
48252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48253 TAGS) \
48254 || exit 1
48256 @endif target-newlib
48258 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
48259 maybe-install-info-target-newlib:
48260 @if target-newlib
48261 maybe-install-info-target-newlib: install-info-target-newlib
48263 install-info-target-newlib: \
48264 configure-target-newlib \
48265 info-target-newlib
48266 @: $(MAKE); $(unstage)
48267 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48268 r=`${PWD_COMMAND}`; export r; \
48269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48270 $(NORMAL_TARGET_EXPORTS) \
48271 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
48272 for flag in $(EXTRA_TARGET_FLAGS); do \
48273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48274 done; \
48275 (cd $(TARGET_SUBDIR)/newlib && \
48276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48278 "RANLIB=$${RANLIB}" \
48279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48280 install-info) \
48281 || exit 1
48283 @endif target-newlib
48285 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
48286 maybe-install-pdf-target-newlib:
48287 @if target-newlib
48288 maybe-install-pdf-target-newlib: install-pdf-target-newlib
48290 install-pdf-target-newlib: \
48291 configure-target-newlib \
48292 pdf-target-newlib
48293 @: $(MAKE); $(unstage)
48294 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48295 r=`${PWD_COMMAND}`; export r; \
48296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48297 $(NORMAL_TARGET_EXPORTS) \
48298 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
48299 for flag in $(EXTRA_TARGET_FLAGS); do \
48300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48301 done; \
48302 (cd $(TARGET_SUBDIR)/newlib && \
48303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48305 "RANLIB=$${RANLIB}" \
48306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48307 install-pdf) \
48308 || exit 1
48310 @endif target-newlib
48312 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
48313 maybe-install-html-target-newlib:
48314 @if target-newlib
48315 maybe-install-html-target-newlib: install-html-target-newlib
48317 install-html-target-newlib: \
48318 configure-target-newlib \
48319 html-target-newlib
48320 @: $(MAKE); $(unstage)
48321 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48322 r=`${PWD_COMMAND}`; export r; \
48323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48324 $(NORMAL_TARGET_EXPORTS) \
48325 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
48326 for flag in $(EXTRA_TARGET_FLAGS); do \
48327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48328 done; \
48329 (cd $(TARGET_SUBDIR)/newlib && \
48330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48332 "RANLIB=$${RANLIB}" \
48333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48334 install-html) \
48335 || exit 1
48337 @endif target-newlib
48339 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
48340 maybe-installcheck-target-newlib:
48341 @if target-newlib
48342 maybe-installcheck-target-newlib: installcheck-target-newlib
48344 installcheck-target-newlib: \
48345 configure-target-newlib
48346 @: $(MAKE); $(unstage)
48347 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48348 r=`${PWD_COMMAND}`; export r; \
48349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48350 $(NORMAL_TARGET_EXPORTS) \
48351 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
48352 for flag in $(EXTRA_TARGET_FLAGS); do \
48353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48354 done; \
48355 (cd $(TARGET_SUBDIR)/newlib && \
48356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48358 "RANLIB=$${RANLIB}" \
48359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48360 installcheck) \
48361 || exit 1
48363 @endif target-newlib
48365 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
48366 maybe-mostlyclean-target-newlib:
48367 @if target-newlib
48368 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
48370 mostlyclean-target-newlib:
48371 @: $(MAKE); $(unstage)
48372 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48373 r=`${PWD_COMMAND}`; export r; \
48374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48375 $(NORMAL_TARGET_EXPORTS) \
48376 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
48377 for flag in $(EXTRA_TARGET_FLAGS); do \
48378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48379 done; \
48380 (cd $(TARGET_SUBDIR)/newlib && \
48381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48383 "RANLIB=$${RANLIB}" \
48384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48385 mostlyclean) \
48386 || exit 1
48388 @endif target-newlib
48390 .PHONY: maybe-clean-target-newlib clean-target-newlib
48391 maybe-clean-target-newlib:
48392 @if target-newlib
48393 maybe-clean-target-newlib: clean-target-newlib
48395 clean-target-newlib:
48396 @: $(MAKE); $(unstage)
48397 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48398 r=`${PWD_COMMAND}`; export r; \
48399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48400 $(NORMAL_TARGET_EXPORTS) \
48401 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
48402 for flag in $(EXTRA_TARGET_FLAGS); do \
48403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48404 done; \
48405 (cd $(TARGET_SUBDIR)/newlib && \
48406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48408 "RANLIB=$${RANLIB}" \
48409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48410 clean) \
48411 || exit 1
48413 @endif target-newlib
48415 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
48416 maybe-distclean-target-newlib:
48417 @if target-newlib
48418 maybe-distclean-target-newlib: distclean-target-newlib
48420 distclean-target-newlib:
48421 @: $(MAKE); $(unstage)
48422 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48423 r=`${PWD_COMMAND}`; export r; \
48424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48425 $(NORMAL_TARGET_EXPORTS) \
48426 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
48427 for flag in $(EXTRA_TARGET_FLAGS); do \
48428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48429 done; \
48430 (cd $(TARGET_SUBDIR)/newlib && \
48431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48433 "RANLIB=$${RANLIB}" \
48434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48435 distclean) \
48436 || exit 1
48438 @endif target-newlib
48440 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
48441 maybe-maintainer-clean-target-newlib:
48442 @if target-newlib
48443 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
48445 maintainer-clean-target-newlib:
48446 @: $(MAKE); $(unstage)
48447 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48448 r=`${PWD_COMMAND}`; export r; \
48449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48450 $(NORMAL_TARGET_EXPORTS) \
48451 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
48452 for flag in $(EXTRA_TARGET_FLAGS); do \
48453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48454 done; \
48455 (cd $(TARGET_SUBDIR)/newlib && \
48456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48458 "RANLIB=$${RANLIB}" \
48459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48460 maintainer-clean) \
48461 || exit 1
48463 @endif target-newlib
48469 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
48470 maybe-configure-target-libgcc:
48471 @if gcc-bootstrap
48472 configure-target-libgcc: stage_current
48473 @endif gcc-bootstrap
48474 @if target-libgcc
48475 maybe-configure-target-libgcc: configure-target-libgcc
48476 configure-target-libgcc:
48477 @r=`${PWD_COMMAND}`; export r; \
48478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48479 echo "Checking multilib configuration for libgcc..."; \
48480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48481 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48482 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48483 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48484 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48485 else \
48486 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48487 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48488 fi; \
48489 else \
48490 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48491 fi; \
48492 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48493 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48494 $(NORMAL_TARGET_EXPORTS) \
48495 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
48496 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
48497 case $(srcdir) in \
48498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48499 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48501 esac; \
48502 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48503 libsrcdir="$$s/libgcc"; \
48504 rm -f no-such-file || : ; \
48505 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48506 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48507 --target=${target_alias} $${srcdiroption} \
48508 || exit 1
48509 @endif target-libgcc
48513 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
48514 maybe-configure-stage1-target-libgcc:
48515 @if target-libgcc-bootstrap
48516 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
48517 configure-stage1-target-libgcc:
48518 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48519 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48520 @r=`${PWD_COMMAND}`; export r; \
48521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48522 TFLAGS="$(STAGE1_TFLAGS)"; \
48523 echo "Checking multilib configuration for libgcc..."; \
48524 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48525 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48526 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48527 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48528 else \
48529 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48530 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48531 fi; \
48532 else \
48533 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48534 fi; \
48535 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48536 $(NORMAL_TARGET_EXPORTS) \
48537 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48538 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48539 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48540 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
48541 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48542 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48543 case $(srcdir) in \
48544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48545 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48547 esac; \
48548 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48549 libsrcdir="$$s/libgcc"; \
48550 $(SHELL) $${libsrcdir}/configure \
48551 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48552 --target=${target_alias} $${srcdiroption} \
48553 $(STAGE1_CONFIGURE_FLAGS)
48554 @endif target-libgcc-bootstrap
48556 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
48557 maybe-configure-stage2-target-libgcc:
48558 @if target-libgcc-bootstrap
48559 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
48560 configure-stage2-target-libgcc:
48561 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48562 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48563 @r=`${PWD_COMMAND}`; export r; \
48564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48565 TFLAGS="$(STAGE2_TFLAGS)"; \
48566 echo "Checking multilib configuration for libgcc..."; \
48567 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48568 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48569 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48570 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48571 else \
48572 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48573 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48574 fi; \
48575 else \
48576 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48577 fi; \
48578 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48579 $(NORMAL_TARGET_EXPORTS) \
48581 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48582 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48583 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48584 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
48585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48586 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48587 case $(srcdir) in \
48588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48589 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48591 esac; \
48592 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48593 libsrcdir="$$s/libgcc"; \
48594 $(SHELL) $${libsrcdir}/configure \
48595 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48596 --target=${target_alias} $${srcdiroption} \
48597 --with-build-libsubdir=$(HOST_SUBDIR) \
48598 $(STAGE2_CONFIGURE_FLAGS)
48599 @endif target-libgcc-bootstrap
48601 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
48602 maybe-configure-stage3-target-libgcc:
48603 @if target-libgcc-bootstrap
48604 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
48605 configure-stage3-target-libgcc:
48606 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48607 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48608 @r=`${PWD_COMMAND}`; export r; \
48609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48610 TFLAGS="$(STAGE3_TFLAGS)"; \
48611 echo "Checking multilib configuration for libgcc..."; \
48612 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48613 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48614 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48615 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48616 else \
48617 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48618 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48619 fi; \
48620 else \
48621 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48622 fi; \
48623 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48624 $(NORMAL_TARGET_EXPORTS) \
48626 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48627 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48628 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48629 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
48630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48631 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48632 case $(srcdir) in \
48633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48634 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48636 esac; \
48637 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48638 libsrcdir="$$s/libgcc"; \
48639 $(SHELL) $${libsrcdir}/configure \
48640 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48641 --target=${target_alias} $${srcdiroption} \
48642 --with-build-libsubdir=$(HOST_SUBDIR) \
48643 $(STAGE3_CONFIGURE_FLAGS)
48644 @endif target-libgcc-bootstrap
48646 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
48647 maybe-configure-stage4-target-libgcc:
48648 @if target-libgcc-bootstrap
48649 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
48650 configure-stage4-target-libgcc:
48651 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
48652 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48653 @r=`${PWD_COMMAND}`; export r; \
48654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48655 TFLAGS="$(STAGE4_TFLAGS)"; \
48656 echo "Checking multilib configuration for libgcc..."; \
48657 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48658 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48659 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48660 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48661 else \
48662 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48663 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48664 fi; \
48665 else \
48666 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48667 fi; \
48668 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48669 $(NORMAL_TARGET_EXPORTS) \
48671 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48672 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48673 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48674 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
48675 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48676 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48677 case $(srcdir) in \
48678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48679 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48681 esac; \
48682 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48683 libsrcdir="$$s/libgcc"; \
48684 $(SHELL) $${libsrcdir}/configure \
48685 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48686 --target=${target_alias} $${srcdiroption} \
48687 --with-build-libsubdir=$(HOST_SUBDIR) \
48688 $(STAGE4_CONFIGURE_FLAGS)
48689 @endif target-libgcc-bootstrap
48691 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
48692 maybe-configure-stageprofile-target-libgcc:
48693 @if target-libgcc-bootstrap
48694 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
48695 configure-stageprofile-target-libgcc:
48696 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
48697 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48698 @r=`${PWD_COMMAND}`; export r; \
48699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
48701 echo "Checking multilib configuration for libgcc..."; \
48702 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48703 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48704 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48705 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48706 else \
48707 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48708 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48709 fi; \
48710 else \
48711 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48712 fi; \
48713 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48714 $(NORMAL_TARGET_EXPORTS) \
48716 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48717 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48718 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48719 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
48720 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48721 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48722 case $(srcdir) in \
48723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48724 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48726 esac; \
48727 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48728 libsrcdir="$$s/libgcc"; \
48729 $(SHELL) $${libsrcdir}/configure \
48730 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48731 --target=${target_alias} $${srcdiroption} \
48732 --with-build-libsubdir=$(HOST_SUBDIR) \
48733 $(STAGEprofile_CONFIGURE_FLAGS)
48734 @endif target-libgcc-bootstrap
48736 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
48737 maybe-configure-stagefeedback-target-libgcc:
48738 @if target-libgcc-bootstrap
48739 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
48740 configure-stagefeedback-target-libgcc:
48741 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
48742 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48743 @r=`${PWD_COMMAND}`; export r; \
48744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
48746 echo "Checking multilib configuration for libgcc..."; \
48747 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48748 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48749 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48750 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48751 else \
48752 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48753 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48754 fi; \
48755 else \
48756 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48757 fi; \
48758 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48759 $(NORMAL_TARGET_EXPORTS) \
48761 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48762 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48763 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48764 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
48765 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48766 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48767 case $(srcdir) in \
48768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48769 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48771 esac; \
48772 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48773 libsrcdir="$$s/libgcc"; \
48774 $(SHELL) $${libsrcdir}/configure \
48775 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48776 --target=${target_alias} $${srcdiroption} \
48777 --with-build-libsubdir=$(HOST_SUBDIR) \
48778 $(STAGEfeedback_CONFIGURE_FLAGS)
48779 @endif target-libgcc-bootstrap
48785 .PHONY: all-target-libgcc maybe-all-target-libgcc
48786 maybe-all-target-libgcc:
48787 @if gcc-bootstrap
48788 all-target-libgcc: stage_current
48789 @endif gcc-bootstrap
48790 @if target-libgcc
48791 TARGET-target-libgcc=all
48792 maybe-all-target-libgcc: all-target-libgcc
48793 all-target-libgcc: configure-target-libgcc
48794 @r=`${PWD_COMMAND}`; export r; \
48795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48796 $(NORMAL_TARGET_EXPORTS) \
48797 (cd $(TARGET_SUBDIR)/libgcc && \
48798 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48799 $(TARGET-target-libgcc))
48800 @endif target-libgcc
48804 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
48805 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
48806 maybe-all-stage1-target-libgcc:
48807 maybe-clean-stage1-target-libgcc:
48808 @if target-libgcc-bootstrap
48809 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
48810 all-stage1: all-stage1-target-libgcc
48811 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
48812 all-stage1-target-libgcc: configure-stage1-target-libgcc
48813 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48814 @r=`${PWD_COMMAND}`; export r; \
48815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48816 TFLAGS="$(STAGE1_TFLAGS)"; \
48817 $(NORMAL_TARGET_EXPORTS) \
48818 cd $(TARGET_SUBDIR)/libgcc && \
48819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48820 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48826 $(EXTRA_TARGET_FLAGS) \
48827 TFLAGS="$(STAGE1_TFLAGS)" \
48828 $(TARGET-stage1-target-libgcc)
48830 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
48831 clean-stage1: clean-stage1-target-libgcc
48832 clean-stage1-target-libgcc:
48833 @if [ $(current_stage) = stage1 ]; then \
48834 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48835 else \
48836 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
48837 $(MAKE) stage1-start; \
48838 fi; \
48839 cd $(TARGET_SUBDIR)/libgcc && \
48840 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48841 clean
48842 @endif target-libgcc-bootstrap
48845 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
48846 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
48847 maybe-all-stage2-target-libgcc:
48848 maybe-clean-stage2-target-libgcc:
48849 @if target-libgcc-bootstrap
48850 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
48851 all-stage2: all-stage2-target-libgcc
48852 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
48853 all-stage2-target-libgcc: configure-stage2-target-libgcc
48854 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48855 @r=`${PWD_COMMAND}`; export r; \
48856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48857 TFLAGS="$(STAGE2_TFLAGS)"; \
48858 $(NORMAL_TARGET_EXPORTS) \
48860 cd $(TARGET_SUBDIR)/libgcc && \
48861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48862 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48868 $(EXTRA_TARGET_FLAGS) \
48869 TFLAGS="$(STAGE2_TFLAGS)" \
48870 $(TARGET-stage2-target-libgcc)
48872 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
48873 clean-stage2: clean-stage2-target-libgcc
48874 clean-stage2-target-libgcc:
48875 @if [ $(current_stage) = stage2 ]; then \
48876 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48877 else \
48878 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
48879 $(MAKE) stage2-start; \
48880 fi; \
48881 cd $(TARGET_SUBDIR)/libgcc && \
48882 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48884 clean
48885 @endif target-libgcc-bootstrap
48888 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
48889 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
48890 maybe-all-stage3-target-libgcc:
48891 maybe-clean-stage3-target-libgcc:
48892 @if target-libgcc-bootstrap
48893 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
48894 all-stage3: all-stage3-target-libgcc
48895 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
48896 all-stage3-target-libgcc: configure-stage3-target-libgcc
48897 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48898 @r=`${PWD_COMMAND}`; export r; \
48899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48900 TFLAGS="$(STAGE3_TFLAGS)"; \
48901 $(NORMAL_TARGET_EXPORTS) \
48903 cd $(TARGET_SUBDIR)/libgcc && \
48904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48905 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48906 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48907 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48911 $(EXTRA_TARGET_FLAGS) \
48912 TFLAGS="$(STAGE3_TFLAGS)" \
48913 $(TARGET-stage3-target-libgcc)
48915 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
48916 clean-stage3: clean-stage3-target-libgcc
48917 clean-stage3-target-libgcc:
48918 @if [ $(current_stage) = stage3 ]; then \
48919 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48920 else \
48921 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
48922 $(MAKE) stage3-start; \
48923 fi; \
48924 cd $(TARGET_SUBDIR)/libgcc && \
48925 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48927 clean
48928 @endif target-libgcc-bootstrap
48931 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
48932 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
48933 maybe-all-stage4-target-libgcc:
48934 maybe-clean-stage4-target-libgcc:
48935 @if target-libgcc-bootstrap
48936 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
48937 all-stage4: all-stage4-target-libgcc
48938 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
48939 all-stage4-target-libgcc: configure-stage4-target-libgcc
48940 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
48941 @r=`${PWD_COMMAND}`; export r; \
48942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48943 TFLAGS="$(STAGE4_TFLAGS)"; \
48944 $(NORMAL_TARGET_EXPORTS) \
48946 cd $(TARGET_SUBDIR)/libgcc && \
48947 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48948 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48949 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48950 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48951 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48952 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48953 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48954 $(EXTRA_TARGET_FLAGS) \
48955 TFLAGS="$(STAGE4_TFLAGS)" \
48956 $(TARGET-stage4-target-libgcc)
48958 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
48959 clean-stage4: clean-stage4-target-libgcc
48960 clean-stage4-target-libgcc:
48961 @if [ $(current_stage) = stage4 ]; then \
48962 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48963 else \
48964 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
48965 $(MAKE) stage4-start; \
48966 fi; \
48967 cd $(TARGET_SUBDIR)/libgcc && \
48968 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48970 clean
48971 @endif target-libgcc-bootstrap
48974 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
48975 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
48976 maybe-all-stageprofile-target-libgcc:
48977 maybe-clean-stageprofile-target-libgcc:
48978 @if target-libgcc-bootstrap
48979 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
48980 all-stageprofile: all-stageprofile-target-libgcc
48981 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
48982 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
48983 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
48984 @r=`${PWD_COMMAND}`; export r; \
48985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48986 TFLAGS="$(STAGEprofile_TFLAGS)"; \
48987 $(NORMAL_TARGET_EXPORTS) \
48989 cd $(TARGET_SUBDIR)/libgcc && \
48990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48991 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48992 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48993 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48997 $(EXTRA_TARGET_FLAGS) \
48998 TFLAGS="$(STAGEprofile_TFLAGS)" \
48999 $(TARGET-stageprofile-target-libgcc)
49001 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
49002 clean-stageprofile: clean-stageprofile-target-libgcc
49003 clean-stageprofile-target-libgcc:
49004 @if [ $(current_stage) = stageprofile ]; then \
49005 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49006 else \
49007 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
49008 $(MAKE) stageprofile-start; \
49009 fi; \
49010 cd $(TARGET_SUBDIR)/libgcc && \
49011 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49013 clean
49014 @endif target-libgcc-bootstrap
49017 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
49018 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
49019 maybe-all-stagefeedback-target-libgcc:
49020 maybe-clean-stagefeedback-target-libgcc:
49021 @if target-libgcc-bootstrap
49022 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
49023 all-stagefeedback: all-stagefeedback-target-libgcc
49024 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
49025 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49026 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49027 @r=`${PWD_COMMAND}`; export r; \
49028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49029 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49030 $(NORMAL_TARGET_EXPORTS) \
49032 cd $(TARGET_SUBDIR)/libgcc && \
49033 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49034 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49035 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49036 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49040 $(EXTRA_TARGET_FLAGS) \
49041 TFLAGS="$(STAGEfeedback_TFLAGS)" \
49042 $(TARGET-stagefeedback-target-libgcc)
49044 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
49045 clean-stagefeedback: clean-stagefeedback-target-libgcc
49046 clean-stagefeedback-target-libgcc:
49047 @if [ $(current_stage) = stagefeedback ]; then \
49048 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49049 else \
49050 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
49051 $(MAKE) stagefeedback-start; \
49052 fi; \
49053 cd $(TARGET_SUBDIR)/libgcc && \
49054 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49056 clean
49057 @endif target-libgcc-bootstrap
49064 .PHONY: check-target-libgcc maybe-check-target-libgcc
49065 maybe-check-target-libgcc:
49066 @if target-libgcc
49067 maybe-check-target-libgcc: check-target-libgcc
49069 # Dummy target for uncheckable module.
49070 check-target-libgcc:
49072 @endif target-libgcc
49074 .PHONY: install-target-libgcc maybe-install-target-libgcc
49075 maybe-install-target-libgcc:
49076 @if target-libgcc
49077 maybe-install-target-libgcc: install-target-libgcc
49079 install-target-libgcc: installdirs
49080 @: $(MAKE); $(unstage)
49081 @r=`${PWD_COMMAND}`; export r; \
49082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49083 $(NORMAL_TARGET_EXPORTS) \
49084 (cd $(TARGET_SUBDIR)/libgcc && \
49085 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49087 @endif target-libgcc
49089 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
49090 maybe-install-strip-target-libgcc:
49091 @if target-libgcc
49092 maybe-install-strip-target-libgcc: install-strip-target-libgcc
49094 install-strip-target-libgcc: installdirs
49095 @: $(MAKE); $(unstage)
49096 @r=`${PWD_COMMAND}`; export r; \
49097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49098 $(NORMAL_TARGET_EXPORTS) \
49099 (cd $(TARGET_SUBDIR)/libgcc && \
49100 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49102 @endif target-libgcc
49104 # Other targets (info, dvi, pdf, etc.)
49106 .PHONY: maybe-info-target-libgcc info-target-libgcc
49107 maybe-info-target-libgcc:
49108 @if target-libgcc
49109 maybe-info-target-libgcc: info-target-libgcc
49111 info-target-libgcc: \
49112 configure-target-libgcc
49113 @: $(MAKE); $(unstage)
49114 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49115 r=`${PWD_COMMAND}`; export r; \
49116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49117 $(NORMAL_TARGET_EXPORTS) \
49118 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
49119 for flag in $(EXTRA_TARGET_FLAGS); do \
49120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49121 done; \
49122 (cd $(TARGET_SUBDIR)/libgcc && \
49123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49125 "RANLIB=$${RANLIB}" \
49126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49127 info) \
49128 || exit 1
49130 @endif target-libgcc
49132 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
49133 maybe-dvi-target-libgcc:
49134 @if target-libgcc
49135 maybe-dvi-target-libgcc: dvi-target-libgcc
49137 dvi-target-libgcc: \
49138 configure-target-libgcc
49139 @: $(MAKE); $(unstage)
49140 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49141 r=`${PWD_COMMAND}`; export r; \
49142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49143 $(NORMAL_TARGET_EXPORTS) \
49144 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
49145 for flag in $(EXTRA_TARGET_FLAGS); do \
49146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49147 done; \
49148 (cd $(TARGET_SUBDIR)/libgcc && \
49149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49151 "RANLIB=$${RANLIB}" \
49152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49153 dvi) \
49154 || exit 1
49156 @endif target-libgcc
49158 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
49159 maybe-pdf-target-libgcc:
49160 @if target-libgcc
49161 maybe-pdf-target-libgcc: pdf-target-libgcc
49163 pdf-target-libgcc: \
49164 configure-target-libgcc
49165 @: $(MAKE); $(unstage)
49166 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49167 r=`${PWD_COMMAND}`; export r; \
49168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49169 $(NORMAL_TARGET_EXPORTS) \
49170 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
49171 for flag in $(EXTRA_TARGET_FLAGS); do \
49172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49173 done; \
49174 (cd $(TARGET_SUBDIR)/libgcc && \
49175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49177 "RANLIB=$${RANLIB}" \
49178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49179 pdf) \
49180 || exit 1
49182 @endif target-libgcc
49184 .PHONY: maybe-html-target-libgcc html-target-libgcc
49185 maybe-html-target-libgcc:
49186 @if target-libgcc
49187 maybe-html-target-libgcc: html-target-libgcc
49189 html-target-libgcc: \
49190 configure-target-libgcc
49191 @: $(MAKE); $(unstage)
49192 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49193 r=`${PWD_COMMAND}`; export r; \
49194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49195 $(NORMAL_TARGET_EXPORTS) \
49196 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
49197 for flag in $(EXTRA_TARGET_FLAGS); do \
49198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49199 done; \
49200 (cd $(TARGET_SUBDIR)/libgcc && \
49201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49203 "RANLIB=$${RANLIB}" \
49204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49205 html) \
49206 || exit 1
49208 @endif target-libgcc
49210 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
49211 maybe-TAGS-target-libgcc:
49212 @if target-libgcc
49213 maybe-TAGS-target-libgcc: TAGS-target-libgcc
49215 TAGS-target-libgcc: \
49216 configure-target-libgcc
49217 @: $(MAKE); $(unstage)
49218 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49219 r=`${PWD_COMMAND}`; export r; \
49220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49221 $(NORMAL_TARGET_EXPORTS) \
49222 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
49223 for flag in $(EXTRA_TARGET_FLAGS); do \
49224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49225 done; \
49226 (cd $(TARGET_SUBDIR)/libgcc && \
49227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49229 "RANLIB=$${RANLIB}" \
49230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49231 TAGS) \
49232 || exit 1
49234 @endif target-libgcc
49236 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
49237 maybe-install-info-target-libgcc:
49238 @if target-libgcc
49239 maybe-install-info-target-libgcc: install-info-target-libgcc
49241 install-info-target-libgcc: \
49242 configure-target-libgcc \
49243 info-target-libgcc
49244 @: $(MAKE); $(unstage)
49245 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49246 r=`${PWD_COMMAND}`; export r; \
49247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49248 $(NORMAL_TARGET_EXPORTS) \
49249 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
49250 for flag in $(EXTRA_TARGET_FLAGS); do \
49251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49252 done; \
49253 (cd $(TARGET_SUBDIR)/libgcc && \
49254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49256 "RANLIB=$${RANLIB}" \
49257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49258 install-info) \
49259 || exit 1
49261 @endif target-libgcc
49263 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
49264 maybe-install-pdf-target-libgcc:
49265 @if target-libgcc
49266 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
49268 install-pdf-target-libgcc: \
49269 configure-target-libgcc \
49270 pdf-target-libgcc
49271 @: $(MAKE); $(unstage)
49272 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49273 r=`${PWD_COMMAND}`; export r; \
49274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49275 $(NORMAL_TARGET_EXPORTS) \
49276 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
49277 for flag in $(EXTRA_TARGET_FLAGS); do \
49278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49279 done; \
49280 (cd $(TARGET_SUBDIR)/libgcc && \
49281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49283 "RANLIB=$${RANLIB}" \
49284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49285 install-pdf) \
49286 || exit 1
49288 @endif target-libgcc
49290 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
49291 maybe-install-html-target-libgcc:
49292 @if target-libgcc
49293 maybe-install-html-target-libgcc: install-html-target-libgcc
49295 install-html-target-libgcc: \
49296 configure-target-libgcc \
49297 html-target-libgcc
49298 @: $(MAKE); $(unstage)
49299 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49300 r=`${PWD_COMMAND}`; export r; \
49301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49302 $(NORMAL_TARGET_EXPORTS) \
49303 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
49304 for flag in $(EXTRA_TARGET_FLAGS); do \
49305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49306 done; \
49307 (cd $(TARGET_SUBDIR)/libgcc && \
49308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49310 "RANLIB=$${RANLIB}" \
49311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49312 install-html) \
49313 || exit 1
49315 @endif target-libgcc
49317 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
49318 maybe-installcheck-target-libgcc:
49319 @if target-libgcc
49320 maybe-installcheck-target-libgcc: installcheck-target-libgcc
49322 installcheck-target-libgcc: \
49323 configure-target-libgcc
49324 @: $(MAKE); $(unstage)
49325 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49326 r=`${PWD_COMMAND}`; export r; \
49327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49328 $(NORMAL_TARGET_EXPORTS) \
49329 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
49330 for flag in $(EXTRA_TARGET_FLAGS); do \
49331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49332 done; \
49333 (cd $(TARGET_SUBDIR)/libgcc && \
49334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49336 "RANLIB=$${RANLIB}" \
49337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49338 installcheck) \
49339 || exit 1
49341 @endif target-libgcc
49343 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
49344 maybe-mostlyclean-target-libgcc:
49345 @if target-libgcc
49346 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
49348 mostlyclean-target-libgcc:
49349 @: $(MAKE); $(unstage)
49350 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49351 r=`${PWD_COMMAND}`; export r; \
49352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49353 $(NORMAL_TARGET_EXPORTS) \
49354 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
49355 for flag in $(EXTRA_TARGET_FLAGS); do \
49356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49357 done; \
49358 (cd $(TARGET_SUBDIR)/libgcc && \
49359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49361 "RANLIB=$${RANLIB}" \
49362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49363 mostlyclean) \
49364 || exit 1
49366 @endif target-libgcc
49368 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
49369 maybe-clean-target-libgcc:
49370 @if target-libgcc
49371 maybe-clean-target-libgcc: clean-target-libgcc
49373 clean-target-libgcc:
49374 @: $(MAKE); $(unstage)
49375 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49376 r=`${PWD_COMMAND}`; export r; \
49377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49378 $(NORMAL_TARGET_EXPORTS) \
49379 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
49380 for flag in $(EXTRA_TARGET_FLAGS); do \
49381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49382 done; \
49383 (cd $(TARGET_SUBDIR)/libgcc && \
49384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49386 "RANLIB=$${RANLIB}" \
49387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49388 clean) \
49389 || exit 1
49391 @endif target-libgcc
49393 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
49394 maybe-distclean-target-libgcc:
49395 @if target-libgcc
49396 maybe-distclean-target-libgcc: distclean-target-libgcc
49398 distclean-target-libgcc:
49399 @: $(MAKE); $(unstage)
49400 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49401 r=`${PWD_COMMAND}`; export r; \
49402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49403 $(NORMAL_TARGET_EXPORTS) \
49404 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
49405 for flag in $(EXTRA_TARGET_FLAGS); do \
49406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49407 done; \
49408 (cd $(TARGET_SUBDIR)/libgcc && \
49409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49411 "RANLIB=$${RANLIB}" \
49412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49413 distclean) \
49414 || exit 1
49416 @endif target-libgcc
49418 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
49419 maybe-maintainer-clean-target-libgcc:
49420 @if target-libgcc
49421 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
49423 maintainer-clean-target-libgcc:
49424 @: $(MAKE); $(unstage)
49425 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49426 r=`${PWD_COMMAND}`; export r; \
49427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49428 $(NORMAL_TARGET_EXPORTS) \
49429 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
49430 for flag in $(EXTRA_TARGET_FLAGS); do \
49431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49432 done; \
49433 (cd $(TARGET_SUBDIR)/libgcc && \
49434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49436 "RANLIB=$${RANLIB}" \
49437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49438 maintainer-clean) \
49439 || exit 1
49441 @endif target-libgcc
49447 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
49448 maybe-configure-target-libquadmath:
49449 @if gcc-bootstrap
49450 configure-target-libquadmath: stage_current
49451 @endif gcc-bootstrap
49452 @if target-libquadmath
49453 maybe-configure-target-libquadmath: configure-target-libquadmath
49454 configure-target-libquadmath:
49455 @: $(MAKE); $(unstage)
49456 @r=`${PWD_COMMAND}`; export r; \
49457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49458 echo "Checking multilib configuration for libquadmath..."; \
49459 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
49460 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
49461 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
49462 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
49463 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
49464 else \
49465 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
49466 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
49467 fi; \
49468 else \
49469 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
49470 fi; \
49471 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
49472 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
49473 $(NORMAL_TARGET_EXPORTS) \
49474 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
49475 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
49476 case $(srcdir) in \
49477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49478 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
49479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49480 esac; \
49481 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
49482 libsrcdir="$$s/libquadmath"; \
49483 rm -f no-such-file || : ; \
49484 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49485 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49486 --target=${target_alias} $${srcdiroption} \
49487 || exit 1
49488 @endif target-libquadmath
49494 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
49495 maybe-all-target-libquadmath:
49496 @if gcc-bootstrap
49497 all-target-libquadmath: stage_current
49498 @endif gcc-bootstrap
49499 @if target-libquadmath
49500 TARGET-target-libquadmath=all
49501 maybe-all-target-libquadmath: all-target-libquadmath
49502 all-target-libquadmath: configure-target-libquadmath
49503 @: $(MAKE); $(unstage)
49504 @r=`${PWD_COMMAND}`; export r; \
49505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49506 $(NORMAL_TARGET_EXPORTS) \
49507 (cd $(TARGET_SUBDIR)/libquadmath && \
49508 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49509 $(TARGET-target-libquadmath))
49510 @endif target-libquadmath
49516 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
49517 maybe-check-target-libquadmath:
49518 @if target-libquadmath
49519 maybe-check-target-libquadmath: check-target-libquadmath
49521 check-target-libquadmath:
49522 @: $(MAKE); $(unstage)
49523 @r=`${PWD_COMMAND}`; export r; \
49524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49525 $(NORMAL_TARGET_EXPORTS) \
49526 (cd $(TARGET_SUBDIR)/libquadmath && \
49527 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49529 @endif target-libquadmath
49531 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
49532 maybe-install-target-libquadmath:
49533 @if target-libquadmath
49534 maybe-install-target-libquadmath: install-target-libquadmath
49536 install-target-libquadmath: installdirs
49537 @: $(MAKE); $(unstage)
49538 @r=`${PWD_COMMAND}`; export r; \
49539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49540 $(NORMAL_TARGET_EXPORTS) \
49541 (cd $(TARGET_SUBDIR)/libquadmath && \
49542 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49544 @endif target-libquadmath
49546 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
49547 maybe-install-strip-target-libquadmath:
49548 @if target-libquadmath
49549 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
49551 install-strip-target-libquadmath: installdirs
49552 @: $(MAKE); $(unstage)
49553 @r=`${PWD_COMMAND}`; export r; \
49554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49555 $(NORMAL_TARGET_EXPORTS) \
49556 (cd $(TARGET_SUBDIR)/libquadmath && \
49557 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49559 @endif target-libquadmath
49561 # Other targets (info, dvi, pdf, etc.)
49563 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
49564 maybe-info-target-libquadmath:
49565 @if target-libquadmath
49566 maybe-info-target-libquadmath: info-target-libquadmath
49568 info-target-libquadmath: \
49569 configure-target-libquadmath
49570 @: $(MAKE); $(unstage)
49571 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49572 r=`${PWD_COMMAND}`; export r; \
49573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49574 $(NORMAL_TARGET_EXPORTS) \
49575 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
49576 for flag in $(EXTRA_TARGET_FLAGS); do \
49577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49578 done; \
49579 (cd $(TARGET_SUBDIR)/libquadmath && \
49580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49582 "RANLIB=$${RANLIB}" \
49583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49584 info) \
49585 || exit 1
49587 @endif target-libquadmath
49589 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
49590 maybe-dvi-target-libquadmath:
49591 @if target-libquadmath
49592 maybe-dvi-target-libquadmath: dvi-target-libquadmath
49594 dvi-target-libquadmath: \
49595 configure-target-libquadmath
49596 @: $(MAKE); $(unstage)
49597 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49598 r=`${PWD_COMMAND}`; export r; \
49599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49600 $(NORMAL_TARGET_EXPORTS) \
49601 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
49602 for flag in $(EXTRA_TARGET_FLAGS); do \
49603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49604 done; \
49605 (cd $(TARGET_SUBDIR)/libquadmath && \
49606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49608 "RANLIB=$${RANLIB}" \
49609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49610 dvi) \
49611 || exit 1
49613 @endif target-libquadmath
49615 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
49616 maybe-pdf-target-libquadmath:
49617 @if target-libquadmath
49618 maybe-pdf-target-libquadmath: pdf-target-libquadmath
49620 pdf-target-libquadmath: \
49621 configure-target-libquadmath
49622 @: $(MAKE); $(unstage)
49623 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49624 r=`${PWD_COMMAND}`; export r; \
49625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49626 $(NORMAL_TARGET_EXPORTS) \
49627 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
49628 for flag in $(EXTRA_TARGET_FLAGS); do \
49629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49630 done; \
49631 (cd $(TARGET_SUBDIR)/libquadmath && \
49632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49634 "RANLIB=$${RANLIB}" \
49635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49636 pdf) \
49637 || exit 1
49639 @endif target-libquadmath
49641 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
49642 maybe-html-target-libquadmath:
49643 @if target-libquadmath
49644 maybe-html-target-libquadmath: html-target-libquadmath
49646 html-target-libquadmath: \
49647 configure-target-libquadmath
49648 @: $(MAKE); $(unstage)
49649 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49650 r=`${PWD_COMMAND}`; export r; \
49651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49652 $(NORMAL_TARGET_EXPORTS) \
49653 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
49654 for flag in $(EXTRA_TARGET_FLAGS); do \
49655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49656 done; \
49657 (cd $(TARGET_SUBDIR)/libquadmath && \
49658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49660 "RANLIB=$${RANLIB}" \
49661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49662 html) \
49663 || exit 1
49665 @endif target-libquadmath
49667 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
49668 maybe-TAGS-target-libquadmath:
49669 @if target-libquadmath
49670 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
49672 TAGS-target-libquadmath: \
49673 configure-target-libquadmath
49674 @: $(MAKE); $(unstage)
49675 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49676 r=`${PWD_COMMAND}`; export r; \
49677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49678 $(NORMAL_TARGET_EXPORTS) \
49679 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
49680 for flag in $(EXTRA_TARGET_FLAGS); do \
49681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49682 done; \
49683 (cd $(TARGET_SUBDIR)/libquadmath && \
49684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49686 "RANLIB=$${RANLIB}" \
49687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49688 TAGS) \
49689 || exit 1
49691 @endif target-libquadmath
49693 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
49694 maybe-install-info-target-libquadmath:
49695 @if target-libquadmath
49696 maybe-install-info-target-libquadmath: install-info-target-libquadmath
49698 install-info-target-libquadmath: \
49699 configure-target-libquadmath \
49700 info-target-libquadmath
49701 @: $(MAKE); $(unstage)
49702 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49703 r=`${PWD_COMMAND}`; export r; \
49704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49705 $(NORMAL_TARGET_EXPORTS) \
49706 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
49707 for flag in $(EXTRA_TARGET_FLAGS); do \
49708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49709 done; \
49710 (cd $(TARGET_SUBDIR)/libquadmath && \
49711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49713 "RANLIB=$${RANLIB}" \
49714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49715 install-info) \
49716 || exit 1
49718 @endif target-libquadmath
49720 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
49721 maybe-install-pdf-target-libquadmath:
49722 @if target-libquadmath
49723 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
49725 install-pdf-target-libquadmath: \
49726 configure-target-libquadmath \
49727 pdf-target-libquadmath
49728 @: $(MAKE); $(unstage)
49729 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49730 r=`${PWD_COMMAND}`; export r; \
49731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49732 $(NORMAL_TARGET_EXPORTS) \
49733 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
49734 for flag in $(EXTRA_TARGET_FLAGS); do \
49735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49736 done; \
49737 (cd $(TARGET_SUBDIR)/libquadmath && \
49738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49740 "RANLIB=$${RANLIB}" \
49741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49742 install-pdf) \
49743 || exit 1
49745 @endif target-libquadmath
49747 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
49748 maybe-install-html-target-libquadmath:
49749 @if target-libquadmath
49750 maybe-install-html-target-libquadmath: install-html-target-libquadmath
49752 install-html-target-libquadmath: \
49753 configure-target-libquadmath \
49754 html-target-libquadmath
49755 @: $(MAKE); $(unstage)
49756 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49757 r=`${PWD_COMMAND}`; export r; \
49758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49759 $(NORMAL_TARGET_EXPORTS) \
49760 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
49761 for flag in $(EXTRA_TARGET_FLAGS); do \
49762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49763 done; \
49764 (cd $(TARGET_SUBDIR)/libquadmath && \
49765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49767 "RANLIB=$${RANLIB}" \
49768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49769 install-html) \
49770 || exit 1
49772 @endif target-libquadmath
49774 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
49775 maybe-installcheck-target-libquadmath:
49776 @if target-libquadmath
49777 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
49779 installcheck-target-libquadmath: \
49780 configure-target-libquadmath
49781 @: $(MAKE); $(unstage)
49782 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49783 r=`${PWD_COMMAND}`; export r; \
49784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49785 $(NORMAL_TARGET_EXPORTS) \
49786 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
49787 for flag in $(EXTRA_TARGET_FLAGS); do \
49788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49789 done; \
49790 (cd $(TARGET_SUBDIR)/libquadmath && \
49791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49793 "RANLIB=$${RANLIB}" \
49794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49795 installcheck) \
49796 || exit 1
49798 @endif target-libquadmath
49800 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
49801 maybe-mostlyclean-target-libquadmath:
49802 @if target-libquadmath
49803 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
49805 mostlyclean-target-libquadmath:
49806 @: $(MAKE); $(unstage)
49807 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49808 r=`${PWD_COMMAND}`; export r; \
49809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49810 $(NORMAL_TARGET_EXPORTS) \
49811 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
49812 for flag in $(EXTRA_TARGET_FLAGS); do \
49813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49814 done; \
49815 (cd $(TARGET_SUBDIR)/libquadmath && \
49816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49818 "RANLIB=$${RANLIB}" \
49819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49820 mostlyclean) \
49821 || exit 1
49823 @endif target-libquadmath
49825 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
49826 maybe-clean-target-libquadmath:
49827 @if target-libquadmath
49828 maybe-clean-target-libquadmath: clean-target-libquadmath
49830 clean-target-libquadmath:
49831 @: $(MAKE); $(unstage)
49832 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49833 r=`${PWD_COMMAND}`; export r; \
49834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49835 $(NORMAL_TARGET_EXPORTS) \
49836 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
49837 for flag in $(EXTRA_TARGET_FLAGS); do \
49838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49839 done; \
49840 (cd $(TARGET_SUBDIR)/libquadmath && \
49841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49843 "RANLIB=$${RANLIB}" \
49844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49845 clean) \
49846 || exit 1
49848 @endif target-libquadmath
49850 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
49851 maybe-distclean-target-libquadmath:
49852 @if target-libquadmath
49853 maybe-distclean-target-libquadmath: distclean-target-libquadmath
49855 distclean-target-libquadmath:
49856 @: $(MAKE); $(unstage)
49857 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49858 r=`${PWD_COMMAND}`; export r; \
49859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49860 $(NORMAL_TARGET_EXPORTS) \
49861 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
49862 for flag in $(EXTRA_TARGET_FLAGS); do \
49863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49864 done; \
49865 (cd $(TARGET_SUBDIR)/libquadmath && \
49866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49868 "RANLIB=$${RANLIB}" \
49869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49870 distclean) \
49871 || exit 1
49873 @endif target-libquadmath
49875 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
49876 maybe-maintainer-clean-target-libquadmath:
49877 @if target-libquadmath
49878 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
49880 maintainer-clean-target-libquadmath:
49881 @: $(MAKE); $(unstage)
49882 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49883 r=`${PWD_COMMAND}`; export r; \
49884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49885 $(NORMAL_TARGET_EXPORTS) \
49886 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
49887 for flag in $(EXTRA_TARGET_FLAGS); do \
49888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49889 done; \
49890 (cd $(TARGET_SUBDIR)/libquadmath && \
49891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49893 "RANLIB=$${RANLIB}" \
49894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49895 maintainer-clean) \
49896 || exit 1
49898 @endif target-libquadmath
49904 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
49905 maybe-configure-target-libgfortran:
49906 @if gcc-bootstrap
49907 configure-target-libgfortran: stage_current
49908 @endif gcc-bootstrap
49909 @if target-libgfortran
49910 maybe-configure-target-libgfortran: configure-target-libgfortran
49911 configure-target-libgfortran:
49912 @: $(MAKE); $(unstage)
49913 @r=`${PWD_COMMAND}`; export r; \
49914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49915 echo "Checking multilib configuration for libgfortran..."; \
49916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
49917 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
49918 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
49919 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
49920 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
49921 else \
49922 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
49923 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
49924 fi; \
49925 else \
49926 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
49927 fi; \
49928 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
49929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
49930 $(NORMAL_TARGET_EXPORTS) \
49931 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
49932 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
49933 case $(srcdir) in \
49934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49935 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
49936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49937 esac; \
49938 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
49939 libsrcdir="$$s/libgfortran"; \
49940 rm -f no-such-file || : ; \
49941 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49942 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49943 --target=${target_alias} $${srcdiroption} \
49944 || exit 1
49945 @endif target-libgfortran
49951 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
49952 maybe-all-target-libgfortran:
49953 @if gcc-bootstrap
49954 all-target-libgfortran: stage_current
49955 @endif gcc-bootstrap
49956 @if target-libgfortran
49957 TARGET-target-libgfortran=all
49958 maybe-all-target-libgfortran: all-target-libgfortran
49959 all-target-libgfortran: configure-target-libgfortran
49960 @: $(MAKE); $(unstage)
49961 @r=`${PWD_COMMAND}`; export r; \
49962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49963 $(NORMAL_TARGET_EXPORTS) \
49964 (cd $(TARGET_SUBDIR)/libgfortran && \
49965 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49966 $(TARGET-target-libgfortran))
49967 @endif target-libgfortran
49973 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
49974 maybe-check-target-libgfortran:
49975 @if target-libgfortran
49976 maybe-check-target-libgfortran: check-target-libgfortran
49978 check-target-libgfortran:
49979 @: $(MAKE); $(unstage)
49980 @r=`${PWD_COMMAND}`; export r; \
49981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49982 $(NORMAL_TARGET_EXPORTS) \
49983 (cd $(TARGET_SUBDIR)/libgfortran && \
49984 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49986 @endif target-libgfortran
49988 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
49989 maybe-install-target-libgfortran:
49990 @if target-libgfortran
49991 maybe-install-target-libgfortran: install-target-libgfortran
49993 install-target-libgfortran: installdirs
49994 @: $(MAKE); $(unstage)
49995 @r=`${PWD_COMMAND}`; export r; \
49996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49997 $(NORMAL_TARGET_EXPORTS) \
49998 (cd $(TARGET_SUBDIR)/libgfortran && \
49999 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50001 @endif target-libgfortran
50003 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
50004 maybe-install-strip-target-libgfortran:
50005 @if target-libgfortran
50006 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
50008 install-strip-target-libgfortran: installdirs
50009 @: $(MAKE); $(unstage)
50010 @r=`${PWD_COMMAND}`; export r; \
50011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50012 $(NORMAL_TARGET_EXPORTS) \
50013 (cd $(TARGET_SUBDIR)/libgfortran && \
50014 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50016 @endif target-libgfortran
50018 # Other targets (info, dvi, pdf, etc.)
50020 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
50021 maybe-info-target-libgfortran:
50022 @if target-libgfortran
50023 maybe-info-target-libgfortran: info-target-libgfortran
50025 info-target-libgfortran: \
50026 configure-target-libgfortran
50027 @: $(MAKE); $(unstage)
50028 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50029 r=`${PWD_COMMAND}`; export r; \
50030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50031 $(NORMAL_TARGET_EXPORTS) \
50032 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
50033 for flag in $(EXTRA_TARGET_FLAGS); do \
50034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50035 done; \
50036 (cd $(TARGET_SUBDIR)/libgfortran && \
50037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50039 "RANLIB=$${RANLIB}" \
50040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50041 info) \
50042 || exit 1
50044 @endif target-libgfortran
50046 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
50047 maybe-dvi-target-libgfortran:
50048 @if target-libgfortran
50049 maybe-dvi-target-libgfortran: dvi-target-libgfortran
50051 dvi-target-libgfortran: \
50052 configure-target-libgfortran
50053 @: $(MAKE); $(unstage)
50054 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50055 r=`${PWD_COMMAND}`; export r; \
50056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50057 $(NORMAL_TARGET_EXPORTS) \
50058 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
50059 for flag in $(EXTRA_TARGET_FLAGS); do \
50060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50061 done; \
50062 (cd $(TARGET_SUBDIR)/libgfortran && \
50063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50065 "RANLIB=$${RANLIB}" \
50066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50067 dvi) \
50068 || exit 1
50070 @endif target-libgfortran
50072 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
50073 maybe-pdf-target-libgfortran:
50074 @if target-libgfortran
50075 maybe-pdf-target-libgfortran: pdf-target-libgfortran
50077 pdf-target-libgfortran: \
50078 configure-target-libgfortran
50079 @: $(MAKE); $(unstage)
50080 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50081 r=`${PWD_COMMAND}`; export r; \
50082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50083 $(NORMAL_TARGET_EXPORTS) \
50084 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
50085 for flag in $(EXTRA_TARGET_FLAGS); do \
50086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50087 done; \
50088 (cd $(TARGET_SUBDIR)/libgfortran && \
50089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50091 "RANLIB=$${RANLIB}" \
50092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50093 pdf) \
50094 || exit 1
50096 @endif target-libgfortran
50098 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
50099 maybe-html-target-libgfortran:
50100 @if target-libgfortran
50101 maybe-html-target-libgfortran: html-target-libgfortran
50103 html-target-libgfortran: \
50104 configure-target-libgfortran
50105 @: $(MAKE); $(unstage)
50106 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50107 r=`${PWD_COMMAND}`; export r; \
50108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50109 $(NORMAL_TARGET_EXPORTS) \
50110 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
50111 for flag in $(EXTRA_TARGET_FLAGS); do \
50112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50113 done; \
50114 (cd $(TARGET_SUBDIR)/libgfortran && \
50115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50117 "RANLIB=$${RANLIB}" \
50118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50119 html) \
50120 || exit 1
50122 @endif target-libgfortran
50124 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
50125 maybe-TAGS-target-libgfortran:
50126 @if target-libgfortran
50127 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
50129 TAGS-target-libgfortran: \
50130 configure-target-libgfortran
50131 @: $(MAKE); $(unstage)
50132 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50133 r=`${PWD_COMMAND}`; export r; \
50134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50135 $(NORMAL_TARGET_EXPORTS) \
50136 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
50137 for flag in $(EXTRA_TARGET_FLAGS); do \
50138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50139 done; \
50140 (cd $(TARGET_SUBDIR)/libgfortran && \
50141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50143 "RANLIB=$${RANLIB}" \
50144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50145 TAGS) \
50146 || exit 1
50148 @endif target-libgfortran
50150 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
50151 maybe-install-info-target-libgfortran:
50152 @if target-libgfortran
50153 maybe-install-info-target-libgfortran: install-info-target-libgfortran
50155 install-info-target-libgfortran: \
50156 configure-target-libgfortran \
50157 info-target-libgfortran
50158 @: $(MAKE); $(unstage)
50159 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50160 r=`${PWD_COMMAND}`; export r; \
50161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50162 $(NORMAL_TARGET_EXPORTS) \
50163 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
50164 for flag in $(EXTRA_TARGET_FLAGS); do \
50165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50166 done; \
50167 (cd $(TARGET_SUBDIR)/libgfortran && \
50168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50170 "RANLIB=$${RANLIB}" \
50171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50172 install-info) \
50173 || exit 1
50175 @endif target-libgfortran
50177 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
50178 maybe-install-pdf-target-libgfortran:
50179 @if target-libgfortran
50180 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
50182 install-pdf-target-libgfortran: \
50183 configure-target-libgfortran \
50184 pdf-target-libgfortran
50185 @: $(MAKE); $(unstage)
50186 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50187 r=`${PWD_COMMAND}`; export r; \
50188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50189 $(NORMAL_TARGET_EXPORTS) \
50190 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
50191 for flag in $(EXTRA_TARGET_FLAGS); do \
50192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50193 done; \
50194 (cd $(TARGET_SUBDIR)/libgfortran && \
50195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50197 "RANLIB=$${RANLIB}" \
50198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50199 install-pdf) \
50200 || exit 1
50202 @endif target-libgfortran
50204 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
50205 maybe-install-html-target-libgfortran:
50206 @if target-libgfortran
50207 maybe-install-html-target-libgfortran: install-html-target-libgfortran
50209 install-html-target-libgfortran: \
50210 configure-target-libgfortran \
50211 html-target-libgfortran
50212 @: $(MAKE); $(unstage)
50213 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50214 r=`${PWD_COMMAND}`; export r; \
50215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50216 $(NORMAL_TARGET_EXPORTS) \
50217 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
50218 for flag in $(EXTRA_TARGET_FLAGS); do \
50219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50220 done; \
50221 (cd $(TARGET_SUBDIR)/libgfortran && \
50222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50224 "RANLIB=$${RANLIB}" \
50225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50226 install-html) \
50227 || exit 1
50229 @endif target-libgfortran
50231 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
50232 maybe-installcheck-target-libgfortran:
50233 @if target-libgfortran
50234 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
50236 installcheck-target-libgfortran: \
50237 configure-target-libgfortran
50238 @: $(MAKE); $(unstage)
50239 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50240 r=`${PWD_COMMAND}`; export r; \
50241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50242 $(NORMAL_TARGET_EXPORTS) \
50243 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
50244 for flag in $(EXTRA_TARGET_FLAGS); do \
50245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50246 done; \
50247 (cd $(TARGET_SUBDIR)/libgfortran && \
50248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50250 "RANLIB=$${RANLIB}" \
50251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50252 installcheck) \
50253 || exit 1
50255 @endif target-libgfortran
50257 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
50258 maybe-mostlyclean-target-libgfortran:
50259 @if target-libgfortran
50260 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
50262 mostlyclean-target-libgfortran:
50263 @: $(MAKE); $(unstage)
50264 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50265 r=`${PWD_COMMAND}`; export r; \
50266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50267 $(NORMAL_TARGET_EXPORTS) \
50268 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
50269 for flag in $(EXTRA_TARGET_FLAGS); do \
50270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50271 done; \
50272 (cd $(TARGET_SUBDIR)/libgfortran && \
50273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50275 "RANLIB=$${RANLIB}" \
50276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50277 mostlyclean) \
50278 || exit 1
50280 @endif target-libgfortran
50282 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
50283 maybe-clean-target-libgfortran:
50284 @if target-libgfortran
50285 maybe-clean-target-libgfortran: clean-target-libgfortran
50287 clean-target-libgfortran:
50288 @: $(MAKE); $(unstage)
50289 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50290 r=`${PWD_COMMAND}`; export r; \
50291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50292 $(NORMAL_TARGET_EXPORTS) \
50293 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
50294 for flag in $(EXTRA_TARGET_FLAGS); do \
50295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50296 done; \
50297 (cd $(TARGET_SUBDIR)/libgfortran && \
50298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50300 "RANLIB=$${RANLIB}" \
50301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50302 clean) \
50303 || exit 1
50305 @endif target-libgfortran
50307 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
50308 maybe-distclean-target-libgfortran:
50309 @if target-libgfortran
50310 maybe-distclean-target-libgfortran: distclean-target-libgfortran
50312 distclean-target-libgfortran:
50313 @: $(MAKE); $(unstage)
50314 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50315 r=`${PWD_COMMAND}`; export r; \
50316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50317 $(NORMAL_TARGET_EXPORTS) \
50318 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
50319 for flag in $(EXTRA_TARGET_FLAGS); do \
50320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50321 done; \
50322 (cd $(TARGET_SUBDIR)/libgfortran && \
50323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50325 "RANLIB=$${RANLIB}" \
50326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50327 distclean) \
50328 || exit 1
50330 @endif target-libgfortran
50332 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
50333 maybe-maintainer-clean-target-libgfortran:
50334 @if target-libgfortran
50335 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
50337 maintainer-clean-target-libgfortran:
50338 @: $(MAKE); $(unstage)
50339 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50340 r=`${PWD_COMMAND}`; export r; \
50341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50342 $(NORMAL_TARGET_EXPORTS) \
50343 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
50344 for flag in $(EXTRA_TARGET_FLAGS); do \
50345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50346 done; \
50347 (cd $(TARGET_SUBDIR)/libgfortran && \
50348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50350 "RANLIB=$${RANLIB}" \
50351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50352 maintainer-clean) \
50353 || exit 1
50355 @endif target-libgfortran
50361 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
50362 maybe-configure-target-libobjc:
50363 @if gcc-bootstrap
50364 configure-target-libobjc: stage_current
50365 @endif gcc-bootstrap
50366 @if target-libobjc
50367 maybe-configure-target-libobjc: configure-target-libobjc
50368 configure-target-libobjc:
50369 @: $(MAKE); $(unstage)
50370 @r=`${PWD_COMMAND}`; export r; \
50371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50372 echo "Checking multilib configuration for libobjc..."; \
50373 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
50374 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
50375 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
50376 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
50377 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
50378 else \
50379 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
50380 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
50381 fi; \
50382 else \
50383 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
50384 fi; \
50385 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
50386 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
50387 $(NORMAL_TARGET_EXPORTS) \
50388 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
50389 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
50390 case $(srcdir) in \
50391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50392 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
50393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50394 esac; \
50395 srcdiroption="--srcdir=$${topdir}/libobjc"; \
50396 libsrcdir="$$s/libobjc"; \
50397 rm -f no-such-file || : ; \
50398 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50399 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50400 --target=${target_alias} $${srcdiroption} \
50401 || exit 1
50402 @endif target-libobjc
50408 .PHONY: all-target-libobjc maybe-all-target-libobjc
50409 maybe-all-target-libobjc:
50410 @if gcc-bootstrap
50411 all-target-libobjc: stage_current
50412 @endif gcc-bootstrap
50413 @if target-libobjc
50414 TARGET-target-libobjc=all
50415 maybe-all-target-libobjc: all-target-libobjc
50416 all-target-libobjc: configure-target-libobjc
50417 @: $(MAKE); $(unstage)
50418 @r=`${PWD_COMMAND}`; export r; \
50419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50420 $(NORMAL_TARGET_EXPORTS) \
50421 (cd $(TARGET_SUBDIR)/libobjc && \
50422 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50423 $(TARGET-target-libobjc))
50424 @endif target-libobjc
50430 .PHONY: check-target-libobjc maybe-check-target-libobjc
50431 maybe-check-target-libobjc:
50432 @if target-libobjc
50433 maybe-check-target-libobjc: check-target-libobjc
50435 check-target-libobjc:
50436 @: $(MAKE); $(unstage)
50437 @r=`${PWD_COMMAND}`; export r; \
50438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50439 $(NORMAL_TARGET_EXPORTS) \
50440 (cd $(TARGET_SUBDIR)/libobjc && \
50441 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50443 @endif target-libobjc
50445 .PHONY: install-target-libobjc maybe-install-target-libobjc
50446 maybe-install-target-libobjc:
50447 @if target-libobjc
50448 maybe-install-target-libobjc: install-target-libobjc
50450 install-target-libobjc: installdirs
50451 @: $(MAKE); $(unstage)
50452 @r=`${PWD_COMMAND}`; export r; \
50453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50454 $(NORMAL_TARGET_EXPORTS) \
50455 (cd $(TARGET_SUBDIR)/libobjc && \
50456 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50458 @endif target-libobjc
50460 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
50461 maybe-install-strip-target-libobjc:
50462 @if target-libobjc
50463 maybe-install-strip-target-libobjc: install-strip-target-libobjc
50465 install-strip-target-libobjc: installdirs
50466 @: $(MAKE); $(unstage)
50467 @r=`${PWD_COMMAND}`; export r; \
50468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50469 $(NORMAL_TARGET_EXPORTS) \
50470 (cd $(TARGET_SUBDIR)/libobjc && \
50471 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50473 @endif target-libobjc
50475 # Other targets (info, dvi, pdf, etc.)
50477 .PHONY: maybe-info-target-libobjc info-target-libobjc
50478 maybe-info-target-libobjc:
50479 @if target-libobjc
50480 maybe-info-target-libobjc: info-target-libobjc
50482 info-target-libobjc: \
50483 configure-target-libobjc
50484 @: $(MAKE); $(unstage)
50485 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50486 r=`${PWD_COMMAND}`; export r; \
50487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50488 $(NORMAL_TARGET_EXPORTS) \
50489 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
50490 for flag in $(EXTRA_TARGET_FLAGS); do \
50491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50492 done; \
50493 (cd $(TARGET_SUBDIR)/libobjc && \
50494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50496 "RANLIB=$${RANLIB}" \
50497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50498 info) \
50499 || exit 1
50501 @endif target-libobjc
50503 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
50504 maybe-dvi-target-libobjc:
50505 @if target-libobjc
50506 maybe-dvi-target-libobjc: dvi-target-libobjc
50508 dvi-target-libobjc: \
50509 configure-target-libobjc
50510 @: $(MAKE); $(unstage)
50511 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50512 r=`${PWD_COMMAND}`; export r; \
50513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50514 $(NORMAL_TARGET_EXPORTS) \
50515 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
50516 for flag in $(EXTRA_TARGET_FLAGS); do \
50517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50518 done; \
50519 (cd $(TARGET_SUBDIR)/libobjc && \
50520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50522 "RANLIB=$${RANLIB}" \
50523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50524 dvi) \
50525 || exit 1
50527 @endif target-libobjc
50529 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
50530 maybe-pdf-target-libobjc:
50531 @if target-libobjc
50532 maybe-pdf-target-libobjc: pdf-target-libobjc
50534 pdf-target-libobjc: \
50535 configure-target-libobjc
50536 @: $(MAKE); $(unstage)
50537 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50538 r=`${PWD_COMMAND}`; export r; \
50539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50540 $(NORMAL_TARGET_EXPORTS) \
50541 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
50542 for flag in $(EXTRA_TARGET_FLAGS); do \
50543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50544 done; \
50545 (cd $(TARGET_SUBDIR)/libobjc && \
50546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50548 "RANLIB=$${RANLIB}" \
50549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50550 pdf) \
50551 || exit 1
50553 @endif target-libobjc
50555 .PHONY: maybe-html-target-libobjc html-target-libobjc
50556 maybe-html-target-libobjc:
50557 @if target-libobjc
50558 maybe-html-target-libobjc: html-target-libobjc
50560 html-target-libobjc: \
50561 configure-target-libobjc
50562 @: $(MAKE); $(unstage)
50563 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50564 r=`${PWD_COMMAND}`; export r; \
50565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50566 $(NORMAL_TARGET_EXPORTS) \
50567 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
50568 for flag in $(EXTRA_TARGET_FLAGS); do \
50569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50570 done; \
50571 (cd $(TARGET_SUBDIR)/libobjc && \
50572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50574 "RANLIB=$${RANLIB}" \
50575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50576 html) \
50577 || exit 1
50579 @endif target-libobjc
50581 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
50582 maybe-TAGS-target-libobjc:
50583 @if target-libobjc
50584 maybe-TAGS-target-libobjc: TAGS-target-libobjc
50586 TAGS-target-libobjc: \
50587 configure-target-libobjc
50588 @: $(MAKE); $(unstage)
50589 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50590 r=`${PWD_COMMAND}`; export r; \
50591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50592 $(NORMAL_TARGET_EXPORTS) \
50593 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
50594 for flag in $(EXTRA_TARGET_FLAGS); do \
50595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50596 done; \
50597 (cd $(TARGET_SUBDIR)/libobjc && \
50598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50600 "RANLIB=$${RANLIB}" \
50601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50602 TAGS) \
50603 || exit 1
50605 @endif target-libobjc
50607 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
50608 maybe-install-info-target-libobjc:
50609 @if target-libobjc
50610 maybe-install-info-target-libobjc: install-info-target-libobjc
50612 install-info-target-libobjc: \
50613 configure-target-libobjc \
50614 info-target-libobjc
50615 @: $(MAKE); $(unstage)
50616 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50617 r=`${PWD_COMMAND}`; export r; \
50618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50619 $(NORMAL_TARGET_EXPORTS) \
50620 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
50621 for flag in $(EXTRA_TARGET_FLAGS); do \
50622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50623 done; \
50624 (cd $(TARGET_SUBDIR)/libobjc && \
50625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50627 "RANLIB=$${RANLIB}" \
50628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50629 install-info) \
50630 || exit 1
50632 @endif target-libobjc
50634 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
50635 maybe-install-pdf-target-libobjc:
50636 @if target-libobjc
50637 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
50639 install-pdf-target-libobjc: \
50640 configure-target-libobjc \
50641 pdf-target-libobjc
50642 @: $(MAKE); $(unstage)
50643 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50644 r=`${PWD_COMMAND}`; export r; \
50645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50646 $(NORMAL_TARGET_EXPORTS) \
50647 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
50648 for flag in $(EXTRA_TARGET_FLAGS); do \
50649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50650 done; \
50651 (cd $(TARGET_SUBDIR)/libobjc && \
50652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50654 "RANLIB=$${RANLIB}" \
50655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50656 install-pdf) \
50657 || exit 1
50659 @endif target-libobjc
50661 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
50662 maybe-install-html-target-libobjc:
50663 @if target-libobjc
50664 maybe-install-html-target-libobjc: install-html-target-libobjc
50666 install-html-target-libobjc: \
50667 configure-target-libobjc \
50668 html-target-libobjc
50669 @: $(MAKE); $(unstage)
50670 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50671 r=`${PWD_COMMAND}`; export r; \
50672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50673 $(NORMAL_TARGET_EXPORTS) \
50674 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
50675 for flag in $(EXTRA_TARGET_FLAGS); do \
50676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50677 done; \
50678 (cd $(TARGET_SUBDIR)/libobjc && \
50679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50681 "RANLIB=$${RANLIB}" \
50682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50683 install-html) \
50684 || exit 1
50686 @endif target-libobjc
50688 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
50689 maybe-installcheck-target-libobjc:
50690 @if target-libobjc
50691 maybe-installcheck-target-libobjc: installcheck-target-libobjc
50693 installcheck-target-libobjc: \
50694 configure-target-libobjc
50695 @: $(MAKE); $(unstage)
50696 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50697 r=`${PWD_COMMAND}`; export r; \
50698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50699 $(NORMAL_TARGET_EXPORTS) \
50700 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
50701 for flag in $(EXTRA_TARGET_FLAGS); do \
50702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50703 done; \
50704 (cd $(TARGET_SUBDIR)/libobjc && \
50705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50707 "RANLIB=$${RANLIB}" \
50708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50709 installcheck) \
50710 || exit 1
50712 @endif target-libobjc
50714 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
50715 maybe-mostlyclean-target-libobjc:
50716 @if target-libobjc
50717 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
50719 mostlyclean-target-libobjc:
50720 @: $(MAKE); $(unstage)
50721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50722 r=`${PWD_COMMAND}`; export r; \
50723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50724 $(NORMAL_TARGET_EXPORTS) \
50725 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
50726 for flag in $(EXTRA_TARGET_FLAGS); do \
50727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50728 done; \
50729 (cd $(TARGET_SUBDIR)/libobjc && \
50730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50732 "RANLIB=$${RANLIB}" \
50733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50734 mostlyclean) \
50735 || exit 1
50737 @endif target-libobjc
50739 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
50740 maybe-clean-target-libobjc:
50741 @if target-libobjc
50742 maybe-clean-target-libobjc: clean-target-libobjc
50744 clean-target-libobjc:
50745 @: $(MAKE); $(unstage)
50746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50747 r=`${PWD_COMMAND}`; export r; \
50748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50749 $(NORMAL_TARGET_EXPORTS) \
50750 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
50751 for flag in $(EXTRA_TARGET_FLAGS); do \
50752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50753 done; \
50754 (cd $(TARGET_SUBDIR)/libobjc && \
50755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50757 "RANLIB=$${RANLIB}" \
50758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50759 clean) \
50760 || exit 1
50762 @endif target-libobjc
50764 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
50765 maybe-distclean-target-libobjc:
50766 @if target-libobjc
50767 maybe-distclean-target-libobjc: distclean-target-libobjc
50769 distclean-target-libobjc:
50770 @: $(MAKE); $(unstage)
50771 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50772 r=`${PWD_COMMAND}`; export r; \
50773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50774 $(NORMAL_TARGET_EXPORTS) \
50775 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
50776 for flag in $(EXTRA_TARGET_FLAGS); do \
50777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50778 done; \
50779 (cd $(TARGET_SUBDIR)/libobjc && \
50780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50782 "RANLIB=$${RANLIB}" \
50783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50784 distclean) \
50785 || exit 1
50787 @endif target-libobjc
50789 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
50790 maybe-maintainer-clean-target-libobjc:
50791 @if target-libobjc
50792 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
50794 maintainer-clean-target-libobjc:
50795 @: $(MAKE); $(unstage)
50796 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50797 r=`${PWD_COMMAND}`; export r; \
50798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50799 $(NORMAL_TARGET_EXPORTS) \
50800 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
50801 for flag in $(EXTRA_TARGET_FLAGS); do \
50802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50803 done; \
50804 (cd $(TARGET_SUBDIR)/libobjc && \
50805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50807 "RANLIB=$${RANLIB}" \
50808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50809 maintainer-clean) \
50810 || exit 1
50812 @endif target-libobjc
50818 .PHONY: configure-target-libgo maybe-configure-target-libgo
50819 maybe-configure-target-libgo:
50820 @if gcc-bootstrap
50821 configure-target-libgo: stage_current
50822 @endif gcc-bootstrap
50823 @if target-libgo
50824 maybe-configure-target-libgo: configure-target-libgo
50825 configure-target-libgo:
50826 @: $(MAKE); $(unstage)
50827 @r=`${PWD_COMMAND}`; export r; \
50828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50829 echo "Checking multilib configuration for libgo..."; \
50830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
50831 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
50832 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
50833 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
50834 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
50835 else \
50836 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
50837 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
50838 fi; \
50839 else \
50840 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
50841 fi; \
50842 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
50843 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
50844 $(NORMAL_TARGET_EXPORTS) \
50845 echo Configuring in $(TARGET_SUBDIR)/libgo; \
50846 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
50847 case $(srcdir) in \
50848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50849 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
50850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50851 esac; \
50852 srcdiroption="--srcdir=$${topdir}/libgo"; \
50853 libsrcdir="$$s/libgo"; \
50854 rm -f no-such-file || : ; \
50855 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50856 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50857 --target=${target_alias} $${srcdiroption} \
50858 || exit 1
50859 @endif target-libgo
50865 .PHONY: all-target-libgo maybe-all-target-libgo
50866 maybe-all-target-libgo:
50867 @if gcc-bootstrap
50868 all-target-libgo: stage_current
50869 @endif gcc-bootstrap
50870 @if target-libgo
50871 TARGET-target-libgo=all
50872 maybe-all-target-libgo: all-target-libgo
50873 all-target-libgo: configure-target-libgo
50874 @: $(MAKE); $(unstage)
50875 @r=`${PWD_COMMAND}`; export r; \
50876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50877 $(NORMAL_TARGET_EXPORTS) \
50878 (cd $(TARGET_SUBDIR)/libgo && \
50879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50880 $(TARGET-target-libgo))
50881 @endif target-libgo
50887 .PHONY: check-target-libgo maybe-check-target-libgo
50888 maybe-check-target-libgo:
50889 @if target-libgo
50890 maybe-check-target-libgo: check-target-libgo
50892 check-target-libgo:
50893 @: $(MAKE); $(unstage)
50894 @r=`${PWD_COMMAND}`; export r; \
50895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50896 $(NORMAL_TARGET_EXPORTS) \
50897 (cd $(TARGET_SUBDIR)/libgo && \
50898 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50900 @endif target-libgo
50902 .PHONY: install-target-libgo maybe-install-target-libgo
50903 maybe-install-target-libgo:
50904 @if target-libgo
50905 maybe-install-target-libgo: install-target-libgo
50907 install-target-libgo: installdirs
50908 @: $(MAKE); $(unstage)
50909 @r=`${PWD_COMMAND}`; export r; \
50910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50911 $(NORMAL_TARGET_EXPORTS) \
50912 (cd $(TARGET_SUBDIR)/libgo && \
50913 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50915 @endif target-libgo
50917 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
50918 maybe-install-strip-target-libgo:
50919 @if target-libgo
50920 maybe-install-strip-target-libgo: install-strip-target-libgo
50922 install-strip-target-libgo: installdirs
50923 @: $(MAKE); $(unstage)
50924 @r=`${PWD_COMMAND}`; export r; \
50925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50926 $(NORMAL_TARGET_EXPORTS) \
50927 (cd $(TARGET_SUBDIR)/libgo && \
50928 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50930 @endif target-libgo
50932 # Other targets (info, dvi, pdf, etc.)
50934 .PHONY: maybe-info-target-libgo info-target-libgo
50935 maybe-info-target-libgo:
50936 @if target-libgo
50937 maybe-info-target-libgo: info-target-libgo
50939 info-target-libgo: \
50940 configure-target-libgo
50941 @: $(MAKE); $(unstage)
50942 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
50943 r=`${PWD_COMMAND}`; export r; \
50944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50945 $(NORMAL_TARGET_EXPORTS) \
50946 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
50947 for flag in $(EXTRA_TARGET_FLAGS); do \
50948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50949 done; \
50950 (cd $(TARGET_SUBDIR)/libgo && \
50951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50953 "RANLIB=$${RANLIB}" \
50954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50955 info) \
50956 || exit 1
50958 @endif target-libgo
50960 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
50961 maybe-dvi-target-libgo:
50962 @if target-libgo
50963 maybe-dvi-target-libgo: dvi-target-libgo
50965 dvi-target-libgo: \
50966 configure-target-libgo
50967 @: $(MAKE); $(unstage)
50968 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
50969 r=`${PWD_COMMAND}`; export r; \
50970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50971 $(NORMAL_TARGET_EXPORTS) \
50972 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
50973 for flag in $(EXTRA_TARGET_FLAGS); do \
50974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50975 done; \
50976 (cd $(TARGET_SUBDIR)/libgo && \
50977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50979 "RANLIB=$${RANLIB}" \
50980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50981 dvi) \
50982 || exit 1
50984 @endif target-libgo
50986 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
50987 maybe-pdf-target-libgo:
50988 @if target-libgo
50989 maybe-pdf-target-libgo: pdf-target-libgo
50991 pdf-target-libgo: \
50992 configure-target-libgo
50993 @: $(MAKE); $(unstage)
50994 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
50995 r=`${PWD_COMMAND}`; export r; \
50996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50997 $(NORMAL_TARGET_EXPORTS) \
50998 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
50999 for flag in $(EXTRA_TARGET_FLAGS); do \
51000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51001 done; \
51002 (cd $(TARGET_SUBDIR)/libgo && \
51003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51005 "RANLIB=$${RANLIB}" \
51006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51007 pdf) \
51008 || exit 1
51010 @endif target-libgo
51012 .PHONY: maybe-html-target-libgo html-target-libgo
51013 maybe-html-target-libgo:
51014 @if target-libgo
51015 maybe-html-target-libgo: html-target-libgo
51017 html-target-libgo: \
51018 configure-target-libgo
51019 @: $(MAKE); $(unstage)
51020 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51021 r=`${PWD_COMMAND}`; export r; \
51022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51023 $(NORMAL_TARGET_EXPORTS) \
51024 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
51025 for flag in $(EXTRA_TARGET_FLAGS); do \
51026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51027 done; \
51028 (cd $(TARGET_SUBDIR)/libgo && \
51029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51031 "RANLIB=$${RANLIB}" \
51032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51033 html) \
51034 || exit 1
51036 @endif target-libgo
51038 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
51039 maybe-TAGS-target-libgo:
51040 @if target-libgo
51041 maybe-TAGS-target-libgo: TAGS-target-libgo
51043 TAGS-target-libgo: \
51044 configure-target-libgo
51045 @: $(MAKE); $(unstage)
51046 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51047 r=`${PWD_COMMAND}`; export r; \
51048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51049 $(NORMAL_TARGET_EXPORTS) \
51050 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
51051 for flag in $(EXTRA_TARGET_FLAGS); do \
51052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51053 done; \
51054 (cd $(TARGET_SUBDIR)/libgo && \
51055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51057 "RANLIB=$${RANLIB}" \
51058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51059 TAGS) \
51060 || exit 1
51062 @endif target-libgo
51064 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
51065 maybe-install-info-target-libgo:
51066 @if target-libgo
51067 maybe-install-info-target-libgo: install-info-target-libgo
51069 install-info-target-libgo: \
51070 configure-target-libgo \
51071 info-target-libgo
51072 @: $(MAKE); $(unstage)
51073 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51074 r=`${PWD_COMMAND}`; export r; \
51075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51076 $(NORMAL_TARGET_EXPORTS) \
51077 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
51078 for flag in $(EXTRA_TARGET_FLAGS); do \
51079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51080 done; \
51081 (cd $(TARGET_SUBDIR)/libgo && \
51082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51084 "RANLIB=$${RANLIB}" \
51085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51086 install-info) \
51087 || exit 1
51089 @endif target-libgo
51091 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
51092 maybe-install-pdf-target-libgo:
51093 @if target-libgo
51094 maybe-install-pdf-target-libgo: install-pdf-target-libgo
51096 install-pdf-target-libgo: \
51097 configure-target-libgo \
51098 pdf-target-libgo
51099 @: $(MAKE); $(unstage)
51100 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51101 r=`${PWD_COMMAND}`; export r; \
51102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51103 $(NORMAL_TARGET_EXPORTS) \
51104 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
51105 for flag in $(EXTRA_TARGET_FLAGS); do \
51106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51107 done; \
51108 (cd $(TARGET_SUBDIR)/libgo && \
51109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51111 "RANLIB=$${RANLIB}" \
51112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51113 install-pdf) \
51114 || exit 1
51116 @endif target-libgo
51118 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
51119 maybe-install-html-target-libgo:
51120 @if target-libgo
51121 maybe-install-html-target-libgo: install-html-target-libgo
51123 install-html-target-libgo: \
51124 configure-target-libgo \
51125 html-target-libgo
51126 @: $(MAKE); $(unstage)
51127 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51128 r=`${PWD_COMMAND}`; export r; \
51129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51130 $(NORMAL_TARGET_EXPORTS) \
51131 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
51132 for flag in $(EXTRA_TARGET_FLAGS); do \
51133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51134 done; \
51135 (cd $(TARGET_SUBDIR)/libgo && \
51136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51138 "RANLIB=$${RANLIB}" \
51139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51140 install-html) \
51141 || exit 1
51143 @endif target-libgo
51145 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
51146 maybe-installcheck-target-libgo:
51147 @if target-libgo
51148 maybe-installcheck-target-libgo: installcheck-target-libgo
51150 installcheck-target-libgo: \
51151 configure-target-libgo
51152 @: $(MAKE); $(unstage)
51153 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51154 r=`${PWD_COMMAND}`; export r; \
51155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51156 $(NORMAL_TARGET_EXPORTS) \
51157 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
51158 for flag in $(EXTRA_TARGET_FLAGS); do \
51159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51160 done; \
51161 (cd $(TARGET_SUBDIR)/libgo && \
51162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51164 "RANLIB=$${RANLIB}" \
51165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51166 installcheck) \
51167 || exit 1
51169 @endif target-libgo
51171 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
51172 maybe-mostlyclean-target-libgo:
51173 @if target-libgo
51174 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
51176 mostlyclean-target-libgo:
51177 @: $(MAKE); $(unstage)
51178 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51179 r=`${PWD_COMMAND}`; export r; \
51180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51181 $(NORMAL_TARGET_EXPORTS) \
51182 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
51183 for flag in $(EXTRA_TARGET_FLAGS); do \
51184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51185 done; \
51186 (cd $(TARGET_SUBDIR)/libgo && \
51187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51189 "RANLIB=$${RANLIB}" \
51190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51191 mostlyclean) \
51192 || exit 1
51194 @endif target-libgo
51196 .PHONY: maybe-clean-target-libgo clean-target-libgo
51197 maybe-clean-target-libgo:
51198 @if target-libgo
51199 maybe-clean-target-libgo: clean-target-libgo
51201 clean-target-libgo:
51202 @: $(MAKE); $(unstage)
51203 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51204 r=`${PWD_COMMAND}`; export r; \
51205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51206 $(NORMAL_TARGET_EXPORTS) \
51207 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
51208 for flag in $(EXTRA_TARGET_FLAGS); do \
51209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51210 done; \
51211 (cd $(TARGET_SUBDIR)/libgo && \
51212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51214 "RANLIB=$${RANLIB}" \
51215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51216 clean) \
51217 || exit 1
51219 @endif target-libgo
51221 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
51222 maybe-distclean-target-libgo:
51223 @if target-libgo
51224 maybe-distclean-target-libgo: distclean-target-libgo
51226 distclean-target-libgo:
51227 @: $(MAKE); $(unstage)
51228 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51229 r=`${PWD_COMMAND}`; export r; \
51230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51231 $(NORMAL_TARGET_EXPORTS) \
51232 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
51233 for flag in $(EXTRA_TARGET_FLAGS); do \
51234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51235 done; \
51236 (cd $(TARGET_SUBDIR)/libgo && \
51237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51239 "RANLIB=$${RANLIB}" \
51240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51241 distclean) \
51242 || exit 1
51244 @endif target-libgo
51246 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
51247 maybe-maintainer-clean-target-libgo:
51248 @if target-libgo
51249 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
51251 maintainer-clean-target-libgo:
51252 @: $(MAKE); $(unstage)
51253 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51254 r=`${PWD_COMMAND}`; export r; \
51255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51256 $(NORMAL_TARGET_EXPORTS) \
51257 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
51258 for flag in $(EXTRA_TARGET_FLAGS); do \
51259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51260 done; \
51261 (cd $(TARGET_SUBDIR)/libgo && \
51262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51264 "RANLIB=$${RANLIB}" \
51265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51266 maintainer-clean) \
51267 || exit 1
51269 @endif target-libgo
51275 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
51276 maybe-configure-target-libtermcap:
51277 @if gcc-bootstrap
51278 configure-target-libtermcap: stage_current
51279 @endif gcc-bootstrap
51280 @if target-libtermcap
51281 maybe-configure-target-libtermcap: configure-target-libtermcap
51282 configure-target-libtermcap:
51283 @: $(MAKE); $(unstage)
51284 @r=`${PWD_COMMAND}`; export r; \
51285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51286 echo "Checking multilib configuration for libtermcap..."; \
51287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
51288 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
51289 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
51290 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
51291 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
51292 else \
51293 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
51294 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
51295 fi; \
51296 else \
51297 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
51298 fi; \
51299 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
51300 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
51301 $(NORMAL_TARGET_EXPORTS) \
51302 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
51303 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
51304 case $(srcdir) in \
51305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51306 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
51307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51308 esac; \
51309 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
51310 libsrcdir="$$s/libtermcap"; \
51311 rm -f no-such-file || : ; \
51312 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51313 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51314 --target=${target_alias} $${srcdiroption} \
51315 || exit 1
51316 @endif target-libtermcap
51322 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
51323 maybe-all-target-libtermcap:
51324 @if gcc-bootstrap
51325 all-target-libtermcap: stage_current
51326 @endif gcc-bootstrap
51327 @if target-libtermcap
51328 TARGET-target-libtermcap=all
51329 maybe-all-target-libtermcap: all-target-libtermcap
51330 all-target-libtermcap: configure-target-libtermcap
51331 @: $(MAKE); $(unstage)
51332 @r=`${PWD_COMMAND}`; export r; \
51333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51334 $(NORMAL_TARGET_EXPORTS) \
51335 (cd $(TARGET_SUBDIR)/libtermcap && \
51336 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51337 $(TARGET-target-libtermcap))
51338 @endif target-libtermcap
51344 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
51345 maybe-check-target-libtermcap:
51346 @if target-libtermcap
51347 maybe-check-target-libtermcap: check-target-libtermcap
51349 # Dummy target for uncheckable module.
51350 check-target-libtermcap:
51352 @endif target-libtermcap
51354 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
51355 maybe-install-target-libtermcap:
51356 @if target-libtermcap
51357 maybe-install-target-libtermcap: install-target-libtermcap
51359 install-target-libtermcap: installdirs
51360 @: $(MAKE); $(unstage)
51361 @r=`${PWD_COMMAND}`; export r; \
51362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51363 $(NORMAL_TARGET_EXPORTS) \
51364 (cd $(TARGET_SUBDIR)/libtermcap && \
51365 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51367 @endif target-libtermcap
51369 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
51370 maybe-install-strip-target-libtermcap:
51371 @if target-libtermcap
51372 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
51374 install-strip-target-libtermcap: installdirs
51375 @: $(MAKE); $(unstage)
51376 @r=`${PWD_COMMAND}`; export r; \
51377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51378 $(NORMAL_TARGET_EXPORTS) \
51379 (cd $(TARGET_SUBDIR)/libtermcap && \
51380 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51382 @endif target-libtermcap
51384 # Other targets (info, dvi, pdf, etc.)
51386 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
51387 maybe-info-target-libtermcap:
51388 @if target-libtermcap
51389 maybe-info-target-libtermcap: info-target-libtermcap
51391 info-target-libtermcap: \
51392 configure-target-libtermcap
51393 @: $(MAKE); $(unstage)
51394 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51395 r=`${PWD_COMMAND}`; export r; \
51396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51397 $(NORMAL_TARGET_EXPORTS) \
51398 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
51399 for flag in $(EXTRA_TARGET_FLAGS); do \
51400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51401 done; \
51402 (cd $(TARGET_SUBDIR)/libtermcap && \
51403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51405 "RANLIB=$${RANLIB}" \
51406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51407 info) \
51408 || exit 1
51410 @endif target-libtermcap
51412 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
51413 maybe-dvi-target-libtermcap:
51414 @if target-libtermcap
51415 maybe-dvi-target-libtermcap: dvi-target-libtermcap
51417 dvi-target-libtermcap: \
51418 configure-target-libtermcap
51419 @: $(MAKE); $(unstage)
51420 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51421 r=`${PWD_COMMAND}`; export r; \
51422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51423 $(NORMAL_TARGET_EXPORTS) \
51424 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
51425 for flag in $(EXTRA_TARGET_FLAGS); do \
51426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51427 done; \
51428 (cd $(TARGET_SUBDIR)/libtermcap && \
51429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51431 "RANLIB=$${RANLIB}" \
51432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51433 dvi) \
51434 || exit 1
51436 @endif target-libtermcap
51438 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
51439 maybe-pdf-target-libtermcap:
51440 @if target-libtermcap
51441 maybe-pdf-target-libtermcap: pdf-target-libtermcap
51443 pdf-target-libtermcap: \
51444 configure-target-libtermcap
51445 @: $(MAKE); $(unstage)
51446 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51447 r=`${PWD_COMMAND}`; export r; \
51448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51449 $(NORMAL_TARGET_EXPORTS) \
51450 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
51451 for flag in $(EXTRA_TARGET_FLAGS); do \
51452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51453 done; \
51454 (cd $(TARGET_SUBDIR)/libtermcap && \
51455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51457 "RANLIB=$${RANLIB}" \
51458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51459 pdf) \
51460 || exit 1
51462 @endif target-libtermcap
51464 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
51465 maybe-html-target-libtermcap:
51466 @if target-libtermcap
51467 maybe-html-target-libtermcap: html-target-libtermcap
51469 html-target-libtermcap: \
51470 configure-target-libtermcap
51471 @: $(MAKE); $(unstage)
51472 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51473 r=`${PWD_COMMAND}`; export r; \
51474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51475 $(NORMAL_TARGET_EXPORTS) \
51476 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
51477 for flag in $(EXTRA_TARGET_FLAGS); do \
51478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51479 done; \
51480 (cd $(TARGET_SUBDIR)/libtermcap && \
51481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51483 "RANLIB=$${RANLIB}" \
51484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51485 html) \
51486 || exit 1
51488 @endif target-libtermcap
51490 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
51491 maybe-TAGS-target-libtermcap:
51492 @if target-libtermcap
51493 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
51495 TAGS-target-libtermcap: \
51496 configure-target-libtermcap
51497 @: $(MAKE); $(unstage)
51498 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51499 r=`${PWD_COMMAND}`; export r; \
51500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51501 $(NORMAL_TARGET_EXPORTS) \
51502 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
51503 for flag in $(EXTRA_TARGET_FLAGS); do \
51504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51505 done; \
51506 (cd $(TARGET_SUBDIR)/libtermcap && \
51507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51509 "RANLIB=$${RANLIB}" \
51510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51511 TAGS) \
51512 || exit 1
51514 @endif target-libtermcap
51516 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
51517 maybe-install-info-target-libtermcap:
51518 @if target-libtermcap
51519 maybe-install-info-target-libtermcap: install-info-target-libtermcap
51521 install-info-target-libtermcap: \
51522 configure-target-libtermcap \
51523 info-target-libtermcap
51524 @: $(MAKE); $(unstage)
51525 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51526 r=`${PWD_COMMAND}`; export r; \
51527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51528 $(NORMAL_TARGET_EXPORTS) \
51529 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
51530 for flag in $(EXTRA_TARGET_FLAGS); do \
51531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51532 done; \
51533 (cd $(TARGET_SUBDIR)/libtermcap && \
51534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51536 "RANLIB=$${RANLIB}" \
51537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51538 install-info) \
51539 || exit 1
51541 @endif target-libtermcap
51543 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
51544 maybe-install-pdf-target-libtermcap:
51545 @if target-libtermcap
51546 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
51548 install-pdf-target-libtermcap: \
51549 configure-target-libtermcap \
51550 pdf-target-libtermcap
51551 @: $(MAKE); $(unstage)
51552 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51553 r=`${PWD_COMMAND}`; export r; \
51554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51555 $(NORMAL_TARGET_EXPORTS) \
51556 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
51557 for flag in $(EXTRA_TARGET_FLAGS); do \
51558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51559 done; \
51560 (cd $(TARGET_SUBDIR)/libtermcap && \
51561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51563 "RANLIB=$${RANLIB}" \
51564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51565 install-pdf) \
51566 || exit 1
51568 @endif target-libtermcap
51570 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
51571 maybe-install-html-target-libtermcap:
51572 @if target-libtermcap
51573 maybe-install-html-target-libtermcap: install-html-target-libtermcap
51575 install-html-target-libtermcap: \
51576 configure-target-libtermcap \
51577 html-target-libtermcap
51578 @: $(MAKE); $(unstage)
51579 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51580 r=`${PWD_COMMAND}`; export r; \
51581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51582 $(NORMAL_TARGET_EXPORTS) \
51583 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
51584 for flag in $(EXTRA_TARGET_FLAGS); do \
51585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51586 done; \
51587 (cd $(TARGET_SUBDIR)/libtermcap && \
51588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51590 "RANLIB=$${RANLIB}" \
51591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51592 install-html) \
51593 || exit 1
51595 @endif target-libtermcap
51597 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
51598 maybe-installcheck-target-libtermcap:
51599 @if target-libtermcap
51600 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
51602 installcheck-target-libtermcap: \
51603 configure-target-libtermcap
51604 @: $(MAKE); $(unstage)
51605 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51606 r=`${PWD_COMMAND}`; export r; \
51607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51608 $(NORMAL_TARGET_EXPORTS) \
51609 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
51610 for flag in $(EXTRA_TARGET_FLAGS); do \
51611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51612 done; \
51613 (cd $(TARGET_SUBDIR)/libtermcap && \
51614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51616 "RANLIB=$${RANLIB}" \
51617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51618 installcheck) \
51619 || exit 1
51621 @endif target-libtermcap
51623 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
51624 maybe-mostlyclean-target-libtermcap:
51625 @if target-libtermcap
51626 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
51628 # libtermcap doesn't support mostlyclean.
51629 mostlyclean-target-libtermcap:
51631 @endif target-libtermcap
51633 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
51634 maybe-clean-target-libtermcap:
51635 @if target-libtermcap
51636 maybe-clean-target-libtermcap: clean-target-libtermcap
51638 # libtermcap doesn't support clean.
51639 clean-target-libtermcap:
51641 @endif target-libtermcap
51643 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
51644 maybe-distclean-target-libtermcap:
51645 @if target-libtermcap
51646 maybe-distclean-target-libtermcap: distclean-target-libtermcap
51648 # libtermcap doesn't support distclean.
51649 distclean-target-libtermcap:
51651 @endif target-libtermcap
51653 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
51654 maybe-maintainer-clean-target-libtermcap:
51655 @if target-libtermcap
51656 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
51658 # libtermcap doesn't support maintainer-clean.
51659 maintainer-clean-target-libtermcap:
51661 @endif target-libtermcap
51667 .PHONY: configure-target-winsup maybe-configure-target-winsup
51668 maybe-configure-target-winsup:
51669 @if gcc-bootstrap
51670 configure-target-winsup: stage_current
51671 @endif gcc-bootstrap
51672 @if target-winsup
51673 maybe-configure-target-winsup: configure-target-winsup
51674 configure-target-winsup:
51675 @: $(MAKE); $(unstage)
51676 @r=`${PWD_COMMAND}`; export r; \
51677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51678 echo "Checking multilib configuration for winsup..."; \
51679 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
51680 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
51681 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
51682 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
51683 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
51684 else \
51685 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
51686 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
51687 fi; \
51688 else \
51689 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
51690 fi; \
51691 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
51692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
51693 $(NORMAL_TARGET_EXPORTS) \
51694 echo Configuring in $(TARGET_SUBDIR)/winsup; \
51695 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
51696 case $(srcdir) in \
51697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51698 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
51699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51700 esac; \
51701 srcdiroption="--srcdir=$${topdir}/winsup"; \
51702 libsrcdir="$$s/winsup"; \
51703 rm -f no-such-file || : ; \
51704 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51705 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51706 --target=${target_alias} $${srcdiroption} \
51707 || exit 1
51708 @endif target-winsup
51714 .PHONY: all-target-winsup maybe-all-target-winsup
51715 maybe-all-target-winsup:
51716 @if gcc-bootstrap
51717 all-target-winsup: stage_current
51718 @endif gcc-bootstrap
51719 @if target-winsup
51720 TARGET-target-winsup=all
51721 maybe-all-target-winsup: all-target-winsup
51722 all-target-winsup: configure-target-winsup
51723 @: $(MAKE); $(unstage)
51724 @r=`${PWD_COMMAND}`; export r; \
51725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51726 $(NORMAL_TARGET_EXPORTS) \
51727 (cd $(TARGET_SUBDIR)/winsup && \
51728 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51729 $(TARGET-target-winsup))
51730 @endif target-winsup
51736 .PHONY: check-target-winsup maybe-check-target-winsup
51737 maybe-check-target-winsup:
51738 @if target-winsup
51739 maybe-check-target-winsup: check-target-winsup
51741 check-target-winsup:
51742 @: $(MAKE); $(unstage)
51743 @r=`${PWD_COMMAND}`; export r; \
51744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51745 $(NORMAL_TARGET_EXPORTS) \
51746 (cd $(TARGET_SUBDIR)/winsup && \
51747 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51749 @endif target-winsup
51751 .PHONY: install-target-winsup maybe-install-target-winsup
51752 maybe-install-target-winsup:
51753 @if target-winsup
51754 maybe-install-target-winsup: install-target-winsup
51756 install-target-winsup: installdirs
51757 @: $(MAKE); $(unstage)
51758 @r=`${PWD_COMMAND}`; export r; \
51759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51760 $(NORMAL_TARGET_EXPORTS) \
51761 (cd $(TARGET_SUBDIR)/winsup && \
51762 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51764 @endif target-winsup
51766 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
51767 maybe-install-strip-target-winsup:
51768 @if target-winsup
51769 maybe-install-strip-target-winsup: install-strip-target-winsup
51771 install-strip-target-winsup: installdirs
51772 @: $(MAKE); $(unstage)
51773 @r=`${PWD_COMMAND}`; export r; \
51774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51775 $(NORMAL_TARGET_EXPORTS) \
51776 (cd $(TARGET_SUBDIR)/winsup && \
51777 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51779 @endif target-winsup
51781 # Other targets (info, dvi, pdf, etc.)
51783 .PHONY: maybe-info-target-winsup info-target-winsup
51784 maybe-info-target-winsup:
51785 @if target-winsup
51786 maybe-info-target-winsup: info-target-winsup
51788 info-target-winsup: \
51789 configure-target-winsup
51790 @: $(MAKE); $(unstage)
51791 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51792 r=`${PWD_COMMAND}`; export r; \
51793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51794 $(NORMAL_TARGET_EXPORTS) \
51795 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
51796 for flag in $(EXTRA_TARGET_FLAGS); do \
51797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51798 done; \
51799 (cd $(TARGET_SUBDIR)/winsup && \
51800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51802 "RANLIB=$${RANLIB}" \
51803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51804 info) \
51805 || exit 1
51807 @endif target-winsup
51809 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
51810 maybe-dvi-target-winsup:
51811 @if target-winsup
51812 maybe-dvi-target-winsup: dvi-target-winsup
51814 dvi-target-winsup: \
51815 configure-target-winsup
51816 @: $(MAKE); $(unstage)
51817 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51818 r=`${PWD_COMMAND}`; export r; \
51819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51820 $(NORMAL_TARGET_EXPORTS) \
51821 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
51822 for flag in $(EXTRA_TARGET_FLAGS); do \
51823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51824 done; \
51825 (cd $(TARGET_SUBDIR)/winsup && \
51826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51828 "RANLIB=$${RANLIB}" \
51829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51830 dvi) \
51831 || exit 1
51833 @endif target-winsup
51835 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
51836 maybe-pdf-target-winsup:
51837 @if target-winsup
51838 maybe-pdf-target-winsup: pdf-target-winsup
51840 pdf-target-winsup: \
51841 configure-target-winsup
51842 @: $(MAKE); $(unstage)
51843 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51844 r=`${PWD_COMMAND}`; export r; \
51845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51846 $(NORMAL_TARGET_EXPORTS) \
51847 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
51848 for flag in $(EXTRA_TARGET_FLAGS); do \
51849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51850 done; \
51851 (cd $(TARGET_SUBDIR)/winsup && \
51852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51854 "RANLIB=$${RANLIB}" \
51855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51856 pdf) \
51857 || exit 1
51859 @endif target-winsup
51861 .PHONY: maybe-html-target-winsup html-target-winsup
51862 maybe-html-target-winsup:
51863 @if target-winsup
51864 maybe-html-target-winsup: html-target-winsup
51866 html-target-winsup: \
51867 configure-target-winsup
51868 @: $(MAKE); $(unstage)
51869 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51870 r=`${PWD_COMMAND}`; export r; \
51871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51872 $(NORMAL_TARGET_EXPORTS) \
51873 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
51874 for flag in $(EXTRA_TARGET_FLAGS); do \
51875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51876 done; \
51877 (cd $(TARGET_SUBDIR)/winsup && \
51878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51880 "RANLIB=$${RANLIB}" \
51881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51882 html) \
51883 || exit 1
51885 @endif target-winsup
51887 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
51888 maybe-TAGS-target-winsup:
51889 @if target-winsup
51890 maybe-TAGS-target-winsup: TAGS-target-winsup
51892 TAGS-target-winsup: \
51893 configure-target-winsup
51894 @: $(MAKE); $(unstage)
51895 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51896 r=`${PWD_COMMAND}`; export r; \
51897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51898 $(NORMAL_TARGET_EXPORTS) \
51899 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
51900 for flag in $(EXTRA_TARGET_FLAGS); do \
51901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51902 done; \
51903 (cd $(TARGET_SUBDIR)/winsup && \
51904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51906 "RANLIB=$${RANLIB}" \
51907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51908 TAGS) \
51909 || exit 1
51911 @endif target-winsup
51913 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
51914 maybe-install-info-target-winsup:
51915 @if target-winsup
51916 maybe-install-info-target-winsup: install-info-target-winsup
51918 install-info-target-winsup: \
51919 configure-target-winsup \
51920 info-target-winsup
51921 @: $(MAKE); $(unstage)
51922 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51923 r=`${PWD_COMMAND}`; export r; \
51924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51925 $(NORMAL_TARGET_EXPORTS) \
51926 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
51927 for flag in $(EXTRA_TARGET_FLAGS); do \
51928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51929 done; \
51930 (cd $(TARGET_SUBDIR)/winsup && \
51931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51933 "RANLIB=$${RANLIB}" \
51934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51935 install-info) \
51936 || exit 1
51938 @endif target-winsup
51940 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
51941 maybe-install-pdf-target-winsup:
51942 @if target-winsup
51943 maybe-install-pdf-target-winsup: install-pdf-target-winsup
51945 install-pdf-target-winsup: \
51946 configure-target-winsup \
51947 pdf-target-winsup
51948 @: $(MAKE); $(unstage)
51949 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51950 r=`${PWD_COMMAND}`; export r; \
51951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51952 $(NORMAL_TARGET_EXPORTS) \
51953 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
51954 for flag in $(EXTRA_TARGET_FLAGS); do \
51955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51956 done; \
51957 (cd $(TARGET_SUBDIR)/winsup && \
51958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51960 "RANLIB=$${RANLIB}" \
51961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51962 install-pdf) \
51963 || exit 1
51965 @endif target-winsup
51967 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
51968 maybe-install-html-target-winsup:
51969 @if target-winsup
51970 maybe-install-html-target-winsup: install-html-target-winsup
51972 install-html-target-winsup: \
51973 configure-target-winsup \
51974 html-target-winsup
51975 @: $(MAKE); $(unstage)
51976 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51977 r=`${PWD_COMMAND}`; export r; \
51978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51979 $(NORMAL_TARGET_EXPORTS) \
51980 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
51981 for flag in $(EXTRA_TARGET_FLAGS); do \
51982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51983 done; \
51984 (cd $(TARGET_SUBDIR)/winsup && \
51985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51987 "RANLIB=$${RANLIB}" \
51988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51989 install-html) \
51990 || exit 1
51992 @endif target-winsup
51994 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
51995 maybe-installcheck-target-winsup:
51996 @if target-winsup
51997 maybe-installcheck-target-winsup: installcheck-target-winsup
51999 installcheck-target-winsup: \
52000 configure-target-winsup
52001 @: $(MAKE); $(unstage)
52002 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52003 r=`${PWD_COMMAND}`; export r; \
52004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52005 $(NORMAL_TARGET_EXPORTS) \
52006 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
52007 for flag in $(EXTRA_TARGET_FLAGS); do \
52008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52009 done; \
52010 (cd $(TARGET_SUBDIR)/winsup && \
52011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52013 "RANLIB=$${RANLIB}" \
52014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52015 installcheck) \
52016 || exit 1
52018 @endif target-winsup
52020 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
52021 maybe-mostlyclean-target-winsup:
52022 @if target-winsup
52023 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
52025 mostlyclean-target-winsup:
52026 @: $(MAKE); $(unstage)
52027 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52028 r=`${PWD_COMMAND}`; export r; \
52029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52030 $(NORMAL_TARGET_EXPORTS) \
52031 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
52032 for flag in $(EXTRA_TARGET_FLAGS); do \
52033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52034 done; \
52035 (cd $(TARGET_SUBDIR)/winsup && \
52036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52038 "RANLIB=$${RANLIB}" \
52039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52040 mostlyclean) \
52041 || exit 1
52043 @endif target-winsup
52045 .PHONY: maybe-clean-target-winsup clean-target-winsup
52046 maybe-clean-target-winsup:
52047 @if target-winsup
52048 maybe-clean-target-winsup: clean-target-winsup
52050 clean-target-winsup:
52051 @: $(MAKE); $(unstage)
52052 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52053 r=`${PWD_COMMAND}`; export r; \
52054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52055 $(NORMAL_TARGET_EXPORTS) \
52056 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
52057 for flag in $(EXTRA_TARGET_FLAGS); do \
52058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52059 done; \
52060 (cd $(TARGET_SUBDIR)/winsup && \
52061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52063 "RANLIB=$${RANLIB}" \
52064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52065 clean) \
52066 || exit 1
52068 @endif target-winsup
52070 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
52071 maybe-distclean-target-winsup:
52072 @if target-winsup
52073 maybe-distclean-target-winsup: distclean-target-winsup
52075 distclean-target-winsup:
52076 @: $(MAKE); $(unstage)
52077 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52078 r=`${PWD_COMMAND}`; export r; \
52079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52080 $(NORMAL_TARGET_EXPORTS) \
52081 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
52082 for flag in $(EXTRA_TARGET_FLAGS); do \
52083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52084 done; \
52085 (cd $(TARGET_SUBDIR)/winsup && \
52086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52088 "RANLIB=$${RANLIB}" \
52089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52090 distclean) \
52091 || exit 1
52093 @endif target-winsup
52095 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
52096 maybe-maintainer-clean-target-winsup:
52097 @if target-winsup
52098 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
52100 maintainer-clean-target-winsup:
52101 @: $(MAKE); $(unstage)
52102 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52103 r=`${PWD_COMMAND}`; export r; \
52104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52105 $(NORMAL_TARGET_EXPORTS) \
52106 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
52107 for flag in $(EXTRA_TARGET_FLAGS); do \
52108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52109 done; \
52110 (cd $(TARGET_SUBDIR)/winsup && \
52111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52113 "RANLIB=$${RANLIB}" \
52114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52115 maintainer-clean) \
52116 || exit 1
52118 @endif target-winsup
52124 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
52125 maybe-configure-target-libgloss:
52126 @if gcc-bootstrap
52127 configure-target-libgloss: stage_current
52128 @endif gcc-bootstrap
52129 @if target-libgloss
52130 maybe-configure-target-libgloss: configure-target-libgloss
52131 configure-target-libgloss:
52132 @: $(MAKE); $(unstage)
52133 @r=`${PWD_COMMAND}`; export r; \
52134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52135 echo "Checking multilib configuration for libgloss..."; \
52136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
52137 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
52138 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
52139 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
52140 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
52141 else \
52142 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
52143 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
52144 fi; \
52145 else \
52146 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
52147 fi; \
52148 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
52149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
52150 $(NORMAL_TARGET_EXPORTS) \
52151 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
52152 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
52153 case $(srcdir) in \
52154 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52155 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
52156 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52157 esac; \
52158 srcdiroption="--srcdir=$${topdir}/libgloss"; \
52159 libsrcdir="$$s/libgloss"; \
52160 rm -f no-such-file || : ; \
52161 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52162 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52163 --target=${target_alias} $${srcdiroption} \
52164 || exit 1
52165 @endif target-libgloss
52171 .PHONY: all-target-libgloss maybe-all-target-libgloss
52172 maybe-all-target-libgloss:
52173 @if gcc-bootstrap
52174 all-target-libgloss: stage_current
52175 @endif gcc-bootstrap
52176 @if target-libgloss
52177 TARGET-target-libgloss=all
52178 maybe-all-target-libgloss: all-target-libgloss
52179 all-target-libgloss: configure-target-libgloss
52180 @: $(MAKE); $(unstage)
52181 @r=`${PWD_COMMAND}`; export r; \
52182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52183 $(NORMAL_TARGET_EXPORTS) \
52184 (cd $(TARGET_SUBDIR)/libgloss && \
52185 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52186 $(TARGET-target-libgloss))
52187 @endif target-libgloss
52193 .PHONY: check-target-libgloss maybe-check-target-libgloss
52194 maybe-check-target-libgloss:
52195 @if target-libgloss
52196 maybe-check-target-libgloss: check-target-libgloss
52198 # Dummy target for uncheckable module.
52199 check-target-libgloss:
52201 @endif target-libgloss
52203 .PHONY: install-target-libgloss maybe-install-target-libgloss
52204 maybe-install-target-libgloss:
52205 @if target-libgloss
52206 maybe-install-target-libgloss: install-target-libgloss
52208 install-target-libgloss: installdirs
52209 @: $(MAKE); $(unstage)
52210 @r=`${PWD_COMMAND}`; export r; \
52211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52212 $(NORMAL_TARGET_EXPORTS) \
52213 (cd $(TARGET_SUBDIR)/libgloss && \
52214 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52216 @endif target-libgloss
52218 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
52219 maybe-install-strip-target-libgloss:
52220 @if target-libgloss
52221 maybe-install-strip-target-libgloss: install-strip-target-libgloss
52223 install-strip-target-libgloss: installdirs
52224 @: $(MAKE); $(unstage)
52225 @r=`${PWD_COMMAND}`; export r; \
52226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52227 $(NORMAL_TARGET_EXPORTS) \
52228 (cd $(TARGET_SUBDIR)/libgloss && \
52229 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52231 @endif target-libgloss
52233 # Other targets (info, dvi, pdf, etc.)
52235 .PHONY: maybe-info-target-libgloss info-target-libgloss
52236 maybe-info-target-libgloss:
52237 @if target-libgloss
52238 maybe-info-target-libgloss: info-target-libgloss
52240 info-target-libgloss: \
52241 configure-target-libgloss
52242 @: $(MAKE); $(unstage)
52243 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52244 r=`${PWD_COMMAND}`; export r; \
52245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52246 $(NORMAL_TARGET_EXPORTS) \
52247 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
52248 for flag in $(EXTRA_TARGET_FLAGS); do \
52249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52250 done; \
52251 (cd $(TARGET_SUBDIR)/libgloss && \
52252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52254 "RANLIB=$${RANLIB}" \
52255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52256 info) \
52257 || exit 1
52259 @endif target-libgloss
52261 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
52262 maybe-dvi-target-libgloss:
52263 @if target-libgloss
52264 maybe-dvi-target-libgloss: dvi-target-libgloss
52266 dvi-target-libgloss: \
52267 configure-target-libgloss
52268 @: $(MAKE); $(unstage)
52269 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52270 r=`${PWD_COMMAND}`; export r; \
52271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52272 $(NORMAL_TARGET_EXPORTS) \
52273 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
52274 for flag in $(EXTRA_TARGET_FLAGS); do \
52275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52276 done; \
52277 (cd $(TARGET_SUBDIR)/libgloss && \
52278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52280 "RANLIB=$${RANLIB}" \
52281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52282 dvi) \
52283 || exit 1
52285 @endif target-libgloss
52287 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
52288 maybe-pdf-target-libgloss:
52289 @if target-libgloss
52290 maybe-pdf-target-libgloss: pdf-target-libgloss
52292 pdf-target-libgloss: \
52293 configure-target-libgloss
52294 @: $(MAKE); $(unstage)
52295 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52296 r=`${PWD_COMMAND}`; export r; \
52297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52298 $(NORMAL_TARGET_EXPORTS) \
52299 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
52300 for flag in $(EXTRA_TARGET_FLAGS); do \
52301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52302 done; \
52303 (cd $(TARGET_SUBDIR)/libgloss && \
52304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52306 "RANLIB=$${RANLIB}" \
52307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52308 pdf) \
52309 || exit 1
52311 @endif target-libgloss
52313 .PHONY: maybe-html-target-libgloss html-target-libgloss
52314 maybe-html-target-libgloss:
52315 @if target-libgloss
52316 maybe-html-target-libgloss: html-target-libgloss
52318 html-target-libgloss: \
52319 configure-target-libgloss
52320 @: $(MAKE); $(unstage)
52321 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52322 r=`${PWD_COMMAND}`; export r; \
52323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52324 $(NORMAL_TARGET_EXPORTS) \
52325 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
52326 for flag in $(EXTRA_TARGET_FLAGS); do \
52327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52328 done; \
52329 (cd $(TARGET_SUBDIR)/libgloss && \
52330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52332 "RANLIB=$${RANLIB}" \
52333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52334 html) \
52335 || exit 1
52337 @endif target-libgloss
52339 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
52340 maybe-TAGS-target-libgloss:
52341 @if target-libgloss
52342 maybe-TAGS-target-libgloss: TAGS-target-libgloss
52344 TAGS-target-libgloss: \
52345 configure-target-libgloss
52346 @: $(MAKE); $(unstage)
52347 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52348 r=`${PWD_COMMAND}`; export r; \
52349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52350 $(NORMAL_TARGET_EXPORTS) \
52351 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
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)/libgloss && \
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 TAGS) \
52361 || exit 1
52363 @endif target-libgloss
52365 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
52366 maybe-install-info-target-libgloss:
52367 @if target-libgloss
52368 maybe-install-info-target-libgloss: install-info-target-libgloss
52370 install-info-target-libgloss: \
52371 configure-target-libgloss \
52372 info-target-libgloss
52373 @: $(MAKE); $(unstage)
52374 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52375 r=`${PWD_COMMAND}`; export r; \
52376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52377 $(NORMAL_TARGET_EXPORTS) \
52378 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
52379 for flag in $(EXTRA_TARGET_FLAGS); do \
52380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52381 done; \
52382 (cd $(TARGET_SUBDIR)/libgloss && \
52383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52385 "RANLIB=$${RANLIB}" \
52386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52387 install-info) \
52388 || exit 1
52390 @endif target-libgloss
52392 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
52393 maybe-install-pdf-target-libgloss:
52394 @if target-libgloss
52395 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
52397 install-pdf-target-libgloss: \
52398 configure-target-libgloss \
52399 pdf-target-libgloss
52400 @: $(MAKE); $(unstage)
52401 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52402 r=`${PWD_COMMAND}`; export r; \
52403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52404 $(NORMAL_TARGET_EXPORTS) \
52405 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
52406 for flag in $(EXTRA_TARGET_FLAGS); do \
52407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52408 done; \
52409 (cd $(TARGET_SUBDIR)/libgloss && \
52410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52412 "RANLIB=$${RANLIB}" \
52413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52414 install-pdf) \
52415 || exit 1
52417 @endif target-libgloss
52419 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
52420 maybe-install-html-target-libgloss:
52421 @if target-libgloss
52422 maybe-install-html-target-libgloss: install-html-target-libgloss
52424 install-html-target-libgloss: \
52425 configure-target-libgloss \
52426 html-target-libgloss
52427 @: $(MAKE); $(unstage)
52428 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52429 r=`${PWD_COMMAND}`; export r; \
52430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52431 $(NORMAL_TARGET_EXPORTS) \
52432 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
52433 for flag in $(EXTRA_TARGET_FLAGS); do \
52434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52435 done; \
52436 (cd $(TARGET_SUBDIR)/libgloss && \
52437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52439 "RANLIB=$${RANLIB}" \
52440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52441 install-html) \
52442 || exit 1
52444 @endif target-libgloss
52446 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
52447 maybe-installcheck-target-libgloss:
52448 @if target-libgloss
52449 maybe-installcheck-target-libgloss: installcheck-target-libgloss
52451 installcheck-target-libgloss: \
52452 configure-target-libgloss
52453 @: $(MAKE); $(unstage)
52454 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52455 r=`${PWD_COMMAND}`; export r; \
52456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52457 $(NORMAL_TARGET_EXPORTS) \
52458 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
52459 for flag in $(EXTRA_TARGET_FLAGS); do \
52460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52461 done; \
52462 (cd $(TARGET_SUBDIR)/libgloss && \
52463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52465 "RANLIB=$${RANLIB}" \
52466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52467 installcheck) \
52468 || exit 1
52470 @endif target-libgloss
52472 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
52473 maybe-mostlyclean-target-libgloss:
52474 @if target-libgloss
52475 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
52477 mostlyclean-target-libgloss:
52478 @: $(MAKE); $(unstage)
52479 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52480 r=`${PWD_COMMAND}`; export r; \
52481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52482 $(NORMAL_TARGET_EXPORTS) \
52483 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
52484 for flag in $(EXTRA_TARGET_FLAGS); do \
52485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52486 done; \
52487 (cd $(TARGET_SUBDIR)/libgloss && \
52488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52490 "RANLIB=$${RANLIB}" \
52491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52492 mostlyclean) \
52493 || exit 1
52495 @endif target-libgloss
52497 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
52498 maybe-clean-target-libgloss:
52499 @if target-libgloss
52500 maybe-clean-target-libgloss: clean-target-libgloss
52502 clean-target-libgloss:
52503 @: $(MAKE); $(unstage)
52504 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52505 r=`${PWD_COMMAND}`; export r; \
52506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52507 $(NORMAL_TARGET_EXPORTS) \
52508 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
52509 for flag in $(EXTRA_TARGET_FLAGS); do \
52510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52511 done; \
52512 (cd $(TARGET_SUBDIR)/libgloss && \
52513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52515 "RANLIB=$${RANLIB}" \
52516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52517 clean) \
52518 || exit 1
52520 @endif target-libgloss
52522 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
52523 maybe-distclean-target-libgloss:
52524 @if target-libgloss
52525 maybe-distclean-target-libgloss: distclean-target-libgloss
52527 distclean-target-libgloss:
52528 @: $(MAKE); $(unstage)
52529 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52530 r=`${PWD_COMMAND}`; export r; \
52531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52532 $(NORMAL_TARGET_EXPORTS) \
52533 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
52534 for flag in $(EXTRA_TARGET_FLAGS); do \
52535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52536 done; \
52537 (cd $(TARGET_SUBDIR)/libgloss && \
52538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52540 "RANLIB=$${RANLIB}" \
52541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52542 distclean) \
52543 || exit 1
52545 @endif target-libgloss
52547 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
52548 maybe-maintainer-clean-target-libgloss:
52549 @if target-libgloss
52550 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
52552 maintainer-clean-target-libgloss:
52553 @: $(MAKE); $(unstage)
52554 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52555 r=`${PWD_COMMAND}`; export r; \
52556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52557 $(NORMAL_TARGET_EXPORTS) \
52558 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
52559 for flag in $(EXTRA_TARGET_FLAGS); do \
52560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52561 done; \
52562 (cd $(TARGET_SUBDIR)/libgloss && \
52563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52565 "RANLIB=$${RANLIB}" \
52566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52567 maintainer-clean) \
52568 || exit 1
52570 @endif target-libgloss
52576 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
52577 maybe-configure-target-libiberty:
52578 @if gcc-bootstrap
52579 configure-target-libiberty: stage_current
52580 @endif gcc-bootstrap
52581 @if target-libiberty
52582 maybe-configure-target-libiberty: configure-target-libiberty
52583 configure-target-libiberty:
52584 @: $(MAKE); $(unstage)
52585 @r=`${PWD_COMMAND}`; export r; \
52586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52587 echo "Checking multilib configuration for libiberty..."; \
52588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
52589 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
52590 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
52591 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
52592 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
52593 else \
52594 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
52595 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
52596 fi; \
52597 else \
52598 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
52599 fi; \
52600 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
52601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
52602 $(NORMAL_TARGET_EXPORTS) \
52603 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
52604 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
52605 case $(srcdir) in \
52606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52607 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
52608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52609 esac; \
52610 srcdiroption="--srcdir=$${topdir}/libiberty"; \
52611 libsrcdir="$$s/libiberty"; \
52612 rm -f no-such-file || : ; \
52613 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52614 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52615 --target=${target_alias} $${srcdiroption} \
52616 || exit 1
52617 @endif target-libiberty
52623 .PHONY: all-target-libiberty maybe-all-target-libiberty
52624 maybe-all-target-libiberty:
52625 @if gcc-bootstrap
52626 all-target-libiberty: stage_current
52627 @endif gcc-bootstrap
52628 @if target-libiberty
52629 TARGET-target-libiberty=all
52630 maybe-all-target-libiberty: all-target-libiberty
52631 all-target-libiberty: configure-target-libiberty
52632 @: $(MAKE); $(unstage)
52633 @r=`${PWD_COMMAND}`; export r; \
52634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52635 $(NORMAL_TARGET_EXPORTS) \
52636 (cd $(TARGET_SUBDIR)/libiberty && \
52637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52638 $(TARGET-target-libiberty))
52639 @endif target-libiberty
52645 .PHONY: check-target-libiberty maybe-check-target-libiberty
52646 maybe-check-target-libiberty:
52647 @if target-libiberty
52648 maybe-check-target-libiberty: check-target-libiberty
52650 check-target-libiberty:
52651 @: $(MAKE); $(unstage)
52652 @r=`${PWD_COMMAND}`; export r; \
52653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52654 $(NORMAL_TARGET_EXPORTS) \
52655 (cd $(TARGET_SUBDIR)/libiberty && \
52656 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52658 @endif target-libiberty
52660 .PHONY: install-target-libiberty maybe-install-target-libiberty
52661 maybe-install-target-libiberty:
52662 @if target-libiberty
52663 maybe-install-target-libiberty: install-target-libiberty
52665 install-target-libiberty: installdirs
52666 @: $(MAKE); $(unstage)
52667 @r=`${PWD_COMMAND}`; export r; \
52668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52669 $(NORMAL_TARGET_EXPORTS) \
52670 (cd $(TARGET_SUBDIR)/libiberty && \
52671 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52673 @endif target-libiberty
52675 .PHONY: install-strip-target-libiberty maybe-install-strip-target-libiberty
52676 maybe-install-strip-target-libiberty:
52677 @if target-libiberty
52678 maybe-install-strip-target-libiberty: install-strip-target-libiberty
52680 install-strip-target-libiberty: installdirs
52681 @: $(MAKE); $(unstage)
52682 @r=`${PWD_COMMAND}`; export r; \
52683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52684 $(NORMAL_TARGET_EXPORTS) \
52685 (cd $(TARGET_SUBDIR)/libiberty && \
52686 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52688 @endif target-libiberty
52690 # Other targets (info, dvi, pdf, etc.)
52692 .PHONY: maybe-info-target-libiberty info-target-libiberty
52693 maybe-info-target-libiberty:
52694 @if target-libiberty
52695 maybe-info-target-libiberty: info-target-libiberty
52697 info-target-libiberty: \
52698 configure-target-libiberty
52699 @: $(MAKE); $(unstage)
52700 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52701 r=`${PWD_COMMAND}`; export r; \
52702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52703 $(NORMAL_TARGET_EXPORTS) \
52704 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
52705 for flag in $(EXTRA_TARGET_FLAGS); do \
52706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52707 done; \
52708 (cd $(TARGET_SUBDIR)/libiberty && \
52709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52711 "RANLIB=$${RANLIB}" \
52712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52713 info) \
52714 || exit 1
52716 @endif target-libiberty
52718 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
52719 maybe-dvi-target-libiberty:
52720 @if target-libiberty
52721 maybe-dvi-target-libiberty: dvi-target-libiberty
52723 dvi-target-libiberty: \
52724 configure-target-libiberty
52725 @: $(MAKE); $(unstage)
52726 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52727 r=`${PWD_COMMAND}`; export r; \
52728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52729 $(NORMAL_TARGET_EXPORTS) \
52730 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
52731 for flag in $(EXTRA_TARGET_FLAGS); do \
52732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52733 done; \
52734 (cd $(TARGET_SUBDIR)/libiberty && \
52735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52737 "RANLIB=$${RANLIB}" \
52738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52739 dvi) \
52740 || exit 1
52742 @endif target-libiberty
52744 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
52745 maybe-pdf-target-libiberty:
52746 @if target-libiberty
52747 maybe-pdf-target-libiberty: pdf-target-libiberty
52749 pdf-target-libiberty: \
52750 configure-target-libiberty
52751 @: $(MAKE); $(unstage)
52752 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52753 r=`${PWD_COMMAND}`; export r; \
52754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52755 $(NORMAL_TARGET_EXPORTS) \
52756 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
52757 for flag in $(EXTRA_TARGET_FLAGS); do \
52758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52759 done; \
52760 (cd $(TARGET_SUBDIR)/libiberty && \
52761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52763 "RANLIB=$${RANLIB}" \
52764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52765 pdf) \
52766 || exit 1
52768 @endif target-libiberty
52770 .PHONY: maybe-html-target-libiberty html-target-libiberty
52771 maybe-html-target-libiberty:
52772 @if target-libiberty
52773 maybe-html-target-libiberty: html-target-libiberty
52775 html-target-libiberty: \
52776 configure-target-libiberty
52777 @: $(MAKE); $(unstage)
52778 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52779 r=`${PWD_COMMAND}`; export r; \
52780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52781 $(NORMAL_TARGET_EXPORTS) \
52782 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
52783 for flag in $(EXTRA_TARGET_FLAGS); do \
52784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52785 done; \
52786 (cd $(TARGET_SUBDIR)/libiberty && \
52787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52789 "RANLIB=$${RANLIB}" \
52790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52791 html) \
52792 || exit 1
52794 @endif target-libiberty
52796 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
52797 maybe-TAGS-target-libiberty:
52798 @if target-libiberty
52799 maybe-TAGS-target-libiberty: TAGS-target-libiberty
52801 TAGS-target-libiberty: \
52802 configure-target-libiberty
52803 @: $(MAKE); $(unstage)
52804 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52805 r=`${PWD_COMMAND}`; export r; \
52806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52807 $(NORMAL_TARGET_EXPORTS) \
52808 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
52809 for flag in $(EXTRA_TARGET_FLAGS); do \
52810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52811 done; \
52812 (cd $(TARGET_SUBDIR)/libiberty && \
52813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52815 "RANLIB=$${RANLIB}" \
52816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52817 TAGS) \
52818 || exit 1
52820 @endif target-libiberty
52822 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
52823 maybe-install-info-target-libiberty:
52824 @if target-libiberty
52825 maybe-install-info-target-libiberty: install-info-target-libiberty
52827 install-info-target-libiberty: \
52828 configure-target-libiberty \
52829 info-target-libiberty
52830 @: $(MAKE); $(unstage)
52831 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52832 r=`${PWD_COMMAND}`; export r; \
52833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52834 $(NORMAL_TARGET_EXPORTS) \
52835 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
52836 for flag in $(EXTRA_TARGET_FLAGS); do \
52837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52838 done; \
52839 (cd $(TARGET_SUBDIR)/libiberty && \
52840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52842 "RANLIB=$${RANLIB}" \
52843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52844 install-info) \
52845 || exit 1
52847 @endif target-libiberty
52849 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
52850 maybe-install-pdf-target-libiberty:
52851 @if target-libiberty
52852 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
52854 install-pdf-target-libiberty: \
52855 configure-target-libiberty \
52856 pdf-target-libiberty
52857 @: $(MAKE); $(unstage)
52858 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52859 r=`${PWD_COMMAND}`; export r; \
52860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52861 $(NORMAL_TARGET_EXPORTS) \
52862 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
52863 for flag in $(EXTRA_TARGET_FLAGS); do \
52864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52865 done; \
52866 (cd $(TARGET_SUBDIR)/libiberty && \
52867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52869 "RANLIB=$${RANLIB}" \
52870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52871 install-pdf) \
52872 || exit 1
52874 @endif target-libiberty
52876 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
52877 maybe-install-html-target-libiberty:
52878 @if target-libiberty
52879 maybe-install-html-target-libiberty: install-html-target-libiberty
52881 install-html-target-libiberty: \
52882 configure-target-libiberty \
52883 html-target-libiberty
52884 @: $(MAKE); $(unstage)
52885 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52886 r=`${PWD_COMMAND}`; export r; \
52887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52888 $(NORMAL_TARGET_EXPORTS) \
52889 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
52890 for flag in $(EXTRA_TARGET_FLAGS); do \
52891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52892 done; \
52893 (cd $(TARGET_SUBDIR)/libiberty && \
52894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52896 "RANLIB=$${RANLIB}" \
52897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52898 install-html) \
52899 || exit 1
52901 @endif target-libiberty
52903 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
52904 maybe-installcheck-target-libiberty:
52905 @if target-libiberty
52906 maybe-installcheck-target-libiberty: installcheck-target-libiberty
52908 installcheck-target-libiberty: \
52909 configure-target-libiberty
52910 @: $(MAKE); $(unstage)
52911 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52912 r=`${PWD_COMMAND}`; export r; \
52913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52914 $(NORMAL_TARGET_EXPORTS) \
52915 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
52916 for flag in $(EXTRA_TARGET_FLAGS); do \
52917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52918 done; \
52919 (cd $(TARGET_SUBDIR)/libiberty && \
52920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52922 "RANLIB=$${RANLIB}" \
52923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52924 installcheck) \
52925 || exit 1
52927 @endif target-libiberty
52929 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
52930 maybe-mostlyclean-target-libiberty:
52931 @if target-libiberty
52932 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
52934 mostlyclean-target-libiberty:
52935 @: $(MAKE); $(unstage)
52936 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52937 r=`${PWD_COMMAND}`; export r; \
52938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52939 $(NORMAL_TARGET_EXPORTS) \
52940 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
52941 for flag in $(EXTRA_TARGET_FLAGS); do \
52942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52943 done; \
52944 (cd $(TARGET_SUBDIR)/libiberty && \
52945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52947 "RANLIB=$${RANLIB}" \
52948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52949 mostlyclean) \
52950 || exit 1
52952 @endif target-libiberty
52954 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
52955 maybe-clean-target-libiberty:
52956 @if target-libiberty
52957 maybe-clean-target-libiberty: clean-target-libiberty
52959 clean-target-libiberty:
52960 @: $(MAKE); $(unstage)
52961 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52962 r=`${PWD_COMMAND}`; export r; \
52963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52964 $(NORMAL_TARGET_EXPORTS) \
52965 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
52966 for flag in $(EXTRA_TARGET_FLAGS); do \
52967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52968 done; \
52969 (cd $(TARGET_SUBDIR)/libiberty && \
52970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52972 "RANLIB=$${RANLIB}" \
52973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52974 clean) \
52975 || exit 1
52977 @endif target-libiberty
52979 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
52980 maybe-distclean-target-libiberty:
52981 @if target-libiberty
52982 maybe-distclean-target-libiberty: distclean-target-libiberty
52984 distclean-target-libiberty:
52985 @: $(MAKE); $(unstage)
52986 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52987 r=`${PWD_COMMAND}`; export r; \
52988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52989 $(NORMAL_TARGET_EXPORTS) \
52990 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
52991 for flag in $(EXTRA_TARGET_FLAGS); do \
52992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52993 done; \
52994 (cd $(TARGET_SUBDIR)/libiberty && \
52995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52997 "RANLIB=$${RANLIB}" \
52998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52999 distclean) \
53000 || exit 1
53002 @endif target-libiberty
53004 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
53005 maybe-maintainer-clean-target-libiberty:
53006 @if target-libiberty
53007 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
53009 maintainer-clean-target-libiberty:
53010 @: $(MAKE); $(unstage)
53011 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
53012 r=`${PWD_COMMAND}`; export r; \
53013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53014 $(NORMAL_TARGET_EXPORTS) \
53015 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
53016 for flag in $(EXTRA_TARGET_FLAGS); do \
53017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53018 done; \
53019 (cd $(TARGET_SUBDIR)/libiberty && \
53020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53022 "RANLIB=$${RANLIB}" \
53023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53024 maintainer-clean) \
53025 || exit 1
53027 @endif target-libiberty
53033 .PHONY: configure-target-gperf maybe-configure-target-gperf
53034 maybe-configure-target-gperf:
53035 @if gcc-bootstrap
53036 configure-target-gperf: stage_current
53037 @endif gcc-bootstrap
53038 @if target-gperf
53039 maybe-configure-target-gperf: configure-target-gperf
53040 configure-target-gperf:
53041 @: $(MAKE); $(unstage)
53042 @r=`${PWD_COMMAND}`; export r; \
53043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53044 echo "Checking multilib configuration for gperf..."; \
53045 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
53046 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
53047 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
53048 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
53049 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
53050 else \
53051 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
53052 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
53053 fi; \
53054 else \
53055 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
53056 fi; \
53057 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
53058 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
53059 $(NORMAL_TARGET_EXPORTS) \
53060 echo Configuring in $(TARGET_SUBDIR)/gperf; \
53061 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
53062 case $(srcdir) in \
53063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53064 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
53065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53066 esac; \
53067 srcdiroption="--srcdir=$${topdir}/gperf"; \
53068 libsrcdir="$$s/gperf"; \
53069 rm -f no-such-file || : ; \
53070 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53071 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53072 --target=${target_alias} $${srcdiroption} \
53073 || exit 1
53074 @endif target-gperf
53080 .PHONY: all-target-gperf maybe-all-target-gperf
53081 maybe-all-target-gperf:
53082 @if gcc-bootstrap
53083 all-target-gperf: stage_current
53084 @endif gcc-bootstrap
53085 @if target-gperf
53086 TARGET-target-gperf=all
53087 maybe-all-target-gperf: all-target-gperf
53088 all-target-gperf: configure-target-gperf
53089 @: $(MAKE); $(unstage)
53090 @r=`${PWD_COMMAND}`; export r; \
53091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53092 $(NORMAL_TARGET_EXPORTS) \
53093 (cd $(TARGET_SUBDIR)/gperf && \
53094 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53095 $(TARGET-target-gperf))
53096 @endif target-gperf
53102 .PHONY: check-target-gperf maybe-check-target-gperf
53103 maybe-check-target-gperf:
53104 @if target-gperf
53105 maybe-check-target-gperf: check-target-gperf
53107 check-target-gperf:
53108 @: $(MAKE); $(unstage)
53109 @r=`${PWD_COMMAND}`; export r; \
53110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53111 $(NORMAL_TARGET_EXPORTS) \
53112 (cd $(TARGET_SUBDIR)/gperf && \
53113 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53115 @endif target-gperf
53117 .PHONY: install-target-gperf maybe-install-target-gperf
53118 maybe-install-target-gperf:
53119 @if target-gperf
53120 maybe-install-target-gperf: install-target-gperf
53122 install-target-gperf: installdirs
53123 @: $(MAKE); $(unstage)
53124 @r=`${PWD_COMMAND}`; export r; \
53125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53126 $(NORMAL_TARGET_EXPORTS) \
53127 (cd $(TARGET_SUBDIR)/gperf && \
53128 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53130 @endif target-gperf
53132 .PHONY: install-strip-target-gperf maybe-install-strip-target-gperf
53133 maybe-install-strip-target-gperf:
53134 @if target-gperf
53135 maybe-install-strip-target-gperf: install-strip-target-gperf
53137 install-strip-target-gperf: installdirs
53138 @: $(MAKE); $(unstage)
53139 @r=`${PWD_COMMAND}`; export r; \
53140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53141 $(NORMAL_TARGET_EXPORTS) \
53142 (cd $(TARGET_SUBDIR)/gperf && \
53143 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53145 @endif target-gperf
53147 # Other targets (info, dvi, pdf, etc.)
53149 .PHONY: maybe-info-target-gperf info-target-gperf
53150 maybe-info-target-gperf:
53151 @if target-gperf
53152 maybe-info-target-gperf: info-target-gperf
53154 info-target-gperf: \
53155 configure-target-gperf
53156 @: $(MAKE); $(unstage)
53157 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53158 r=`${PWD_COMMAND}`; export r; \
53159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53160 $(NORMAL_TARGET_EXPORTS) \
53161 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
53162 for flag in $(EXTRA_TARGET_FLAGS); do \
53163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53164 done; \
53165 (cd $(TARGET_SUBDIR)/gperf && \
53166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53168 "RANLIB=$${RANLIB}" \
53169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53170 info) \
53171 || exit 1
53173 @endif target-gperf
53175 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
53176 maybe-dvi-target-gperf:
53177 @if target-gperf
53178 maybe-dvi-target-gperf: dvi-target-gperf
53180 dvi-target-gperf: \
53181 configure-target-gperf
53182 @: $(MAKE); $(unstage)
53183 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53184 r=`${PWD_COMMAND}`; export r; \
53185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53186 $(NORMAL_TARGET_EXPORTS) \
53187 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
53188 for flag in $(EXTRA_TARGET_FLAGS); do \
53189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53190 done; \
53191 (cd $(TARGET_SUBDIR)/gperf && \
53192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53194 "RANLIB=$${RANLIB}" \
53195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53196 dvi) \
53197 || exit 1
53199 @endif target-gperf
53201 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
53202 maybe-pdf-target-gperf:
53203 @if target-gperf
53204 maybe-pdf-target-gperf: pdf-target-gperf
53206 pdf-target-gperf: \
53207 configure-target-gperf
53208 @: $(MAKE); $(unstage)
53209 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53210 r=`${PWD_COMMAND}`; export r; \
53211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53212 $(NORMAL_TARGET_EXPORTS) \
53213 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
53214 for flag in $(EXTRA_TARGET_FLAGS); do \
53215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53216 done; \
53217 (cd $(TARGET_SUBDIR)/gperf && \
53218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53220 "RANLIB=$${RANLIB}" \
53221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53222 pdf) \
53223 || exit 1
53225 @endif target-gperf
53227 .PHONY: maybe-html-target-gperf html-target-gperf
53228 maybe-html-target-gperf:
53229 @if target-gperf
53230 maybe-html-target-gperf: html-target-gperf
53232 html-target-gperf: \
53233 configure-target-gperf
53234 @: $(MAKE); $(unstage)
53235 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53236 r=`${PWD_COMMAND}`; export r; \
53237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53238 $(NORMAL_TARGET_EXPORTS) \
53239 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
53240 for flag in $(EXTRA_TARGET_FLAGS); do \
53241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53242 done; \
53243 (cd $(TARGET_SUBDIR)/gperf && \
53244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53246 "RANLIB=$${RANLIB}" \
53247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53248 html) \
53249 || exit 1
53251 @endif target-gperf
53253 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
53254 maybe-TAGS-target-gperf:
53255 @if target-gperf
53256 maybe-TAGS-target-gperf: TAGS-target-gperf
53258 TAGS-target-gperf: \
53259 configure-target-gperf
53260 @: $(MAKE); $(unstage)
53261 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53262 r=`${PWD_COMMAND}`; export r; \
53263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53264 $(NORMAL_TARGET_EXPORTS) \
53265 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
53266 for flag in $(EXTRA_TARGET_FLAGS); do \
53267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53268 done; \
53269 (cd $(TARGET_SUBDIR)/gperf && \
53270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53272 "RANLIB=$${RANLIB}" \
53273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53274 TAGS) \
53275 || exit 1
53277 @endif target-gperf
53279 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
53280 maybe-install-info-target-gperf:
53281 @if target-gperf
53282 maybe-install-info-target-gperf: install-info-target-gperf
53284 install-info-target-gperf: \
53285 configure-target-gperf \
53286 info-target-gperf
53287 @: $(MAKE); $(unstage)
53288 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53289 r=`${PWD_COMMAND}`; export r; \
53290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53291 $(NORMAL_TARGET_EXPORTS) \
53292 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
53293 for flag in $(EXTRA_TARGET_FLAGS); do \
53294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53295 done; \
53296 (cd $(TARGET_SUBDIR)/gperf && \
53297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53299 "RANLIB=$${RANLIB}" \
53300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53301 install-info) \
53302 || exit 1
53304 @endif target-gperf
53306 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
53307 maybe-install-pdf-target-gperf:
53308 @if target-gperf
53309 maybe-install-pdf-target-gperf: install-pdf-target-gperf
53311 install-pdf-target-gperf: \
53312 configure-target-gperf \
53313 pdf-target-gperf
53314 @: $(MAKE); $(unstage)
53315 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53316 r=`${PWD_COMMAND}`; export r; \
53317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53318 $(NORMAL_TARGET_EXPORTS) \
53319 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
53320 for flag in $(EXTRA_TARGET_FLAGS); do \
53321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53322 done; \
53323 (cd $(TARGET_SUBDIR)/gperf && \
53324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53326 "RANLIB=$${RANLIB}" \
53327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53328 install-pdf) \
53329 || exit 1
53331 @endif target-gperf
53333 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
53334 maybe-install-html-target-gperf:
53335 @if target-gperf
53336 maybe-install-html-target-gperf: install-html-target-gperf
53338 install-html-target-gperf: \
53339 configure-target-gperf \
53340 html-target-gperf
53341 @: $(MAKE); $(unstage)
53342 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53343 r=`${PWD_COMMAND}`; export r; \
53344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53345 $(NORMAL_TARGET_EXPORTS) \
53346 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
53347 for flag in $(EXTRA_TARGET_FLAGS); do \
53348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53349 done; \
53350 (cd $(TARGET_SUBDIR)/gperf && \
53351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53353 "RANLIB=$${RANLIB}" \
53354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53355 install-html) \
53356 || exit 1
53358 @endif target-gperf
53360 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
53361 maybe-installcheck-target-gperf:
53362 @if target-gperf
53363 maybe-installcheck-target-gperf: installcheck-target-gperf
53365 installcheck-target-gperf: \
53366 configure-target-gperf
53367 @: $(MAKE); $(unstage)
53368 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53369 r=`${PWD_COMMAND}`; export r; \
53370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53371 $(NORMAL_TARGET_EXPORTS) \
53372 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
53373 for flag in $(EXTRA_TARGET_FLAGS); do \
53374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53375 done; \
53376 (cd $(TARGET_SUBDIR)/gperf && \
53377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53379 "RANLIB=$${RANLIB}" \
53380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53381 installcheck) \
53382 || exit 1
53384 @endif target-gperf
53386 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
53387 maybe-mostlyclean-target-gperf:
53388 @if target-gperf
53389 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
53391 mostlyclean-target-gperf:
53392 @: $(MAKE); $(unstage)
53393 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53394 r=`${PWD_COMMAND}`; export r; \
53395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53396 $(NORMAL_TARGET_EXPORTS) \
53397 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
53398 for flag in $(EXTRA_TARGET_FLAGS); do \
53399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53400 done; \
53401 (cd $(TARGET_SUBDIR)/gperf && \
53402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53404 "RANLIB=$${RANLIB}" \
53405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53406 mostlyclean) \
53407 || exit 1
53409 @endif target-gperf
53411 .PHONY: maybe-clean-target-gperf clean-target-gperf
53412 maybe-clean-target-gperf:
53413 @if target-gperf
53414 maybe-clean-target-gperf: clean-target-gperf
53416 clean-target-gperf:
53417 @: $(MAKE); $(unstage)
53418 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53419 r=`${PWD_COMMAND}`; export r; \
53420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53421 $(NORMAL_TARGET_EXPORTS) \
53422 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
53423 for flag in $(EXTRA_TARGET_FLAGS); do \
53424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53425 done; \
53426 (cd $(TARGET_SUBDIR)/gperf && \
53427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53429 "RANLIB=$${RANLIB}" \
53430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53431 clean) \
53432 || exit 1
53434 @endif target-gperf
53436 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
53437 maybe-distclean-target-gperf:
53438 @if target-gperf
53439 maybe-distclean-target-gperf: distclean-target-gperf
53441 distclean-target-gperf:
53442 @: $(MAKE); $(unstage)
53443 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53444 r=`${PWD_COMMAND}`; export r; \
53445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53446 $(NORMAL_TARGET_EXPORTS) \
53447 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
53448 for flag in $(EXTRA_TARGET_FLAGS); do \
53449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53450 done; \
53451 (cd $(TARGET_SUBDIR)/gperf && \
53452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53454 "RANLIB=$${RANLIB}" \
53455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53456 distclean) \
53457 || exit 1
53459 @endif target-gperf
53461 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
53462 maybe-maintainer-clean-target-gperf:
53463 @if target-gperf
53464 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
53466 maintainer-clean-target-gperf:
53467 @: $(MAKE); $(unstage)
53468 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53469 r=`${PWD_COMMAND}`; export r; \
53470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53471 $(NORMAL_TARGET_EXPORTS) \
53472 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
53473 for flag in $(EXTRA_TARGET_FLAGS); do \
53474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53475 done; \
53476 (cd $(TARGET_SUBDIR)/gperf && \
53477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53479 "RANLIB=$${RANLIB}" \
53480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53481 maintainer-clean) \
53482 || exit 1
53484 @endif target-gperf
53490 .PHONY: configure-target-examples maybe-configure-target-examples
53491 maybe-configure-target-examples:
53492 @if gcc-bootstrap
53493 configure-target-examples: stage_current
53494 @endif gcc-bootstrap
53495 @if target-examples
53496 maybe-configure-target-examples: configure-target-examples
53497 configure-target-examples:
53498 @: $(MAKE); $(unstage)
53499 @r=`${PWD_COMMAND}`; export r; \
53500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53501 echo "Checking multilib configuration for examples..."; \
53502 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
53503 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
53504 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
53505 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
53506 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
53507 else \
53508 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
53509 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
53510 fi; \
53511 else \
53512 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
53513 fi; \
53514 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
53515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
53516 $(NORMAL_TARGET_EXPORTS) \
53517 echo Configuring in $(TARGET_SUBDIR)/examples; \
53518 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
53519 case $(srcdir) in \
53520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53521 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
53522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53523 esac; \
53524 srcdiroption="--srcdir=$${topdir}/examples"; \
53525 libsrcdir="$$s/examples"; \
53526 rm -f no-such-file || : ; \
53527 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53528 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53529 --target=${target_alias} $${srcdiroption} \
53530 || exit 1
53531 @endif target-examples
53537 .PHONY: all-target-examples maybe-all-target-examples
53538 maybe-all-target-examples:
53539 @if gcc-bootstrap
53540 all-target-examples: stage_current
53541 @endif gcc-bootstrap
53542 @if target-examples
53543 TARGET-target-examples=all
53544 maybe-all-target-examples: all-target-examples
53545 all-target-examples: configure-target-examples
53546 @: $(MAKE); $(unstage)
53547 @r=`${PWD_COMMAND}`; export r; \
53548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53549 $(NORMAL_TARGET_EXPORTS) \
53550 (cd $(TARGET_SUBDIR)/examples && \
53551 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53552 $(TARGET-target-examples))
53553 @endif target-examples
53559 .PHONY: check-target-examples maybe-check-target-examples
53560 maybe-check-target-examples:
53561 @if target-examples
53562 maybe-check-target-examples: check-target-examples
53564 # Dummy target for uncheckable module.
53565 check-target-examples:
53567 @endif target-examples
53569 .PHONY: install-target-examples maybe-install-target-examples
53570 maybe-install-target-examples:
53571 @if target-examples
53572 maybe-install-target-examples: install-target-examples
53574 # Dummy target for uninstallable.
53575 install-target-examples:
53577 @endif target-examples
53579 .PHONY: install-strip-target-examples maybe-install-strip-target-examples
53580 maybe-install-strip-target-examples:
53581 @if target-examples
53582 maybe-install-strip-target-examples: install-strip-target-examples
53584 # Dummy target for uninstallable.
53585 install-strip-target-examples:
53587 @endif target-examples
53589 # Other targets (info, dvi, pdf, etc.)
53591 .PHONY: maybe-info-target-examples info-target-examples
53592 maybe-info-target-examples:
53593 @if target-examples
53594 maybe-info-target-examples: info-target-examples
53596 info-target-examples: \
53597 configure-target-examples
53598 @: $(MAKE); $(unstage)
53599 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53600 r=`${PWD_COMMAND}`; export r; \
53601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53602 $(NORMAL_TARGET_EXPORTS) \
53603 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
53604 for flag in $(EXTRA_TARGET_FLAGS); do \
53605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53606 done; \
53607 (cd $(TARGET_SUBDIR)/examples && \
53608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53610 "RANLIB=$${RANLIB}" \
53611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53612 info) \
53613 || exit 1
53615 @endif target-examples
53617 .PHONY: maybe-dvi-target-examples dvi-target-examples
53618 maybe-dvi-target-examples:
53619 @if target-examples
53620 maybe-dvi-target-examples: dvi-target-examples
53622 dvi-target-examples: \
53623 configure-target-examples
53624 @: $(MAKE); $(unstage)
53625 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53626 r=`${PWD_COMMAND}`; export r; \
53627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53628 $(NORMAL_TARGET_EXPORTS) \
53629 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
53630 for flag in $(EXTRA_TARGET_FLAGS); do \
53631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53632 done; \
53633 (cd $(TARGET_SUBDIR)/examples && \
53634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53636 "RANLIB=$${RANLIB}" \
53637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53638 dvi) \
53639 || exit 1
53641 @endif target-examples
53643 .PHONY: maybe-pdf-target-examples pdf-target-examples
53644 maybe-pdf-target-examples:
53645 @if target-examples
53646 maybe-pdf-target-examples: pdf-target-examples
53648 pdf-target-examples: \
53649 configure-target-examples
53650 @: $(MAKE); $(unstage)
53651 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53652 r=`${PWD_COMMAND}`; export r; \
53653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53654 $(NORMAL_TARGET_EXPORTS) \
53655 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
53656 for flag in $(EXTRA_TARGET_FLAGS); do \
53657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53658 done; \
53659 (cd $(TARGET_SUBDIR)/examples && \
53660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53662 "RANLIB=$${RANLIB}" \
53663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53664 pdf) \
53665 || exit 1
53667 @endif target-examples
53669 .PHONY: maybe-html-target-examples html-target-examples
53670 maybe-html-target-examples:
53671 @if target-examples
53672 maybe-html-target-examples: html-target-examples
53674 html-target-examples: \
53675 configure-target-examples
53676 @: $(MAKE); $(unstage)
53677 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53678 r=`${PWD_COMMAND}`; export r; \
53679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53680 $(NORMAL_TARGET_EXPORTS) \
53681 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
53682 for flag in $(EXTRA_TARGET_FLAGS); do \
53683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53684 done; \
53685 (cd $(TARGET_SUBDIR)/examples && \
53686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53688 "RANLIB=$${RANLIB}" \
53689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53690 html) \
53691 || exit 1
53693 @endif target-examples
53695 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
53696 maybe-TAGS-target-examples:
53697 @if target-examples
53698 maybe-TAGS-target-examples: TAGS-target-examples
53700 TAGS-target-examples: \
53701 configure-target-examples
53702 @: $(MAKE); $(unstage)
53703 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53704 r=`${PWD_COMMAND}`; export r; \
53705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53706 $(NORMAL_TARGET_EXPORTS) \
53707 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
53708 for flag in $(EXTRA_TARGET_FLAGS); do \
53709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53710 done; \
53711 (cd $(TARGET_SUBDIR)/examples && \
53712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53714 "RANLIB=$${RANLIB}" \
53715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53716 TAGS) \
53717 || exit 1
53719 @endif target-examples
53721 .PHONY: maybe-install-info-target-examples install-info-target-examples
53722 maybe-install-info-target-examples:
53723 @if target-examples
53724 maybe-install-info-target-examples: install-info-target-examples
53726 install-info-target-examples: \
53727 configure-target-examples \
53728 info-target-examples
53729 @: $(MAKE); $(unstage)
53730 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53731 r=`${PWD_COMMAND}`; export r; \
53732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53733 $(NORMAL_TARGET_EXPORTS) \
53734 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
53735 for flag in $(EXTRA_TARGET_FLAGS); do \
53736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53737 done; \
53738 (cd $(TARGET_SUBDIR)/examples && \
53739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53741 "RANLIB=$${RANLIB}" \
53742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53743 install-info) \
53744 || exit 1
53746 @endif target-examples
53748 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
53749 maybe-install-pdf-target-examples:
53750 @if target-examples
53751 maybe-install-pdf-target-examples: install-pdf-target-examples
53753 install-pdf-target-examples: \
53754 configure-target-examples \
53755 pdf-target-examples
53756 @: $(MAKE); $(unstage)
53757 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53758 r=`${PWD_COMMAND}`; export r; \
53759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53760 $(NORMAL_TARGET_EXPORTS) \
53761 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
53762 for flag in $(EXTRA_TARGET_FLAGS); do \
53763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53764 done; \
53765 (cd $(TARGET_SUBDIR)/examples && \
53766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53768 "RANLIB=$${RANLIB}" \
53769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53770 install-pdf) \
53771 || exit 1
53773 @endif target-examples
53775 .PHONY: maybe-install-html-target-examples install-html-target-examples
53776 maybe-install-html-target-examples:
53777 @if target-examples
53778 maybe-install-html-target-examples: install-html-target-examples
53780 install-html-target-examples: \
53781 configure-target-examples \
53782 html-target-examples
53783 @: $(MAKE); $(unstage)
53784 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53785 r=`${PWD_COMMAND}`; export r; \
53786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53787 $(NORMAL_TARGET_EXPORTS) \
53788 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
53789 for flag in $(EXTRA_TARGET_FLAGS); do \
53790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53791 done; \
53792 (cd $(TARGET_SUBDIR)/examples && \
53793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53795 "RANLIB=$${RANLIB}" \
53796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53797 install-html) \
53798 || exit 1
53800 @endif target-examples
53802 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
53803 maybe-installcheck-target-examples:
53804 @if target-examples
53805 maybe-installcheck-target-examples: installcheck-target-examples
53807 installcheck-target-examples: \
53808 configure-target-examples
53809 @: $(MAKE); $(unstage)
53810 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53811 r=`${PWD_COMMAND}`; export r; \
53812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53813 $(NORMAL_TARGET_EXPORTS) \
53814 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
53815 for flag in $(EXTRA_TARGET_FLAGS); do \
53816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53817 done; \
53818 (cd $(TARGET_SUBDIR)/examples && \
53819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53821 "RANLIB=$${RANLIB}" \
53822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53823 installcheck) \
53824 || exit 1
53826 @endif target-examples
53828 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
53829 maybe-mostlyclean-target-examples:
53830 @if target-examples
53831 maybe-mostlyclean-target-examples: mostlyclean-target-examples
53833 mostlyclean-target-examples:
53834 @: $(MAKE); $(unstage)
53835 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53836 r=`${PWD_COMMAND}`; export r; \
53837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53838 $(NORMAL_TARGET_EXPORTS) \
53839 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
53840 for flag in $(EXTRA_TARGET_FLAGS); do \
53841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53842 done; \
53843 (cd $(TARGET_SUBDIR)/examples && \
53844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53846 "RANLIB=$${RANLIB}" \
53847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53848 mostlyclean) \
53849 || exit 1
53851 @endif target-examples
53853 .PHONY: maybe-clean-target-examples clean-target-examples
53854 maybe-clean-target-examples:
53855 @if target-examples
53856 maybe-clean-target-examples: clean-target-examples
53858 clean-target-examples:
53859 @: $(MAKE); $(unstage)
53860 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53861 r=`${PWD_COMMAND}`; export r; \
53862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53863 $(NORMAL_TARGET_EXPORTS) \
53864 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
53865 for flag in $(EXTRA_TARGET_FLAGS); do \
53866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53867 done; \
53868 (cd $(TARGET_SUBDIR)/examples && \
53869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53871 "RANLIB=$${RANLIB}" \
53872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53873 clean) \
53874 || exit 1
53876 @endif target-examples
53878 .PHONY: maybe-distclean-target-examples distclean-target-examples
53879 maybe-distclean-target-examples:
53880 @if target-examples
53881 maybe-distclean-target-examples: distclean-target-examples
53883 distclean-target-examples:
53884 @: $(MAKE); $(unstage)
53885 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53886 r=`${PWD_COMMAND}`; export r; \
53887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53888 $(NORMAL_TARGET_EXPORTS) \
53889 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
53890 for flag in $(EXTRA_TARGET_FLAGS); do \
53891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53892 done; \
53893 (cd $(TARGET_SUBDIR)/examples && \
53894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53896 "RANLIB=$${RANLIB}" \
53897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53898 distclean) \
53899 || exit 1
53901 @endif target-examples
53903 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
53904 maybe-maintainer-clean-target-examples:
53905 @if target-examples
53906 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
53908 maintainer-clean-target-examples:
53909 @: $(MAKE); $(unstage)
53910 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53911 r=`${PWD_COMMAND}`; export r; \
53912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53913 $(NORMAL_TARGET_EXPORTS) \
53914 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
53915 for flag in $(EXTRA_TARGET_FLAGS); do \
53916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53917 done; \
53918 (cd $(TARGET_SUBDIR)/examples && \
53919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53921 "RANLIB=$${RANLIB}" \
53922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53923 maintainer-clean) \
53924 || exit 1
53926 @endif target-examples
53932 .PHONY: configure-target-libffi maybe-configure-target-libffi
53933 maybe-configure-target-libffi:
53934 @if gcc-bootstrap
53935 configure-target-libffi: stage_current
53936 @endif gcc-bootstrap
53937 @if target-libffi
53938 maybe-configure-target-libffi: configure-target-libffi
53939 configure-target-libffi:
53940 @: $(MAKE); $(unstage)
53941 @r=`${PWD_COMMAND}`; export r; \
53942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53943 echo "Checking multilib configuration for libffi..."; \
53944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
53945 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
53946 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
53947 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
53948 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
53949 else \
53950 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
53951 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
53952 fi; \
53953 else \
53954 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
53955 fi; \
53956 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
53957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
53958 $(NORMAL_TARGET_EXPORTS) \
53959 echo Configuring in $(TARGET_SUBDIR)/libffi; \
53960 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
53961 case $(srcdir) in \
53962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53963 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
53964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53965 esac; \
53966 srcdiroption="--srcdir=$${topdir}/libffi"; \
53967 libsrcdir="$$s/libffi"; \
53968 rm -f no-such-file || : ; \
53969 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53970 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53971 --target=${target_alias} $${srcdiroption} \
53972 || exit 1
53973 @endif target-libffi
53979 .PHONY: all-target-libffi maybe-all-target-libffi
53980 maybe-all-target-libffi:
53981 @if gcc-bootstrap
53982 all-target-libffi: stage_current
53983 @endif gcc-bootstrap
53984 @if target-libffi
53985 TARGET-target-libffi=all
53986 maybe-all-target-libffi: all-target-libffi
53987 all-target-libffi: configure-target-libffi
53988 @: $(MAKE); $(unstage)
53989 @r=`${PWD_COMMAND}`; export r; \
53990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53991 $(NORMAL_TARGET_EXPORTS) \
53992 (cd $(TARGET_SUBDIR)/libffi && \
53993 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53994 $(TARGET-target-libffi))
53995 @endif target-libffi
54001 .PHONY: check-target-libffi maybe-check-target-libffi
54002 maybe-check-target-libffi:
54003 @if target-libffi
54004 maybe-check-target-libffi: check-target-libffi
54006 check-target-libffi:
54007 @: $(MAKE); $(unstage)
54008 @r=`${PWD_COMMAND}`; export r; \
54009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54010 $(NORMAL_TARGET_EXPORTS) \
54011 (cd $(TARGET_SUBDIR)/libffi && \
54012 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54014 @endif target-libffi
54016 .PHONY: install-target-libffi maybe-install-target-libffi
54017 maybe-install-target-libffi:
54018 @if target-libffi
54019 maybe-install-target-libffi: install-target-libffi
54021 install-target-libffi: installdirs
54022 @: $(MAKE); $(unstage)
54023 @r=`${PWD_COMMAND}`; export r; \
54024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54025 $(NORMAL_TARGET_EXPORTS) \
54026 (cd $(TARGET_SUBDIR)/libffi && \
54027 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54029 @endif target-libffi
54031 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
54032 maybe-install-strip-target-libffi:
54033 @if target-libffi
54034 maybe-install-strip-target-libffi: install-strip-target-libffi
54036 install-strip-target-libffi: installdirs
54037 @: $(MAKE); $(unstage)
54038 @r=`${PWD_COMMAND}`; export r; \
54039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54040 $(NORMAL_TARGET_EXPORTS) \
54041 (cd $(TARGET_SUBDIR)/libffi && \
54042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54044 @endif target-libffi
54046 # Other targets (info, dvi, pdf, etc.)
54048 .PHONY: maybe-info-target-libffi info-target-libffi
54049 maybe-info-target-libffi:
54050 @if target-libffi
54051 maybe-info-target-libffi: info-target-libffi
54053 info-target-libffi: \
54054 configure-target-libffi
54055 @: $(MAKE); $(unstage)
54056 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54057 r=`${PWD_COMMAND}`; export r; \
54058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54059 $(NORMAL_TARGET_EXPORTS) \
54060 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
54061 for flag in $(EXTRA_TARGET_FLAGS); do \
54062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54063 done; \
54064 (cd $(TARGET_SUBDIR)/libffi && \
54065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54067 "RANLIB=$${RANLIB}" \
54068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54069 info) \
54070 || exit 1
54072 @endif target-libffi
54074 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
54075 maybe-dvi-target-libffi:
54076 @if target-libffi
54077 maybe-dvi-target-libffi: dvi-target-libffi
54079 dvi-target-libffi: \
54080 configure-target-libffi
54081 @: $(MAKE); $(unstage)
54082 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54083 r=`${PWD_COMMAND}`; export r; \
54084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54085 $(NORMAL_TARGET_EXPORTS) \
54086 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
54087 for flag in $(EXTRA_TARGET_FLAGS); do \
54088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54089 done; \
54090 (cd $(TARGET_SUBDIR)/libffi && \
54091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54093 "RANLIB=$${RANLIB}" \
54094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54095 dvi) \
54096 || exit 1
54098 @endif target-libffi
54100 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
54101 maybe-pdf-target-libffi:
54102 @if target-libffi
54103 maybe-pdf-target-libffi: pdf-target-libffi
54105 pdf-target-libffi: \
54106 configure-target-libffi
54107 @: $(MAKE); $(unstage)
54108 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54109 r=`${PWD_COMMAND}`; export r; \
54110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54111 $(NORMAL_TARGET_EXPORTS) \
54112 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
54113 for flag in $(EXTRA_TARGET_FLAGS); do \
54114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54115 done; \
54116 (cd $(TARGET_SUBDIR)/libffi && \
54117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54119 "RANLIB=$${RANLIB}" \
54120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54121 pdf) \
54122 || exit 1
54124 @endif target-libffi
54126 .PHONY: maybe-html-target-libffi html-target-libffi
54127 maybe-html-target-libffi:
54128 @if target-libffi
54129 maybe-html-target-libffi: html-target-libffi
54131 html-target-libffi: \
54132 configure-target-libffi
54133 @: $(MAKE); $(unstage)
54134 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54135 r=`${PWD_COMMAND}`; export r; \
54136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54137 $(NORMAL_TARGET_EXPORTS) \
54138 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
54139 for flag in $(EXTRA_TARGET_FLAGS); do \
54140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54141 done; \
54142 (cd $(TARGET_SUBDIR)/libffi && \
54143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54145 "RANLIB=$${RANLIB}" \
54146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54147 html) \
54148 || exit 1
54150 @endif target-libffi
54152 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
54153 maybe-TAGS-target-libffi:
54154 @if target-libffi
54155 maybe-TAGS-target-libffi: TAGS-target-libffi
54157 TAGS-target-libffi: \
54158 configure-target-libffi
54159 @: $(MAKE); $(unstage)
54160 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54161 r=`${PWD_COMMAND}`; export r; \
54162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54163 $(NORMAL_TARGET_EXPORTS) \
54164 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
54165 for flag in $(EXTRA_TARGET_FLAGS); do \
54166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54167 done; \
54168 (cd $(TARGET_SUBDIR)/libffi && \
54169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54171 "RANLIB=$${RANLIB}" \
54172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54173 TAGS) \
54174 || exit 1
54176 @endif target-libffi
54178 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
54179 maybe-install-info-target-libffi:
54180 @if target-libffi
54181 maybe-install-info-target-libffi: install-info-target-libffi
54183 install-info-target-libffi: \
54184 configure-target-libffi \
54185 info-target-libffi
54186 @: $(MAKE); $(unstage)
54187 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54188 r=`${PWD_COMMAND}`; export r; \
54189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54190 $(NORMAL_TARGET_EXPORTS) \
54191 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
54192 for flag in $(EXTRA_TARGET_FLAGS); do \
54193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54194 done; \
54195 (cd $(TARGET_SUBDIR)/libffi && \
54196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54198 "RANLIB=$${RANLIB}" \
54199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54200 install-info) \
54201 || exit 1
54203 @endif target-libffi
54205 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
54206 maybe-install-pdf-target-libffi:
54207 @if target-libffi
54208 maybe-install-pdf-target-libffi: install-pdf-target-libffi
54210 install-pdf-target-libffi: \
54211 configure-target-libffi \
54212 pdf-target-libffi
54213 @: $(MAKE); $(unstage)
54214 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54215 r=`${PWD_COMMAND}`; export r; \
54216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54217 $(NORMAL_TARGET_EXPORTS) \
54218 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
54219 for flag in $(EXTRA_TARGET_FLAGS); do \
54220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54221 done; \
54222 (cd $(TARGET_SUBDIR)/libffi && \
54223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54225 "RANLIB=$${RANLIB}" \
54226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54227 install-pdf) \
54228 || exit 1
54230 @endif target-libffi
54232 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
54233 maybe-install-html-target-libffi:
54234 @if target-libffi
54235 maybe-install-html-target-libffi: install-html-target-libffi
54237 install-html-target-libffi: \
54238 configure-target-libffi \
54239 html-target-libffi
54240 @: $(MAKE); $(unstage)
54241 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54242 r=`${PWD_COMMAND}`; export r; \
54243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54244 $(NORMAL_TARGET_EXPORTS) \
54245 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
54246 for flag in $(EXTRA_TARGET_FLAGS); do \
54247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54248 done; \
54249 (cd $(TARGET_SUBDIR)/libffi && \
54250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54252 "RANLIB=$${RANLIB}" \
54253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54254 install-html) \
54255 || exit 1
54257 @endif target-libffi
54259 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
54260 maybe-installcheck-target-libffi:
54261 @if target-libffi
54262 maybe-installcheck-target-libffi: installcheck-target-libffi
54264 installcheck-target-libffi: \
54265 configure-target-libffi
54266 @: $(MAKE); $(unstage)
54267 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54268 r=`${PWD_COMMAND}`; export r; \
54269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54270 $(NORMAL_TARGET_EXPORTS) \
54271 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
54272 for flag in $(EXTRA_TARGET_FLAGS); do \
54273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54274 done; \
54275 (cd $(TARGET_SUBDIR)/libffi && \
54276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54278 "RANLIB=$${RANLIB}" \
54279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54280 installcheck) \
54281 || exit 1
54283 @endif target-libffi
54285 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
54286 maybe-mostlyclean-target-libffi:
54287 @if target-libffi
54288 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
54290 mostlyclean-target-libffi:
54291 @: $(MAKE); $(unstage)
54292 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54293 r=`${PWD_COMMAND}`; export r; \
54294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54295 $(NORMAL_TARGET_EXPORTS) \
54296 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
54297 for flag in $(EXTRA_TARGET_FLAGS); do \
54298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54299 done; \
54300 (cd $(TARGET_SUBDIR)/libffi && \
54301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54303 "RANLIB=$${RANLIB}" \
54304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54305 mostlyclean) \
54306 || exit 1
54308 @endif target-libffi
54310 .PHONY: maybe-clean-target-libffi clean-target-libffi
54311 maybe-clean-target-libffi:
54312 @if target-libffi
54313 maybe-clean-target-libffi: clean-target-libffi
54315 clean-target-libffi:
54316 @: $(MAKE); $(unstage)
54317 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54318 r=`${PWD_COMMAND}`; export r; \
54319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54320 $(NORMAL_TARGET_EXPORTS) \
54321 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
54322 for flag in $(EXTRA_TARGET_FLAGS); do \
54323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54324 done; \
54325 (cd $(TARGET_SUBDIR)/libffi && \
54326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54328 "RANLIB=$${RANLIB}" \
54329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54330 clean) \
54331 || exit 1
54333 @endif target-libffi
54335 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
54336 maybe-distclean-target-libffi:
54337 @if target-libffi
54338 maybe-distclean-target-libffi: distclean-target-libffi
54340 distclean-target-libffi:
54341 @: $(MAKE); $(unstage)
54342 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54343 r=`${PWD_COMMAND}`; export r; \
54344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54345 $(NORMAL_TARGET_EXPORTS) \
54346 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
54347 for flag in $(EXTRA_TARGET_FLAGS); do \
54348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54349 done; \
54350 (cd $(TARGET_SUBDIR)/libffi && \
54351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54353 "RANLIB=$${RANLIB}" \
54354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54355 distclean) \
54356 || exit 1
54358 @endif target-libffi
54360 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
54361 maybe-maintainer-clean-target-libffi:
54362 @if target-libffi
54363 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
54365 maintainer-clean-target-libffi:
54366 @: $(MAKE); $(unstage)
54367 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54368 r=`${PWD_COMMAND}`; export r; \
54369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54370 $(NORMAL_TARGET_EXPORTS) \
54371 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
54372 for flag in $(EXTRA_TARGET_FLAGS); do \
54373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54374 done; \
54375 (cd $(TARGET_SUBDIR)/libffi && \
54376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54378 "RANLIB=$${RANLIB}" \
54379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54380 maintainer-clean) \
54381 || exit 1
54383 @endif target-libffi
54389 .PHONY: configure-target-libjava maybe-configure-target-libjava
54390 maybe-configure-target-libjava:
54391 @if gcc-bootstrap
54392 configure-target-libjava: stage_current
54393 @endif gcc-bootstrap
54394 @if target-libjava
54395 maybe-configure-target-libjava: configure-target-libjava
54396 configure-target-libjava:
54397 @: $(MAKE); $(unstage)
54398 @r=`${PWD_COMMAND}`; export r; \
54399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54400 echo "Checking multilib configuration for libjava..."; \
54401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
54402 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
54403 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
54404 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
54405 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
54406 else \
54407 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
54408 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
54409 fi; \
54410 else \
54411 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
54412 fi; \
54413 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
54414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
54415 $(RAW_CXX_TARGET_EXPORTS) \
54416 echo Configuring in $(TARGET_SUBDIR)/libjava; \
54417 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
54418 case $(srcdir) in \
54419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54420 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
54421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54422 esac; \
54423 srcdiroption="--srcdir=$${topdir}/libjava"; \
54424 libsrcdir="$$s/libjava"; \
54425 rm -f no-such-file || : ; \
54426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54428 --target=${target_alias} $${srcdiroption} \
54429 || exit 1
54430 @endif target-libjava
54436 .PHONY: all-target-libjava maybe-all-target-libjava
54437 maybe-all-target-libjava:
54438 @if gcc-bootstrap
54439 all-target-libjava: stage_current
54440 @endif gcc-bootstrap
54441 @if target-libjava
54442 TARGET-target-libjava=all
54443 maybe-all-target-libjava: all-target-libjava
54444 all-target-libjava: configure-target-libjava
54445 @: $(MAKE); $(unstage)
54446 @r=`${PWD_COMMAND}`; export r; \
54447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54448 $(RAW_CXX_TARGET_EXPORTS) \
54449 (cd $(TARGET_SUBDIR)/libjava && \
54450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
54451 $(TARGET-target-libjava))
54452 @endif target-libjava
54458 .PHONY: check-target-libjava maybe-check-target-libjava
54459 maybe-check-target-libjava:
54460 @if target-libjava
54461 maybe-check-target-libjava: check-target-libjava
54463 check-target-libjava:
54464 @: $(MAKE); $(unstage)
54465 @r=`${PWD_COMMAND}`; export r; \
54466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54467 $(RAW_CXX_TARGET_EXPORTS) \
54468 (cd $(TARGET_SUBDIR)/libjava && \
54469 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
54471 @endif target-libjava
54473 .PHONY: install-target-libjava maybe-install-target-libjava
54474 maybe-install-target-libjava:
54475 @if target-libjava
54476 maybe-install-target-libjava: install-target-libjava
54478 install-target-libjava: installdirs
54479 @: $(MAKE); $(unstage)
54480 @r=`${PWD_COMMAND}`; export r; \
54481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54482 $(RAW_CXX_TARGET_EXPORTS) \
54483 (cd $(TARGET_SUBDIR)/libjava && \
54484 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54486 @endif target-libjava
54488 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
54489 maybe-install-strip-target-libjava:
54490 @if target-libjava
54491 maybe-install-strip-target-libjava: install-strip-target-libjava
54493 install-strip-target-libjava: installdirs
54494 @: $(MAKE); $(unstage)
54495 @r=`${PWD_COMMAND}`; export r; \
54496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54497 $(RAW_CXX_TARGET_EXPORTS) \
54498 (cd $(TARGET_SUBDIR)/libjava && \
54499 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54501 @endif target-libjava
54503 # Other targets (info, dvi, pdf, etc.)
54505 .PHONY: maybe-info-target-libjava info-target-libjava
54506 maybe-info-target-libjava:
54507 @if target-libjava
54508 maybe-info-target-libjava: info-target-libjava
54510 info-target-libjava: \
54511 configure-target-libjava
54512 @: $(MAKE); $(unstage)
54513 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54514 r=`${PWD_COMMAND}`; export r; \
54515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54516 $(RAW_CXX_TARGET_EXPORTS) \
54517 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
54518 for flag in $(EXTRA_TARGET_FLAGS); do \
54519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54520 done; \
54521 (cd $(TARGET_SUBDIR)/libjava && \
54522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54524 "RANLIB=$${RANLIB}" \
54525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54526 info) \
54527 || exit 1
54529 @endif target-libjava
54531 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
54532 maybe-dvi-target-libjava:
54533 @if target-libjava
54534 maybe-dvi-target-libjava: dvi-target-libjava
54536 dvi-target-libjava: \
54537 configure-target-libjava
54538 @: $(MAKE); $(unstage)
54539 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54540 r=`${PWD_COMMAND}`; export r; \
54541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54542 $(RAW_CXX_TARGET_EXPORTS) \
54543 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
54544 for flag in $(EXTRA_TARGET_FLAGS); do \
54545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54546 done; \
54547 (cd $(TARGET_SUBDIR)/libjava && \
54548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54550 "RANLIB=$${RANLIB}" \
54551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54552 dvi) \
54553 || exit 1
54555 @endif target-libjava
54557 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
54558 maybe-pdf-target-libjava:
54559 @if target-libjava
54560 maybe-pdf-target-libjava: pdf-target-libjava
54562 pdf-target-libjava: \
54563 configure-target-libjava
54564 @: $(MAKE); $(unstage)
54565 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54566 r=`${PWD_COMMAND}`; export r; \
54567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54568 $(RAW_CXX_TARGET_EXPORTS) \
54569 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
54570 for flag in $(EXTRA_TARGET_FLAGS); do \
54571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54572 done; \
54573 (cd $(TARGET_SUBDIR)/libjava && \
54574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54576 "RANLIB=$${RANLIB}" \
54577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54578 pdf) \
54579 || exit 1
54581 @endif target-libjava
54583 .PHONY: maybe-html-target-libjava html-target-libjava
54584 maybe-html-target-libjava:
54585 @if target-libjava
54586 maybe-html-target-libjava: html-target-libjava
54588 html-target-libjava: \
54589 configure-target-libjava
54590 @: $(MAKE); $(unstage)
54591 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54592 r=`${PWD_COMMAND}`; export r; \
54593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54594 $(RAW_CXX_TARGET_EXPORTS) \
54595 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
54596 for flag in $(EXTRA_TARGET_FLAGS); do \
54597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54598 done; \
54599 (cd $(TARGET_SUBDIR)/libjava && \
54600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54602 "RANLIB=$${RANLIB}" \
54603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54604 html) \
54605 || exit 1
54607 @endif target-libjava
54609 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
54610 maybe-TAGS-target-libjava:
54611 @if target-libjava
54612 maybe-TAGS-target-libjava: TAGS-target-libjava
54614 TAGS-target-libjava: \
54615 configure-target-libjava
54616 @: $(MAKE); $(unstage)
54617 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54618 r=`${PWD_COMMAND}`; export r; \
54619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54620 $(RAW_CXX_TARGET_EXPORTS) \
54621 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
54622 for flag in $(EXTRA_TARGET_FLAGS); do \
54623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54624 done; \
54625 (cd $(TARGET_SUBDIR)/libjava && \
54626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54628 "RANLIB=$${RANLIB}" \
54629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54630 TAGS) \
54631 || exit 1
54633 @endif target-libjava
54635 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
54636 maybe-install-info-target-libjava:
54637 @if target-libjava
54638 maybe-install-info-target-libjava: install-info-target-libjava
54640 install-info-target-libjava: \
54641 configure-target-libjava \
54642 info-target-libjava
54643 @: $(MAKE); $(unstage)
54644 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54645 r=`${PWD_COMMAND}`; export r; \
54646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54647 $(RAW_CXX_TARGET_EXPORTS) \
54648 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
54649 for flag in $(EXTRA_TARGET_FLAGS); do \
54650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54651 done; \
54652 (cd $(TARGET_SUBDIR)/libjava && \
54653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54655 "RANLIB=$${RANLIB}" \
54656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54657 install-info) \
54658 || exit 1
54660 @endif target-libjava
54662 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
54663 maybe-install-pdf-target-libjava:
54664 @if target-libjava
54665 maybe-install-pdf-target-libjava: install-pdf-target-libjava
54667 install-pdf-target-libjava: \
54668 configure-target-libjava \
54669 pdf-target-libjava
54670 @: $(MAKE); $(unstage)
54671 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54672 r=`${PWD_COMMAND}`; export r; \
54673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54674 $(RAW_CXX_TARGET_EXPORTS) \
54675 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
54676 for flag in $(EXTRA_TARGET_FLAGS); do \
54677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54678 done; \
54679 (cd $(TARGET_SUBDIR)/libjava && \
54680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54682 "RANLIB=$${RANLIB}" \
54683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54684 install-pdf) \
54685 || exit 1
54687 @endif target-libjava
54689 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
54690 maybe-install-html-target-libjava:
54691 @if target-libjava
54692 maybe-install-html-target-libjava: install-html-target-libjava
54694 install-html-target-libjava: \
54695 configure-target-libjava \
54696 html-target-libjava
54697 @: $(MAKE); $(unstage)
54698 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54699 r=`${PWD_COMMAND}`; export r; \
54700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54701 $(RAW_CXX_TARGET_EXPORTS) \
54702 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
54703 for flag in $(EXTRA_TARGET_FLAGS); do \
54704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54705 done; \
54706 (cd $(TARGET_SUBDIR)/libjava && \
54707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54709 "RANLIB=$${RANLIB}" \
54710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54711 install-html) \
54712 || exit 1
54714 @endif target-libjava
54716 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
54717 maybe-installcheck-target-libjava:
54718 @if target-libjava
54719 maybe-installcheck-target-libjava: installcheck-target-libjava
54721 installcheck-target-libjava: \
54722 configure-target-libjava
54723 @: $(MAKE); $(unstage)
54724 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54725 r=`${PWD_COMMAND}`; export r; \
54726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54727 $(RAW_CXX_TARGET_EXPORTS) \
54728 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
54729 for flag in $(EXTRA_TARGET_FLAGS); do \
54730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54731 done; \
54732 (cd $(TARGET_SUBDIR)/libjava && \
54733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54735 "RANLIB=$${RANLIB}" \
54736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54737 installcheck) \
54738 || exit 1
54740 @endif target-libjava
54742 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
54743 maybe-mostlyclean-target-libjava:
54744 @if target-libjava
54745 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
54747 mostlyclean-target-libjava:
54748 @: $(MAKE); $(unstage)
54749 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54750 r=`${PWD_COMMAND}`; export r; \
54751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54752 $(RAW_CXX_TARGET_EXPORTS) \
54753 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
54754 for flag in $(EXTRA_TARGET_FLAGS); do \
54755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54756 done; \
54757 (cd $(TARGET_SUBDIR)/libjava && \
54758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54760 "RANLIB=$${RANLIB}" \
54761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54762 mostlyclean) \
54763 || exit 1
54765 @endif target-libjava
54767 .PHONY: maybe-clean-target-libjava clean-target-libjava
54768 maybe-clean-target-libjava:
54769 @if target-libjava
54770 maybe-clean-target-libjava: clean-target-libjava
54772 clean-target-libjava:
54773 @: $(MAKE); $(unstage)
54774 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54775 r=`${PWD_COMMAND}`; export r; \
54776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54777 $(RAW_CXX_TARGET_EXPORTS) \
54778 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
54779 for flag in $(EXTRA_TARGET_FLAGS); do \
54780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54781 done; \
54782 (cd $(TARGET_SUBDIR)/libjava && \
54783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54785 "RANLIB=$${RANLIB}" \
54786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54787 clean) \
54788 || exit 1
54790 @endif target-libjava
54792 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
54793 maybe-distclean-target-libjava:
54794 @if target-libjava
54795 maybe-distclean-target-libjava: distclean-target-libjava
54797 distclean-target-libjava:
54798 @: $(MAKE); $(unstage)
54799 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54800 r=`${PWD_COMMAND}`; export r; \
54801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54802 $(RAW_CXX_TARGET_EXPORTS) \
54803 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
54804 for flag in $(EXTRA_TARGET_FLAGS); do \
54805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54806 done; \
54807 (cd $(TARGET_SUBDIR)/libjava && \
54808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54810 "RANLIB=$${RANLIB}" \
54811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54812 distclean) \
54813 || exit 1
54815 @endif target-libjava
54817 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
54818 maybe-maintainer-clean-target-libjava:
54819 @if target-libjava
54820 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
54822 maintainer-clean-target-libjava:
54823 @: $(MAKE); $(unstage)
54824 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54825 r=`${PWD_COMMAND}`; export r; \
54826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54827 $(RAW_CXX_TARGET_EXPORTS) \
54828 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
54829 for flag in $(EXTRA_TARGET_FLAGS); do \
54830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54831 done; \
54832 (cd $(TARGET_SUBDIR)/libjava && \
54833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54835 "RANLIB=$${RANLIB}" \
54836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54837 maintainer-clean) \
54838 || exit 1
54840 @endif target-libjava
54846 .PHONY: configure-target-zlib maybe-configure-target-zlib
54847 maybe-configure-target-zlib:
54848 @if gcc-bootstrap
54849 configure-target-zlib: stage_current
54850 @endif gcc-bootstrap
54851 @if target-zlib
54852 maybe-configure-target-zlib: configure-target-zlib
54853 configure-target-zlib:
54854 @: $(MAKE); $(unstage)
54855 @r=`${PWD_COMMAND}`; export r; \
54856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54857 echo "Checking multilib configuration for zlib..."; \
54858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
54859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
54860 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
54861 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
54862 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
54863 else \
54864 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
54865 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
54866 fi; \
54867 else \
54868 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
54869 fi; \
54870 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
54871 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
54872 $(NORMAL_TARGET_EXPORTS) \
54873 echo Configuring in $(TARGET_SUBDIR)/zlib; \
54874 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
54875 case $(srcdir) in \
54876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54877 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
54878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54879 esac; \
54880 srcdiroption="--srcdir=$${topdir}/zlib"; \
54881 libsrcdir="$$s/zlib"; \
54882 rm -f no-such-file || : ; \
54883 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54884 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54885 --target=${target_alias} $${srcdiroption} \
54886 || exit 1
54887 @endif target-zlib
54893 .PHONY: all-target-zlib maybe-all-target-zlib
54894 maybe-all-target-zlib:
54895 @if gcc-bootstrap
54896 all-target-zlib: stage_current
54897 @endif gcc-bootstrap
54898 @if target-zlib
54899 TARGET-target-zlib=all
54900 maybe-all-target-zlib: all-target-zlib
54901 all-target-zlib: configure-target-zlib
54902 @: $(MAKE); $(unstage)
54903 @r=`${PWD_COMMAND}`; export r; \
54904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54905 $(NORMAL_TARGET_EXPORTS) \
54906 (cd $(TARGET_SUBDIR)/zlib && \
54907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54908 $(TARGET-target-zlib))
54909 @endif target-zlib
54915 .PHONY: check-target-zlib maybe-check-target-zlib
54916 maybe-check-target-zlib:
54917 @if target-zlib
54918 maybe-check-target-zlib: check-target-zlib
54920 check-target-zlib:
54921 @: $(MAKE); $(unstage)
54922 @r=`${PWD_COMMAND}`; export r; \
54923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54924 $(NORMAL_TARGET_EXPORTS) \
54925 (cd $(TARGET_SUBDIR)/zlib && \
54926 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54928 @endif target-zlib
54930 .PHONY: install-target-zlib maybe-install-target-zlib
54931 maybe-install-target-zlib:
54932 @if target-zlib
54933 maybe-install-target-zlib: install-target-zlib
54935 install-target-zlib: installdirs
54936 @: $(MAKE); $(unstage)
54937 @r=`${PWD_COMMAND}`; export r; \
54938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54939 $(NORMAL_TARGET_EXPORTS) \
54940 (cd $(TARGET_SUBDIR)/zlib && \
54941 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54943 @endif target-zlib
54945 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
54946 maybe-install-strip-target-zlib:
54947 @if target-zlib
54948 maybe-install-strip-target-zlib: install-strip-target-zlib
54950 install-strip-target-zlib: installdirs
54951 @: $(MAKE); $(unstage)
54952 @r=`${PWD_COMMAND}`; export r; \
54953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54954 $(NORMAL_TARGET_EXPORTS) \
54955 (cd $(TARGET_SUBDIR)/zlib && \
54956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54958 @endif target-zlib
54960 # Other targets (info, dvi, pdf, etc.)
54962 .PHONY: maybe-info-target-zlib info-target-zlib
54963 maybe-info-target-zlib:
54964 @if target-zlib
54965 maybe-info-target-zlib: info-target-zlib
54967 info-target-zlib: \
54968 configure-target-zlib
54969 @: $(MAKE); $(unstage)
54970 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
54971 r=`${PWD_COMMAND}`; export r; \
54972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54973 $(NORMAL_TARGET_EXPORTS) \
54974 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
54975 for flag in $(EXTRA_TARGET_FLAGS); do \
54976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54977 done; \
54978 (cd $(TARGET_SUBDIR)/zlib && \
54979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54981 "RANLIB=$${RANLIB}" \
54982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54983 info) \
54984 || exit 1
54986 @endif target-zlib
54988 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
54989 maybe-dvi-target-zlib:
54990 @if target-zlib
54991 maybe-dvi-target-zlib: dvi-target-zlib
54993 dvi-target-zlib: \
54994 configure-target-zlib
54995 @: $(MAKE); $(unstage)
54996 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
54997 r=`${PWD_COMMAND}`; export r; \
54998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54999 $(NORMAL_TARGET_EXPORTS) \
55000 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
55001 for flag in $(EXTRA_TARGET_FLAGS); do \
55002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55003 done; \
55004 (cd $(TARGET_SUBDIR)/zlib && \
55005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55007 "RANLIB=$${RANLIB}" \
55008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55009 dvi) \
55010 || exit 1
55012 @endif target-zlib
55014 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
55015 maybe-pdf-target-zlib:
55016 @if target-zlib
55017 maybe-pdf-target-zlib: pdf-target-zlib
55019 pdf-target-zlib: \
55020 configure-target-zlib
55021 @: $(MAKE); $(unstage)
55022 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55023 r=`${PWD_COMMAND}`; export r; \
55024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55025 $(NORMAL_TARGET_EXPORTS) \
55026 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
55027 for flag in $(EXTRA_TARGET_FLAGS); do \
55028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55029 done; \
55030 (cd $(TARGET_SUBDIR)/zlib && \
55031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55033 "RANLIB=$${RANLIB}" \
55034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55035 pdf) \
55036 || exit 1
55038 @endif target-zlib
55040 .PHONY: maybe-html-target-zlib html-target-zlib
55041 maybe-html-target-zlib:
55042 @if target-zlib
55043 maybe-html-target-zlib: html-target-zlib
55045 html-target-zlib: \
55046 configure-target-zlib
55047 @: $(MAKE); $(unstage)
55048 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55049 r=`${PWD_COMMAND}`; export r; \
55050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55051 $(NORMAL_TARGET_EXPORTS) \
55052 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
55053 for flag in $(EXTRA_TARGET_FLAGS); do \
55054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55055 done; \
55056 (cd $(TARGET_SUBDIR)/zlib && \
55057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55059 "RANLIB=$${RANLIB}" \
55060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55061 html) \
55062 || exit 1
55064 @endif target-zlib
55066 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
55067 maybe-TAGS-target-zlib:
55068 @if target-zlib
55069 maybe-TAGS-target-zlib: TAGS-target-zlib
55071 TAGS-target-zlib: \
55072 configure-target-zlib
55073 @: $(MAKE); $(unstage)
55074 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55075 r=`${PWD_COMMAND}`; export r; \
55076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55077 $(NORMAL_TARGET_EXPORTS) \
55078 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
55079 for flag in $(EXTRA_TARGET_FLAGS); do \
55080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55081 done; \
55082 (cd $(TARGET_SUBDIR)/zlib && \
55083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55085 "RANLIB=$${RANLIB}" \
55086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55087 TAGS) \
55088 || exit 1
55090 @endif target-zlib
55092 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
55093 maybe-install-info-target-zlib:
55094 @if target-zlib
55095 maybe-install-info-target-zlib: install-info-target-zlib
55097 install-info-target-zlib: \
55098 configure-target-zlib \
55099 info-target-zlib
55100 @: $(MAKE); $(unstage)
55101 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55102 r=`${PWD_COMMAND}`; export r; \
55103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55104 $(NORMAL_TARGET_EXPORTS) \
55105 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
55106 for flag in $(EXTRA_TARGET_FLAGS); do \
55107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55108 done; \
55109 (cd $(TARGET_SUBDIR)/zlib && \
55110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55112 "RANLIB=$${RANLIB}" \
55113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55114 install-info) \
55115 || exit 1
55117 @endif target-zlib
55119 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
55120 maybe-install-pdf-target-zlib:
55121 @if target-zlib
55122 maybe-install-pdf-target-zlib: install-pdf-target-zlib
55124 install-pdf-target-zlib: \
55125 configure-target-zlib \
55126 pdf-target-zlib
55127 @: $(MAKE); $(unstage)
55128 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55129 r=`${PWD_COMMAND}`; export r; \
55130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55131 $(NORMAL_TARGET_EXPORTS) \
55132 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
55133 for flag in $(EXTRA_TARGET_FLAGS); do \
55134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55135 done; \
55136 (cd $(TARGET_SUBDIR)/zlib && \
55137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55139 "RANLIB=$${RANLIB}" \
55140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55141 install-pdf) \
55142 || exit 1
55144 @endif target-zlib
55146 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
55147 maybe-install-html-target-zlib:
55148 @if target-zlib
55149 maybe-install-html-target-zlib: install-html-target-zlib
55151 install-html-target-zlib: \
55152 configure-target-zlib \
55153 html-target-zlib
55154 @: $(MAKE); $(unstage)
55155 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55156 r=`${PWD_COMMAND}`; export r; \
55157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55158 $(NORMAL_TARGET_EXPORTS) \
55159 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
55160 for flag in $(EXTRA_TARGET_FLAGS); do \
55161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55162 done; \
55163 (cd $(TARGET_SUBDIR)/zlib && \
55164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55166 "RANLIB=$${RANLIB}" \
55167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55168 install-html) \
55169 || exit 1
55171 @endif target-zlib
55173 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
55174 maybe-installcheck-target-zlib:
55175 @if target-zlib
55176 maybe-installcheck-target-zlib: installcheck-target-zlib
55178 installcheck-target-zlib: \
55179 configure-target-zlib
55180 @: $(MAKE); $(unstage)
55181 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55182 r=`${PWD_COMMAND}`; export r; \
55183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55184 $(NORMAL_TARGET_EXPORTS) \
55185 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
55186 for flag in $(EXTRA_TARGET_FLAGS); do \
55187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55188 done; \
55189 (cd $(TARGET_SUBDIR)/zlib && \
55190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55192 "RANLIB=$${RANLIB}" \
55193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55194 installcheck) \
55195 || exit 1
55197 @endif target-zlib
55199 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
55200 maybe-mostlyclean-target-zlib:
55201 @if target-zlib
55202 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
55204 mostlyclean-target-zlib:
55205 @: $(MAKE); $(unstage)
55206 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55207 r=`${PWD_COMMAND}`; export r; \
55208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55209 $(NORMAL_TARGET_EXPORTS) \
55210 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
55211 for flag in $(EXTRA_TARGET_FLAGS); do \
55212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55213 done; \
55214 (cd $(TARGET_SUBDIR)/zlib && \
55215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55217 "RANLIB=$${RANLIB}" \
55218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55219 mostlyclean) \
55220 || exit 1
55222 @endif target-zlib
55224 .PHONY: maybe-clean-target-zlib clean-target-zlib
55225 maybe-clean-target-zlib:
55226 @if target-zlib
55227 maybe-clean-target-zlib: clean-target-zlib
55229 clean-target-zlib:
55230 @: $(MAKE); $(unstage)
55231 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55232 r=`${PWD_COMMAND}`; export r; \
55233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55234 $(NORMAL_TARGET_EXPORTS) \
55235 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
55236 for flag in $(EXTRA_TARGET_FLAGS); do \
55237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55238 done; \
55239 (cd $(TARGET_SUBDIR)/zlib && \
55240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55242 "RANLIB=$${RANLIB}" \
55243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55244 clean) \
55245 || exit 1
55247 @endif target-zlib
55249 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
55250 maybe-distclean-target-zlib:
55251 @if target-zlib
55252 maybe-distclean-target-zlib: distclean-target-zlib
55254 distclean-target-zlib:
55255 @: $(MAKE); $(unstage)
55256 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55257 r=`${PWD_COMMAND}`; export r; \
55258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55259 $(NORMAL_TARGET_EXPORTS) \
55260 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
55261 for flag in $(EXTRA_TARGET_FLAGS); do \
55262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55263 done; \
55264 (cd $(TARGET_SUBDIR)/zlib && \
55265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55267 "RANLIB=$${RANLIB}" \
55268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55269 distclean) \
55270 || exit 1
55272 @endif target-zlib
55274 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
55275 maybe-maintainer-clean-target-zlib:
55276 @if target-zlib
55277 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
55279 maintainer-clean-target-zlib:
55280 @: $(MAKE); $(unstage)
55281 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55282 r=`${PWD_COMMAND}`; export r; \
55283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55284 $(NORMAL_TARGET_EXPORTS) \
55285 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
55286 for flag in $(EXTRA_TARGET_FLAGS); do \
55287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55288 done; \
55289 (cd $(TARGET_SUBDIR)/zlib && \
55290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55292 "RANLIB=$${RANLIB}" \
55293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55294 maintainer-clean) \
55295 || exit 1
55297 @endif target-zlib
55303 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
55304 maybe-configure-target-boehm-gc:
55305 @if gcc-bootstrap
55306 configure-target-boehm-gc: stage_current
55307 @endif gcc-bootstrap
55308 @if target-boehm-gc
55309 maybe-configure-target-boehm-gc: configure-target-boehm-gc
55310 configure-target-boehm-gc:
55311 @: $(MAKE); $(unstage)
55312 @r=`${PWD_COMMAND}`; export r; \
55313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55314 echo "Checking multilib configuration for boehm-gc..."; \
55315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
55316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
55317 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
55318 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
55319 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
55320 else \
55321 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
55322 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
55323 fi; \
55324 else \
55325 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
55326 fi; \
55327 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
55328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
55329 $(NORMAL_TARGET_EXPORTS) \
55330 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
55331 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
55332 case $(srcdir) in \
55333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55334 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
55335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55336 esac; \
55337 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
55338 libsrcdir="$$s/boehm-gc"; \
55339 rm -f no-such-file || : ; \
55340 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
55341 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55342 --target=${target_alias} $${srcdiroption} \
55343 || exit 1
55344 @endif target-boehm-gc
55350 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
55351 maybe-all-target-boehm-gc:
55352 @if gcc-bootstrap
55353 all-target-boehm-gc: stage_current
55354 @endif gcc-bootstrap
55355 @if target-boehm-gc
55356 TARGET-target-boehm-gc=all
55357 maybe-all-target-boehm-gc: all-target-boehm-gc
55358 all-target-boehm-gc: configure-target-boehm-gc
55359 @: $(MAKE); $(unstage)
55360 @r=`${PWD_COMMAND}`; export r; \
55361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55362 $(NORMAL_TARGET_EXPORTS) \
55363 (cd $(TARGET_SUBDIR)/boehm-gc && \
55364 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55365 $(TARGET-target-boehm-gc))
55366 @endif target-boehm-gc
55372 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
55373 maybe-check-target-boehm-gc:
55374 @if target-boehm-gc
55375 maybe-check-target-boehm-gc: check-target-boehm-gc
55377 check-target-boehm-gc:
55378 @: $(MAKE); $(unstage)
55379 @r=`${PWD_COMMAND}`; export r; \
55380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55381 $(NORMAL_TARGET_EXPORTS) \
55382 (cd $(TARGET_SUBDIR)/boehm-gc && \
55383 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55385 @endif target-boehm-gc
55387 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
55388 maybe-install-target-boehm-gc:
55389 @if target-boehm-gc
55390 maybe-install-target-boehm-gc: install-target-boehm-gc
55392 install-target-boehm-gc: installdirs
55393 @: $(MAKE); $(unstage)
55394 @r=`${PWD_COMMAND}`; export r; \
55395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55396 $(NORMAL_TARGET_EXPORTS) \
55397 (cd $(TARGET_SUBDIR)/boehm-gc && \
55398 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55400 @endif target-boehm-gc
55402 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
55403 maybe-install-strip-target-boehm-gc:
55404 @if target-boehm-gc
55405 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
55407 install-strip-target-boehm-gc: installdirs
55408 @: $(MAKE); $(unstage)
55409 @r=`${PWD_COMMAND}`; export r; \
55410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55411 $(NORMAL_TARGET_EXPORTS) \
55412 (cd $(TARGET_SUBDIR)/boehm-gc && \
55413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55415 @endif target-boehm-gc
55417 # Other targets (info, dvi, pdf, etc.)
55419 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
55420 maybe-info-target-boehm-gc:
55421 @if target-boehm-gc
55422 maybe-info-target-boehm-gc: info-target-boehm-gc
55424 info-target-boehm-gc: \
55425 configure-target-boehm-gc
55426 @: $(MAKE); $(unstage)
55427 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55428 r=`${PWD_COMMAND}`; export r; \
55429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55430 $(NORMAL_TARGET_EXPORTS) \
55431 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
55432 for flag in $(EXTRA_TARGET_FLAGS); do \
55433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55434 done; \
55435 (cd $(TARGET_SUBDIR)/boehm-gc && \
55436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55438 "RANLIB=$${RANLIB}" \
55439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55440 info) \
55441 || exit 1
55443 @endif target-boehm-gc
55445 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
55446 maybe-dvi-target-boehm-gc:
55447 @if target-boehm-gc
55448 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
55450 dvi-target-boehm-gc: \
55451 configure-target-boehm-gc
55452 @: $(MAKE); $(unstage)
55453 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55454 r=`${PWD_COMMAND}`; export r; \
55455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55456 $(NORMAL_TARGET_EXPORTS) \
55457 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
55458 for flag in $(EXTRA_TARGET_FLAGS); do \
55459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55460 done; \
55461 (cd $(TARGET_SUBDIR)/boehm-gc && \
55462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55464 "RANLIB=$${RANLIB}" \
55465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55466 dvi) \
55467 || exit 1
55469 @endif target-boehm-gc
55471 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
55472 maybe-pdf-target-boehm-gc:
55473 @if target-boehm-gc
55474 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
55476 pdf-target-boehm-gc: \
55477 configure-target-boehm-gc
55478 @: $(MAKE); $(unstage)
55479 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55480 r=`${PWD_COMMAND}`; export r; \
55481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55482 $(NORMAL_TARGET_EXPORTS) \
55483 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
55484 for flag in $(EXTRA_TARGET_FLAGS); do \
55485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55486 done; \
55487 (cd $(TARGET_SUBDIR)/boehm-gc && \
55488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55490 "RANLIB=$${RANLIB}" \
55491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55492 pdf) \
55493 || exit 1
55495 @endif target-boehm-gc
55497 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
55498 maybe-html-target-boehm-gc:
55499 @if target-boehm-gc
55500 maybe-html-target-boehm-gc: html-target-boehm-gc
55502 html-target-boehm-gc: \
55503 configure-target-boehm-gc
55504 @: $(MAKE); $(unstage)
55505 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55506 r=`${PWD_COMMAND}`; export r; \
55507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55508 $(NORMAL_TARGET_EXPORTS) \
55509 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
55510 for flag in $(EXTRA_TARGET_FLAGS); do \
55511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55512 done; \
55513 (cd $(TARGET_SUBDIR)/boehm-gc && \
55514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55516 "RANLIB=$${RANLIB}" \
55517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55518 html) \
55519 || exit 1
55521 @endif target-boehm-gc
55523 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
55524 maybe-TAGS-target-boehm-gc:
55525 @if target-boehm-gc
55526 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
55528 TAGS-target-boehm-gc: \
55529 configure-target-boehm-gc
55530 @: $(MAKE); $(unstage)
55531 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55532 r=`${PWD_COMMAND}`; export r; \
55533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55534 $(NORMAL_TARGET_EXPORTS) \
55535 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
55536 for flag in $(EXTRA_TARGET_FLAGS); do \
55537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55538 done; \
55539 (cd $(TARGET_SUBDIR)/boehm-gc && \
55540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55542 "RANLIB=$${RANLIB}" \
55543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55544 TAGS) \
55545 || exit 1
55547 @endif target-boehm-gc
55549 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
55550 maybe-install-info-target-boehm-gc:
55551 @if target-boehm-gc
55552 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
55554 install-info-target-boehm-gc: \
55555 configure-target-boehm-gc \
55556 info-target-boehm-gc
55557 @: $(MAKE); $(unstage)
55558 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55559 r=`${PWD_COMMAND}`; export r; \
55560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55561 $(NORMAL_TARGET_EXPORTS) \
55562 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
55563 for flag in $(EXTRA_TARGET_FLAGS); do \
55564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55565 done; \
55566 (cd $(TARGET_SUBDIR)/boehm-gc && \
55567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55569 "RANLIB=$${RANLIB}" \
55570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55571 install-info) \
55572 || exit 1
55574 @endif target-boehm-gc
55576 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
55577 maybe-install-pdf-target-boehm-gc:
55578 @if target-boehm-gc
55579 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
55581 install-pdf-target-boehm-gc: \
55582 configure-target-boehm-gc \
55583 pdf-target-boehm-gc
55584 @: $(MAKE); $(unstage)
55585 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55586 r=`${PWD_COMMAND}`; export r; \
55587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55588 $(NORMAL_TARGET_EXPORTS) \
55589 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
55590 for flag in $(EXTRA_TARGET_FLAGS); do \
55591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55592 done; \
55593 (cd $(TARGET_SUBDIR)/boehm-gc && \
55594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55596 "RANLIB=$${RANLIB}" \
55597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55598 install-pdf) \
55599 || exit 1
55601 @endif target-boehm-gc
55603 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
55604 maybe-install-html-target-boehm-gc:
55605 @if target-boehm-gc
55606 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
55608 install-html-target-boehm-gc: \
55609 configure-target-boehm-gc \
55610 html-target-boehm-gc
55611 @: $(MAKE); $(unstage)
55612 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55613 r=`${PWD_COMMAND}`; export r; \
55614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55615 $(NORMAL_TARGET_EXPORTS) \
55616 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
55617 for flag in $(EXTRA_TARGET_FLAGS); do \
55618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55619 done; \
55620 (cd $(TARGET_SUBDIR)/boehm-gc && \
55621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55623 "RANLIB=$${RANLIB}" \
55624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55625 install-html) \
55626 || exit 1
55628 @endif target-boehm-gc
55630 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
55631 maybe-installcheck-target-boehm-gc:
55632 @if target-boehm-gc
55633 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
55635 installcheck-target-boehm-gc: \
55636 configure-target-boehm-gc
55637 @: $(MAKE); $(unstage)
55638 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55639 r=`${PWD_COMMAND}`; export r; \
55640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55641 $(NORMAL_TARGET_EXPORTS) \
55642 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
55643 for flag in $(EXTRA_TARGET_FLAGS); do \
55644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55645 done; \
55646 (cd $(TARGET_SUBDIR)/boehm-gc && \
55647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55649 "RANLIB=$${RANLIB}" \
55650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55651 installcheck) \
55652 || exit 1
55654 @endif target-boehm-gc
55656 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
55657 maybe-mostlyclean-target-boehm-gc:
55658 @if target-boehm-gc
55659 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
55661 mostlyclean-target-boehm-gc:
55662 @: $(MAKE); $(unstage)
55663 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55664 r=`${PWD_COMMAND}`; export r; \
55665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55666 $(NORMAL_TARGET_EXPORTS) \
55667 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
55668 for flag in $(EXTRA_TARGET_FLAGS); do \
55669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55670 done; \
55671 (cd $(TARGET_SUBDIR)/boehm-gc && \
55672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55674 "RANLIB=$${RANLIB}" \
55675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55676 mostlyclean) \
55677 || exit 1
55679 @endif target-boehm-gc
55681 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
55682 maybe-clean-target-boehm-gc:
55683 @if target-boehm-gc
55684 maybe-clean-target-boehm-gc: clean-target-boehm-gc
55686 clean-target-boehm-gc:
55687 @: $(MAKE); $(unstage)
55688 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55689 r=`${PWD_COMMAND}`; export r; \
55690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55691 $(NORMAL_TARGET_EXPORTS) \
55692 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
55693 for flag in $(EXTRA_TARGET_FLAGS); do \
55694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55695 done; \
55696 (cd $(TARGET_SUBDIR)/boehm-gc && \
55697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55699 "RANLIB=$${RANLIB}" \
55700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55701 clean) \
55702 || exit 1
55704 @endif target-boehm-gc
55706 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
55707 maybe-distclean-target-boehm-gc:
55708 @if target-boehm-gc
55709 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
55711 distclean-target-boehm-gc:
55712 @: $(MAKE); $(unstage)
55713 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55714 r=`${PWD_COMMAND}`; export r; \
55715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55716 $(NORMAL_TARGET_EXPORTS) \
55717 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
55718 for flag in $(EXTRA_TARGET_FLAGS); do \
55719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55720 done; \
55721 (cd $(TARGET_SUBDIR)/boehm-gc && \
55722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55724 "RANLIB=$${RANLIB}" \
55725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55726 distclean) \
55727 || exit 1
55729 @endif target-boehm-gc
55731 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
55732 maybe-maintainer-clean-target-boehm-gc:
55733 @if target-boehm-gc
55734 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
55736 maintainer-clean-target-boehm-gc:
55737 @: $(MAKE); $(unstage)
55738 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55739 r=`${PWD_COMMAND}`; export r; \
55740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55741 $(NORMAL_TARGET_EXPORTS) \
55742 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
55743 for flag in $(EXTRA_TARGET_FLAGS); do \
55744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55745 done; \
55746 (cd $(TARGET_SUBDIR)/boehm-gc && \
55747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55749 "RANLIB=$${RANLIB}" \
55750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55751 maintainer-clean) \
55752 || exit 1
55754 @endif target-boehm-gc
55760 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
55761 maybe-configure-target-qthreads:
55762 @if gcc-bootstrap
55763 configure-target-qthreads: stage_current
55764 @endif gcc-bootstrap
55765 @if target-qthreads
55766 maybe-configure-target-qthreads: configure-target-qthreads
55767 configure-target-qthreads:
55768 @: $(MAKE); $(unstage)
55769 @r=`${PWD_COMMAND}`; export r; \
55770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55771 echo "Checking multilib configuration for qthreads..."; \
55772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
55773 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
55774 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
55775 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
55776 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
55777 else \
55778 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
55779 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
55780 fi; \
55781 else \
55782 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
55783 fi; \
55784 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
55785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
55786 $(NORMAL_TARGET_EXPORTS) \
55787 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
55788 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
55789 case $(srcdir) in \
55790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55791 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
55792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55793 esac; \
55794 srcdiroption="--srcdir=$${topdir}/qthreads"; \
55795 libsrcdir="$$s/qthreads"; \
55796 rm -f no-such-file || : ; \
55797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
55798 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55799 --target=${target_alias} $${srcdiroption} \
55800 || exit 1
55801 @endif target-qthreads
55807 .PHONY: all-target-qthreads maybe-all-target-qthreads
55808 maybe-all-target-qthreads:
55809 @if gcc-bootstrap
55810 all-target-qthreads: stage_current
55811 @endif gcc-bootstrap
55812 @if target-qthreads
55813 TARGET-target-qthreads=all
55814 maybe-all-target-qthreads: all-target-qthreads
55815 all-target-qthreads: configure-target-qthreads
55816 @: $(MAKE); $(unstage)
55817 @r=`${PWD_COMMAND}`; export r; \
55818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55819 $(NORMAL_TARGET_EXPORTS) \
55820 (cd $(TARGET_SUBDIR)/qthreads && \
55821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55822 $(TARGET-target-qthreads))
55823 @endif target-qthreads
55829 .PHONY: check-target-qthreads maybe-check-target-qthreads
55830 maybe-check-target-qthreads:
55831 @if target-qthreads
55832 maybe-check-target-qthreads: check-target-qthreads
55834 check-target-qthreads:
55835 @: $(MAKE); $(unstage)
55836 @r=`${PWD_COMMAND}`; export r; \
55837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55838 $(NORMAL_TARGET_EXPORTS) \
55839 (cd $(TARGET_SUBDIR)/qthreads && \
55840 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55842 @endif target-qthreads
55844 .PHONY: install-target-qthreads maybe-install-target-qthreads
55845 maybe-install-target-qthreads:
55846 @if target-qthreads
55847 maybe-install-target-qthreads: install-target-qthreads
55849 install-target-qthreads: installdirs
55850 @: $(MAKE); $(unstage)
55851 @r=`${PWD_COMMAND}`; export r; \
55852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55853 $(NORMAL_TARGET_EXPORTS) \
55854 (cd $(TARGET_SUBDIR)/qthreads && \
55855 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55857 @endif target-qthreads
55859 .PHONY: install-strip-target-qthreads maybe-install-strip-target-qthreads
55860 maybe-install-strip-target-qthreads:
55861 @if target-qthreads
55862 maybe-install-strip-target-qthreads: install-strip-target-qthreads
55864 install-strip-target-qthreads: installdirs
55865 @: $(MAKE); $(unstage)
55866 @r=`${PWD_COMMAND}`; export r; \
55867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55868 $(NORMAL_TARGET_EXPORTS) \
55869 (cd $(TARGET_SUBDIR)/qthreads && \
55870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55872 @endif target-qthreads
55874 # Other targets (info, dvi, pdf, etc.)
55876 .PHONY: maybe-info-target-qthreads info-target-qthreads
55877 maybe-info-target-qthreads:
55878 @if target-qthreads
55879 maybe-info-target-qthreads: info-target-qthreads
55881 info-target-qthreads: \
55882 configure-target-qthreads
55883 @: $(MAKE); $(unstage)
55884 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55885 r=`${PWD_COMMAND}`; export r; \
55886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55887 $(NORMAL_TARGET_EXPORTS) \
55888 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
55889 for flag in $(EXTRA_TARGET_FLAGS); do \
55890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55891 done; \
55892 (cd $(TARGET_SUBDIR)/qthreads && \
55893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55895 "RANLIB=$${RANLIB}" \
55896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55897 info) \
55898 || exit 1
55900 @endif target-qthreads
55902 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
55903 maybe-dvi-target-qthreads:
55904 @if target-qthreads
55905 maybe-dvi-target-qthreads: dvi-target-qthreads
55907 dvi-target-qthreads: \
55908 configure-target-qthreads
55909 @: $(MAKE); $(unstage)
55910 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55911 r=`${PWD_COMMAND}`; export r; \
55912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55913 $(NORMAL_TARGET_EXPORTS) \
55914 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
55915 for flag in $(EXTRA_TARGET_FLAGS); do \
55916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55917 done; \
55918 (cd $(TARGET_SUBDIR)/qthreads && \
55919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55921 "RANLIB=$${RANLIB}" \
55922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55923 dvi) \
55924 || exit 1
55926 @endif target-qthreads
55928 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
55929 maybe-pdf-target-qthreads:
55930 @if target-qthreads
55931 maybe-pdf-target-qthreads: pdf-target-qthreads
55933 pdf-target-qthreads: \
55934 configure-target-qthreads
55935 @: $(MAKE); $(unstage)
55936 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55937 r=`${PWD_COMMAND}`; export r; \
55938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55939 $(NORMAL_TARGET_EXPORTS) \
55940 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
55941 for flag in $(EXTRA_TARGET_FLAGS); do \
55942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55943 done; \
55944 (cd $(TARGET_SUBDIR)/qthreads && \
55945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55947 "RANLIB=$${RANLIB}" \
55948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55949 pdf) \
55950 || exit 1
55952 @endif target-qthreads
55954 .PHONY: maybe-html-target-qthreads html-target-qthreads
55955 maybe-html-target-qthreads:
55956 @if target-qthreads
55957 maybe-html-target-qthreads: html-target-qthreads
55959 html-target-qthreads: \
55960 configure-target-qthreads
55961 @: $(MAKE); $(unstage)
55962 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55963 r=`${PWD_COMMAND}`; export r; \
55964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55965 $(NORMAL_TARGET_EXPORTS) \
55966 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
55967 for flag in $(EXTRA_TARGET_FLAGS); do \
55968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55969 done; \
55970 (cd $(TARGET_SUBDIR)/qthreads && \
55971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55973 "RANLIB=$${RANLIB}" \
55974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55975 html) \
55976 || exit 1
55978 @endif target-qthreads
55980 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
55981 maybe-TAGS-target-qthreads:
55982 @if target-qthreads
55983 maybe-TAGS-target-qthreads: TAGS-target-qthreads
55985 TAGS-target-qthreads: \
55986 configure-target-qthreads
55987 @: $(MAKE); $(unstage)
55988 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55989 r=`${PWD_COMMAND}`; export r; \
55990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55991 $(NORMAL_TARGET_EXPORTS) \
55992 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
55993 for flag in $(EXTRA_TARGET_FLAGS); do \
55994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55995 done; \
55996 (cd $(TARGET_SUBDIR)/qthreads && \
55997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55999 "RANLIB=$${RANLIB}" \
56000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56001 TAGS) \
56002 || exit 1
56004 @endif target-qthreads
56006 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
56007 maybe-install-info-target-qthreads:
56008 @if target-qthreads
56009 maybe-install-info-target-qthreads: install-info-target-qthreads
56011 install-info-target-qthreads: \
56012 configure-target-qthreads \
56013 info-target-qthreads
56014 @: $(MAKE); $(unstage)
56015 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56016 r=`${PWD_COMMAND}`; export r; \
56017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56018 $(NORMAL_TARGET_EXPORTS) \
56019 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
56020 for flag in $(EXTRA_TARGET_FLAGS); do \
56021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56022 done; \
56023 (cd $(TARGET_SUBDIR)/qthreads && \
56024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56026 "RANLIB=$${RANLIB}" \
56027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56028 install-info) \
56029 || exit 1
56031 @endif target-qthreads
56033 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
56034 maybe-install-pdf-target-qthreads:
56035 @if target-qthreads
56036 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
56038 install-pdf-target-qthreads: \
56039 configure-target-qthreads \
56040 pdf-target-qthreads
56041 @: $(MAKE); $(unstage)
56042 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56043 r=`${PWD_COMMAND}`; export r; \
56044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56045 $(NORMAL_TARGET_EXPORTS) \
56046 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
56047 for flag in $(EXTRA_TARGET_FLAGS); do \
56048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56049 done; \
56050 (cd $(TARGET_SUBDIR)/qthreads && \
56051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56053 "RANLIB=$${RANLIB}" \
56054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56055 install-pdf) \
56056 || exit 1
56058 @endif target-qthreads
56060 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
56061 maybe-install-html-target-qthreads:
56062 @if target-qthreads
56063 maybe-install-html-target-qthreads: install-html-target-qthreads
56065 install-html-target-qthreads: \
56066 configure-target-qthreads \
56067 html-target-qthreads
56068 @: $(MAKE); $(unstage)
56069 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56070 r=`${PWD_COMMAND}`; export r; \
56071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56072 $(NORMAL_TARGET_EXPORTS) \
56073 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
56074 for flag in $(EXTRA_TARGET_FLAGS); do \
56075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56076 done; \
56077 (cd $(TARGET_SUBDIR)/qthreads && \
56078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56080 "RANLIB=$${RANLIB}" \
56081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56082 install-html) \
56083 || exit 1
56085 @endif target-qthreads
56087 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
56088 maybe-installcheck-target-qthreads:
56089 @if target-qthreads
56090 maybe-installcheck-target-qthreads: installcheck-target-qthreads
56092 installcheck-target-qthreads: \
56093 configure-target-qthreads
56094 @: $(MAKE); $(unstage)
56095 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56096 r=`${PWD_COMMAND}`; export r; \
56097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56098 $(NORMAL_TARGET_EXPORTS) \
56099 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
56100 for flag in $(EXTRA_TARGET_FLAGS); do \
56101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56102 done; \
56103 (cd $(TARGET_SUBDIR)/qthreads && \
56104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56106 "RANLIB=$${RANLIB}" \
56107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56108 installcheck) \
56109 || exit 1
56111 @endif target-qthreads
56113 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
56114 maybe-mostlyclean-target-qthreads:
56115 @if target-qthreads
56116 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
56118 mostlyclean-target-qthreads:
56119 @: $(MAKE); $(unstage)
56120 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56121 r=`${PWD_COMMAND}`; export r; \
56122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56123 $(NORMAL_TARGET_EXPORTS) \
56124 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
56125 for flag in $(EXTRA_TARGET_FLAGS); do \
56126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56127 done; \
56128 (cd $(TARGET_SUBDIR)/qthreads && \
56129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56131 "RANLIB=$${RANLIB}" \
56132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56133 mostlyclean) \
56134 || exit 1
56136 @endif target-qthreads
56138 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
56139 maybe-clean-target-qthreads:
56140 @if target-qthreads
56141 maybe-clean-target-qthreads: clean-target-qthreads
56143 clean-target-qthreads:
56144 @: $(MAKE); $(unstage)
56145 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56146 r=`${PWD_COMMAND}`; export r; \
56147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56148 $(NORMAL_TARGET_EXPORTS) \
56149 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
56150 for flag in $(EXTRA_TARGET_FLAGS); do \
56151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56152 done; \
56153 (cd $(TARGET_SUBDIR)/qthreads && \
56154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56156 "RANLIB=$${RANLIB}" \
56157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56158 clean) \
56159 || exit 1
56161 @endif target-qthreads
56163 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
56164 maybe-distclean-target-qthreads:
56165 @if target-qthreads
56166 maybe-distclean-target-qthreads: distclean-target-qthreads
56168 distclean-target-qthreads:
56169 @: $(MAKE); $(unstage)
56170 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56171 r=`${PWD_COMMAND}`; export r; \
56172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56173 $(NORMAL_TARGET_EXPORTS) \
56174 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
56175 for flag in $(EXTRA_TARGET_FLAGS); do \
56176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56177 done; \
56178 (cd $(TARGET_SUBDIR)/qthreads && \
56179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56181 "RANLIB=$${RANLIB}" \
56182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56183 distclean) \
56184 || exit 1
56186 @endif target-qthreads
56188 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
56189 maybe-maintainer-clean-target-qthreads:
56190 @if target-qthreads
56191 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
56193 maintainer-clean-target-qthreads:
56194 @: $(MAKE); $(unstage)
56195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56196 r=`${PWD_COMMAND}`; export r; \
56197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56198 $(NORMAL_TARGET_EXPORTS) \
56199 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
56200 for flag in $(EXTRA_TARGET_FLAGS); do \
56201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56202 done; \
56203 (cd $(TARGET_SUBDIR)/qthreads && \
56204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56206 "RANLIB=$${RANLIB}" \
56207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56208 maintainer-clean) \
56209 || exit 1
56211 @endif target-qthreads
56217 .PHONY: configure-target-rda maybe-configure-target-rda
56218 maybe-configure-target-rda:
56219 @if gcc-bootstrap
56220 configure-target-rda: stage_current
56221 @endif gcc-bootstrap
56222 @if target-rda
56223 maybe-configure-target-rda: configure-target-rda
56224 configure-target-rda:
56225 @: $(MAKE); $(unstage)
56226 @r=`${PWD_COMMAND}`; export r; \
56227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56228 echo "Checking multilib configuration for rda..."; \
56229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
56230 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
56231 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
56232 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
56233 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
56234 else \
56235 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
56236 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
56237 fi; \
56238 else \
56239 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
56240 fi; \
56241 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
56242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
56243 $(NORMAL_TARGET_EXPORTS) \
56244 echo Configuring in $(TARGET_SUBDIR)/rda; \
56245 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
56246 case $(srcdir) in \
56247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56248 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
56249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56250 esac; \
56251 srcdiroption="--srcdir=$${topdir}/rda"; \
56252 libsrcdir="$$s/rda"; \
56253 rm -f no-such-file || : ; \
56254 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
56255 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56256 --target=${target_alias} $${srcdiroption} \
56257 || exit 1
56258 @endif target-rda
56264 .PHONY: all-target-rda maybe-all-target-rda
56265 maybe-all-target-rda:
56266 @if gcc-bootstrap
56267 all-target-rda: stage_current
56268 @endif gcc-bootstrap
56269 @if target-rda
56270 TARGET-target-rda=all
56271 maybe-all-target-rda: all-target-rda
56272 all-target-rda: configure-target-rda
56273 @: $(MAKE); $(unstage)
56274 @r=`${PWD_COMMAND}`; export r; \
56275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56276 $(NORMAL_TARGET_EXPORTS) \
56277 (cd $(TARGET_SUBDIR)/rda && \
56278 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56279 $(TARGET-target-rda))
56280 @endif target-rda
56286 .PHONY: check-target-rda maybe-check-target-rda
56287 maybe-check-target-rda:
56288 @if target-rda
56289 maybe-check-target-rda: check-target-rda
56291 check-target-rda:
56292 @: $(MAKE); $(unstage)
56293 @r=`${PWD_COMMAND}`; export r; \
56294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56295 $(NORMAL_TARGET_EXPORTS) \
56296 (cd $(TARGET_SUBDIR)/rda && \
56297 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
56299 @endif target-rda
56301 .PHONY: install-target-rda maybe-install-target-rda
56302 maybe-install-target-rda:
56303 @if target-rda
56304 maybe-install-target-rda: install-target-rda
56306 install-target-rda: installdirs
56307 @: $(MAKE); $(unstage)
56308 @r=`${PWD_COMMAND}`; export r; \
56309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56310 $(NORMAL_TARGET_EXPORTS) \
56311 (cd $(TARGET_SUBDIR)/rda && \
56312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
56314 @endif target-rda
56316 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
56317 maybe-install-strip-target-rda:
56318 @if target-rda
56319 maybe-install-strip-target-rda: install-strip-target-rda
56321 install-strip-target-rda: installdirs
56322 @: $(MAKE); $(unstage)
56323 @r=`${PWD_COMMAND}`; export r; \
56324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56325 $(NORMAL_TARGET_EXPORTS) \
56326 (cd $(TARGET_SUBDIR)/rda && \
56327 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
56329 @endif target-rda
56331 # Other targets (info, dvi, pdf, etc.)
56333 .PHONY: maybe-info-target-rda info-target-rda
56334 maybe-info-target-rda:
56335 @if target-rda
56336 maybe-info-target-rda: info-target-rda
56338 info-target-rda: \
56339 configure-target-rda
56340 @: $(MAKE); $(unstage)
56341 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56342 r=`${PWD_COMMAND}`; export r; \
56343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56344 $(NORMAL_TARGET_EXPORTS) \
56345 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
56346 for flag in $(EXTRA_TARGET_FLAGS); do \
56347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56348 done; \
56349 (cd $(TARGET_SUBDIR)/rda && \
56350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56352 "RANLIB=$${RANLIB}" \
56353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56354 info) \
56355 || exit 1
56357 @endif target-rda
56359 .PHONY: maybe-dvi-target-rda dvi-target-rda
56360 maybe-dvi-target-rda:
56361 @if target-rda
56362 maybe-dvi-target-rda: dvi-target-rda
56364 dvi-target-rda: \
56365 configure-target-rda
56366 @: $(MAKE); $(unstage)
56367 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56368 r=`${PWD_COMMAND}`; export r; \
56369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56370 $(NORMAL_TARGET_EXPORTS) \
56371 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
56372 for flag in $(EXTRA_TARGET_FLAGS); do \
56373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56374 done; \
56375 (cd $(TARGET_SUBDIR)/rda && \
56376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56378 "RANLIB=$${RANLIB}" \
56379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56380 dvi) \
56381 || exit 1
56383 @endif target-rda
56385 .PHONY: maybe-pdf-target-rda pdf-target-rda
56386 maybe-pdf-target-rda:
56387 @if target-rda
56388 maybe-pdf-target-rda: pdf-target-rda
56390 pdf-target-rda: \
56391 configure-target-rda
56392 @: $(MAKE); $(unstage)
56393 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56394 r=`${PWD_COMMAND}`; export r; \
56395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56396 $(NORMAL_TARGET_EXPORTS) \
56397 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
56398 for flag in $(EXTRA_TARGET_FLAGS); do \
56399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56400 done; \
56401 (cd $(TARGET_SUBDIR)/rda && \
56402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56404 "RANLIB=$${RANLIB}" \
56405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56406 pdf) \
56407 || exit 1
56409 @endif target-rda
56411 .PHONY: maybe-html-target-rda html-target-rda
56412 maybe-html-target-rda:
56413 @if target-rda
56414 maybe-html-target-rda: html-target-rda
56416 html-target-rda: \
56417 configure-target-rda
56418 @: $(MAKE); $(unstage)
56419 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56420 r=`${PWD_COMMAND}`; export r; \
56421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56422 $(NORMAL_TARGET_EXPORTS) \
56423 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
56424 for flag in $(EXTRA_TARGET_FLAGS); do \
56425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56426 done; \
56427 (cd $(TARGET_SUBDIR)/rda && \
56428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56430 "RANLIB=$${RANLIB}" \
56431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56432 html) \
56433 || exit 1
56435 @endif target-rda
56437 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
56438 maybe-TAGS-target-rda:
56439 @if target-rda
56440 maybe-TAGS-target-rda: TAGS-target-rda
56442 TAGS-target-rda: \
56443 configure-target-rda
56444 @: $(MAKE); $(unstage)
56445 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56446 r=`${PWD_COMMAND}`; export r; \
56447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56448 $(NORMAL_TARGET_EXPORTS) \
56449 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
56450 for flag in $(EXTRA_TARGET_FLAGS); do \
56451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56452 done; \
56453 (cd $(TARGET_SUBDIR)/rda && \
56454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56456 "RANLIB=$${RANLIB}" \
56457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56458 TAGS) \
56459 || exit 1
56461 @endif target-rda
56463 .PHONY: maybe-install-info-target-rda install-info-target-rda
56464 maybe-install-info-target-rda:
56465 @if target-rda
56466 maybe-install-info-target-rda: install-info-target-rda
56468 install-info-target-rda: \
56469 configure-target-rda \
56470 info-target-rda
56471 @: $(MAKE); $(unstage)
56472 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56473 r=`${PWD_COMMAND}`; export r; \
56474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56475 $(NORMAL_TARGET_EXPORTS) \
56476 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
56477 for flag in $(EXTRA_TARGET_FLAGS); do \
56478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56479 done; \
56480 (cd $(TARGET_SUBDIR)/rda && \
56481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56483 "RANLIB=$${RANLIB}" \
56484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56485 install-info) \
56486 || exit 1
56488 @endif target-rda
56490 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
56491 maybe-install-pdf-target-rda:
56492 @if target-rda
56493 maybe-install-pdf-target-rda: install-pdf-target-rda
56495 install-pdf-target-rda: \
56496 configure-target-rda \
56497 pdf-target-rda
56498 @: $(MAKE); $(unstage)
56499 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56500 r=`${PWD_COMMAND}`; export r; \
56501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56502 $(NORMAL_TARGET_EXPORTS) \
56503 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
56504 for flag in $(EXTRA_TARGET_FLAGS); do \
56505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56506 done; \
56507 (cd $(TARGET_SUBDIR)/rda && \
56508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56510 "RANLIB=$${RANLIB}" \
56511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56512 install-pdf) \
56513 || exit 1
56515 @endif target-rda
56517 .PHONY: maybe-install-html-target-rda install-html-target-rda
56518 maybe-install-html-target-rda:
56519 @if target-rda
56520 maybe-install-html-target-rda: install-html-target-rda
56522 install-html-target-rda: \
56523 configure-target-rda \
56524 html-target-rda
56525 @: $(MAKE); $(unstage)
56526 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56527 r=`${PWD_COMMAND}`; export r; \
56528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56529 $(NORMAL_TARGET_EXPORTS) \
56530 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
56531 for flag in $(EXTRA_TARGET_FLAGS); do \
56532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56533 done; \
56534 (cd $(TARGET_SUBDIR)/rda && \
56535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56537 "RANLIB=$${RANLIB}" \
56538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56539 install-html) \
56540 || exit 1
56542 @endif target-rda
56544 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
56545 maybe-installcheck-target-rda:
56546 @if target-rda
56547 maybe-installcheck-target-rda: installcheck-target-rda
56549 installcheck-target-rda: \
56550 configure-target-rda
56551 @: $(MAKE); $(unstage)
56552 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56553 r=`${PWD_COMMAND}`; export r; \
56554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56555 $(NORMAL_TARGET_EXPORTS) \
56556 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
56557 for flag in $(EXTRA_TARGET_FLAGS); do \
56558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56559 done; \
56560 (cd $(TARGET_SUBDIR)/rda && \
56561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56563 "RANLIB=$${RANLIB}" \
56564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56565 installcheck) \
56566 || exit 1
56568 @endif target-rda
56570 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
56571 maybe-mostlyclean-target-rda:
56572 @if target-rda
56573 maybe-mostlyclean-target-rda: mostlyclean-target-rda
56575 mostlyclean-target-rda:
56576 @: $(MAKE); $(unstage)
56577 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56578 r=`${PWD_COMMAND}`; export r; \
56579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56580 $(NORMAL_TARGET_EXPORTS) \
56581 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
56582 for flag in $(EXTRA_TARGET_FLAGS); do \
56583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56584 done; \
56585 (cd $(TARGET_SUBDIR)/rda && \
56586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56588 "RANLIB=$${RANLIB}" \
56589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56590 mostlyclean) \
56591 || exit 1
56593 @endif target-rda
56595 .PHONY: maybe-clean-target-rda clean-target-rda
56596 maybe-clean-target-rda:
56597 @if target-rda
56598 maybe-clean-target-rda: clean-target-rda
56600 clean-target-rda:
56601 @: $(MAKE); $(unstage)
56602 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56603 r=`${PWD_COMMAND}`; export r; \
56604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56605 $(NORMAL_TARGET_EXPORTS) \
56606 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
56607 for flag in $(EXTRA_TARGET_FLAGS); do \
56608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56609 done; \
56610 (cd $(TARGET_SUBDIR)/rda && \
56611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56613 "RANLIB=$${RANLIB}" \
56614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56615 clean) \
56616 || exit 1
56618 @endif target-rda
56620 .PHONY: maybe-distclean-target-rda distclean-target-rda
56621 maybe-distclean-target-rda:
56622 @if target-rda
56623 maybe-distclean-target-rda: distclean-target-rda
56625 distclean-target-rda:
56626 @: $(MAKE); $(unstage)
56627 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56628 r=`${PWD_COMMAND}`; export r; \
56629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56630 $(NORMAL_TARGET_EXPORTS) \
56631 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
56632 for flag in $(EXTRA_TARGET_FLAGS); do \
56633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56634 done; \
56635 (cd $(TARGET_SUBDIR)/rda && \
56636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56638 "RANLIB=$${RANLIB}" \
56639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56640 distclean) \
56641 || exit 1
56643 @endif target-rda
56645 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
56646 maybe-maintainer-clean-target-rda:
56647 @if target-rda
56648 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
56650 maintainer-clean-target-rda:
56651 @: $(MAKE); $(unstage)
56652 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56653 r=`${PWD_COMMAND}`; export r; \
56654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56655 $(NORMAL_TARGET_EXPORTS) \
56656 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
56657 for flag in $(EXTRA_TARGET_FLAGS); do \
56658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56659 done; \
56660 (cd $(TARGET_SUBDIR)/rda && \
56661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56663 "RANLIB=$${RANLIB}" \
56664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56665 maintainer-clean) \
56666 || exit 1
56668 @endif target-rda
56674 .PHONY: configure-target-libada maybe-configure-target-libada
56675 maybe-configure-target-libada:
56676 @if gcc-bootstrap
56677 configure-target-libada: stage_current
56678 @endif gcc-bootstrap
56679 @if target-libada
56680 maybe-configure-target-libada: configure-target-libada
56681 configure-target-libada:
56682 @: $(MAKE); $(unstage)
56683 @r=`${PWD_COMMAND}`; export r; \
56684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56685 echo "Checking multilib configuration for libada..."; \
56686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
56687 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
56688 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
56689 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
56690 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
56691 else \
56692 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
56693 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56694 fi; \
56695 else \
56696 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56697 fi; \
56698 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
56699 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
56700 $(NORMAL_TARGET_EXPORTS) \
56701 echo Configuring in $(TARGET_SUBDIR)/libada; \
56702 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
56703 case $(srcdir) in \
56704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56705 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
56706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56707 esac; \
56708 srcdiroption="--srcdir=$${topdir}/libada"; \
56709 libsrcdir="$$s/libada"; \
56710 rm -f no-such-file || : ; \
56711 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
56712 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56713 --target=${target_alias} $${srcdiroption} \
56714 || exit 1
56715 @endif target-libada
56721 .PHONY: all-target-libada maybe-all-target-libada
56722 maybe-all-target-libada:
56723 @if gcc-bootstrap
56724 all-target-libada: stage_current
56725 @endif gcc-bootstrap
56726 @if target-libada
56727 TARGET-target-libada=all
56728 maybe-all-target-libada: all-target-libada
56729 all-target-libada: configure-target-libada
56730 @: $(MAKE); $(unstage)
56731 @r=`${PWD_COMMAND}`; export r; \
56732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56733 $(NORMAL_TARGET_EXPORTS) \
56734 (cd $(TARGET_SUBDIR)/libada && \
56735 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56736 $(TARGET-target-libada))
56737 @endif target-libada
56743 .PHONY: check-target-libada maybe-check-target-libada
56744 maybe-check-target-libada:
56745 @if target-libada
56746 maybe-check-target-libada: check-target-libada
56748 check-target-libada:
56749 @: $(MAKE); $(unstage)
56750 @r=`${PWD_COMMAND}`; export r; \
56751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56752 $(NORMAL_TARGET_EXPORTS) \
56753 (cd $(TARGET_SUBDIR)/libada && \
56754 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
56756 @endif target-libada
56758 .PHONY: install-target-libada maybe-install-target-libada
56759 maybe-install-target-libada:
56760 @if target-libada
56761 maybe-install-target-libada: install-target-libada
56763 install-target-libada: installdirs
56764 @: $(MAKE); $(unstage)
56765 @r=`${PWD_COMMAND}`; export r; \
56766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56767 $(NORMAL_TARGET_EXPORTS) \
56768 (cd $(TARGET_SUBDIR)/libada && \
56769 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
56771 @endif target-libada
56773 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
56774 maybe-install-strip-target-libada:
56775 @if target-libada
56776 maybe-install-strip-target-libada: install-strip-target-libada
56778 install-strip-target-libada: installdirs
56779 @: $(MAKE); $(unstage)
56780 @r=`${PWD_COMMAND}`; export r; \
56781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56782 $(NORMAL_TARGET_EXPORTS) \
56783 (cd $(TARGET_SUBDIR)/libada && \
56784 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
56786 @endif target-libada
56788 # Other targets (info, dvi, pdf, etc.)
56790 .PHONY: maybe-info-target-libada info-target-libada
56791 maybe-info-target-libada:
56792 @if target-libada
56793 maybe-info-target-libada: info-target-libada
56795 info-target-libada: \
56796 configure-target-libada
56797 @: $(MAKE); $(unstage)
56798 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56799 r=`${PWD_COMMAND}`; export r; \
56800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56801 $(NORMAL_TARGET_EXPORTS) \
56802 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
56803 for flag in $(EXTRA_TARGET_FLAGS); do \
56804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56805 done; \
56806 (cd $(TARGET_SUBDIR)/libada && \
56807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56809 "RANLIB=$${RANLIB}" \
56810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56811 info) \
56812 || exit 1
56814 @endif target-libada
56816 .PHONY: maybe-dvi-target-libada dvi-target-libada
56817 maybe-dvi-target-libada:
56818 @if target-libada
56819 maybe-dvi-target-libada: dvi-target-libada
56821 dvi-target-libada: \
56822 configure-target-libada
56823 @: $(MAKE); $(unstage)
56824 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56825 r=`${PWD_COMMAND}`; export r; \
56826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56827 $(NORMAL_TARGET_EXPORTS) \
56828 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
56829 for flag in $(EXTRA_TARGET_FLAGS); do \
56830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56831 done; \
56832 (cd $(TARGET_SUBDIR)/libada && \
56833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56835 "RANLIB=$${RANLIB}" \
56836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56837 dvi) \
56838 || exit 1
56840 @endif target-libada
56842 .PHONY: maybe-pdf-target-libada pdf-target-libada
56843 maybe-pdf-target-libada:
56844 @if target-libada
56845 maybe-pdf-target-libada: pdf-target-libada
56847 pdf-target-libada: \
56848 configure-target-libada
56849 @: $(MAKE); $(unstage)
56850 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56851 r=`${PWD_COMMAND}`; export r; \
56852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56853 $(NORMAL_TARGET_EXPORTS) \
56854 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
56855 for flag in $(EXTRA_TARGET_FLAGS); do \
56856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56857 done; \
56858 (cd $(TARGET_SUBDIR)/libada && \
56859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56861 "RANLIB=$${RANLIB}" \
56862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56863 pdf) \
56864 || exit 1
56866 @endif target-libada
56868 .PHONY: maybe-html-target-libada html-target-libada
56869 maybe-html-target-libada:
56870 @if target-libada
56871 maybe-html-target-libada: html-target-libada
56873 html-target-libada: \
56874 configure-target-libada
56875 @: $(MAKE); $(unstage)
56876 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56877 r=`${PWD_COMMAND}`; export r; \
56878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56879 $(NORMAL_TARGET_EXPORTS) \
56880 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
56881 for flag in $(EXTRA_TARGET_FLAGS); do \
56882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56883 done; \
56884 (cd $(TARGET_SUBDIR)/libada && \
56885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56887 "RANLIB=$${RANLIB}" \
56888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56889 html) \
56890 || exit 1
56892 @endif target-libada
56894 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
56895 maybe-TAGS-target-libada:
56896 @if target-libada
56897 maybe-TAGS-target-libada: TAGS-target-libada
56899 TAGS-target-libada: \
56900 configure-target-libada
56901 @: $(MAKE); $(unstage)
56902 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56903 r=`${PWD_COMMAND}`; export r; \
56904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56905 $(NORMAL_TARGET_EXPORTS) \
56906 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
56907 for flag in $(EXTRA_TARGET_FLAGS); do \
56908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56909 done; \
56910 (cd $(TARGET_SUBDIR)/libada && \
56911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56913 "RANLIB=$${RANLIB}" \
56914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56915 TAGS) \
56916 || exit 1
56918 @endif target-libada
56920 .PHONY: maybe-install-info-target-libada install-info-target-libada
56921 maybe-install-info-target-libada:
56922 @if target-libada
56923 maybe-install-info-target-libada: install-info-target-libada
56925 install-info-target-libada: \
56926 configure-target-libada \
56927 info-target-libada
56928 @: $(MAKE); $(unstage)
56929 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56930 r=`${PWD_COMMAND}`; export r; \
56931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56932 $(NORMAL_TARGET_EXPORTS) \
56933 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
56934 for flag in $(EXTRA_TARGET_FLAGS); do \
56935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56936 done; \
56937 (cd $(TARGET_SUBDIR)/libada && \
56938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56940 "RANLIB=$${RANLIB}" \
56941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56942 install-info) \
56943 || exit 1
56945 @endif target-libada
56947 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
56948 maybe-install-pdf-target-libada:
56949 @if target-libada
56950 maybe-install-pdf-target-libada: install-pdf-target-libada
56952 install-pdf-target-libada: \
56953 configure-target-libada \
56954 pdf-target-libada
56955 @: $(MAKE); $(unstage)
56956 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56957 r=`${PWD_COMMAND}`; export r; \
56958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56959 $(NORMAL_TARGET_EXPORTS) \
56960 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
56961 for flag in $(EXTRA_TARGET_FLAGS); do \
56962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56963 done; \
56964 (cd $(TARGET_SUBDIR)/libada && \
56965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56967 "RANLIB=$${RANLIB}" \
56968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56969 install-pdf) \
56970 || exit 1
56972 @endif target-libada
56974 .PHONY: maybe-install-html-target-libada install-html-target-libada
56975 maybe-install-html-target-libada:
56976 @if target-libada
56977 maybe-install-html-target-libada: install-html-target-libada
56979 install-html-target-libada: \
56980 configure-target-libada \
56981 html-target-libada
56982 @: $(MAKE); $(unstage)
56983 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56984 r=`${PWD_COMMAND}`; export r; \
56985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56986 $(NORMAL_TARGET_EXPORTS) \
56987 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
56988 for flag in $(EXTRA_TARGET_FLAGS); do \
56989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56990 done; \
56991 (cd $(TARGET_SUBDIR)/libada && \
56992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56994 "RANLIB=$${RANLIB}" \
56995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56996 install-html) \
56997 || exit 1
56999 @endif target-libada
57001 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
57002 maybe-installcheck-target-libada:
57003 @if target-libada
57004 maybe-installcheck-target-libada: installcheck-target-libada
57006 installcheck-target-libada: \
57007 configure-target-libada
57008 @: $(MAKE); $(unstage)
57009 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57010 r=`${PWD_COMMAND}`; export r; \
57011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57012 $(NORMAL_TARGET_EXPORTS) \
57013 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
57014 for flag in $(EXTRA_TARGET_FLAGS); do \
57015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57016 done; \
57017 (cd $(TARGET_SUBDIR)/libada && \
57018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57020 "RANLIB=$${RANLIB}" \
57021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57022 installcheck) \
57023 || exit 1
57025 @endif target-libada
57027 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
57028 maybe-mostlyclean-target-libada:
57029 @if target-libada
57030 maybe-mostlyclean-target-libada: mostlyclean-target-libada
57032 mostlyclean-target-libada:
57033 @: $(MAKE); $(unstage)
57034 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57035 r=`${PWD_COMMAND}`; export r; \
57036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57037 $(NORMAL_TARGET_EXPORTS) \
57038 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
57039 for flag in $(EXTRA_TARGET_FLAGS); do \
57040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57041 done; \
57042 (cd $(TARGET_SUBDIR)/libada && \
57043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57045 "RANLIB=$${RANLIB}" \
57046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57047 mostlyclean) \
57048 || exit 1
57050 @endif target-libada
57052 .PHONY: maybe-clean-target-libada clean-target-libada
57053 maybe-clean-target-libada:
57054 @if target-libada
57055 maybe-clean-target-libada: clean-target-libada
57057 clean-target-libada:
57058 @: $(MAKE); $(unstage)
57059 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57060 r=`${PWD_COMMAND}`; export r; \
57061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57062 $(NORMAL_TARGET_EXPORTS) \
57063 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
57064 for flag in $(EXTRA_TARGET_FLAGS); do \
57065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57066 done; \
57067 (cd $(TARGET_SUBDIR)/libada && \
57068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57070 "RANLIB=$${RANLIB}" \
57071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57072 clean) \
57073 || exit 1
57075 @endif target-libada
57077 .PHONY: maybe-distclean-target-libada distclean-target-libada
57078 maybe-distclean-target-libada:
57079 @if target-libada
57080 maybe-distclean-target-libada: distclean-target-libada
57082 distclean-target-libada:
57083 @: $(MAKE); $(unstage)
57084 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57085 r=`${PWD_COMMAND}`; export r; \
57086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57087 $(NORMAL_TARGET_EXPORTS) \
57088 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
57089 for flag in $(EXTRA_TARGET_FLAGS); do \
57090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57091 done; \
57092 (cd $(TARGET_SUBDIR)/libada && \
57093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57095 "RANLIB=$${RANLIB}" \
57096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57097 distclean) \
57098 || exit 1
57100 @endif target-libada
57102 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
57103 maybe-maintainer-clean-target-libada:
57104 @if target-libada
57105 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
57107 maintainer-clean-target-libada:
57108 @: $(MAKE); $(unstage)
57109 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57110 r=`${PWD_COMMAND}`; export r; \
57111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57112 $(NORMAL_TARGET_EXPORTS) \
57113 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
57114 for flag in $(EXTRA_TARGET_FLAGS); do \
57115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57116 done; \
57117 (cd $(TARGET_SUBDIR)/libada && \
57118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57120 "RANLIB=$${RANLIB}" \
57121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57122 maintainer-clean) \
57123 || exit 1
57125 @endif target-libada
57131 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
57132 maybe-configure-target-libgomp:
57133 @if gcc-bootstrap
57134 configure-target-libgomp: stage_current
57135 @endif gcc-bootstrap
57136 @if target-libgomp
57137 maybe-configure-target-libgomp: configure-target-libgomp
57138 configure-target-libgomp:
57139 @r=`${PWD_COMMAND}`; export r; \
57140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57141 echo "Checking multilib configuration for libgomp..."; \
57142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57143 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57144 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57145 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57146 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57147 else \
57148 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57149 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57150 fi; \
57151 else \
57152 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57153 fi; \
57154 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57156 $(NORMAL_TARGET_EXPORTS) \
57157 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
57158 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
57159 case $(srcdir) in \
57160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57161 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57163 esac; \
57164 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57165 libsrcdir="$$s/libgomp"; \
57166 rm -f no-such-file || : ; \
57167 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
57168 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57169 --target=${target_alias} $${srcdiroption} \
57170 || exit 1
57171 @endif target-libgomp
57175 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
57176 maybe-configure-stage1-target-libgomp:
57177 @if target-libgomp-bootstrap
57178 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
57179 configure-stage1-target-libgomp:
57180 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
57181 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57182 @r=`${PWD_COMMAND}`; export r; \
57183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57184 TFLAGS="$(STAGE1_TFLAGS)"; \
57185 echo "Checking multilib configuration for libgomp..."; \
57186 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57187 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57188 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57189 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57190 else \
57191 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57192 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57193 fi; \
57194 else \
57195 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57196 fi; \
57197 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57198 $(NORMAL_TARGET_EXPORTS) \
57199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57201 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57202 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
57203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57204 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57205 case $(srcdir) in \
57206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57207 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57209 esac; \
57210 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57211 libsrcdir="$$s/libgomp"; \
57212 $(SHELL) $${libsrcdir}/configure \
57213 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57214 --target=${target_alias} $${srcdiroption} \
57215 $(STAGE1_CONFIGURE_FLAGS)
57216 @endif target-libgomp-bootstrap
57218 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
57219 maybe-configure-stage2-target-libgomp:
57220 @if target-libgomp-bootstrap
57221 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
57222 configure-stage2-target-libgomp:
57223 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
57224 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57225 @r=`${PWD_COMMAND}`; export r; \
57226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57227 TFLAGS="$(STAGE2_TFLAGS)"; \
57228 echo "Checking multilib configuration for libgomp..."; \
57229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57230 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57231 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57232 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57233 else \
57234 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57235 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57236 fi; \
57237 else \
57238 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57239 fi; \
57240 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57241 $(NORMAL_TARGET_EXPORTS) \
57243 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57245 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57246 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
57247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57248 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57249 case $(srcdir) in \
57250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57251 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57253 esac; \
57254 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57255 libsrcdir="$$s/libgomp"; \
57256 $(SHELL) $${libsrcdir}/configure \
57257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57258 --target=${target_alias} $${srcdiroption} \
57259 --with-build-libsubdir=$(HOST_SUBDIR) \
57260 $(STAGE2_CONFIGURE_FLAGS)
57261 @endif target-libgomp-bootstrap
57263 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
57264 maybe-configure-stage3-target-libgomp:
57265 @if target-libgomp-bootstrap
57266 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
57267 configure-stage3-target-libgomp:
57268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
57269 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57270 @r=`${PWD_COMMAND}`; export r; \
57271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57272 TFLAGS="$(STAGE3_TFLAGS)"; \
57273 echo "Checking multilib configuration for libgomp..."; \
57274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57275 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57276 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57277 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57278 else \
57279 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57280 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57281 fi; \
57282 else \
57283 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57284 fi; \
57285 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57286 $(NORMAL_TARGET_EXPORTS) \
57288 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57291 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
57292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57293 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57294 case $(srcdir) in \
57295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57296 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57298 esac; \
57299 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57300 libsrcdir="$$s/libgomp"; \
57301 $(SHELL) $${libsrcdir}/configure \
57302 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57303 --target=${target_alias} $${srcdiroption} \
57304 --with-build-libsubdir=$(HOST_SUBDIR) \
57305 $(STAGE3_CONFIGURE_FLAGS)
57306 @endif target-libgomp-bootstrap
57308 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
57309 maybe-configure-stage4-target-libgomp:
57310 @if target-libgomp-bootstrap
57311 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
57312 configure-stage4-target-libgomp:
57313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
57314 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57315 @r=`${PWD_COMMAND}`; export r; \
57316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57317 TFLAGS="$(STAGE4_TFLAGS)"; \
57318 echo "Checking multilib configuration for libgomp..."; \
57319 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57320 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57321 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57322 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57323 else \
57324 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57325 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57326 fi; \
57327 else \
57328 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57329 fi; \
57330 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57331 $(NORMAL_TARGET_EXPORTS) \
57333 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57334 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57335 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57336 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
57337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57338 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57339 case $(srcdir) in \
57340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57341 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57343 esac; \
57344 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57345 libsrcdir="$$s/libgomp"; \
57346 $(SHELL) $${libsrcdir}/configure \
57347 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57348 --target=${target_alias} $${srcdiroption} \
57349 --with-build-libsubdir=$(HOST_SUBDIR) \
57350 $(STAGE4_CONFIGURE_FLAGS)
57351 @endif target-libgomp-bootstrap
57353 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
57354 maybe-configure-stageprofile-target-libgomp:
57355 @if target-libgomp-bootstrap
57356 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
57357 configure-stageprofile-target-libgomp:
57358 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57359 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57360 @r=`${PWD_COMMAND}`; export r; \
57361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57362 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57363 echo "Checking multilib configuration for libgomp..."; \
57364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57365 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57366 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57367 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57368 else \
57369 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57370 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57371 fi; \
57372 else \
57373 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57374 fi; \
57375 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57376 $(NORMAL_TARGET_EXPORTS) \
57378 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57379 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57380 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57381 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
57382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57383 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57384 case $(srcdir) in \
57385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57386 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57388 esac; \
57389 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57390 libsrcdir="$$s/libgomp"; \
57391 $(SHELL) $${libsrcdir}/configure \
57392 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57393 --target=${target_alias} $${srcdiroption} \
57394 --with-build-libsubdir=$(HOST_SUBDIR) \
57395 $(STAGEprofile_CONFIGURE_FLAGS)
57396 @endif target-libgomp-bootstrap
57398 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
57399 maybe-configure-stagefeedback-target-libgomp:
57400 @if target-libgomp-bootstrap
57401 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57402 configure-stagefeedback-target-libgomp:
57403 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57404 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57405 @r=`${PWD_COMMAND}`; export r; \
57406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57407 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57408 echo "Checking multilib configuration for libgomp..."; \
57409 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57410 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57411 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57412 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57413 else \
57414 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57415 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57416 fi; \
57417 else \
57418 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57419 fi; \
57420 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57421 $(NORMAL_TARGET_EXPORTS) \
57423 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57424 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57425 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57426 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
57427 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57428 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57429 case $(srcdir) in \
57430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57431 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57433 esac; \
57434 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57435 libsrcdir="$$s/libgomp"; \
57436 $(SHELL) $${libsrcdir}/configure \
57437 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57438 --target=${target_alias} $${srcdiroption} \
57439 --with-build-libsubdir=$(HOST_SUBDIR) \
57440 $(STAGEfeedback_CONFIGURE_FLAGS)
57441 @endif target-libgomp-bootstrap
57447 .PHONY: all-target-libgomp maybe-all-target-libgomp
57448 maybe-all-target-libgomp:
57449 @if gcc-bootstrap
57450 all-target-libgomp: stage_current
57451 @endif gcc-bootstrap
57452 @if target-libgomp
57453 TARGET-target-libgomp=all
57454 maybe-all-target-libgomp: all-target-libgomp
57455 all-target-libgomp: configure-target-libgomp
57456 @r=`${PWD_COMMAND}`; export r; \
57457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57458 $(NORMAL_TARGET_EXPORTS) \
57459 (cd $(TARGET_SUBDIR)/libgomp && \
57460 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
57461 $(TARGET-target-libgomp))
57462 @endif target-libgomp
57466 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
57467 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
57468 maybe-all-stage1-target-libgomp:
57469 maybe-clean-stage1-target-libgomp:
57470 @if target-libgomp-bootstrap
57471 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
57472 all-stage1: all-stage1-target-libgomp
57473 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
57474 all-stage1-target-libgomp: configure-stage1-target-libgomp
57475 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
57476 @r=`${PWD_COMMAND}`; export r; \
57477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57478 TFLAGS="$(STAGE1_TFLAGS)"; \
57479 $(NORMAL_TARGET_EXPORTS) \
57480 cd $(TARGET_SUBDIR)/libgomp && \
57481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57482 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57483 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57484 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57488 $(EXTRA_TARGET_FLAGS) \
57489 TFLAGS="$(STAGE1_TFLAGS)" \
57490 $(TARGET-stage1-target-libgomp)
57492 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
57493 clean-stage1: clean-stage1-target-libgomp
57494 clean-stage1-target-libgomp:
57495 @if [ $(current_stage) = stage1 ]; then \
57496 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57497 else \
57498 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
57499 $(MAKE) stage1-start; \
57500 fi; \
57501 cd $(TARGET_SUBDIR)/libgomp && \
57502 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57503 clean
57504 @endif target-libgomp-bootstrap
57507 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
57508 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
57509 maybe-all-stage2-target-libgomp:
57510 maybe-clean-stage2-target-libgomp:
57511 @if target-libgomp-bootstrap
57512 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
57513 all-stage2: all-stage2-target-libgomp
57514 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
57515 all-stage2-target-libgomp: configure-stage2-target-libgomp
57516 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
57517 @r=`${PWD_COMMAND}`; export r; \
57518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57519 TFLAGS="$(STAGE2_TFLAGS)"; \
57520 $(NORMAL_TARGET_EXPORTS) \
57522 cd $(TARGET_SUBDIR)/libgomp && \
57523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57524 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57525 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57526 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57530 $(EXTRA_TARGET_FLAGS) \
57531 TFLAGS="$(STAGE2_TFLAGS)" \
57532 $(TARGET-stage2-target-libgomp)
57534 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
57535 clean-stage2: clean-stage2-target-libgomp
57536 clean-stage2-target-libgomp:
57537 @if [ $(current_stage) = stage2 ]; then \
57538 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57539 else \
57540 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
57541 $(MAKE) stage2-start; \
57542 fi; \
57543 cd $(TARGET_SUBDIR)/libgomp && \
57544 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57546 clean
57547 @endif target-libgomp-bootstrap
57550 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
57551 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
57552 maybe-all-stage3-target-libgomp:
57553 maybe-clean-stage3-target-libgomp:
57554 @if target-libgomp-bootstrap
57555 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
57556 all-stage3: all-stage3-target-libgomp
57557 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
57558 all-stage3-target-libgomp: configure-stage3-target-libgomp
57559 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
57560 @r=`${PWD_COMMAND}`; export r; \
57561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57562 TFLAGS="$(STAGE3_TFLAGS)"; \
57563 $(NORMAL_TARGET_EXPORTS) \
57565 cd $(TARGET_SUBDIR)/libgomp && \
57566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57567 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57568 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57569 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57573 $(EXTRA_TARGET_FLAGS) \
57574 TFLAGS="$(STAGE3_TFLAGS)" \
57575 $(TARGET-stage3-target-libgomp)
57577 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
57578 clean-stage3: clean-stage3-target-libgomp
57579 clean-stage3-target-libgomp:
57580 @if [ $(current_stage) = stage3 ]; then \
57581 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57582 else \
57583 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
57584 $(MAKE) stage3-start; \
57585 fi; \
57586 cd $(TARGET_SUBDIR)/libgomp && \
57587 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57589 clean
57590 @endif target-libgomp-bootstrap
57593 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
57594 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
57595 maybe-all-stage4-target-libgomp:
57596 maybe-clean-stage4-target-libgomp:
57597 @if target-libgomp-bootstrap
57598 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
57599 all-stage4: all-stage4-target-libgomp
57600 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
57601 all-stage4-target-libgomp: configure-stage4-target-libgomp
57602 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
57603 @r=`${PWD_COMMAND}`; export r; \
57604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57605 TFLAGS="$(STAGE4_TFLAGS)"; \
57606 $(NORMAL_TARGET_EXPORTS) \
57608 cd $(TARGET_SUBDIR)/libgomp && \
57609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57610 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57616 $(EXTRA_TARGET_FLAGS) \
57617 TFLAGS="$(STAGE4_TFLAGS)" \
57618 $(TARGET-stage4-target-libgomp)
57620 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
57621 clean-stage4: clean-stage4-target-libgomp
57622 clean-stage4-target-libgomp:
57623 @if [ $(current_stage) = stage4 ]; then \
57624 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57625 else \
57626 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
57627 $(MAKE) stage4-start; \
57628 fi; \
57629 cd $(TARGET_SUBDIR)/libgomp && \
57630 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57632 clean
57633 @endif target-libgomp-bootstrap
57636 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
57637 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
57638 maybe-all-stageprofile-target-libgomp:
57639 maybe-clean-stageprofile-target-libgomp:
57640 @if target-libgomp-bootstrap
57641 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
57642 all-stageprofile: all-stageprofile-target-libgomp
57643 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
57644 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
57645 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57646 @r=`${PWD_COMMAND}`; export r; \
57647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57648 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57649 $(NORMAL_TARGET_EXPORTS) \
57651 cd $(TARGET_SUBDIR)/libgomp && \
57652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57653 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57654 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57655 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57659 $(EXTRA_TARGET_FLAGS) \
57660 TFLAGS="$(STAGEprofile_TFLAGS)" \
57661 $(TARGET-stageprofile-target-libgomp)
57663 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
57664 clean-stageprofile: clean-stageprofile-target-libgomp
57665 clean-stageprofile-target-libgomp:
57666 @if [ $(current_stage) = stageprofile ]; then \
57667 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57668 else \
57669 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
57670 $(MAKE) stageprofile-start; \
57671 fi; \
57672 cd $(TARGET_SUBDIR)/libgomp && \
57673 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57675 clean
57676 @endif target-libgomp-bootstrap
57679 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
57680 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
57681 maybe-all-stagefeedback-target-libgomp:
57682 maybe-clean-stagefeedback-target-libgomp:
57683 @if target-libgomp-bootstrap
57684 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
57685 all-stagefeedback: all-stagefeedback-target-libgomp
57686 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
57687 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57688 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57689 @r=`${PWD_COMMAND}`; export r; \
57690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57691 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57692 $(NORMAL_TARGET_EXPORTS) \
57694 cd $(TARGET_SUBDIR)/libgomp && \
57695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57696 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57697 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57698 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57702 $(EXTRA_TARGET_FLAGS) \
57703 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57704 $(TARGET-stagefeedback-target-libgomp)
57706 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
57707 clean-stagefeedback: clean-stagefeedback-target-libgomp
57708 clean-stagefeedback-target-libgomp:
57709 @if [ $(current_stage) = stagefeedback ]; then \
57710 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57711 else \
57712 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
57713 $(MAKE) stagefeedback-start; \
57714 fi; \
57715 cd $(TARGET_SUBDIR)/libgomp && \
57716 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57718 clean
57719 @endif target-libgomp-bootstrap
57726 .PHONY: check-target-libgomp maybe-check-target-libgomp
57727 maybe-check-target-libgomp:
57728 @if target-libgomp
57729 maybe-check-target-libgomp: check-target-libgomp
57731 check-target-libgomp:
57732 @: $(MAKE); $(unstage)
57733 @r=`${PWD_COMMAND}`; export r; \
57734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57735 $(NORMAL_TARGET_EXPORTS) \
57736 (cd $(TARGET_SUBDIR)/libgomp && \
57737 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57739 @endif target-libgomp
57741 .PHONY: install-target-libgomp maybe-install-target-libgomp
57742 maybe-install-target-libgomp:
57743 @if target-libgomp
57744 maybe-install-target-libgomp: install-target-libgomp
57746 install-target-libgomp: installdirs
57747 @: $(MAKE); $(unstage)
57748 @r=`${PWD_COMMAND}`; export r; \
57749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57750 $(NORMAL_TARGET_EXPORTS) \
57751 (cd $(TARGET_SUBDIR)/libgomp && \
57752 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57754 @endif target-libgomp
57756 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
57757 maybe-install-strip-target-libgomp:
57758 @if target-libgomp
57759 maybe-install-strip-target-libgomp: install-strip-target-libgomp
57761 install-strip-target-libgomp: installdirs
57762 @: $(MAKE); $(unstage)
57763 @r=`${PWD_COMMAND}`; export r; \
57764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57765 $(NORMAL_TARGET_EXPORTS) \
57766 (cd $(TARGET_SUBDIR)/libgomp && \
57767 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57769 @endif target-libgomp
57771 # Other targets (info, dvi, pdf, etc.)
57773 .PHONY: maybe-info-target-libgomp info-target-libgomp
57774 maybe-info-target-libgomp:
57775 @if target-libgomp
57776 maybe-info-target-libgomp: info-target-libgomp
57778 info-target-libgomp: \
57779 configure-target-libgomp
57780 @: $(MAKE); $(unstage)
57781 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57782 r=`${PWD_COMMAND}`; export r; \
57783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57784 $(NORMAL_TARGET_EXPORTS) \
57785 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
57786 for flag in $(EXTRA_TARGET_FLAGS); do \
57787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57788 done; \
57789 (cd $(TARGET_SUBDIR)/libgomp && \
57790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57792 "RANLIB=$${RANLIB}" \
57793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57794 info) \
57795 || exit 1
57797 @endif target-libgomp
57799 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
57800 maybe-dvi-target-libgomp:
57801 @if target-libgomp
57802 maybe-dvi-target-libgomp: dvi-target-libgomp
57804 dvi-target-libgomp: \
57805 configure-target-libgomp
57806 @: $(MAKE); $(unstage)
57807 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57808 r=`${PWD_COMMAND}`; export r; \
57809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57810 $(NORMAL_TARGET_EXPORTS) \
57811 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
57812 for flag in $(EXTRA_TARGET_FLAGS); do \
57813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57814 done; \
57815 (cd $(TARGET_SUBDIR)/libgomp && \
57816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57818 "RANLIB=$${RANLIB}" \
57819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57820 dvi) \
57821 || exit 1
57823 @endif target-libgomp
57825 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
57826 maybe-pdf-target-libgomp:
57827 @if target-libgomp
57828 maybe-pdf-target-libgomp: pdf-target-libgomp
57830 pdf-target-libgomp: \
57831 configure-target-libgomp
57832 @: $(MAKE); $(unstage)
57833 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57834 r=`${PWD_COMMAND}`; export r; \
57835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57836 $(NORMAL_TARGET_EXPORTS) \
57837 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
57838 for flag in $(EXTRA_TARGET_FLAGS); do \
57839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57840 done; \
57841 (cd $(TARGET_SUBDIR)/libgomp && \
57842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57844 "RANLIB=$${RANLIB}" \
57845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57846 pdf) \
57847 || exit 1
57849 @endif target-libgomp
57851 .PHONY: maybe-html-target-libgomp html-target-libgomp
57852 maybe-html-target-libgomp:
57853 @if target-libgomp
57854 maybe-html-target-libgomp: html-target-libgomp
57856 html-target-libgomp: \
57857 configure-target-libgomp
57858 @: $(MAKE); $(unstage)
57859 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57860 r=`${PWD_COMMAND}`; export r; \
57861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57862 $(NORMAL_TARGET_EXPORTS) \
57863 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
57864 for flag in $(EXTRA_TARGET_FLAGS); do \
57865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57866 done; \
57867 (cd $(TARGET_SUBDIR)/libgomp && \
57868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57870 "RANLIB=$${RANLIB}" \
57871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57872 html) \
57873 || exit 1
57875 @endif target-libgomp
57877 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
57878 maybe-TAGS-target-libgomp:
57879 @if target-libgomp
57880 maybe-TAGS-target-libgomp: TAGS-target-libgomp
57882 TAGS-target-libgomp: \
57883 configure-target-libgomp
57884 @: $(MAKE); $(unstage)
57885 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57886 r=`${PWD_COMMAND}`; export r; \
57887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57888 $(NORMAL_TARGET_EXPORTS) \
57889 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
57890 for flag in $(EXTRA_TARGET_FLAGS); do \
57891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57892 done; \
57893 (cd $(TARGET_SUBDIR)/libgomp && \
57894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57896 "RANLIB=$${RANLIB}" \
57897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57898 TAGS) \
57899 || exit 1
57901 @endif target-libgomp
57903 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
57904 maybe-install-info-target-libgomp:
57905 @if target-libgomp
57906 maybe-install-info-target-libgomp: install-info-target-libgomp
57908 install-info-target-libgomp: \
57909 configure-target-libgomp \
57910 info-target-libgomp
57911 @: $(MAKE); $(unstage)
57912 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57913 r=`${PWD_COMMAND}`; export r; \
57914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57915 $(NORMAL_TARGET_EXPORTS) \
57916 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
57917 for flag in $(EXTRA_TARGET_FLAGS); do \
57918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57919 done; \
57920 (cd $(TARGET_SUBDIR)/libgomp && \
57921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57923 "RANLIB=$${RANLIB}" \
57924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57925 install-info) \
57926 || exit 1
57928 @endif target-libgomp
57930 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
57931 maybe-install-pdf-target-libgomp:
57932 @if target-libgomp
57933 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
57935 install-pdf-target-libgomp: \
57936 configure-target-libgomp \
57937 pdf-target-libgomp
57938 @: $(MAKE); $(unstage)
57939 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57940 r=`${PWD_COMMAND}`; export r; \
57941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57942 $(NORMAL_TARGET_EXPORTS) \
57943 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
57944 for flag in $(EXTRA_TARGET_FLAGS); do \
57945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57946 done; \
57947 (cd $(TARGET_SUBDIR)/libgomp && \
57948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57950 "RANLIB=$${RANLIB}" \
57951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57952 install-pdf) \
57953 || exit 1
57955 @endif target-libgomp
57957 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
57958 maybe-install-html-target-libgomp:
57959 @if target-libgomp
57960 maybe-install-html-target-libgomp: install-html-target-libgomp
57962 install-html-target-libgomp: \
57963 configure-target-libgomp \
57964 html-target-libgomp
57965 @: $(MAKE); $(unstage)
57966 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57967 r=`${PWD_COMMAND}`; export r; \
57968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57969 $(NORMAL_TARGET_EXPORTS) \
57970 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
57971 for flag in $(EXTRA_TARGET_FLAGS); do \
57972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57973 done; \
57974 (cd $(TARGET_SUBDIR)/libgomp && \
57975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57977 "RANLIB=$${RANLIB}" \
57978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57979 install-html) \
57980 || exit 1
57982 @endif target-libgomp
57984 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
57985 maybe-installcheck-target-libgomp:
57986 @if target-libgomp
57987 maybe-installcheck-target-libgomp: installcheck-target-libgomp
57989 installcheck-target-libgomp: \
57990 configure-target-libgomp
57991 @: $(MAKE); $(unstage)
57992 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57993 r=`${PWD_COMMAND}`; export r; \
57994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57995 $(NORMAL_TARGET_EXPORTS) \
57996 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
57997 for flag in $(EXTRA_TARGET_FLAGS); do \
57998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57999 done; \
58000 (cd $(TARGET_SUBDIR)/libgomp && \
58001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58003 "RANLIB=$${RANLIB}" \
58004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58005 installcheck) \
58006 || exit 1
58008 @endif target-libgomp
58010 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
58011 maybe-mostlyclean-target-libgomp:
58012 @if target-libgomp
58013 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
58015 mostlyclean-target-libgomp:
58016 @: $(MAKE); $(unstage)
58017 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58018 r=`${PWD_COMMAND}`; export r; \
58019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58020 $(NORMAL_TARGET_EXPORTS) \
58021 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
58022 for flag in $(EXTRA_TARGET_FLAGS); do \
58023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58024 done; \
58025 (cd $(TARGET_SUBDIR)/libgomp && \
58026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58028 "RANLIB=$${RANLIB}" \
58029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58030 mostlyclean) \
58031 || exit 1
58033 @endif target-libgomp
58035 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
58036 maybe-clean-target-libgomp:
58037 @if target-libgomp
58038 maybe-clean-target-libgomp: clean-target-libgomp
58040 clean-target-libgomp:
58041 @: $(MAKE); $(unstage)
58042 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58043 r=`${PWD_COMMAND}`; export r; \
58044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58045 $(NORMAL_TARGET_EXPORTS) \
58046 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
58047 for flag in $(EXTRA_TARGET_FLAGS); do \
58048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58049 done; \
58050 (cd $(TARGET_SUBDIR)/libgomp && \
58051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58053 "RANLIB=$${RANLIB}" \
58054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58055 clean) \
58056 || exit 1
58058 @endif target-libgomp
58060 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
58061 maybe-distclean-target-libgomp:
58062 @if target-libgomp
58063 maybe-distclean-target-libgomp: distclean-target-libgomp
58065 distclean-target-libgomp:
58066 @: $(MAKE); $(unstage)
58067 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58068 r=`${PWD_COMMAND}`; export r; \
58069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58070 $(NORMAL_TARGET_EXPORTS) \
58071 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
58072 for flag in $(EXTRA_TARGET_FLAGS); do \
58073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58074 done; \
58075 (cd $(TARGET_SUBDIR)/libgomp && \
58076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58078 "RANLIB=$${RANLIB}" \
58079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58080 distclean) \
58081 || exit 1
58083 @endif target-libgomp
58085 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
58086 maybe-maintainer-clean-target-libgomp:
58087 @if target-libgomp
58088 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
58090 maintainer-clean-target-libgomp:
58091 @: $(MAKE); $(unstage)
58092 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58093 r=`${PWD_COMMAND}`; export r; \
58094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58095 $(NORMAL_TARGET_EXPORTS) \
58096 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
58097 for flag in $(EXTRA_TARGET_FLAGS); do \
58098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58099 done; \
58100 (cd $(TARGET_SUBDIR)/libgomp && \
58101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58103 "RANLIB=$${RANLIB}" \
58104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58105 maintainer-clean) \
58106 || exit 1
58108 @endif target-libgomp
58112 # ----------
58113 # GCC module
58114 # ----------
58116 @if gcc-no-bootstrap
58117 .PHONY: cross
58118 cross: all-build all-gas all-ld
58119 @r=`${PWD_COMMAND}`; export r; \
58120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58121 $(HOST_EXPORTS) \
58122 echo "Building the C and C++ compiler"; \
58123 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
58124 @r=`${PWD_COMMAND}`; export r; \
58125 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
58126 echo "Building runtime libraries"; \
58127 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
58128 @endif gcc-no-bootstrap
58130 @if gcc
58132 .PHONY: check-gcc-c check-c
58133 check-gcc-c:
58134 r=`${PWD_COMMAND}`; export r; \
58135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58136 $(HOST_EXPORTS) \
58137 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
58138 check-c: check-gcc-c
58140 .PHONY: check-gcc-c++ check-c++
58141 check-gcc-c++:
58142 r=`${PWD_COMMAND}`; export r; \
58143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58144 $(HOST_EXPORTS) \
58145 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
58146 check-c++: check-gcc-c++ check-target-libstdc++-v3
58148 .PHONY: check-gcc-fortran check-fortran
58149 check-gcc-fortran:
58150 r=`${PWD_COMMAND}`; export r; \
58151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58152 $(HOST_EXPORTS) \
58153 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
58154 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
58156 .PHONY: check-gcc-java check-java
58157 check-gcc-java:
58158 r=`${PWD_COMMAND}`; export r; \
58159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58160 $(HOST_EXPORTS) \
58161 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
58162 check-java: check-gcc-java check-target-libjava
58164 .PHONY: check-gcc-ada check-ada
58165 check-gcc-ada:
58166 r=`${PWD_COMMAND}`; export r; \
58167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58168 $(HOST_EXPORTS) \
58169 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
58170 check-ada: check-gcc-ada check-target-libada
58172 .PHONY: check-gcc-objc check-objc
58173 check-gcc-objc:
58174 r=`${PWD_COMMAND}`; export r; \
58175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58176 $(HOST_EXPORTS) \
58177 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
58178 check-objc: check-gcc-objc check-target-libobjc
58180 .PHONY: check-gcc-obj-c++ check-obj-c++
58181 check-gcc-obj-c++:
58182 r=`${PWD_COMMAND}`; export r; \
58183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58184 $(HOST_EXPORTS) \
58185 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
58186 check-obj-c++: check-gcc-obj-c++
58188 .PHONY: check-gcc-go check-go
58189 check-gcc-go:
58190 r=`${PWD_COMMAND}`; export r; \
58191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58192 $(HOST_EXPORTS) \
58193 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
58194 check-go: check-gcc-go check-target-libgo
58197 # Install the gcc headers files, but not the fixed include files,
58198 # which Cygnus is not allowed to distribute. This rule is very
58199 # dependent on the workings of the gcc Makefile.in.
58200 .PHONY: gcc-no-fixedincludes
58201 gcc-no-fixedincludes:
58202 @if [ -f ./gcc/Makefile ]; then \
58203 rm -rf gcc/tmp-include; \
58204 mv gcc/include gcc/tmp-include 2>/dev/null; \
58205 mkdir gcc/include; \
58206 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
58207 touch gcc/stmp-fixinc gcc/include/fixed; \
58208 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
58209 r=`${PWD_COMMAND}`; export r; \
58210 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
58211 $(HOST_EXPORTS) \
58212 (cd ./gcc && \
58213 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
58214 rm -rf gcc/include; \
58215 mv gcc/tmp-include gcc/include 2>/dev/null; \
58216 else true; fi
58217 @endif gcc
58219 # ---------------------
58220 # GCC bootstrap support
58221 # ---------------------
58223 # We track the current stage (the one in 'gcc') in the stage_current file.
58224 # stage_last instead tracks the stage that was built last. These targets
58225 # are dummy when toplevel bootstrap is not active.
58227 # While making host and target tools, symlinks to the final stage must be
58228 # there, so $(unstage) should be run at various points. To avoid excessive
58229 # recursive invocations of make, we "inline" them using a variable. These
58230 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
58231 # to avoid warnings from the GNU Make job server.
58233 unstage = :
58234 stage = :
58235 current_stage = ""
58237 @if gcc-bootstrap
58238 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
58239 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
58240 current_stage = "`cat stage_current 2> /dev/null`"
58241 @endif gcc-bootstrap
58243 .PHONY: unstage stage
58244 unstage:
58245 @: $(MAKE); $(unstage)
58246 stage:
58247 @: $(MAKE); $(stage)
58249 # Disable commands for lean bootstrap.
58250 LEAN = false
58252 # We name the build directories for the various stages "stage1-gcc",
58253 # "stage2-gcc","stage3-gcc", etc.
58255 # Since the 'compare' process will fail (on debugging information) if any
58256 # directory names are different, we need to link the gcc directory for
58257 # the previous stage to a constant name ('prev-gcc'), and to make the name of
58258 # the build directories constant as well. For the latter, we use naked names
58259 # like 'gcc', because the scripts in that directory assume it. We use
58260 # mv on platforms where symlinks to directories do not work or are not
58261 # reliable.
58263 # 'touch' doesn't work right on some platforms.
58264 STAMP = echo timestamp >
58266 # We only want to compare .o files, so set this!
58267 objext = .o
58270 .PHONY: stage1-start stage1-end
58272 stage1-start::
58273 @: $(MAKE); $(stage); \
58274 echo stage1 > stage_current ; \
58275 echo stage1 > stage_last; \
58276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58277 @if bfd
58278 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
58279 mkdir stage1-bfd; \
58280 mv stage1-bfd bfd
58281 @endif bfd
58282 @if opcodes
58283 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
58284 mkdir stage1-opcodes; \
58285 mv stage1-opcodes opcodes
58286 @endif opcodes
58287 @if binutils
58288 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
58289 mkdir stage1-binutils; \
58290 mv stage1-binutils binutils
58291 @endif binutils
58292 @if gas
58293 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
58294 mkdir stage1-gas; \
58295 mv stage1-gas gas
58296 @endif gas
58297 @if gcc
58298 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
58299 mkdir stage1-gcc; \
58300 mv stage1-gcc gcc
58301 @endif gcc
58302 @if gmp
58303 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
58304 mkdir stage1-gmp; \
58305 mv stage1-gmp gmp
58306 @endif gmp
58307 @if mpfr
58308 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
58309 mkdir stage1-mpfr; \
58310 mv stage1-mpfr mpfr
58311 @endif mpfr
58312 @if mpc
58313 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
58314 mkdir stage1-mpc; \
58315 mv stage1-mpc mpc
58316 @endif mpc
58317 @if ppl
58318 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
58319 mkdir stage1-ppl; \
58320 mv stage1-ppl ppl
58321 @endif ppl
58322 @if cloog
58323 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
58324 mkdir stage1-cloog; \
58325 mv stage1-cloog cloog
58326 @endif cloog
58327 @if libelf
58328 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
58329 mkdir stage1-libelf; \
58330 mv stage1-libelf libelf
58331 @endif libelf
58332 @if gold
58333 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
58334 mkdir stage1-gold; \
58335 mv stage1-gold gold
58336 @endif gold
58337 @if intl
58338 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
58339 mkdir stage1-intl; \
58340 mv stage1-intl intl
58341 @endif intl
58342 @if ld
58343 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
58344 mkdir stage1-ld; \
58345 mv stage1-ld ld
58346 @endif ld
58347 @if libcpp
58348 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
58349 mkdir stage1-libcpp; \
58350 mv stage1-libcpp libcpp
58351 @endif libcpp
58352 @if libdecnumber
58353 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
58354 mkdir stage1-libdecnumber; \
58355 mv stage1-libdecnumber libdecnumber
58356 @endif libdecnumber
58357 @if libiberty
58358 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
58359 mkdir stage1-libiberty; \
58360 mv stage1-libiberty libiberty
58361 @endif libiberty
58362 @if zlib
58363 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
58364 mkdir stage1-zlib; \
58365 mv stage1-zlib zlib
58366 @endif zlib
58367 @if lto-plugin
58368 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
58369 mkdir stage1-lto-plugin; \
58370 mv stage1-lto-plugin lto-plugin
58371 @endif lto-plugin
58372 @[ -d stage1-$(TARGET_SUBDIR) ] || \
58373 mkdir stage1-$(TARGET_SUBDIR); \
58374 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
58376 stage1-end::
58377 @if bfd
58378 @if test -d $(HOST_SUBDIR)/bfd ; then \
58379 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
58381 @endif bfd
58382 @if opcodes
58383 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58384 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
58386 @endif opcodes
58387 @if binutils
58388 @if test -d $(HOST_SUBDIR)/binutils ; then \
58389 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
58391 @endif binutils
58392 @if gas
58393 @if test -d $(HOST_SUBDIR)/gas ; then \
58394 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
58396 @endif gas
58397 @if gcc
58398 @if test -d $(HOST_SUBDIR)/gcc ; then \
58399 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
58401 @endif gcc
58402 @if gmp
58403 @if test -d $(HOST_SUBDIR)/gmp ; then \
58404 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
58406 @endif gmp
58407 @if mpfr
58408 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58409 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
58411 @endif mpfr
58412 @if mpc
58413 @if test -d $(HOST_SUBDIR)/mpc ; then \
58414 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
58416 @endif mpc
58417 @if ppl
58418 @if test -d $(HOST_SUBDIR)/ppl ; then \
58419 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
58421 @endif ppl
58422 @if cloog
58423 @if test -d $(HOST_SUBDIR)/cloog ; then \
58424 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
58426 @endif cloog
58427 @if libelf
58428 @if test -d $(HOST_SUBDIR)/libelf ; then \
58429 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
58431 @endif libelf
58432 @if gold
58433 @if test -d $(HOST_SUBDIR)/gold ; then \
58434 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
58436 @endif gold
58437 @if intl
58438 @if test -d $(HOST_SUBDIR)/intl ; then \
58439 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
58441 @endif intl
58442 @if ld
58443 @if test -d $(HOST_SUBDIR)/ld ; then \
58444 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
58446 @endif ld
58447 @if libcpp
58448 @if test -d $(HOST_SUBDIR)/libcpp ; then \
58449 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
58451 @endif libcpp
58452 @if libdecnumber
58453 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
58454 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
58456 @endif libdecnumber
58457 @if libiberty
58458 @if test -d $(HOST_SUBDIR)/libiberty ; then \
58459 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
58461 @endif libiberty
58462 @if zlib
58463 @if test -d $(HOST_SUBDIR)/zlib ; then \
58464 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
58466 @endif zlib
58467 @if lto-plugin
58468 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
58469 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
58471 @endif lto-plugin
58472 @if test -d $(TARGET_SUBDIR) ; then \
58473 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
58475 rm -f stage_current
58477 # Bubble a bug fix through all the stages up to stage 1. They are
58478 # remade, but not reconfigured. The next stage (if any) will not be
58479 # reconfigured either.
58480 .PHONY: stage1-bubble
58481 stage1-bubble::
58482 @r=`${PWD_COMMAND}`; export r; \
58483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58484 if test -f stage1-lean ; then \
58485 echo Skipping rebuild of stage1 ; \
58486 else \
58487 $(MAKE) stage1-start; \
58488 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
58491 .PHONY: all-stage1 clean-stage1
58492 do-clean: clean-stage1
58494 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58495 # only possibility, but now it conflicts with no-bootstrap rules
58496 @if gcc-bootstrap
58501 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58503 .PHONY: distclean-stage1
58504 distclean-stage1::
58505 @: $(MAKE); $(stage)
58506 @test "`cat stage_last`" != stage1 || rm -f stage_last
58507 rm -rf stage1-*
58510 @endif gcc-bootstrap
58513 .PHONY: stage2-start stage2-end
58515 stage2-start::
58516 @: $(MAKE); $(stage); \
58517 echo stage2 > stage_current ; \
58518 echo stage2 > stage_last; \
58519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58520 @if bfd
58521 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
58522 mkdir stage2-bfd; \
58523 mv stage2-bfd bfd ; \
58524 mv stage1-bfd prev-bfd || test -f stage1-lean
58525 @endif bfd
58526 @if opcodes
58527 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
58528 mkdir stage2-opcodes; \
58529 mv stage2-opcodes opcodes ; \
58530 mv stage1-opcodes prev-opcodes || test -f stage1-lean
58531 @endif opcodes
58532 @if binutils
58533 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
58534 mkdir stage2-binutils; \
58535 mv stage2-binutils binutils ; \
58536 mv stage1-binutils prev-binutils || test -f stage1-lean
58537 @endif binutils
58538 @if gas
58539 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
58540 mkdir stage2-gas; \
58541 mv stage2-gas gas ; \
58542 mv stage1-gas prev-gas || test -f stage1-lean
58543 @endif gas
58544 @if gcc
58545 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
58546 mkdir stage2-gcc; \
58547 mv stage2-gcc gcc ; \
58548 mv stage1-gcc prev-gcc || test -f stage1-lean
58549 @endif gcc
58550 @if gmp
58551 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
58552 mkdir stage2-gmp; \
58553 mv stage2-gmp gmp ; \
58554 mv stage1-gmp prev-gmp || test -f stage1-lean
58555 @endif gmp
58556 @if mpfr
58557 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
58558 mkdir stage2-mpfr; \
58559 mv stage2-mpfr mpfr ; \
58560 mv stage1-mpfr prev-mpfr || test -f stage1-lean
58561 @endif mpfr
58562 @if mpc
58563 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
58564 mkdir stage2-mpc; \
58565 mv stage2-mpc mpc ; \
58566 mv stage1-mpc prev-mpc || test -f stage1-lean
58567 @endif mpc
58568 @if ppl
58569 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
58570 mkdir stage2-ppl; \
58571 mv stage2-ppl ppl ; \
58572 mv stage1-ppl prev-ppl || test -f stage1-lean
58573 @endif ppl
58574 @if cloog
58575 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
58576 mkdir stage2-cloog; \
58577 mv stage2-cloog cloog ; \
58578 mv stage1-cloog prev-cloog || test -f stage1-lean
58579 @endif cloog
58580 @if libelf
58581 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
58582 mkdir stage2-libelf; \
58583 mv stage2-libelf libelf ; \
58584 mv stage1-libelf prev-libelf || test -f stage1-lean
58585 @endif libelf
58586 @if gold
58587 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
58588 mkdir stage2-gold; \
58589 mv stage2-gold gold ; \
58590 mv stage1-gold prev-gold || test -f stage1-lean
58591 @endif gold
58592 @if intl
58593 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
58594 mkdir stage2-intl; \
58595 mv stage2-intl intl ; \
58596 mv stage1-intl prev-intl || test -f stage1-lean
58597 @endif intl
58598 @if ld
58599 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
58600 mkdir stage2-ld; \
58601 mv stage2-ld ld ; \
58602 mv stage1-ld prev-ld || test -f stage1-lean
58603 @endif ld
58604 @if libcpp
58605 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
58606 mkdir stage2-libcpp; \
58607 mv stage2-libcpp libcpp ; \
58608 mv stage1-libcpp prev-libcpp || test -f stage1-lean
58609 @endif libcpp
58610 @if libdecnumber
58611 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
58612 mkdir stage2-libdecnumber; \
58613 mv stage2-libdecnumber libdecnumber ; \
58614 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
58615 @endif libdecnumber
58616 @if libiberty
58617 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
58618 mkdir stage2-libiberty; \
58619 mv stage2-libiberty libiberty ; \
58620 mv stage1-libiberty prev-libiberty || test -f stage1-lean
58621 @endif libiberty
58622 @if zlib
58623 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
58624 mkdir stage2-zlib; \
58625 mv stage2-zlib zlib ; \
58626 mv stage1-zlib prev-zlib || test -f stage1-lean
58627 @endif zlib
58628 @if lto-plugin
58629 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
58630 mkdir stage2-lto-plugin; \
58631 mv stage2-lto-plugin lto-plugin ; \
58632 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
58633 @endif lto-plugin
58634 @[ -d stage2-$(TARGET_SUBDIR) ] || \
58635 mkdir stage2-$(TARGET_SUBDIR); \
58636 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
58637 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
58639 stage2-end::
58640 @if bfd
58641 @if test -d $(HOST_SUBDIR)/bfd ; then \
58642 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
58643 mv prev-bfd stage1-bfd ; : ; \
58645 @endif bfd
58646 @if opcodes
58647 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58648 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
58649 mv prev-opcodes stage1-opcodes ; : ; \
58651 @endif opcodes
58652 @if binutils
58653 @if test -d $(HOST_SUBDIR)/binutils ; then \
58654 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
58655 mv prev-binutils stage1-binutils ; : ; \
58657 @endif binutils
58658 @if gas
58659 @if test -d $(HOST_SUBDIR)/gas ; then \
58660 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
58661 mv prev-gas stage1-gas ; : ; \
58663 @endif gas
58664 @if gcc
58665 @if test -d $(HOST_SUBDIR)/gcc ; then \
58666 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
58667 mv prev-gcc stage1-gcc ; : ; \
58669 @endif gcc
58670 @if gmp
58671 @if test -d $(HOST_SUBDIR)/gmp ; then \
58672 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
58673 mv prev-gmp stage1-gmp ; : ; \
58675 @endif gmp
58676 @if mpfr
58677 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58678 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
58679 mv prev-mpfr stage1-mpfr ; : ; \
58681 @endif mpfr
58682 @if mpc
58683 @if test -d $(HOST_SUBDIR)/mpc ; then \
58684 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
58685 mv prev-mpc stage1-mpc ; : ; \
58687 @endif mpc
58688 @if ppl
58689 @if test -d $(HOST_SUBDIR)/ppl ; then \
58690 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
58691 mv prev-ppl stage1-ppl ; : ; \
58693 @endif ppl
58694 @if cloog
58695 @if test -d $(HOST_SUBDIR)/cloog ; then \
58696 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
58697 mv prev-cloog stage1-cloog ; : ; \
58699 @endif cloog
58700 @if libelf
58701 @if test -d $(HOST_SUBDIR)/libelf ; then \
58702 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
58703 mv prev-libelf stage1-libelf ; : ; \
58705 @endif libelf
58706 @if gold
58707 @if test -d $(HOST_SUBDIR)/gold ; then \
58708 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
58709 mv prev-gold stage1-gold ; : ; \
58711 @endif gold
58712 @if intl
58713 @if test -d $(HOST_SUBDIR)/intl ; then \
58714 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
58715 mv prev-intl stage1-intl ; : ; \
58717 @endif intl
58718 @if ld
58719 @if test -d $(HOST_SUBDIR)/ld ; then \
58720 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
58721 mv prev-ld stage1-ld ; : ; \
58723 @endif ld
58724 @if libcpp
58725 @if test -d $(HOST_SUBDIR)/libcpp ; then \
58726 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
58727 mv prev-libcpp stage1-libcpp ; : ; \
58729 @endif libcpp
58730 @if libdecnumber
58731 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
58732 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
58733 mv prev-libdecnumber stage1-libdecnumber ; : ; \
58735 @endif libdecnumber
58736 @if libiberty
58737 @if test -d $(HOST_SUBDIR)/libiberty ; then \
58738 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
58739 mv prev-libiberty stage1-libiberty ; : ; \
58741 @endif libiberty
58742 @if zlib
58743 @if test -d $(HOST_SUBDIR)/zlib ; then \
58744 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
58745 mv prev-zlib stage1-zlib ; : ; \
58747 @endif zlib
58748 @if lto-plugin
58749 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
58750 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
58751 mv prev-lto-plugin stage1-lto-plugin ; : ; \
58753 @endif lto-plugin
58754 @if test -d $(TARGET_SUBDIR) ; then \
58755 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
58756 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
58758 rm -f stage_current
58760 # Bubble a bug fix through all the stages up to stage 2. They are
58761 # remade, but not reconfigured. The next stage (if any) will not be
58762 # reconfigured either.
58763 .PHONY: stage2-bubble
58764 stage2-bubble:: stage1-bubble
58765 @r=`${PWD_COMMAND}`; export r; \
58766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58767 if test -f stage2-lean || test -f stage1-lean ; then \
58768 echo Skipping rebuild of stage2 ; \
58769 else \
58770 $(MAKE) stage2-start; \
58771 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
58774 .PHONY: all-stage2 clean-stage2
58775 do-clean: clean-stage2
58777 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58778 # only possibility, but now it conflicts with no-bootstrap rules
58779 @if gcc-bootstrap
58783 .PHONY: bootstrap2 bootstrap2-lean
58784 bootstrap2:
58785 echo stage2 > stage_final
58786 @r=`${PWD_COMMAND}`; export r; \
58787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
58789 @: $(MAKE); $(unstage)
58790 @r=`${PWD_COMMAND}`; export r; \
58791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58792 TFLAGS="$(STAGE2_TFLAGS)"; \
58793 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58795 bootstrap2-lean:
58796 echo stage2 > stage_final
58797 @r=`${PWD_COMMAND}`; export r; \
58798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
58800 @: $(MAKE); $(unstage)
58801 @r=`${PWD_COMMAND}`; export r; \
58802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58803 TFLAGS="$(STAGE2_TFLAGS)"; \
58804 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58807 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58808 distclean-stage1:: distclean-stage2
58809 .PHONY: distclean-stage2
58810 distclean-stage2::
58811 @: $(MAKE); $(stage)
58812 @test "`cat stage_last`" != stage2 || rm -f stage_last
58813 rm -rf stage2-*
58816 @endif gcc-bootstrap
58819 .PHONY: stage3-start stage3-end
58821 stage3-start::
58822 @: $(MAKE); $(stage); \
58823 echo stage3 > stage_current ; \
58824 echo stage3 > stage_last; \
58825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58826 @if bfd
58827 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
58828 mkdir stage3-bfd; \
58829 mv stage3-bfd bfd ; \
58830 mv stage2-bfd prev-bfd || test -f stage2-lean
58831 @endif bfd
58832 @if opcodes
58833 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
58834 mkdir stage3-opcodes; \
58835 mv stage3-opcodes opcodes ; \
58836 mv stage2-opcodes prev-opcodes || test -f stage2-lean
58837 @endif opcodes
58838 @if binutils
58839 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
58840 mkdir stage3-binutils; \
58841 mv stage3-binutils binutils ; \
58842 mv stage2-binutils prev-binutils || test -f stage2-lean
58843 @endif binutils
58844 @if gas
58845 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
58846 mkdir stage3-gas; \
58847 mv stage3-gas gas ; \
58848 mv stage2-gas prev-gas || test -f stage2-lean
58849 @endif gas
58850 @if gcc
58851 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
58852 mkdir stage3-gcc; \
58853 mv stage3-gcc gcc ; \
58854 mv stage2-gcc prev-gcc || test -f stage2-lean
58855 @endif gcc
58856 @if gmp
58857 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
58858 mkdir stage3-gmp; \
58859 mv stage3-gmp gmp ; \
58860 mv stage2-gmp prev-gmp || test -f stage2-lean
58861 @endif gmp
58862 @if mpfr
58863 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
58864 mkdir stage3-mpfr; \
58865 mv stage3-mpfr mpfr ; \
58866 mv stage2-mpfr prev-mpfr || test -f stage2-lean
58867 @endif mpfr
58868 @if mpc
58869 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
58870 mkdir stage3-mpc; \
58871 mv stage3-mpc mpc ; \
58872 mv stage2-mpc prev-mpc || test -f stage2-lean
58873 @endif mpc
58874 @if ppl
58875 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
58876 mkdir stage3-ppl; \
58877 mv stage3-ppl ppl ; \
58878 mv stage2-ppl prev-ppl || test -f stage2-lean
58879 @endif ppl
58880 @if cloog
58881 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
58882 mkdir stage3-cloog; \
58883 mv stage3-cloog cloog ; \
58884 mv stage2-cloog prev-cloog || test -f stage2-lean
58885 @endif cloog
58886 @if libelf
58887 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
58888 mkdir stage3-libelf; \
58889 mv stage3-libelf libelf ; \
58890 mv stage2-libelf prev-libelf || test -f stage2-lean
58891 @endif libelf
58892 @if gold
58893 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
58894 mkdir stage3-gold; \
58895 mv stage3-gold gold ; \
58896 mv stage2-gold prev-gold || test -f stage2-lean
58897 @endif gold
58898 @if intl
58899 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
58900 mkdir stage3-intl; \
58901 mv stage3-intl intl ; \
58902 mv stage2-intl prev-intl || test -f stage2-lean
58903 @endif intl
58904 @if ld
58905 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
58906 mkdir stage3-ld; \
58907 mv stage3-ld ld ; \
58908 mv stage2-ld prev-ld || test -f stage2-lean
58909 @endif ld
58910 @if libcpp
58911 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
58912 mkdir stage3-libcpp; \
58913 mv stage3-libcpp libcpp ; \
58914 mv stage2-libcpp prev-libcpp || test -f stage2-lean
58915 @endif libcpp
58916 @if libdecnumber
58917 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
58918 mkdir stage3-libdecnumber; \
58919 mv stage3-libdecnumber libdecnumber ; \
58920 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
58921 @endif libdecnumber
58922 @if libiberty
58923 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
58924 mkdir stage3-libiberty; \
58925 mv stage3-libiberty libiberty ; \
58926 mv stage2-libiberty prev-libiberty || test -f stage2-lean
58927 @endif libiberty
58928 @if zlib
58929 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
58930 mkdir stage3-zlib; \
58931 mv stage3-zlib zlib ; \
58932 mv stage2-zlib prev-zlib || test -f stage2-lean
58933 @endif zlib
58934 @if lto-plugin
58935 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
58936 mkdir stage3-lto-plugin; \
58937 mv stage3-lto-plugin lto-plugin ; \
58938 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
58939 @endif lto-plugin
58940 @[ -d stage3-$(TARGET_SUBDIR) ] || \
58941 mkdir stage3-$(TARGET_SUBDIR); \
58942 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
58943 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
58945 stage3-end::
58946 @if bfd
58947 @if test -d $(HOST_SUBDIR)/bfd ; then \
58948 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
58949 mv prev-bfd stage2-bfd ; : ; \
58951 @endif bfd
58952 @if opcodes
58953 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58954 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
58955 mv prev-opcodes stage2-opcodes ; : ; \
58957 @endif opcodes
58958 @if binutils
58959 @if test -d $(HOST_SUBDIR)/binutils ; then \
58960 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
58961 mv prev-binutils stage2-binutils ; : ; \
58963 @endif binutils
58964 @if gas
58965 @if test -d $(HOST_SUBDIR)/gas ; then \
58966 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
58967 mv prev-gas stage2-gas ; : ; \
58969 @endif gas
58970 @if gcc
58971 @if test -d $(HOST_SUBDIR)/gcc ; then \
58972 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
58973 mv prev-gcc stage2-gcc ; : ; \
58975 @endif gcc
58976 @if gmp
58977 @if test -d $(HOST_SUBDIR)/gmp ; then \
58978 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
58979 mv prev-gmp stage2-gmp ; : ; \
58981 @endif gmp
58982 @if mpfr
58983 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58984 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
58985 mv prev-mpfr stage2-mpfr ; : ; \
58987 @endif mpfr
58988 @if mpc
58989 @if test -d $(HOST_SUBDIR)/mpc ; then \
58990 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
58991 mv prev-mpc stage2-mpc ; : ; \
58993 @endif mpc
58994 @if ppl
58995 @if test -d $(HOST_SUBDIR)/ppl ; then \
58996 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
58997 mv prev-ppl stage2-ppl ; : ; \
58999 @endif ppl
59000 @if cloog
59001 @if test -d $(HOST_SUBDIR)/cloog ; then \
59002 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
59003 mv prev-cloog stage2-cloog ; : ; \
59005 @endif cloog
59006 @if libelf
59007 @if test -d $(HOST_SUBDIR)/libelf ; then \
59008 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
59009 mv prev-libelf stage2-libelf ; : ; \
59011 @endif libelf
59012 @if gold
59013 @if test -d $(HOST_SUBDIR)/gold ; then \
59014 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
59015 mv prev-gold stage2-gold ; : ; \
59017 @endif gold
59018 @if intl
59019 @if test -d $(HOST_SUBDIR)/intl ; then \
59020 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
59021 mv prev-intl stage2-intl ; : ; \
59023 @endif intl
59024 @if ld
59025 @if test -d $(HOST_SUBDIR)/ld ; then \
59026 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
59027 mv prev-ld stage2-ld ; : ; \
59029 @endif ld
59030 @if libcpp
59031 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59032 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
59033 mv prev-libcpp stage2-libcpp ; : ; \
59035 @endif libcpp
59036 @if libdecnumber
59037 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59038 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
59039 mv prev-libdecnumber stage2-libdecnumber ; : ; \
59041 @endif libdecnumber
59042 @if libiberty
59043 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59044 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
59045 mv prev-libiberty stage2-libiberty ; : ; \
59047 @endif libiberty
59048 @if zlib
59049 @if test -d $(HOST_SUBDIR)/zlib ; then \
59050 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
59051 mv prev-zlib stage2-zlib ; : ; \
59053 @endif zlib
59054 @if lto-plugin
59055 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59056 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
59057 mv prev-lto-plugin stage2-lto-plugin ; : ; \
59059 @endif lto-plugin
59060 @if test -d $(TARGET_SUBDIR) ; then \
59061 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
59062 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
59064 rm -f stage_current
59066 # Bubble a bug fix through all the stages up to stage 3. They are
59067 # remade, but not reconfigured. The next stage (if any) will not be
59068 # reconfigured either.
59069 .PHONY: stage3-bubble
59070 stage3-bubble:: stage2-bubble
59071 @r=`${PWD_COMMAND}`; export r; \
59072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59073 if test -f stage3-lean || test -f stage2-lean ; then \
59074 echo Skipping rebuild of stage3 ; \
59075 else \
59076 $(MAKE) stage3-start; \
59077 if $(LEAN); then \
59078 rm -rf stage1-* ; \
59079 $(STAMP) stage1-lean ; \
59080 fi; \
59081 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
59083 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
59085 .PHONY: all-stage3 clean-stage3
59086 do-clean: clean-stage3
59088 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59089 # only possibility, but now it conflicts with no-bootstrap rules
59090 @if gcc-bootstrap
59092 compare:
59093 @r=`${PWD_COMMAND}`; export r; \
59094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59095 if test -f stage2-lean; then \
59096 echo Cannot compare object files as stage 2 was deleted. ; \
59097 exit 0 ; \
59098 fi; \
59099 : $(MAKE); $(stage); \
59100 rm -f .bad_compare ; \
59101 echo Comparing stages 2 and 3 ; \
59102 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
59103 files=`find stage3-* -name "*$(objext)" -print | \
59104 sed -n s,^stage$$sed-,,p` ; \
59105 for file in $${files} ; do \
59106 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
59107 if test ! -f $$f1; then continue; fi; \
59108 $(do-compare) > /dev/null 2>&1; \
59109 if test $$? -eq 1; then \
59110 case $$file in \
59111 @compare_exclusions@) \
59112 echo warning: $$file differs ;; \
59113 *) \
59114 echo $$file differs >> .bad_compare ;; \
59115 esac ; \
59116 fi ; \
59117 done ; \
59118 if [ -f .bad_compare ]; then \
59119 echo "Bootstrap comparison failure!"; \
59120 cat .bad_compare; \
59121 exit 1; \
59122 else \
59123 echo Comparison successful.; \
59124 fi ; \
59125 $(STAMP) compare
59126 if $(LEAN); then \
59127 rm -rf stage2-*; \
59128 $(STAMP) stage2-lean; \
59133 .PHONY: bootstrap bootstrap-lean
59134 bootstrap:
59135 echo stage3 > stage_final
59136 @r=`${PWD_COMMAND}`; export r; \
59137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59138 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
59139 @: $(MAKE); $(unstage)
59140 @r=`${PWD_COMMAND}`; export r; \
59141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59142 TFLAGS="$(STAGE3_TFLAGS)"; \
59143 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59145 bootstrap-lean:
59146 echo stage3 > stage_final
59147 @r=`${PWD_COMMAND}`; export r; \
59148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59149 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
59150 @: $(MAKE); $(unstage)
59151 @r=`${PWD_COMMAND}`; export r; \
59152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59153 TFLAGS="$(STAGE3_TFLAGS)"; \
59154 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59157 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59158 distclean-stage2:: distclean-stage3
59159 .PHONY: distclean-stage3
59160 distclean-stage3::
59161 @: $(MAKE); $(stage)
59162 @test "`cat stage_last`" != stage3 || rm -f stage_last
59163 rm -rf stage3-* compare
59166 .PHONY: cleanstrap
59167 cleanstrap: do-distclean local-clean
59168 echo stage3 > stage_final
59169 @r=`${PWD_COMMAND}`; export r; \
59170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59171 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
59172 @: $(MAKE); $(unstage)
59173 @r=`${PWD_COMMAND}`; export r; \
59174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59175 TFLAGS="$(STAGE3_TFLAGS)"; \
59176 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59178 @endif gcc-bootstrap
59181 .PHONY: stage4-start stage4-end
59183 stage4-start::
59184 @: $(MAKE); $(stage); \
59185 echo stage4 > stage_current ; \
59186 echo stage4 > stage_last; \
59187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59188 @if bfd
59189 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
59190 mkdir stage4-bfd; \
59191 mv stage4-bfd bfd ; \
59192 mv stage3-bfd prev-bfd || test -f stage3-lean
59193 @endif bfd
59194 @if opcodes
59195 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
59196 mkdir stage4-opcodes; \
59197 mv stage4-opcodes opcodes ; \
59198 mv stage3-opcodes prev-opcodes || test -f stage3-lean
59199 @endif opcodes
59200 @if binutils
59201 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
59202 mkdir stage4-binutils; \
59203 mv stage4-binutils binutils ; \
59204 mv stage3-binutils prev-binutils || test -f stage3-lean
59205 @endif binutils
59206 @if gas
59207 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
59208 mkdir stage4-gas; \
59209 mv stage4-gas gas ; \
59210 mv stage3-gas prev-gas || test -f stage3-lean
59211 @endif gas
59212 @if gcc
59213 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
59214 mkdir stage4-gcc; \
59215 mv stage4-gcc gcc ; \
59216 mv stage3-gcc prev-gcc || test -f stage3-lean
59217 @endif gcc
59218 @if gmp
59219 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
59220 mkdir stage4-gmp; \
59221 mv stage4-gmp gmp ; \
59222 mv stage3-gmp prev-gmp || test -f stage3-lean
59223 @endif gmp
59224 @if mpfr
59225 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
59226 mkdir stage4-mpfr; \
59227 mv stage4-mpfr mpfr ; \
59228 mv stage3-mpfr prev-mpfr || test -f stage3-lean
59229 @endif mpfr
59230 @if mpc
59231 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
59232 mkdir stage4-mpc; \
59233 mv stage4-mpc mpc ; \
59234 mv stage3-mpc prev-mpc || test -f stage3-lean
59235 @endif mpc
59236 @if ppl
59237 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
59238 mkdir stage4-ppl; \
59239 mv stage4-ppl ppl ; \
59240 mv stage3-ppl prev-ppl || test -f stage3-lean
59241 @endif ppl
59242 @if cloog
59243 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
59244 mkdir stage4-cloog; \
59245 mv stage4-cloog cloog ; \
59246 mv stage3-cloog prev-cloog || test -f stage3-lean
59247 @endif cloog
59248 @if libelf
59249 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
59250 mkdir stage4-libelf; \
59251 mv stage4-libelf libelf ; \
59252 mv stage3-libelf prev-libelf || test -f stage3-lean
59253 @endif libelf
59254 @if gold
59255 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
59256 mkdir stage4-gold; \
59257 mv stage4-gold gold ; \
59258 mv stage3-gold prev-gold || test -f stage3-lean
59259 @endif gold
59260 @if intl
59261 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
59262 mkdir stage4-intl; \
59263 mv stage4-intl intl ; \
59264 mv stage3-intl prev-intl || test -f stage3-lean
59265 @endif intl
59266 @if ld
59267 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
59268 mkdir stage4-ld; \
59269 mv stage4-ld ld ; \
59270 mv stage3-ld prev-ld || test -f stage3-lean
59271 @endif ld
59272 @if libcpp
59273 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
59274 mkdir stage4-libcpp; \
59275 mv stage4-libcpp libcpp ; \
59276 mv stage3-libcpp prev-libcpp || test -f stage3-lean
59277 @endif libcpp
59278 @if libdecnumber
59279 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
59280 mkdir stage4-libdecnumber; \
59281 mv stage4-libdecnumber libdecnumber ; \
59282 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
59283 @endif libdecnumber
59284 @if libiberty
59285 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
59286 mkdir stage4-libiberty; \
59287 mv stage4-libiberty libiberty ; \
59288 mv stage3-libiberty prev-libiberty || test -f stage3-lean
59289 @endif libiberty
59290 @if zlib
59291 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
59292 mkdir stage4-zlib; \
59293 mv stage4-zlib zlib ; \
59294 mv stage3-zlib prev-zlib || test -f stage3-lean
59295 @endif zlib
59296 @if lto-plugin
59297 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
59298 mkdir stage4-lto-plugin; \
59299 mv stage4-lto-plugin lto-plugin ; \
59300 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
59301 @endif lto-plugin
59302 @[ -d stage4-$(TARGET_SUBDIR) ] || \
59303 mkdir stage4-$(TARGET_SUBDIR); \
59304 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59305 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
59307 stage4-end::
59308 @if bfd
59309 @if test -d $(HOST_SUBDIR)/bfd ; then \
59310 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
59311 mv prev-bfd stage3-bfd ; : ; \
59313 @endif bfd
59314 @if opcodes
59315 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59316 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
59317 mv prev-opcodes stage3-opcodes ; : ; \
59319 @endif opcodes
59320 @if binutils
59321 @if test -d $(HOST_SUBDIR)/binutils ; then \
59322 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
59323 mv prev-binutils stage3-binutils ; : ; \
59325 @endif binutils
59326 @if gas
59327 @if test -d $(HOST_SUBDIR)/gas ; then \
59328 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
59329 mv prev-gas stage3-gas ; : ; \
59331 @endif gas
59332 @if gcc
59333 @if test -d $(HOST_SUBDIR)/gcc ; then \
59334 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
59335 mv prev-gcc stage3-gcc ; : ; \
59337 @endif gcc
59338 @if gmp
59339 @if test -d $(HOST_SUBDIR)/gmp ; then \
59340 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
59341 mv prev-gmp stage3-gmp ; : ; \
59343 @endif gmp
59344 @if mpfr
59345 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59346 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
59347 mv prev-mpfr stage3-mpfr ; : ; \
59349 @endif mpfr
59350 @if mpc
59351 @if test -d $(HOST_SUBDIR)/mpc ; then \
59352 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
59353 mv prev-mpc stage3-mpc ; : ; \
59355 @endif mpc
59356 @if ppl
59357 @if test -d $(HOST_SUBDIR)/ppl ; then \
59358 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
59359 mv prev-ppl stage3-ppl ; : ; \
59361 @endif ppl
59362 @if cloog
59363 @if test -d $(HOST_SUBDIR)/cloog ; then \
59364 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
59365 mv prev-cloog stage3-cloog ; : ; \
59367 @endif cloog
59368 @if libelf
59369 @if test -d $(HOST_SUBDIR)/libelf ; then \
59370 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
59371 mv prev-libelf stage3-libelf ; : ; \
59373 @endif libelf
59374 @if gold
59375 @if test -d $(HOST_SUBDIR)/gold ; then \
59376 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
59377 mv prev-gold stage3-gold ; : ; \
59379 @endif gold
59380 @if intl
59381 @if test -d $(HOST_SUBDIR)/intl ; then \
59382 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
59383 mv prev-intl stage3-intl ; : ; \
59385 @endif intl
59386 @if ld
59387 @if test -d $(HOST_SUBDIR)/ld ; then \
59388 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
59389 mv prev-ld stage3-ld ; : ; \
59391 @endif ld
59392 @if libcpp
59393 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59394 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
59395 mv prev-libcpp stage3-libcpp ; : ; \
59397 @endif libcpp
59398 @if libdecnumber
59399 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59400 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
59401 mv prev-libdecnumber stage3-libdecnumber ; : ; \
59403 @endif libdecnumber
59404 @if libiberty
59405 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59406 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
59407 mv prev-libiberty stage3-libiberty ; : ; \
59409 @endif libiberty
59410 @if zlib
59411 @if test -d $(HOST_SUBDIR)/zlib ; then \
59412 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
59413 mv prev-zlib stage3-zlib ; : ; \
59415 @endif zlib
59416 @if lto-plugin
59417 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59418 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
59419 mv prev-lto-plugin stage3-lto-plugin ; : ; \
59421 @endif lto-plugin
59422 @if test -d $(TARGET_SUBDIR) ; then \
59423 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
59424 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
59426 rm -f stage_current
59428 # Bubble a bug fix through all the stages up to stage 4. They are
59429 # remade, but not reconfigured. The next stage (if any) will not be
59430 # reconfigured either.
59431 .PHONY: stage4-bubble
59432 stage4-bubble:: stage3-bubble
59433 @r=`${PWD_COMMAND}`; export r; \
59434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59435 if test -f stage4-lean || test -f stage3-lean ; then \
59436 echo Skipping rebuild of stage4 ; \
59437 else \
59438 $(MAKE) stage4-start; \
59439 if $(LEAN); then \
59440 rm -rf stage2-* ; \
59441 $(STAMP) stage2-lean ; \
59442 fi; \
59443 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
59445 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
59447 .PHONY: all-stage4 clean-stage4
59448 do-clean: clean-stage4
59450 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59451 # only possibility, but now it conflicts with no-bootstrap rules
59452 @if gcc-bootstrap
59454 compare3:
59455 @r=`${PWD_COMMAND}`; export r; \
59456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59457 if test -f stage3-lean; then \
59458 echo Cannot compare object files as stage 3 was deleted. ; \
59459 exit 0 ; \
59460 fi; \
59461 : $(MAKE); $(stage); \
59462 rm -f .bad_compare ; \
59463 echo Comparing stages 3 and 4 ; \
59464 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
59465 files=`find stage4-* -name "*$(objext)" -print | \
59466 sed -n s,^stage$$sed-,,p` ; \
59467 for file in $${files} ; do \
59468 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
59469 if test ! -f $$f1; then continue; fi; \
59470 $(do-compare3) > /dev/null 2>&1; \
59471 if test $$? -eq 1; then \
59472 case $$file in \
59473 @compare_exclusions@) \
59474 echo warning: $$file differs ;; \
59475 *) \
59476 echo $$file differs >> .bad_compare ;; \
59477 esac ; \
59478 fi ; \
59479 done ; \
59480 if [ -f .bad_compare ]; then \
59481 echo "Bootstrap comparison failure!"; \
59482 cat .bad_compare; \
59483 exit 1; \
59484 else \
59485 echo Comparison successful.; \
59486 fi ; \
59487 $(STAMP) compare3
59488 if $(LEAN); then \
59489 rm -rf stage3-*; \
59490 $(STAMP) stage3-lean; \
59495 .PHONY: bootstrap4 bootstrap4-lean
59496 bootstrap4:
59497 echo stage4 > stage_final
59498 @r=`${PWD_COMMAND}`; export r; \
59499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59500 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
59501 @: $(MAKE); $(unstage)
59502 @r=`${PWD_COMMAND}`; export r; \
59503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59504 TFLAGS="$(STAGE4_TFLAGS)"; \
59505 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59507 bootstrap4-lean:
59508 echo stage4 > stage_final
59509 @r=`${PWD_COMMAND}`; export r; \
59510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59511 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
59512 @: $(MAKE); $(unstage)
59513 @r=`${PWD_COMMAND}`; export r; \
59514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59515 TFLAGS="$(STAGE4_TFLAGS)"; \
59516 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59519 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59520 distclean-stage3:: distclean-stage4
59521 .PHONY: distclean-stage4
59522 distclean-stage4::
59523 @: $(MAKE); $(stage)
59524 @test "`cat stage_last`" != stage4 || rm -f stage_last
59525 rm -rf stage4-* compare3
59528 @endif gcc-bootstrap
59531 .PHONY: stageprofile-start stageprofile-end
59533 stageprofile-start::
59534 @: $(MAKE); $(stage); \
59535 echo stageprofile > stage_current ; \
59536 echo stageprofile > stage_last; \
59537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59538 @if bfd
59539 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
59540 mkdir stageprofile-bfd; \
59541 mv stageprofile-bfd bfd ; \
59542 mv stage1-bfd prev-bfd || test -f stage1-lean
59543 @endif bfd
59544 @if opcodes
59545 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
59546 mkdir stageprofile-opcodes; \
59547 mv stageprofile-opcodes opcodes ; \
59548 mv stage1-opcodes prev-opcodes || test -f stage1-lean
59549 @endif opcodes
59550 @if binutils
59551 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
59552 mkdir stageprofile-binutils; \
59553 mv stageprofile-binutils binutils ; \
59554 mv stage1-binutils prev-binutils || test -f stage1-lean
59555 @endif binutils
59556 @if gas
59557 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
59558 mkdir stageprofile-gas; \
59559 mv stageprofile-gas gas ; \
59560 mv stage1-gas prev-gas || test -f stage1-lean
59561 @endif gas
59562 @if gcc
59563 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
59564 mkdir stageprofile-gcc; \
59565 mv stageprofile-gcc gcc ; \
59566 mv stage1-gcc prev-gcc || test -f stage1-lean
59567 @endif gcc
59568 @if gmp
59569 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
59570 mkdir stageprofile-gmp; \
59571 mv stageprofile-gmp gmp ; \
59572 mv stage1-gmp prev-gmp || test -f stage1-lean
59573 @endif gmp
59574 @if mpfr
59575 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
59576 mkdir stageprofile-mpfr; \
59577 mv stageprofile-mpfr mpfr ; \
59578 mv stage1-mpfr prev-mpfr || test -f stage1-lean
59579 @endif mpfr
59580 @if mpc
59581 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
59582 mkdir stageprofile-mpc; \
59583 mv stageprofile-mpc mpc ; \
59584 mv stage1-mpc prev-mpc || test -f stage1-lean
59585 @endif mpc
59586 @if ppl
59587 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
59588 mkdir stageprofile-ppl; \
59589 mv stageprofile-ppl ppl ; \
59590 mv stage1-ppl prev-ppl || test -f stage1-lean
59591 @endif ppl
59592 @if cloog
59593 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
59594 mkdir stageprofile-cloog; \
59595 mv stageprofile-cloog cloog ; \
59596 mv stage1-cloog prev-cloog || test -f stage1-lean
59597 @endif cloog
59598 @if libelf
59599 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
59600 mkdir stageprofile-libelf; \
59601 mv stageprofile-libelf libelf ; \
59602 mv stage1-libelf prev-libelf || test -f stage1-lean
59603 @endif libelf
59604 @if gold
59605 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
59606 mkdir stageprofile-gold; \
59607 mv stageprofile-gold gold ; \
59608 mv stage1-gold prev-gold || test -f stage1-lean
59609 @endif gold
59610 @if intl
59611 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
59612 mkdir stageprofile-intl; \
59613 mv stageprofile-intl intl ; \
59614 mv stage1-intl prev-intl || test -f stage1-lean
59615 @endif intl
59616 @if ld
59617 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
59618 mkdir stageprofile-ld; \
59619 mv stageprofile-ld ld ; \
59620 mv stage1-ld prev-ld || test -f stage1-lean
59621 @endif ld
59622 @if libcpp
59623 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
59624 mkdir stageprofile-libcpp; \
59625 mv stageprofile-libcpp libcpp ; \
59626 mv stage1-libcpp prev-libcpp || test -f stage1-lean
59627 @endif libcpp
59628 @if libdecnumber
59629 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
59630 mkdir stageprofile-libdecnumber; \
59631 mv stageprofile-libdecnumber libdecnumber ; \
59632 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
59633 @endif libdecnumber
59634 @if libiberty
59635 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
59636 mkdir stageprofile-libiberty; \
59637 mv stageprofile-libiberty libiberty ; \
59638 mv stage1-libiberty prev-libiberty || test -f stage1-lean
59639 @endif libiberty
59640 @if zlib
59641 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
59642 mkdir stageprofile-zlib; \
59643 mv stageprofile-zlib zlib ; \
59644 mv stage1-zlib prev-zlib || test -f stage1-lean
59645 @endif zlib
59646 @if lto-plugin
59647 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
59648 mkdir stageprofile-lto-plugin; \
59649 mv stageprofile-lto-plugin lto-plugin ; \
59650 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
59651 @endif lto-plugin
59652 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
59653 mkdir stageprofile-$(TARGET_SUBDIR); \
59654 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59655 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
59657 stageprofile-end::
59658 @if bfd
59659 @if test -d $(HOST_SUBDIR)/bfd ; then \
59660 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
59661 mv prev-bfd stage1-bfd ; : ; \
59663 @endif bfd
59664 @if opcodes
59665 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59666 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
59667 mv prev-opcodes stage1-opcodes ; : ; \
59669 @endif opcodes
59670 @if binutils
59671 @if test -d $(HOST_SUBDIR)/binutils ; then \
59672 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
59673 mv prev-binutils stage1-binutils ; : ; \
59675 @endif binutils
59676 @if gas
59677 @if test -d $(HOST_SUBDIR)/gas ; then \
59678 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
59679 mv prev-gas stage1-gas ; : ; \
59681 @endif gas
59682 @if gcc
59683 @if test -d $(HOST_SUBDIR)/gcc ; then \
59684 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
59685 mv prev-gcc stage1-gcc ; : ; \
59687 @endif gcc
59688 @if gmp
59689 @if test -d $(HOST_SUBDIR)/gmp ; then \
59690 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
59691 mv prev-gmp stage1-gmp ; : ; \
59693 @endif gmp
59694 @if mpfr
59695 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59696 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
59697 mv prev-mpfr stage1-mpfr ; : ; \
59699 @endif mpfr
59700 @if mpc
59701 @if test -d $(HOST_SUBDIR)/mpc ; then \
59702 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
59703 mv prev-mpc stage1-mpc ; : ; \
59705 @endif mpc
59706 @if ppl
59707 @if test -d $(HOST_SUBDIR)/ppl ; then \
59708 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
59709 mv prev-ppl stage1-ppl ; : ; \
59711 @endif ppl
59712 @if cloog
59713 @if test -d $(HOST_SUBDIR)/cloog ; then \
59714 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
59715 mv prev-cloog stage1-cloog ; : ; \
59717 @endif cloog
59718 @if libelf
59719 @if test -d $(HOST_SUBDIR)/libelf ; then \
59720 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
59721 mv prev-libelf stage1-libelf ; : ; \
59723 @endif libelf
59724 @if gold
59725 @if test -d $(HOST_SUBDIR)/gold ; then \
59726 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
59727 mv prev-gold stage1-gold ; : ; \
59729 @endif gold
59730 @if intl
59731 @if test -d $(HOST_SUBDIR)/intl ; then \
59732 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
59733 mv prev-intl stage1-intl ; : ; \
59735 @endif intl
59736 @if ld
59737 @if test -d $(HOST_SUBDIR)/ld ; then \
59738 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
59739 mv prev-ld stage1-ld ; : ; \
59741 @endif ld
59742 @if libcpp
59743 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59744 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
59745 mv prev-libcpp stage1-libcpp ; : ; \
59747 @endif libcpp
59748 @if libdecnumber
59749 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59750 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
59751 mv prev-libdecnumber stage1-libdecnumber ; : ; \
59753 @endif libdecnumber
59754 @if libiberty
59755 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59756 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
59757 mv prev-libiberty stage1-libiberty ; : ; \
59759 @endif libiberty
59760 @if zlib
59761 @if test -d $(HOST_SUBDIR)/zlib ; then \
59762 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
59763 mv prev-zlib stage1-zlib ; : ; \
59765 @endif zlib
59766 @if lto-plugin
59767 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59768 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
59769 mv prev-lto-plugin stage1-lto-plugin ; : ; \
59771 @endif lto-plugin
59772 @if test -d $(TARGET_SUBDIR) ; then \
59773 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
59774 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
59776 rm -f stage_current
59778 # Bubble a bug fix through all the stages up to stage profile. They are
59779 # remade, but not reconfigured. The next stage (if any) will not be
59780 # reconfigured either.
59781 .PHONY: stageprofile-bubble
59782 stageprofile-bubble:: stage1-bubble
59783 @r=`${PWD_COMMAND}`; export r; \
59784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59785 if test -f stageprofile-lean || test -f stage1-lean ; then \
59786 echo Skipping rebuild of stageprofile ; \
59787 else \
59788 $(MAKE) stageprofile-start; \
59789 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
59792 .PHONY: all-stageprofile clean-stageprofile
59793 do-clean: clean-stageprofile
59795 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59796 # only possibility, but now it conflicts with no-bootstrap rules
59797 @if gcc-bootstrap
59802 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59803 distclean-stage1:: distclean-stageprofile
59804 .PHONY: distclean-stageprofile
59805 distclean-stageprofile::
59806 @: $(MAKE); $(stage)
59807 @test "`cat stage_last`" != stageprofile || rm -f stage_last
59808 rm -rf stageprofile-*
59811 @endif gcc-bootstrap
59814 .PHONY: stagefeedback-start stagefeedback-end
59816 stagefeedback-start::
59817 @: $(MAKE); $(stage); \
59818 echo stagefeedback > stage_current ; \
59819 echo stagefeedback > stage_last; \
59820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59821 @if bfd
59822 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
59823 mkdir stagefeedback-bfd; \
59824 mv stagefeedback-bfd bfd ; \
59825 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
59826 @endif bfd
59827 @if opcodes
59828 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
59829 mkdir stagefeedback-opcodes; \
59830 mv stagefeedback-opcodes opcodes ; \
59831 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
59832 @endif opcodes
59833 @if binutils
59834 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
59835 mkdir stagefeedback-binutils; \
59836 mv stagefeedback-binutils binutils ; \
59837 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
59838 @endif binutils
59839 @if gas
59840 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
59841 mkdir stagefeedback-gas; \
59842 mv stagefeedback-gas gas ; \
59843 mv stageprofile-gas prev-gas || test -f stageprofile-lean
59844 @endif gas
59845 @if gcc
59846 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
59847 mkdir stagefeedback-gcc; \
59848 mv stagefeedback-gcc gcc ; \
59849 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
59850 @endif gcc
59851 @if gmp
59852 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
59853 mkdir stagefeedback-gmp; \
59854 mv stagefeedback-gmp gmp ; \
59855 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
59856 @endif gmp
59857 @if mpfr
59858 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
59859 mkdir stagefeedback-mpfr; \
59860 mv stagefeedback-mpfr mpfr ; \
59861 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
59862 @endif mpfr
59863 @if mpc
59864 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
59865 mkdir stagefeedback-mpc; \
59866 mv stagefeedback-mpc mpc ; \
59867 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
59868 @endif mpc
59869 @if ppl
59870 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
59871 mkdir stagefeedback-ppl; \
59872 mv stagefeedback-ppl ppl ; \
59873 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
59874 @endif ppl
59875 @if cloog
59876 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
59877 mkdir stagefeedback-cloog; \
59878 mv stagefeedback-cloog cloog ; \
59879 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
59880 @endif cloog
59881 @if libelf
59882 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
59883 mkdir stagefeedback-libelf; \
59884 mv stagefeedback-libelf libelf ; \
59885 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
59886 @endif libelf
59887 @if gold
59888 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
59889 mkdir stagefeedback-gold; \
59890 mv stagefeedback-gold gold ; \
59891 mv stageprofile-gold prev-gold || test -f stageprofile-lean
59892 @endif gold
59893 @if intl
59894 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
59895 mkdir stagefeedback-intl; \
59896 mv stagefeedback-intl intl ; \
59897 mv stageprofile-intl prev-intl || test -f stageprofile-lean
59898 @endif intl
59899 @if ld
59900 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
59901 mkdir stagefeedback-ld; \
59902 mv stagefeedback-ld ld ; \
59903 mv stageprofile-ld prev-ld || test -f stageprofile-lean
59904 @endif ld
59905 @if libcpp
59906 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
59907 mkdir stagefeedback-libcpp; \
59908 mv stagefeedback-libcpp libcpp ; \
59909 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
59910 @endif libcpp
59911 @if libdecnumber
59912 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
59913 mkdir stagefeedback-libdecnumber; \
59914 mv stagefeedback-libdecnumber libdecnumber ; \
59915 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
59916 @endif libdecnumber
59917 @if libiberty
59918 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
59919 mkdir stagefeedback-libiberty; \
59920 mv stagefeedback-libiberty libiberty ; \
59921 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
59922 @endif libiberty
59923 @if zlib
59924 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
59925 mkdir stagefeedback-zlib; \
59926 mv stagefeedback-zlib zlib ; \
59927 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
59928 @endif zlib
59929 @if lto-plugin
59930 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
59931 mkdir stagefeedback-lto-plugin; \
59932 mv stagefeedback-lto-plugin lto-plugin ; \
59933 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
59934 @endif lto-plugin
59935 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
59936 mkdir stagefeedback-$(TARGET_SUBDIR); \
59937 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59938 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
59940 stagefeedback-end::
59941 @if bfd
59942 @if test -d $(HOST_SUBDIR)/bfd ; then \
59943 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
59944 mv prev-bfd stageprofile-bfd ; : ; \
59946 @endif bfd
59947 @if opcodes
59948 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59949 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
59950 mv prev-opcodes stageprofile-opcodes ; : ; \
59952 @endif opcodes
59953 @if binutils
59954 @if test -d $(HOST_SUBDIR)/binutils ; then \
59955 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
59956 mv prev-binutils stageprofile-binutils ; : ; \
59958 @endif binutils
59959 @if gas
59960 @if test -d $(HOST_SUBDIR)/gas ; then \
59961 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
59962 mv prev-gas stageprofile-gas ; : ; \
59964 @endif gas
59965 @if gcc
59966 @if test -d $(HOST_SUBDIR)/gcc ; then \
59967 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
59968 mv prev-gcc stageprofile-gcc ; : ; \
59970 @endif gcc
59971 @if gmp
59972 @if test -d $(HOST_SUBDIR)/gmp ; then \
59973 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
59974 mv prev-gmp stageprofile-gmp ; : ; \
59976 @endif gmp
59977 @if mpfr
59978 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59979 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
59980 mv prev-mpfr stageprofile-mpfr ; : ; \
59982 @endif mpfr
59983 @if mpc
59984 @if test -d $(HOST_SUBDIR)/mpc ; then \
59985 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
59986 mv prev-mpc stageprofile-mpc ; : ; \
59988 @endif mpc
59989 @if ppl
59990 @if test -d $(HOST_SUBDIR)/ppl ; then \
59991 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
59992 mv prev-ppl stageprofile-ppl ; : ; \
59994 @endif ppl
59995 @if cloog
59996 @if test -d $(HOST_SUBDIR)/cloog ; then \
59997 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
59998 mv prev-cloog stageprofile-cloog ; : ; \
60000 @endif cloog
60001 @if libelf
60002 @if test -d $(HOST_SUBDIR)/libelf ; then \
60003 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
60004 mv prev-libelf stageprofile-libelf ; : ; \
60006 @endif libelf
60007 @if gold
60008 @if test -d $(HOST_SUBDIR)/gold ; then \
60009 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
60010 mv prev-gold stageprofile-gold ; : ; \
60012 @endif gold
60013 @if intl
60014 @if test -d $(HOST_SUBDIR)/intl ; then \
60015 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
60016 mv prev-intl stageprofile-intl ; : ; \
60018 @endif intl
60019 @if ld
60020 @if test -d $(HOST_SUBDIR)/ld ; then \
60021 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
60022 mv prev-ld stageprofile-ld ; : ; \
60024 @endif ld
60025 @if libcpp
60026 @if test -d $(HOST_SUBDIR)/libcpp ; then \
60027 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
60028 mv prev-libcpp stageprofile-libcpp ; : ; \
60030 @endif libcpp
60031 @if libdecnumber
60032 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
60033 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
60034 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
60036 @endif libdecnumber
60037 @if libiberty
60038 @if test -d $(HOST_SUBDIR)/libiberty ; then \
60039 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
60040 mv prev-libiberty stageprofile-libiberty ; : ; \
60042 @endif libiberty
60043 @if zlib
60044 @if test -d $(HOST_SUBDIR)/zlib ; then \
60045 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
60046 mv prev-zlib stageprofile-zlib ; : ; \
60048 @endif zlib
60049 @if lto-plugin
60050 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
60051 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
60052 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
60054 @endif lto-plugin
60055 @if test -d $(TARGET_SUBDIR) ; then \
60056 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
60057 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
60059 rm -f stage_current
60061 # Bubble a bug fix through all the stages up to stage feedback. They are
60062 # remade, but not reconfigured. The next stage (if any) will not be
60063 # reconfigured either.
60064 .PHONY: stagefeedback-bubble
60065 stagefeedback-bubble:: stageprofile-bubble
60066 @r=`${PWD_COMMAND}`; export r; \
60067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60068 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
60069 echo Skipping rebuild of stagefeedback ; \
60070 else \
60071 $(MAKE) stagefeedback-start; \
60072 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
60075 .PHONY: all-stagefeedback clean-stagefeedback
60076 do-clean: clean-stagefeedback
60078 # FIXME: Will not need to be conditional when toplevel bootstrap is the
60079 # only possibility, but now it conflicts with no-bootstrap rules
60080 @if gcc-bootstrap
60084 .PHONY: profiledbootstrap profiledbootstrap-lean
60085 profiledbootstrap:
60086 echo stagefeedback > stage_final
60087 @r=`${PWD_COMMAND}`; export r; \
60088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
60090 @: $(MAKE); $(unstage)
60091 @r=`${PWD_COMMAND}`; export r; \
60092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60093 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60094 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60096 profiledbootstrap-lean:
60097 echo stagefeedback > stage_final
60098 @r=`${PWD_COMMAND}`; export r; \
60099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60100 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
60101 @: $(MAKE); $(unstage)
60102 @r=`${PWD_COMMAND}`; export r; \
60103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60104 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60105 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60108 # Rules to wipe a stage and all the following ones, also used for cleanstrap
60109 distclean-stageprofile:: distclean-stagefeedback
60110 .PHONY: distclean-stagefeedback
60111 distclean-stagefeedback::
60112 @: $(MAKE); $(stage)
60113 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
60114 rm -rf stagefeedback-*
60117 @endif gcc-bootstrap
60121 stageprofile-end::
60122 $(MAKE) distclean-stagefeedback
60124 stagefeedback-start::
60125 @r=`${PWD_COMMAND}`; export r; \
60126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60127 for i in prev-*; do \
60128 j=`echo $$i | sed s/^prev-//` ; \
60129 cd $$r/$$i && \
60130 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
60131 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
60132 done
60134 @if gcc-bootstrap
60135 do-distclean: distclean-stage1
60137 # Provide a GCC build when we're building target libraries. This does
60138 # not work as a dependency, just as the minimum necessary to avoid errors.
60139 stage_last:
60140 @r=`${PWD_COMMAND}`; export r; \
60141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60142 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
60144 # Same as unstage, but not phony and defaulting to stage1-start. We place
60145 # it in the dependency so that for example `make -j3 all-gcc' works.
60146 stage_current:
60147 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
60149 .PHONY: restrap
60150 restrap::
60151 @: $(MAKE); $(stage)
60152 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
60153 restrap:: all
60154 @endif gcc-bootstrap
60156 # --------------------------------------
60157 # Dependencies between different modules
60158 # --------------------------------------
60160 # Generic dependencies for target modules on host stuff, especially gcc
60161 @if gcc-bootstrap
60162 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
60163 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
60164 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
60165 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
60166 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
60167 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
60168 configure-target-libmudflap: stage_last
60169 configure-target-libssp: stage_last
60170 configure-target-newlib: stage_last
60171 configure-stage1-target-libgcc: maybe-all-stage1-gcc
60172 configure-stage2-target-libgcc: maybe-all-stage2-gcc
60173 configure-stage3-target-libgcc: maybe-all-stage3-gcc
60174 configure-stage4-target-libgcc: maybe-all-stage4-gcc
60175 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
60176 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
60177 configure-target-libquadmath: stage_last
60178 configure-target-libgfortran: stage_last
60179 configure-target-libobjc: stage_last
60180 configure-target-libgo: stage_last
60181 configure-target-libtermcap: stage_last
60182 configure-target-winsup: stage_last
60183 configure-target-libgloss: stage_last
60184 configure-target-libiberty: stage_last
60185 configure-target-gperf: stage_last
60186 configure-target-examples: stage_last
60187 configure-target-libffi: stage_last
60188 configure-target-libjava: stage_last
60189 configure-target-zlib: stage_last
60190 configure-target-boehm-gc: stage_last
60191 configure-target-qthreads: stage_last
60192 configure-target-rda: stage_last
60193 configure-target-libada: stage_last
60194 configure-stage1-target-libgomp: maybe-all-stage1-gcc
60195 configure-stage2-target-libgomp: maybe-all-stage2-gcc
60196 configure-stage3-target-libgomp: maybe-all-stage3-gcc
60197 configure-stage4-target-libgomp: maybe-all-stage4-gcc
60198 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
60199 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
60200 @endif gcc-bootstrap
60202 @if gcc-no-bootstrap
60203 configure-target-libstdc++-v3: maybe-all-gcc
60204 configure-target-libmudflap: maybe-all-gcc
60205 configure-target-libssp: maybe-all-gcc
60206 configure-target-newlib: maybe-all-gcc
60207 configure-target-libgcc: maybe-all-gcc
60208 configure-target-libquadmath: maybe-all-gcc
60209 configure-target-libgfortran: maybe-all-gcc
60210 configure-target-libobjc: maybe-all-gcc
60211 configure-target-libgo: maybe-all-gcc
60212 configure-target-libtermcap: maybe-all-gcc
60213 configure-target-winsup: maybe-all-gcc
60214 configure-target-libgloss: maybe-all-gcc
60215 configure-target-libiberty: maybe-all-gcc
60216 configure-target-gperf: maybe-all-gcc
60217 configure-target-examples: maybe-all-gcc
60218 configure-target-libffi: maybe-all-gcc
60219 configure-target-libjava: maybe-all-gcc
60220 configure-target-zlib: maybe-all-gcc
60221 configure-target-boehm-gc: maybe-all-gcc
60222 configure-target-qthreads: maybe-all-gcc
60223 configure-target-rda: maybe-all-gcc
60224 configure-target-libada: maybe-all-gcc
60225 configure-target-libgomp: maybe-all-gcc
60226 @endif gcc-no-bootstrap
60229 # There are two types of dependencies here: 'hard' dependencies, where one
60230 # module simply won't build without the other; and 'soft' dependencies, where
60231 # if the depended-on module is missing, the depending module will do without
60232 # or find a substitute somewhere (perhaps installed). Soft dependencies
60233 # are made here to depend on a 'maybe-' target. If you're not sure,
60234 # it's safer to use a soft dependency.
60241 # With all the machinery above in place, it is pretty easy to generate
60242 # dependencies. Host dependencies are a bit more complex because we have
60243 # to check for bootstrap/prebootstrap dependencies. To resolve
60244 # prebootstrap dependencies, prebootstrap modules are gathered in
60245 # a hash table.
60246 all-build-bison: maybe-all-build-texinfo
60247 all-build-byacc: maybe-all-build-texinfo
60248 all-build-flex: maybe-all-build-texinfo
60249 all-build-flex: maybe-all-build-bison
60250 all-build-flex: maybe-all-build-byacc
60251 all-build-flex: maybe-all-build-m4
60252 all-build-libiberty: maybe-all-build-texinfo
60253 all-build-m4: maybe-all-build-texinfo
60254 all-build-fixincludes: maybe-all-build-libiberty
60255 configure-gcc: maybe-configure-intl
60257 configure-stage1-gcc: maybe-configure-stage1-intl
60258 configure-stage2-gcc: maybe-configure-stage2-intl
60259 configure-stage3-gcc: maybe-configure-stage3-intl
60260 configure-stage4-gcc: maybe-configure-stage4-intl
60261 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
60262 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
60263 configure-gcc: maybe-all-binutils
60265 configure-stage1-gcc: maybe-all-stage1-binutils
60266 configure-stage2-gcc: maybe-all-stage2-binutils
60267 configure-stage3-gcc: maybe-all-stage3-binutils
60268 configure-stage4-gcc: maybe-all-stage4-binutils
60269 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
60270 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
60271 configure-gcc: maybe-all-gas
60273 configure-stage1-gcc: maybe-all-stage1-gas
60274 configure-stage2-gcc: maybe-all-stage2-gas
60275 configure-stage3-gcc: maybe-all-stage3-gas
60276 configure-stage4-gcc: maybe-all-stage4-gas
60277 configure-stageprofile-gcc: maybe-all-stageprofile-gas
60278 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
60279 configure-gcc: maybe-all-ld
60281 configure-stage1-gcc: maybe-all-stage1-ld
60282 configure-stage2-gcc: maybe-all-stage2-ld
60283 configure-stage3-gcc: maybe-all-stage3-ld
60284 configure-stage4-gcc: maybe-all-stage4-ld
60285 configure-stageprofile-gcc: maybe-all-stageprofile-ld
60286 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
60287 configure-gcc: maybe-all-gold
60289 configure-stage1-gcc: maybe-all-stage1-gold
60290 configure-stage2-gcc: maybe-all-stage2-gold
60291 configure-stage3-gcc: maybe-all-stage3-gold
60292 configure-stage4-gcc: maybe-all-stage4-gold
60293 configure-stageprofile-gcc: maybe-all-stageprofile-gold
60294 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
60295 configure-gcc: maybe-all-libelf
60297 configure-stage1-gcc: maybe-all-stage1-libelf
60298 configure-stage2-gcc: maybe-all-stage2-libelf
60299 configure-stage3-gcc: maybe-all-stage3-libelf
60300 configure-stage4-gcc: maybe-all-stage4-libelf
60301 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
60302 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
60303 all-gcc: all-libiberty
60305 all-stage1-gcc: all-stage1-libiberty
60306 all-stage2-gcc: all-stage2-libiberty
60307 all-stage3-gcc: all-stage3-libiberty
60308 all-stage4-gcc: all-stage4-libiberty
60309 all-stageprofile-gcc: all-stageprofile-libiberty
60310 all-stagefeedback-gcc: all-stagefeedback-libiberty
60311 all-gcc: maybe-all-gmp
60313 all-stage1-gcc: maybe-all-stage1-gmp
60314 all-stage2-gcc: maybe-all-stage2-gmp
60315 all-stage3-gcc: maybe-all-stage3-gmp
60316 all-stage4-gcc: maybe-all-stage4-gmp
60317 all-stageprofile-gcc: maybe-all-stageprofile-gmp
60318 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
60319 all-gcc: maybe-all-intl
60321 all-stage1-gcc: maybe-all-stage1-intl
60322 all-stage2-gcc: maybe-all-stage2-intl
60323 all-stage3-gcc: maybe-all-stage3-intl
60324 all-stage4-gcc: maybe-all-stage4-intl
60325 all-stageprofile-gcc: maybe-all-stageprofile-intl
60326 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
60327 all-gcc: maybe-all-mpfr
60329 all-stage1-gcc: maybe-all-stage1-mpfr
60330 all-stage2-gcc: maybe-all-stage2-mpfr
60331 all-stage3-gcc: maybe-all-stage3-mpfr
60332 all-stage4-gcc: maybe-all-stage4-mpfr
60333 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
60334 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
60335 all-gcc: maybe-all-mpc
60337 all-stage1-gcc: maybe-all-stage1-mpc
60338 all-stage2-gcc: maybe-all-stage2-mpc
60339 all-stage3-gcc: maybe-all-stage3-mpc
60340 all-stage4-gcc: maybe-all-stage4-mpc
60341 all-stageprofile-gcc: maybe-all-stageprofile-mpc
60342 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
60343 all-gcc: maybe-all-ppl
60345 all-stage1-gcc: maybe-all-stage1-ppl
60346 all-stage2-gcc: maybe-all-stage2-ppl
60347 all-stage3-gcc: maybe-all-stage3-ppl
60348 all-stage4-gcc: maybe-all-stage4-ppl
60349 all-stageprofile-gcc: maybe-all-stageprofile-ppl
60350 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
60351 all-gcc: maybe-all-cloog
60353 all-stage1-gcc: maybe-all-stage1-cloog
60354 all-stage2-gcc: maybe-all-stage2-cloog
60355 all-stage3-gcc: maybe-all-stage3-cloog
60356 all-stage4-gcc: maybe-all-stage4-cloog
60357 all-stageprofile-gcc: maybe-all-stageprofile-cloog
60358 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
60359 all-gcc: maybe-all-build-texinfo
60361 all-stage1-gcc: maybe-all-build-texinfo
60362 all-stage2-gcc: maybe-all-build-texinfo
60363 all-stage3-gcc: maybe-all-build-texinfo
60364 all-stage4-gcc: maybe-all-build-texinfo
60365 all-stageprofile-gcc: maybe-all-build-texinfo
60366 all-stagefeedback-gcc: maybe-all-build-texinfo
60367 all-gcc: maybe-all-build-bison
60369 all-stage1-gcc: maybe-all-build-bison
60370 all-stage2-gcc: maybe-all-build-bison
60371 all-stage3-gcc: maybe-all-build-bison
60372 all-stage4-gcc: maybe-all-build-bison
60373 all-stageprofile-gcc: maybe-all-build-bison
60374 all-stagefeedback-gcc: maybe-all-build-bison
60375 all-gcc: maybe-all-build-byacc
60377 all-stage1-gcc: maybe-all-build-byacc
60378 all-stage2-gcc: maybe-all-build-byacc
60379 all-stage3-gcc: maybe-all-build-byacc
60380 all-stage4-gcc: maybe-all-build-byacc
60381 all-stageprofile-gcc: maybe-all-build-byacc
60382 all-stagefeedback-gcc: maybe-all-build-byacc
60383 all-gcc: maybe-all-build-flex
60385 all-stage1-gcc: maybe-all-build-flex
60386 all-stage2-gcc: maybe-all-build-flex
60387 all-stage3-gcc: maybe-all-build-flex
60388 all-stage4-gcc: maybe-all-build-flex
60389 all-stageprofile-gcc: maybe-all-build-flex
60390 all-stagefeedback-gcc: maybe-all-build-flex
60391 all-gcc: maybe-all-build-libiberty
60393 all-stage1-gcc: maybe-all-build-libiberty
60394 all-stage2-gcc: maybe-all-build-libiberty
60395 all-stage3-gcc: maybe-all-build-libiberty
60396 all-stage4-gcc: maybe-all-build-libiberty
60397 all-stageprofile-gcc: maybe-all-build-libiberty
60398 all-stagefeedback-gcc: maybe-all-build-libiberty
60399 all-gcc: maybe-all-build-fixincludes
60401 all-stage1-gcc: maybe-all-build-fixincludes
60402 all-stage2-gcc: maybe-all-build-fixincludes
60403 all-stage3-gcc: maybe-all-build-fixincludes
60404 all-stage4-gcc: maybe-all-build-fixincludes
60405 all-stageprofile-gcc: maybe-all-build-fixincludes
60406 all-stagefeedback-gcc: maybe-all-build-fixincludes
60407 all-gcc: maybe-all-zlib
60409 all-stage1-gcc: maybe-all-stage1-zlib
60410 all-stage2-gcc: maybe-all-stage2-zlib
60411 all-stage3-gcc: maybe-all-stage3-zlib
60412 all-stage4-gcc: maybe-all-stage4-zlib
60413 all-stageprofile-gcc: maybe-all-stageprofile-zlib
60414 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
60415 all-gcc: all-libcpp
60417 all-stage1-gcc: all-stage1-libcpp
60418 all-stage2-gcc: all-stage2-libcpp
60419 all-stage3-gcc: all-stage3-libcpp
60420 all-stage4-gcc: all-stage4-libcpp
60421 all-stageprofile-gcc: all-stageprofile-libcpp
60422 all-stagefeedback-gcc: all-stagefeedback-libcpp
60423 all-gcc: all-libdecnumber
60425 all-stage1-gcc: all-stage1-libdecnumber
60426 all-stage2-gcc: all-stage2-libdecnumber
60427 all-stage3-gcc: all-stage3-libdecnumber
60428 all-stage4-gcc: all-stage4-libdecnumber
60429 all-stageprofile-gcc: all-stageprofile-libdecnumber
60430 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
60431 all-gcc: maybe-all-libiberty
60433 all-stage1-gcc: maybe-all-stage1-libiberty
60434 all-stage2-gcc: maybe-all-stage2-libiberty
60435 all-stage3-gcc: maybe-all-stage3-libiberty
60436 all-stage4-gcc: maybe-all-stage4-libiberty
60437 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
60438 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
60439 all-gcc: maybe-all-fixincludes
60440 info-gcc: maybe-all-build-libiberty
60442 info-stage1-gcc: maybe-all-build-libiberty
60443 info-stage2-gcc: maybe-all-build-libiberty
60444 info-stage3-gcc: maybe-all-build-libiberty
60445 info-stage4-gcc: maybe-all-build-libiberty
60446 info-stageprofile-gcc: maybe-all-build-libiberty
60447 info-stagefeedback-gcc: maybe-all-build-libiberty
60448 dvi-gcc: maybe-all-build-libiberty
60450 dvi-stage1-gcc: maybe-all-build-libiberty
60451 dvi-stage2-gcc: maybe-all-build-libiberty
60452 dvi-stage3-gcc: maybe-all-build-libiberty
60453 dvi-stage4-gcc: maybe-all-build-libiberty
60454 dvi-stageprofile-gcc: maybe-all-build-libiberty
60455 dvi-stagefeedback-gcc: maybe-all-build-libiberty
60456 pdf-gcc: maybe-all-build-libiberty
60458 pdf-stage1-gcc: maybe-all-build-libiberty
60459 pdf-stage2-gcc: maybe-all-build-libiberty
60460 pdf-stage3-gcc: maybe-all-build-libiberty
60461 pdf-stage4-gcc: maybe-all-build-libiberty
60462 pdf-stageprofile-gcc: maybe-all-build-libiberty
60463 pdf-stagefeedback-gcc: maybe-all-build-libiberty
60464 html-gcc: maybe-all-build-libiberty
60466 html-stage1-gcc: maybe-all-build-libiberty
60467 html-stage2-gcc: maybe-all-build-libiberty
60468 html-stage3-gcc: maybe-all-build-libiberty
60469 html-stage4-gcc: maybe-all-build-libiberty
60470 html-stageprofile-gcc: maybe-all-build-libiberty
60471 html-stagefeedback-gcc: maybe-all-build-libiberty
60472 install-gcc: maybe-install-fixincludes
60473 install-strip-gcc: maybe-install-strip-fixincludes
60474 configure-libcpp: configure-libiberty
60476 configure-stage1-libcpp: configure-stage1-libiberty
60477 configure-stage2-libcpp: configure-stage2-libiberty
60478 configure-stage3-libcpp: configure-stage3-libiberty
60479 configure-stage4-libcpp: configure-stage4-libiberty
60480 configure-stageprofile-libcpp: configure-stageprofile-libiberty
60481 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
60482 configure-libcpp: maybe-configure-intl
60484 configure-stage1-libcpp: maybe-configure-stage1-intl
60485 configure-stage2-libcpp: maybe-configure-stage2-intl
60486 configure-stage3-libcpp: maybe-configure-stage3-intl
60487 configure-stage4-libcpp: maybe-configure-stage4-intl
60488 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
60489 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
60490 all-libcpp: all-libiberty
60492 all-stage1-libcpp: all-stage1-libiberty
60493 all-stage2-libcpp: all-stage2-libiberty
60494 all-stage3-libcpp: all-stage3-libiberty
60495 all-stage4-libcpp: all-stage4-libiberty
60496 all-stageprofile-libcpp: all-stageprofile-libiberty
60497 all-stagefeedback-libcpp: all-stagefeedback-libiberty
60498 all-libcpp: maybe-all-intl
60500 all-stage1-libcpp: maybe-all-stage1-intl
60501 all-stage2-libcpp: maybe-all-stage2-intl
60502 all-stage3-libcpp: maybe-all-stage3-intl
60503 all-stage4-libcpp: maybe-all-stage4-intl
60504 all-stageprofile-libcpp: maybe-all-stageprofile-intl
60505 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
60506 all-fixincludes: maybe-all-libiberty
60507 all-gnattools: maybe-all-target-libada
60508 all-lto-plugin: maybe-all-gcc
60510 all-stage1-lto-plugin: maybe-all-stage1-gcc
60511 all-stage2-lto-plugin: maybe-all-stage2-gcc
60512 all-stage3-lto-plugin: maybe-all-stage3-gcc
60513 all-stage4-lto-plugin: maybe-all-stage4-gcc
60514 all-stageprofile-lto-plugin: maybe-all-stageprofile-gcc
60515 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-gcc
60516 configure-mpfr: maybe-all-gmp
60518 configure-stage1-mpfr: maybe-all-stage1-gmp
60519 configure-stage2-mpfr: maybe-all-stage2-gmp
60520 configure-stage3-mpfr: maybe-all-stage3-gmp
60521 configure-stage4-mpfr: maybe-all-stage4-gmp
60522 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
60523 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
60524 configure-mpc: maybe-all-mpfr
60526 configure-stage1-mpc: maybe-all-stage1-mpfr
60527 configure-stage2-mpc: maybe-all-stage2-mpfr
60528 configure-stage3-mpc: maybe-all-stage3-mpfr
60529 configure-stage4-mpc: maybe-all-stage4-mpfr
60530 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
60531 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
60532 configure-ppl: maybe-all-gmp
60534 configure-stage1-ppl: maybe-all-stage1-gmp
60535 configure-stage2-ppl: maybe-all-stage2-gmp
60536 configure-stage3-ppl: maybe-all-stage3-gmp
60537 configure-stage4-ppl: maybe-all-stage4-gmp
60538 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
60539 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
60540 configure-ppl: maybe-all-mpfr
60542 configure-stage1-ppl: maybe-all-stage1-mpfr
60543 configure-stage2-ppl: maybe-all-stage2-mpfr
60544 configure-stage3-ppl: maybe-all-stage3-mpfr
60545 configure-stage4-ppl: maybe-all-stage4-mpfr
60546 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
60547 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
60548 configure-cloog: maybe-all-ppl
60550 configure-stage1-cloog: maybe-all-stage1-ppl
60551 configure-stage2-cloog: maybe-all-stage2-ppl
60552 configure-stage3-cloog: maybe-all-stage3-ppl
60553 configure-stage4-cloog: maybe-all-stage4-ppl
60554 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
60555 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
60556 configure-gdb: maybe-all-intl
60557 configure-gdb: maybe-configure-sim
60558 configure-gdb: maybe-all-bfd
60559 configure-gdb: maybe-all-libiconv
60560 all-gdb: maybe-all-libiberty
60561 all-gdb: maybe-all-libiconv
60562 all-gdb: maybe-all-opcodes
60563 all-gdb: maybe-all-readline
60564 all-gdb: maybe-all-build-bison
60565 all-gdb: maybe-all-build-byacc
60566 all-gdb: maybe-all-sim
60567 all-gdb: maybe-all-libdecnumber
60568 configure-libgui: maybe-configure-tcl
60569 configure-libgui: maybe-configure-tk
60570 all-libgui: maybe-all-tcl
60571 all-libgui: maybe-all-tk
60572 all-libgui: maybe-all-itcl
60573 configure-bfd: configure-libiberty
60575 configure-stage1-bfd: configure-stage1-libiberty
60576 configure-stage2-bfd: configure-stage2-libiberty
60577 configure-stage3-bfd: configure-stage3-libiberty
60578 configure-stage4-bfd: configure-stage4-libiberty
60579 configure-stageprofile-bfd: configure-stageprofile-libiberty
60580 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
60581 configure-bfd: maybe-configure-intl
60583 configure-stage1-bfd: maybe-configure-stage1-intl
60584 configure-stage2-bfd: maybe-configure-stage2-intl
60585 configure-stage3-bfd: maybe-configure-stage3-intl
60586 configure-stage4-bfd: maybe-configure-stage4-intl
60587 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
60588 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
60589 all-bfd: maybe-all-libiberty
60591 all-stage1-bfd: maybe-all-stage1-libiberty
60592 all-stage2-bfd: maybe-all-stage2-libiberty
60593 all-stage3-bfd: maybe-all-stage3-libiberty
60594 all-stage4-bfd: maybe-all-stage4-libiberty
60595 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
60596 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
60597 all-bfd: maybe-all-intl
60599 all-stage1-bfd: maybe-all-stage1-intl
60600 all-stage2-bfd: maybe-all-stage2-intl
60601 all-stage3-bfd: maybe-all-stage3-intl
60602 all-stage4-bfd: maybe-all-stage4-intl
60603 all-stageprofile-bfd: maybe-all-stageprofile-intl
60604 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
60605 configure-opcodes: configure-libiberty
60607 configure-stage1-opcodes: configure-stage1-libiberty
60608 configure-stage2-opcodes: configure-stage2-libiberty
60609 configure-stage3-opcodes: configure-stage3-libiberty
60610 configure-stage4-opcodes: configure-stage4-libiberty
60611 configure-stageprofile-opcodes: configure-stageprofile-libiberty
60612 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
60613 all-opcodes: maybe-all-libiberty
60615 all-stage1-opcodes: maybe-all-stage1-libiberty
60616 all-stage2-opcodes: maybe-all-stage2-libiberty
60617 all-stage3-opcodes: maybe-all-stage3-libiberty
60618 all-stage4-opcodes: maybe-all-stage4-libiberty
60619 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
60620 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
60621 configure-binutils: maybe-configure-intl
60623 configure-stage1-binutils: maybe-configure-stage1-intl
60624 configure-stage2-binutils: maybe-configure-stage2-intl
60625 configure-stage3-binutils: maybe-configure-stage3-intl
60626 configure-stage4-binutils: maybe-configure-stage4-intl
60627 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
60628 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
60629 all-binutils: maybe-all-libiberty
60631 all-stage1-binutils: maybe-all-stage1-libiberty
60632 all-stage2-binutils: maybe-all-stage2-libiberty
60633 all-stage3-binutils: maybe-all-stage3-libiberty
60634 all-stage4-binutils: maybe-all-stage4-libiberty
60635 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
60636 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
60637 all-binutils: maybe-all-opcodes
60639 all-stage1-binutils: maybe-all-stage1-opcodes
60640 all-stage2-binutils: maybe-all-stage2-opcodes
60641 all-stage3-binutils: maybe-all-stage3-opcodes
60642 all-stage4-binutils: maybe-all-stage4-opcodes
60643 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
60644 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
60645 all-binutils: maybe-all-bfd
60647 all-stage1-binutils: maybe-all-stage1-bfd
60648 all-stage2-binutils: maybe-all-stage2-bfd
60649 all-stage3-binutils: maybe-all-stage3-bfd
60650 all-stage4-binutils: maybe-all-stage4-bfd
60651 all-stageprofile-binutils: maybe-all-stageprofile-bfd
60652 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
60653 all-binutils: maybe-all-build-flex
60655 all-stage1-binutils: maybe-all-build-flex
60656 all-stage2-binutils: maybe-all-build-flex
60657 all-stage3-binutils: maybe-all-build-flex
60658 all-stage4-binutils: maybe-all-build-flex
60659 all-stageprofile-binutils: maybe-all-build-flex
60660 all-stagefeedback-binutils: maybe-all-build-flex
60661 all-binutils: maybe-all-build-bison
60663 all-stage1-binutils: maybe-all-build-bison
60664 all-stage2-binutils: maybe-all-build-bison
60665 all-stage3-binutils: maybe-all-build-bison
60666 all-stage4-binutils: maybe-all-build-bison
60667 all-stageprofile-binutils: maybe-all-build-bison
60668 all-stagefeedback-binutils: maybe-all-build-bison
60669 all-binutils: maybe-all-build-byacc
60671 all-stage1-binutils: maybe-all-build-byacc
60672 all-stage2-binutils: maybe-all-build-byacc
60673 all-stage3-binutils: maybe-all-build-byacc
60674 all-stage4-binutils: maybe-all-build-byacc
60675 all-stageprofile-binutils: maybe-all-build-byacc
60676 all-stagefeedback-binutils: maybe-all-build-byacc
60677 all-binutils: maybe-all-intl
60679 all-stage1-binutils: maybe-all-stage1-intl
60680 all-stage2-binutils: maybe-all-stage2-intl
60681 all-stage3-binutils: maybe-all-stage3-intl
60682 all-stage4-binutils: maybe-all-stage4-intl
60683 all-stageprofile-binutils: maybe-all-stageprofile-intl
60684 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
60685 install-binutils: maybe-install-opcodes
60686 install-strip-binutils: maybe-install-strip-opcodes
60687 install-opcodes: maybe-install-bfd
60688 install-strip-opcodes: maybe-install-strip-bfd
60689 configure-gas: maybe-configure-intl
60691 configure-stage1-gas: maybe-configure-stage1-intl
60692 configure-stage2-gas: maybe-configure-stage2-intl
60693 configure-stage3-gas: maybe-configure-stage3-intl
60694 configure-stage4-gas: maybe-configure-stage4-intl
60695 configure-stageprofile-gas: maybe-configure-stageprofile-intl
60696 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
60697 all-gas: maybe-all-libiberty
60699 all-stage1-gas: maybe-all-stage1-libiberty
60700 all-stage2-gas: maybe-all-stage2-libiberty
60701 all-stage3-gas: maybe-all-stage3-libiberty
60702 all-stage4-gas: maybe-all-stage4-libiberty
60703 all-stageprofile-gas: maybe-all-stageprofile-libiberty
60704 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
60705 all-gas: maybe-all-opcodes
60707 all-stage1-gas: maybe-all-stage1-opcodes
60708 all-stage2-gas: maybe-all-stage2-opcodes
60709 all-stage3-gas: maybe-all-stage3-opcodes
60710 all-stage4-gas: maybe-all-stage4-opcodes
60711 all-stageprofile-gas: maybe-all-stageprofile-opcodes
60712 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
60713 all-gas: maybe-all-bfd
60715 all-stage1-gas: maybe-all-stage1-bfd
60716 all-stage2-gas: maybe-all-stage2-bfd
60717 all-stage3-gas: maybe-all-stage3-bfd
60718 all-stage4-gas: maybe-all-stage4-bfd
60719 all-stageprofile-gas: maybe-all-stageprofile-bfd
60720 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
60721 all-gas: maybe-all-intl
60723 all-stage1-gas: maybe-all-stage1-intl
60724 all-stage2-gas: maybe-all-stage2-intl
60725 all-stage3-gas: maybe-all-stage3-intl
60726 all-stage4-gas: maybe-all-stage4-intl
60727 all-stageprofile-gas: maybe-all-stageprofile-intl
60728 all-stagefeedback-gas: maybe-all-stagefeedback-intl
60729 configure-gprof: maybe-configure-intl
60730 all-gprof: maybe-all-libiberty
60731 all-gprof: maybe-all-bfd
60732 all-gprof: maybe-all-opcodes
60733 all-gprof: maybe-all-intl
60734 configure-ld: maybe-configure-intl
60736 configure-stage1-ld: maybe-configure-stage1-intl
60737 configure-stage2-ld: maybe-configure-stage2-intl
60738 configure-stage3-ld: maybe-configure-stage3-intl
60739 configure-stage4-ld: maybe-configure-stage4-intl
60740 configure-stageprofile-ld: maybe-configure-stageprofile-intl
60741 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
60742 all-ld: maybe-all-libiberty
60744 all-stage1-ld: maybe-all-stage1-libiberty
60745 all-stage2-ld: maybe-all-stage2-libiberty
60746 all-stage3-ld: maybe-all-stage3-libiberty
60747 all-stage4-ld: maybe-all-stage4-libiberty
60748 all-stageprofile-ld: maybe-all-stageprofile-libiberty
60749 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
60750 all-ld: maybe-all-bfd
60752 all-stage1-ld: maybe-all-stage1-bfd
60753 all-stage2-ld: maybe-all-stage2-bfd
60754 all-stage3-ld: maybe-all-stage3-bfd
60755 all-stage4-ld: maybe-all-stage4-bfd
60756 all-stageprofile-ld: maybe-all-stageprofile-bfd
60757 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
60758 all-ld: maybe-all-opcodes
60760 all-stage1-ld: maybe-all-stage1-opcodes
60761 all-stage2-ld: maybe-all-stage2-opcodes
60762 all-stage3-ld: maybe-all-stage3-opcodes
60763 all-stage4-ld: maybe-all-stage4-opcodes
60764 all-stageprofile-ld: maybe-all-stageprofile-opcodes
60765 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
60766 all-ld: maybe-all-build-bison
60768 all-stage1-ld: maybe-all-build-bison
60769 all-stage2-ld: maybe-all-build-bison
60770 all-stage3-ld: maybe-all-build-bison
60771 all-stage4-ld: maybe-all-build-bison
60772 all-stageprofile-ld: maybe-all-build-bison
60773 all-stagefeedback-ld: maybe-all-build-bison
60774 all-ld: maybe-all-build-byacc
60776 all-stage1-ld: maybe-all-build-byacc
60777 all-stage2-ld: maybe-all-build-byacc
60778 all-stage3-ld: maybe-all-build-byacc
60779 all-stage4-ld: maybe-all-build-byacc
60780 all-stageprofile-ld: maybe-all-build-byacc
60781 all-stagefeedback-ld: maybe-all-build-byacc
60782 all-ld: maybe-all-build-flex
60784 all-stage1-ld: maybe-all-build-flex
60785 all-stage2-ld: maybe-all-build-flex
60786 all-stage3-ld: maybe-all-build-flex
60787 all-stage4-ld: maybe-all-build-flex
60788 all-stageprofile-ld: maybe-all-build-flex
60789 all-stagefeedback-ld: maybe-all-build-flex
60790 all-ld: maybe-all-intl
60792 all-stage1-ld: maybe-all-stage1-intl
60793 all-stage2-ld: maybe-all-stage2-intl
60794 all-stage3-ld: maybe-all-stage3-intl
60795 all-stage4-ld: maybe-all-stage4-intl
60796 all-stageprofile-ld: maybe-all-stageprofile-intl
60797 all-stagefeedback-ld: maybe-all-stagefeedback-intl
60798 install-ld: maybe-install-gold
60799 install-strip-ld: maybe-install-strip-gold
60800 configure-gold: maybe-configure-intl
60802 configure-stage1-gold: maybe-configure-stage1-intl
60803 configure-stage2-gold: maybe-configure-stage2-intl
60804 configure-stage3-gold: maybe-configure-stage3-intl
60805 configure-stage4-gold: maybe-configure-stage4-intl
60806 configure-stageprofile-gold: maybe-configure-stageprofile-intl
60807 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
60808 all-gold: maybe-all-libiberty
60810 all-stage1-gold: maybe-all-stage1-libiberty
60811 all-stage2-gold: maybe-all-stage2-libiberty
60812 all-stage3-gold: maybe-all-stage3-libiberty
60813 all-stage4-gold: maybe-all-stage4-libiberty
60814 all-stageprofile-gold: maybe-all-stageprofile-libiberty
60815 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
60816 all-gold: maybe-all-intl
60818 all-stage1-gold: maybe-all-stage1-intl
60819 all-stage2-gold: maybe-all-stage2-intl
60820 all-stage3-gold: maybe-all-stage3-intl
60821 all-stage4-gold: maybe-all-stage4-intl
60822 all-stageprofile-gold: maybe-all-stageprofile-intl
60823 all-stagefeedback-gold: maybe-all-stagefeedback-intl
60824 all-gold: maybe-all-bfd
60826 all-stage1-gold: maybe-all-stage1-bfd
60827 all-stage2-gold: maybe-all-stage2-bfd
60828 all-stage3-gold: maybe-all-stage3-bfd
60829 all-stage4-gold: maybe-all-stage4-bfd
60830 all-stageprofile-gold: maybe-all-stageprofile-bfd
60831 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
60832 all-gold: maybe-all-build-bison
60834 all-stage1-gold: maybe-all-build-bison
60835 all-stage2-gold: maybe-all-build-bison
60836 all-stage3-gold: maybe-all-build-bison
60837 all-stage4-gold: maybe-all-build-bison
60838 all-stageprofile-gold: maybe-all-build-bison
60839 all-stagefeedback-gold: maybe-all-build-bison
60840 all-gold: maybe-all-build-byacc
60842 all-stage1-gold: maybe-all-build-byacc
60843 all-stage2-gold: maybe-all-build-byacc
60844 all-stage3-gold: maybe-all-build-byacc
60845 all-stage4-gold: maybe-all-build-byacc
60846 all-stageprofile-gold: maybe-all-build-byacc
60847 all-stagefeedback-gold: maybe-all-build-byacc
60848 check-gold: maybe-all-binutils
60850 check-stage1-gold: maybe-all-stage1-binutils
60851 check-stage2-gold: maybe-all-stage2-binutils
60852 check-stage3-gold: maybe-all-stage3-binutils
60853 check-stage4-gold: maybe-all-stage4-binutils
60854 check-stageprofile-gold: maybe-all-stageprofile-binutils
60855 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
60856 check-gold: maybe-all-gas
60858 check-stage1-gold: maybe-all-stage1-gas
60859 check-stage2-gold: maybe-all-stage2-gas
60860 check-stage3-gold: maybe-all-stage3-gas
60861 check-stage4-gold: maybe-all-stage4-gas
60862 check-stageprofile-gold: maybe-all-stageprofile-gas
60863 check-stagefeedback-gold: maybe-all-stagefeedback-gas
60864 configure-opcodes: maybe-configure-intl
60866 configure-stage1-opcodes: maybe-configure-stage1-intl
60867 configure-stage2-opcodes: maybe-configure-stage2-intl
60868 configure-stage3-opcodes: maybe-configure-stage3-intl
60869 configure-stage4-opcodes: maybe-configure-stage4-intl
60870 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
60871 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
60872 all-opcodes: maybe-all-bfd
60874 all-stage1-opcodes: maybe-all-stage1-bfd
60875 all-stage2-opcodes: maybe-all-stage2-bfd
60876 all-stage3-opcodes: maybe-all-stage3-bfd
60877 all-stage4-opcodes: maybe-all-stage4-bfd
60878 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
60879 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
60880 all-opcodes: maybe-all-libiberty
60882 all-stage1-opcodes: maybe-all-stage1-libiberty
60883 all-stage2-opcodes: maybe-all-stage2-libiberty
60884 all-stage3-opcodes: maybe-all-stage3-libiberty
60885 all-stage4-opcodes: maybe-all-stage4-libiberty
60886 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
60887 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
60888 all-opcodes: maybe-all-intl
60890 all-stage1-opcodes: maybe-all-stage1-intl
60891 all-stage2-opcodes: maybe-all-stage2-intl
60892 all-stage3-opcodes: maybe-all-stage3-intl
60893 all-stage4-opcodes: maybe-all-stage4-intl
60894 all-stageprofile-opcodes: maybe-all-stageprofile-intl
60895 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
60896 all-dejagnu: maybe-all-tcl
60897 all-dejagnu: maybe-all-expect
60898 all-dejagnu: maybe-all-tk
60899 configure-expect: maybe-configure-tcl
60900 configure-expect: maybe-configure-tk
60901 all-expect: maybe-all-tcl
60902 all-expect: maybe-all-tk
60903 configure-itcl: maybe-configure-tcl
60904 configure-itcl: maybe-configure-tk
60905 all-itcl: maybe-all-tcl
60906 all-itcl: maybe-all-tk
60907 install-itcl: maybe-install-tcl
60908 install-strip-itcl: maybe-install-strip-tcl
60909 configure-tk: maybe-configure-tcl
60910 all-tk: maybe-all-tcl
60911 all-sid: maybe-all-libiberty
60912 all-sid: maybe-all-bfd
60913 all-sid: maybe-all-opcodes
60914 all-sid: maybe-all-tcl
60915 all-sid: maybe-all-tk
60916 install-sid: maybe-install-tcl
60917 install-strip-sid: maybe-install-strip-tcl
60918 install-sid: maybe-install-tk
60919 install-strip-sid: maybe-install-strip-tk
60920 configure-sim: maybe-configure-intl
60921 all-sim: maybe-all-intl
60922 all-sim: maybe-all-libiberty
60923 all-sim: maybe-all-bfd
60924 all-sim: maybe-all-opcodes
60925 all-sim: maybe-all-readline
60926 all-sim: maybe-configure-gdb
60927 all-fastjar: maybe-all-zlib
60928 all-fastjar: maybe-all-build-texinfo
60929 all-fastjar: maybe-all-libiberty
60930 all-autoconf: maybe-all-m4
60931 all-autoconf: maybe-all-build-texinfo
60932 all-automake: maybe-all-m4
60933 all-automake: maybe-all-build-texinfo
60934 all-automake: maybe-all-autoconf
60935 all-bison: maybe-all-intl
60936 all-bison: maybe-all-build-texinfo
60937 all-diff: maybe-all-intl
60938 all-diff: maybe-all-build-texinfo
60939 all-fileutils: maybe-all-intl
60940 all-fileutils: maybe-all-build-texinfo
60941 all-flex: maybe-all-build-bison
60942 all-flex: maybe-all-build-byacc
60943 all-flex: maybe-all-intl
60944 all-flex: maybe-all-m4
60945 all-flex: maybe-all-build-texinfo
60946 all-gzip: maybe-all-intl
60947 all-gzip: maybe-all-zlib
60948 all-gzip: maybe-all-build-texinfo
60949 all-hello: maybe-all-intl
60950 all-hello: maybe-all-build-texinfo
60951 all-m4: maybe-all-intl
60952 all-m4: maybe-all-build-texinfo
60953 all-make: maybe-all-intl
60954 all-make: maybe-all-build-texinfo
60955 all-patch: maybe-all-build-texinfo
60956 all-make: maybe-all-build-texinfo
60957 all-prms: maybe-all-libiberty
60958 all-recode: maybe-all-build-texinfo
60959 all-sed: maybe-all-build-texinfo
60960 all-send-pr: maybe-all-prms
60961 all-tar: maybe-all-build-texinfo
60962 all-uudecode: maybe-all-build-texinfo
60963 configure-target-boehm-gc: maybe-configure-target-qthreads
60964 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
60965 configure-target-fastjar: maybe-configure-target-zlib
60966 all-target-fastjar: maybe-all-target-zlib
60967 all-target-fastjar: maybe-all-target-libiberty
60968 configure-target-libgo: maybe-configure-target-libffi
60969 configure-target-libgo: maybe-all-target-libstdc++-v3
60970 all-target-libgo: maybe-all-target-libffi
60971 configure-target-libjava: maybe-configure-target-zlib
60972 configure-target-libjava: maybe-configure-target-boehm-gc
60973 configure-target-libjava: maybe-configure-target-qthreads
60974 configure-target-libjava: maybe-configure-target-libffi
60975 all-target-libjava: maybe-all-fastjar
60976 all-target-libjava: maybe-all-target-zlib
60977 all-target-libjava: maybe-all-target-boehm-gc
60978 all-target-libjava: maybe-all-target-qthreads
60979 all-target-libjava: maybe-all-target-libffi
60980 configure-target-libobjc: maybe-configure-target-boehm-gc
60981 all-target-libobjc: maybe-all-target-libiberty
60982 all-target-libobjc: maybe-all-target-boehm-gc
60983 all-target-libstdc++-v3: maybe-all-target-libiberty
60984 configure-target-libstdc++-v3: maybe-configure-target-libgomp
60986 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
60987 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
60988 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
60989 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
60990 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
60991 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
60992 all-target-libstdc++-v3: maybe-configure-target-libgomp
60994 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
60995 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
60996 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
60997 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
60998 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
60999 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
61000 all-target-libgloss: maybe-all-target-newlib
61001 all-target-winsup: maybe-all-target-libiberty
61002 all-target-winsup: maybe-all-target-libtermcap
61003 configure-target-libiberty: maybe-all-binutils
61004 configure-target-libiberty: maybe-all-ld
61005 configure-target-newlib: maybe-all-binutils
61006 configure-target-newlib: maybe-all-ld
61007 configure-target-libgfortran: maybe-all-target-libquadmath
61010 # Dependencies for target modules on other target modules are
61011 # described by lang_env_dependencies; the defaults apply to anything
61012 # not mentioned there.
61015 @if gcc-bootstrap
61016 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
61017 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
61018 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
61019 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
61020 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
61021 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
61022 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
61023 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
61024 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
61025 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
61026 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
61027 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
61028 @endif gcc-bootstrap
61030 @if gcc-no-bootstrap
61031 configure-target-libstdc++-v3: maybe-all-target-libgcc
61032 configure-target-libmudflap: maybe-all-target-libgcc
61033 configure-target-libssp: maybe-all-target-libgcc
61034 configure-target-newlib: maybe-all-target-libgcc
61035 configure-target-libquadmath: maybe-all-target-libgcc
61036 configure-target-libgfortran: maybe-all-target-libgcc
61037 configure-target-libobjc: maybe-all-target-libgcc
61038 configure-target-libgo: maybe-all-target-libgcc
61039 configure-target-libtermcap: maybe-all-target-libgcc
61040 configure-target-winsup: maybe-all-target-libgcc
61041 configure-target-libgloss: maybe-all-target-libgcc
61042 configure-target-libiberty: maybe-all-target-libgcc
61043 configure-target-gperf: maybe-all-target-libgcc
61044 configure-target-examples: maybe-all-target-libgcc
61045 configure-target-libffi: maybe-all-target-libgcc
61046 configure-target-libjava: maybe-all-target-libgcc
61047 configure-target-zlib: maybe-all-target-libgcc
61048 configure-target-boehm-gc: maybe-all-target-libgcc
61049 configure-target-qthreads: maybe-all-target-libgcc
61050 configure-target-rda: maybe-all-target-libgcc
61051 configure-target-libada: maybe-all-target-libgcc
61052 configure-target-libgomp: maybe-all-target-libgcc
61053 @endif gcc-no-bootstrap
61056 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
61058 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
61060 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
61064 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
61066 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
61068 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
61070 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
61072 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
61074 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
61078 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
61079 configure-target-gperf: maybe-all-target-libstdc++-v3
61081 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
61083 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
61085 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
61086 configure-target-libjava: maybe-all-target-libstdc++-v3
61088 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
61090 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
61092 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
61094 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
61096 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
61098 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
61101 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
61102 GDB_TK = @GDB_TK@
61103 INSTALL_GDB_TK = @INSTALL_GDB_TK@
61104 configure-gdb: $(CONFIGURE_GDB_TK)
61105 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
61106 install-gdb: $(INSTALL_GDB_TK)
61108 # Serialization dependencies. Host configures don't work well in parallel to
61109 # each other, due to contention over config.cache. Target configures and
61110 # build configures are similar.
61111 @serialization_dependencies@
61113 # --------------------------------
61114 # Regenerating top level configury
61115 # --------------------------------
61117 # Rebuilding Makefile.in, using autogen.
61118 AUTOGEN = autogen
61119 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
61120 cd $(srcdir) && $(AUTOGEN) Makefile.def
61122 # Rebuilding Makefile.
61123 Makefile: $(srcdir)/Makefile.in config.status
61124 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
61126 config.status: configure
61127 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
61129 # Rebuilding configure.
61130 AUTOCONF = autoconf
61131 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
61132 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
61133 cd $(srcdir) && $(AUTOCONF)
61135 # ------------------------------
61136 # Special directives to GNU Make
61137 # ------------------------------
61139 # Don't pass command-line variables to submakes.
61140 .NOEXPORT:
61141 MAKEOVERRIDES=
61143 # end of Makefile.in