speedup compilation
[official-gcc.git] / Makefile.in
blob872750cadae25c7041a7e5fb10da90f1dafd5810
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 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} -enable-shared \
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 -enable-shared
45287 @endif lto-plugin-bootstrap
45289 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
45290 maybe-configure-stage2-lto-plugin:
45291 @if lto-plugin-bootstrap
45292 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
45293 configure-stage2-lto-plugin:
45294 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45296 @r=`${PWD_COMMAND}`; export r; \
45297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45298 TFLAGS="$(STAGE2_TFLAGS)"; \
45299 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45300 $(HOST_EXPORTS) \
45301 $(POSTSTAGE1_HOST_EXPORTS) \
45302 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
45303 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
45304 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
45305 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
45306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45307 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45308 case $(srcdir) in \
45309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45310 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45312 esac; \
45313 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45314 libsrcdir="$$s/lto-plugin"; \
45315 $(SHELL) $${libsrcdir}/configure \
45316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45317 --target=${target_alias} $${srcdiroption} \
45318 --with-build-libsubdir=$(HOST_SUBDIR) \
45319 $(STAGE2_CONFIGURE_FLAGS) \
45320 -enable-shared
45321 @endif lto-plugin-bootstrap
45323 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
45324 maybe-configure-stage3-lto-plugin:
45325 @if lto-plugin-bootstrap
45326 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
45327 configure-stage3-lto-plugin:
45328 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45330 @r=`${PWD_COMMAND}`; export r; \
45331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45332 TFLAGS="$(STAGE3_TFLAGS)"; \
45333 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45334 $(HOST_EXPORTS) \
45335 $(POSTSTAGE1_HOST_EXPORTS) \
45336 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
45337 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
45338 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
45339 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
45340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45341 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45342 case $(srcdir) in \
45343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45344 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45346 esac; \
45347 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45348 libsrcdir="$$s/lto-plugin"; \
45349 $(SHELL) $${libsrcdir}/configure \
45350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45351 --target=${target_alias} $${srcdiroption} \
45352 --with-build-libsubdir=$(HOST_SUBDIR) \
45353 $(STAGE3_CONFIGURE_FLAGS) \
45354 -enable-shared
45355 @endif lto-plugin-bootstrap
45357 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
45358 maybe-configure-stage4-lto-plugin:
45359 @if lto-plugin-bootstrap
45360 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
45361 configure-stage4-lto-plugin:
45362 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45364 @r=`${PWD_COMMAND}`; export r; \
45365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45366 TFLAGS="$(STAGE4_TFLAGS)"; \
45367 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45368 $(HOST_EXPORTS) \
45369 $(POSTSTAGE1_HOST_EXPORTS) \
45370 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
45371 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
45372 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
45373 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
45374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45375 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45376 case $(srcdir) in \
45377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45378 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45380 esac; \
45381 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45382 libsrcdir="$$s/lto-plugin"; \
45383 $(SHELL) $${libsrcdir}/configure \
45384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45385 --target=${target_alias} $${srcdiroption} \
45386 --with-build-libsubdir=$(HOST_SUBDIR) \
45387 $(STAGE4_CONFIGURE_FLAGS) \
45388 -enable-shared
45389 @endif lto-plugin-bootstrap
45391 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
45392 maybe-configure-stageprofile-lto-plugin:
45393 @if lto-plugin-bootstrap
45394 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
45395 configure-stageprofile-lto-plugin:
45396 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45398 @r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45401 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45402 $(HOST_EXPORTS) \
45403 $(POSTSTAGE1_HOST_EXPORTS) \
45404 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
45405 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
45406 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
45407 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
45408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45409 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45410 case $(srcdir) in \
45411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45412 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45414 esac; \
45415 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45416 libsrcdir="$$s/lto-plugin"; \
45417 $(SHELL) $${libsrcdir}/configure \
45418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45419 --target=${target_alias} $${srcdiroption} \
45420 --with-build-libsubdir=$(HOST_SUBDIR) \
45421 $(STAGEprofile_CONFIGURE_FLAGS) \
45422 -enable-shared
45423 @endif lto-plugin-bootstrap
45425 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
45426 maybe-configure-stagefeedback-lto-plugin:
45427 @if lto-plugin-bootstrap
45428 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
45429 configure-stagefeedback-lto-plugin:
45430 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
45432 @r=`${PWD_COMMAND}`; export r; \
45433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45434 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45435 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
45436 $(HOST_EXPORTS) \
45437 $(POSTSTAGE1_HOST_EXPORTS) \
45438 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
45439 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
45440 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
45441 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
45442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
45443 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
45444 case $(srcdir) in \
45445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45446 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
45447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45448 esac; \
45449 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
45450 libsrcdir="$$s/lto-plugin"; \
45451 $(SHELL) $${libsrcdir}/configure \
45452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
45453 --target=${target_alias} $${srcdiroption} \
45454 --with-build-libsubdir=$(HOST_SUBDIR) \
45455 $(STAGEfeedback_CONFIGURE_FLAGS) \
45456 -enable-shared
45457 @endif lto-plugin-bootstrap
45463 .PHONY: all-lto-plugin maybe-all-lto-plugin
45464 maybe-all-lto-plugin:
45465 @if gcc-bootstrap
45466 all-lto-plugin: stage_current
45467 @endif gcc-bootstrap
45468 @if lto-plugin
45469 TARGET-lto-plugin=all
45470 maybe-all-lto-plugin: all-lto-plugin
45471 all-lto-plugin: configure-lto-plugin
45472 @r=`${PWD_COMMAND}`; export r; \
45473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45474 $(HOST_EXPORTS) \
45475 (cd $(HOST_SUBDIR)/lto-plugin && \
45476 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
45477 $(TARGET-lto-plugin))
45478 @endif lto-plugin
45482 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
45483 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
45484 maybe-all-stage1-lto-plugin:
45485 maybe-clean-stage1-lto-plugin:
45486 @if lto-plugin-bootstrap
45487 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
45488 all-stage1: all-stage1-lto-plugin
45489 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
45490 all-stage1-lto-plugin: configure-stage1-lto-plugin
45491 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45492 @r=`${PWD_COMMAND}`; export r; \
45493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45494 TFLAGS="$(STAGE1_TFLAGS)"; \
45495 $(HOST_EXPORTS) \
45496 cd $(HOST_SUBDIR)/lto-plugin && \
45497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45498 CFLAGS="$(STAGE1_CFLAGS)" \
45499 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
45500 LIBCFLAGS="$(LIBCFLAGS)" \
45501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45504 $(EXTRA_HOST_FLAGS) \
45505 TFLAGS="$(STAGE1_TFLAGS)" \
45506 $(TARGET-stage1-lto-plugin)
45508 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
45509 clean-stage1: clean-stage1-lto-plugin
45510 clean-stage1-lto-plugin:
45511 @if [ $(current_stage) = stage1 ]; then \
45512 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45513 else \
45514 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
45515 $(MAKE) stage1-start; \
45516 fi; \
45517 cd $(HOST_SUBDIR)/lto-plugin && \
45518 $(MAKE) $(EXTRA_HOST_FLAGS) \
45519 clean
45520 @endif lto-plugin-bootstrap
45523 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
45524 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
45525 maybe-all-stage2-lto-plugin:
45526 maybe-clean-stage2-lto-plugin:
45527 @if lto-plugin-bootstrap
45528 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
45529 all-stage2: all-stage2-lto-plugin
45530 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
45531 all-stage2-lto-plugin: configure-stage2-lto-plugin
45532 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45533 @r=`${PWD_COMMAND}`; export r; \
45534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45535 TFLAGS="$(STAGE2_TFLAGS)"; \
45536 $(HOST_EXPORTS) \
45537 $(POSTSTAGE1_HOST_EXPORTS) \
45538 cd $(HOST_SUBDIR)/lto-plugin && \
45539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45540 CFLAGS="$(STAGE2_CFLAGS)" \
45541 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
45542 LIBCFLAGS="$(STAGE2_CFLAGS)" \
45543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45546 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45547 TFLAGS="$(STAGE2_TFLAGS)" \
45548 $(TARGET-stage2-lto-plugin)
45550 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
45551 clean-stage2: clean-stage2-lto-plugin
45552 clean-stage2-lto-plugin:
45553 @if [ $(current_stage) = stage2 ]; then \
45554 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45555 else \
45556 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
45557 $(MAKE) stage2-start; \
45558 fi; \
45559 cd $(HOST_SUBDIR)/lto-plugin && \
45560 $(MAKE) $(EXTRA_HOST_FLAGS) \
45561 $(POSTSTAGE1_FLAGS_TO_PASS) \
45562 clean
45563 @endif lto-plugin-bootstrap
45566 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
45567 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
45568 maybe-all-stage3-lto-plugin:
45569 maybe-clean-stage3-lto-plugin:
45570 @if lto-plugin-bootstrap
45571 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
45572 all-stage3: all-stage3-lto-plugin
45573 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
45574 all-stage3-lto-plugin: configure-stage3-lto-plugin
45575 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45576 @r=`${PWD_COMMAND}`; export r; \
45577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45578 TFLAGS="$(STAGE3_TFLAGS)"; \
45579 $(HOST_EXPORTS) \
45580 $(POSTSTAGE1_HOST_EXPORTS) \
45581 cd $(HOST_SUBDIR)/lto-plugin && \
45582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45583 CFLAGS="$(STAGE3_CFLAGS)" \
45584 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
45585 LIBCFLAGS="$(STAGE3_CFLAGS)" \
45586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45590 TFLAGS="$(STAGE3_TFLAGS)" \
45591 $(TARGET-stage3-lto-plugin)
45593 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
45594 clean-stage3: clean-stage3-lto-plugin
45595 clean-stage3-lto-plugin:
45596 @if [ $(current_stage) = stage3 ]; then \
45597 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45598 else \
45599 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
45600 $(MAKE) stage3-start; \
45601 fi; \
45602 cd $(HOST_SUBDIR)/lto-plugin && \
45603 $(MAKE) $(EXTRA_HOST_FLAGS) \
45604 $(POSTSTAGE1_FLAGS_TO_PASS) \
45605 clean
45606 @endif lto-plugin-bootstrap
45609 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
45610 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
45611 maybe-all-stage4-lto-plugin:
45612 maybe-clean-stage4-lto-plugin:
45613 @if lto-plugin-bootstrap
45614 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
45615 all-stage4: all-stage4-lto-plugin
45616 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
45617 all-stage4-lto-plugin: configure-stage4-lto-plugin
45618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45619 @r=`${PWD_COMMAND}`; export r; \
45620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45621 TFLAGS="$(STAGE4_TFLAGS)"; \
45622 $(HOST_EXPORTS) \
45623 $(POSTSTAGE1_HOST_EXPORTS) \
45624 cd $(HOST_SUBDIR)/lto-plugin && \
45625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45626 CFLAGS="$(STAGE4_CFLAGS)" \
45627 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
45628 LIBCFLAGS="$(STAGE4_CFLAGS)" \
45629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45633 TFLAGS="$(STAGE4_TFLAGS)" \
45634 $(TARGET-stage4-lto-plugin)
45636 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
45637 clean-stage4: clean-stage4-lto-plugin
45638 clean-stage4-lto-plugin:
45639 @if [ $(current_stage) = stage4 ]; then \
45640 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45641 else \
45642 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
45643 $(MAKE) stage4-start; \
45644 fi; \
45645 cd $(HOST_SUBDIR)/lto-plugin && \
45646 $(MAKE) $(EXTRA_HOST_FLAGS) \
45647 $(POSTSTAGE1_FLAGS_TO_PASS) \
45648 clean
45649 @endif lto-plugin-bootstrap
45652 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
45653 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
45654 maybe-all-stageprofile-lto-plugin:
45655 maybe-clean-stageprofile-lto-plugin:
45656 @if lto-plugin-bootstrap
45657 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
45658 all-stageprofile: all-stageprofile-lto-plugin
45659 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
45660 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
45661 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45662 @r=`${PWD_COMMAND}`; export r; \
45663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45664 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45665 $(HOST_EXPORTS) \
45666 $(POSTSTAGE1_HOST_EXPORTS) \
45667 cd $(HOST_SUBDIR)/lto-plugin && \
45668 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45669 CFLAGS="$(STAGEprofile_CFLAGS)" \
45670 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
45671 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
45672 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45673 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45674 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45675 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45676 TFLAGS="$(STAGEprofile_TFLAGS)" \
45677 $(TARGET-stageprofile-lto-plugin)
45679 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
45680 clean-stageprofile: clean-stageprofile-lto-plugin
45681 clean-stageprofile-lto-plugin:
45682 @if [ $(current_stage) = stageprofile ]; then \
45683 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45684 else \
45685 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
45686 $(MAKE) stageprofile-start; \
45687 fi; \
45688 cd $(HOST_SUBDIR)/lto-plugin && \
45689 $(MAKE) $(EXTRA_HOST_FLAGS) \
45690 $(POSTSTAGE1_FLAGS_TO_PASS) \
45691 clean
45692 @endif lto-plugin-bootstrap
45695 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
45696 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
45697 maybe-all-stagefeedback-lto-plugin:
45698 maybe-clean-stagefeedback-lto-plugin:
45699 @if lto-plugin-bootstrap
45700 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
45701 all-stagefeedback: all-stagefeedback-lto-plugin
45702 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
45703 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
45704 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45705 @r=`${PWD_COMMAND}`; export r; \
45706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45707 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45708 $(HOST_EXPORTS) \
45709 $(POSTSTAGE1_HOST_EXPORTS) \
45710 cd $(HOST_SUBDIR)/lto-plugin && \
45711 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45712 CFLAGS="$(STAGEfeedback_CFLAGS)" \
45713 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
45714 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
45715 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45716 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45717 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45718 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
45719 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45720 $(TARGET-stagefeedback-lto-plugin)
45722 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
45723 clean-stagefeedback: clean-stagefeedback-lto-plugin
45724 clean-stagefeedback-lto-plugin:
45725 @if [ $(current_stage) = stagefeedback ]; then \
45726 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
45727 else \
45728 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
45729 $(MAKE) stagefeedback-start; \
45730 fi; \
45731 cd $(HOST_SUBDIR)/lto-plugin && \
45732 $(MAKE) $(EXTRA_HOST_FLAGS) \
45733 $(POSTSTAGE1_FLAGS_TO_PASS) \
45734 clean
45735 @endif lto-plugin-bootstrap
45741 .PHONY: check-lto-plugin maybe-check-lto-plugin
45742 maybe-check-lto-plugin:
45743 @if lto-plugin
45744 maybe-check-lto-plugin: check-lto-plugin
45746 check-lto-plugin:
45747 @: $(MAKE); $(unstage)
45748 @r=`${PWD_COMMAND}`; export r; \
45749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45750 $(HOST_EXPORTS) \
45751 (cd $(HOST_SUBDIR)/lto-plugin && \
45752 $(MAKE) $(FLAGS_TO_PASS) check)
45754 @endif lto-plugin
45756 .PHONY: install-lto-plugin maybe-install-lto-plugin
45757 maybe-install-lto-plugin:
45758 @if lto-plugin
45759 maybe-install-lto-plugin: install-lto-plugin
45761 install-lto-plugin: installdirs
45762 @: $(MAKE); $(unstage)
45763 @r=`${PWD_COMMAND}`; export r; \
45764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45765 $(HOST_EXPORTS) \
45766 (cd $(HOST_SUBDIR)/lto-plugin && \
45767 $(MAKE) $(FLAGS_TO_PASS) install)
45769 @endif lto-plugin
45771 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
45772 maybe-install-strip-lto-plugin:
45773 @if lto-plugin
45774 maybe-install-strip-lto-plugin: install-strip-lto-plugin
45776 install-strip-lto-plugin: installdirs
45777 @: $(MAKE); $(unstage)
45778 @r=`${PWD_COMMAND}`; export r; \
45779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45780 $(HOST_EXPORTS) \
45781 (cd $(HOST_SUBDIR)/lto-plugin && \
45782 $(MAKE) $(FLAGS_TO_PASS) install-strip)
45784 @endif lto-plugin
45786 # Other targets (info, dvi, pdf, etc.)
45788 .PHONY: maybe-info-lto-plugin info-lto-plugin
45789 maybe-info-lto-plugin:
45790 @if lto-plugin
45791 maybe-info-lto-plugin: info-lto-plugin
45793 info-lto-plugin: \
45794 configure-lto-plugin
45795 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45796 r=`${PWD_COMMAND}`; export r; \
45797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45798 $(HOST_EXPORTS) \
45799 for flag in $(EXTRA_HOST_FLAGS) ; do \
45800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45801 done; \
45802 echo "Doing info in lto-plugin" ; \
45803 (cd $(HOST_SUBDIR)/lto-plugin && \
45804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45806 "RANLIB=$${RANLIB}" \
45807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45808 info) \
45809 || exit 1
45811 @endif lto-plugin
45813 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
45814 maybe-dvi-lto-plugin:
45815 @if lto-plugin
45816 maybe-dvi-lto-plugin: dvi-lto-plugin
45818 dvi-lto-plugin: \
45819 configure-lto-plugin
45820 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45821 r=`${PWD_COMMAND}`; export r; \
45822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45823 $(HOST_EXPORTS) \
45824 for flag in $(EXTRA_HOST_FLAGS) ; do \
45825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45826 done; \
45827 echo "Doing dvi in lto-plugin" ; \
45828 (cd $(HOST_SUBDIR)/lto-plugin && \
45829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45831 "RANLIB=$${RANLIB}" \
45832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45833 dvi) \
45834 || exit 1
45836 @endif lto-plugin
45838 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
45839 maybe-pdf-lto-plugin:
45840 @if lto-plugin
45841 maybe-pdf-lto-plugin: pdf-lto-plugin
45843 pdf-lto-plugin: \
45844 configure-lto-plugin
45845 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45846 r=`${PWD_COMMAND}`; export r; \
45847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45848 $(HOST_EXPORTS) \
45849 for flag in $(EXTRA_HOST_FLAGS) ; do \
45850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45851 done; \
45852 echo "Doing pdf in lto-plugin" ; \
45853 (cd $(HOST_SUBDIR)/lto-plugin && \
45854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45856 "RANLIB=$${RANLIB}" \
45857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45858 pdf) \
45859 || exit 1
45861 @endif lto-plugin
45863 .PHONY: maybe-html-lto-plugin html-lto-plugin
45864 maybe-html-lto-plugin:
45865 @if lto-plugin
45866 maybe-html-lto-plugin: html-lto-plugin
45868 html-lto-plugin: \
45869 configure-lto-plugin
45870 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45871 r=`${PWD_COMMAND}`; export r; \
45872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45873 $(HOST_EXPORTS) \
45874 for flag in $(EXTRA_HOST_FLAGS) ; do \
45875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45876 done; \
45877 echo "Doing html in lto-plugin" ; \
45878 (cd $(HOST_SUBDIR)/lto-plugin && \
45879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45881 "RANLIB=$${RANLIB}" \
45882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45883 html) \
45884 || exit 1
45886 @endif lto-plugin
45888 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
45889 maybe-TAGS-lto-plugin:
45890 @if lto-plugin
45891 maybe-TAGS-lto-plugin: TAGS-lto-plugin
45893 TAGS-lto-plugin: \
45894 configure-lto-plugin
45895 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45896 r=`${PWD_COMMAND}`; export r; \
45897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45898 $(HOST_EXPORTS) \
45899 for flag in $(EXTRA_HOST_FLAGS) ; do \
45900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45901 done; \
45902 echo "Doing TAGS in lto-plugin" ; \
45903 (cd $(HOST_SUBDIR)/lto-plugin && \
45904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45906 "RANLIB=$${RANLIB}" \
45907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45908 TAGS) \
45909 || exit 1
45911 @endif lto-plugin
45913 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
45914 maybe-install-info-lto-plugin:
45915 @if lto-plugin
45916 maybe-install-info-lto-plugin: install-info-lto-plugin
45918 install-info-lto-plugin: \
45919 configure-lto-plugin \
45920 info-lto-plugin
45921 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45922 r=`${PWD_COMMAND}`; export r; \
45923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45924 $(HOST_EXPORTS) \
45925 for flag in $(EXTRA_HOST_FLAGS) ; do \
45926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45927 done; \
45928 echo "Doing install-info in lto-plugin" ; \
45929 (cd $(HOST_SUBDIR)/lto-plugin && \
45930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45932 "RANLIB=$${RANLIB}" \
45933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45934 install-info) \
45935 || exit 1
45937 @endif lto-plugin
45939 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
45940 maybe-install-pdf-lto-plugin:
45941 @if lto-plugin
45942 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
45944 install-pdf-lto-plugin: \
45945 configure-lto-plugin \
45946 pdf-lto-plugin
45947 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45948 r=`${PWD_COMMAND}`; export r; \
45949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45950 $(HOST_EXPORTS) \
45951 for flag in $(EXTRA_HOST_FLAGS) ; do \
45952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45953 done; \
45954 echo "Doing install-pdf in lto-plugin" ; \
45955 (cd $(HOST_SUBDIR)/lto-plugin && \
45956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45958 "RANLIB=$${RANLIB}" \
45959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45960 install-pdf) \
45961 || exit 1
45963 @endif lto-plugin
45965 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
45966 maybe-install-html-lto-plugin:
45967 @if lto-plugin
45968 maybe-install-html-lto-plugin: install-html-lto-plugin
45970 install-html-lto-plugin: \
45971 configure-lto-plugin \
45972 html-lto-plugin
45973 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45974 r=`${PWD_COMMAND}`; export r; \
45975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45976 $(HOST_EXPORTS) \
45977 for flag in $(EXTRA_HOST_FLAGS) ; do \
45978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45979 done; \
45980 echo "Doing install-html in lto-plugin" ; \
45981 (cd $(HOST_SUBDIR)/lto-plugin && \
45982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45984 "RANLIB=$${RANLIB}" \
45985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45986 install-html) \
45987 || exit 1
45989 @endif lto-plugin
45991 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
45992 maybe-installcheck-lto-plugin:
45993 @if lto-plugin
45994 maybe-installcheck-lto-plugin: installcheck-lto-plugin
45996 installcheck-lto-plugin: \
45997 configure-lto-plugin
45998 @[ -f ./lto-plugin/Makefile ] || exit 0; \
45999 r=`${PWD_COMMAND}`; export r; \
46000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46001 $(HOST_EXPORTS) \
46002 for flag in $(EXTRA_HOST_FLAGS) ; do \
46003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46004 done; \
46005 echo "Doing installcheck in lto-plugin" ; \
46006 (cd $(HOST_SUBDIR)/lto-plugin && \
46007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46009 "RANLIB=$${RANLIB}" \
46010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46011 installcheck) \
46012 || exit 1
46014 @endif lto-plugin
46016 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
46017 maybe-mostlyclean-lto-plugin:
46018 @if lto-plugin
46019 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
46021 mostlyclean-lto-plugin:
46022 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46023 r=`${PWD_COMMAND}`; export r; \
46024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46025 $(HOST_EXPORTS) \
46026 for flag in $(EXTRA_HOST_FLAGS) ; do \
46027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46028 done; \
46029 echo "Doing mostlyclean in lto-plugin" ; \
46030 (cd $(HOST_SUBDIR)/lto-plugin && \
46031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46033 "RANLIB=$${RANLIB}" \
46034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46035 mostlyclean) \
46036 || exit 1
46038 @endif lto-plugin
46040 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
46041 maybe-clean-lto-plugin:
46042 @if lto-plugin
46043 maybe-clean-lto-plugin: clean-lto-plugin
46045 clean-lto-plugin:
46046 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46047 r=`${PWD_COMMAND}`; export r; \
46048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46049 $(HOST_EXPORTS) \
46050 for flag in $(EXTRA_HOST_FLAGS) ; do \
46051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46052 done; \
46053 echo "Doing clean in lto-plugin" ; \
46054 (cd $(HOST_SUBDIR)/lto-plugin && \
46055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46057 "RANLIB=$${RANLIB}" \
46058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46059 clean) \
46060 || exit 1
46062 @endif lto-plugin
46064 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
46065 maybe-distclean-lto-plugin:
46066 @if lto-plugin
46067 maybe-distclean-lto-plugin: distclean-lto-plugin
46069 distclean-lto-plugin:
46070 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46071 r=`${PWD_COMMAND}`; export r; \
46072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46073 $(HOST_EXPORTS) \
46074 for flag in $(EXTRA_HOST_FLAGS) ; do \
46075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46076 done; \
46077 echo "Doing distclean in lto-plugin" ; \
46078 (cd $(HOST_SUBDIR)/lto-plugin && \
46079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46081 "RANLIB=$${RANLIB}" \
46082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46083 distclean) \
46084 || exit 1
46086 @endif lto-plugin
46088 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
46089 maybe-maintainer-clean-lto-plugin:
46090 @if lto-plugin
46091 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
46093 maintainer-clean-lto-plugin:
46094 @[ -f ./lto-plugin/Makefile ] || exit 0; \
46095 r=`${PWD_COMMAND}`; export r; \
46096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46097 $(HOST_EXPORTS) \
46098 for flag in $(EXTRA_HOST_FLAGS) ; do \
46099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46100 done; \
46101 echo "Doing maintainer-clean in lto-plugin" ; \
46102 (cd $(HOST_SUBDIR)/lto-plugin && \
46103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46105 "RANLIB=$${RANLIB}" \
46106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46107 maintainer-clean) \
46108 || exit 1
46110 @endif lto-plugin
46114 # ---------------------------------------
46115 # Modules which run on the target machine
46116 # ---------------------------------------
46121 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
46122 maybe-configure-target-libstdc++-v3:
46123 @if gcc-bootstrap
46124 configure-target-libstdc++-v3: stage_current
46125 @endif gcc-bootstrap
46126 @if target-libstdc++-v3
46127 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
46128 configure-target-libstdc++-v3:
46129 @r=`${PWD_COMMAND}`; export r; \
46130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46131 echo "Checking multilib configuration for libstdc++-v3..."; \
46132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46134 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46135 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46136 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46137 else \
46138 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46139 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46140 fi; \
46141 else \
46142 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46143 fi; \
46144 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46146 $(RAW_CXX_TARGET_EXPORTS) \
46147 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
46148 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
46149 case $(srcdir) in \
46150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46151 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46153 esac; \
46154 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46155 libsrcdir="$$s/libstdc++-v3"; \
46156 rm -f no-such-file || : ; \
46157 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46158 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46159 --target=${target_alias} $${srcdiroption} \
46160 || exit 1
46161 @endif target-libstdc++-v3
46165 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
46166 maybe-configure-stage1-target-libstdc++-v3:
46167 @if target-libstdc++-v3-bootstrap
46168 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
46169 configure-stage1-target-libstdc++-v3:
46170 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46171 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46172 @r=`${PWD_COMMAND}`; export r; \
46173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46174 TFLAGS="$(STAGE1_TFLAGS)"; \
46175 echo "Checking multilib configuration for libstdc++-v3..."; \
46176 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46177 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46178 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46179 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46180 else \
46181 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46182 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46183 fi; \
46184 else \
46185 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46186 fi; \
46187 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46188 $(RAW_CXX_TARGET_EXPORTS) \
46189 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46190 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46191 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46192 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46194 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46195 case $(srcdir) in \
46196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46197 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46199 esac; \
46200 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46201 libsrcdir="$$s/libstdc++-v3"; \
46202 $(SHELL) $${libsrcdir}/configure \
46203 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46204 --target=${target_alias} $${srcdiroption} \
46205 $(STAGE1_CONFIGURE_FLAGS)
46206 @endif target-libstdc++-v3-bootstrap
46208 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
46209 maybe-configure-stage2-target-libstdc++-v3:
46210 @if target-libstdc++-v3-bootstrap
46211 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
46212 configure-stage2-target-libstdc++-v3:
46213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46215 @r=`${PWD_COMMAND}`; export r; \
46216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46217 TFLAGS="$(STAGE2_TFLAGS)"; \
46218 echo "Checking multilib configuration for libstdc++-v3..."; \
46219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46220 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46221 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46222 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46223 else \
46224 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46225 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46226 fi; \
46227 else \
46228 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46229 fi; \
46230 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46231 $(RAW_CXX_TARGET_EXPORTS) \
46233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46236 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46238 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46239 case $(srcdir) in \
46240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46241 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46243 esac; \
46244 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46245 libsrcdir="$$s/libstdc++-v3"; \
46246 $(SHELL) $${libsrcdir}/configure \
46247 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46248 --target=${target_alias} $${srcdiroption} \
46249 --with-build-libsubdir=$(HOST_SUBDIR) \
46250 $(STAGE2_CONFIGURE_FLAGS)
46251 @endif target-libstdc++-v3-bootstrap
46253 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
46254 maybe-configure-stage3-target-libstdc++-v3:
46255 @if target-libstdc++-v3-bootstrap
46256 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
46257 configure-stage3-target-libstdc++-v3:
46258 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46259 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46260 @r=`${PWD_COMMAND}`; export r; \
46261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46262 TFLAGS="$(STAGE3_TFLAGS)"; \
46263 echo "Checking multilib configuration for libstdc++-v3..."; \
46264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46265 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46266 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46267 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46268 else \
46269 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46270 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46271 fi; \
46272 else \
46273 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46274 fi; \
46275 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46276 $(RAW_CXX_TARGET_EXPORTS) \
46278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46281 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46283 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46284 case $(srcdir) in \
46285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46286 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46288 esac; \
46289 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46290 libsrcdir="$$s/libstdc++-v3"; \
46291 $(SHELL) $${libsrcdir}/configure \
46292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46293 --target=${target_alias} $${srcdiroption} \
46294 --with-build-libsubdir=$(HOST_SUBDIR) \
46295 $(STAGE3_CONFIGURE_FLAGS)
46296 @endif target-libstdc++-v3-bootstrap
46298 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
46299 maybe-configure-stage4-target-libstdc++-v3:
46300 @if target-libstdc++-v3-bootstrap
46301 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
46302 configure-stage4-target-libstdc++-v3:
46303 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46305 @r=`${PWD_COMMAND}`; export r; \
46306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46307 TFLAGS="$(STAGE4_TFLAGS)"; \
46308 echo "Checking multilib configuration for libstdc++-v3..."; \
46309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46310 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46311 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46312 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46313 else \
46314 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46315 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46316 fi; \
46317 else \
46318 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46319 fi; \
46320 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46321 $(RAW_CXX_TARGET_EXPORTS) \
46323 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46326 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46328 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46329 case $(srcdir) in \
46330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46331 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46333 esac; \
46334 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46335 libsrcdir="$$s/libstdc++-v3"; \
46336 $(SHELL) $${libsrcdir}/configure \
46337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46338 --target=${target_alias} $${srcdiroption} \
46339 --with-build-libsubdir=$(HOST_SUBDIR) \
46340 $(STAGE4_CONFIGURE_FLAGS)
46341 @endif target-libstdc++-v3-bootstrap
46343 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
46344 maybe-configure-stageprofile-target-libstdc++-v3:
46345 @if target-libstdc++-v3-bootstrap
46346 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
46347 configure-stageprofile-target-libstdc++-v3:
46348 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46349 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46350 @r=`${PWD_COMMAND}`; export r; \
46351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46352 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46353 echo "Checking multilib configuration for libstdc++-v3..."; \
46354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46355 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46356 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46357 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46358 else \
46359 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46360 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46361 fi; \
46362 else \
46363 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46364 fi; \
46365 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46366 $(RAW_CXX_TARGET_EXPORTS) \
46368 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46369 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46370 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46371 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46373 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46374 case $(srcdir) in \
46375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46376 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46378 esac; \
46379 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46380 libsrcdir="$$s/libstdc++-v3"; \
46381 $(SHELL) $${libsrcdir}/configure \
46382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46383 --target=${target_alias} $${srcdiroption} \
46384 --with-build-libsubdir=$(HOST_SUBDIR) \
46385 $(STAGEprofile_CONFIGURE_FLAGS)
46386 @endif target-libstdc++-v3-bootstrap
46388 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
46389 maybe-configure-stagefeedback-target-libstdc++-v3:
46390 @if target-libstdc++-v3-bootstrap
46391 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
46392 configure-stagefeedback-target-libstdc++-v3:
46393 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46394 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
46395 @r=`${PWD_COMMAND}`; export r; \
46396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46397 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46398 echo "Checking multilib configuration for libstdc++-v3..."; \
46399 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
46400 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46401 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
46402 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
46403 else \
46404 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
46405 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46406 fi; \
46407 else \
46408 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
46409 fi; \
46410 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
46411 $(RAW_CXX_TARGET_EXPORTS) \
46413 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46414 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46415 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46416 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
46417 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
46418 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
46419 case $(srcdir) in \
46420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46421 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
46422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46423 esac; \
46424 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
46425 libsrcdir="$$s/libstdc++-v3"; \
46426 $(SHELL) $${libsrcdir}/configure \
46427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46428 --target=${target_alias} $${srcdiroption} \
46429 --with-build-libsubdir=$(HOST_SUBDIR) \
46430 $(STAGEfeedback_CONFIGURE_FLAGS)
46431 @endif target-libstdc++-v3-bootstrap
46437 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
46438 maybe-all-target-libstdc++-v3:
46439 @if gcc-bootstrap
46440 all-target-libstdc++-v3: stage_current
46441 @endif gcc-bootstrap
46442 @if target-libstdc++-v3
46443 TARGET-target-libstdc++-v3=all
46444 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
46445 all-target-libstdc++-v3: configure-target-libstdc++-v3
46446 @r=`${PWD_COMMAND}`; export r; \
46447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46448 $(RAW_CXX_TARGET_EXPORTS) \
46449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46451 $(TARGET-target-libstdc++-v3))
46452 @endif target-libstdc++-v3
46456 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
46457 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
46458 maybe-all-stage1-target-libstdc++-v3:
46459 maybe-clean-stage1-target-libstdc++-v3:
46460 @if target-libstdc++-v3-bootstrap
46461 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
46462 all-stage1: all-stage1-target-libstdc++-v3
46463 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46464 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
46465 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46466 @r=`${PWD_COMMAND}`; export r; \
46467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46468 TFLAGS="$(STAGE1_TFLAGS)"; \
46469 $(RAW_CXX_TARGET_EXPORTS) \
46470 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46472 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46473 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46474 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46478 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46479 TFLAGS="$(STAGE1_TFLAGS)" \
46480 $(TARGET-stage1-target-libstdc++-v3)
46482 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
46483 clean-stage1: clean-stage1-target-libstdc++-v3
46484 clean-stage1-target-libstdc++-v3:
46485 @if [ $(current_stage) = stage1 ]; then \
46486 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46487 else \
46488 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
46489 $(MAKE) stage1-start; \
46490 fi; \
46491 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46492 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46493 clean
46494 @endif target-libstdc++-v3-bootstrap
46497 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
46498 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
46499 maybe-all-stage2-target-libstdc++-v3:
46500 maybe-clean-stage2-target-libstdc++-v3:
46501 @if target-libstdc++-v3-bootstrap
46502 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
46503 all-stage2: all-stage2-target-libstdc++-v3
46504 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46505 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
46506 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46507 @r=`${PWD_COMMAND}`; export r; \
46508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46509 TFLAGS="$(STAGE2_TFLAGS)"; \
46510 $(RAW_CXX_TARGET_EXPORTS) \
46512 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46514 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46515 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46516 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46520 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46521 TFLAGS="$(STAGE2_TFLAGS)" \
46522 $(TARGET-stage2-target-libstdc++-v3)
46524 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
46525 clean-stage2: clean-stage2-target-libstdc++-v3
46526 clean-stage2-target-libstdc++-v3:
46527 @if [ $(current_stage) = stage2 ]; then \
46528 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46529 else \
46530 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
46531 $(MAKE) stage2-start; \
46532 fi; \
46533 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46534 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46536 clean
46537 @endif target-libstdc++-v3-bootstrap
46540 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
46541 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
46542 maybe-all-stage3-target-libstdc++-v3:
46543 maybe-clean-stage3-target-libstdc++-v3:
46544 @if target-libstdc++-v3-bootstrap
46545 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
46546 all-stage3: all-stage3-target-libstdc++-v3
46547 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46548 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
46549 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46550 @r=`${PWD_COMMAND}`; export r; \
46551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46552 TFLAGS="$(STAGE3_TFLAGS)"; \
46553 $(RAW_CXX_TARGET_EXPORTS) \
46555 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46557 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46558 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46559 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46563 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46564 TFLAGS="$(STAGE3_TFLAGS)" \
46565 $(TARGET-stage3-target-libstdc++-v3)
46567 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
46568 clean-stage3: clean-stage3-target-libstdc++-v3
46569 clean-stage3-target-libstdc++-v3:
46570 @if [ $(current_stage) = stage3 ]; then \
46571 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46572 else \
46573 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
46574 $(MAKE) stage3-start; \
46575 fi; \
46576 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46577 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46579 clean
46580 @endif target-libstdc++-v3-bootstrap
46583 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
46584 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
46585 maybe-all-stage4-target-libstdc++-v3:
46586 maybe-clean-stage4-target-libstdc++-v3:
46587 @if target-libstdc++-v3-bootstrap
46588 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
46589 all-stage4: all-stage4-target-libstdc++-v3
46590 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46591 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
46592 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46593 @r=`${PWD_COMMAND}`; export r; \
46594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46595 TFLAGS="$(STAGE4_TFLAGS)"; \
46596 $(RAW_CXX_TARGET_EXPORTS) \
46598 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46600 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46601 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46602 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46606 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46607 TFLAGS="$(STAGE4_TFLAGS)" \
46608 $(TARGET-stage4-target-libstdc++-v3)
46610 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
46611 clean-stage4: clean-stage4-target-libstdc++-v3
46612 clean-stage4-target-libstdc++-v3:
46613 @if [ $(current_stage) = stage4 ]; then \
46614 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46615 else \
46616 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
46617 $(MAKE) stage4-start; \
46618 fi; \
46619 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46620 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46622 clean
46623 @endif target-libstdc++-v3-bootstrap
46626 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
46627 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
46628 maybe-all-stageprofile-target-libstdc++-v3:
46629 maybe-clean-stageprofile-target-libstdc++-v3:
46630 @if target-libstdc++-v3-bootstrap
46631 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
46632 all-stageprofile: all-stageprofile-target-libstdc++-v3
46633 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46634 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
46635 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46636 @r=`${PWD_COMMAND}`; export r; \
46637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46638 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46639 $(RAW_CXX_TARGET_EXPORTS) \
46641 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46643 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46644 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46645 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46649 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46650 TFLAGS="$(STAGEprofile_TFLAGS)" \
46651 $(TARGET-stageprofile-target-libstdc++-v3)
46653 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
46654 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
46655 clean-stageprofile-target-libstdc++-v3:
46656 @if [ $(current_stage) = stageprofile ]; then \
46657 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46658 else \
46659 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
46660 $(MAKE) stageprofile-start; \
46661 fi; \
46662 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46663 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46665 clean
46666 @endif target-libstdc++-v3-bootstrap
46669 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
46670 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
46671 maybe-all-stagefeedback-target-libstdc++-v3:
46672 maybe-clean-stagefeedback-target-libstdc++-v3:
46673 @if target-libstdc++-v3-bootstrap
46674 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
46675 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
46676 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
46677 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
46678 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46679 @r=`${PWD_COMMAND}`; export r; \
46680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46681 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46682 $(RAW_CXX_TARGET_EXPORTS) \
46684 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46686 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46687 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46688 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46692 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46693 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46694 $(TARGET-stagefeedback-target-libstdc++-v3)
46696 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
46697 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
46698 clean-stagefeedback-target-libstdc++-v3:
46699 @if [ $(current_stage) = stagefeedback ]; then \
46700 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
46701 else \
46702 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
46703 $(MAKE) stagefeedback-start; \
46704 fi; \
46705 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46706 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46708 clean
46709 @endif target-libstdc++-v3-bootstrap
46716 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
46717 maybe-check-target-libstdc++-v3:
46718 @if target-libstdc++-v3
46719 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
46721 check-target-libstdc++-v3:
46722 @: $(MAKE); $(unstage)
46723 @r=`${PWD_COMMAND}`; export r; \
46724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46725 $(RAW_CXX_TARGET_EXPORTS) \
46726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46727 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
46729 @endif target-libstdc++-v3
46731 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
46732 maybe-install-target-libstdc++-v3:
46733 @if target-libstdc++-v3
46734 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
46736 install-target-libstdc++-v3: installdirs
46737 @: $(MAKE); $(unstage)
46738 @r=`${PWD_COMMAND}`; export r; \
46739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46740 $(RAW_CXX_TARGET_EXPORTS) \
46741 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46742 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46744 @endif target-libstdc++-v3
46746 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
46747 maybe-install-strip-target-libstdc++-v3:
46748 @if target-libstdc++-v3
46749 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
46751 install-strip-target-libstdc++-v3: installdirs
46752 @: $(MAKE); $(unstage)
46753 @r=`${PWD_COMMAND}`; export r; \
46754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46755 $(RAW_CXX_TARGET_EXPORTS) \
46756 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46757 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46759 @endif target-libstdc++-v3
46761 # Other targets (info, dvi, pdf, etc.)
46763 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
46764 maybe-info-target-libstdc++-v3:
46765 @if target-libstdc++-v3
46766 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
46768 info-target-libstdc++-v3: \
46769 configure-target-libstdc++-v3
46770 @: $(MAKE); $(unstage)
46771 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46772 r=`${PWD_COMMAND}`; export r; \
46773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46774 $(RAW_CXX_TARGET_EXPORTS) \
46775 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46776 for flag in $(EXTRA_TARGET_FLAGS); do \
46777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46778 done; \
46779 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46782 "RANLIB=$${RANLIB}" \
46783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46784 info) \
46785 || exit 1
46787 @endif target-libstdc++-v3
46789 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
46790 maybe-dvi-target-libstdc++-v3:
46791 @if target-libstdc++-v3
46792 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
46794 dvi-target-libstdc++-v3: \
46795 configure-target-libstdc++-v3
46796 @: $(MAKE); $(unstage)
46797 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46798 r=`${PWD_COMMAND}`; export r; \
46799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46800 $(RAW_CXX_TARGET_EXPORTS) \
46801 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46802 for flag in $(EXTRA_TARGET_FLAGS); do \
46803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46804 done; \
46805 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46808 "RANLIB=$${RANLIB}" \
46809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46810 dvi) \
46811 || exit 1
46813 @endif target-libstdc++-v3
46815 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
46816 maybe-pdf-target-libstdc++-v3:
46817 @if target-libstdc++-v3
46818 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
46820 pdf-target-libstdc++-v3: \
46821 configure-target-libstdc++-v3
46822 @: $(MAKE); $(unstage)
46823 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46824 r=`${PWD_COMMAND}`; export r; \
46825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46826 $(RAW_CXX_TARGET_EXPORTS) \
46827 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46828 for flag in $(EXTRA_TARGET_FLAGS); do \
46829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46830 done; \
46831 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46834 "RANLIB=$${RANLIB}" \
46835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46836 pdf) \
46837 || exit 1
46839 @endif target-libstdc++-v3
46841 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
46842 maybe-html-target-libstdc++-v3:
46843 @if target-libstdc++-v3
46844 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
46846 html-target-libstdc++-v3: \
46847 configure-target-libstdc++-v3
46848 @: $(MAKE); $(unstage)
46849 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46850 r=`${PWD_COMMAND}`; export r; \
46851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46852 $(RAW_CXX_TARGET_EXPORTS) \
46853 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46854 for flag in $(EXTRA_TARGET_FLAGS); do \
46855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46856 done; \
46857 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46860 "RANLIB=$${RANLIB}" \
46861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46862 html) \
46863 || exit 1
46865 @endif target-libstdc++-v3
46867 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
46868 maybe-TAGS-target-libstdc++-v3:
46869 @if target-libstdc++-v3
46870 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
46872 TAGS-target-libstdc++-v3: \
46873 configure-target-libstdc++-v3
46874 @: $(MAKE); $(unstage)
46875 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46876 r=`${PWD_COMMAND}`; export r; \
46877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46878 $(RAW_CXX_TARGET_EXPORTS) \
46879 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46880 for flag in $(EXTRA_TARGET_FLAGS); do \
46881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46882 done; \
46883 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46886 "RANLIB=$${RANLIB}" \
46887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46888 TAGS) \
46889 || exit 1
46891 @endif target-libstdc++-v3
46893 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
46894 maybe-install-info-target-libstdc++-v3:
46895 @if target-libstdc++-v3
46896 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
46898 install-info-target-libstdc++-v3: \
46899 configure-target-libstdc++-v3 \
46900 info-target-libstdc++-v3
46901 @: $(MAKE); $(unstage)
46902 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46903 r=`${PWD_COMMAND}`; export r; \
46904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46905 $(RAW_CXX_TARGET_EXPORTS) \
46906 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46907 for flag in $(EXTRA_TARGET_FLAGS); do \
46908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46909 done; \
46910 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46913 "RANLIB=$${RANLIB}" \
46914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46915 install-info) \
46916 || exit 1
46918 @endif target-libstdc++-v3
46920 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
46921 maybe-install-pdf-target-libstdc++-v3:
46922 @if target-libstdc++-v3
46923 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
46925 install-pdf-target-libstdc++-v3: \
46926 configure-target-libstdc++-v3 \
46927 pdf-target-libstdc++-v3
46928 @: $(MAKE); $(unstage)
46929 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46930 r=`${PWD_COMMAND}`; export r; \
46931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46932 $(RAW_CXX_TARGET_EXPORTS) \
46933 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46934 for flag in $(EXTRA_TARGET_FLAGS); do \
46935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46936 done; \
46937 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46940 "RANLIB=$${RANLIB}" \
46941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46942 install-pdf) \
46943 || exit 1
46945 @endif target-libstdc++-v3
46947 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
46948 maybe-install-html-target-libstdc++-v3:
46949 @if target-libstdc++-v3
46950 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
46952 install-html-target-libstdc++-v3: \
46953 configure-target-libstdc++-v3 \
46954 html-target-libstdc++-v3
46955 @: $(MAKE); $(unstage)
46956 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46957 r=`${PWD_COMMAND}`; export r; \
46958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46959 $(RAW_CXX_TARGET_EXPORTS) \
46960 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46961 for flag in $(EXTRA_TARGET_FLAGS); do \
46962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46963 done; \
46964 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46967 "RANLIB=$${RANLIB}" \
46968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46969 install-html) \
46970 || exit 1
46972 @endif target-libstdc++-v3
46974 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
46975 maybe-installcheck-target-libstdc++-v3:
46976 @if target-libstdc++-v3
46977 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
46979 installcheck-target-libstdc++-v3: \
46980 configure-target-libstdc++-v3
46981 @: $(MAKE); $(unstage)
46982 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
46983 r=`${PWD_COMMAND}`; export r; \
46984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46985 $(RAW_CXX_TARGET_EXPORTS) \
46986 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
46987 for flag in $(EXTRA_TARGET_FLAGS); do \
46988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46989 done; \
46990 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
46991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46993 "RANLIB=$${RANLIB}" \
46994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46995 installcheck) \
46996 || exit 1
46998 @endif target-libstdc++-v3
47000 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
47001 maybe-mostlyclean-target-libstdc++-v3:
47002 @if target-libstdc++-v3
47003 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
47005 mostlyclean-target-libstdc++-v3:
47006 @: $(MAKE); $(unstage)
47007 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47008 r=`${PWD_COMMAND}`; export r; \
47009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47010 $(RAW_CXX_TARGET_EXPORTS) \
47011 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47012 for flag in $(EXTRA_TARGET_FLAGS); do \
47013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47014 done; \
47015 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47018 "RANLIB=$${RANLIB}" \
47019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47020 mostlyclean) \
47021 || exit 1
47023 @endif target-libstdc++-v3
47025 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
47026 maybe-clean-target-libstdc++-v3:
47027 @if target-libstdc++-v3
47028 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
47030 clean-target-libstdc++-v3:
47031 @: $(MAKE); $(unstage)
47032 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47033 r=`${PWD_COMMAND}`; export r; \
47034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47035 $(RAW_CXX_TARGET_EXPORTS) \
47036 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47037 for flag in $(EXTRA_TARGET_FLAGS); do \
47038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47039 done; \
47040 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47043 "RANLIB=$${RANLIB}" \
47044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47045 clean) \
47046 || exit 1
47048 @endif target-libstdc++-v3
47050 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
47051 maybe-distclean-target-libstdc++-v3:
47052 @if target-libstdc++-v3
47053 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
47055 distclean-target-libstdc++-v3:
47056 @: $(MAKE); $(unstage)
47057 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47058 r=`${PWD_COMMAND}`; export r; \
47059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47060 $(RAW_CXX_TARGET_EXPORTS) \
47061 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47062 for flag in $(EXTRA_TARGET_FLAGS); do \
47063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47064 done; \
47065 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47068 "RANLIB=$${RANLIB}" \
47069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47070 distclean) \
47071 || exit 1
47073 @endif target-libstdc++-v3
47075 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
47076 maybe-maintainer-clean-target-libstdc++-v3:
47077 @if target-libstdc++-v3
47078 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
47080 maintainer-clean-target-libstdc++-v3:
47081 @: $(MAKE); $(unstage)
47082 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
47083 r=`${PWD_COMMAND}`; export r; \
47084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47085 $(RAW_CXX_TARGET_EXPORTS) \
47086 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
47087 for flag in $(EXTRA_TARGET_FLAGS); do \
47088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47089 done; \
47090 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
47091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47093 "RANLIB=$${RANLIB}" \
47094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47095 maintainer-clean) \
47096 || exit 1
47098 @endif target-libstdc++-v3
47104 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
47105 maybe-configure-target-libmudflap:
47106 @if gcc-bootstrap
47107 configure-target-libmudflap: stage_current
47108 @endif gcc-bootstrap
47109 @if target-libmudflap
47110 maybe-configure-target-libmudflap: configure-target-libmudflap
47111 configure-target-libmudflap:
47112 @: $(MAKE); $(unstage)
47113 @r=`${PWD_COMMAND}`; export r; \
47114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47115 echo "Checking multilib configuration for libmudflap..."; \
47116 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
47117 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
47118 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
47119 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
47120 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
47121 else \
47122 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
47123 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
47124 fi; \
47125 else \
47126 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
47127 fi; \
47128 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
47129 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
47130 $(NORMAL_TARGET_EXPORTS) \
47131 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
47132 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
47133 case $(srcdir) in \
47134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47135 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
47136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47137 esac; \
47138 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
47139 libsrcdir="$$s/libmudflap"; \
47140 rm -f no-such-file || : ; \
47141 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47142 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47143 --target=${target_alias} $${srcdiroption} \
47144 || exit 1
47145 @endif target-libmudflap
47151 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
47152 maybe-all-target-libmudflap:
47153 @if gcc-bootstrap
47154 all-target-libmudflap: stage_current
47155 @endif gcc-bootstrap
47156 @if target-libmudflap
47157 TARGET-target-libmudflap=all
47158 maybe-all-target-libmudflap: all-target-libmudflap
47159 all-target-libmudflap: configure-target-libmudflap
47160 @: $(MAKE); $(unstage)
47161 @r=`${PWD_COMMAND}`; export r; \
47162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47163 $(NORMAL_TARGET_EXPORTS) \
47164 (cd $(TARGET_SUBDIR)/libmudflap && \
47165 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47166 $(TARGET-target-libmudflap))
47167 @endif target-libmudflap
47173 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
47174 maybe-check-target-libmudflap:
47175 @if target-libmudflap
47176 maybe-check-target-libmudflap: check-target-libmudflap
47178 check-target-libmudflap:
47179 @: $(MAKE); $(unstage)
47180 @r=`${PWD_COMMAND}`; export r; \
47181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47182 $(NORMAL_TARGET_EXPORTS) \
47183 (cd $(TARGET_SUBDIR)/libmudflap && \
47184 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47186 @endif target-libmudflap
47188 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
47189 maybe-install-target-libmudflap:
47190 @if target-libmudflap
47191 maybe-install-target-libmudflap: install-target-libmudflap
47193 install-target-libmudflap: installdirs
47194 @: $(MAKE); $(unstage)
47195 @r=`${PWD_COMMAND}`; export r; \
47196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47197 $(NORMAL_TARGET_EXPORTS) \
47198 (cd $(TARGET_SUBDIR)/libmudflap && \
47199 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47201 @endif target-libmudflap
47203 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
47204 maybe-install-strip-target-libmudflap:
47205 @if target-libmudflap
47206 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
47208 install-strip-target-libmudflap: installdirs
47209 @: $(MAKE); $(unstage)
47210 @r=`${PWD_COMMAND}`; export r; \
47211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47212 $(NORMAL_TARGET_EXPORTS) \
47213 (cd $(TARGET_SUBDIR)/libmudflap && \
47214 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47216 @endif target-libmudflap
47218 # Other targets (info, dvi, pdf, etc.)
47220 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
47221 maybe-info-target-libmudflap:
47222 @if target-libmudflap
47223 maybe-info-target-libmudflap: info-target-libmudflap
47225 info-target-libmudflap: \
47226 configure-target-libmudflap
47227 @: $(MAKE); $(unstage)
47228 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47229 r=`${PWD_COMMAND}`; export r; \
47230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47231 $(NORMAL_TARGET_EXPORTS) \
47232 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
47233 for flag in $(EXTRA_TARGET_FLAGS); do \
47234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47235 done; \
47236 (cd $(TARGET_SUBDIR)/libmudflap && \
47237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47239 "RANLIB=$${RANLIB}" \
47240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47241 info) \
47242 || exit 1
47244 @endif target-libmudflap
47246 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
47247 maybe-dvi-target-libmudflap:
47248 @if target-libmudflap
47249 maybe-dvi-target-libmudflap: dvi-target-libmudflap
47251 dvi-target-libmudflap: \
47252 configure-target-libmudflap
47253 @: $(MAKE); $(unstage)
47254 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47255 r=`${PWD_COMMAND}`; export r; \
47256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47257 $(NORMAL_TARGET_EXPORTS) \
47258 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
47259 for flag in $(EXTRA_TARGET_FLAGS); do \
47260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47261 done; \
47262 (cd $(TARGET_SUBDIR)/libmudflap && \
47263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47265 "RANLIB=$${RANLIB}" \
47266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47267 dvi) \
47268 || exit 1
47270 @endif target-libmudflap
47272 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
47273 maybe-pdf-target-libmudflap:
47274 @if target-libmudflap
47275 maybe-pdf-target-libmudflap: pdf-target-libmudflap
47277 pdf-target-libmudflap: \
47278 configure-target-libmudflap
47279 @: $(MAKE); $(unstage)
47280 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47281 r=`${PWD_COMMAND}`; export r; \
47282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47283 $(NORMAL_TARGET_EXPORTS) \
47284 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
47285 for flag in $(EXTRA_TARGET_FLAGS); do \
47286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47287 done; \
47288 (cd $(TARGET_SUBDIR)/libmudflap && \
47289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47291 "RANLIB=$${RANLIB}" \
47292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47293 pdf) \
47294 || exit 1
47296 @endif target-libmudflap
47298 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
47299 maybe-html-target-libmudflap:
47300 @if target-libmudflap
47301 maybe-html-target-libmudflap: html-target-libmudflap
47303 html-target-libmudflap: \
47304 configure-target-libmudflap
47305 @: $(MAKE); $(unstage)
47306 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47307 r=`${PWD_COMMAND}`; export r; \
47308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47309 $(NORMAL_TARGET_EXPORTS) \
47310 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
47311 for flag in $(EXTRA_TARGET_FLAGS); do \
47312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47313 done; \
47314 (cd $(TARGET_SUBDIR)/libmudflap && \
47315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47317 "RANLIB=$${RANLIB}" \
47318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47319 html) \
47320 || exit 1
47322 @endif target-libmudflap
47324 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
47325 maybe-TAGS-target-libmudflap:
47326 @if target-libmudflap
47327 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
47329 TAGS-target-libmudflap: \
47330 configure-target-libmudflap
47331 @: $(MAKE); $(unstage)
47332 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47333 r=`${PWD_COMMAND}`; export r; \
47334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47335 $(NORMAL_TARGET_EXPORTS) \
47336 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
47337 for flag in $(EXTRA_TARGET_FLAGS); do \
47338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47339 done; \
47340 (cd $(TARGET_SUBDIR)/libmudflap && \
47341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47343 "RANLIB=$${RANLIB}" \
47344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47345 TAGS) \
47346 || exit 1
47348 @endif target-libmudflap
47350 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
47351 maybe-install-info-target-libmudflap:
47352 @if target-libmudflap
47353 maybe-install-info-target-libmudflap: install-info-target-libmudflap
47355 install-info-target-libmudflap: \
47356 configure-target-libmudflap \
47357 info-target-libmudflap
47358 @: $(MAKE); $(unstage)
47359 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47360 r=`${PWD_COMMAND}`; export r; \
47361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47362 $(NORMAL_TARGET_EXPORTS) \
47363 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
47364 for flag in $(EXTRA_TARGET_FLAGS); do \
47365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47366 done; \
47367 (cd $(TARGET_SUBDIR)/libmudflap && \
47368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47370 "RANLIB=$${RANLIB}" \
47371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47372 install-info) \
47373 || exit 1
47375 @endif target-libmudflap
47377 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
47378 maybe-install-pdf-target-libmudflap:
47379 @if target-libmudflap
47380 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
47382 install-pdf-target-libmudflap: \
47383 configure-target-libmudflap \
47384 pdf-target-libmudflap
47385 @: $(MAKE); $(unstage)
47386 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47387 r=`${PWD_COMMAND}`; export r; \
47388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47389 $(NORMAL_TARGET_EXPORTS) \
47390 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
47391 for flag in $(EXTRA_TARGET_FLAGS); do \
47392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47393 done; \
47394 (cd $(TARGET_SUBDIR)/libmudflap && \
47395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47397 "RANLIB=$${RANLIB}" \
47398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47399 install-pdf) \
47400 || exit 1
47402 @endif target-libmudflap
47404 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
47405 maybe-install-html-target-libmudflap:
47406 @if target-libmudflap
47407 maybe-install-html-target-libmudflap: install-html-target-libmudflap
47409 install-html-target-libmudflap: \
47410 configure-target-libmudflap \
47411 html-target-libmudflap
47412 @: $(MAKE); $(unstage)
47413 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47414 r=`${PWD_COMMAND}`; export r; \
47415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47416 $(NORMAL_TARGET_EXPORTS) \
47417 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
47418 for flag in $(EXTRA_TARGET_FLAGS); do \
47419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47420 done; \
47421 (cd $(TARGET_SUBDIR)/libmudflap && \
47422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47424 "RANLIB=$${RANLIB}" \
47425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47426 install-html) \
47427 || exit 1
47429 @endif target-libmudflap
47431 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
47432 maybe-installcheck-target-libmudflap:
47433 @if target-libmudflap
47434 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
47436 installcheck-target-libmudflap: \
47437 configure-target-libmudflap
47438 @: $(MAKE); $(unstage)
47439 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47440 r=`${PWD_COMMAND}`; export r; \
47441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47442 $(NORMAL_TARGET_EXPORTS) \
47443 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
47444 for flag in $(EXTRA_TARGET_FLAGS); do \
47445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47446 done; \
47447 (cd $(TARGET_SUBDIR)/libmudflap && \
47448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47450 "RANLIB=$${RANLIB}" \
47451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47452 installcheck) \
47453 || exit 1
47455 @endif target-libmudflap
47457 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
47458 maybe-mostlyclean-target-libmudflap:
47459 @if target-libmudflap
47460 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
47462 mostlyclean-target-libmudflap:
47463 @: $(MAKE); $(unstage)
47464 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47465 r=`${PWD_COMMAND}`; export r; \
47466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47467 $(NORMAL_TARGET_EXPORTS) \
47468 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
47469 for flag in $(EXTRA_TARGET_FLAGS); do \
47470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47471 done; \
47472 (cd $(TARGET_SUBDIR)/libmudflap && \
47473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47475 "RANLIB=$${RANLIB}" \
47476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47477 mostlyclean) \
47478 || exit 1
47480 @endif target-libmudflap
47482 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
47483 maybe-clean-target-libmudflap:
47484 @if target-libmudflap
47485 maybe-clean-target-libmudflap: clean-target-libmudflap
47487 clean-target-libmudflap:
47488 @: $(MAKE); $(unstage)
47489 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47490 r=`${PWD_COMMAND}`; export r; \
47491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47492 $(NORMAL_TARGET_EXPORTS) \
47493 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
47494 for flag in $(EXTRA_TARGET_FLAGS); do \
47495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47496 done; \
47497 (cd $(TARGET_SUBDIR)/libmudflap && \
47498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47500 "RANLIB=$${RANLIB}" \
47501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47502 clean) \
47503 || exit 1
47505 @endif target-libmudflap
47507 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
47508 maybe-distclean-target-libmudflap:
47509 @if target-libmudflap
47510 maybe-distclean-target-libmudflap: distclean-target-libmudflap
47512 distclean-target-libmudflap:
47513 @: $(MAKE); $(unstage)
47514 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47515 r=`${PWD_COMMAND}`; export r; \
47516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47517 $(NORMAL_TARGET_EXPORTS) \
47518 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
47519 for flag in $(EXTRA_TARGET_FLAGS); do \
47520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47521 done; \
47522 (cd $(TARGET_SUBDIR)/libmudflap && \
47523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47525 "RANLIB=$${RANLIB}" \
47526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47527 distclean) \
47528 || exit 1
47530 @endif target-libmudflap
47532 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
47533 maybe-maintainer-clean-target-libmudflap:
47534 @if target-libmudflap
47535 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
47537 maintainer-clean-target-libmudflap:
47538 @: $(MAKE); $(unstage)
47539 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
47540 r=`${PWD_COMMAND}`; export r; \
47541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47542 $(NORMAL_TARGET_EXPORTS) \
47543 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
47544 for flag in $(EXTRA_TARGET_FLAGS); do \
47545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47546 done; \
47547 (cd $(TARGET_SUBDIR)/libmudflap && \
47548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47550 "RANLIB=$${RANLIB}" \
47551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47552 maintainer-clean) \
47553 || exit 1
47555 @endif target-libmudflap
47561 .PHONY: configure-target-libssp maybe-configure-target-libssp
47562 maybe-configure-target-libssp:
47563 @if gcc-bootstrap
47564 configure-target-libssp: stage_current
47565 @endif gcc-bootstrap
47566 @if target-libssp
47567 maybe-configure-target-libssp: configure-target-libssp
47568 configure-target-libssp:
47569 @: $(MAKE); $(unstage)
47570 @r=`${PWD_COMMAND}`; export r; \
47571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47572 echo "Checking multilib configuration for libssp..."; \
47573 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
47574 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
47575 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
47576 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
47577 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
47578 else \
47579 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
47580 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47581 fi; \
47582 else \
47583 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47584 fi; \
47585 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
47586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
47587 $(NORMAL_TARGET_EXPORTS) \
47588 echo Configuring in $(TARGET_SUBDIR)/libssp; \
47589 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
47590 case $(srcdir) in \
47591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47592 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
47593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47594 esac; \
47595 srcdiroption="--srcdir=$${topdir}/libssp"; \
47596 libsrcdir="$$s/libssp"; \
47597 rm -f no-such-file || : ; \
47598 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47599 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47600 --target=${target_alias} $${srcdiroption} \
47601 || exit 1
47602 @endif target-libssp
47608 .PHONY: all-target-libssp maybe-all-target-libssp
47609 maybe-all-target-libssp:
47610 @if gcc-bootstrap
47611 all-target-libssp: stage_current
47612 @endif gcc-bootstrap
47613 @if target-libssp
47614 TARGET-target-libssp=all
47615 maybe-all-target-libssp: all-target-libssp
47616 all-target-libssp: configure-target-libssp
47617 @: $(MAKE); $(unstage)
47618 @r=`${PWD_COMMAND}`; export r; \
47619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47620 $(NORMAL_TARGET_EXPORTS) \
47621 (cd $(TARGET_SUBDIR)/libssp && \
47622 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47623 $(TARGET-target-libssp))
47624 @endif target-libssp
47630 .PHONY: check-target-libssp maybe-check-target-libssp
47631 maybe-check-target-libssp:
47632 @if target-libssp
47633 maybe-check-target-libssp: check-target-libssp
47635 check-target-libssp:
47636 @: $(MAKE); $(unstage)
47637 @r=`${PWD_COMMAND}`; export r; \
47638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47639 $(NORMAL_TARGET_EXPORTS) \
47640 (cd $(TARGET_SUBDIR)/libssp && \
47641 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47643 @endif target-libssp
47645 .PHONY: install-target-libssp maybe-install-target-libssp
47646 maybe-install-target-libssp:
47647 @if target-libssp
47648 maybe-install-target-libssp: install-target-libssp
47650 install-target-libssp: installdirs
47651 @: $(MAKE); $(unstage)
47652 @r=`${PWD_COMMAND}`; export r; \
47653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47654 $(NORMAL_TARGET_EXPORTS) \
47655 (cd $(TARGET_SUBDIR)/libssp && \
47656 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47658 @endif target-libssp
47660 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
47661 maybe-install-strip-target-libssp:
47662 @if target-libssp
47663 maybe-install-strip-target-libssp: install-strip-target-libssp
47665 install-strip-target-libssp: installdirs
47666 @: $(MAKE); $(unstage)
47667 @r=`${PWD_COMMAND}`; export r; \
47668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47669 $(NORMAL_TARGET_EXPORTS) \
47670 (cd $(TARGET_SUBDIR)/libssp && \
47671 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47673 @endif target-libssp
47675 # Other targets (info, dvi, pdf, etc.)
47677 .PHONY: maybe-info-target-libssp info-target-libssp
47678 maybe-info-target-libssp:
47679 @if target-libssp
47680 maybe-info-target-libssp: info-target-libssp
47682 info-target-libssp: \
47683 configure-target-libssp
47684 @: $(MAKE); $(unstage)
47685 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47686 r=`${PWD_COMMAND}`; export r; \
47687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47688 $(NORMAL_TARGET_EXPORTS) \
47689 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
47690 for flag in $(EXTRA_TARGET_FLAGS); do \
47691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47692 done; \
47693 (cd $(TARGET_SUBDIR)/libssp && \
47694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47696 "RANLIB=$${RANLIB}" \
47697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47698 info) \
47699 || exit 1
47701 @endif target-libssp
47703 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
47704 maybe-dvi-target-libssp:
47705 @if target-libssp
47706 maybe-dvi-target-libssp: dvi-target-libssp
47708 dvi-target-libssp: \
47709 configure-target-libssp
47710 @: $(MAKE); $(unstage)
47711 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47712 r=`${PWD_COMMAND}`; export r; \
47713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47714 $(NORMAL_TARGET_EXPORTS) \
47715 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
47716 for flag in $(EXTRA_TARGET_FLAGS); do \
47717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47718 done; \
47719 (cd $(TARGET_SUBDIR)/libssp && \
47720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47722 "RANLIB=$${RANLIB}" \
47723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47724 dvi) \
47725 || exit 1
47727 @endif target-libssp
47729 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
47730 maybe-pdf-target-libssp:
47731 @if target-libssp
47732 maybe-pdf-target-libssp: pdf-target-libssp
47734 pdf-target-libssp: \
47735 configure-target-libssp
47736 @: $(MAKE); $(unstage)
47737 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47738 r=`${PWD_COMMAND}`; export r; \
47739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47740 $(NORMAL_TARGET_EXPORTS) \
47741 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
47742 for flag in $(EXTRA_TARGET_FLAGS); do \
47743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47744 done; \
47745 (cd $(TARGET_SUBDIR)/libssp && \
47746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47748 "RANLIB=$${RANLIB}" \
47749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47750 pdf) \
47751 || exit 1
47753 @endif target-libssp
47755 .PHONY: maybe-html-target-libssp html-target-libssp
47756 maybe-html-target-libssp:
47757 @if target-libssp
47758 maybe-html-target-libssp: html-target-libssp
47760 html-target-libssp: \
47761 configure-target-libssp
47762 @: $(MAKE); $(unstage)
47763 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47764 r=`${PWD_COMMAND}`; export r; \
47765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47766 $(NORMAL_TARGET_EXPORTS) \
47767 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
47768 for flag in $(EXTRA_TARGET_FLAGS); do \
47769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47770 done; \
47771 (cd $(TARGET_SUBDIR)/libssp && \
47772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47774 "RANLIB=$${RANLIB}" \
47775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47776 html) \
47777 || exit 1
47779 @endif target-libssp
47781 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
47782 maybe-TAGS-target-libssp:
47783 @if target-libssp
47784 maybe-TAGS-target-libssp: TAGS-target-libssp
47786 TAGS-target-libssp: \
47787 configure-target-libssp
47788 @: $(MAKE); $(unstage)
47789 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47790 r=`${PWD_COMMAND}`; export r; \
47791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47792 $(NORMAL_TARGET_EXPORTS) \
47793 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
47794 for flag in $(EXTRA_TARGET_FLAGS); do \
47795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47796 done; \
47797 (cd $(TARGET_SUBDIR)/libssp && \
47798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47800 "RANLIB=$${RANLIB}" \
47801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47802 TAGS) \
47803 || exit 1
47805 @endif target-libssp
47807 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
47808 maybe-install-info-target-libssp:
47809 @if target-libssp
47810 maybe-install-info-target-libssp: install-info-target-libssp
47812 install-info-target-libssp: \
47813 configure-target-libssp \
47814 info-target-libssp
47815 @: $(MAKE); $(unstage)
47816 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47817 r=`${PWD_COMMAND}`; export r; \
47818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47819 $(NORMAL_TARGET_EXPORTS) \
47820 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
47821 for flag in $(EXTRA_TARGET_FLAGS); do \
47822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47823 done; \
47824 (cd $(TARGET_SUBDIR)/libssp && \
47825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47827 "RANLIB=$${RANLIB}" \
47828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47829 install-info) \
47830 || exit 1
47832 @endif target-libssp
47834 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
47835 maybe-install-pdf-target-libssp:
47836 @if target-libssp
47837 maybe-install-pdf-target-libssp: install-pdf-target-libssp
47839 install-pdf-target-libssp: \
47840 configure-target-libssp \
47841 pdf-target-libssp
47842 @: $(MAKE); $(unstage)
47843 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47844 r=`${PWD_COMMAND}`; export r; \
47845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47846 $(NORMAL_TARGET_EXPORTS) \
47847 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
47848 for flag in $(EXTRA_TARGET_FLAGS); do \
47849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47850 done; \
47851 (cd $(TARGET_SUBDIR)/libssp && \
47852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47854 "RANLIB=$${RANLIB}" \
47855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47856 install-pdf) \
47857 || exit 1
47859 @endif target-libssp
47861 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
47862 maybe-install-html-target-libssp:
47863 @if target-libssp
47864 maybe-install-html-target-libssp: install-html-target-libssp
47866 install-html-target-libssp: \
47867 configure-target-libssp \
47868 html-target-libssp
47869 @: $(MAKE); $(unstage)
47870 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47871 r=`${PWD_COMMAND}`; export r; \
47872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47873 $(NORMAL_TARGET_EXPORTS) \
47874 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
47875 for flag in $(EXTRA_TARGET_FLAGS); do \
47876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47877 done; \
47878 (cd $(TARGET_SUBDIR)/libssp && \
47879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47881 "RANLIB=$${RANLIB}" \
47882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47883 install-html) \
47884 || exit 1
47886 @endif target-libssp
47888 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
47889 maybe-installcheck-target-libssp:
47890 @if target-libssp
47891 maybe-installcheck-target-libssp: installcheck-target-libssp
47893 installcheck-target-libssp: \
47894 configure-target-libssp
47895 @: $(MAKE); $(unstage)
47896 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47897 r=`${PWD_COMMAND}`; export r; \
47898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47899 $(NORMAL_TARGET_EXPORTS) \
47900 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
47901 for flag in $(EXTRA_TARGET_FLAGS); do \
47902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47903 done; \
47904 (cd $(TARGET_SUBDIR)/libssp && \
47905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47907 "RANLIB=$${RANLIB}" \
47908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47909 installcheck) \
47910 || exit 1
47912 @endif target-libssp
47914 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
47915 maybe-mostlyclean-target-libssp:
47916 @if target-libssp
47917 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
47919 mostlyclean-target-libssp:
47920 @: $(MAKE); $(unstage)
47921 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47922 r=`${PWD_COMMAND}`; export r; \
47923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47924 $(NORMAL_TARGET_EXPORTS) \
47925 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
47926 for flag in $(EXTRA_TARGET_FLAGS); do \
47927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47928 done; \
47929 (cd $(TARGET_SUBDIR)/libssp && \
47930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47932 "RANLIB=$${RANLIB}" \
47933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47934 mostlyclean) \
47935 || exit 1
47937 @endif target-libssp
47939 .PHONY: maybe-clean-target-libssp clean-target-libssp
47940 maybe-clean-target-libssp:
47941 @if target-libssp
47942 maybe-clean-target-libssp: clean-target-libssp
47944 clean-target-libssp:
47945 @: $(MAKE); $(unstage)
47946 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47947 r=`${PWD_COMMAND}`; export r; \
47948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47949 $(NORMAL_TARGET_EXPORTS) \
47950 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
47951 for flag in $(EXTRA_TARGET_FLAGS); do \
47952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47953 done; \
47954 (cd $(TARGET_SUBDIR)/libssp && \
47955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47957 "RANLIB=$${RANLIB}" \
47958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47959 clean) \
47960 || exit 1
47962 @endif target-libssp
47964 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
47965 maybe-distclean-target-libssp:
47966 @if target-libssp
47967 maybe-distclean-target-libssp: distclean-target-libssp
47969 distclean-target-libssp:
47970 @: $(MAKE); $(unstage)
47971 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47972 r=`${PWD_COMMAND}`; export r; \
47973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47974 $(NORMAL_TARGET_EXPORTS) \
47975 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
47976 for flag in $(EXTRA_TARGET_FLAGS); do \
47977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47978 done; \
47979 (cd $(TARGET_SUBDIR)/libssp && \
47980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47982 "RANLIB=$${RANLIB}" \
47983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47984 distclean) \
47985 || exit 1
47987 @endif target-libssp
47989 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
47990 maybe-maintainer-clean-target-libssp:
47991 @if target-libssp
47992 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
47994 maintainer-clean-target-libssp:
47995 @: $(MAKE); $(unstage)
47996 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
47997 r=`${PWD_COMMAND}`; export r; \
47998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47999 $(NORMAL_TARGET_EXPORTS) \
48000 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
48001 for flag in $(EXTRA_TARGET_FLAGS); do \
48002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48003 done; \
48004 (cd $(TARGET_SUBDIR)/libssp && \
48005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48007 "RANLIB=$${RANLIB}" \
48008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48009 maintainer-clean) \
48010 || exit 1
48012 @endif target-libssp
48018 .PHONY: configure-target-newlib maybe-configure-target-newlib
48019 maybe-configure-target-newlib:
48020 @if gcc-bootstrap
48021 configure-target-newlib: stage_current
48022 @endif gcc-bootstrap
48023 @if target-newlib
48024 maybe-configure-target-newlib: configure-target-newlib
48025 configure-target-newlib:
48026 @: $(MAKE); $(unstage)
48027 @r=`${PWD_COMMAND}`; export r; \
48028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48029 echo "Checking multilib configuration for newlib..."; \
48030 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
48031 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
48032 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
48033 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
48034 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
48035 else \
48036 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
48037 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48038 fi; \
48039 else \
48040 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48041 fi; \
48042 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
48043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
48044 $(NORMAL_TARGET_EXPORTS) \
48045 echo Configuring in $(TARGET_SUBDIR)/newlib; \
48046 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
48047 case $(srcdir) in \
48048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48049 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
48050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48051 esac; \
48052 srcdiroption="--srcdir=$${topdir}/newlib"; \
48053 libsrcdir="$$s/newlib"; \
48054 rm -f no-such-file || : ; \
48055 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48057 --target=${target_alias} $${srcdiroption} \
48058 || exit 1
48059 @endif target-newlib
48065 .PHONY: all-target-newlib maybe-all-target-newlib
48066 maybe-all-target-newlib:
48067 @if gcc-bootstrap
48068 all-target-newlib: stage_current
48069 @endif gcc-bootstrap
48070 @if target-newlib
48071 TARGET-target-newlib=all
48072 maybe-all-target-newlib: all-target-newlib
48073 all-target-newlib: configure-target-newlib
48074 @: $(MAKE); $(unstage)
48075 @r=`${PWD_COMMAND}`; export r; \
48076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48077 $(NORMAL_TARGET_EXPORTS) \
48078 (cd $(TARGET_SUBDIR)/newlib && \
48079 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48080 $(TARGET-target-newlib))
48081 @endif target-newlib
48087 .PHONY: check-target-newlib maybe-check-target-newlib
48088 maybe-check-target-newlib:
48089 @if target-newlib
48090 maybe-check-target-newlib: check-target-newlib
48092 check-target-newlib:
48093 @: $(MAKE); $(unstage)
48094 @r=`${PWD_COMMAND}`; export r; \
48095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48096 $(NORMAL_TARGET_EXPORTS) \
48097 (cd $(TARGET_SUBDIR)/newlib && \
48098 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48100 @endif target-newlib
48102 .PHONY: install-target-newlib maybe-install-target-newlib
48103 maybe-install-target-newlib:
48104 @if target-newlib
48105 maybe-install-target-newlib: install-target-newlib
48107 install-target-newlib: installdirs
48108 @: $(MAKE); $(unstage)
48109 @r=`${PWD_COMMAND}`; export r; \
48110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48111 $(NORMAL_TARGET_EXPORTS) \
48112 (cd $(TARGET_SUBDIR)/newlib && \
48113 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48115 @endif target-newlib
48117 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
48118 maybe-install-strip-target-newlib:
48119 @if target-newlib
48120 maybe-install-strip-target-newlib: install-strip-target-newlib
48122 install-strip-target-newlib: installdirs
48123 @: $(MAKE); $(unstage)
48124 @r=`${PWD_COMMAND}`; export r; \
48125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48126 $(NORMAL_TARGET_EXPORTS) \
48127 (cd $(TARGET_SUBDIR)/newlib && \
48128 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48130 @endif target-newlib
48132 # Other targets (info, dvi, pdf, etc.)
48134 .PHONY: maybe-info-target-newlib info-target-newlib
48135 maybe-info-target-newlib:
48136 @if target-newlib
48137 maybe-info-target-newlib: info-target-newlib
48139 info-target-newlib: \
48140 configure-target-newlib
48141 @: $(MAKE); $(unstage)
48142 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48143 r=`${PWD_COMMAND}`; export r; \
48144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48145 $(NORMAL_TARGET_EXPORTS) \
48146 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
48147 for flag in $(EXTRA_TARGET_FLAGS); do \
48148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48149 done; \
48150 (cd $(TARGET_SUBDIR)/newlib && \
48151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48153 "RANLIB=$${RANLIB}" \
48154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48155 info) \
48156 || exit 1
48158 @endif target-newlib
48160 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
48161 maybe-dvi-target-newlib:
48162 @if target-newlib
48163 maybe-dvi-target-newlib: dvi-target-newlib
48165 dvi-target-newlib: \
48166 configure-target-newlib
48167 @: $(MAKE); $(unstage)
48168 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48169 r=`${PWD_COMMAND}`; export r; \
48170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48171 $(NORMAL_TARGET_EXPORTS) \
48172 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
48173 for flag in $(EXTRA_TARGET_FLAGS); do \
48174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48175 done; \
48176 (cd $(TARGET_SUBDIR)/newlib && \
48177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48179 "RANLIB=$${RANLIB}" \
48180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48181 dvi) \
48182 || exit 1
48184 @endif target-newlib
48186 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
48187 maybe-pdf-target-newlib:
48188 @if target-newlib
48189 maybe-pdf-target-newlib: pdf-target-newlib
48191 pdf-target-newlib: \
48192 configure-target-newlib
48193 @: $(MAKE); $(unstage)
48194 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48195 r=`${PWD_COMMAND}`; export r; \
48196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48197 $(NORMAL_TARGET_EXPORTS) \
48198 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
48199 for flag in $(EXTRA_TARGET_FLAGS); do \
48200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48201 done; \
48202 (cd $(TARGET_SUBDIR)/newlib && \
48203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48205 "RANLIB=$${RANLIB}" \
48206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48207 pdf) \
48208 || exit 1
48210 @endif target-newlib
48212 .PHONY: maybe-html-target-newlib html-target-newlib
48213 maybe-html-target-newlib:
48214 @if target-newlib
48215 maybe-html-target-newlib: html-target-newlib
48217 html-target-newlib: \
48218 configure-target-newlib
48219 @: $(MAKE); $(unstage)
48220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48221 r=`${PWD_COMMAND}`; export r; \
48222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48223 $(NORMAL_TARGET_EXPORTS) \
48224 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
48225 for flag in $(EXTRA_TARGET_FLAGS); do \
48226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48227 done; \
48228 (cd $(TARGET_SUBDIR)/newlib && \
48229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48231 "RANLIB=$${RANLIB}" \
48232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48233 html) \
48234 || exit 1
48236 @endif target-newlib
48238 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
48239 maybe-TAGS-target-newlib:
48240 @if target-newlib
48241 maybe-TAGS-target-newlib: TAGS-target-newlib
48243 TAGS-target-newlib: \
48244 configure-target-newlib
48245 @: $(MAKE); $(unstage)
48246 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48247 r=`${PWD_COMMAND}`; export r; \
48248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48249 $(NORMAL_TARGET_EXPORTS) \
48250 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
48251 for flag in $(EXTRA_TARGET_FLAGS); do \
48252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48253 done; \
48254 (cd $(TARGET_SUBDIR)/newlib && \
48255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48257 "RANLIB=$${RANLIB}" \
48258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48259 TAGS) \
48260 || exit 1
48262 @endif target-newlib
48264 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
48265 maybe-install-info-target-newlib:
48266 @if target-newlib
48267 maybe-install-info-target-newlib: install-info-target-newlib
48269 install-info-target-newlib: \
48270 configure-target-newlib \
48271 info-target-newlib
48272 @: $(MAKE); $(unstage)
48273 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48274 r=`${PWD_COMMAND}`; export r; \
48275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48276 $(NORMAL_TARGET_EXPORTS) \
48277 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
48278 for flag in $(EXTRA_TARGET_FLAGS); do \
48279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48280 done; \
48281 (cd $(TARGET_SUBDIR)/newlib && \
48282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48284 "RANLIB=$${RANLIB}" \
48285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48286 install-info) \
48287 || exit 1
48289 @endif target-newlib
48291 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
48292 maybe-install-pdf-target-newlib:
48293 @if target-newlib
48294 maybe-install-pdf-target-newlib: install-pdf-target-newlib
48296 install-pdf-target-newlib: \
48297 configure-target-newlib \
48298 pdf-target-newlib
48299 @: $(MAKE); $(unstage)
48300 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48301 r=`${PWD_COMMAND}`; export r; \
48302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48303 $(NORMAL_TARGET_EXPORTS) \
48304 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
48305 for flag in $(EXTRA_TARGET_FLAGS); do \
48306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48307 done; \
48308 (cd $(TARGET_SUBDIR)/newlib && \
48309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48311 "RANLIB=$${RANLIB}" \
48312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48313 install-pdf) \
48314 || exit 1
48316 @endif target-newlib
48318 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
48319 maybe-install-html-target-newlib:
48320 @if target-newlib
48321 maybe-install-html-target-newlib: install-html-target-newlib
48323 install-html-target-newlib: \
48324 configure-target-newlib \
48325 html-target-newlib
48326 @: $(MAKE); $(unstage)
48327 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48328 r=`${PWD_COMMAND}`; export r; \
48329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48330 $(NORMAL_TARGET_EXPORTS) \
48331 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
48332 for flag in $(EXTRA_TARGET_FLAGS); do \
48333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48334 done; \
48335 (cd $(TARGET_SUBDIR)/newlib && \
48336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48338 "RANLIB=$${RANLIB}" \
48339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48340 install-html) \
48341 || exit 1
48343 @endif target-newlib
48345 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
48346 maybe-installcheck-target-newlib:
48347 @if target-newlib
48348 maybe-installcheck-target-newlib: installcheck-target-newlib
48350 installcheck-target-newlib: \
48351 configure-target-newlib
48352 @: $(MAKE); $(unstage)
48353 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48354 r=`${PWD_COMMAND}`; export r; \
48355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48356 $(NORMAL_TARGET_EXPORTS) \
48357 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
48358 for flag in $(EXTRA_TARGET_FLAGS); do \
48359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48360 done; \
48361 (cd $(TARGET_SUBDIR)/newlib && \
48362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48364 "RANLIB=$${RANLIB}" \
48365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48366 installcheck) \
48367 || exit 1
48369 @endif target-newlib
48371 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
48372 maybe-mostlyclean-target-newlib:
48373 @if target-newlib
48374 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
48376 mostlyclean-target-newlib:
48377 @: $(MAKE); $(unstage)
48378 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48379 r=`${PWD_COMMAND}`; export r; \
48380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48381 $(NORMAL_TARGET_EXPORTS) \
48382 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
48383 for flag in $(EXTRA_TARGET_FLAGS); do \
48384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48385 done; \
48386 (cd $(TARGET_SUBDIR)/newlib && \
48387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48389 "RANLIB=$${RANLIB}" \
48390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48391 mostlyclean) \
48392 || exit 1
48394 @endif target-newlib
48396 .PHONY: maybe-clean-target-newlib clean-target-newlib
48397 maybe-clean-target-newlib:
48398 @if target-newlib
48399 maybe-clean-target-newlib: clean-target-newlib
48401 clean-target-newlib:
48402 @: $(MAKE); $(unstage)
48403 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48404 r=`${PWD_COMMAND}`; export r; \
48405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48406 $(NORMAL_TARGET_EXPORTS) \
48407 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
48408 for flag in $(EXTRA_TARGET_FLAGS); do \
48409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48410 done; \
48411 (cd $(TARGET_SUBDIR)/newlib && \
48412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48414 "RANLIB=$${RANLIB}" \
48415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48416 clean) \
48417 || exit 1
48419 @endif target-newlib
48421 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
48422 maybe-distclean-target-newlib:
48423 @if target-newlib
48424 maybe-distclean-target-newlib: distclean-target-newlib
48426 distclean-target-newlib:
48427 @: $(MAKE); $(unstage)
48428 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48429 r=`${PWD_COMMAND}`; export r; \
48430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48431 $(NORMAL_TARGET_EXPORTS) \
48432 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
48433 for flag in $(EXTRA_TARGET_FLAGS); do \
48434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48435 done; \
48436 (cd $(TARGET_SUBDIR)/newlib && \
48437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48439 "RANLIB=$${RANLIB}" \
48440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48441 distclean) \
48442 || exit 1
48444 @endif target-newlib
48446 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
48447 maybe-maintainer-clean-target-newlib:
48448 @if target-newlib
48449 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
48451 maintainer-clean-target-newlib:
48452 @: $(MAKE); $(unstage)
48453 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
48454 r=`${PWD_COMMAND}`; export r; \
48455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48456 $(NORMAL_TARGET_EXPORTS) \
48457 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
48458 for flag in $(EXTRA_TARGET_FLAGS); do \
48459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48460 done; \
48461 (cd $(TARGET_SUBDIR)/newlib && \
48462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48464 "RANLIB=$${RANLIB}" \
48465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48466 maintainer-clean) \
48467 || exit 1
48469 @endif target-newlib
48475 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
48476 maybe-configure-target-libgcc:
48477 @if gcc-bootstrap
48478 configure-target-libgcc: stage_current
48479 @endif gcc-bootstrap
48480 @if target-libgcc
48481 maybe-configure-target-libgcc: configure-target-libgcc
48482 configure-target-libgcc:
48483 @r=`${PWD_COMMAND}`; export r; \
48484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48485 echo "Checking multilib configuration for libgcc..."; \
48486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48487 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48488 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48489 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48490 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48491 else \
48492 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48493 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48494 fi; \
48495 else \
48496 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48497 fi; \
48498 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48499 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48500 $(NORMAL_TARGET_EXPORTS) \
48501 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
48502 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
48503 case $(srcdir) in \
48504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48505 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48507 esac; \
48508 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48509 libsrcdir="$$s/libgcc"; \
48510 rm -f no-such-file || : ; \
48511 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48512 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48513 --target=${target_alias} $${srcdiroption} \
48514 || exit 1
48515 @endif target-libgcc
48519 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
48520 maybe-configure-stage1-target-libgcc:
48521 @if target-libgcc-bootstrap
48522 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
48523 configure-stage1-target-libgcc:
48524 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48525 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48526 @r=`${PWD_COMMAND}`; export r; \
48527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48528 TFLAGS="$(STAGE1_TFLAGS)"; \
48529 echo "Checking multilib configuration for libgcc..."; \
48530 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48531 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48532 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48533 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48534 else \
48535 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48536 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48537 fi; \
48538 else \
48539 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48540 fi; \
48541 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48542 $(NORMAL_TARGET_EXPORTS) \
48543 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48544 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48545 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48546 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
48547 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48548 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48549 case $(srcdir) in \
48550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48551 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48553 esac; \
48554 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48555 libsrcdir="$$s/libgcc"; \
48556 $(SHELL) $${libsrcdir}/configure \
48557 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48558 --target=${target_alias} $${srcdiroption} \
48559 $(STAGE1_CONFIGURE_FLAGS)
48560 @endif target-libgcc-bootstrap
48562 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
48563 maybe-configure-stage2-target-libgcc:
48564 @if target-libgcc-bootstrap
48565 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
48566 configure-stage2-target-libgcc:
48567 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48568 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48569 @r=`${PWD_COMMAND}`; export r; \
48570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48571 TFLAGS="$(STAGE2_TFLAGS)"; \
48572 echo "Checking multilib configuration for libgcc..."; \
48573 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48574 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48575 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48576 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48577 else \
48578 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48579 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48580 fi; \
48581 else \
48582 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48583 fi; \
48584 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48585 $(NORMAL_TARGET_EXPORTS) \
48587 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48590 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
48591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48592 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48593 case $(srcdir) in \
48594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48595 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48597 esac; \
48598 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48599 libsrcdir="$$s/libgcc"; \
48600 $(SHELL) $${libsrcdir}/configure \
48601 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48602 --target=${target_alias} $${srcdiroption} \
48603 --with-build-libsubdir=$(HOST_SUBDIR) \
48604 $(STAGE2_CONFIGURE_FLAGS)
48605 @endif target-libgcc-bootstrap
48607 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
48608 maybe-configure-stage3-target-libgcc:
48609 @if target-libgcc-bootstrap
48610 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
48611 configure-stage3-target-libgcc:
48612 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48613 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48614 @r=`${PWD_COMMAND}`; export r; \
48615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48616 TFLAGS="$(STAGE3_TFLAGS)"; \
48617 echo "Checking multilib configuration for libgcc..."; \
48618 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48619 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48620 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48621 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48622 else \
48623 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48624 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48625 fi; \
48626 else \
48627 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48628 fi; \
48629 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48630 $(NORMAL_TARGET_EXPORTS) \
48632 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48633 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48634 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48635 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
48636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48637 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48638 case $(srcdir) in \
48639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48640 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48642 esac; \
48643 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48644 libsrcdir="$$s/libgcc"; \
48645 $(SHELL) $${libsrcdir}/configure \
48646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48647 --target=${target_alias} $${srcdiroption} \
48648 --with-build-libsubdir=$(HOST_SUBDIR) \
48649 $(STAGE3_CONFIGURE_FLAGS)
48650 @endif target-libgcc-bootstrap
48652 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
48653 maybe-configure-stage4-target-libgcc:
48654 @if target-libgcc-bootstrap
48655 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
48656 configure-stage4-target-libgcc:
48657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
48658 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48659 @r=`${PWD_COMMAND}`; export r; \
48660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48661 TFLAGS="$(STAGE4_TFLAGS)"; \
48662 echo "Checking multilib configuration for libgcc..."; \
48663 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48664 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48665 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48666 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48667 else \
48668 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48669 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48670 fi; \
48671 else \
48672 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48673 fi; \
48674 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48675 $(NORMAL_TARGET_EXPORTS) \
48677 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48678 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48679 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48680 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
48681 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48682 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48683 case $(srcdir) in \
48684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48685 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48687 esac; \
48688 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48689 libsrcdir="$$s/libgcc"; \
48690 $(SHELL) $${libsrcdir}/configure \
48691 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48692 --target=${target_alias} $${srcdiroption} \
48693 --with-build-libsubdir=$(HOST_SUBDIR) \
48694 $(STAGE4_CONFIGURE_FLAGS)
48695 @endif target-libgcc-bootstrap
48697 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
48698 maybe-configure-stageprofile-target-libgcc:
48699 @if target-libgcc-bootstrap
48700 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
48701 configure-stageprofile-target-libgcc:
48702 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
48703 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48704 @r=`${PWD_COMMAND}`; export r; \
48705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48706 TFLAGS="$(STAGEprofile_TFLAGS)"; \
48707 echo "Checking multilib configuration for libgcc..."; \
48708 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48709 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48710 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48711 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48712 else \
48713 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48714 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48715 fi; \
48716 else \
48717 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48718 fi; \
48719 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48720 $(NORMAL_TARGET_EXPORTS) \
48722 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48723 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48724 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48725 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
48726 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48727 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48728 case $(srcdir) in \
48729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48730 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48732 esac; \
48733 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48734 libsrcdir="$$s/libgcc"; \
48735 $(SHELL) $${libsrcdir}/configure \
48736 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48737 --target=${target_alias} $${srcdiroption} \
48738 --with-build-libsubdir=$(HOST_SUBDIR) \
48739 $(STAGEprofile_CONFIGURE_FLAGS)
48740 @endif target-libgcc-bootstrap
48742 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
48743 maybe-configure-stagefeedback-target-libgcc:
48744 @if target-libgcc-bootstrap
48745 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
48746 configure-stagefeedback-target-libgcc:
48747 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
48748 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48749 @r=`${PWD_COMMAND}`; export r; \
48750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48751 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
48752 echo "Checking multilib configuration for libgcc..."; \
48753 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
48754 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48755 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48756 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48757 else \
48758 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48759 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48760 fi; \
48761 else \
48762 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48763 fi; \
48764 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48765 $(NORMAL_TARGET_EXPORTS) \
48767 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48768 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48769 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48770 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
48771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
48772 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48773 case $(srcdir) in \
48774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48775 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48777 esac; \
48778 srcdiroption="--srcdir=$${topdir}/libgcc"; \
48779 libsrcdir="$$s/libgcc"; \
48780 $(SHELL) $${libsrcdir}/configure \
48781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48782 --target=${target_alias} $${srcdiroption} \
48783 --with-build-libsubdir=$(HOST_SUBDIR) \
48784 $(STAGEfeedback_CONFIGURE_FLAGS)
48785 @endif target-libgcc-bootstrap
48791 .PHONY: all-target-libgcc maybe-all-target-libgcc
48792 maybe-all-target-libgcc:
48793 @if gcc-bootstrap
48794 all-target-libgcc: stage_current
48795 @endif gcc-bootstrap
48796 @if target-libgcc
48797 TARGET-target-libgcc=all
48798 maybe-all-target-libgcc: all-target-libgcc
48799 all-target-libgcc: configure-target-libgcc
48800 @r=`${PWD_COMMAND}`; export r; \
48801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48802 $(NORMAL_TARGET_EXPORTS) \
48803 (cd $(TARGET_SUBDIR)/libgcc && \
48804 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48805 $(TARGET-target-libgcc))
48806 @endif target-libgcc
48810 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
48811 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
48812 maybe-all-stage1-target-libgcc:
48813 maybe-clean-stage1-target-libgcc:
48814 @if target-libgcc-bootstrap
48815 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
48816 all-stage1: all-stage1-target-libgcc
48817 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
48818 all-stage1-target-libgcc: configure-stage1-target-libgcc
48819 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48820 @r=`${PWD_COMMAND}`; export r; \
48821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48822 TFLAGS="$(STAGE1_TFLAGS)"; \
48823 $(NORMAL_TARGET_EXPORTS) \
48824 cd $(TARGET_SUBDIR)/libgcc && \
48825 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48826 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48827 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48828 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48832 $(EXTRA_TARGET_FLAGS) \
48833 TFLAGS="$(STAGE1_TFLAGS)" \
48834 $(TARGET-stage1-target-libgcc)
48836 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
48837 clean-stage1: clean-stage1-target-libgcc
48838 clean-stage1-target-libgcc:
48839 @if [ $(current_stage) = stage1 ]; then \
48840 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48841 else \
48842 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
48843 $(MAKE) stage1-start; \
48844 fi; \
48845 cd $(TARGET_SUBDIR)/libgcc && \
48846 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48847 clean
48848 @endif target-libgcc-bootstrap
48851 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
48852 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
48853 maybe-all-stage2-target-libgcc:
48854 maybe-clean-stage2-target-libgcc:
48855 @if target-libgcc-bootstrap
48856 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
48857 all-stage2: all-stage2-target-libgcc
48858 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
48859 all-stage2-target-libgcc: configure-stage2-target-libgcc
48860 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48861 @r=`${PWD_COMMAND}`; export r; \
48862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48863 TFLAGS="$(STAGE2_TFLAGS)"; \
48864 $(NORMAL_TARGET_EXPORTS) \
48866 cd $(TARGET_SUBDIR)/libgcc && \
48867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48868 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48869 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48870 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48874 $(EXTRA_TARGET_FLAGS) \
48875 TFLAGS="$(STAGE2_TFLAGS)" \
48876 $(TARGET-stage2-target-libgcc)
48878 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
48879 clean-stage2: clean-stage2-target-libgcc
48880 clean-stage2-target-libgcc:
48881 @if [ $(current_stage) = stage2 ]; then \
48882 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48883 else \
48884 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
48885 $(MAKE) stage2-start; \
48886 fi; \
48887 cd $(TARGET_SUBDIR)/libgcc && \
48888 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48890 clean
48891 @endif target-libgcc-bootstrap
48894 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
48895 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
48896 maybe-all-stage3-target-libgcc:
48897 maybe-clean-stage3-target-libgcc:
48898 @if target-libgcc-bootstrap
48899 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
48900 all-stage3: all-stage3-target-libgcc
48901 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
48902 all-stage3-target-libgcc: configure-stage3-target-libgcc
48903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48904 @r=`${PWD_COMMAND}`; export r; \
48905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48906 TFLAGS="$(STAGE3_TFLAGS)"; \
48907 $(NORMAL_TARGET_EXPORTS) \
48909 cd $(TARGET_SUBDIR)/libgcc && \
48910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48911 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48912 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48913 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48917 $(EXTRA_TARGET_FLAGS) \
48918 TFLAGS="$(STAGE3_TFLAGS)" \
48919 $(TARGET-stage3-target-libgcc)
48921 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
48922 clean-stage3: clean-stage3-target-libgcc
48923 clean-stage3-target-libgcc:
48924 @if [ $(current_stage) = stage3 ]; then \
48925 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48926 else \
48927 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
48928 $(MAKE) stage3-start; \
48929 fi; \
48930 cd $(TARGET_SUBDIR)/libgcc && \
48931 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48933 clean
48934 @endif target-libgcc-bootstrap
48937 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
48938 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
48939 maybe-all-stage4-target-libgcc:
48940 maybe-clean-stage4-target-libgcc:
48941 @if target-libgcc-bootstrap
48942 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
48943 all-stage4: all-stage4-target-libgcc
48944 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
48945 all-stage4-target-libgcc: configure-stage4-target-libgcc
48946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
48947 @r=`${PWD_COMMAND}`; export r; \
48948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48949 TFLAGS="$(STAGE4_TFLAGS)"; \
48950 $(NORMAL_TARGET_EXPORTS) \
48952 cd $(TARGET_SUBDIR)/libgcc && \
48953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48954 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48955 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48956 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
48957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
48958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
48959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
48960 $(EXTRA_TARGET_FLAGS) \
48961 TFLAGS="$(STAGE4_TFLAGS)" \
48962 $(TARGET-stage4-target-libgcc)
48964 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
48965 clean-stage4: clean-stage4-target-libgcc
48966 clean-stage4-target-libgcc:
48967 @if [ $(current_stage) = stage4 ]; then \
48968 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
48969 else \
48970 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
48971 $(MAKE) stage4-start; \
48972 fi; \
48973 cd $(TARGET_SUBDIR)/libgcc && \
48974 $(MAKE) $(EXTRA_TARGET_FLAGS) \
48976 clean
48977 @endif target-libgcc-bootstrap
48980 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
48981 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
48982 maybe-all-stageprofile-target-libgcc:
48983 maybe-clean-stageprofile-target-libgcc:
48984 @if target-libgcc-bootstrap
48985 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
48986 all-stageprofile: all-stageprofile-target-libgcc
48987 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
48988 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
48989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
48990 @r=`${PWD_COMMAND}`; export r; \
48991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
48993 $(NORMAL_TARGET_EXPORTS) \
48995 cd $(TARGET_SUBDIR)/libgcc && \
48996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
48997 CFLAGS="$(CFLAGS_FOR_TARGET)" \
48998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
48999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49003 $(EXTRA_TARGET_FLAGS) \
49004 TFLAGS="$(STAGEprofile_TFLAGS)" \
49005 $(TARGET-stageprofile-target-libgcc)
49007 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
49008 clean-stageprofile: clean-stageprofile-target-libgcc
49009 clean-stageprofile-target-libgcc:
49010 @if [ $(current_stage) = stageprofile ]; then \
49011 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49012 else \
49013 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
49014 $(MAKE) stageprofile-start; \
49015 fi; \
49016 cd $(TARGET_SUBDIR)/libgcc && \
49017 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49019 clean
49020 @endif target-libgcc-bootstrap
49023 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
49024 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
49025 maybe-all-stagefeedback-target-libgcc:
49026 maybe-clean-stagefeedback-target-libgcc:
49027 @if target-libgcc-bootstrap
49028 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
49029 all-stagefeedback: all-stagefeedback-target-libgcc
49030 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
49031 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49032 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49033 @r=`${PWD_COMMAND}`; export r; \
49034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49035 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49036 $(NORMAL_TARGET_EXPORTS) \
49038 cd $(TARGET_SUBDIR)/libgcc && \
49039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49040 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49041 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49042 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49043 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49044 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49045 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49046 $(EXTRA_TARGET_FLAGS) \
49047 TFLAGS="$(STAGEfeedback_TFLAGS)" \
49048 $(TARGET-stagefeedback-target-libgcc)
49050 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
49051 clean-stagefeedback: clean-stagefeedback-target-libgcc
49052 clean-stagefeedback-target-libgcc:
49053 @if [ $(current_stage) = stagefeedback ]; then \
49054 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49055 else \
49056 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
49057 $(MAKE) stagefeedback-start; \
49058 fi; \
49059 cd $(TARGET_SUBDIR)/libgcc && \
49060 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49062 clean
49063 @endif target-libgcc-bootstrap
49070 .PHONY: check-target-libgcc maybe-check-target-libgcc
49071 maybe-check-target-libgcc:
49072 @if target-libgcc
49073 maybe-check-target-libgcc: check-target-libgcc
49075 # Dummy target for uncheckable module.
49076 check-target-libgcc:
49078 @endif target-libgcc
49080 .PHONY: install-target-libgcc maybe-install-target-libgcc
49081 maybe-install-target-libgcc:
49082 @if target-libgcc
49083 maybe-install-target-libgcc: install-target-libgcc
49085 install-target-libgcc: installdirs
49086 @: $(MAKE); $(unstage)
49087 @r=`${PWD_COMMAND}`; export r; \
49088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49089 $(NORMAL_TARGET_EXPORTS) \
49090 (cd $(TARGET_SUBDIR)/libgcc && \
49091 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49093 @endif target-libgcc
49095 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
49096 maybe-install-strip-target-libgcc:
49097 @if target-libgcc
49098 maybe-install-strip-target-libgcc: install-strip-target-libgcc
49100 install-strip-target-libgcc: installdirs
49101 @: $(MAKE); $(unstage)
49102 @r=`${PWD_COMMAND}`; export r; \
49103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49104 $(NORMAL_TARGET_EXPORTS) \
49105 (cd $(TARGET_SUBDIR)/libgcc && \
49106 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49108 @endif target-libgcc
49110 # Other targets (info, dvi, pdf, etc.)
49112 .PHONY: maybe-info-target-libgcc info-target-libgcc
49113 maybe-info-target-libgcc:
49114 @if target-libgcc
49115 maybe-info-target-libgcc: info-target-libgcc
49117 info-target-libgcc: \
49118 configure-target-libgcc
49119 @: $(MAKE); $(unstage)
49120 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49121 r=`${PWD_COMMAND}`; export r; \
49122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49123 $(NORMAL_TARGET_EXPORTS) \
49124 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
49125 for flag in $(EXTRA_TARGET_FLAGS); do \
49126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49127 done; \
49128 (cd $(TARGET_SUBDIR)/libgcc && \
49129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49131 "RANLIB=$${RANLIB}" \
49132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49133 info) \
49134 || exit 1
49136 @endif target-libgcc
49138 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
49139 maybe-dvi-target-libgcc:
49140 @if target-libgcc
49141 maybe-dvi-target-libgcc: dvi-target-libgcc
49143 dvi-target-libgcc: \
49144 configure-target-libgcc
49145 @: $(MAKE); $(unstage)
49146 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49147 r=`${PWD_COMMAND}`; export r; \
49148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49149 $(NORMAL_TARGET_EXPORTS) \
49150 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
49151 for flag in $(EXTRA_TARGET_FLAGS); do \
49152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49153 done; \
49154 (cd $(TARGET_SUBDIR)/libgcc && \
49155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49157 "RANLIB=$${RANLIB}" \
49158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49159 dvi) \
49160 || exit 1
49162 @endif target-libgcc
49164 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
49165 maybe-pdf-target-libgcc:
49166 @if target-libgcc
49167 maybe-pdf-target-libgcc: pdf-target-libgcc
49169 pdf-target-libgcc: \
49170 configure-target-libgcc
49171 @: $(MAKE); $(unstage)
49172 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49173 r=`${PWD_COMMAND}`; export r; \
49174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49175 $(NORMAL_TARGET_EXPORTS) \
49176 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
49177 for flag in $(EXTRA_TARGET_FLAGS); do \
49178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49179 done; \
49180 (cd $(TARGET_SUBDIR)/libgcc && \
49181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49183 "RANLIB=$${RANLIB}" \
49184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49185 pdf) \
49186 || exit 1
49188 @endif target-libgcc
49190 .PHONY: maybe-html-target-libgcc html-target-libgcc
49191 maybe-html-target-libgcc:
49192 @if target-libgcc
49193 maybe-html-target-libgcc: html-target-libgcc
49195 html-target-libgcc: \
49196 configure-target-libgcc
49197 @: $(MAKE); $(unstage)
49198 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49199 r=`${PWD_COMMAND}`; export r; \
49200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49201 $(NORMAL_TARGET_EXPORTS) \
49202 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
49203 for flag in $(EXTRA_TARGET_FLAGS); do \
49204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49205 done; \
49206 (cd $(TARGET_SUBDIR)/libgcc && \
49207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49209 "RANLIB=$${RANLIB}" \
49210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49211 html) \
49212 || exit 1
49214 @endif target-libgcc
49216 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
49217 maybe-TAGS-target-libgcc:
49218 @if target-libgcc
49219 maybe-TAGS-target-libgcc: TAGS-target-libgcc
49221 TAGS-target-libgcc: \
49222 configure-target-libgcc
49223 @: $(MAKE); $(unstage)
49224 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49225 r=`${PWD_COMMAND}`; export r; \
49226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49227 $(NORMAL_TARGET_EXPORTS) \
49228 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
49229 for flag in $(EXTRA_TARGET_FLAGS); do \
49230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49231 done; \
49232 (cd $(TARGET_SUBDIR)/libgcc && \
49233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49235 "RANLIB=$${RANLIB}" \
49236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49237 TAGS) \
49238 || exit 1
49240 @endif target-libgcc
49242 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
49243 maybe-install-info-target-libgcc:
49244 @if target-libgcc
49245 maybe-install-info-target-libgcc: install-info-target-libgcc
49247 install-info-target-libgcc: \
49248 configure-target-libgcc \
49249 info-target-libgcc
49250 @: $(MAKE); $(unstage)
49251 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49252 r=`${PWD_COMMAND}`; export r; \
49253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49254 $(NORMAL_TARGET_EXPORTS) \
49255 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
49256 for flag in $(EXTRA_TARGET_FLAGS); do \
49257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49258 done; \
49259 (cd $(TARGET_SUBDIR)/libgcc && \
49260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49262 "RANLIB=$${RANLIB}" \
49263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49264 install-info) \
49265 || exit 1
49267 @endif target-libgcc
49269 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
49270 maybe-install-pdf-target-libgcc:
49271 @if target-libgcc
49272 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
49274 install-pdf-target-libgcc: \
49275 configure-target-libgcc \
49276 pdf-target-libgcc
49277 @: $(MAKE); $(unstage)
49278 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49279 r=`${PWD_COMMAND}`; export r; \
49280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49281 $(NORMAL_TARGET_EXPORTS) \
49282 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
49283 for flag in $(EXTRA_TARGET_FLAGS); do \
49284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49285 done; \
49286 (cd $(TARGET_SUBDIR)/libgcc && \
49287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49289 "RANLIB=$${RANLIB}" \
49290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49291 install-pdf) \
49292 || exit 1
49294 @endif target-libgcc
49296 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
49297 maybe-install-html-target-libgcc:
49298 @if target-libgcc
49299 maybe-install-html-target-libgcc: install-html-target-libgcc
49301 install-html-target-libgcc: \
49302 configure-target-libgcc \
49303 html-target-libgcc
49304 @: $(MAKE); $(unstage)
49305 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49306 r=`${PWD_COMMAND}`; export r; \
49307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49308 $(NORMAL_TARGET_EXPORTS) \
49309 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
49310 for flag in $(EXTRA_TARGET_FLAGS); do \
49311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49312 done; \
49313 (cd $(TARGET_SUBDIR)/libgcc && \
49314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49316 "RANLIB=$${RANLIB}" \
49317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49318 install-html) \
49319 || exit 1
49321 @endif target-libgcc
49323 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
49324 maybe-installcheck-target-libgcc:
49325 @if target-libgcc
49326 maybe-installcheck-target-libgcc: installcheck-target-libgcc
49328 installcheck-target-libgcc: \
49329 configure-target-libgcc
49330 @: $(MAKE); $(unstage)
49331 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49332 r=`${PWD_COMMAND}`; export r; \
49333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49334 $(NORMAL_TARGET_EXPORTS) \
49335 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
49336 for flag in $(EXTRA_TARGET_FLAGS); do \
49337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49338 done; \
49339 (cd $(TARGET_SUBDIR)/libgcc && \
49340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49342 "RANLIB=$${RANLIB}" \
49343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49344 installcheck) \
49345 || exit 1
49347 @endif target-libgcc
49349 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
49350 maybe-mostlyclean-target-libgcc:
49351 @if target-libgcc
49352 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
49354 mostlyclean-target-libgcc:
49355 @: $(MAKE); $(unstage)
49356 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49357 r=`${PWD_COMMAND}`; export r; \
49358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49359 $(NORMAL_TARGET_EXPORTS) \
49360 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
49361 for flag in $(EXTRA_TARGET_FLAGS); do \
49362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49363 done; \
49364 (cd $(TARGET_SUBDIR)/libgcc && \
49365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49367 "RANLIB=$${RANLIB}" \
49368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49369 mostlyclean) \
49370 || exit 1
49372 @endif target-libgcc
49374 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
49375 maybe-clean-target-libgcc:
49376 @if target-libgcc
49377 maybe-clean-target-libgcc: clean-target-libgcc
49379 clean-target-libgcc:
49380 @: $(MAKE); $(unstage)
49381 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49382 r=`${PWD_COMMAND}`; export r; \
49383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49384 $(NORMAL_TARGET_EXPORTS) \
49385 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
49386 for flag in $(EXTRA_TARGET_FLAGS); do \
49387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49388 done; \
49389 (cd $(TARGET_SUBDIR)/libgcc && \
49390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49392 "RANLIB=$${RANLIB}" \
49393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49394 clean) \
49395 || exit 1
49397 @endif target-libgcc
49399 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
49400 maybe-distclean-target-libgcc:
49401 @if target-libgcc
49402 maybe-distclean-target-libgcc: distclean-target-libgcc
49404 distclean-target-libgcc:
49405 @: $(MAKE); $(unstage)
49406 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49407 r=`${PWD_COMMAND}`; export r; \
49408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49409 $(NORMAL_TARGET_EXPORTS) \
49410 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
49411 for flag in $(EXTRA_TARGET_FLAGS); do \
49412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49413 done; \
49414 (cd $(TARGET_SUBDIR)/libgcc && \
49415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49417 "RANLIB=$${RANLIB}" \
49418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49419 distclean) \
49420 || exit 1
49422 @endif target-libgcc
49424 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
49425 maybe-maintainer-clean-target-libgcc:
49426 @if target-libgcc
49427 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
49429 maintainer-clean-target-libgcc:
49430 @: $(MAKE); $(unstage)
49431 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
49432 r=`${PWD_COMMAND}`; export r; \
49433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49434 $(NORMAL_TARGET_EXPORTS) \
49435 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
49436 for flag in $(EXTRA_TARGET_FLAGS); do \
49437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49438 done; \
49439 (cd $(TARGET_SUBDIR)/libgcc && \
49440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49442 "RANLIB=$${RANLIB}" \
49443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49444 maintainer-clean) \
49445 || exit 1
49447 @endif target-libgcc
49453 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
49454 maybe-configure-target-libquadmath:
49455 @if gcc-bootstrap
49456 configure-target-libquadmath: stage_current
49457 @endif gcc-bootstrap
49458 @if target-libquadmath
49459 maybe-configure-target-libquadmath: configure-target-libquadmath
49460 configure-target-libquadmath:
49461 @: $(MAKE); $(unstage)
49462 @r=`${PWD_COMMAND}`; export r; \
49463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49464 echo "Checking multilib configuration for libquadmath..."; \
49465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
49466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
49467 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
49468 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
49469 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
49470 else \
49471 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
49472 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
49473 fi; \
49474 else \
49475 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
49476 fi; \
49477 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
49478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
49479 $(NORMAL_TARGET_EXPORTS) \
49480 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
49481 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
49482 case $(srcdir) in \
49483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49484 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
49485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49486 esac; \
49487 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
49488 libsrcdir="$$s/libquadmath"; \
49489 rm -f no-such-file || : ; \
49490 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49492 --target=${target_alias} $${srcdiroption} \
49493 || exit 1
49494 @endif target-libquadmath
49500 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
49501 maybe-all-target-libquadmath:
49502 @if gcc-bootstrap
49503 all-target-libquadmath: stage_current
49504 @endif gcc-bootstrap
49505 @if target-libquadmath
49506 TARGET-target-libquadmath=all
49507 maybe-all-target-libquadmath: all-target-libquadmath
49508 all-target-libquadmath: configure-target-libquadmath
49509 @: $(MAKE); $(unstage)
49510 @r=`${PWD_COMMAND}`; export r; \
49511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49512 $(NORMAL_TARGET_EXPORTS) \
49513 (cd $(TARGET_SUBDIR)/libquadmath && \
49514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49515 $(TARGET-target-libquadmath))
49516 @endif target-libquadmath
49522 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
49523 maybe-check-target-libquadmath:
49524 @if target-libquadmath
49525 maybe-check-target-libquadmath: check-target-libquadmath
49527 check-target-libquadmath:
49528 @: $(MAKE); $(unstage)
49529 @r=`${PWD_COMMAND}`; export r; \
49530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49531 $(NORMAL_TARGET_EXPORTS) \
49532 (cd $(TARGET_SUBDIR)/libquadmath && \
49533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49535 @endif target-libquadmath
49537 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
49538 maybe-install-target-libquadmath:
49539 @if target-libquadmath
49540 maybe-install-target-libquadmath: install-target-libquadmath
49542 install-target-libquadmath: installdirs
49543 @: $(MAKE); $(unstage)
49544 @r=`${PWD_COMMAND}`; export r; \
49545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49546 $(NORMAL_TARGET_EXPORTS) \
49547 (cd $(TARGET_SUBDIR)/libquadmath && \
49548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49550 @endif target-libquadmath
49552 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
49553 maybe-install-strip-target-libquadmath:
49554 @if target-libquadmath
49555 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
49557 install-strip-target-libquadmath: installdirs
49558 @: $(MAKE); $(unstage)
49559 @r=`${PWD_COMMAND}`; export r; \
49560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49561 $(NORMAL_TARGET_EXPORTS) \
49562 (cd $(TARGET_SUBDIR)/libquadmath && \
49563 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49565 @endif target-libquadmath
49567 # Other targets (info, dvi, pdf, etc.)
49569 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
49570 maybe-info-target-libquadmath:
49571 @if target-libquadmath
49572 maybe-info-target-libquadmath: info-target-libquadmath
49574 info-target-libquadmath: \
49575 configure-target-libquadmath
49576 @: $(MAKE); $(unstage)
49577 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49578 r=`${PWD_COMMAND}`; export r; \
49579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49580 $(NORMAL_TARGET_EXPORTS) \
49581 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
49582 for flag in $(EXTRA_TARGET_FLAGS); do \
49583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49584 done; \
49585 (cd $(TARGET_SUBDIR)/libquadmath && \
49586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49588 "RANLIB=$${RANLIB}" \
49589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49590 info) \
49591 || exit 1
49593 @endif target-libquadmath
49595 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
49596 maybe-dvi-target-libquadmath:
49597 @if target-libquadmath
49598 maybe-dvi-target-libquadmath: dvi-target-libquadmath
49600 dvi-target-libquadmath: \
49601 configure-target-libquadmath
49602 @: $(MAKE); $(unstage)
49603 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49604 r=`${PWD_COMMAND}`; export r; \
49605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49606 $(NORMAL_TARGET_EXPORTS) \
49607 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
49608 for flag in $(EXTRA_TARGET_FLAGS); do \
49609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49610 done; \
49611 (cd $(TARGET_SUBDIR)/libquadmath && \
49612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49614 "RANLIB=$${RANLIB}" \
49615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49616 dvi) \
49617 || exit 1
49619 @endif target-libquadmath
49621 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
49622 maybe-pdf-target-libquadmath:
49623 @if target-libquadmath
49624 maybe-pdf-target-libquadmath: pdf-target-libquadmath
49626 pdf-target-libquadmath: \
49627 configure-target-libquadmath
49628 @: $(MAKE); $(unstage)
49629 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49630 r=`${PWD_COMMAND}`; export r; \
49631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49632 $(NORMAL_TARGET_EXPORTS) \
49633 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
49634 for flag in $(EXTRA_TARGET_FLAGS); do \
49635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49636 done; \
49637 (cd $(TARGET_SUBDIR)/libquadmath && \
49638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49640 "RANLIB=$${RANLIB}" \
49641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49642 pdf) \
49643 || exit 1
49645 @endif target-libquadmath
49647 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
49648 maybe-html-target-libquadmath:
49649 @if target-libquadmath
49650 maybe-html-target-libquadmath: html-target-libquadmath
49652 html-target-libquadmath: \
49653 configure-target-libquadmath
49654 @: $(MAKE); $(unstage)
49655 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49656 r=`${PWD_COMMAND}`; export r; \
49657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49658 $(NORMAL_TARGET_EXPORTS) \
49659 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
49660 for flag in $(EXTRA_TARGET_FLAGS); do \
49661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49662 done; \
49663 (cd $(TARGET_SUBDIR)/libquadmath && \
49664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49666 "RANLIB=$${RANLIB}" \
49667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49668 html) \
49669 || exit 1
49671 @endif target-libquadmath
49673 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
49674 maybe-TAGS-target-libquadmath:
49675 @if target-libquadmath
49676 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
49678 TAGS-target-libquadmath: \
49679 configure-target-libquadmath
49680 @: $(MAKE); $(unstage)
49681 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49682 r=`${PWD_COMMAND}`; export r; \
49683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49684 $(NORMAL_TARGET_EXPORTS) \
49685 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
49686 for flag in $(EXTRA_TARGET_FLAGS); do \
49687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49688 done; \
49689 (cd $(TARGET_SUBDIR)/libquadmath && \
49690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49692 "RANLIB=$${RANLIB}" \
49693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49694 TAGS) \
49695 || exit 1
49697 @endif target-libquadmath
49699 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
49700 maybe-install-info-target-libquadmath:
49701 @if target-libquadmath
49702 maybe-install-info-target-libquadmath: install-info-target-libquadmath
49704 install-info-target-libquadmath: \
49705 configure-target-libquadmath \
49706 info-target-libquadmath
49707 @: $(MAKE); $(unstage)
49708 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49709 r=`${PWD_COMMAND}`; export r; \
49710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49711 $(NORMAL_TARGET_EXPORTS) \
49712 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
49713 for flag in $(EXTRA_TARGET_FLAGS); do \
49714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49715 done; \
49716 (cd $(TARGET_SUBDIR)/libquadmath && \
49717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49719 "RANLIB=$${RANLIB}" \
49720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49721 install-info) \
49722 || exit 1
49724 @endif target-libquadmath
49726 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
49727 maybe-install-pdf-target-libquadmath:
49728 @if target-libquadmath
49729 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
49731 install-pdf-target-libquadmath: \
49732 configure-target-libquadmath \
49733 pdf-target-libquadmath
49734 @: $(MAKE); $(unstage)
49735 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49736 r=`${PWD_COMMAND}`; export r; \
49737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49738 $(NORMAL_TARGET_EXPORTS) \
49739 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
49740 for flag in $(EXTRA_TARGET_FLAGS); do \
49741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49742 done; \
49743 (cd $(TARGET_SUBDIR)/libquadmath && \
49744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49746 "RANLIB=$${RANLIB}" \
49747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49748 install-pdf) \
49749 || exit 1
49751 @endif target-libquadmath
49753 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
49754 maybe-install-html-target-libquadmath:
49755 @if target-libquadmath
49756 maybe-install-html-target-libquadmath: install-html-target-libquadmath
49758 install-html-target-libquadmath: \
49759 configure-target-libquadmath \
49760 html-target-libquadmath
49761 @: $(MAKE); $(unstage)
49762 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49763 r=`${PWD_COMMAND}`; export r; \
49764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49765 $(NORMAL_TARGET_EXPORTS) \
49766 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
49767 for flag in $(EXTRA_TARGET_FLAGS); do \
49768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49769 done; \
49770 (cd $(TARGET_SUBDIR)/libquadmath && \
49771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49773 "RANLIB=$${RANLIB}" \
49774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49775 install-html) \
49776 || exit 1
49778 @endif target-libquadmath
49780 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
49781 maybe-installcheck-target-libquadmath:
49782 @if target-libquadmath
49783 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
49785 installcheck-target-libquadmath: \
49786 configure-target-libquadmath
49787 @: $(MAKE); $(unstage)
49788 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49789 r=`${PWD_COMMAND}`; export r; \
49790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49791 $(NORMAL_TARGET_EXPORTS) \
49792 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
49793 for flag in $(EXTRA_TARGET_FLAGS); do \
49794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49795 done; \
49796 (cd $(TARGET_SUBDIR)/libquadmath && \
49797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49799 "RANLIB=$${RANLIB}" \
49800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49801 installcheck) \
49802 || exit 1
49804 @endif target-libquadmath
49806 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
49807 maybe-mostlyclean-target-libquadmath:
49808 @if target-libquadmath
49809 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
49811 mostlyclean-target-libquadmath:
49812 @: $(MAKE); $(unstage)
49813 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49814 r=`${PWD_COMMAND}`; export r; \
49815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49816 $(NORMAL_TARGET_EXPORTS) \
49817 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
49818 for flag in $(EXTRA_TARGET_FLAGS); do \
49819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49820 done; \
49821 (cd $(TARGET_SUBDIR)/libquadmath && \
49822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49824 "RANLIB=$${RANLIB}" \
49825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49826 mostlyclean) \
49827 || exit 1
49829 @endif target-libquadmath
49831 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
49832 maybe-clean-target-libquadmath:
49833 @if target-libquadmath
49834 maybe-clean-target-libquadmath: clean-target-libquadmath
49836 clean-target-libquadmath:
49837 @: $(MAKE); $(unstage)
49838 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49839 r=`${PWD_COMMAND}`; export r; \
49840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49841 $(NORMAL_TARGET_EXPORTS) \
49842 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
49843 for flag in $(EXTRA_TARGET_FLAGS); do \
49844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49845 done; \
49846 (cd $(TARGET_SUBDIR)/libquadmath && \
49847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49849 "RANLIB=$${RANLIB}" \
49850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49851 clean) \
49852 || exit 1
49854 @endif target-libquadmath
49856 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
49857 maybe-distclean-target-libquadmath:
49858 @if target-libquadmath
49859 maybe-distclean-target-libquadmath: distclean-target-libquadmath
49861 distclean-target-libquadmath:
49862 @: $(MAKE); $(unstage)
49863 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49864 r=`${PWD_COMMAND}`; export r; \
49865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49866 $(NORMAL_TARGET_EXPORTS) \
49867 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
49868 for flag in $(EXTRA_TARGET_FLAGS); do \
49869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49870 done; \
49871 (cd $(TARGET_SUBDIR)/libquadmath && \
49872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49874 "RANLIB=$${RANLIB}" \
49875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49876 distclean) \
49877 || exit 1
49879 @endif target-libquadmath
49881 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
49882 maybe-maintainer-clean-target-libquadmath:
49883 @if target-libquadmath
49884 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
49886 maintainer-clean-target-libquadmath:
49887 @: $(MAKE); $(unstage)
49888 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
49889 r=`${PWD_COMMAND}`; export r; \
49890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49891 $(NORMAL_TARGET_EXPORTS) \
49892 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
49893 for flag in $(EXTRA_TARGET_FLAGS); do \
49894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49895 done; \
49896 (cd $(TARGET_SUBDIR)/libquadmath && \
49897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49899 "RANLIB=$${RANLIB}" \
49900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49901 maintainer-clean) \
49902 || exit 1
49904 @endif target-libquadmath
49910 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
49911 maybe-configure-target-libgfortran:
49912 @if gcc-bootstrap
49913 configure-target-libgfortran: stage_current
49914 @endif gcc-bootstrap
49915 @if target-libgfortran
49916 maybe-configure-target-libgfortran: configure-target-libgfortran
49917 configure-target-libgfortran:
49918 @: $(MAKE); $(unstage)
49919 @r=`${PWD_COMMAND}`; export r; \
49920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49921 echo "Checking multilib configuration for libgfortran..."; \
49922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
49923 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
49924 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
49925 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
49926 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
49927 else \
49928 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
49929 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
49930 fi; \
49931 else \
49932 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
49933 fi; \
49934 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
49935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
49936 $(NORMAL_TARGET_EXPORTS) \
49937 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
49938 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
49939 case $(srcdir) in \
49940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49941 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
49942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49943 esac; \
49944 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
49945 libsrcdir="$$s/libgfortran"; \
49946 rm -f no-such-file || : ; \
49947 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49948 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49949 --target=${target_alias} $${srcdiroption} \
49950 || exit 1
49951 @endif target-libgfortran
49957 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
49958 maybe-all-target-libgfortran:
49959 @if gcc-bootstrap
49960 all-target-libgfortran: stage_current
49961 @endif gcc-bootstrap
49962 @if target-libgfortran
49963 TARGET-target-libgfortran=all
49964 maybe-all-target-libgfortran: all-target-libgfortran
49965 all-target-libgfortran: configure-target-libgfortran
49966 @: $(MAKE); $(unstage)
49967 @r=`${PWD_COMMAND}`; export r; \
49968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49969 $(NORMAL_TARGET_EXPORTS) \
49970 (cd $(TARGET_SUBDIR)/libgfortran && \
49971 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49972 $(TARGET-target-libgfortran))
49973 @endif target-libgfortran
49979 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
49980 maybe-check-target-libgfortran:
49981 @if target-libgfortran
49982 maybe-check-target-libgfortran: check-target-libgfortran
49984 check-target-libgfortran:
49985 @: $(MAKE); $(unstage)
49986 @r=`${PWD_COMMAND}`; export r; \
49987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49988 $(NORMAL_TARGET_EXPORTS) \
49989 (cd $(TARGET_SUBDIR)/libgfortran && \
49990 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49992 @endif target-libgfortran
49994 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
49995 maybe-install-target-libgfortran:
49996 @if target-libgfortran
49997 maybe-install-target-libgfortran: install-target-libgfortran
49999 install-target-libgfortran: installdirs
50000 @: $(MAKE); $(unstage)
50001 @r=`${PWD_COMMAND}`; export r; \
50002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50003 $(NORMAL_TARGET_EXPORTS) \
50004 (cd $(TARGET_SUBDIR)/libgfortran && \
50005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50007 @endif target-libgfortran
50009 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
50010 maybe-install-strip-target-libgfortran:
50011 @if target-libgfortran
50012 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
50014 install-strip-target-libgfortran: installdirs
50015 @: $(MAKE); $(unstage)
50016 @r=`${PWD_COMMAND}`; export r; \
50017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50018 $(NORMAL_TARGET_EXPORTS) \
50019 (cd $(TARGET_SUBDIR)/libgfortran && \
50020 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50022 @endif target-libgfortran
50024 # Other targets (info, dvi, pdf, etc.)
50026 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
50027 maybe-info-target-libgfortran:
50028 @if target-libgfortran
50029 maybe-info-target-libgfortran: info-target-libgfortran
50031 info-target-libgfortran: \
50032 configure-target-libgfortran
50033 @: $(MAKE); $(unstage)
50034 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50035 r=`${PWD_COMMAND}`; export r; \
50036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50037 $(NORMAL_TARGET_EXPORTS) \
50038 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
50039 for flag in $(EXTRA_TARGET_FLAGS); do \
50040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50041 done; \
50042 (cd $(TARGET_SUBDIR)/libgfortran && \
50043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50045 "RANLIB=$${RANLIB}" \
50046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50047 info) \
50048 || exit 1
50050 @endif target-libgfortran
50052 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
50053 maybe-dvi-target-libgfortran:
50054 @if target-libgfortran
50055 maybe-dvi-target-libgfortran: dvi-target-libgfortran
50057 dvi-target-libgfortran: \
50058 configure-target-libgfortran
50059 @: $(MAKE); $(unstage)
50060 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50061 r=`${PWD_COMMAND}`; export r; \
50062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50063 $(NORMAL_TARGET_EXPORTS) \
50064 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
50065 for flag in $(EXTRA_TARGET_FLAGS); do \
50066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50067 done; \
50068 (cd $(TARGET_SUBDIR)/libgfortran && \
50069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50071 "RANLIB=$${RANLIB}" \
50072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50073 dvi) \
50074 || exit 1
50076 @endif target-libgfortran
50078 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
50079 maybe-pdf-target-libgfortran:
50080 @if target-libgfortran
50081 maybe-pdf-target-libgfortran: pdf-target-libgfortran
50083 pdf-target-libgfortran: \
50084 configure-target-libgfortran
50085 @: $(MAKE); $(unstage)
50086 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50087 r=`${PWD_COMMAND}`; export r; \
50088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50089 $(NORMAL_TARGET_EXPORTS) \
50090 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
50091 for flag in $(EXTRA_TARGET_FLAGS); do \
50092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50093 done; \
50094 (cd $(TARGET_SUBDIR)/libgfortran && \
50095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50097 "RANLIB=$${RANLIB}" \
50098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50099 pdf) \
50100 || exit 1
50102 @endif target-libgfortran
50104 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
50105 maybe-html-target-libgfortran:
50106 @if target-libgfortran
50107 maybe-html-target-libgfortran: html-target-libgfortran
50109 html-target-libgfortran: \
50110 configure-target-libgfortran
50111 @: $(MAKE); $(unstage)
50112 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50113 r=`${PWD_COMMAND}`; export r; \
50114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50115 $(NORMAL_TARGET_EXPORTS) \
50116 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
50117 for flag in $(EXTRA_TARGET_FLAGS); do \
50118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50119 done; \
50120 (cd $(TARGET_SUBDIR)/libgfortran && \
50121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50123 "RANLIB=$${RANLIB}" \
50124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50125 html) \
50126 || exit 1
50128 @endif target-libgfortran
50130 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
50131 maybe-TAGS-target-libgfortran:
50132 @if target-libgfortran
50133 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
50135 TAGS-target-libgfortran: \
50136 configure-target-libgfortran
50137 @: $(MAKE); $(unstage)
50138 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50139 r=`${PWD_COMMAND}`; export r; \
50140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50141 $(NORMAL_TARGET_EXPORTS) \
50142 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
50143 for flag in $(EXTRA_TARGET_FLAGS); do \
50144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50145 done; \
50146 (cd $(TARGET_SUBDIR)/libgfortran && \
50147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50149 "RANLIB=$${RANLIB}" \
50150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50151 TAGS) \
50152 || exit 1
50154 @endif target-libgfortran
50156 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
50157 maybe-install-info-target-libgfortran:
50158 @if target-libgfortran
50159 maybe-install-info-target-libgfortran: install-info-target-libgfortran
50161 install-info-target-libgfortran: \
50162 configure-target-libgfortran \
50163 info-target-libgfortran
50164 @: $(MAKE); $(unstage)
50165 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50166 r=`${PWD_COMMAND}`; export r; \
50167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50168 $(NORMAL_TARGET_EXPORTS) \
50169 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
50170 for flag in $(EXTRA_TARGET_FLAGS); do \
50171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50172 done; \
50173 (cd $(TARGET_SUBDIR)/libgfortran && \
50174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50176 "RANLIB=$${RANLIB}" \
50177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50178 install-info) \
50179 || exit 1
50181 @endif target-libgfortran
50183 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
50184 maybe-install-pdf-target-libgfortran:
50185 @if target-libgfortran
50186 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
50188 install-pdf-target-libgfortran: \
50189 configure-target-libgfortran \
50190 pdf-target-libgfortran
50191 @: $(MAKE); $(unstage)
50192 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50193 r=`${PWD_COMMAND}`; export r; \
50194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50195 $(NORMAL_TARGET_EXPORTS) \
50196 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
50197 for flag in $(EXTRA_TARGET_FLAGS); do \
50198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50199 done; \
50200 (cd $(TARGET_SUBDIR)/libgfortran && \
50201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50203 "RANLIB=$${RANLIB}" \
50204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50205 install-pdf) \
50206 || exit 1
50208 @endif target-libgfortran
50210 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
50211 maybe-install-html-target-libgfortran:
50212 @if target-libgfortran
50213 maybe-install-html-target-libgfortran: install-html-target-libgfortran
50215 install-html-target-libgfortran: \
50216 configure-target-libgfortran \
50217 html-target-libgfortran
50218 @: $(MAKE); $(unstage)
50219 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50220 r=`${PWD_COMMAND}`; export r; \
50221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50222 $(NORMAL_TARGET_EXPORTS) \
50223 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
50224 for flag in $(EXTRA_TARGET_FLAGS); do \
50225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50226 done; \
50227 (cd $(TARGET_SUBDIR)/libgfortran && \
50228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50230 "RANLIB=$${RANLIB}" \
50231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50232 install-html) \
50233 || exit 1
50235 @endif target-libgfortran
50237 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
50238 maybe-installcheck-target-libgfortran:
50239 @if target-libgfortran
50240 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
50242 installcheck-target-libgfortran: \
50243 configure-target-libgfortran
50244 @: $(MAKE); $(unstage)
50245 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50246 r=`${PWD_COMMAND}`; export r; \
50247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50248 $(NORMAL_TARGET_EXPORTS) \
50249 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
50250 for flag in $(EXTRA_TARGET_FLAGS); do \
50251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50252 done; \
50253 (cd $(TARGET_SUBDIR)/libgfortran && \
50254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50256 "RANLIB=$${RANLIB}" \
50257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50258 installcheck) \
50259 || exit 1
50261 @endif target-libgfortran
50263 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
50264 maybe-mostlyclean-target-libgfortran:
50265 @if target-libgfortran
50266 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
50268 mostlyclean-target-libgfortran:
50269 @: $(MAKE); $(unstage)
50270 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50271 r=`${PWD_COMMAND}`; export r; \
50272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50273 $(NORMAL_TARGET_EXPORTS) \
50274 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
50275 for flag in $(EXTRA_TARGET_FLAGS); do \
50276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50277 done; \
50278 (cd $(TARGET_SUBDIR)/libgfortran && \
50279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50281 "RANLIB=$${RANLIB}" \
50282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50283 mostlyclean) \
50284 || exit 1
50286 @endif target-libgfortran
50288 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
50289 maybe-clean-target-libgfortran:
50290 @if target-libgfortran
50291 maybe-clean-target-libgfortran: clean-target-libgfortran
50293 clean-target-libgfortran:
50294 @: $(MAKE); $(unstage)
50295 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50296 r=`${PWD_COMMAND}`; export r; \
50297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50298 $(NORMAL_TARGET_EXPORTS) \
50299 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
50300 for flag in $(EXTRA_TARGET_FLAGS); do \
50301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50302 done; \
50303 (cd $(TARGET_SUBDIR)/libgfortran && \
50304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50306 "RANLIB=$${RANLIB}" \
50307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50308 clean) \
50309 || exit 1
50311 @endif target-libgfortran
50313 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
50314 maybe-distclean-target-libgfortran:
50315 @if target-libgfortran
50316 maybe-distclean-target-libgfortran: distclean-target-libgfortran
50318 distclean-target-libgfortran:
50319 @: $(MAKE); $(unstage)
50320 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50321 r=`${PWD_COMMAND}`; export r; \
50322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50323 $(NORMAL_TARGET_EXPORTS) \
50324 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
50325 for flag in $(EXTRA_TARGET_FLAGS); do \
50326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50327 done; \
50328 (cd $(TARGET_SUBDIR)/libgfortran && \
50329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50331 "RANLIB=$${RANLIB}" \
50332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50333 distclean) \
50334 || exit 1
50336 @endif target-libgfortran
50338 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
50339 maybe-maintainer-clean-target-libgfortran:
50340 @if target-libgfortran
50341 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
50343 maintainer-clean-target-libgfortran:
50344 @: $(MAKE); $(unstage)
50345 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
50346 r=`${PWD_COMMAND}`; export r; \
50347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50348 $(NORMAL_TARGET_EXPORTS) \
50349 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
50350 for flag in $(EXTRA_TARGET_FLAGS); do \
50351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50352 done; \
50353 (cd $(TARGET_SUBDIR)/libgfortran && \
50354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50356 "RANLIB=$${RANLIB}" \
50357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50358 maintainer-clean) \
50359 || exit 1
50361 @endif target-libgfortran
50367 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
50368 maybe-configure-target-libobjc:
50369 @if gcc-bootstrap
50370 configure-target-libobjc: stage_current
50371 @endif gcc-bootstrap
50372 @if target-libobjc
50373 maybe-configure-target-libobjc: configure-target-libobjc
50374 configure-target-libobjc:
50375 @: $(MAKE); $(unstage)
50376 @r=`${PWD_COMMAND}`; export r; \
50377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50378 echo "Checking multilib configuration for libobjc..."; \
50379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
50380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
50381 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
50382 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
50383 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
50384 else \
50385 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
50386 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
50387 fi; \
50388 else \
50389 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
50390 fi; \
50391 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
50392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
50393 $(NORMAL_TARGET_EXPORTS) \
50394 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
50395 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
50396 case $(srcdir) in \
50397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50398 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
50399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50400 esac; \
50401 srcdiroption="--srcdir=$${topdir}/libobjc"; \
50402 libsrcdir="$$s/libobjc"; \
50403 rm -f no-such-file || : ; \
50404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50406 --target=${target_alias} $${srcdiroption} \
50407 || exit 1
50408 @endif target-libobjc
50414 .PHONY: all-target-libobjc maybe-all-target-libobjc
50415 maybe-all-target-libobjc:
50416 @if gcc-bootstrap
50417 all-target-libobjc: stage_current
50418 @endif gcc-bootstrap
50419 @if target-libobjc
50420 TARGET-target-libobjc=all
50421 maybe-all-target-libobjc: all-target-libobjc
50422 all-target-libobjc: configure-target-libobjc
50423 @: $(MAKE); $(unstage)
50424 @r=`${PWD_COMMAND}`; export r; \
50425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50426 $(NORMAL_TARGET_EXPORTS) \
50427 (cd $(TARGET_SUBDIR)/libobjc && \
50428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50429 $(TARGET-target-libobjc))
50430 @endif target-libobjc
50436 .PHONY: check-target-libobjc maybe-check-target-libobjc
50437 maybe-check-target-libobjc:
50438 @if target-libobjc
50439 maybe-check-target-libobjc: check-target-libobjc
50441 check-target-libobjc:
50442 @: $(MAKE); $(unstage)
50443 @r=`${PWD_COMMAND}`; export r; \
50444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50445 $(NORMAL_TARGET_EXPORTS) \
50446 (cd $(TARGET_SUBDIR)/libobjc && \
50447 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50449 @endif target-libobjc
50451 .PHONY: install-target-libobjc maybe-install-target-libobjc
50452 maybe-install-target-libobjc:
50453 @if target-libobjc
50454 maybe-install-target-libobjc: install-target-libobjc
50456 install-target-libobjc: installdirs
50457 @: $(MAKE); $(unstage)
50458 @r=`${PWD_COMMAND}`; export r; \
50459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50460 $(NORMAL_TARGET_EXPORTS) \
50461 (cd $(TARGET_SUBDIR)/libobjc && \
50462 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50464 @endif target-libobjc
50466 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
50467 maybe-install-strip-target-libobjc:
50468 @if target-libobjc
50469 maybe-install-strip-target-libobjc: install-strip-target-libobjc
50471 install-strip-target-libobjc: installdirs
50472 @: $(MAKE); $(unstage)
50473 @r=`${PWD_COMMAND}`; export r; \
50474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50475 $(NORMAL_TARGET_EXPORTS) \
50476 (cd $(TARGET_SUBDIR)/libobjc && \
50477 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50479 @endif target-libobjc
50481 # Other targets (info, dvi, pdf, etc.)
50483 .PHONY: maybe-info-target-libobjc info-target-libobjc
50484 maybe-info-target-libobjc:
50485 @if target-libobjc
50486 maybe-info-target-libobjc: info-target-libobjc
50488 info-target-libobjc: \
50489 configure-target-libobjc
50490 @: $(MAKE); $(unstage)
50491 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50492 r=`${PWD_COMMAND}`; export r; \
50493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50494 $(NORMAL_TARGET_EXPORTS) \
50495 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
50496 for flag in $(EXTRA_TARGET_FLAGS); do \
50497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50498 done; \
50499 (cd $(TARGET_SUBDIR)/libobjc && \
50500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50502 "RANLIB=$${RANLIB}" \
50503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50504 info) \
50505 || exit 1
50507 @endif target-libobjc
50509 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
50510 maybe-dvi-target-libobjc:
50511 @if target-libobjc
50512 maybe-dvi-target-libobjc: dvi-target-libobjc
50514 dvi-target-libobjc: \
50515 configure-target-libobjc
50516 @: $(MAKE); $(unstage)
50517 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50518 r=`${PWD_COMMAND}`; export r; \
50519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50520 $(NORMAL_TARGET_EXPORTS) \
50521 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
50522 for flag in $(EXTRA_TARGET_FLAGS); do \
50523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50524 done; \
50525 (cd $(TARGET_SUBDIR)/libobjc && \
50526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50528 "RANLIB=$${RANLIB}" \
50529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50530 dvi) \
50531 || exit 1
50533 @endif target-libobjc
50535 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
50536 maybe-pdf-target-libobjc:
50537 @if target-libobjc
50538 maybe-pdf-target-libobjc: pdf-target-libobjc
50540 pdf-target-libobjc: \
50541 configure-target-libobjc
50542 @: $(MAKE); $(unstage)
50543 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50544 r=`${PWD_COMMAND}`; export r; \
50545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50546 $(NORMAL_TARGET_EXPORTS) \
50547 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
50548 for flag in $(EXTRA_TARGET_FLAGS); do \
50549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50550 done; \
50551 (cd $(TARGET_SUBDIR)/libobjc && \
50552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50554 "RANLIB=$${RANLIB}" \
50555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50556 pdf) \
50557 || exit 1
50559 @endif target-libobjc
50561 .PHONY: maybe-html-target-libobjc html-target-libobjc
50562 maybe-html-target-libobjc:
50563 @if target-libobjc
50564 maybe-html-target-libobjc: html-target-libobjc
50566 html-target-libobjc: \
50567 configure-target-libobjc
50568 @: $(MAKE); $(unstage)
50569 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50570 r=`${PWD_COMMAND}`; export r; \
50571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50572 $(NORMAL_TARGET_EXPORTS) \
50573 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
50574 for flag in $(EXTRA_TARGET_FLAGS); do \
50575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50576 done; \
50577 (cd $(TARGET_SUBDIR)/libobjc && \
50578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50580 "RANLIB=$${RANLIB}" \
50581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50582 html) \
50583 || exit 1
50585 @endif target-libobjc
50587 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
50588 maybe-TAGS-target-libobjc:
50589 @if target-libobjc
50590 maybe-TAGS-target-libobjc: TAGS-target-libobjc
50592 TAGS-target-libobjc: \
50593 configure-target-libobjc
50594 @: $(MAKE); $(unstage)
50595 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50596 r=`${PWD_COMMAND}`; export r; \
50597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50598 $(NORMAL_TARGET_EXPORTS) \
50599 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
50600 for flag in $(EXTRA_TARGET_FLAGS); do \
50601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50602 done; \
50603 (cd $(TARGET_SUBDIR)/libobjc && \
50604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50606 "RANLIB=$${RANLIB}" \
50607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50608 TAGS) \
50609 || exit 1
50611 @endif target-libobjc
50613 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
50614 maybe-install-info-target-libobjc:
50615 @if target-libobjc
50616 maybe-install-info-target-libobjc: install-info-target-libobjc
50618 install-info-target-libobjc: \
50619 configure-target-libobjc \
50620 info-target-libobjc
50621 @: $(MAKE); $(unstage)
50622 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50623 r=`${PWD_COMMAND}`; export r; \
50624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50625 $(NORMAL_TARGET_EXPORTS) \
50626 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
50627 for flag in $(EXTRA_TARGET_FLAGS); do \
50628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50629 done; \
50630 (cd $(TARGET_SUBDIR)/libobjc && \
50631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50633 "RANLIB=$${RANLIB}" \
50634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50635 install-info) \
50636 || exit 1
50638 @endif target-libobjc
50640 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
50641 maybe-install-pdf-target-libobjc:
50642 @if target-libobjc
50643 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
50645 install-pdf-target-libobjc: \
50646 configure-target-libobjc \
50647 pdf-target-libobjc
50648 @: $(MAKE); $(unstage)
50649 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50650 r=`${PWD_COMMAND}`; export r; \
50651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50652 $(NORMAL_TARGET_EXPORTS) \
50653 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
50654 for flag in $(EXTRA_TARGET_FLAGS); do \
50655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50656 done; \
50657 (cd $(TARGET_SUBDIR)/libobjc && \
50658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50660 "RANLIB=$${RANLIB}" \
50661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50662 install-pdf) \
50663 || exit 1
50665 @endif target-libobjc
50667 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
50668 maybe-install-html-target-libobjc:
50669 @if target-libobjc
50670 maybe-install-html-target-libobjc: install-html-target-libobjc
50672 install-html-target-libobjc: \
50673 configure-target-libobjc \
50674 html-target-libobjc
50675 @: $(MAKE); $(unstage)
50676 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50677 r=`${PWD_COMMAND}`; export r; \
50678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50679 $(NORMAL_TARGET_EXPORTS) \
50680 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
50681 for flag in $(EXTRA_TARGET_FLAGS); do \
50682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50683 done; \
50684 (cd $(TARGET_SUBDIR)/libobjc && \
50685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50687 "RANLIB=$${RANLIB}" \
50688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50689 install-html) \
50690 || exit 1
50692 @endif target-libobjc
50694 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
50695 maybe-installcheck-target-libobjc:
50696 @if target-libobjc
50697 maybe-installcheck-target-libobjc: installcheck-target-libobjc
50699 installcheck-target-libobjc: \
50700 configure-target-libobjc
50701 @: $(MAKE); $(unstage)
50702 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50703 r=`${PWD_COMMAND}`; export r; \
50704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50705 $(NORMAL_TARGET_EXPORTS) \
50706 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
50707 for flag in $(EXTRA_TARGET_FLAGS); do \
50708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50709 done; \
50710 (cd $(TARGET_SUBDIR)/libobjc && \
50711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50713 "RANLIB=$${RANLIB}" \
50714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50715 installcheck) \
50716 || exit 1
50718 @endif target-libobjc
50720 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
50721 maybe-mostlyclean-target-libobjc:
50722 @if target-libobjc
50723 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
50725 mostlyclean-target-libobjc:
50726 @: $(MAKE); $(unstage)
50727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50728 r=`${PWD_COMMAND}`; export r; \
50729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50730 $(NORMAL_TARGET_EXPORTS) \
50731 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
50732 for flag in $(EXTRA_TARGET_FLAGS); do \
50733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50734 done; \
50735 (cd $(TARGET_SUBDIR)/libobjc && \
50736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50738 "RANLIB=$${RANLIB}" \
50739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50740 mostlyclean) \
50741 || exit 1
50743 @endif target-libobjc
50745 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
50746 maybe-clean-target-libobjc:
50747 @if target-libobjc
50748 maybe-clean-target-libobjc: clean-target-libobjc
50750 clean-target-libobjc:
50751 @: $(MAKE); $(unstage)
50752 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50753 r=`${PWD_COMMAND}`; export r; \
50754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50755 $(NORMAL_TARGET_EXPORTS) \
50756 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
50757 for flag in $(EXTRA_TARGET_FLAGS); do \
50758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50759 done; \
50760 (cd $(TARGET_SUBDIR)/libobjc && \
50761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50763 "RANLIB=$${RANLIB}" \
50764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50765 clean) \
50766 || exit 1
50768 @endif target-libobjc
50770 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
50771 maybe-distclean-target-libobjc:
50772 @if target-libobjc
50773 maybe-distclean-target-libobjc: distclean-target-libobjc
50775 distclean-target-libobjc:
50776 @: $(MAKE); $(unstage)
50777 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50778 r=`${PWD_COMMAND}`; export r; \
50779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50780 $(NORMAL_TARGET_EXPORTS) \
50781 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
50782 for flag in $(EXTRA_TARGET_FLAGS); do \
50783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50784 done; \
50785 (cd $(TARGET_SUBDIR)/libobjc && \
50786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50788 "RANLIB=$${RANLIB}" \
50789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50790 distclean) \
50791 || exit 1
50793 @endif target-libobjc
50795 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
50796 maybe-maintainer-clean-target-libobjc:
50797 @if target-libobjc
50798 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
50800 maintainer-clean-target-libobjc:
50801 @: $(MAKE); $(unstage)
50802 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
50803 r=`${PWD_COMMAND}`; export r; \
50804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50805 $(NORMAL_TARGET_EXPORTS) \
50806 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
50807 for flag in $(EXTRA_TARGET_FLAGS); do \
50808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50809 done; \
50810 (cd $(TARGET_SUBDIR)/libobjc && \
50811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50813 "RANLIB=$${RANLIB}" \
50814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50815 maintainer-clean) \
50816 || exit 1
50818 @endif target-libobjc
50824 .PHONY: configure-target-libgo maybe-configure-target-libgo
50825 maybe-configure-target-libgo:
50826 @if gcc-bootstrap
50827 configure-target-libgo: stage_current
50828 @endif gcc-bootstrap
50829 @if target-libgo
50830 maybe-configure-target-libgo: configure-target-libgo
50831 configure-target-libgo:
50832 @: $(MAKE); $(unstage)
50833 @r=`${PWD_COMMAND}`; export r; \
50834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50835 echo "Checking multilib configuration for libgo..."; \
50836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
50837 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
50838 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
50839 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
50840 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
50841 else \
50842 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
50843 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
50844 fi; \
50845 else \
50846 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
50847 fi; \
50848 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
50849 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
50850 $(NORMAL_TARGET_EXPORTS) \
50851 echo Configuring in $(TARGET_SUBDIR)/libgo; \
50852 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
50853 case $(srcdir) in \
50854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50855 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
50856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50857 esac; \
50858 srcdiroption="--srcdir=$${topdir}/libgo"; \
50859 libsrcdir="$$s/libgo"; \
50860 rm -f no-such-file || : ; \
50861 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50862 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50863 --target=${target_alias} $${srcdiroption} \
50864 || exit 1
50865 @endif target-libgo
50871 .PHONY: all-target-libgo maybe-all-target-libgo
50872 maybe-all-target-libgo:
50873 @if gcc-bootstrap
50874 all-target-libgo: stage_current
50875 @endif gcc-bootstrap
50876 @if target-libgo
50877 TARGET-target-libgo=all
50878 maybe-all-target-libgo: all-target-libgo
50879 all-target-libgo: configure-target-libgo
50880 @: $(MAKE); $(unstage)
50881 @r=`${PWD_COMMAND}`; export r; \
50882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50883 $(NORMAL_TARGET_EXPORTS) \
50884 (cd $(TARGET_SUBDIR)/libgo && \
50885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50886 $(TARGET-target-libgo))
50887 @endif target-libgo
50893 .PHONY: check-target-libgo maybe-check-target-libgo
50894 maybe-check-target-libgo:
50895 @if target-libgo
50896 maybe-check-target-libgo: check-target-libgo
50898 check-target-libgo:
50899 @: $(MAKE); $(unstage)
50900 @r=`${PWD_COMMAND}`; export r; \
50901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50902 $(NORMAL_TARGET_EXPORTS) \
50903 (cd $(TARGET_SUBDIR)/libgo && \
50904 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50906 @endif target-libgo
50908 .PHONY: install-target-libgo maybe-install-target-libgo
50909 maybe-install-target-libgo:
50910 @if target-libgo
50911 maybe-install-target-libgo: install-target-libgo
50913 install-target-libgo: installdirs
50914 @: $(MAKE); $(unstage)
50915 @r=`${PWD_COMMAND}`; export r; \
50916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50917 $(NORMAL_TARGET_EXPORTS) \
50918 (cd $(TARGET_SUBDIR)/libgo && \
50919 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50921 @endif target-libgo
50923 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
50924 maybe-install-strip-target-libgo:
50925 @if target-libgo
50926 maybe-install-strip-target-libgo: install-strip-target-libgo
50928 install-strip-target-libgo: installdirs
50929 @: $(MAKE); $(unstage)
50930 @r=`${PWD_COMMAND}`; export r; \
50931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50932 $(NORMAL_TARGET_EXPORTS) \
50933 (cd $(TARGET_SUBDIR)/libgo && \
50934 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50936 @endif target-libgo
50938 # Other targets (info, dvi, pdf, etc.)
50940 .PHONY: maybe-info-target-libgo info-target-libgo
50941 maybe-info-target-libgo:
50942 @if target-libgo
50943 maybe-info-target-libgo: info-target-libgo
50945 info-target-libgo: \
50946 configure-target-libgo
50947 @: $(MAKE); $(unstage)
50948 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
50949 r=`${PWD_COMMAND}`; export r; \
50950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50951 $(NORMAL_TARGET_EXPORTS) \
50952 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
50953 for flag in $(EXTRA_TARGET_FLAGS); do \
50954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50955 done; \
50956 (cd $(TARGET_SUBDIR)/libgo && \
50957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50959 "RANLIB=$${RANLIB}" \
50960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50961 info) \
50962 || exit 1
50964 @endif target-libgo
50966 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
50967 maybe-dvi-target-libgo:
50968 @if target-libgo
50969 maybe-dvi-target-libgo: dvi-target-libgo
50971 dvi-target-libgo: \
50972 configure-target-libgo
50973 @: $(MAKE); $(unstage)
50974 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
50975 r=`${PWD_COMMAND}`; export r; \
50976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50977 $(NORMAL_TARGET_EXPORTS) \
50978 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
50979 for flag in $(EXTRA_TARGET_FLAGS); do \
50980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50981 done; \
50982 (cd $(TARGET_SUBDIR)/libgo && \
50983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50985 "RANLIB=$${RANLIB}" \
50986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50987 dvi) \
50988 || exit 1
50990 @endif target-libgo
50992 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
50993 maybe-pdf-target-libgo:
50994 @if target-libgo
50995 maybe-pdf-target-libgo: pdf-target-libgo
50997 pdf-target-libgo: \
50998 configure-target-libgo
50999 @: $(MAKE); $(unstage)
51000 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51001 r=`${PWD_COMMAND}`; export r; \
51002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51003 $(NORMAL_TARGET_EXPORTS) \
51004 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
51005 for flag in $(EXTRA_TARGET_FLAGS); do \
51006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51007 done; \
51008 (cd $(TARGET_SUBDIR)/libgo && \
51009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51011 "RANLIB=$${RANLIB}" \
51012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51013 pdf) \
51014 || exit 1
51016 @endif target-libgo
51018 .PHONY: maybe-html-target-libgo html-target-libgo
51019 maybe-html-target-libgo:
51020 @if target-libgo
51021 maybe-html-target-libgo: html-target-libgo
51023 html-target-libgo: \
51024 configure-target-libgo
51025 @: $(MAKE); $(unstage)
51026 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51027 r=`${PWD_COMMAND}`; export r; \
51028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51029 $(NORMAL_TARGET_EXPORTS) \
51030 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
51031 for flag in $(EXTRA_TARGET_FLAGS); do \
51032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51033 done; \
51034 (cd $(TARGET_SUBDIR)/libgo && \
51035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51037 "RANLIB=$${RANLIB}" \
51038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51039 html) \
51040 || exit 1
51042 @endif target-libgo
51044 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
51045 maybe-TAGS-target-libgo:
51046 @if target-libgo
51047 maybe-TAGS-target-libgo: TAGS-target-libgo
51049 TAGS-target-libgo: \
51050 configure-target-libgo
51051 @: $(MAKE); $(unstage)
51052 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51053 r=`${PWD_COMMAND}`; export r; \
51054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51055 $(NORMAL_TARGET_EXPORTS) \
51056 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
51057 for flag in $(EXTRA_TARGET_FLAGS); do \
51058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51059 done; \
51060 (cd $(TARGET_SUBDIR)/libgo && \
51061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51063 "RANLIB=$${RANLIB}" \
51064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51065 TAGS) \
51066 || exit 1
51068 @endif target-libgo
51070 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
51071 maybe-install-info-target-libgo:
51072 @if target-libgo
51073 maybe-install-info-target-libgo: install-info-target-libgo
51075 install-info-target-libgo: \
51076 configure-target-libgo \
51077 info-target-libgo
51078 @: $(MAKE); $(unstage)
51079 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51080 r=`${PWD_COMMAND}`; export r; \
51081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51082 $(NORMAL_TARGET_EXPORTS) \
51083 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
51084 for flag in $(EXTRA_TARGET_FLAGS); do \
51085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51086 done; \
51087 (cd $(TARGET_SUBDIR)/libgo && \
51088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51090 "RANLIB=$${RANLIB}" \
51091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51092 install-info) \
51093 || exit 1
51095 @endif target-libgo
51097 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
51098 maybe-install-pdf-target-libgo:
51099 @if target-libgo
51100 maybe-install-pdf-target-libgo: install-pdf-target-libgo
51102 install-pdf-target-libgo: \
51103 configure-target-libgo \
51104 pdf-target-libgo
51105 @: $(MAKE); $(unstage)
51106 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51107 r=`${PWD_COMMAND}`; export r; \
51108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51109 $(NORMAL_TARGET_EXPORTS) \
51110 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
51111 for flag in $(EXTRA_TARGET_FLAGS); do \
51112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51113 done; \
51114 (cd $(TARGET_SUBDIR)/libgo && \
51115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51117 "RANLIB=$${RANLIB}" \
51118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51119 install-pdf) \
51120 || exit 1
51122 @endif target-libgo
51124 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
51125 maybe-install-html-target-libgo:
51126 @if target-libgo
51127 maybe-install-html-target-libgo: install-html-target-libgo
51129 install-html-target-libgo: \
51130 configure-target-libgo \
51131 html-target-libgo
51132 @: $(MAKE); $(unstage)
51133 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51134 r=`${PWD_COMMAND}`; export r; \
51135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51136 $(NORMAL_TARGET_EXPORTS) \
51137 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
51138 for flag in $(EXTRA_TARGET_FLAGS); do \
51139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51140 done; \
51141 (cd $(TARGET_SUBDIR)/libgo && \
51142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51144 "RANLIB=$${RANLIB}" \
51145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51146 install-html) \
51147 || exit 1
51149 @endif target-libgo
51151 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
51152 maybe-installcheck-target-libgo:
51153 @if target-libgo
51154 maybe-installcheck-target-libgo: installcheck-target-libgo
51156 installcheck-target-libgo: \
51157 configure-target-libgo
51158 @: $(MAKE); $(unstage)
51159 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51160 r=`${PWD_COMMAND}`; export r; \
51161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51162 $(NORMAL_TARGET_EXPORTS) \
51163 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
51164 for flag in $(EXTRA_TARGET_FLAGS); do \
51165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51166 done; \
51167 (cd $(TARGET_SUBDIR)/libgo && \
51168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51170 "RANLIB=$${RANLIB}" \
51171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51172 installcheck) \
51173 || exit 1
51175 @endif target-libgo
51177 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
51178 maybe-mostlyclean-target-libgo:
51179 @if target-libgo
51180 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
51182 mostlyclean-target-libgo:
51183 @: $(MAKE); $(unstage)
51184 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51185 r=`${PWD_COMMAND}`; export r; \
51186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51187 $(NORMAL_TARGET_EXPORTS) \
51188 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
51189 for flag in $(EXTRA_TARGET_FLAGS); do \
51190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51191 done; \
51192 (cd $(TARGET_SUBDIR)/libgo && \
51193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51195 "RANLIB=$${RANLIB}" \
51196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51197 mostlyclean) \
51198 || exit 1
51200 @endif target-libgo
51202 .PHONY: maybe-clean-target-libgo clean-target-libgo
51203 maybe-clean-target-libgo:
51204 @if target-libgo
51205 maybe-clean-target-libgo: clean-target-libgo
51207 clean-target-libgo:
51208 @: $(MAKE); $(unstage)
51209 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51210 r=`${PWD_COMMAND}`; export r; \
51211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51212 $(NORMAL_TARGET_EXPORTS) \
51213 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
51214 for flag in $(EXTRA_TARGET_FLAGS); do \
51215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51216 done; \
51217 (cd $(TARGET_SUBDIR)/libgo && \
51218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51220 "RANLIB=$${RANLIB}" \
51221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51222 clean) \
51223 || exit 1
51225 @endif target-libgo
51227 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
51228 maybe-distclean-target-libgo:
51229 @if target-libgo
51230 maybe-distclean-target-libgo: distclean-target-libgo
51232 distclean-target-libgo:
51233 @: $(MAKE); $(unstage)
51234 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51235 r=`${PWD_COMMAND}`; export r; \
51236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51237 $(NORMAL_TARGET_EXPORTS) \
51238 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
51239 for flag in $(EXTRA_TARGET_FLAGS); do \
51240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51241 done; \
51242 (cd $(TARGET_SUBDIR)/libgo && \
51243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51245 "RANLIB=$${RANLIB}" \
51246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51247 distclean) \
51248 || exit 1
51250 @endif target-libgo
51252 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
51253 maybe-maintainer-clean-target-libgo:
51254 @if target-libgo
51255 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
51257 maintainer-clean-target-libgo:
51258 @: $(MAKE); $(unstage)
51259 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
51260 r=`${PWD_COMMAND}`; export r; \
51261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51262 $(NORMAL_TARGET_EXPORTS) \
51263 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
51264 for flag in $(EXTRA_TARGET_FLAGS); do \
51265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51266 done; \
51267 (cd $(TARGET_SUBDIR)/libgo && \
51268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51270 "RANLIB=$${RANLIB}" \
51271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51272 maintainer-clean) \
51273 || exit 1
51275 @endif target-libgo
51281 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
51282 maybe-configure-target-libtermcap:
51283 @if gcc-bootstrap
51284 configure-target-libtermcap: stage_current
51285 @endif gcc-bootstrap
51286 @if target-libtermcap
51287 maybe-configure-target-libtermcap: configure-target-libtermcap
51288 configure-target-libtermcap:
51289 @: $(MAKE); $(unstage)
51290 @r=`${PWD_COMMAND}`; export r; \
51291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51292 echo "Checking multilib configuration for libtermcap..."; \
51293 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
51294 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
51295 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
51296 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
51297 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
51298 else \
51299 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
51300 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
51301 fi; \
51302 else \
51303 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
51304 fi; \
51305 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
51306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
51307 $(NORMAL_TARGET_EXPORTS) \
51308 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
51309 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
51310 case $(srcdir) in \
51311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51312 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
51313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51314 esac; \
51315 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
51316 libsrcdir="$$s/libtermcap"; \
51317 rm -f no-such-file || : ; \
51318 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51319 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51320 --target=${target_alias} $${srcdiroption} \
51321 || exit 1
51322 @endif target-libtermcap
51328 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
51329 maybe-all-target-libtermcap:
51330 @if gcc-bootstrap
51331 all-target-libtermcap: stage_current
51332 @endif gcc-bootstrap
51333 @if target-libtermcap
51334 TARGET-target-libtermcap=all
51335 maybe-all-target-libtermcap: all-target-libtermcap
51336 all-target-libtermcap: configure-target-libtermcap
51337 @: $(MAKE); $(unstage)
51338 @r=`${PWD_COMMAND}`; export r; \
51339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51340 $(NORMAL_TARGET_EXPORTS) \
51341 (cd $(TARGET_SUBDIR)/libtermcap && \
51342 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51343 $(TARGET-target-libtermcap))
51344 @endif target-libtermcap
51350 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
51351 maybe-check-target-libtermcap:
51352 @if target-libtermcap
51353 maybe-check-target-libtermcap: check-target-libtermcap
51355 # Dummy target for uncheckable module.
51356 check-target-libtermcap:
51358 @endif target-libtermcap
51360 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
51361 maybe-install-target-libtermcap:
51362 @if target-libtermcap
51363 maybe-install-target-libtermcap: install-target-libtermcap
51365 install-target-libtermcap: installdirs
51366 @: $(MAKE); $(unstage)
51367 @r=`${PWD_COMMAND}`; export r; \
51368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51369 $(NORMAL_TARGET_EXPORTS) \
51370 (cd $(TARGET_SUBDIR)/libtermcap && \
51371 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51373 @endif target-libtermcap
51375 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
51376 maybe-install-strip-target-libtermcap:
51377 @if target-libtermcap
51378 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
51380 install-strip-target-libtermcap: installdirs
51381 @: $(MAKE); $(unstage)
51382 @r=`${PWD_COMMAND}`; export r; \
51383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51384 $(NORMAL_TARGET_EXPORTS) \
51385 (cd $(TARGET_SUBDIR)/libtermcap && \
51386 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51388 @endif target-libtermcap
51390 # Other targets (info, dvi, pdf, etc.)
51392 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
51393 maybe-info-target-libtermcap:
51394 @if target-libtermcap
51395 maybe-info-target-libtermcap: info-target-libtermcap
51397 info-target-libtermcap: \
51398 configure-target-libtermcap
51399 @: $(MAKE); $(unstage)
51400 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51401 r=`${PWD_COMMAND}`; export r; \
51402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51403 $(NORMAL_TARGET_EXPORTS) \
51404 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
51405 for flag in $(EXTRA_TARGET_FLAGS); do \
51406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51407 done; \
51408 (cd $(TARGET_SUBDIR)/libtermcap && \
51409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51411 "RANLIB=$${RANLIB}" \
51412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51413 info) \
51414 || exit 1
51416 @endif target-libtermcap
51418 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
51419 maybe-dvi-target-libtermcap:
51420 @if target-libtermcap
51421 maybe-dvi-target-libtermcap: dvi-target-libtermcap
51423 dvi-target-libtermcap: \
51424 configure-target-libtermcap
51425 @: $(MAKE); $(unstage)
51426 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51427 r=`${PWD_COMMAND}`; export r; \
51428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51429 $(NORMAL_TARGET_EXPORTS) \
51430 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
51431 for flag in $(EXTRA_TARGET_FLAGS); do \
51432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51433 done; \
51434 (cd $(TARGET_SUBDIR)/libtermcap && \
51435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51437 "RANLIB=$${RANLIB}" \
51438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51439 dvi) \
51440 || exit 1
51442 @endif target-libtermcap
51444 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
51445 maybe-pdf-target-libtermcap:
51446 @if target-libtermcap
51447 maybe-pdf-target-libtermcap: pdf-target-libtermcap
51449 pdf-target-libtermcap: \
51450 configure-target-libtermcap
51451 @: $(MAKE); $(unstage)
51452 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51453 r=`${PWD_COMMAND}`; export r; \
51454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51455 $(NORMAL_TARGET_EXPORTS) \
51456 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
51457 for flag in $(EXTRA_TARGET_FLAGS); do \
51458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51459 done; \
51460 (cd $(TARGET_SUBDIR)/libtermcap && \
51461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51463 "RANLIB=$${RANLIB}" \
51464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51465 pdf) \
51466 || exit 1
51468 @endif target-libtermcap
51470 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
51471 maybe-html-target-libtermcap:
51472 @if target-libtermcap
51473 maybe-html-target-libtermcap: html-target-libtermcap
51475 html-target-libtermcap: \
51476 configure-target-libtermcap
51477 @: $(MAKE); $(unstage)
51478 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51479 r=`${PWD_COMMAND}`; export r; \
51480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51481 $(NORMAL_TARGET_EXPORTS) \
51482 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
51483 for flag in $(EXTRA_TARGET_FLAGS); do \
51484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51485 done; \
51486 (cd $(TARGET_SUBDIR)/libtermcap && \
51487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51489 "RANLIB=$${RANLIB}" \
51490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51491 html) \
51492 || exit 1
51494 @endif target-libtermcap
51496 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
51497 maybe-TAGS-target-libtermcap:
51498 @if target-libtermcap
51499 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
51501 TAGS-target-libtermcap: \
51502 configure-target-libtermcap
51503 @: $(MAKE); $(unstage)
51504 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51505 r=`${PWD_COMMAND}`; export r; \
51506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51507 $(NORMAL_TARGET_EXPORTS) \
51508 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
51509 for flag in $(EXTRA_TARGET_FLAGS); do \
51510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51511 done; \
51512 (cd $(TARGET_SUBDIR)/libtermcap && \
51513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51515 "RANLIB=$${RANLIB}" \
51516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51517 TAGS) \
51518 || exit 1
51520 @endif target-libtermcap
51522 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
51523 maybe-install-info-target-libtermcap:
51524 @if target-libtermcap
51525 maybe-install-info-target-libtermcap: install-info-target-libtermcap
51527 install-info-target-libtermcap: \
51528 configure-target-libtermcap \
51529 info-target-libtermcap
51530 @: $(MAKE); $(unstage)
51531 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51532 r=`${PWD_COMMAND}`; export r; \
51533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51534 $(NORMAL_TARGET_EXPORTS) \
51535 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
51536 for flag in $(EXTRA_TARGET_FLAGS); do \
51537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51538 done; \
51539 (cd $(TARGET_SUBDIR)/libtermcap && \
51540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51542 "RANLIB=$${RANLIB}" \
51543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51544 install-info) \
51545 || exit 1
51547 @endif target-libtermcap
51549 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
51550 maybe-install-pdf-target-libtermcap:
51551 @if target-libtermcap
51552 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
51554 install-pdf-target-libtermcap: \
51555 configure-target-libtermcap \
51556 pdf-target-libtermcap
51557 @: $(MAKE); $(unstage)
51558 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51559 r=`${PWD_COMMAND}`; export r; \
51560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51561 $(NORMAL_TARGET_EXPORTS) \
51562 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
51563 for flag in $(EXTRA_TARGET_FLAGS); do \
51564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51565 done; \
51566 (cd $(TARGET_SUBDIR)/libtermcap && \
51567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51569 "RANLIB=$${RANLIB}" \
51570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51571 install-pdf) \
51572 || exit 1
51574 @endif target-libtermcap
51576 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
51577 maybe-install-html-target-libtermcap:
51578 @if target-libtermcap
51579 maybe-install-html-target-libtermcap: install-html-target-libtermcap
51581 install-html-target-libtermcap: \
51582 configure-target-libtermcap \
51583 html-target-libtermcap
51584 @: $(MAKE); $(unstage)
51585 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51586 r=`${PWD_COMMAND}`; export r; \
51587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51588 $(NORMAL_TARGET_EXPORTS) \
51589 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
51590 for flag in $(EXTRA_TARGET_FLAGS); do \
51591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51592 done; \
51593 (cd $(TARGET_SUBDIR)/libtermcap && \
51594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51596 "RANLIB=$${RANLIB}" \
51597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51598 install-html) \
51599 || exit 1
51601 @endif target-libtermcap
51603 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
51604 maybe-installcheck-target-libtermcap:
51605 @if target-libtermcap
51606 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
51608 installcheck-target-libtermcap: \
51609 configure-target-libtermcap
51610 @: $(MAKE); $(unstage)
51611 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
51612 r=`${PWD_COMMAND}`; export r; \
51613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51614 $(NORMAL_TARGET_EXPORTS) \
51615 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
51616 for flag in $(EXTRA_TARGET_FLAGS); do \
51617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51618 done; \
51619 (cd $(TARGET_SUBDIR)/libtermcap && \
51620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51622 "RANLIB=$${RANLIB}" \
51623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51624 installcheck) \
51625 || exit 1
51627 @endif target-libtermcap
51629 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
51630 maybe-mostlyclean-target-libtermcap:
51631 @if target-libtermcap
51632 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
51634 # libtermcap doesn't support mostlyclean.
51635 mostlyclean-target-libtermcap:
51637 @endif target-libtermcap
51639 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
51640 maybe-clean-target-libtermcap:
51641 @if target-libtermcap
51642 maybe-clean-target-libtermcap: clean-target-libtermcap
51644 # libtermcap doesn't support clean.
51645 clean-target-libtermcap:
51647 @endif target-libtermcap
51649 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
51650 maybe-distclean-target-libtermcap:
51651 @if target-libtermcap
51652 maybe-distclean-target-libtermcap: distclean-target-libtermcap
51654 # libtermcap doesn't support distclean.
51655 distclean-target-libtermcap:
51657 @endif target-libtermcap
51659 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
51660 maybe-maintainer-clean-target-libtermcap:
51661 @if target-libtermcap
51662 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
51664 # libtermcap doesn't support maintainer-clean.
51665 maintainer-clean-target-libtermcap:
51667 @endif target-libtermcap
51673 .PHONY: configure-target-winsup maybe-configure-target-winsup
51674 maybe-configure-target-winsup:
51675 @if gcc-bootstrap
51676 configure-target-winsup: stage_current
51677 @endif gcc-bootstrap
51678 @if target-winsup
51679 maybe-configure-target-winsup: configure-target-winsup
51680 configure-target-winsup:
51681 @: $(MAKE); $(unstage)
51682 @r=`${PWD_COMMAND}`; export r; \
51683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51684 echo "Checking multilib configuration for winsup..."; \
51685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
51686 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
51687 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
51688 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
51689 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
51690 else \
51691 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
51692 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
51693 fi; \
51694 else \
51695 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
51696 fi; \
51697 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
51698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
51699 $(NORMAL_TARGET_EXPORTS) \
51700 echo Configuring in $(TARGET_SUBDIR)/winsup; \
51701 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
51702 case $(srcdir) in \
51703 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51704 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
51705 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51706 esac; \
51707 srcdiroption="--srcdir=$${topdir}/winsup"; \
51708 libsrcdir="$$s/winsup"; \
51709 rm -f no-such-file || : ; \
51710 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51711 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51712 --target=${target_alias} $${srcdiroption} \
51713 || exit 1
51714 @endif target-winsup
51720 .PHONY: all-target-winsup maybe-all-target-winsup
51721 maybe-all-target-winsup:
51722 @if gcc-bootstrap
51723 all-target-winsup: stage_current
51724 @endif gcc-bootstrap
51725 @if target-winsup
51726 TARGET-target-winsup=all
51727 maybe-all-target-winsup: all-target-winsup
51728 all-target-winsup: configure-target-winsup
51729 @: $(MAKE); $(unstage)
51730 @r=`${PWD_COMMAND}`; export r; \
51731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51732 $(NORMAL_TARGET_EXPORTS) \
51733 (cd $(TARGET_SUBDIR)/winsup && \
51734 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51735 $(TARGET-target-winsup))
51736 @endif target-winsup
51742 .PHONY: check-target-winsup maybe-check-target-winsup
51743 maybe-check-target-winsup:
51744 @if target-winsup
51745 maybe-check-target-winsup: check-target-winsup
51747 check-target-winsup:
51748 @: $(MAKE); $(unstage)
51749 @r=`${PWD_COMMAND}`; export r; \
51750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51751 $(NORMAL_TARGET_EXPORTS) \
51752 (cd $(TARGET_SUBDIR)/winsup && \
51753 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51755 @endif target-winsup
51757 .PHONY: install-target-winsup maybe-install-target-winsup
51758 maybe-install-target-winsup:
51759 @if target-winsup
51760 maybe-install-target-winsup: install-target-winsup
51762 install-target-winsup: installdirs
51763 @: $(MAKE); $(unstage)
51764 @r=`${PWD_COMMAND}`; export r; \
51765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51766 $(NORMAL_TARGET_EXPORTS) \
51767 (cd $(TARGET_SUBDIR)/winsup && \
51768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51770 @endif target-winsup
51772 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
51773 maybe-install-strip-target-winsup:
51774 @if target-winsup
51775 maybe-install-strip-target-winsup: install-strip-target-winsup
51777 install-strip-target-winsup: installdirs
51778 @: $(MAKE); $(unstage)
51779 @r=`${PWD_COMMAND}`; export r; \
51780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51781 $(NORMAL_TARGET_EXPORTS) \
51782 (cd $(TARGET_SUBDIR)/winsup && \
51783 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51785 @endif target-winsup
51787 # Other targets (info, dvi, pdf, etc.)
51789 .PHONY: maybe-info-target-winsup info-target-winsup
51790 maybe-info-target-winsup:
51791 @if target-winsup
51792 maybe-info-target-winsup: info-target-winsup
51794 info-target-winsup: \
51795 configure-target-winsup
51796 @: $(MAKE); $(unstage)
51797 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51798 r=`${PWD_COMMAND}`; export r; \
51799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51800 $(NORMAL_TARGET_EXPORTS) \
51801 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
51802 for flag in $(EXTRA_TARGET_FLAGS); do \
51803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51804 done; \
51805 (cd $(TARGET_SUBDIR)/winsup && \
51806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51808 "RANLIB=$${RANLIB}" \
51809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51810 info) \
51811 || exit 1
51813 @endif target-winsup
51815 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
51816 maybe-dvi-target-winsup:
51817 @if target-winsup
51818 maybe-dvi-target-winsup: dvi-target-winsup
51820 dvi-target-winsup: \
51821 configure-target-winsup
51822 @: $(MAKE); $(unstage)
51823 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51824 r=`${PWD_COMMAND}`; export r; \
51825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51826 $(NORMAL_TARGET_EXPORTS) \
51827 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
51828 for flag in $(EXTRA_TARGET_FLAGS); do \
51829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51830 done; \
51831 (cd $(TARGET_SUBDIR)/winsup && \
51832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51834 "RANLIB=$${RANLIB}" \
51835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51836 dvi) \
51837 || exit 1
51839 @endif target-winsup
51841 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
51842 maybe-pdf-target-winsup:
51843 @if target-winsup
51844 maybe-pdf-target-winsup: pdf-target-winsup
51846 pdf-target-winsup: \
51847 configure-target-winsup
51848 @: $(MAKE); $(unstage)
51849 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51850 r=`${PWD_COMMAND}`; export r; \
51851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51852 $(NORMAL_TARGET_EXPORTS) \
51853 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
51854 for flag in $(EXTRA_TARGET_FLAGS); do \
51855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51856 done; \
51857 (cd $(TARGET_SUBDIR)/winsup && \
51858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51860 "RANLIB=$${RANLIB}" \
51861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51862 pdf) \
51863 || exit 1
51865 @endif target-winsup
51867 .PHONY: maybe-html-target-winsup html-target-winsup
51868 maybe-html-target-winsup:
51869 @if target-winsup
51870 maybe-html-target-winsup: html-target-winsup
51872 html-target-winsup: \
51873 configure-target-winsup
51874 @: $(MAKE); $(unstage)
51875 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51876 r=`${PWD_COMMAND}`; export r; \
51877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51878 $(NORMAL_TARGET_EXPORTS) \
51879 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
51880 for flag in $(EXTRA_TARGET_FLAGS); do \
51881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51882 done; \
51883 (cd $(TARGET_SUBDIR)/winsup && \
51884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51886 "RANLIB=$${RANLIB}" \
51887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51888 html) \
51889 || exit 1
51891 @endif target-winsup
51893 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
51894 maybe-TAGS-target-winsup:
51895 @if target-winsup
51896 maybe-TAGS-target-winsup: TAGS-target-winsup
51898 TAGS-target-winsup: \
51899 configure-target-winsup
51900 @: $(MAKE); $(unstage)
51901 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51902 r=`${PWD_COMMAND}`; export r; \
51903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51904 $(NORMAL_TARGET_EXPORTS) \
51905 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
51906 for flag in $(EXTRA_TARGET_FLAGS); do \
51907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51908 done; \
51909 (cd $(TARGET_SUBDIR)/winsup && \
51910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51912 "RANLIB=$${RANLIB}" \
51913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51914 TAGS) \
51915 || exit 1
51917 @endif target-winsup
51919 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
51920 maybe-install-info-target-winsup:
51921 @if target-winsup
51922 maybe-install-info-target-winsup: install-info-target-winsup
51924 install-info-target-winsup: \
51925 configure-target-winsup \
51926 info-target-winsup
51927 @: $(MAKE); $(unstage)
51928 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51929 r=`${PWD_COMMAND}`; export r; \
51930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51931 $(NORMAL_TARGET_EXPORTS) \
51932 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
51933 for flag in $(EXTRA_TARGET_FLAGS); do \
51934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51935 done; \
51936 (cd $(TARGET_SUBDIR)/winsup && \
51937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51939 "RANLIB=$${RANLIB}" \
51940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51941 install-info) \
51942 || exit 1
51944 @endif target-winsup
51946 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
51947 maybe-install-pdf-target-winsup:
51948 @if target-winsup
51949 maybe-install-pdf-target-winsup: install-pdf-target-winsup
51951 install-pdf-target-winsup: \
51952 configure-target-winsup \
51953 pdf-target-winsup
51954 @: $(MAKE); $(unstage)
51955 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51956 r=`${PWD_COMMAND}`; export r; \
51957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51958 $(NORMAL_TARGET_EXPORTS) \
51959 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
51960 for flag in $(EXTRA_TARGET_FLAGS); do \
51961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51962 done; \
51963 (cd $(TARGET_SUBDIR)/winsup && \
51964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51966 "RANLIB=$${RANLIB}" \
51967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51968 install-pdf) \
51969 || exit 1
51971 @endif target-winsup
51973 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
51974 maybe-install-html-target-winsup:
51975 @if target-winsup
51976 maybe-install-html-target-winsup: install-html-target-winsup
51978 install-html-target-winsup: \
51979 configure-target-winsup \
51980 html-target-winsup
51981 @: $(MAKE); $(unstage)
51982 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
51983 r=`${PWD_COMMAND}`; export r; \
51984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51985 $(NORMAL_TARGET_EXPORTS) \
51986 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
51987 for flag in $(EXTRA_TARGET_FLAGS); do \
51988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51989 done; \
51990 (cd $(TARGET_SUBDIR)/winsup && \
51991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51993 "RANLIB=$${RANLIB}" \
51994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51995 install-html) \
51996 || exit 1
51998 @endif target-winsup
52000 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
52001 maybe-installcheck-target-winsup:
52002 @if target-winsup
52003 maybe-installcheck-target-winsup: installcheck-target-winsup
52005 installcheck-target-winsup: \
52006 configure-target-winsup
52007 @: $(MAKE); $(unstage)
52008 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52009 r=`${PWD_COMMAND}`; export r; \
52010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52011 $(NORMAL_TARGET_EXPORTS) \
52012 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
52013 for flag in $(EXTRA_TARGET_FLAGS); do \
52014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52015 done; \
52016 (cd $(TARGET_SUBDIR)/winsup && \
52017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52019 "RANLIB=$${RANLIB}" \
52020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52021 installcheck) \
52022 || exit 1
52024 @endif target-winsup
52026 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
52027 maybe-mostlyclean-target-winsup:
52028 @if target-winsup
52029 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
52031 mostlyclean-target-winsup:
52032 @: $(MAKE); $(unstage)
52033 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52034 r=`${PWD_COMMAND}`; export r; \
52035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52036 $(NORMAL_TARGET_EXPORTS) \
52037 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
52038 for flag in $(EXTRA_TARGET_FLAGS); do \
52039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52040 done; \
52041 (cd $(TARGET_SUBDIR)/winsup && \
52042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52044 "RANLIB=$${RANLIB}" \
52045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52046 mostlyclean) \
52047 || exit 1
52049 @endif target-winsup
52051 .PHONY: maybe-clean-target-winsup clean-target-winsup
52052 maybe-clean-target-winsup:
52053 @if target-winsup
52054 maybe-clean-target-winsup: clean-target-winsup
52056 clean-target-winsup:
52057 @: $(MAKE); $(unstage)
52058 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52059 r=`${PWD_COMMAND}`; export r; \
52060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52061 $(NORMAL_TARGET_EXPORTS) \
52062 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
52063 for flag in $(EXTRA_TARGET_FLAGS); do \
52064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52065 done; \
52066 (cd $(TARGET_SUBDIR)/winsup && \
52067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52069 "RANLIB=$${RANLIB}" \
52070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52071 clean) \
52072 || exit 1
52074 @endif target-winsup
52076 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
52077 maybe-distclean-target-winsup:
52078 @if target-winsup
52079 maybe-distclean-target-winsup: distclean-target-winsup
52081 distclean-target-winsup:
52082 @: $(MAKE); $(unstage)
52083 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52084 r=`${PWD_COMMAND}`; export r; \
52085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52086 $(NORMAL_TARGET_EXPORTS) \
52087 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
52088 for flag in $(EXTRA_TARGET_FLAGS); do \
52089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52090 done; \
52091 (cd $(TARGET_SUBDIR)/winsup && \
52092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52094 "RANLIB=$${RANLIB}" \
52095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52096 distclean) \
52097 || exit 1
52099 @endif target-winsup
52101 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
52102 maybe-maintainer-clean-target-winsup:
52103 @if target-winsup
52104 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
52106 maintainer-clean-target-winsup:
52107 @: $(MAKE); $(unstage)
52108 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
52109 r=`${PWD_COMMAND}`; export r; \
52110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52111 $(NORMAL_TARGET_EXPORTS) \
52112 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
52113 for flag in $(EXTRA_TARGET_FLAGS); do \
52114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52115 done; \
52116 (cd $(TARGET_SUBDIR)/winsup && \
52117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52119 "RANLIB=$${RANLIB}" \
52120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52121 maintainer-clean) \
52122 || exit 1
52124 @endif target-winsup
52130 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
52131 maybe-configure-target-libgloss:
52132 @if gcc-bootstrap
52133 configure-target-libgloss: stage_current
52134 @endif gcc-bootstrap
52135 @if target-libgloss
52136 maybe-configure-target-libgloss: configure-target-libgloss
52137 configure-target-libgloss:
52138 @: $(MAKE); $(unstage)
52139 @r=`${PWD_COMMAND}`; export r; \
52140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52141 echo "Checking multilib configuration for libgloss..."; \
52142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
52143 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
52144 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
52145 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
52146 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
52147 else \
52148 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
52149 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
52150 fi; \
52151 else \
52152 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
52153 fi; \
52154 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
52155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
52156 $(NORMAL_TARGET_EXPORTS) \
52157 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
52158 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
52159 case $(srcdir) in \
52160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52161 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
52162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52163 esac; \
52164 srcdiroption="--srcdir=$${topdir}/libgloss"; \
52165 libsrcdir="$$s/libgloss"; \
52166 rm -f no-such-file || : ; \
52167 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52168 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52169 --target=${target_alias} $${srcdiroption} \
52170 || exit 1
52171 @endif target-libgloss
52177 .PHONY: all-target-libgloss maybe-all-target-libgloss
52178 maybe-all-target-libgloss:
52179 @if gcc-bootstrap
52180 all-target-libgloss: stage_current
52181 @endif gcc-bootstrap
52182 @if target-libgloss
52183 TARGET-target-libgloss=all
52184 maybe-all-target-libgloss: all-target-libgloss
52185 all-target-libgloss: configure-target-libgloss
52186 @: $(MAKE); $(unstage)
52187 @r=`${PWD_COMMAND}`; export r; \
52188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52189 $(NORMAL_TARGET_EXPORTS) \
52190 (cd $(TARGET_SUBDIR)/libgloss && \
52191 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52192 $(TARGET-target-libgloss))
52193 @endif target-libgloss
52199 .PHONY: check-target-libgloss maybe-check-target-libgloss
52200 maybe-check-target-libgloss:
52201 @if target-libgloss
52202 maybe-check-target-libgloss: check-target-libgloss
52204 # Dummy target for uncheckable module.
52205 check-target-libgloss:
52207 @endif target-libgloss
52209 .PHONY: install-target-libgloss maybe-install-target-libgloss
52210 maybe-install-target-libgloss:
52211 @if target-libgloss
52212 maybe-install-target-libgloss: install-target-libgloss
52214 install-target-libgloss: installdirs
52215 @: $(MAKE); $(unstage)
52216 @r=`${PWD_COMMAND}`; export r; \
52217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52218 $(NORMAL_TARGET_EXPORTS) \
52219 (cd $(TARGET_SUBDIR)/libgloss && \
52220 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52222 @endif target-libgloss
52224 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
52225 maybe-install-strip-target-libgloss:
52226 @if target-libgloss
52227 maybe-install-strip-target-libgloss: install-strip-target-libgloss
52229 install-strip-target-libgloss: installdirs
52230 @: $(MAKE); $(unstage)
52231 @r=`${PWD_COMMAND}`; export r; \
52232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52233 $(NORMAL_TARGET_EXPORTS) \
52234 (cd $(TARGET_SUBDIR)/libgloss && \
52235 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52237 @endif target-libgloss
52239 # Other targets (info, dvi, pdf, etc.)
52241 .PHONY: maybe-info-target-libgloss info-target-libgloss
52242 maybe-info-target-libgloss:
52243 @if target-libgloss
52244 maybe-info-target-libgloss: info-target-libgloss
52246 info-target-libgloss: \
52247 configure-target-libgloss
52248 @: $(MAKE); $(unstage)
52249 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52250 r=`${PWD_COMMAND}`; export r; \
52251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52252 $(NORMAL_TARGET_EXPORTS) \
52253 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
52254 for flag in $(EXTRA_TARGET_FLAGS); do \
52255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52256 done; \
52257 (cd $(TARGET_SUBDIR)/libgloss && \
52258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52260 "RANLIB=$${RANLIB}" \
52261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52262 info) \
52263 || exit 1
52265 @endif target-libgloss
52267 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
52268 maybe-dvi-target-libgloss:
52269 @if target-libgloss
52270 maybe-dvi-target-libgloss: dvi-target-libgloss
52272 dvi-target-libgloss: \
52273 configure-target-libgloss
52274 @: $(MAKE); $(unstage)
52275 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52276 r=`${PWD_COMMAND}`; export r; \
52277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52278 $(NORMAL_TARGET_EXPORTS) \
52279 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
52280 for flag in $(EXTRA_TARGET_FLAGS); do \
52281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52282 done; \
52283 (cd $(TARGET_SUBDIR)/libgloss && \
52284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52286 "RANLIB=$${RANLIB}" \
52287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52288 dvi) \
52289 || exit 1
52291 @endif target-libgloss
52293 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
52294 maybe-pdf-target-libgloss:
52295 @if target-libgloss
52296 maybe-pdf-target-libgloss: pdf-target-libgloss
52298 pdf-target-libgloss: \
52299 configure-target-libgloss
52300 @: $(MAKE); $(unstage)
52301 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52302 r=`${PWD_COMMAND}`; export r; \
52303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52304 $(NORMAL_TARGET_EXPORTS) \
52305 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
52306 for flag in $(EXTRA_TARGET_FLAGS); do \
52307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52308 done; \
52309 (cd $(TARGET_SUBDIR)/libgloss && \
52310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52312 "RANLIB=$${RANLIB}" \
52313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52314 pdf) \
52315 || exit 1
52317 @endif target-libgloss
52319 .PHONY: maybe-html-target-libgloss html-target-libgloss
52320 maybe-html-target-libgloss:
52321 @if target-libgloss
52322 maybe-html-target-libgloss: html-target-libgloss
52324 html-target-libgloss: \
52325 configure-target-libgloss
52326 @: $(MAKE); $(unstage)
52327 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52328 r=`${PWD_COMMAND}`; export r; \
52329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52330 $(NORMAL_TARGET_EXPORTS) \
52331 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
52332 for flag in $(EXTRA_TARGET_FLAGS); do \
52333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52334 done; \
52335 (cd $(TARGET_SUBDIR)/libgloss && \
52336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52338 "RANLIB=$${RANLIB}" \
52339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52340 html) \
52341 || exit 1
52343 @endif target-libgloss
52345 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
52346 maybe-TAGS-target-libgloss:
52347 @if target-libgloss
52348 maybe-TAGS-target-libgloss: TAGS-target-libgloss
52350 TAGS-target-libgloss: \
52351 configure-target-libgloss
52352 @: $(MAKE); $(unstage)
52353 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52354 r=`${PWD_COMMAND}`; export r; \
52355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52356 $(NORMAL_TARGET_EXPORTS) \
52357 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
52358 for flag in $(EXTRA_TARGET_FLAGS); do \
52359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52360 done; \
52361 (cd $(TARGET_SUBDIR)/libgloss && \
52362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52364 "RANLIB=$${RANLIB}" \
52365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52366 TAGS) \
52367 || exit 1
52369 @endif target-libgloss
52371 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
52372 maybe-install-info-target-libgloss:
52373 @if target-libgloss
52374 maybe-install-info-target-libgloss: install-info-target-libgloss
52376 install-info-target-libgloss: \
52377 configure-target-libgloss \
52378 info-target-libgloss
52379 @: $(MAKE); $(unstage)
52380 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52381 r=`${PWD_COMMAND}`; export r; \
52382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52383 $(NORMAL_TARGET_EXPORTS) \
52384 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
52385 for flag in $(EXTRA_TARGET_FLAGS); do \
52386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52387 done; \
52388 (cd $(TARGET_SUBDIR)/libgloss && \
52389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52391 "RANLIB=$${RANLIB}" \
52392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52393 install-info) \
52394 || exit 1
52396 @endif target-libgloss
52398 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
52399 maybe-install-pdf-target-libgloss:
52400 @if target-libgloss
52401 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
52403 install-pdf-target-libgloss: \
52404 configure-target-libgloss \
52405 pdf-target-libgloss
52406 @: $(MAKE); $(unstage)
52407 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52408 r=`${PWD_COMMAND}`; export r; \
52409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52410 $(NORMAL_TARGET_EXPORTS) \
52411 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
52412 for flag in $(EXTRA_TARGET_FLAGS); do \
52413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52414 done; \
52415 (cd $(TARGET_SUBDIR)/libgloss && \
52416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52418 "RANLIB=$${RANLIB}" \
52419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52420 install-pdf) \
52421 || exit 1
52423 @endif target-libgloss
52425 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
52426 maybe-install-html-target-libgloss:
52427 @if target-libgloss
52428 maybe-install-html-target-libgloss: install-html-target-libgloss
52430 install-html-target-libgloss: \
52431 configure-target-libgloss \
52432 html-target-libgloss
52433 @: $(MAKE); $(unstage)
52434 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52435 r=`${PWD_COMMAND}`; export r; \
52436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52437 $(NORMAL_TARGET_EXPORTS) \
52438 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
52439 for flag in $(EXTRA_TARGET_FLAGS); do \
52440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52441 done; \
52442 (cd $(TARGET_SUBDIR)/libgloss && \
52443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52445 "RANLIB=$${RANLIB}" \
52446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52447 install-html) \
52448 || exit 1
52450 @endif target-libgloss
52452 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
52453 maybe-installcheck-target-libgloss:
52454 @if target-libgloss
52455 maybe-installcheck-target-libgloss: installcheck-target-libgloss
52457 installcheck-target-libgloss: \
52458 configure-target-libgloss
52459 @: $(MAKE); $(unstage)
52460 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52461 r=`${PWD_COMMAND}`; export r; \
52462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52463 $(NORMAL_TARGET_EXPORTS) \
52464 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
52465 for flag in $(EXTRA_TARGET_FLAGS); do \
52466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52467 done; \
52468 (cd $(TARGET_SUBDIR)/libgloss && \
52469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52471 "RANLIB=$${RANLIB}" \
52472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52473 installcheck) \
52474 || exit 1
52476 @endif target-libgloss
52478 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
52479 maybe-mostlyclean-target-libgloss:
52480 @if target-libgloss
52481 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
52483 mostlyclean-target-libgloss:
52484 @: $(MAKE); $(unstage)
52485 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52486 r=`${PWD_COMMAND}`; export r; \
52487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52488 $(NORMAL_TARGET_EXPORTS) \
52489 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
52490 for flag in $(EXTRA_TARGET_FLAGS); do \
52491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52492 done; \
52493 (cd $(TARGET_SUBDIR)/libgloss && \
52494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52496 "RANLIB=$${RANLIB}" \
52497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52498 mostlyclean) \
52499 || exit 1
52501 @endif target-libgloss
52503 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
52504 maybe-clean-target-libgloss:
52505 @if target-libgloss
52506 maybe-clean-target-libgloss: clean-target-libgloss
52508 clean-target-libgloss:
52509 @: $(MAKE); $(unstage)
52510 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52511 r=`${PWD_COMMAND}`; export r; \
52512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52513 $(NORMAL_TARGET_EXPORTS) \
52514 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
52515 for flag in $(EXTRA_TARGET_FLAGS); do \
52516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52517 done; \
52518 (cd $(TARGET_SUBDIR)/libgloss && \
52519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52521 "RANLIB=$${RANLIB}" \
52522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52523 clean) \
52524 || exit 1
52526 @endif target-libgloss
52528 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
52529 maybe-distclean-target-libgloss:
52530 @if target-libgloss
52531 maybe-distclean-target-libgloss: distclean-target-libgloss
52533 distclean-target-libgloss:
52534 @: $(MAKE); $(unstage)
52535 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52536 r=`${PWD_COMMAND}`; export r; \
52537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52538 $(NORMAL_TARGET_EXPORTS) \
52539 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
52540 for flag in $(EXTRA_TARGET_FLAGS); do \
52541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52542 done; \
52543 (cd $(TARGET_SUBDIR)/libgloss && \
52544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52546 "RANLIB=$${RANLIB}" \
52547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52548 distclean) \
52549 || exit 1
52551 @endif target-libgloss
52553 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
52554 maybe-maintainer-clean-target-libgloss:
52555 @if target-libgloss
52556 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
52558 maintainer-clean-target-libgloss:
52559 @: $(MAKE); $(unstage)
52560 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
52561 r=`${PWD_COMMAND}`; export r; \
52562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52563 $(NORMAL_TARGET_EXPORTS) \
52564 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
52565 for flag in $(EXTRA_TARGET_FLAGS); do \
52566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52567 done; \
52568 (cd $(TARGET_SUBDIR)/libgloss && \
52569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52571 "RANLIB=$${RANLIB}" \
52572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52573 maintainer-clean) \
52574 || exit 1
52576 @endif target-libgloss
52582 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
52583 maybe-configure-target-libiberty:
52584 @if gcc-bootstrap
52585 configure-target-libiberty: stage_current
52586 @endif gcc-bootstrap
52587 @if target-libiberty
52588 maybe-configure-target-libiberty: configure-target-libiberty
52589 configure-target-libiberty:
52590 @: $(MAKE); $(unstage)
52591 @r=`${PWD_COMMAND}`; export r; \
52592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52593 echo "Checking multilib configuration for libiberty..."; \
52594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
52595 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
52596 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
52597 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
52598 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
52599 else \
52600 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
52601 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
52602 fi; \
52603 else \
52604 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
52605 fi; \
52606 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
52607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
52608 $(NORMAL_TARGET_EXPORTS) \
52609 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
52610 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
52611 case $(srcdir) in \
52612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52613 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
52614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52615 esac; \
52616 srcdiroption="--srcdir=$${topdir}/libiberty"; \
52617 libsrcdir="$$s/libiberty"; \
52618 rm -f no-such-file || : ; \
52619 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52620 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52621 --target=${target_alias} $${srcdiroption} \
52622 || exit 1
52623 @endif target-libiberty
52629 .PHONY: all-target-libiberty maybe-all-target-libiberty
52630 maybe-all-target-libiberty:
52631 @if gcc-bootstrap
52632 all-target-libiberty: stage_current
52633 @endif gcc-bootstrap
52634 @if target-libiberty
52635 TARGET-target-libiberty=all
52636 maybe-all-target-libiberty: all-target-libiberty
52637 all-target-libiberty: configure-target-libiberty
52638 @: $(MAKE); $(unstage)
52639 @r=`${PWD_COMMAND}`; export r; \
52640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52641 $(NORMAL_TARGET_EXPORTS) \
52642 (cd $(TARGET_SUBDIR)/libiberty && \
52643 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52644 $(TARGET-target-libiberty))
52645 @endif target-libiberty
52651 .PHONY: check-target-libiberty maybe-check-target-libiberty
52652 maybe-check-target-libiberty:
52653 @if target-libiberty
52654 maybe-check-target-libiberty: check-target-libiberty
52656 check-target-libiberty:
52657 @: $(MAKE); $(unstage)
52658 @r=`${PWD_COMMAND}`; export r; \
52659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52660 $(NORMAL_TARGET_EXPORTS) \
52661 (cd $(TARGET_SUBDIR)/libiberty && \
52662 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52664 @endif target-libiberty
52666 .PHONY: install-target-libiberty maybe-install-target-libiberty
52667 maybe-install-target-libiberty:
52668 @if target-libiberty
52669 maybe-install-target-libiberty: install-target-libiberty
52671 install-target-libiberty: installdirs
52672 @: $(MAKE); $(unstage)
52673 @r=`${PWD_COMMAND}`; export r; \
52674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52675 $(NORMAL_TARGET_EXPORTS) \
52676 (cd $(TARGET_SUBDIR)/libiberty && \
52677 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52679 @endif target-libiberty
52681 .PHONY: install-strip-target-libiberty maybe-install-strip-target-libiberty
52682 maybe-install-strip-target-libiberty:
52683 @if target-libiberty
52684 maybe-install-strip-target-libiberty: install-strip-target-libiberty
52686 install-strip-target-libiberty: installdirs
52687 @: $(MAKE); $(unstage)
52688 @r=`${PWD_COMMAND}`; export r; \
52689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52690 $(NORMAL_TARGET_EXPORTS) \
52691 (cd $(TARGET_SUBDIR)/libiberty && \
52692 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52694 @endif target-libiberty
52696 # Other targets (info, dvi, pdf, etc.)
52698 .PHONY: maybe-info-target-libiberty info-target-libiberty
52699 maybe-info-target-libiberty:
52700 @if target-libiberty
52701 maybe-info-target-libiberty: info-target-libiberty
52703 info-target-libiberty: \
52704 configure-target-libiberty
52705 @: $(MAKE); $(unstage)
52706 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52707 r=`${PWD_COMMAND}`; export r; \
52708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52709 $(NORMAL_TARGET_EXPORTS) \
52710 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
52711 for flag in $(EXTRA_TARGET_FLAGS); do \
52712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52713 done; \
52714 (cd $(TARGET_SUBDIR)/libiberty && \
52715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52717 "RANLIB=$${RANLIB}" \
52718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52719 info) \
52720 || exit 1
52722 @endif target-libiberty
52724 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
52725 maybe-dvi-target-libiberty:
52726 @if target-libiberty
52727 maybe-dvi-target-libiberty: dvi-target-libiberty
52729 dvi-target-libiberty: \
52730 configure-target-libiberty
52731 @: $(MAKE); $(unstage)
52732 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52733 r=`${PWD_COMMAND}`; export r; \
52734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52735 $(NORMAL_TARGET_EXPORTS) \
52736 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
52737 for flag in $(EXTRA_TARGET_FLAGS); do \
52738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52739 done; \
52740 (cd $(TARGET_SUBDIR)/libiberty && \
52741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52743 "RANLIB=$${RANLIB}" \
52744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52745 dvi) \
52746 || exit 1
52748 @endif target-libiberty
52750 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
52751 maybe-pdf-target-libiberty:
52752 @if target-libiberty
52753 maybe-pdf-target-libiberty: pdf-target-libiberty
52755 pdf-target-libiberty: \
52756 configure-target-libiberty
52757 @: $(MAKE); $(unstage)
52758 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52759 r=`${PWD_COMMAND}`; export r; \
52760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52761 $(NORMAL_TARGET_EXPORTS) \
52762 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
52763 for flag in $(EXTRA_TARGET_FLAGS); do \
52764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52765 done; \
52766 (cd $(TARGET_SUBDIR)/libiberty && \
52767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52769 "RANLIB=$${RANLIB}" \
52770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52771 pdf) \
52772 || exit 1
52774 @endif target-libiberty
52776 .PHONY: maybe-html-target-libiberty html-target-libiberty
52777 maybe-html-target-libiberty:
52778 @if target-libiberty
52779 maybe-html-target-libiberty: html-target-libiberty
52781 html-target-libiberty: \
52782 configure-target-libiberty
52783 @: $(MAKE); $(unstage)
52784 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52785 r=`${PWD_COMMAND}`; export r; \
52786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52787 $(NORMAL_TARGET_EXPORTS) \
52788 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
52789 for flag in $(EXTRA_TARGET_FLAGS); do \
52790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52791 done; \
52792 (cd $(TARGET_SUBDIR)/libiberty && \
52793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52795 "RANLIB=$${RANLIB}" \
52796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52797 html) \
52798 || exit 1
52800 @endif target-libiberty
52802 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
52803 maybe-TAGS-target-libiberty:
52804 @if target-libiberty
52805 maybe-TAGS-target-libiberty: TAGS-target-libiberty
52807 TAGS-target-libiberty: \
52808 configure-target-libiberty
52809 @: $(MAKE); $(unstage)
52810 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52811 r=`${PWD_COMMAND}`; export r; \
52812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52813 $(NORMAL_TARGET_EXPORTS) \
52814 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
52815 for flag in $(EXTRA_TARGET_FLAGS); do \
52816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52817 done; \
52818 (cd $(TARGET_SUBDIR)/libiberty && \
52819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52821 "RANLIB=$${RANLIB}" \
52822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52823 TAGS) \
52824 || exit 1
52826 @endif target-libiberty
52828 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
52829 maybe-install-info-target-libiberty:
52830 @if target-libiberty
52831 maybe-install-info-target-libiberty: install-info-target-libiberty
52833 install-info-target-libiberty: \
52834 configure-target-libiberty \
52835 info-target-libiberty
52836 @: $(MAKE); $(unstage)
52837 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52838 r=`${PWD_COMMAND}`; export r; \
52839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52840 $(NORMAL_TARGET_EXPORTS) \
52841 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
52842 for flag in $(EXTRA_TARGET_FLAGS); do \
52843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52844 done; \
52845 (cd $(TARGET_SUBDIR)/libiberty && \
52846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52848 "RANLIB=$${RANLIB}" \
52849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52850 install-info) \
52851 || exit 1
52853 @endif target-libiberty
52855 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
52856 maybe-install-pdf-target-libiberty:
52857 @if target-libiberty
52858 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
52860 install-pdf-target-libiberty: \
52861 configure-target-libiberty \
52862 pdf-target-libiberty
52863 @: $(MAKE); $(unstage)
52864 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52865 r=`${PWD_COMMAND}`; export r; \
52866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52867 $(NORMAL_TARGET_EXPORTS) \
52868 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
52869 for flag in $(EXTRA_TARGET_FLAGS); do \
52870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52871 done; \
52872 (cd $(TARGET_SUBDIR)/libiberty && \
52873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52875 "RANLIB=$${RANLIB}" \
52876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52877 install-pdf) \
52878 || exit 1
52880 @endif target-libiberty
52882 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
52883 maybe-install-html-target-libiberty:
52884 @if target-libiberty
52885 maybe-install-html-target-libiberty: install-html-target-libiberty
52887 install-html-target-libiberty: \
52888 configure-target-libiberty \
52889 html-target-libiberty
52890 @: $(MAKE); $(unstage)
52891 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52892 r=`${PWD_COMMAND}`; export r; \
52893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52894 $(NORMAL_TARGET_EXPORTS) \
52895 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
52896 for flag in $(EXTRA_TARGET_FLAGS); do \
52897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52898 done; \
52899 (cd $(TARGET_SUBDIR)/libiberty && \
52900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52902 "RANLIB=$${RANLIB}" \
52903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52904 install-html) \
52905 || exit 1
52907 @endif target-libiberty
52909 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
52910 maybe-installcheck-target-libiberty:
52911 @if target-libiberty
52912 maybe-installcheck-target-libiberty: installcheck-target-libiberty
52914 installcheck-target-libiberty: \
52915 configure-target-libiberty
52916 @: $(MAKE); $(unstage)
52917 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52918 r=`${PWD_COMMAND}`; export r; \
52919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52920 $(NORMAL_TARGET_EXPORTS) \
52921 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
52922 for flag in $(EXTRA_TARGET_FLAGS); do \
52923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52924 done; \
52925 (cd $(TARGET_SUBDIR)/libiberty && \
52926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52928 "RANLIB=$${RANLIB}" \
52929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52930 installcheck) \
52931 || exit 1
52933 @endif target-libiberty
52935 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
52936 maybe-mostlyclean-target-libiberty:
52937 @if target-libiberty
52938 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
52940 mostlyclean-target-libiberty:
52941 @: $(MAKE); $(unstage)
52942 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52943 r=`${PWD_COMMAND}`; export r; \
52944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52945 $(NORMAL_TARGET_EXPORTS) \
52946 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
52947 for flag in $(EXTRA_TARGET_FLAGS); do \
52948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52949 done; \
52950 (cd $(TARGET_SUBDIR)/libiberty && \
52951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52953 "RANLIB=$${RANLIB}" \
52954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52955 mostlyclean) \
52956 || exit 1
52958 @endif target-libiberty
52960 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
52961 maybe-clean-target-libiberty:
52962 @if target-libiberty
52963 maybe-clean-target-libiberty: clean-target-libiberty
52965 clean-target-libiberty:
52966 @: $(MAKE); $(unstage)
52967 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52968 r=`${PWD_COMMAND}`; export r; \
52969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52970 $(NORMAL_TARGET_EXPORTS) \
52971 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
52972 for flag in $(EXTRA_TARGET_FLAGS); do \
52973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52974 done; \
52975 (cd $(TARGET_SUBDIR)/libiberty && \
52976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52978 "RANLIB=$${RANLIB}" \
52979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52980 clean) \
52981 || exit 1
52983 @endif target-libiberty
52985 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
52986 maybe-distclean-target-libiberty:
52987 @if target-libiberty
52988 maybe-distclean-target-libiberty: distclean-target-libiberty
52990 distclean-target-libiberty:
52991 @: $(MAKE); $(unstage)
52992 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
52993 r=`${PWD_COMMAND}`; export r; \
52994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52995 $(NORMAL_TARGET_EXPORTS) \
52996 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
52997 for flag in $(EXTRA_TARGET_FLAGS); do \
52998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52999 done; \
53000 (cd $(TARGET_SUBDIR)/libiberty && \
53001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53003 "RANLIB=$${RANLIB}" \
53004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53005 distclean) \
53006 || exit 1
53008 @endif target-libiberty
53010 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
53011 maybe-maintainer-clean-target-libiberty:
53012 @if target-libiberty
53013 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
53015 maintainer-clean-target-libiberty:
53016 @: $(MAKE); $(unstage)
53017 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
53018 r=`${PWD_COMMAND}`; export r; \
53019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53020 $(NORMAL_TARGET_EXPORTS) \
53021 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
53022 for flag in $(EXTRA_TARGET_FLAGS); do \
53023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53024 done; \
53025 (cd $(TARGET_SUBDIR)/libiberty && \
53026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53028 "RANLIB=$${RANLIB}" \
53029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53030 maintainer-clean) \
53031 || exit 1
53033 @endif target-libiberty
53039 .PHONY: configure-target-gperf maybe-configure-target-gperf
53040 maybe-configure-target-gperf:
53041 @if gcc-bootstrap
53042 configure-target-gperf: stage_current
53043 @endif gcc-bootstrap
53044 @if target-gperf
53045 maybe-configure-target-gperf: configure-target-gperf
53046 configure-target-gperf:
53047 @: $(MAKE); $(unstage)
53048 @r=`${PWD_COMMAND}`; export r; \
53049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53050 echo "Checking multilib configuration for gperf..."; \
53051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
53052 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
53053 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
53054 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
53055 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
53056 else \
53057 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
53058 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
53059 fi; \
53060 else \
53061 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
53062 fi; \
53063 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
53064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
53065 $(NORMAL_TARGET_EXPORTS) \
53066 echo Configuring in $(TARGET_SUBDIR)/gperf; \
53067 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
53068 case $(srcdir) in \
53069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53070 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
53071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53072 esac; \
53073 srcdiroption="--srcdir=$${topdir}/gperf"; \
53074 libsrcdir="$$s/gperf"; \
53075 rm -f no-such-file || : ; \
53076 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53077 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53078 --target=${target_alias} $${srcdiroption} \
53079 || exit 1
53080 @endif target-gperf
53086 .PHONY: all-target-gperf maybe-all-target-gperf
53087 maybe-all-target-gperf:
53088 @if gcc-bootstrap
53089 all-target-gperf: stage_current
53090 @endif gcc-bootstrap
53091 @if target-gperf
53092 TARGET-target-gperf=all
53093 maybe-all-target-gperf: all-target-gperf
53094 all-target-gperf: configure-target-gperf
53095 @: $(MAKE); $(unstage)
53096 @r=`${PWD_COMMAND}`; export r; \
53097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53098 $(NORMAL_TARGET_EXPORTS) \
53099 (cd $(TARGET_SUBDIR)/gperf && \
53100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53101 $(TARGET-target-gperf))
53102 @endif target-gperf
53108 .PHONY: check-target-gperf maybe-check-target-gperf
53109 maybe-check-target-gperf:
53110 @if target-gperf
53111 maybe-check-target-gperf: check-target-gperf
53113 check-target-gperf:
53114 @: $(MAKE); $(unstage)
53115 @r=`${PWD_COMMAND}`; export r; \
53116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53117 $(NORMAL_TARGET_EXPORTS) \
53118 (cd $(TARGET_SUBDIR)/gperf && \
53119 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53121 @endif target-gperf
53123 .PHONY: install-target-gperf maybe-install-target-gperf
53124 maybe-install-target-gperf:
53125 @if target-gperf
53126 maybe-install-target-gperf: install-target-gperf
53128 install-target-gperf: installdirs
53129 @: $(MAKE); $(unstage)
53130 @r=`${PWD_COMMAND}`; export r; \
53131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53132 $(NORMAL_TARGET_EXPORTS) \
53133 (cd $(TARGET_SUBDIR)/gperf && \
53134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53136 @endif target-gperf
53138 .PHONY: install-strip-target-gperf maybe-install-strip-target-gperf
53139 maybe-install-strip-target-gperf:
53140 @if target-gperf
53141 maybe-install-strip-target-gperf: install-strip-target-gperf
53143 install-strip-target-gperf: installdirs
53144 @: $(MAKE); $(unstage)
53145 @r=`${PWD_COMMAND}`; export r; \
53146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53147 $(NORMAL_TARGET_EXPORTS) \
53148 (cd $(TARGET_SUBDIR)/gperf && \
53149 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
53151 @endif target-gperf
53153 # Other targets (info, dvi, pdf, etc.)
53155 .PHONY: maybe-info-target-gperf info-target-gperf
53156 maybe-info-target-gperf:
53157 @if target-gperf
53158 maybe-info-target-gperf: info-target-gperf
53160 info-target-gperf: \
53161 configure-target-gperf
53162 @: $(MAKE); $(unstage)
53163 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53164 r=`${PWD_COMMAND}`; export r; \
53165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53166 $(NORMAL_TARGET_EXPORTS) \
53167 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
53168 for flag in $(EXTRA_TARGET_FLAGS); do \
53169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53170 done; \
53171 (cd $(TARGET_SUBDIR)/gperf && \
53172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53174 "RANLIB=$${RANLIB}" \
53175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53176 info) \
53177 || exit 1
53179 @endif target-gperf
53181 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
53182 maybe-dvi-target-gperf:
53183 @if target-gperf
53184 maybe-dvi-target-gperf: dvi-target-gperf
53186 dvi-target-gperf: \
53187 configure-target-gperf
53188 @: $(MAKE); $(unstage)
53189 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53190 r=`${PWD_COMMAND}`; export r; \
53191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53192 $(NORMAL_TARGET_EXPORTS) \
53193 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
53194 for flag in $(EXTRA_TARGET_FLAGS); do \
53195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53196 done; \
53197 (cd $(TARGET_SUBDIR)/gperf && \
53198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53200 "RANLIB=$${RANLIB}" \
53201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53202 dvi) \
53203 || exit 1
53205 @endif target-gperf
53207 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
53208 maybe-pdf-target-gperf:
53209 @if target-gperf
53210 maybe-pdf-target-gperf: pdf-target-gperf
53212 pdf-target-gperf: \
53213 configure-target-gperf
53214 @: $(MAKE); $(unstage)
53215 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53216 r=`${PWD_COMMAND}`; export r; \
53217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53218 $(NORMAL_TARGET_EXPORTS) \
53219 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
53220 for flag in $(EXTRA_TARGET_FLAGS); do \
53221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53222 done; \
53223 (cd $(TARGET_SUBDIR)/gperf && \
53224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53226 "RANLIB=$${RANLIB}" \
53227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53228 pdf) \
53229 || exit 1
53231 @endif target-gperf
53233 .PHONY: maybe-html-target-gperf html-target-gperf
53234 maybe-html-target-gperf:
53235 @if target-gperf
53236 maybe-html-target-gperf: html-target-gperf
53238 html-target-gperf: \
53239 configure-target-gperf
53240 @: $(MAKE); $(unstage)
53241 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53242 r=`${PWD_COMMAND}`; export r; \
53243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53244 $(NORMAL_TARGET_EXPORTS) \
53245 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
53246 for flag in $(EXTRA_TARGET_FLAGS); do \
53247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53248 done; \
53249 (cd $(TARGET_SUBDIR)/gperf && \
53250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53252 "RANLIB=$${RANLIB}" \
53253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53254 html) \
53255 || exit 1
53257 @endif target-gperf
53259 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
53260 maybe-TAGS-target-gperf:
53261 @if target-gperf
53262 maybe-TAGS-target-gperf: TAGS-target-gperf
53264 TAGS-target-gperf: \
53265 configure-target-gperf
53266 @: $(MAKE); $(unstage)
53267 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53268 r=`${PWD_COMMAND}`; export r; \
53269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53270 $(NORMAL_TARGET_EXPORTS) \
53271 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
53272 for flag in $(EXTRA_TARGET_FLAGS); do \
53273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53274 done; \
53275 (cd $(TARGET_SUBDIR)/gperf && \
53276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53278 "RANLIB=$${RANLIB}" \
53279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53280 TAGS) \
53281 || exit 1
53283 @endif target-gperf
53285 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
53286 maybe-install-info-target-gperf:
53287 @if target-gperf
53288 maybe-install-info-target-gperf: install-info-target-gperf
53290 install-info-target-gperf: \
53291 configure-target-gperf \
53292 info-target-gperf
53293 @: $(MAKE); $(unstage)
53294 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53295 r=`${PWD_COMMAND}`; export r; \
53296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53297 $(NORMAL_TARGET_EXPORTS) \
53298 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
53299 for flag in $(EXTRA_TARGET_FLAGS); do \
53300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53301 done; \
53302 (cd $(TARGET_SUBDIR)/gperf && \
53303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53305 "RANLIB=$${RANLIB}" \
53306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53307 install-info) \
53308 || exit 1
53310 @endif target-gperf
53312 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
53313 maybe-install-pdf-target-gperf:
53314 @if target-gperf
53315 maybe-install-pdf-target-gperf: install-pdf-target-gperf
53317 install-pdf-target-gperf: \
53318 configure-target-gperf \
53319 pdf-target-gperf
53320 @: $(MAKE); $(unstage)
53321 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53322 r=`${PWD_COMMAND}`; export r; \
53323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53324 $(NORMAL_TARGET_EXPORTS) \
53325 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
53326 for flag in $(EXTRA_TARGET_FLAGS); do \
53327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53328 done; \
53329 (cd $(TARGET_SUBDIR)/gperf && \
53330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53332 "RANLIB=$${RANLIB}" \
53333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53334 install-pdf) \
53335 || exit 1
53337 @endif target-gperf
53339 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
53340 maybe-install-html-target-gperf:
53341 @if target-gperf
53342 maybe-install-html-target-gperf: install-html-target-gperf
53344 install-html-target-gperf: \
53345 configure-target-gperf \
53346 html-target-gperf
53347 @: $(MAKE); $(unstage)
53348 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53349 r=`${PWD_COMMAND}`; export r; \
53350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53351 $(NORMAL_TARGET_EXPORTS) \
53352 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
53353 for flag in $(EXTRA_TARGET_FLAGS); do \
53354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53355 done; \
53356 (cd $(TARGET_SUBDIR)/gperf && \
53357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53359 "RANLIB=$${RANLIB}" \
53360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53361 install-html) \
53362 || exit 1
53364 @endif target-gperf
53366 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
53367 maybe-installcheck-target-gperf:
53368 @if target-gperf
53369 maybe-installcheck-target-gperf: installcheck-target-gperf
53371 installcheck-target-gperf: \
53372 configure-target-gperf
53373 @: $(MAKE); $(unstage)
53374 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53375 r=`${PWD_COMMAND}`; export r; \
53376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53377 $(NORMAL_TARGET_EXPORTS) \
53378 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
53379 for flag in $(EXTRA_TARGET_FLAGS); do \
53380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53381 done; \
53382 (cd $(TARGET_SUBDIR)/gperf && \
53383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53385 "RANLIB=$${RANLIB}" \
53386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53387 installcheck) \
53388 || exit 1
53390 @endif target-gperf
53392 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
53393 maybe-mostlyclean-target-gperf:
53394 @if target-gperf
53395 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
53397 mostlyclean-target-gperf:
53398 @: $(MAKE); $(unstage)
53399 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53400 r=`${PWD_COMMAND}`; export r; \
53401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53402 $(NORMAL_TARGET_EXPORTS) \
53403 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
53404 for flag in $(EXTRA_TARGET_FLAGS); do \
53405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53406 done; \
53407 (cd $(TARGET_SUBDIR)/gperf && \
53408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53410 "RANLIB=$${RANLIB}" \
53411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53412 mostlyclean) \
53413 || exit 1
53415 @endif target-gperf
53417 .PHONY: maybe-clean-target-gperf clean-target-gperf
53418 maybe-clean-target-gperf:
53419 @if target-gperf
53420 maybe-clean-target-gperf: clean-target-gperf
53422 clean-target-gperf:
53423 @: $(MAKE); $(unstage)
53424 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53425 r=`${PWD_COMMAND}`; export r; \
53426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53427 $(NORMAL_TARGET_EXPORTS) \
53428 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
53429 for flag in $(EXTRA_TARGET_FLAGS); do \
53430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53431 done; \
53432 (cd $(TARGET_SUBDIR)/gperf && \
53433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53435 "RANLIB=$${RANLIB}" \
53436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53437 clean) \
53438 || exit 1
53440 @endif target-gperf
53442 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
53443 maybe-distclean-target-gperf:
53444 @if target-gperf
53445 maybe-distclean-target-gperf: distclean-target-gperf
53447 distclean-target-gperf:
53448 @: $(MAKE); $(unstage)
53449 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53450 r=`${PWD_COMMAND}`; export r; \
53451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53452 $(NORMAL_TARGET_EXPORTS) \
53453 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
53454 for flag in $(EXTRA_TARGET_FLAGS); do \
53455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53456 done; \
53457 (cd $(TARGET_SUBDIR)/gperf && \
53458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53460 "RANLIB=$${RANLIB}" \
53461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53462 distclean) \
53463 || exit 1
53465 @endif target-gperf
53467 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
53468 maybe-maintainer-clean-target-gperf:
53469 @if target-gperf
53470 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
53472 maintainer-clean-target-gperf:
53473 @: $(MAKE); $(unstage)
53474 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
53475 r=`${PWD_COMMAND}`; export r; \
53476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53477 $(NORMAL_TARGET_EXPORTS) \
53478 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
53479 for flag in $(EXTRA_TARGET_FLAGS); do \
53480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53481 done; \
53482 (cd $(TARGET_SUBDIR)/gperf && \
53483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53485 "RANLIB=$${RANLIB}" \
53486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53487 maintainer-clean) \
53488 || exit 1
53490 @endif target-gperf
53496 .PHONY: configure-target-examples maybe-configure-target-examples
53497 maybe-configure-target-examples:
53498 @if gcc-bootstrap
53499 configure-target-examples: stage_current
53500 @endif gcc-bootstrap
53501 @if target-examples
53502 maybe-configure-target-examples: configure-target-examples
53503 configure-target-examples:
53504 @: $(MAKE); $(unstage)
53505 @r=`${PWD_COMMAND}`; export r; \
53506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53507 echo "Checking multilib configuration for examples..."; \
53508 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
53509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
53510 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
53511 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
53512 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
53513 else \
53514 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
53515 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
53516 fi; \
53517 else \
53518 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
53519 fi; \
53520 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
53521 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
53522 $(NORMAL_TARGET_EXPORTS) \
53523 echo Configuring in $(TARGET_SUBDIR)/examples; \
53524 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
53525 case $(srcdir) in \
53526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53527 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
53528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53529 esac; \
53530 srcdiroption="--srcdir=$${topdir}/examples"; \
53531 libsrcdir="$$s/examples"; \
53532 rm -f no-such-file || : ; \
53533 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53535 --target=${target_alias} $${srcdiroption} \
53536 || exit 1
53537 @endif target-examples
53543 .PHONY: all-target-examples maybe-all-target-examples
53544 maybe-all-target-examples:
53545 @if gcc-bootstrap
53546 all-target-examples: stage_current
53547 @endif gcc-bootstrap
53548 @if target-examples
53549 TARGET-target-examples=all
53550 maybe-all-target-examples: all-target-examples
53551 all-target-examples: configure-target-examples
53552 @: $(MAKE); $(unstage)
53553 @r=`${PWD_COMMAND}`; export r; \
53554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53555 $(NORMAL_TARGET_EXPORTS) \
53556 (cd $(TARGET_SUBDIR)/examples && \
53557 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53558 $(TARGET-target-examples))
53559 @endif target-examples
53565 .PHONY: check-target-examples maybe-check-target-examples
53566 maybe-check-target-examples:
53567 @if target-examples
53568 maybe-check-target-examples: check-target-examples
53570 # Dummy target for uncheckable module.
53571 check-target-examples:
53573 @endif target-examples
53575 .PHONY: install-target-examples maybe-install-target-examples
53576 maybe-install-target-examples:
53577 @if target-examples
53578 maybe-install-target-examples: install-target-examples
53580 # Dummy target for uninstallable.
53581 install-target-examples:
53583 @endif target-examples
53585 .PHONY: install-strip-target-examples maybe-install-strip-target-examples
53586 maybe-install-strip-target-examples:
53587 @if target-examples
53588 maybe-install-strip-target-examples: install-strip-target-examples
53590 # Dummy target for uninstallable.
53591 install-strip-target-examples:
53593 @endif target-examples
53595 # Other targets (info, dvi, pdf, etc.)
53597 .PHONY: maybe-info-target-examples info-target-examples
53598 maybe-info-target-examples:
53599 @if target-examples
53600 maybe-info-target-examples: info-target-examples
53602 info-target-examples: \
53603 configure-target-examples
53604 @: $(MAKE); $(unstage)
53605 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53606 r=`${PWD_COMMAND}`; export r; \
53607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53608 $(NORMAL_TARGET_EXPORTS) \
53609 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
53610 for flag in $(EXTRA_TARGET_FLAGS); do \
53611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53612 done; \
53613 (cd $(TARGET_SUBDIR)/examples && \
53614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53616 "RANLIB=$${RANLIB}" \
53617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53618 info) \
53619 || exit 1
53621 @endif target-examples
53623 .PHONY: maybe-dvi-target-examples dvi-target-examples
53624 maybe-dvi-target-examples:
53625 @if target-examples
53626 maybe-dvi-target-examples: dvi-target-examples
53628 dvi-target-examples: \
53629 configure-target-examples
53630 @: $(MAKE); $(unstage)
53631 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53632 r=`${PWD_COMMAND}`; export r; \
53633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53634 $(NORMAL_TARGET_EXPORTS) \
53635 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
53636 for flag in $(EXTRA_TARGET_FLAGS); do \
53637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53638 done; \
53639 (cd $(TARGET_SUBDIR)/examples && \
53640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53642 "RANLIB=$${RANLIB}" \
53643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53644 dvi) \
53645 || exit 1
53647 @endif target-examples
53649 .PHONY: maybe-pdf-target-examples pdf-target-examples
53650 maybe-pdf-target-examples:
53651 @if target-examples
53652 maybe-pdf-target-examples: pdf-target-examples
53654 pdf-target-examples: \
53655 configure-target-examples
53656 @: $(MAKE); $(unstage)
53657 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53658 r=`${PWD_COMMAND}`; export r; \
53659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53660 $(NORMAL_TARGET_EXPORTS) \
53661 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
53662 for flag in $(EXTRA_TARGET_FLAGS); do \
53663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53664 done; \
53665 (cd $(TARGET_SUBDIR)/examples && \
53666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53668 "RANLIB=$${RANLIB}" \
53669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53670 pdf) \
53671 || exit 1
53673 @endif target-examples
53675 .PHONY: maybe-html-target-examples html-target-examples
53676 maybe-html-target-examples:
53677 @if target-examples
53678 maybe-html-target-examples: html-target-examples
53680 html-target-examples: \
53681 configure-target-examples
53682 @: $(MAKE); $(unstage)
53683 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53684 r=`${PWD_COMMAND}`; export r; \
53685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53686 $(NORMAL_TARGET_EXPORTS) \
53687 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
53688 for flag in $(EXTRA_TARGET_FLAGS); do \
53689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53690 done; \
53691 (cd $(TARGET_SUBDIR)/examples && \
53692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53694 "RANLIB=$${RANLIB}" \
53695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53696 html) \
53697 || exit 1
53699 @endif target-examples
53701 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
53702 maybe-TAGS-target-examples:
53703 @if target-examples
53704 maybe-TAGS-target-examples: TAGS-target-examples
53706 TAGS-target-examples: \
53707 configure-target-examples
53708 @: $(MAKE); $(unstage)
53709 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53710 r=`${PWD_COMMAND}`; export r; \
53711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53712 $(NORMAL_TARGET_EXPORTS) \
53713 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
53714 for flag in $(EXTRA_TARGET_FLAGS); do \
53715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53716 done; \
53717 (cd $(TARGET_SUBDIR)/examples && \
53718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53720 "RANLIB=$${RANLIB}" \
53721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53722 TAGS) \
53723 || exit 1
53725 @endif target-examples
53727 .PHONY: maybe-install-info-target-examples install-info-target-examples
53728 maybe-install-info-target-examples:
53729 @if target-examples
53730 maybe-install-info-target-examples: install-info-target-examples
53732 install-info-target-examples: \
53733 configure-target-examples \
53734 info-target-examples
53735 @: $(MAKE); $(unstage)
53736 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53737 r=`${PWD_COMMAND}`; export r; \
53738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53739 $(NORMAL_TARGET_EXPORTS) \
53740 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
53741 for flag in $(EXTRA_TARGET_FLAGS); do \
53742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53743 done; \
53744 (cd $(TARGET_SUBDIR)/examples && \
53745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53747 "RANLIB=$${RANLIB}" \
53748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53749 install-info) \
53750 || exit 1
53752 @endif target-examples
53754 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
53755 maybe-install-pdf-target-examples:
53756 @if target-examples
53757 maybe-install-pdf-target-examples: install-pdf-target-examples
53759 install-pdf-target-examples: \
53760 configure-target-examples \
53761 pdf-target-examples
53762 @: $(MAKE); $(unstage)
53763 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53764 r=`${PWD_COMMAND}`; export r; \
53765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53766 $(NORMAL_TARGET_EXPORTS) \
53767 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
53768 for flag in $(EXTRA_TARGET_FLAGS); do \
53769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53770 done; \
53771 (cd $(TARGET_SUBDIR)/examples && \
53772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53774 "RANLIB=$${RANLIB}" \
53775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53776 install-pdf) \
53777 || exit 1
53779 @endif target-examples
53781 .PHONY: maybe-install-html-target-examples install-html-target-examples
53782 maybe-install-html-target-examples:
53783 @if target-examples
53784 maybe-install-html-target-examples: install-html-target-examples
53786 install-html-target-examples: \
53787 configure-target-examples \
53788 html-target-examples
53789 @: $(MAKE); $(unstage)
53790 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53791 r=`${PWD_COMMAND}`; export r; \
53792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53793 $(NORMAL_TARGET_EXPORTS) \
53794 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
53795 for flag in $(EXTRA_TARGET_FLAGS); do \
53796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53797 done; \
53798 (cd $(TARGET_SUBDIR)/examples && \
53799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53801 "RANLIB=$${RANLIB}" \
53802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53803 install-html) \
53804 || exit 1
53806 @endif target-examples
53808 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
53809 maybe-installcheck-target-examples:
53810 @if target-examples
53811 maybe-installcheck-target-examples: installcheck-target-examples
53813 installcheck-target-examples: \
53814 configure-target-examples
53815 @: $(MAKE); $(unstage)
53816 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53817 r=`${PWD_COMMAND}`; export r; \
53818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53819 $(NORMAL_TARGET_EXPORTS) \
53820 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
53821 for flag in $(EXTRA_TARGET_FLAGS); do \
53822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53823 done; \
53824 (cd $(TARGET_SUBDIR)/examples && \
53825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53827 "RANLIB=$${RANLIB}" \
53828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53829 installcheck) \
53830 || exit 1
53832 @endif target-examples
53834 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
53835 maybe-mostlyclean-target-examples:
53836 @if target-examples
53837 maybe-mostlyclean-target-examples: mostlyclean-target-examples
53839 mostlyclean-target-examples:
53840 @: $(MAKE); $(unstage)
53841 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53842 r=`${PWD_COMMAND}`; export r; \
53843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53844 $(NORMAL_TARGET_EXPORTS) \
53845 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
53846 for flag in $(EXTRA_TARGET_FLAGS); do \
53847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53848 done; \
53849 (cd $(TARGET_SUBDIR)/examples && \
53850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53852 "RANLIB=$${RANLIB}" \
53853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53854 mostlyclean) \
53855 || exit 1
53857 @endif target-examples
53859 .PHONY: maybe-clean-target-examples clean-target-examples
53860 maybe-clean-target-examples:
53861 @if target-examples
53862 maybe-clean-target-examples: clean-target-examples
53864 clean-target-examples:
53865 @: $(MAKE); $(unstage)
53866 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53867 r=`${PWD_COMMAND}`; export r; \
53868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53869 $(NORMAL_TARGET_EXPORTS) \
53870 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
53871 for flag in $(EXTRA_TARGET_FLAGS); do \
53872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53873 done; \
53874 (cd $(TARGET_SUBDIR)/examples && \
53875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53877 "RANLIB=$${RANLIB}" \
53878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53879 clean) \
53880 || exit 1
53882 @endif target-examples
53884 .PHONY: maybe-distclean-target-examples distclean-target-examples
53885 maybe-distclean-target-examples:
53886 @if target-examples
53887 maybe-distclean-target-examples: distclean-target-examples
53889 distclean-target-examples:
53890 @: $(MAKE); $(unstage)
53891 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53892 r=`${PWD_COMMAND}`; export r; \
53893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53894 $(NORMAL_TARGET_EXPORTS) \
53895 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
53896 for flag in $(EXTRA_TARGET_FLAGS); do \
53897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53898 done; \
53899 (cd $(TARGET_SUBDIR)/examples && \
53900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53902 "RANLIB=$${RANLIB}" \
53903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53904 distclean) \
53905 || exit 1
53907 @endif target-examples
53909 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
53910 maybe-maintainer-clean-target-examples:
53911 @if target-examples
53912 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
53914 maintainer-clean-target-examples:
53915 @: $(MAKE); $(unstage)
53916 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
53917 r=`${PWD_COMMAND}`; export r; \
53918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53919 $(NORMAL_TARGET_EXPORTS) \
53920 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
53921 for flag in $(EXTRA_TARGET_FLAGS); do \
53922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53923 done; \
53924 (cd $(TARGET_SUBDIR)/examples && \
53925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53927 "RANLIB=$${RANLIB}" \
53928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53929 maintainer-clean) \
53930 || exit 1
53932 @endif target-examples
53938 .PHONY: configure-target-libffi maybe-configure-target-libffi
53939 maybe-configure-target-libffi:
53940 @if gcc-bootstrap
53941 configure-target-libffi: stage_current
53942 @endif gcc-bootstrap
53943 @if target-libffi
53944 maybe-configure-target-libffi: configure-target-libffi
53945 configure-target-libffi:
53946 @: $(MAKE); $(unstage)
53947 @r=`${PWD_COMMAND}`; export r; \
53948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53949 echo "Checking multilib configuration for libffi..."; \
53950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
53951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
53952 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
53953 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
53954 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
53955 else \
53956 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
53957 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
53958 fi; \
53959 else \
53960 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
53961 fi; \
53962 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
53963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
53964 $(NORMAL_TARGET_EXPORTS) \
53965 echo Configuring in $(TARGET_SUBDIR)/libffi; \
53966 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
53967 case $(srcdir) in \
53968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53969 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
53970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53971 esac; \
53972 srcdiroption="--srcdir=$${topdir}/libffi"; \
53973 libsrcdir="$$s/libffi"; \
53974 rm -f no-such-file || : ; \
53975 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53977 --target=${target_alias} $${srcdiroption} \
53978 || exit 1
53979 @endif target-libffi
53985 .PHONY: all-target-libffi maybe-all-target-libffi
53986 maybe-all-target-libffi:
53987 @if gcc-bootstrap
53988 all-target-libffi: stage_current
53989 @endif gcc-bootstrap
53990 @if target-libffi
53991 TARGET-target-libffi=all
53992 maybe-all-target-libffi: all-target-libffi
53993 all-target-libffi: configure-target-libffi
53994 @: $(MAKE); $(unstage)
53995 @r=`${PWD_COMMAND}`; export r; \
53996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53997 $(NORMAL_TARGET_EXPORTS) \
53998 (cd $(TARGET_SUBDIR)/libffi && \
53999 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54000 $(TARGET-target-libffi))
54001 @endif target-libffi
54007 .PHONY: check-target-libffi maybe-check-target-libffi
54008 maybe-check-target-libffi:
54009 @if target-libffi
54010 maybe-check-target-libffi: check-target-libffi
54012 check-target-libffi:
54013 @: $(MAKE); $(unstage)
54014 @r=`${PWD_COMMAND}`; export r; \
54015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54016 $(NORMAL_TARGET_EXPORTS) \
54017 (cd $(TARGET_SUBDIR)/libffi && \
54018 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54020 @endif target-libffi
54022 .PHONY: install-target-libffi maybe-install-target-libffi
54023 maybe-install-target-libffi:
54024 @if target-libffi
54025 maybe-install-target-libffi: install-target-libffi
54027 install-target-libffi: installdirs
54028 @: $(MAKE); $(unstage)
54029 @r=`${PWD_COMMAND}`; export r; \
54030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54031 $(NORMAL_TARGET_EXPORTS) \
54032 (cd $(TARGET_SUBDIR)/libffi && \
54033 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54035 @endif target-libffi
54037 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
54038 maybe-install-strip-target-libffi:
54039 @if target-libffi
54040 maybe-install-strip-target-libffi: install-strip-target-libffi
54042 install-strip-target-libffi: installdirs
54043 @: $(MAKE); $(unstage)
54044 @r=`${PWD_COMMAND}`; export r; \
54045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54046 $(NORMAL_TARGET_EXPORTS) \
54047 (cd $(TARGET_SUBDIR)/libffi && \
54048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54050 @endif target-libffi
54052 # Other targets (info, dvi, pdf, etc.)
54054 .PHONY: maybe-info-target-libffi info-target-libffi
54055 maybe-info-target-libffi:
54056 @if target-libffi
54057 maybe-info-target-libffi: info-target-libffi
54059 info-target-libffi: \
54060 configure-target-libffi
54061 @: $(MAKE); $(unstage)
54062 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54063 r=`${PWD_COMMAND}`; export r; \
54064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54065 $(NORMAL_TARGET_EXPORTS) \
54066 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
54067 for flag in $(EXTRA_TARGET_FLAGS); do \
54068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54069 done; \
54070 (cd $(TARGET_SUBDIR)/libffi && \
54071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54073 "RANLIB=$${RANLIB}" \
54074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54075 info) \
54076 || exit 1
54078 @endif target-libffi
54080 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
54081 maybe-dvi-target-libffi:
54082 @if target-libffi
54083 maybe-dvi-target-libffi: dvi-target-libffi
54085 dvi-target-libffi: \
54086 configure-target-libffi
54087 @: $(MAKE); $(unstage)
54088 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54089 r=`${PWD_COMMAND}`; export r; \
54090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54091 $(NORMAL_TARGET_EXPORTS) \
54092 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
54093 for flag in $(EXTRA_TARGET_FLAGS); do \
54094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54095 done; \
54096 (cd $(TARGET_SUBDIR)/libffi && \
54097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54099 "RANLIB=$${RANLIB}" \
54100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54101 dvi) \
54102 || exit 1
54104 @endif target-libffi
54106 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
54107 maybe-pdf-target-libffi:
54108 @if target-libffi
54109 maybe-pdf-target-libffi: pdf-target-libffi
54111 pdf-target-libffi: \
54112 configure-target-libffi
54113 @: $(MAKE); $(unstage)
54114 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54115 r=`${PWD_COMMAND}`; export r; \
54116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54117 $(NORMAL_TARGET_EXPORTS) \
54118 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
54119 for flag in $(EXTRA_TARGET_FLAGS); do \
54120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54121 done; \
54122 (cd $(TARGET_SUBDIR)/libffi && \
54123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54125 "RANLIB=$${RANLIB}" \
54126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54127 pdf) \
54128 || exit 1
54130 @endif target-libffi
54132 .PHONY: maybe-html-target-libffi html-target-libffi
54133 maybe-html-target-libffi:
54134 @if target-libffi
54135 maybe-html-target-libffi: html-target-libffi
54137 html-target-libffi: \
54138 configure-target-libffi
54139 @: $(MAKE); $(unstage)
54140 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54141 r=`${PWD_COMMAND}`; export r; \
54142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54143 $(NORMAL_TARGET_EXPORTS) \
54144 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
54145 for flag in $(EXTRA_TARGET_FLAGS); do \
54146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54147 done; \
54148 (cd $(TARGET_SUBDIR)/libffi && \
54149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54151 "RANLIB=$${RANLIB}" \
54152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54153 html) \
54154 || exit 1
54156 @endif target-libffi
54158 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
54159 maybe-TAGS-target-libffi:
54160 @if target-libffi
54161 maybe-TAGS-target-libffi: TAGS-target-libffi
54163 TAGS-target-libffi: \
54164 configure-target-libffi
54165 @: $(MAKE); $(unstage)
54166 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54167 r=`${PWD_COMMAND}`; export r; \
54168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54169 $(NORMAL_TARGET_EXPORTS) \
54170 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
54171 for flag in $(EXTRA_TARGET_FLAGS); do \
54172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54173 done; \
54174 (cd $(TARGET_SUBDIR)/libffi && \
54175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54177 "RANLIB=$${RANLIB}" \
54178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54179 TAGS) \
54180 || exit 1
54182 @endif target-libffi
54184 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
54185 maybe-install-info-target-libffi:
54186 @if target-libffi
54187 maybe-install-info-target-libffi: install-info-target-libffi
54189 install-info-target-libffi: \
54190 configure-target-libffi \
54191 info-target-libffi
54192 @: $(MAKE); $(unstage)
54193 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54194 r=`${PWD_COMMAND}`; export r; \
54195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54196 $(NORMAL_TARGET_EXPORTS) \
54197 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
54198 for flag in $(EXTRA_TARGET_FLAGS); do \
54199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54200 done; \
54201 (cd $(TARGET_SUBDIR)/libffi && \
54202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54204 "RANLIB=$${RANLIB}" \
54205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54206 install-info) \
54207 || exit 1
54209 @endif target-libffi
54211 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
54212 maybe-install-pdf-target-libffi:
54213 @if target-libffi
54214 maybe-install-pdf-target-libffi: install-pdf-target-libffi
54216 install-pdf-target-libffi: \
54217 configure-target-libffi \
54218 pdf-target-libffi
54219 @: $(MAKE); $(unstage)
54220 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54221 r=`${PWD_COMMAND}`; export r; \
54222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54223 $(NORMAL_TARGET_EXPORTS) \
54224 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
54225 for flag in $(EXTRA_TARGET_FLAGS); do \
54226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54227 done; \
54228 (cd $(TARGET_SUBDIR)/libffi && \
54229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54231 "RANLIB=$${RANLIB}" \
54232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54233 install-pdf) \
54234 || exit 1
54236 @endif target-libffi
54238 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
54239 maybe-install-html-target-libffi:
54240 @if target-libffi
54241 maybe-install-html-target-libffi: install-html-target-libffi
54243 install-html-target-libffi: \
54244 configure-target-libffi \
54245 html-target-libffi
54246 @: $(MAKE); $(unstage)
54247 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54248 r=`${PWD_COMMAND}`; export r; \
54249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54250 $(NORMAL_TARGET_EXPORTS) \
54251 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
54252 for flag in $(EXTRA_TARGET_FLAGS); do \
54253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54254 done; \
54255 (cd $(TARGET_SUBDIR)/libffi && \
54256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54258 "RANLIB=$${RANLIB}" \
54259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54260 install-html) \
54261 || exit 1
54263 @endif target-libffi
54265 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
54266 maybe-installcheck-target-libffi:
54267 @if target-libffi
54268 maybe-installcheck-target-libffi: installcheck-target-libffi
54270 installcheck-target-libffi: \
54271 configure-target-libffi
54272 @: $(MAKE); $(unstage)
54273 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54274 r=`${PWD_COMMAND}`; export r; \
54275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54276 $(NORMAL_TARGET_EXPORTS) \
54277 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
54278 for flag in $(EXTRA_TARGET_FLAGS); do \
54279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54280 done; \
54281 (cd $(TARGET_SUBDIR)/libffi && \
54282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54284 "RANLIB=$${RANLIB}" \
54285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54286 installcheck) \
54287 || exit 1
54289 @endif target-libffi
54291 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
54292 maybe-mostlyclean-target-libffi:
54293 @if target-libffi
54294 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
54296 mostlyclean-target-libffi:
54297 @: $(MAKE); $(unstage)
54298 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54299 r=`${PWD_COMMAND}`; export r; \
54300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54301 $(NORMAL_TARGET_EXPORTS) \
54302 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
54303 for flag in $(EXTRA_TARGET_FLAGS); do \
54304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54305 done; \
54306 (cd $(TARGET_SUBDIR)/libffi && \
54307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54309 "RANLIB=$${RANLIB}" \
54310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54311 mostlyclean) \
54312 || exit 1
54314 @endif target-libffi
54316 .PHONY: maybe-clean-target-libffi clean-target-libffi
54317 maybe-clean-target-libffi:
54318 @if target-libffi
54319 maybe-clean-target-libffi: clean-target-libffi
54321 clean-target-libffi:
54322 @: $(MAKE); $(unstage)
54323 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54324 r=`${PWD_COMMAND}`; export r; \
54325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54326 $(NORMAL_TARGET_EXPORTS) \
54327 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
54328 for flag in $(EXTRA_TARGET_FLAGS); do \
54329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54330 done; \
54331 (cd $(TARGET_SUBDIR)/libffi && \
54332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54334 "RANLIB=$${RANLIB}" \
54335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54336 clean) \
54337 || exit 1
54339 @endif target-libffi
54341 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
54342 maybe-distclean-target-libffi:
54343 @if target-libffi
54344 maybe-distclean-target-libffi: distclean-target-libffi
54346 distclean-target-libffi:
54347 @: $(MAKE); $(unstage)
54348 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54349 r=`${PWD_COMMAND}`; export r; \
54350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54351 $(NORMAL_TARGET_EXPORTS) \
54352 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
54353 for flag in $(EXTRA_TARGET_FLAGS); do \
54354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54355 done; \
54356 (cd $(TARGET_SUBDIR)/libffi && \
54357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54359 "RANLIB=$${RANLIB}" \
54360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54361 distclean) \
54362 || exit 1
54364 @endif target-libffi
54366 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
54367 maybe-maintainer-clean-target-libffi:
54368 @if target-libffi
54369 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
54371 maintainer-clean-target-libffi:
54372 @: $(MAKE); $(unstage)
54373 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
54374 r=`${PWD_COMMAND}`; export r; \
54375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54376 $(NORMAL_TARGET_EXPORTS) \
54377 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
54378 for flag in $(EXTRA_TARGET_FLAGS); do \
54379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54380 done; \
54381 (cd $(TARGET_SUBDIR)/libffi && \
54382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54384 "RANLIB=$${RANLIB}" \
54385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54386 maintainer-clean) \
54387 || exit 1
54389 @endif target-libffi
54395 .PHONY: configure-target-libjava maybe-configure-target-libjava
54396 maybe-configure-target-libjava:
54397 @if gcc-bootstrap
54398 configure-target-libjava: stage_current
54399 @endif gcc-bootstrap
54400 @if target-libjava
54401 maybe-configure-target-libjava: configure-target-libjava
54402 configure-target-libjava:
54403 @: $(MAKE); $(unstage)
54404 @r=`${PWD_COMMAND}`; export r; \
54405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54406 echo "Checking multilib configuration for libjava..."; \
54407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
54408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
54409 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
54410 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
54411 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
54412 else \
54413 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
54414 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
54415 fi; \
54416 else \
54417 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
54418 fi; \
54419 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
54420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
54421 $(RAW_CXX_TARGET_EXPORTS) \
54422 echo Configuring in $(TARGET_SUBDIR)/libjava; \
54423 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
54424 case $(srcdir) in \
54425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54426 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
54427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54428 esac; \
54429 srcdiroption="--srcdir=$${topdir}/libjava"; \
54430 libsrcdir="$$s/libjava"; \
54431 rm -f no-such-file || : ; \
54432 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54434 --target=${target_alias} $${srcdiroption} \
54435 || exit 1
54436 @endif target-libjava
54442 .PHONY: all-target-libjava maybe-all-target-libjava
54443 maybe-all-target-libjava:
54444 @if gcc-bootstrap
54445 all-target-libjava: stage_current
54446 @endif gcc-bootstrap
54447 @if target-libjava
54448 TARGET-target-libjava=all
54449 maybe-all-target-libjava: all-target-libjava
54450 all-target-libjava: configure-target-libjava
54451 @: $(MAKE); $(unstage)
54452 @r=`${PWD_COMMAND}`; export r; \
54453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54454 $(RAW_CXX_TARGET_EXPORTS) \
54455 (cd $(TARGET_SUBDIR)/libjava && \
54456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
54457 $(TARGET-target-libjava))
54458 @endif target-libjava
54464 .PHONY: check-target-libjava maybe-check-target-libjava
54465 maybe-check-target-libjava:
54466 @if target-libjava
54467 maybe-check-target-libjava: check-target-libjava
54469 check-target-libjava:
54470 @: $(MAKE); $(unstage)
54471 @r=`${PWD_COMMAND}`; export r; \
54472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54473 $(RAW_CXX_TARGET_EXPORTS) \
54474 (cd $(TARGET_SUBDIR)/libjava && \
54475 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
54477 @endif target-libjava
54479 .PHONY: install-target-libjava maybe-install-target-libjava
54480 maybe-install-target-libjava:
54481 @if target-libjava
54482 maybe-install-target-libjava: install-target-libjava
54484 install-target-libjava: installdirs
54485 @: $(MAKE); $(unstage)
54486 @r=`${PWD_COMMAND}`; export r; \
54487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54488 $(RAW_CXX_TARGET_EXPORTS) \
54489 (cd $(TARGET_SUBDIR)/libjava && \
54490 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54492 @endif target-libjava
54494 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
54495 maybe-install-strip-target-libjava:
54496 @if target-libjava
54497 maybe-install-strip-target-libjava: install-strip-target-libjava
54499 install-strip-target-libjava: installdirs
54500 @: $(MAKE); $(unstage)
54501 @r=`${PWD_COMMAND}`; export r; \
54502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54503 $(RAW_CXX_TARGET_EXPORTS) \
54504 (cd $(TARGET_SUBDIR)/libjava && \
54505 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54507 @endif target-libjava
54509 # Other targets (info, dvi, pdf, etc.)
54511 .PHONY: maybe-info-target-libjava info-target-libjava
54512 maybe-info-target-libjava:
54513 @if target-libjava
54514 maybe-info-target-libjava: info-target-libjava
54516 info-target-libjava: \
54517 configure-target-libjava
54518 @: $(MAKE); $(unstage)
54519 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54520 r=`${PWD_COMMAND}`; export r; \
54521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54522 $(RAW_CXX_TARGET_EXPORTS) \
54523 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
54524 for flag in $(EXTRA_TARGET_FLAGS); do \
54525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54526 done; \
54527 (cd $(TARGET_SUBDIR)/libjava && \
54528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54530 "RANLIB=$${RANLIB}" \
54531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54532 info) \
54533 || exit 1
54535 @endif target-libjava
54537 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
54538 maybe-dvi-target-libjava:
54539 @if target-libjava
54540 maybe-dvi-target-libjava: dvi-target-libjava
54542 dvi-target-libjava: \
54543 configure-target-libjava
54544 @: $(MAKE); $(unstage)
54545 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54546 r=`${PWD_COMMAND}`; export r; \
54547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54548 $(RAW_CXX_TARGET_EXPORTS) \
54549 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
54550 for flag in $(EXTRA_TARGET_FLAGS); do \
54551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54552 done; \
54553 (cd $(TARGET_SUBDIR)/libjava && \
54554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54556 "RANLIB=$${RANLIB}" \
54557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54558 dvi) \
54559 || exit 1
54561 @endif target-libjava
54563 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
54564 maybe-pdf-target-libjava:
54565 @if target-libjava
54566 maybe-pdf-target-libjava: pdf-target-libjava
54568 pdf-target-libjava: \
54569 configure-target-libjava
54570 @: $(MAKE); $(unstage)
54571 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54572 r=`${PWD_COMMAND}`; export r; \
54573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54574 $(RAW_CXX_TARGET_EXPORTS) \
54575 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
54576 for flag in $(EXTRA_TARGET_FLAGS); do \
54577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54578 done; \
54579 (cd $(TARGET_SUBDIR)/libjava && \
54580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54582 "RANLIB=$${RANLIB}" \
54583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54584 pdf) \
54585 || exit 1
54587 @endif target-libjava
54589 .PHONY: maybe-html-target-libjava html-target-libjava
54590 maybe-html-target-libjava:
54591 @if target-libjava
54592 maybe-html-target-libjava: html-target-libjava
54594 html-target-libjava: \
54595 configure-target-libjava
54596 @: $(MAKE); $(unstage)
54597 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54598 r=`${PWD_COMMAND}`; export r; \
54599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54600 $(RAW_CXX_TARGET_EXPORTS) \
54601 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
54602 for flag in $(EXTRA_TARGET_FLAGS); do \
54603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54604 done; \
54605 (cd $(TARGET_SUBDIR)/libjava && \
54606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54608 "RANLIB=$${RANLIB}" \
54609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54610 html) \
54611 || exit 1
54613 @endif target-libjava
54615 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
54616 maybe-TAGS-target-libjava:
54617 @if target-libjava
54618 maybe-TAGS-target-libjava: TAGS-target-libjava
54620 TAGS-target-libjava: \
54621 configure-target-libjava
54622 @: $(MAKE); $(unstage)
54623 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54624 r=`${PWD_COMMAND}`; export r; \
54625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54626 $(RAW_CXX_TARGET_EXPORTS) \
54627 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
54628 for flag in $(EXTRA_TARGET_FLAGS); do \
54629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54630 done; \
54631 (cd $(TARGET_SUBDIR)/libjava && \
54632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54634 "RANLIB=$${RANLIB}" \
54635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54636 TAGS) \
54637 || exit 1
54639 @endif target-libjava
54641 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
54642 maybe-install-info-target-libjava:
54643 @if target-libjava
54644 maybe-install-info-target-libjava: install-info-target-libjava
54646 install-info-target-libjava: \
54647 configure-target-libjava \
54648 info-target-libjava
54649 @: $(MAKE); $(unstage)
54650 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54651 r=`${PWD_COMMAND}`; export r; \
54652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54653 $(RAW_CXX_TARGET_EXPORTS) \
54654 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
54655 for flag in $(EXTRA_TARGET_FLAGS); do \
54656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54657 done; \
54658 (cd $(TARGET_SUBDIR)/libjava && \
54659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54661 "RANLIB=$${RANLIB}" \
54662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54663 install-info) \
54664 || exit 1
54666 @endif target-libjava
54668 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
54669 maybe-install-pdf-target-libjava:
54670 @if target-libjava
54671 maybe-install-pdf-target-libjava: install-pdf-target-libjava
54673 install-pdf-target-libjava: \
54674 configure-target-libjava \
54675 pdf-target-libjava
54676 @: $(MAKE); $(unstage)
54677 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54678 r=`${PWD_COMMAND}`; export r; \
54679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54680 $(RAW_CXX_TARGET_EXPORTS) \
54681 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
54682 for flag in $(EXTRA_TARGET_FLAGS); do \
54683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54684 done; \
54685 (cd $(TARGET_SUBDIR)/libjava && \
54686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54688 "RANLIB=$${RANLIB}" \
54689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54690 install-pdf) \
54691 || exit 1
54693 @endif target-libjava
54695 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
54696 maybe-install-html-target-libjava:
54697 @if target-libjava
54698 maybe-install-html-target-libjava: install-html-target-libjava
54700 install-html-target-libjava: \
54701 configure-target-libjava \
54702 html-target-libjava
54703 @: $(MAKE); $(unstage)
54704 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54705 r=`${PWD_COMMAND}`; export r; \
54706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54707 $(RAW_CXX_TARGET_EXPORTS) \
54708 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
54709 for flag in $(EXTRA_TARGET_FLAGS); do \
54710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54711 done; \
54712 (cd $(TARGET_SUBDIR)/libjava && \
54713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54715 "RANLIB=$${RANLIB}" \
54716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54717 install-html) \
54718 || exit 1
54720 @endif target-libjava
54722 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
54723 maybe-installcheck-target-libjava:
54724 @if target-libjava
54725 maybe-installcheck-target-libjava: installcheck-target-libjava
54727 installcheck-target-libjava: \
54728 configure-target-libjava
54729 @: $(MAKE); $(unstage)
54730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54731 r=`${PWD_COMMAND}`; export r; \
54732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54733 $(RAW_CXX_TARGET_EXPORTS) \
54734 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
54735 for flag in $(EXTRA_TARGET_FLAGS); do \
54736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54737 done; \
54738 (cd $(TARGET_SUBDIR)/libjava && \
54739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54741 "RANLIB=$${RANLIB}" \
54742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54743 installcheck) \
54744 || exit 1
54746 @endif target-libjava
54748 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
54749 maybe-mostlyclean-target-libjava:
54750 @if target-libjava
54751 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
54753 mostlyclean-target-libjava:
54754 @: $(MAKE); $(unstage)
54755 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54756 r=`${PWD_COMMAND}`; export r; \
54757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54758 $(RAW_CXX_TARGET_EXPORTS) \
54759 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
54760 for flag in $(EXTRA_TARGET_FLAGS); do \
54761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54762 done; \
54763 (cd $(TARGET_SUBDIR)/libjava && \
54764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54766 "RANLIB=$${RANLIB}" \
54767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54768 mostlyclean) \
54769 || exit 1
54771 @endif target-libjava
54773 .PHONY: maybe-clean-target-libjava clean-target-libjava
54774 maybe-clean-target-libjava:
54775 @if target-libjava
54776 maybe-clean-target-libjava: clean-target-libjava
54778 clean-target-libjava:
54779 @: $(MAKE); $(unstage)
54780 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54781 r=`${PWD_COMMAND}`; export r; \
54782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54783 $(RAW_CXX_TARGET_EXPORTS) \
54784 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
54785 for flag in $(EXTRA_TARGET_FLAGS); do \
54786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54787 done; \
54788 (cd $(TARGET_SUBDIR)/libjava && \
54789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54791 "RANLIB=$${RANLIB}" \
54792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54793 clean) \
54794 || exit 1
54796 @endif target-libjava
54798 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
54799 maybe-distclean-target-libjava:
54800 @if target-libjava
54801 maybe-distclean-target-libjava: distclean-target-libjava
54803 distclean-target-libjava:
54804 @: $(MAKE); $(unstage)
54805 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54806 r=`${PWD_COMMAND}`; export r; \
54807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54808 $(RAW_CXX_TARGET_EXPORTS) \
54809 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
54810 for flag in $(EXTRA_TARGET_FLAGS); do \
54811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54812 done; \
54813 (cd $(TARGET_SUBDIR)/libjava && \
54814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54816 "RANLIB=$${RANLIB}" \
54817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54818 distclean) \
54819 || exit 1
54821 @endif target-libjava
54823 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
54824 maybe-maintainer-clean-target-libjava:
54825 @if target-libjava
54826 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
54828 maintainer-clean-target-libjava:
54829 @: $(MAKE); $(unstage)
54830 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
54831 r=`${PWD_COMMAND}`; export r; \
54832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54833 $(RAW_CXX_TARGET_EXPORTS) \
54834 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
54835 for flag in $(EXTRA_TARGET_FLAGS); do \
54836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54837 done; \
54838 (cd $(TARGET_SUBDIR)/libjava && \
54839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54841 "RANLIB=$${RANLIB}" \
54842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54843 maintainer-clean) \
54844 || exit 1
54846 @endif target-libjava
54852 .PHONY: configure-target-zlib maybe-configure-target-zlib
54853 maybe-configure-target-zlib:
54854 @if gcc-bootstrap
54855 configure-target-zlib: stage_current
54856 @endif gcc-bootstrap
54857 @if target-zlib
54858 maybe-configure-target-zlib: configure-target-zlib
54859 configure-target-zlib:
54860 @: $(MAKE); $(unstage)
54861 @r=`${PWD_COMMAND}`; export r; \
54862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54863 echo "Checking multilib configuration for zlib..."; \
54864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
54865 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
54866 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
54867 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
54868 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
54869 else \
54870 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
54871 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
54872 fi; \
54873 else \
54874 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
54875 fi; \
54876 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
54877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
54878 $(NORMAL_TARGET_EXPORTS) \
54879 echo Configuring in $(TARGET_SUBDIR)/zlib; \
54880 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
54881 case $(srcdir) in \
54882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54883 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
54884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54885 esac; \
54886 srcdiroption="--srcdir=$${topdir}/zlib"; \
54887 libsrcdir="$$s/zlib"; \
54888 rm -f no-such-file || : ; \
54889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54890 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54891 --target=${target_alias} $${srcdiroption} \
54892 || exit 1
54893 @endif target-zlib
54899 .PHONY: all-target-zlib maybe-all-target-zlib
54900 maybe-all-target-zlib:
54901 @if gcc-bootstrap
54902 all-target-zlib: stage_current
54903 @endif gcc-bootstrap
54904 @if target-zlib
54905 TARGET-target-zlib=all
54906 maybe-all-target-zlib: all-target-zlib
54907 all-target-zlib: configure-target-zlib
54908 @: $(MAKE); $(unstage)
54909 @r=`${PWD_COMMAND}`; export r; \
54910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54911 $(NORMAL_TARGET_EXPORTS) \
54912 (cd $(TARGET_SUBDIR)/zlib && \
54913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54914 $(TARGET-target-zlib))
54915 @endif target-zlib
54921 .PHONY: check-target-zlib maybe-check-target-zlib
54922 maybe-check-target-zlib:
54923 @if target-zlib
54924 maybe-check-target-zlib: check-target-zlib
54926 check-target-zlib:
54927 @: $(MAKE); $(unstage)
54928 @r=`${PWD_COMMAND}`; export r; \
54929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54930 $(NORMAL_TARGET_EXPORTS) \
54931 (cd $(TARGET_SUBDIR)/zlib && \
54932 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54934 @endif target-zlib
54936 .PHONY: install-target-zlib maybe-install-target-zlib
54937 maybe-install-target-zlib:
54938 @if target-zlib
54939 maybe-install-target-zlib: install-target-zlib
54941 install-target-zlib: installdirs
54942 @: $(MAKE); $(unstage)
54943 @r=`${PWD_COMMAND}`; export r; \
54944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54945 $(NORMAL_TARGET_EXPORTS) \
54946 (cd $(TARGET_SUBDIR)/zlib && \
54947 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54949 @endif target-zlib
54951 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
54952 maybe-install-strip-target-zlib:
54953 @if target-zlib
54954 maybe-install-strip-target-zlib: install-strip-target-zlib
54956 install-strip-target-zlib: installdirs
54957 @: $(MAKE); $(unstage)
54958 @r=`${PWD_COMMAND}`; export r; \
54959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54960 $(NORMAL_TARGET_EXPORTS) \
54961 (cd $(TARGET_SUBDIR)/zlib && \
54962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54964 @endif target-zlib
54966 # Other targets (info, dvi, pdf, etc.)
54968 .PHONY: maybe-info-target-zlib info-target-zlib
54969 maybe-info-target-zlib:
54970 @if target-zlib
54971 maybe-info-target-zlib: info-target-zlib
54973 info-target-zlib: \
54974 configure-target-zlib
54975 @: $(MAKE); $(unstage)
54976 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
54977 r=`${PWD_COMMAND}`; export r; \
54978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54979 $(NORMAL_TARGET_EXPORTS) \
54980 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
54981 for flag in $(EXTRA_TARGET_FLAGS); do \
54982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54983 done; \
54984 (cd $(TARGET_SUBDIR)/zlib && \
54985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54987 "RANLIB=$${RANLIB}" \
54988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54989 info) \
54990 || exit 1
54992 @endif target-zlib
54994 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
54995 maybe-dvi-target-zlib:
54996 @if target-zlib
54997 maybe-dvi-target-zlib: dvi-target-zlib
54999 dvi-target-zlib: \
55000 configure-target-zlib
55001 @: $(MAKE); $(unstage)
55002 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55003 r=`${PWD_COMMAND}`; export r; \
55004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55005 $(NORMAL_TARGET_EXPORTS) \
55006 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
55007 for flag in $(EXTRA_TARGET_FLAGS); do \
55008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55009 done; \
55010 (cd $(TARGET_SUBDIR)/zlib && \
55011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55013 "RANLIB=$${RANLIB}" \
55014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55015 dvi) \
55016 || exit 1
55018 @endif target-zlib
55020 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
55021 maybe-pdf-target-zlib:
55022 @if target-zlib
55023 maybe-pdf-target-zlib: pdf-target-zlib
55025 pdf-target-zlib: \
55026 configure-target-zlib
55027 @: $(MAKE); $(unstage)
55028 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55029 r=`${PWD_COMMAND}`; export r; \
55030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55031 $(NORMAL_TARGET_EXPORTS) \
55032 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
55033 for flag in $(EXTRA_TARGET_FLAGS); do \
55034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55035 done; \
55036 (cd $(TARGET_SUBDIR)/zlib && \
55037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55039 "RANLIB=$${RANLIB}" \
55040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55041 pdf) \
55042 || exit 1
55044 @endif target-zlib
55046 .PHONY: maybe-html-target-zlib html-target-zlib
55047 maybe-html-target-zlib:
55048 @if target-zlib
55049 maybe-html-target-zlib: html-target-zlib
55051 html-target-zlib: \
55052 configure-target-zlib
55053 @: $(MAKE); $(unstage)
55054 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55055 r=`${PWD_COMMAND}`; export r; \
55056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55057 $(NORMAL_TARGET_EXPORTS) \
55058 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
55059 for flag in $(EXTRA_TARGET_FLAGS); do \
55060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55061 done; \
55062 (cd $(TARGET_SUBDIR)/zlib && \
55063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55065 "RANLIB=$${RANLIB}" \
55066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55067 html) \
55068 || exit 1
55070 @endif target-zlib
55072 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
55073 maybe-TAGS-target-zlib:
55074 @if target-zlib
55075 maybe-TAGS-target-zlib: TAGS-target-zlib
55077 TAGS-target-zlib: \
55078 configure-target-zlib
55079 @: $(MAKE); $(unstage)
55080 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55081 r=`${PWD_COMMAND}`; export r; \
55082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55083 $(NORMAL_TARGET_EXPORTS) \
55084 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
55085 for flag in $(EXTRA_TARGET_FLAGS); do \
55086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55087 done; \
55088 (cd $(TARGET_SUBDIR)/zlib && \
55089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55091 "RANLIB=$${RANLIB}" \
55092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55093 TAGS) \
55094 || exit 1
55096 @endif target-zlib
55098 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
55099 maybe-install-info-target-zlib:
55100 @if target-zlib
55101 maybe-install-info-target-zlib: install-info-target-zlib
55103 install-info-target-zlib: \
55104 configure-target-zlib \
55105 info-target-zlib
55106 @: $(MAKE); $(unstage)
55107 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55108 r=`${PWD_COMMAND}`; export r; \
55109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55110 $(NORMAL_TARGET_EXPORTS) \
55111 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
55112 for flag in $(EXTRA_TARGET_FLAGS); do \
55113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55114 done; \
55115 (cd $(TARGET_SUBDIR)/zlib && \
55116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55118 "RANLIB=$${RANLIB}" \
55119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55120 install-info) \
55121 || exit 1
55123 @endif target-zlib
55125 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
55126 maybe-install-pdf-target-zlib:
55127 @if target-zlib
55128 maybe-install-pdf-target-zlib: install-pdf-target-zlib
55130 install-pdf-target-zlib: \
55131 configure-target-zlib \
55132 pdf-target-zlib
55133 @: $(MAKE); $(unstage)
55134 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55135 r=`${PWD_COMMAND}`; export r; \
55136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55137 $(NORMAL_TARGET_EXPORTS) \
55138 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
55139 for flag in $(EXTRA_TARGET_FLAGS); do \
55140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55141 done; \
55142 (cd $(TARGET_SUBDIR)/zlib && \
55143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55145 "RANLIB=$${RANLIB}" \
55146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55147 install-pdf) \
55148 || exit 1
55150 @endif target-zlib
55152 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
55153 maybe-install-html-target-zlib:
55154 @if target-zlib
55155 maybe-install-html-target-zlib: install-html-target-zlib
55157 install-html-target-zlib: \
55158 configure-target-zlib \
55159 html-target-zlib
55160 @: $(MAKE); $(unstage)
55161 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55162 r=`${PWD_COMMAND}`; export r; \
55163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55164 $(NORMAL_TARGET_EXPORTS) \
55165 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
55166 for flag in $(EXTRA_TARGET_FLAGS); do \
55167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55168 done; \
55169 (cd $(TARGET_SUBDIR)/zlib && \
55170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55172 "RANLIB=$${RANLIB}" \
55173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55174 install-html) \
55175 || exit 1
55177 @endif target-zlib
55179 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
55180 maybe-installcheck-target-zlib:
55181 @if target-zlib
55182 maybe-installcheck-target-zlib: installcheck-target-zlib
55184 installcheck-target-zlib: \
55185 configure-target-zlib
55186 @: $(MAKE); $(unstage)
55187 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55188 r=`${PWD_COMMAND}`; export r; \
55189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55190 $(NORMAL_TARGET_EXPORTS) \
55191 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
55192 for flag in $(EXTRA_TARGET_FLAGS); do \
55193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55194 done; \
55195 (cd $(TARGET_SUBDIR)/zlib && \
55196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55198 "RANLIB=$${RANLIB}" \
55199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55200 installcheck) \
55201 || exit 1
55203 @endif target-zlib
55205 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
55206 maybe-mostlyclean-target-zlib:
55207 @if target-zlib
55208 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
55210 mostlyclean-target-zlib:
55211 @: $(MAKE); $(unstage)
55212 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55213 r=`${PWD_COMMAND}`; export r; \
55214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55215 $(NORMAL_TARGET_EXPORTS) \
55216 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
55217 for flag in $(EXTRA_TARGET_FLAGS); do \
55218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55219 done; \
55220 (cd $(TARGET_SUBDIR)/zlib && \
55221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55223 "RANLIB=$${RANLIB}" \
55224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55225 mostlyclean) \
55226 || exit 1
55228 @endif target-zlib
55230 .PHONY: maybe-clean-target-zlib clean-target-zlib
55231 maybe-clean-target-zlib:
55232 @if target-zlib
55233 maybe-clean-target-zlib: clean-target-zlib
55235 clean-target-zlib:
55236 @: $(MAKE); $(unstage)
55237 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55238 r=`${PWD_COMMAND}`; export r; \
55239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55240 $(NORMAL_TARGET_EXPORTS) \
55241 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
55242 for flag in $(EXTRA_TARGET_FLAGS); do \
55243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55244 done; \
55245 (cd $(TARGET_SUBDIR)/zlib && \
55246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55248 "RANLIB=$${RANLIB}" \
55249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55250 clean) \
55251 || exit 1
55253 @endif target-zlib
55255 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
55256 maybe-distclean-target-zlib:
55257 @if target-zlib
55258 maybe-distclean-target-zlib: distclean-target-zlib
55260 distclean-target-zlib:
55261 @: $(MAKE); $(unstage)
55262 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55263 r=`${PWD_COMMAND}`; export r; \
55264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55265 $(NORMAL_TARGET_EXPORTS) \
55266 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
55267 for flag in $(EXTRA_TARGET_FLAGS); do \
55268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55269 done; \
55270 (cd $(TARGET_SUBDIR)/zlib && \
55271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55273 "RANLIB=$${RANLIB}" \
55274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55275 distclean) \
55276 || exit 1
55278 @endif target-zlib
55280 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
55281 maybe-maintainer-clean-target-zlib:
55282 @if target-zlib
55283 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
55285 maintainer-clean-target-zlib:
55286 @: $(MAKE); $(unstage)
55287 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
55288 r=`${PWD_COMMAND}`; export r; \
55289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55290 $(NORMAL_TARGET_EXPORTS) \
55291 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
55292 for flag in $(EXTRA_TARGET_FLAGS); do \
55293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55294 done; \
55295 (cd $(TARGET_SUBDIR)/zlib && \
55296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55298 "RANLIB=$${RANLIB}" \
55299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55300 maintainer-clean) \
55301 || exit 1
55303 @endif target-zlib
55309 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
55310 maybe-configure-target-boehm-gc:
55311 @if gcc-bootstrap
55312 configure-target-boehm-gc: stage_current
55313 @endif gcc-bootstrap
55314 @if target-boehm-gc
55315 maybe-configure-target-boehm-gc: configure-target-boehm-gc
55316 configure-target-boehm-gc:
55317 @: $(MAKE); $(unstage)
55318 @r=`${PWD_COMMAND}`; export r; \
55319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55320 echo "Checking multilib configuration for boehm-gc..."; \
55321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
55322 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
55323 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
55324 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
55325 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
55326 else \
55327 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
55328 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
55329 fi; \
55330 else \
55331 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
55332 fi; \
55333 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
55334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
55335 $(NORMAL_TARGET_EXPORTS) \
55336 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
55337 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
55338 case $(srcdir) in \
55339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55340 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
55341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55342 esac; \
55343 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
55344 libsrcdir="$$s/boehm-gc"; \
55345 rm -f no-such-file || : ; \
55346 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
55347 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55348 --target=${target_alias} $${srcdiroption} \
55349 || exit 1
55350 @endif target-boehm-gc
55356 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
55357 maybe-all-target-boehm-gc:
55358 @if gcc-bootstrap
55359 all-target-boehm-gc: stage_current
55360 @endif gcc-bootstrap
55361 @if target-boehm-gc
55362 TARGET-target-boehm-gc=all
55363 maybe-all-target-boehm-gc: all-target-boehm-gc
55364 all-target-boehm-gc: configure-target-boehm-gc
55365 @: $(MAKE); $(unstage)
55366 @r=`${PWD_COMMAND}`; export r; \
55367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55368 $(NORMAL_TARGET_EXPORTS) \
55369 (cd $(TARGET_SUBDIR)/boehm-gc && \
55370 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55371 $(TARGET-target-boehm-gc))
55372 @endif target-boehm-gc
55378 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
55379 maybe-check-target-boehm-gc:
55380 @if target-boehm-gc
55381 maybe-check-target-boehm-gc: check-target-boehm-gc
55383 check-target-boehm-gc:
55384 @: $(MAKE); $(unstage)
55385 @r=`${PWD_COMMAND}`; export r; \
55386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55387 $(NORMAL_TARGET_EXPORTS) \
55388 (cd $(TARGET_SUBDIR)/boehm-gc && \
55389 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55391 @endif target-boehm-gc
55393 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
55394 maybe-install-target-boehm-gc:
55395 @if target-boehm-gc
55396 maybe-install-target-boehm-gc: install-target-boehm-gc
55398 install-target-boehm-gc: installdirs
55399 @: $(MAKE); $(unstage)
55400 @r=`${PWD_COMMAND}`; export r; \
55401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55402 $(NORMAL_TARGET_EXPORTS) \
55403 (cd $(TARGET_SUBDIR)/boehm-gc && \
55404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55406 @endif target-boehm-gc
55408 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
55409 maybe-install-strip-target-boehm-gc:
55410 @if target-boehm-gc
55411 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
55413 install-strip-target-boehm-gc: installdirs
55414 @: $(MAKE); $(unstage)
55415 @r=`${PWD_COMMAND}`; export r; \
55416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55417 $(NORMAL_TARGET_EXPORTS) \
55418 (cd $(TARGET_SUBDIR)/boehm-gc && \
55419 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55421 @endif target-boehm-gc
55423 # Other targets (info, dvi, pdf, etc.)
55425 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
55426 maybe-info-target-boehm-gc:
55427 @if target-boehm-gc
55428 maybe-info-target-boehm-gc: info-target-boehm-gc
55430 info-target-boehm-gc: \
55431 configure-target-boehm-gc
55432 @: $(MAKE); $(unstage)
55433 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55434 r=`${PWD_COMMAND}`; export r; \
55435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55436 $(NORMAL_TARGET_EXPORTS) \
55437 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
55438 for flag in $(EXTRA_TARGET_FLAGS); do \
55439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55440 done; \
55441 (cd $(TARGET_SUBDIR)/boehm-gc && \
55442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55444 "RANLIB=$${RANLIB}" \
55445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55446 info) \
55447 || exit 1
55449 @endif target-boehm-gc
55451 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
55452 maybe-dvi-target-boehm-gc:
55453 @if target-boehm-gc
55454 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
55456 dvi-target-boehm-gc: \
55457 configure-target-boehm-gc
55458 @: $(MAKE); $(unstage)
55459 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55460 r=`${PWD_COMMAND}`; export r; \
55461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55462 $(NORMAL_TARGET_EXPORTS) \
55463 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
55464 for flag in $(EXTRA_TARGET_FLAGS); do \
55465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55466 done; \
55467 (cd $(TARGET_SUBDIR)/boehm-gc && \
55468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55470 "RANLIB=$${RANLIB}" \
55471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55472 dvi) \
55473 || exit 1
55475 @endif target-boehm-gc
55477 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
55478 maybe-pdf-target-boehm-gc:
55479 @if target-boehm-gc
55480 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
55482 pdf-target-boehm-gc: \
55483 configure-target-boehm-gc
55484 @: $(MAKE); $(unstage)
55485 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55486 r=`${PWD_COMMAND}`; export r; \
55487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55488 $(NORMAL_TARGET_EXPORTS) \
55489 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
55490 for flag in $(EXTRA_TARGET_FLAGS); do \
55491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55492 done; \
55493 (cd $(TARGET_SUBDIR)/boehm-gc && \
55494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55496 "RANLIB=$${RANLIB}" \
55497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55498 pdf) \
55499 || exit 1
55501 @endif target-boehm-gc
55503 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
55504 maybe-html-target-boehm-gc:
55505 @if target-boehm-gc
55506 maybe-html-target-boehm-gc: html-target-boehm-gc
55508 html-target-boehm-gc: \
55509 configure-target-boehm-gc
55510 @: $(MAKE); $(unstage)
55511 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55512 r=`${PWD_COMMAND}`; export r; \
55513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55514 $(NORMAL_TARGET_EXPORTS) \
55515 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
55516 for flag in $(EXTRA_TARGET_FLAGS); do \
55517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55518 done; \
55519 (cd $(TARGET_SUBDIR)/boehm-gc && \
55520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55522 "RANLIB=$${RANLIB}" \
55523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55524 html) \
55525 || exit 1
55527 @endif target-boehm-gc
55529 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
55530 maybe-TAGS-target-boehm-gc:
55531 @if target-boehm-gc
55532 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
55534 TAGS-target-boehm-gc: \
55535 configure-target-boehm-gc
55536 @: $(MAKE); $(unstage)
55537 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55538 r=`${PWD_COMMAND}`; export r; \
55539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55540 $(NORMAL_TARGET_EXPORTS) \
55541 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
55542 for flag in $(EXTRA_TARGET_FLAGS); do \
55543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55544 done; \
55545 (cd $(TARGET_SUBDIR)/boehm-gc && \
55546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55548 "RANLIB=$${RANLIB}" \
55549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55550 TAGS) \
55551 || exit 1
55553 @endif target-boehm-gc
55555 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
55556 maybe-install-info-target-boehm-gc:
55557 @if target-boehm-gc
55558 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
55560 install-info-target-boehm-gc: \
55561 configure-target-boehm-gc \
55562 info-target-boehm-gc
55563 @: $(MAKE); $(unstage)
55564 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55565 r=`${PWD_COMMAND}`; export r; \
55566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55567 $(NORMAL_TARGET_EXPORTS) \
55568 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
55569 for flag in $(EXTRA_TARGET_FLAGS); do \
55570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55571 done; \
55572 (cd $(TARGET_SUBDIR)/boehm-gc && \
55573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55575 "RANLIB=$${RANLIB}" \
55576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55577 install-info) \
55578 || exit 1
55580 @endif target-boehm-gc
55582 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
55583 maybe-install-pdf-target-boehm-gc:
55584 @if target-boehm-gc
55585 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
55587 install-pdf-target-boehm-gc: \
55588 configure-target-boehm-gc \
55589 pdf-target-boehm-gc
55590 @: $(MAKE); $(unstage)
55591 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55592 r=`${PWD_COMMAND}`; export r; \
55593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55594 $(NORMAL_TARGET_EXPORTS) \
55595 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
55596 for flag in $(EXTRA_TARGET_FLAGS); do \
55597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55598 done; \
55599 (cd $(TARGET_SUBDIR)/boehm-gc && \
55600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55602 "RANLIB=$${RANLIB}" \
55603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55604 install-pdf) \
55605 || exit 1
55607 @endif target-boehm-gc
55609 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
55610 maybe-install-html-target-boehm-gc:
55611 @if target-boehm-gc
55612 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
55614 install-html-target-boehm-gc: \
55615 configure-target-boehm-gc \
55616 html-target-boehm-gc
55617 @: $(MAKE); $(unstage)
55618 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55619 r=`${PWD_COMMAND}`; export r; \
55620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55621 $(NORMAL_TARGET_EXPORTS) \
55622 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
55623 for flag in $(EXTRA_TARGET_FLAGS); do \
55624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55625 done; \
55626 (cd $(TARGET_SUBDIR)/boehm-gc && \
55627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55629 "RANLIB=$${RANLIB}" \
55630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55631 install-html) \
55632 || exit 1
55634 @endif target-boehm-gc
55636 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
55637 maybe-installcheck-target-boehm-gc:
55638 @if target-boehm-gc
55639 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
55641 installcheck-target-boehm-gc: \
55642 configure-target-boehm-gc
55643 @: $(MAKE); $(unstage)
55644 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55645 r=`${PWD_COMMAND}`; export r; \
55646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55647 $(NORMAL_TARGET_EXPORTS) \
55648 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
55649 for flag in $(EXTRA_TARGET_FLAGS); do \
55650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55651 done; \
55652 (cd $(TARGET_SUBDIR)/boehm-gc && \
55653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55655 "RANLIB=$${RANLIB}" \
55656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55657 installcheck) \
55658 || exit 1
55660 @endif target-boehm-gc
55662 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
55663 maybe-mostlyclean-target-boehm-gc:
55664 @if target-boehm-gc
55665 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
55667 mostlyclean-target-boehm-gc:
55668 @: $(MAKE); $(unstage)
55669 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55670 r=`${PWD_COMMAND}`; export r; \
55671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55672 $(NORMAL_TARGET_EXPORTS) \
55673 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
55674 for flag in $(EXTRA_TARGET_FLAGS); do \
55675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55676 done; \
55677 (cd $(TARGET_SUBDIR)/boehm-gc && \
55678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55680 "RANLIB=$${RANLIB}" \
55681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55682 mostlyclean) \
55683 || exit 1
55685 @endif target-boehm-gc
55687 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
55688 maybe-clean-target-boehm-gc:
55689 @if target-boehm-gc
55690 maybe-clean-target-boehm-gc: clean-target-boehm-gc
55692 clean-target-boehm-gc:
55693 @: $(MAKE); $(unstage)
55694 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55695 r=`${PWD_COMMAND}`; export r; \
55696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55697 $(NORMAL_TARGET_EXPORTS) \
55698 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
55699 for flag in $(EXTRA_TARGET_FLAGS); do \
55700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55701 done; \
55702 (cd $(TARGET_SUBDIR)/boehm-gc && \
55703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55705 "RANLIB=$${RANLIB}" \
55706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55707 clean) \
55708 || exit 1
55710 @endif target-boehm-gc
55712 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
55713 maybe-distclean-target-boehm-gc:
55714 @if target-boehm-gc
55715 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
55717 distclean-target-boehm-gc:
55718 @: $(MAKE); $(unstage)
55719 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55720 r=`${PWD_COMMAND}`; export r; \
55721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55722 $(NORMAL_TARGET_EXPORTS) \
55723 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
55724 for flag in $(EXTRA_TARGET_FLAGS); do \
55725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55726 done; \
55727 (cd $(TARGET_SUBDIR)/boehm-gc && \
55728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55730 "RANLIB=$${RANLIB}" \
55731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55732 distclean) \
55733 || exit 1
55735 @endif target-boehm-gc
55737 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
55738 maybe-maintainer-clean-target-boehm-gc:
55739 @if target-boehm-gc
55740 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
55742 maintainer-clean-target-boehm-gc:
55743 @: $(MAKE); $(unstage)
55744 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
55745 r=`${PWD_COMMAND}`; export r; \
55746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55747 $(NORMAL_TARGET_EXPORTS) \
55748 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
55749 for flag in $(EXTRA_TARGET_FLAGS); do \
55750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55751 done; \
55752 (cd $(TARGET_SUBDIR)/boehm-gc && \
55753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55755 "RANLIB=$${RANLIB}" \
55756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55757 maintainer-clean) \
55758 || exit 1
55760 @endif target-boehm-gc
55766 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
55767 maybe-configure-target-qthreads:
55768 @if gcc-bootstrap
55769 configure-target-qthreads: stage_current
55770 @endif gcc-bootstrap
55771 @if target-qthreads
55772 maybe-configure-target-qthreads: configure-target-qthreads
55773 configure-target-qthreads:
55774 @: $(MAKE); $(unstage)
55775 @r=`${PWD_COMMAND}`; export r; \
55776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55777 echo "Checking multilib configuration for qthreads..."; \
55778 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
55779 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
55780 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
55781 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
55782 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
55783 else \
55784 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
55785 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
55786 fi; \
55787 else \
55788 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
55789 fi; \
55790 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
55791 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
55792 $(NORMAL_TARGET_EXPORTS) \
55793 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
55794 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
55795 case $(srcdir) in \
55796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55797 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
55798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55799 esac; \
55800 srcdiroption="--srcdir=$${topdir}/qthreads"; \
55801 libsrcdir="$$s/qthreads"; \
55802 rm -f no-such-file || : ; \
55803 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
55804 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55805 --target=${target_alias} $${srcdiroption} \
55806 || exit 1
55807 @endif target-qthreads
55813 .PHONY: all-target-qthreads maybe-all-target-qthreads
55814 maybe-all-target-qthreads:
55815 @if gcc-bootstrap
55816 all-target-qthreads: stage_current
55817 @endif gcc-bootstrap
55818 @if target-qthreads
55819 TARGET-target-qthreads=all
55820 maybe-all-target-qthreads: all-target-qthreads
55821 all-target-qthreads: configure-target-qthreads
55822 @: $(MAKE); $(unstage)
55823 @r=`${PWD_COMMAND}`; export r; \
55824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55825 $(NORMAL_TARGET_EXPORTS) \
55826 (cd $(TARGET_SUBDIR)/qthreads && \
55827 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55828 $(TARGET-target-qthreads))
55829 @endif target-qthreads
55835 .PHONY: check-target-qthreads maybe-check-target-qthreads
55836 maybe-check-target-qthreads:
55837 @if target-qthreads
55838 maybe-check-target-qthreads: check-target-qthreads
55840 check-target-qthreads:
55841 @: $(MAKE); $(unstage)
55842 @r=`${PWD_COMMAND}`; export r; \
55843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55844 $(NORMAL_TARGET_EXPORTS) \
55845 (cd $(TARGET_SUBDIR)/qthreads && \
55846 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55848 @endif target-qthreads
55850 .PHONY: install-target-qthreads maybe-install-target-qthreads
55851 maybe-install-target-qthreads:
55852 @if target-qthreads
55853 maybe-install-target-qthreads: install-target-qthreads
55855 install-target-qthreads: installdirs
55856 @: $(MAKE); $(unstage)
55857 @r=`${PWD_COMMAND}`; export r; \
55858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55859 $(NORMAL_TARGET_EXPORTS) \
55860 (cd $(TARGET_SUBDIR)/qthreads && \
55861 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55863 @endif target-qthreads
55865 .PHONY: install-strip-target-qthreads maybe-install-strip-target-qthreads
55866 maybe-install-strip-target-qthreads:
55867 @if target-qthreads
55868 maybe-install-strip-target-qthreads: install-strip-target-qthreads
55870 install-strip-target-qthreads: installdirs
55871 @: $(MAKE); $(unstage)
55872 @r=`${PWD_COMMAND}`; export r; \
55873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55874 $(NORMAL_TARGET_EXPORTS) \
55875 (cd $(TARGET_SUBDIR)/qthreads && \
55876 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55878 @endif target-qthreads
55880 # Other targets (info, dvi, pdf, etc.)
55882 .PHONY: maybe-info-target-qthreads info-target-qthreads
55883 maybe-info-target-qthreads:
55884 @if target-qthreads
55885 maybe-info-target-qthreads: info-target-qthreads
55887 info-target-qthreads: \
55888 configure-target-qthreads
55889 @: $(MAKE); $(unstage)
55890 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55891 r=`${PWD_COMMAND}`; export r; \
55892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55893 $(NORMAL_TARGET_EXPORTS) \
55894 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
55895 for flag in $(EXTRA_TARGET_FLAGS); do \
55896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55897 done; \
55898 (cd $(TARGET_SUBDIR)/qthreads && \
55899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55901 "RANLIB=$${RANLIB}" \
55902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55903 info) \
55904 || exit 1
55906 @endif target-qthreads
55908 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
55909 maybe-dvi-target-qthreads:
55910 @if target-qthreads
55911 maybe-dvi-target-qthreads: dvi-target-qthreads
55913 dvi-target-qthreads: \
55914 configure-target-qthreads
55915 @: $(MAKE); $(unstage)
55916 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55917 r=`${PWD_COMMAND}`; export r; \
55918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55919 $(NORMAL_TARGET_EXPORTS) \
55920 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
55921 for flag in $(EXTRA_TARGET_FLAGS); do \
55922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55923 done; \
55924 (cd $(TARGET_SUBDIR)/qthreads && \
55925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55927 "RANLIB=$${RANLIB}" \
55928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55929 dvi) \
55930 || exit 1
55932 @endif target-qthreads
55934 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
55935 maybe-pdf-target-qthreads:
55936 @if target-qthreads
55937 maybe-pdf-target-qthreads: pdf-target-qthreads
55939 pdf-target-qthreads: \
55940 configure-target-qthreads
55941 @: $(MAKE); $(unstage)
55942 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55943 r=`${PWD_COMMAND}`; export r; \
55944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55945 $(NORMAL_TARGET_EXPORTS) \
55946 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
55947 for flag in $(EXTRA_TARGET_FLAGS); do \
55948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55949 done; \
55950 (cd $(TARGET_SUBDIR)/qthreads && \
55951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55953 "RANLIB=$${RANLIB}" \
55954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55955 pdf) \
55956 || exit 1
55958 @endif target-qthreads
55960 .PHONY: maybe-html-target-qthreads html-target-qthreads
55961 maybe-html-target-qthreads:
55962 @if target-qthreads
55963 maybe-html-target-qthreads: html-target-qthreads
55965 html-target-qthreads: \
55966 configure-target-qthreads
55967 @: $(MAKE); $(unstage)
55968 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55969 r=`${PWD_COMMAND}`; export r; \
55970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55971 $(NORMAL_TARGET_EXPORTS) \
55972 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
55973 for flag in $(EXTRA_TARGET_FLAGS); do \
55974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55975 done; \
55976 (cd $(TARGET_SUBDIR)/qthreads && \
55977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55979 "RANLIB=$${RANLIB}" \
55980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55981 html) \
55982 || exit 1
55984 @endif target-qthreads
55986 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
55987 maybe-TAGS-target-qthreads:
55988 @if target-qthreads
55989 maybe-TAGS-target-qthreads: TAGS-target-qthreads
55991 TAGS-target-qthreads: \
55992 configure-target-qthreads
55993 @: $(MAKE); $(unstage)
55994 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
55995 r=`${PWD_COMMAND}`; export r; \
55996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55997 $(NORMAL_TARGET_EXPORTS) \
55998 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
55999 for flag in $(EXTRA_TARGET_FLAGS); do \
56000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56001 done; \
56002 (cd $(TARGET_SUBDIR)/qthreads && \
56003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56005 "RANLIB=$${RANLIB}" \
56006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56007 TAGS) \
56008 || exit 1
56010 @endif target-qthreads
56012 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
56013 maybe-install-info-target-qthreads:
56014 @if target-qthreads
56015 maybe-install-info-target-qthreads: install-info-target-qthreads
56017 install-info-target-qthreads: \
56018 configure-target-qthreads \
56019 info-target-qthreads
56020 @: $(MAKE); $(unstage)
56021 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56022 r=`${PWD_COMMAND}`; export r; \
56023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56024 $(NORMAL_TARGET_EXPORTS) \
56025 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
56026 for flag in $(EXTRA_TARGET_FLAGS); do \
56027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56028 done; \
56029 (cd $(TARGET_SUBDIR)/qthreads && \
56030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56032 "RANLIB=$${RANLIB}" \
56033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56034 install-info) \
56035 || exit 1
56037 @endif target-qthreads
56039 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
56040 maybe-install-pdf-target-qthreads:
56041 @if target-qthreads
56042 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
56044 install-pdf-target-qthreads: \
56045 configure-target-qthreads \
56046 pdf-target-qthreads
56047 @: $(MAKE); $(unstage)
56048 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56049 r=`${PWD_COMMAND}`; export r; \
56050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56051 $(NORMAL_TARGET_EXPORTS) \
56052 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
56053 for flag in $(EXTRA_TARGET_FLAGS); do \
56054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56055 done; \
56056 (cd $(TARGET_SUBDIR)/qthreads && \
56057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56059 "RANLIB=$${RANLIB}" \
56060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56061 install-pdf) \
56062 || exit 1
56064 @endif target-qthreads
56066 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
56067 maybe-install-html-target-qthreads:
56068 @if target-qthreads
56069 maybe-install-html-target-qthreads: install-html-target-qthreads
56071 install-html-target-qthreads: \
56072 configure-target-qthreads \
56073 html-target-qthreads
56074 @: $(MAKE); $(unstage)
56075 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56076 r=`${PWD_COMMAND}`; export r; \
56077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56078 $(NORMAL_TARGET_EXPORTS) \
56079 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
56080 for flag in $(EXTRA_TARGET_FLAGS); do \
56081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56082 done; \
56083 (cd $(TARGET_SUBDIR)/qthreads && \
56084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56086 "RANLIB=$${RANLIB}" \
56087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56088 install-html) \
56089 || exit 1
56091 @endif target-qthreads
56093 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
56094 maybe-installcheck-target-qthreads:
56095 @if target-qthreads
56096 maybe-installcheck-target-qthreads: installcheck-target-qthreads
56098 installcheck-target-qthreads: \
56099 configure-target-qthreads
56100 @: $(MAKE); $(unstage)
56101 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56102 r=`${PWD_COMMAND}`; export r; \
56103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56104 $(NORMAL_TARGET_EXPORTS) \
56105 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
56106 for flag in $(EXTRA_TARGET_FLAGS); do \
56107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56108 done; \
56109 (cd $(TARGET_SUBDIR)/qthreads && \
56110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56112 "RANLIB=$${RANLIB}" \
56113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56114 installcheck) \
56115 || exit 1
56117 @endif target-qthreads
56119 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
56120 maybe-mostlyclean-target-qthreads:
56121 @if target-qthreads
56122 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
56124 mostlyclean-target-qthreads:
56125 @: $(MAKE); $(unstage)
56126 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56127 r=`${PWD_COMMAND}`; export r; \
56128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56129 $(NORMAL_TARGET_EXPORTS) \
56130 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
56131 for flag in $(EXTRA_TARGET_FLAGS); do \
56132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56133 done; \
56134 (cd $(TARGET_SUBDIR)/qthreads && \
56135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56137 "RANLIB=$${RANLIB}" \
56138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56139 mostlyclean) \
56140 || exit 1
56142 @endif target-qthreads
56144 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
56145 maybe-clean-target-qthreads:
56146 @if target-qthreads
56147 maybe-clean-target-qthreads: clean-target-qthreads
56149 clean-target-qthreads:
56150 @: $(MAKE); $(unstage)
56151 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56152 r=`${PWD_COMMAND}`; export r; \
56153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56154 $(NORMAL_TARGET_EXPORTS) \
56155 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
56156 for flag in $(EXTRA_TARGET_FLAGS); do \
56157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56158 done; \
56159 (cd $(TARGET_SUBDIR)/qthreads && \
56160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56162 "RANLIB=$${RANLIB}" \
56163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56164 clean) \
56165 || exit 1
56167 @endif target-qthreads
56169 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
56170 maybe-distclean-target-qthreads:
56171 @if target-qthreads
56172 maybe-distclean-target-qthreads: distclean-target-qthreads
56174 distclean-target-qthreads:
56175 @: $(MAKE); $(unstage)
56176 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56177 r=`${PWD_COMMAND}`; export r; \
56178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56179 $(NORMAL_TARGET_EXPORTS) \
56180 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
56181 for flag in $(EXTRA_TARGET_FLAGS); do \
56182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56183 done; \
56184 (cd $(TARGET_SUBDIR)/qthreads && \
56185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56187 "RANLIB=$${RANLIB}" \
56188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56189 distclean) \
56190 || exit 1
56192 @endif target-qthreads
56194 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
56195 maybe-maintainer-clean-target-qthreads:
56196 @if target-qthreads
56197 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
56199 maintainer-clean-target-qthreads:
56200 @: $(MAKE); $(unstage)
56201 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
56202 r=`${PWD_COMMAND}`; export r; \
56203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56204 $(NORMAL_TARGET_EXPORTS) \
56205 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
56206 for flag in $(EXTRA_TARGET_FLAGS); do \
56207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56208 done; \
56209 (cd $(TARGET_SUBDIR)/qthreads && \
56210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56212 "RANLIB=$${RANLIB}" \
56213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56214 maintainer-clean) \
56215 || exit 1
56217 @endif target-qthreads
56223 .PHONY: configure-target-rda maybe-configure-target-rda
56224 maybe-configure-target-rda:
56225 @if gcc-bootstrap
56226 configure-target-rda: stage_current
56227 @endif gcc-bootstrap
56228 @if target-rda
56229 maybe-configure-target-rda: configure-target-rda
56230 configure-target-rda:
56231 @: $(MAKE); $(unstage)
56232 @r=`${PWD_COMMAND}`; export r; \
56233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56234 echo "Checking multilib configuration for rda..."; \
56235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
56236 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
56237 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
56238 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
56239 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
56240 else \
56241 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
56242 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
56243 fi; \
56244 else \
56245 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
56246 fi; \
56247 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
56248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
56249 $(NORMAL_TARGET_EXPORTS) \
56250 echo Configuring in $(TARGET_SUBDIR)/rda; \
56251 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
56252 case $(srcdir) in \
56253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56254 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
56255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56256 esac; \
56257 srcdiroption="--srcdir=$${topdir}/rda"; \
56258 libsrcdir="$$s/rda"; \
56259 rm -f no-such-file || : ; \
56260 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
56261 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56262 --target=${target_alias} $${srcdiroption} \
56263 || exit 1
56264 @endif target-rda
56270 .PHONY: all-target-rda maybe-all-target-rda
56271 maybe-all-target-rda:
56272 @if gcc-bootstrap
56273 all-target-rda: stage_current
56274 @endif gcc-bootstrap
56275 @if target-rda
56276 TARGET-target-rda=all
56277 maybe-all-target-rda: all-target-rda
56278 all-target-rda: configure-target-rda
56279 @: $(MAKE); $(unstage)
56280 @r=`${PWD_COMMAND}`; export r; \
56281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56282 $(NORMAL_TARGET_EXPORTS) \
56283 (cd $(TARGET_SUBDIR)/rda && \
56284 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56285 $(TARGET-target-rda))
56286 @endif target-rda
56292 .PHONY: check-target-rda maybe-check-target-rda
56293 maybe-check-target-rda:
56294 @if target-rda
56295 maybe-check-target-rda: check-target-rda
56297 check-target-rda:
56298 @: $(MAKE); $(unstage)
56299 @r=`${PWD_COMMAND}`; export r; \
56300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56301 $(NORMAL_TARGET_EXPORTS) \
56302 (cd $(TARGET_SUBDIR)/rda && \
56303 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
56305 @endif target-rda
56307 .PHONY: install-target-rda maybe-install-target-rda
56308 maybe-install-target-rda:
56309 @if target-rda
56310 maybe-install-target-rda: install-target-rda
56312 install-target-rda: installdirs
56313 @: $(MAKE); $(unstage)
56314 @r=`${PWD_COMMAND}`; export r; \
56315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56316 $(NORMAL_TARGET_EXPORTS) \
56317 (cd $(TARGET_SUBDIR)/rda && \
56318 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
56320 @endif target-rda
56322 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
56323 maybe-install-strip-target-rda:
56324 @if target-rda
56325 maybe-install-strip-target-rda: install-strip-target-rda
56327 install-strip-target-rda: installdirs
56328 @: $(MAKE); $(unstage)
56329 @r=`${PWD_COMMAND}`; export r; \
56330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56331 $(NORMAL_TARGET_EXPORTS) \
56332 (cd $(TARGET_SUBDIR)/rda && \
56333 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
56335 @endif target-rda
56337 # Other targets (info, dvi, pdf, etc.)
56339 .PHONY: maybe-info-target-rda info-target-rda
56340 maybe-info-target-rda:
56341 @if target-rda
56342 maybe-info-target-rda: info-target-rda
56344 info-target-rda: \
56345 configure-target-rda
56346 @: $(MAKE); $(unstage)
56347 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56348 r=`${PWD_COMMAND}`; export r; \
56349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56350 $(NORMAL_TARGET_EXPORTS) \
56351 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
56352 for flag in $(EXTRA_TARGET_FLAGS); do \
56353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56354 done; \
56355 (cd $(TARGET_SUBDIR)/rda && \
56356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56358 "RANLIB=$${RANLIB}" \
56359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56360 info) \
56361 || exit 1
56363 @endif target-rda
56365 .PHONY: maybe-dvi-target-rda dvi-target-rda
56366 maybe-dvi-target-rda:
56367 @if target-rda
56368 maybe-dvi-target-rda: dvi-target-rda
56370 dvi-target-rda: \
56371 configure-target-rda
56372 @: $(MAKE); $(unstage)
56373 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56374 r=`${PWD_COMMAND}`; export r; \
56375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56376 $(NORMAL_TARGET_EXPORTS) \
56377 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
56378 for flag in $(EXTRA_TARGET_FLAGS); do \
56379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56380 done; \
56381 (cd $(TARGET_SUBDIR)/rda && \
56382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56384 "RANLIB=$${RANLIB}" \
56385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56386 dvi) \
56387 || exit 1
56389 @endif target-rda
56391 .PHONY: maybe-pdf-target-rda pdf-target-rda
56392 maybe-pdf-target-rda:
56393 @if target-rda
56394 maybe-pdf-target-rda: pdf-target-rda
56396 pdf-target-rda: \
56397 configure-target-rda
56398 @: $(MAKE); $(unstage)
56399 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56400 r=`${PWD_COMMAND}`; export r; \
56401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56402 $(NORMAL_TARGET_EXPORTS) \
56403 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
56404 for flag in $(EXTRA_TARGET_FLAGS); do \
56405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56406 done; \
56407 (cd $(TARGET_SUBDIR)/rda && \
56408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56410 "RANLIB=$${RANLIB}" \
56411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56412 pdf) \
56413 || exit 1
56415 @endif target-rda
56417 .PHONY: maybe-html-target-rda html-target-rda
56418 maybe-html-target-rda:
56419 @if target-rda
56420 maybe-html-target-rda: html-target-rda
56422 html-target-rda: \
56423 configure-target-rda
56424 @: $(MAKE); $(unstage)
56425 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56426 r=`${PWD_COMMAND}`; export r; \
56427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56428 $(NORMAL_TARGET_EXPORTS) \
56429 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
56430 for flag in $(EXTRA_TARGET_FLAGS); do \
56431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56432 done; \
56433 (cd $(TARGET_SUBDIR)/rda && \
56434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56436 "RANLIB=$${RANLIB}" \
56437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56438 html) \
56439 || exit 1
56441 @endif target-rda
56443 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
56444 maybe-TAGS-target-rda:
56445 @if target-rda
56446 maybe-TAGS-target-rda: TAGS-target-rda
56448 TAGS-target-rda: \
56449 configure-target-rda
56450 @: $(MAKE); $(unstage)
56451 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56452 r=`${PWD_COMMAND}`; export r; \
56453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56454 $(NORMAL_TARGET_EXPORTS) \
56455 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
56456 for flag in $(EXTRA_TARGET_FLAGS); do \
56457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56458 done; \
56459 (cd $(TARGET_SUBDIR)/rda && \
56460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56462 "RANLIB=$${RANLIB}" \
56463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56464 TAGS) \
56465 || exit 1
56467 @endif target-rda
56469 .PHONY: maybe-install-info-target-rda install-info-target-rda
56470 maybe-install-info-target-rda:
56471 @if target-rda
56472 maybe-install-info-target-rda: install-info-target-rda
56474 install-info-target-rda: \
56475 configure-target-rda \
56476 info-target-rda
56477 @: $(MAKE); $(unstage)
56478 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56479 r=`${PWD_COMMAND}`; export r; \
56480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56481 $(NORMAL_TARGET_EXPORTS) \
56482 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
56483 for flag in $(EXTRA_TARGET_FLAGS); do \
56484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56485 done; \
56486 (cd $(TARGET_SUBDIR)/rda && \
56487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56489 "RANLIB=$${RANLIB}" \
56490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56491 install-info) \
56492 || exit 1
56494 @endif target-rda
56496 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
56497 maybe-install-pdf-target-rda:
56498 @if target-rda
56499 maybe-install-pdf-target-rda: install-pdf-target-rda
56501 install-pdf-target-rda: \
56502 configure-target-rda \
56503 pdf-target-rda
56504 @: $(MAKE); $(unstage)
56505 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56506 r=`${PWD_COMMAND}`; export r; \
56507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56508 $(NORMAL_TARGET_EXPORTS) \
56509 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
56510 for flag in $(EXTRA_TARGET_FLAGS); do \
56511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56512 done; \
56513 (cd $(TARGET_SUBDIR)/rda && \
56514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56516 "RANLIB=$${RANLIB}" \
56517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56518 install-pdf) \
56519 || exit 1
56521 @endif target-rda
56523 .PHONY: maybe-install-html-target-rda install-html-target-rda
56524 maybe-install-html-target-rda:
56525 @if target-rda
56526 maybe-install-html-target-rda: install-html-target-rda
56528 install-html-target-rda: \
56529 configure-target-rda \
56530 html-target-rda
56531 @: $(MAKE); $(unstage)
56532 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56533 r=`${PWD_COMMAND}`; export r; \
56534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56535 $(NORMAL_TARGET_EXPORTS) \
56536 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
56537 for flag in $(EXTRA_TARGET_FLAGS); do \
56538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56539 done; \
56540 (cd $(TARGET_SUBDIR)/rda && \
56541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56543 "RANLIB=$${RANLIB}" \
56544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56545 install-html) \
56546 || exit 1
56548 @endif target-rda
56550 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
56551 maybe-installcheck-target-rda:
56552 @if target-rda
56553 maybe-installcheck-target-rda: installcheck-target-rda
56555 installcheck-target-rda: \
56556 configure-target-rda
56557 @: $(MAKE); $(unstage)
56558 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56559 r=`${PWD_COMMAND}`; export r; \
56560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56561 $(NORMAL_TARGET_EXPORTS) \
56562 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
56563 for flag in $(EXTRA_TARGET_FLAGS); do \
56564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56565 done; \
56566 (cd $(TARGET_SUBDIR)/rda && \
56567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56569 "RANLIB=$${RANLIB}" \
56570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56571 installcheck) \
56572 || exit 1
56574 @endif target-rda
56576 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
56577 maybe-mostlyclean-target-rda:
56578 @if target-rda
56579 maybe-mostlyclean-target-rda: mostlyclean-target-rda
56581 mostlyclean-target-rda:
56582 @: $(MAKE); $(unstage)
56583 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56584 r=`${PWD_COMMAND}`; export r; \
56585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56586 $(NORMAL_TARGET_EXPORTS) \
56587 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
56588 for flag in $(EXTRA_TARGET_FLAGS); do \
56589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56590 done; \
56591 (cd $(TARGET_SUBDIR)/rda && \
56592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56594 "RANLIB=$${RANLIB}" \
56595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56596 mostlyclean) \
56597 || exit 1
56599 @endif target-rda
56601 .PHONY: maybe-clean-target-rda clean-target-rda
56602 maybe-clean-target-rda:
56603 @if target-rda
56604 maybe-clean-target-rda: clean-target-rda
56606 clean-target-rda:
56607 @: $(MAKE); $(unstage)
56608 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56609 r=`${PWD_COMMAND}`; export r; \
56610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56611 $(NORMAL_TARGET_EXPORTS) \
56612 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
56613 for flag in $(EXTRA_TARGET_FLAGS); do \
56614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56615 done; \
56616 (cd $(TARGET_SUBDIR)/rda && \
56617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56619 "RANLIB=$${RANLIB}" \
56620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56621 clean) \
56622 || exit 1
56624 @endif target-rda
56626 .PHONY: maybe-distclean-target-rda distclean-target-rda
56627 maybe-distclean-target-rda:
56628 @if target-rda
56629 maybe-distclean-target-rda: distclean-target-rda
56631 distclean-target-rda:
56632 @: $(MAKE); $(unstage)
56633 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56634 r=`${PWD_COMMAND}`; export r; \
56635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56636 $(NORMAL_TARGET_EXPORTS) \
56637 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
56638 for flag in $(EXTRA_TARGET_FLAGS); do \
56639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56640 done; \
56641 (cd $(TARGET_SUBDIR)/rda && \
56642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56644 "RANLIB=$${RANLIB}" \
56645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56646 distclean) \
56647 || exit 1
56649 @endif target-rda
56651 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
56652 maybe-maintainer-clean-target-rda:
56653 @if target-rda
56654 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
56656 maintainer-clean-target-rda:
56657 @: $(MAKE); $(unstage)
56658 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
56659 r=`${PWD_COMMAND}`; export r; \
56660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56661 $(NORMAL_TARGET_EXPORTS) \
56662 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
56663 for flag in $(EXTRA_TARGET_FLAGS); do \
56664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56665 done; \
56666 (cd $(TARGET_SUBDIR)/rda && \
56667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56669 "RANLIB=$${RANLIB}" \
56670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56671 maintainer-clean) \
56672 || exit 1
56674 @endif target-rda
56680 .PHONY: configure-target-libada maybe-configure-target-libada
56681 maybe-configure-target-libada:
56682 @if gcc-bootstrap
56683 configure-target-libada: stage_current
56684 @endif gcc-bootstrap
56685 @if target-libada
56686 maybe-configure-target-libada: configure-target-libada
56687 configure-target-libada:
56688 @: $(MAKE); $(unstage)
56689 @r=`${PWD_COMMAND}`; export r; \
56690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56691 echo "Checking multilib configuration for libada..."; \
56692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
56693 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
56694 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
56695 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
56696 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
56697 else \
56698 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
56699 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56700 fi; \
56701 else \
56702 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
56703 fi; \
56704 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
56705 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
56706 $(NORMAL_TARGET_EXPORTS) \
56707 echo Configuring in $(TARGET_SUBDIR)/libada; \
56708 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
56709 case $(srcdir) in \
56710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56711 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
56712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56713 esac; \
56714 srcdiroption="--srcdir=$${topdir}/libada"; \
56715 libsrcdir="$$s/libada"; \
56716 rm -f no-such-file || : ; \
56717 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
56718 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56719 --target=${target_alias} $${srcdiroption} \
56720 || exit 1
56721 @endif target-libada
56727 .PHONY: all-target-libada maybe-all-target-libada
56728 maybe-all-target-libada:
56729 @if gcc-bootstrap
56730 all-target-libada: stage_current
56731 @endif gcc-bootstrap
56732 @if target-libada
56733 TARGET-target-libada=all
56734 maybe-all-target-libada: all-target-libada
56735 all-target-libada: configure-target-libada
56736 @: $(MAKE); $(unstage)
56737 @r=`${PWD_COMMAND}`; export r; \
56738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56739 $(NORMAL_TARGET_EXPORTS) \
56740 (cd $(TARGET_SUBDIR)/libada && \
56741 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56742 $(TARGET-target-libada))
56743 @endif target-libada
56749 .PHONY: check-target-libada maybe-check-target-libada
56750 maybe-check-target-libada:
56751 @if target-libada
56752 maybe-check-target-libada: check-target-libada
56754 check-target-libada:
56755 @: $(MAKE); $(unstage)
56756 @r=`${PWD_COMMAND}`; export r; \
56757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56758 $(NORMAL_TARGET_EXPORTS) \
56759 (cd $(TARGET_SUBDIR)/libada && \
56760 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
56762 @endif target-libada
56764 .PHONY: install-target-libada maybe-install-target-libada
56765 maybe-install-target-libada:
56766 @if target-libada
56767 maybe-install-target-libada: install-target-libada
56769 install-target-libada: installdirs
56770 @: $(MAKE); $(unstage)
56771 @r=`${PWD_COMMAND}`; export r; \
56772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56773 $(NORMAL_TARGET_EXPORTS) \
56774 (cd $(TARGET_SUBDIR)/libada && \
56775 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
56777 @endif target-libada
56779 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
56780 maybe-install-strip-target-libada:
56781 @if target-libada
56782 maybe-install-strip-target-libada: install-strip-target-libada
56784 install-strip-target-libada: installdirs
56785 @: $(MAKE); $(unstage)
56786 @r=`${PWD_COMMAND}`; export r; \
56787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56788 $(NORMAL_TARGET_EXPORTS) \
56789 (cd $(TARGET_SUBDIR)/libada && \
56790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
56792 @endif target-libada
56794 # Other targets (info, dvi, pdf, etc.)
56796 .PHONY: maybe-info-target-libada info-target-libada
56797 maybe-info-target-libada:
56798 @if target-libada
56799 maybe-info-target-libada: info-target-libada
56801 info-target-libada: \
56802 configure-target-libada
56803 @: $(MAKE); $(unstage)
56804 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56805 r=`${PWD_COMMAND}`; export r; \
56806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56807 $(NORMAL_TARGET_EXPORTS) \
56808 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
56809 for flag in $(EXTRA_TARGET_FLAGS); do \
56810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56811 done; \
56812 (cd $(TARGET_SUBDIR)/libada && \
56813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56815 "RANLIB=$${RANLIB}" \
56816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56817 info) \
56818 || exit 1
56820 @endif target-libada
56822 .PHONY: maybe-dvi-target-libada dvi-target-libada
56823 maybe-dvi-target-libada:
56824 @if target-libada
56825 maybe-dvi-target-libada: dvi-target-libada
56827 dvi-target-libada: \
56828 configure-target-libada
56829 @: $(MAKE); $(unstage)
56830 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56831 r=`${PWD_COMMAND}`; export r; \
56832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56833 $(NORMAL_TARGET_EXPORTS) \
56834 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
56835 for flag in $(EXTRA_TARGET_FLAGS); do \
56836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56837 done; \
56838 (cd $(TARGET_SUBDIR)/libada && \
56839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56841 "RANLIB=$${RANLIB}" \
56842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56843 dvi) \
56844 || exit 1
56846 @endif target-libada
56848 .PHONY: maybe-pdf-target-libada pdf-target-libada
56849 maybe-pdf-target-libada:
56850 @if target-libada
56851 maybe-pdf-target-libada: pdf-target-libada
56853 pdf-target-libada: \
56854 configure-target-libada
56855 @: $(MAKE); $(unstage)
56856 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56857 r=`${PWD_COMMAND}`; export r; \
56858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56859 $(NORMAL_TARGET_EXPORTS) \
56860 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
56861 for flag in $(EXTRA_TARGET_FLAGS); do \
56862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56863 done; \
56864 (cd $(TARGET_SUBDIR)/libada && \
56865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56867 "RANLIB=$${RANLIB}" \
56868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56869 pdf) \
56870 || exit 1
56872 @endif target-libada
56874 .PHONY: maybe-html-target-libada html-target-libada
56875 maybe-html-target-libada:
56876 @if target-libada
56877 maybe-html-target-libada: html-target-libada
56879 html-target-libada: \
56880 configure-target-libada
56881 @: $(MAKE); $(unstage)
56882 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56883 r=`${PWD_COMMAND}`; export r; \
56884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56885 $(NORMAL_TARGET_EXPORTS) \
56886 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
56887 for flag in $(EXTRA_TARGET_FLAGS); do \
56888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56889 done; \
56890 (cd $(TARGET_SUBDIR)/libada && \
56891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56893 "RANLIB=$${RANLIB}" \
56894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56895 html) \
56896 || exit 1
56898 @endif target-libada
56900 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
56901 maybe-TAGS-target-libada:
56902 @if target-libada
56903 maybe-TAGS-target-libada: TAGS-target-libada
56905 TAGS-target-libada: \
56906 configure-target-libada
56907 @: $(MAKE); $(unstage)
56908 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56909 r=`${PWD_COMMAND}`; export r; \
56910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56911 $(NORMAL_TARGET_EXPORTS) \
56912 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
56913 for flag in $(EXTRA_TARGET_FLAGS); do \
56914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56915 done; \
56916 (cd $(TARGET_SUBDIR)/libada && \
56917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56919 "RANLIB=$${RANLIB}" \
56920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56921 TAGS) \
56922 || exit 1
56924 @endif target-libada
56926 .PHONY: maybe-install-info-target-libada install-info-target-libada
56927 maybe-install-info-target-libada:
56928 @if target-libada
56929 maybe-install-info-target-libada: install-info-target-libada
56931 install-info-target-libada: \
56932 configure-target-libada \
56933 info-target-libada
56934 @: $(MAKE); $(unstage)
56935 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56936 r=`${PWD_COMMAND}`; export r; \
56937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56938 $(NORMAL_TARGET_EXPORTS) \
56939 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
56940 for flag in $(EXTRA_TARGET_FLAGS); do \
56941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56942 done; \
56943 (cd $(TARGET_SUBDIR)/libada && \
56944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56946 "RANLIB=$${RANLIB}" \
56947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56948 install-info) \
56949 || exit 1
56951 @endif target-libada
56953 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
56954 maybe-install-pdf-target-libada:
56955 @if target-libada
56956 maybe-install-pdf-target-libada: install-pdf-target-libada
56958 install-pdf-target-libada: \
56959 configure-target-libada \
56960 pdf-target-libada
56961 @: $(MAKE); $(unstage)
56962 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56963 r=`${PWD_COMMAND}`; export r; \
56964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56965 $(NORMAL_TARGET_EXPORTS) \
56966 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
56967 for flag in $(EXTRA_TARGET_FLAGS); do \
56968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56969 done; \
56970 (cd $(TARGET_SUBDIR)/libada && \
56971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56973 "RANLIB=$${RANLIB}" \
56974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56975 install-pdf) \
56976 || exit 1
56978 @endif target-libada
56980 .PHONY: maybe-install-html-target-libada install-html-target-libada
56981 maybe-install-html-target-libada:
56982 @if target-libada
56983 maybe-install-html-target-libada: install-html-target-libada
56985 install-html-target-libada: \
56986 configure-target-libada \
56987 html-target-libada
56988 @: $(MAKE); $(unstage)
56989 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
56990 r=`${PWD_COMMAND}`; export r; \
56991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56992 $(NORMAL_TARGET_EXPORTS) \
56993 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
56994 for flag in $(EXTRA_TARGET_FLAGS); do \
56995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56996 done; \
56997 (cd $(TARGET_SUBDIR)/libada && \
56998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57000 "RANLIB=$${RANLIB}" \
57001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57002 install-html) \
57003 || exit 1
57005 @endif target-libada
57007 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
57008 maybe-installcheck-target-libada:
57009 @if target-libada
57010 maybe-installcheck-target-libada: installcheck-target-libada
57012 installcheck-target-libada: \
57013 configure-target-libada
57014 @: $(MAKE); $(unstage)
57015 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57016 r=`${PWD_COMMAND}`; export r; \
57017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57018 $(NORMAL_TARGET_EXPORTS) \
57019 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
57020 for flag in $(EXTRA_TARGET_FLAGS); do \
57021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57022 done; \
57023 (cd $(TARGET_SUBDIR)/libada && \
57024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57026 "RANLIB=$${RANLIB}" \
57027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57028 installcheck) \
57029 || exit 1
57031 @endif target-libada
57033 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
57034 maybe-mostlyclean-target-libada:
57035 @if target-libada
57036 maybe-mostlyclean-target-libada: mostlyclean-target-libada
57038 mostlyclean-target-libada:
57039 @: $(MAKE); $(unstage)
57040 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57041 r=`${PWD_COMMAND}`; export r; \
57042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57043 $(NORMAL_TARGET_EXPORTS) \
57044 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
57045 for flag in $(EXTRA_TARGET_FLAGS); do \
57046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57047 done; \
57048 (cd $(TARGET_SUBDIR)/libada && \
57049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57051 "RANLIB=$${RANLIB}" \
57052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57053 mostlyclean) \
57054 || exit 1
57056 @endif target-libada
57058 .PHONY: maybe-clean-target-libada clean-target-libada
57059 maybe-clean-target-libada:
57060 @if target-libada
57061 maybe-clean-target-libada: clean-target-libada
57063 clean-target-libada:
57064 @: $(MAKE); $(unstage)
57065 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57066 r=`${PWD_COMMAND}`; export r; \
57067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57068 $(NORMAL_TARGET_EXPORTS) \
57069 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
57070 for flag in $(EXTRA_TARGET_FLAGS); do \
57071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57072 done; \
57073 (cd $(TARGET_SUBDIR)/libada && \
57074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57076 "RANLIB=$${RANLIB}" \
57077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57078 clean) \
57079 || exit 1
57081 @endif target-libada
57083 .PHONY: maybe-distclean-target-libada distclean-target-libada
57084 maybe-distclean-target-libada:
57085 @if target-libada
57086 maybe-distclean-target-libada: distclean-target-libada
57088 distclean-target-libada:
57089 @: $(MAKE); $(unstage)
57090 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57091 r=`${PWD_COMMAND}`; export r; \
57092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57093 $(NORMAL_TARGET_EXPORTS) \
57094 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
57095 for flag in $(EXTRA_TARGET_FLAGS); do \
57096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57097 done; \
57098 (cd $(TARGET_SUBDIR)/libada && \
57099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57101 "RANLIB=$${RANLIB}" \
57102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57103 distclean) \
57104 || exit 1
57106 @endif target-libada
57108 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
57109 maybe-maintainer-clean-target-libada:
57110 @if target-libada
57111 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
57113 maintainer-clean-target-libada:
57114 @: $(MAKE); $(unstage)
57115 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
57116 r=`${PWD_COMMAND}`; export r; \
57117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57118 $(NORMAL_TARGET_EXPORTS) \
57119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
57120 for flag in $(EXTRA_TARGET_FLAGS); do \
57121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57122 done; \
57123 (cd $(TARGET_SUBDIR)/libada && \
57124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57126 "RANLIB=$${RANLIB}" \
57127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57128 maintainer-clean) \
57129 || exit 1
57131 @endif target-libada
57137 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
57138 maybe-configure-target-libgomp:
57139 @if gcc-bootstrap
57140 configure-target-libgomp: stage_current
57141 @endif gcc-bootstrap
57142 @if target-libgomp
57143 maybe-configure-target-libgomp: configure-target-libgomp
57144 configure-target-libgomp:
57145 @r=`${PWD_COMMAND}`; export r; \
57146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57147 echo "Checking multilib configuration for libgomp..."; \
57148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57149 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57150 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57151 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57152 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57153 else \
57154 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57155 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57156 fi; \
57157 else \
57158 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57159 fi; \
57160 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57162 $(NORMAL_TARGET_EXPORTS) \
57163 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
57164 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
57165 case $(srcdir) in \
57166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57167 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57169 esac; \
57170 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57171 libsrcdir="$$s/libgomp"; \
57172 rm -f no-such-file || : ; \
57173 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
57174 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57175 --target=${target_alias} $${srcdiroption} \
57176 || exit 1
57177 @endif target-libgomp
57181 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
57182 maybe-configure-stage1-target-libgomp:
57183 @if target-libgomp-bootstrap
57184 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
57185 configure-stage1-target-libgomp:
57186 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
57187 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57188 @r=`${PWD_COMMAND}`; export r; \
57189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57190 TFLAGS="$(STAGE1_TFLAGS)"; \
57191 echo "Checking multilib configuration for libgomp..."; \
57192 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57193 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57194 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57195 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57196 else \
57197 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57198 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57199 fi; \
57200 else \
57201 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57202 fi; \
57203 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57204 $(NORMAL_TARGET_EXPORTS) \
57205 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57206 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57207 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57208 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
57209 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57210 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57211 case $(srcdir) in \
57212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57213 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57215 esac; \
57216 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57217 libsrcdir="$$s/libgomp"; \
57218 $(SHELL) $${libsrcdir}/configure \
57219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57220 --target=${target_alias} $${srcdiroption} \
57221 $(STAGE1_CONFIGURE_FLAGS)
57222 @endif target-libgomp-bootstrap
57224 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
57225 maybe-configure-stage2-target-libgomp:
57226 @if target-libgomp-bootstrap
57227 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
57228 configure-stage2-target-libgomp:
57229 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
57230 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57231 @r=`${PWD_COMMAND}`; export r; \
57232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57233 TFLAGS="$(STAGE2_TFLAGS)"; \
57234 echo "Checking multilib configuration for libgomp..."; \
57235 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57236 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57237 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57238 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57239 else \
57240 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57241 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57242 fi; \
57243 else \
57244 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57245 fi; \
57246 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57247 $(NORMAL_TARGET_EXPORTS) \
57249 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57250 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57251 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57252 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
57253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57254 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57255 case $(srcdir) in \
57256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57257 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57259 esac; \
57260 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57261 libsrcdir="$$s/libgomp"; \
57262 $(SHELL) $${libsrcdir}/configure \
57263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57264 --target=${target_alias} $${srcdiroption} \
57265 --with-build-libsubdir=$(HOST_SUBDIR) \
57266 $(STAGE2_CONFIGURE_FLAGS)
57267 @endif target-libgomp-bootstrap
57269 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
57270 maybe-configure-stage3-target-libgomp:
57271 @if target-libgomp-bootstrap
57272 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
57273 configure-stage3-target-libgomp:
57274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
57275 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57276 @r=`${PWD_COMMAND}`; export r; \
57277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57278 TFLAGS="$(STAGE3_TFLAGS)"; \
57279 echo "Checking multilib configuration for libgomp..."; \
57280 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57281 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57282 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57283 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57284 else \
57285 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57286 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57287 fi; \
57288 else \
57289 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57290 fi; \
57291 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57292 $(NORMAL_TARGET_EXPORTS) \
57294 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57295 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57296 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57297 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
57298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57299 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57300 case $(srcdir) in \
57301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57302 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57304 esac; \
57305 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57306 libsrcdir="$$s/libgomp"; \
57307 $(SHELL) $${libsrcdir}/configure \
57308 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57309 --target=${target_alias} $${srcdiroption} \
57310 --with-build-libsubdir=$(HOST_SUBDIR) \
57311 $(STAGE3_CONFIGURE_FLAGS)
57312 @endif target-libgomp-bootstrap
57314 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
57315 maybe-configure-stage4-target-libgomp:
57316 @if target-libgomp-bootstrap
57317 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
57318 configure-stage4-target-libgomp:
57319 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
57320 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57321 @r=`${PWD_COMMAND}`; export r; \
57322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57323 TFLAGS="$(STAGE4_TFLAGS)"; \
57324 echo "Checking multilib configuration for libgomp..."; \
57325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57326 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57327 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57328 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57329 else \
57330 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57331 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57332 fi; \
57333 else \
57334 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57335 fi; \
57336 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57337 $(NORMAL_TARGET_EXPORTS) \
57339 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57340 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57341 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57342 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
57343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57344 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57345 case $(srcdir) in \
57346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57347 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57349 esac; \
57350 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57351 libsrcdir="$$s/libgomp"; \
57352 $(SHELL) $${libsrcdir}/configure \
57353 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57354 --target=${target_alias} $${srcdiroption} \
57355 --with-build-libsubdir=$(HOST_SUBDIR) \
57356 $(STAGE4_CONFIGURE_FLAGS)
57357 @endif target-libgomp-bootstrap
57359 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
57360 maybe-configure-stageprofile-target-libgomp:
57361 @if target-libgomp-bootstrap
57362 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
57363 configure-stageprofile-target-libgomp:
57364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57365 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57366 @r=`${PWD_COMMAND}`; export r; \
57367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57368 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57369 echo "Checking multilib configuration for libgomp..."; \
57370 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57371 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57372 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57373 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57374 else \
57375 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57376 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57377 fi; \
57378 else \
57379 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57380 fi; \
57381 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57382 $(NORMAL_TARGET_EXPORTS) \
57384 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57385 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57386 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57387 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
57388 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57389 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57390 case $(srcdir) in \
57391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57392 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57394 esac; \
57395 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57396 libsrcdir="$$s/libgomp"; \
57397 $(SHELL) $${libsrcdir}/configure \
57398 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57399 --target=${target_alias} $${srcdiroption} \
57400 --with-build-libsubdir=$(HOST_SUBDIR) \
57401 $(STAGEprofile_CONFIGURE_FLAGS)
57402 @endif target-libgomp-bootstrap
57404 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
57405 maybe-configure-stagefeedback-target-libgomp:
57406 @if target-libgomp-bootstrap
57407 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57408 configure-stagefeedback-target-libgomp:
57409 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57410 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
57411 @r=`${PWD_COMMAND}`; export r; \
57412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57413 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57414 echo "Checking multilib configuration for libgomp..."; \
57415 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
57416 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57417 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
57418 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
57419 else \
57420 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
57421 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57422 fi; \
57423 else \
57424 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
57425 fi; \
57426 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
57427 $(NORMAL_TARGET_EXPORTS) \
57429 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
57430 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
57431 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
57432 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
57433 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
57434 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
57435 case $(srcdir) in \
57436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57437 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
57438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57439 esac; \
57440 srcdiroption="--srcdir=$${topdir}/libgomp"; \
57441 libsrcdir="$$s/libgomp"; \
57442 $(SHELL) $${libsrcdir}/configure \
57443 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57444 --target=${target_alias} $${srcdiroption} \
57445 --with-build-libsubdir=$(HOST_SUBDIR) \
57446 $(STAGEfeedback_CONFIGURE_FLAGS)
57447 @endif target-libgomp-bootstrap
57453 .PHONY: all-target-libgomp maybe-all-target-libgomp
57454 maybe-all-target-libgomp:
57455 @if gcc-bootstrap
57456 all-target-libgomp: stage_current
57457 @endif gcc-bootstrap
57458 @if target-libgomp
57459 TARGET-target-libgomp=all
57460 maybe-all-target-libgomp: all-target-libgomp
57461 all-target-libgomp: configure-target-libgomp
57462 @r=`${PWD_COMMAND}`; export r; \
57463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57464 $(NORMAL_TARGET_EXPORTS) \
57465 (cd $(TARGET_SUBDIR)/libgomp && \
57466 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
57467 $(TARGET-target-libgomp))
57468 @endif target-libgomp
57472 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
57473 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
57474 maybe-all-stage1-target-libgomp:
57475 maybe-clean-stage1-target-libgomp:
57476 @if target-libgomp-bootstrap
57477 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
57478 all-stage1: all-stage1-target-libgomp
57479 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
57480 all-stage1-target-libgomp: configure-stage1-target-libgomp
57481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
57482 @r=`${PWD_COMMAND}`; export r; \
57483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57484 TFLAGS="$(STAGE1_TFLAGS)"; \
57485 $(NORMAL_TARGET_EXPORTS) \
57486 cd $(TARGET_SUBDIR)/libgomp && \
57487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57488 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57491 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57492 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57493 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57494 $(EXTRA_TARGET_FLAGS) \
57495 TFLAGS="$(STAGE1_TFLAGS)" \
57496 $(TARGET-stage1-target-libgomp)
57498 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
57499 clean-stage1: clean-stage1-target-libgomp
57500 clean-stage1-target-libgomp:
57501 @if [ $(current_stage) = stage1 ]; then \
57502 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57503 else \
57504 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
57505 $(MAKE) stage1-start; \
57506 fi; \
57507 cd $(TARGET_SUBDIR)/libgomp && \
57508 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57509 clean
57510 @endif target-libgomp-bootstrap
57513 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
57514 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
57515 maybe-all-stage2-target-libgomp:
57516 maybe-clean-stage2-target-libgomp:
57517 @if target-libgomp-bootstrap
57518 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
57519 all-stage2: all-stage2-target-libgomp
57520 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
57521 all-stage2-target-libgomp: configure-stage2-target-libgomp
57522 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
57523 @r=`${PWD_COMMAND}`; export r; \
57524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57525 TFLAGS="$(STAGE2_TFLAGS)"; \
57526 $(NORMAL_TARGET_EXPORTS) \
57528 cd $(TARGET_SUBDIR)/libgomp && \
57529 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57530 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57531 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57532 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57533 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57534 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57535 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57536 $(EXTRA_TARGET_FLAGS) \
57537 TFLAGS="$(STAGE2_TFLAGS)" \
57538 $(TARGET-stage2-target-libgomp)
57540 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
57541 clean-stage2: clean-stage2-target-libgomp
57542 clean-stage2-target-libgomp:
57543 @if [ $(current_stage) = stage2 ]; then \
57544 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57545 else \
57546 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
57547 $(MAKE) stage2-start; \
57548 fi; \
57549 cd $(TARGET_SUBDIR)/libgomp && \
57550 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57552 clean
57553 @endif target-libgomp-bootstrap
57556 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
57557 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
57558 maybe-all-stage3-target-libgomp:
57559 maybe-clean-stage3-target-libgomp:
57560 @if target-libgomp-bootstrap
57561 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
57562 all-stage3: all-stage3-target-libgomp
57563 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
57564 all-stage3-target-libgomp: configure-stage3-target-libgomp
57565 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
57566 @r=`${PWD_COMMAND}`; export r; \
57567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57568 TFLAGS="$(STAGE3_TFLAGS)"; \
57569 $(NORMAL_TARGET_EXPORTS) \
57571 cd $(TARGET_SUBDIR)/libgomp && \
57572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57573 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57574 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57575 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57579 $(EXTRA_TARGET_FLAGS) \
57580 TFLAGS="$(STAGE3_TFLAGS)" \
57581 $(TARGET-stage3-target-libgomp)
57583 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
57584 clean-stage3: clean-stage3-target-libgomp
57585 clean-stage3-target-libgomp:
57586 @if [ $(current_stage) = stage3 ]; then \
57587 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57588 else \
57589 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
57590 $(MAKE) stage3-start; \
57591 fi; \
57592 cd $(TARGET_SUBDIR)/libgomp && \
57593 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57595 clean
57596 @endif target-libgomp-bootstrap
57599 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
57600 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
57601 maybe-all-stage4-target-libgomp:
57602 maybe-clean-stage4-target-libgomp:
57603 @if target-libgomp-bootstrap
57604 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
57605 all-stage4: all-stage4-target-libgomp
57606 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
57607 all-stage4-target-libgomp: configure-stage4-target-libgomp
57608 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
57609 @r=`${PWD_COMMAND}`; export r; \
57610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57611 TFLAGS="$(STAGE4_TFLAGS)"; \
57612 $(NORMAL_TARGET_EXPORTS) \
57614 cd $(TARGET_SUBDIR)/libgomp && \
57615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57616 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57617 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57618 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57622 $(EXTRA_TARGET_FLAGS) \
57623 TFLAGS="$(STAGE4_TFLAGS)" \
57624 $(TARGET-stage4-target-libgomp)
57626 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
57627 clean-stage4: clean-stage4-target-libgomp
57628 clean-stage4-target-libgomp:
57629 @if [ $(current_stage) = stage4 ]; then \
57630 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57631 else \
57632 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
57633 $(MAKE) stage4-start; \
57634 fi; \
57635 cd $(TARGET_SUBDIR)/libgomp && \
57636 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57638 clean
57639 @endif target-libgomp-bootstrap
57642 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
57643 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
57644 maybe-all-stageprofile-target-libgomp:
57645 maybe-clean-stageprofile-target-libgomp:
57646 @if target-libgomp-bootstrap
57647 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
57648 all-stageprofile: all-stageprofile-target-libgomp
57649 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
57650 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
57651 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57652 @r=`${PWD_COMMAND}`; export r; \
57653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57654 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57655 $(NORMAL_TARGET_EXPORTS) \
57657 cd $(TARGET_SUBDIR)/libgomp && \
57658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57659 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57660 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57661 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57665 $(EXTRA_TARGET_FLAGS) \
57666 TFLAGS="$(STAGEprofile_TFLAGS)" \
57667 $(TARGET-stageprofile-target-libgomp)
57669 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
57670 clean-stageprofile: clean-stageprofile-target-libgomp
57671 clean-stageprofile-target-libgomp:
57672 @if [ $(current_stage) = stageprofile ]; then \
57673 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57674 else \
57675 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
57676 $(MAKE) stageprofile-start; \
57677 fi; \
57678 cd $(TARGET_SUBDIR)/libgomp && \
57679 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57681 clean
57682 @endif target-libgomp-bootstrap
57685 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
57686 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
57687 maybe-all-stagefeedback-target-libgomp:
57688 maybe-clean-stagefeedback-target-libgomp:
57689 @if target-libgomp-bootstrap
57690 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
57691 all-stagefeedback: all-stagefeedback-target-libgomp
57692 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
57693 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
57694 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57695 @r=`${PWD_COMMAND}`; export r; \
57696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57697 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57698 $(NORMAL_TARGET_EXPORTS) \
57700 cd $(TARGET_SUBDIR)/libgomp && \
57701 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57702 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57703 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57704 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57708 $(EXTRA_TARGET_FLAGS) \
57709 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57710 $(TARGET-stagefeedback-target-libgomp)
57712 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
57713 clean-stagefeedback: clean-stagefeedback-target-libgomp
57714 clean-stagefeedback-target-libgomp:
57715 @if [ $(current_stage) = stagefeedback ]; then \
57716 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
57717 else \
57718 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
57719 $(MAKE) stagefeedback-start; \
57720 fi; \
57721 cd $(TARGET_SUBDIR)/libgomp && \
57722 $(MAKE) $(EXTRA_TARGET_FLAGS) \
57724 clean
57725 @endif target-libgomp-bootstrap
57732 .PHONY: check-target-libgomp maybe-check-target-libgomp
57733 maybe-check-target-libgomp:
57734 @if target-libgomp
57735 maybe-check-target-libgomp: check-target-libgomp
57737 check-target-libgomp:
57738 @: $(MAKE); $(unstage)
57739 @r=`${PWD_COMMAND}`; export r; \
57740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57741 $(NORMAL_TARGET_EXPORTS) \
57742 (cd $(TARGET_SUBDIR)/libgomp && \
57743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57745 @endif target-libgomp
57747 .PHONY: install-target-libgomp maybe-install-target-libgomp
57748 maybe-install-target-libgomp:
57749 @if target-libgomp
57750 maybe-install-target-libgomp: install-target-libgomp
57752 install-target-libgomp: installdirs
57753 @: $(MAKE); $(unstage)
57754 @r=`${PWD_COMMAND}`; export r; \
57755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57756 $(NORMAL_TARGET_EXPORTS) \
57757 (cd $(TARGET_SUBDIR)/libgomp && \
57758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57760 @endif target-libgomp
57762 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
57763 maybe-install-strip-target-libgomp:
57764 @if target-libgomp
57765 maybe-install-strip-target-libgomp: install-strip-target-libgomp
57767 install-strip-target-libgomp: installdirs
57768 @: $(MAKE); $(unstage)
57769 @r=`${PWD_COMMAND}`; export r; \
57770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57771 $(NORMAL_TARGET_EXPORTS) \
57772 (cd $(TARGET_SUBDIR)/libgomp && \
57773 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57775 @endif target-libgomp
57777 # Other targets (info, dvi, pdf, etc.)
57779 .PHONY: maybe-info-target-libgomp info-target-libgomp
57780 maybe-info-target-libgomp:
57781 @if target-libgomp
57782 maybe-info-target-libgomp: info-target-libgomp
57784 info-target-libgomp: \
57785 configure-target-libgomp
57786 @: $(MAKE); $(unstage)
57787 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57788 r=`${PWD_COMMAND}`; export r; \
57789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57790 $(NORMAL_TARGET_EXPORTS) \
57791 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
57792 for flag in $(EXTRA_TARGET_FLAGS); do \
57793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57794 done; \
57795 (cd $(TARGET_SUBDIR)/libgomp && \
57796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57798 "RANLIB=$${RANLIB}" \
57799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57800 info) \
57801 || exit 1
57803 @endif target-libgomp
57805 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
57806 maybe-dvi-target-libgomp:
57807 @if target-libgomp
57808 maybe-dvi-target-libgomp: dvi-target-libgomp
57810 dvi-target-libgomp: \
57811 configure-target-libgomp
57812 @: $(MAKE); $(unstage)
57813 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57814 r=`${PWD_COMMAND}`; export r; \
57815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57816 $(NORMAL_TARGET_EXPORTS) \
57817 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
57818 for flag in $(EXTRA_TARGET_FLAGS); do \
57819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57820 done; \
57821 (cd $(TARGET_SUBDIR)/libgomp && \
57822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57824 "RANLIB=$${RANLIB}" \
57825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57826 dvi) \
57827 || exit 1
57829 @endif target-libgomp
57831 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
57832 maybe-pdf-target-libgomp:
57833 @if target-libgomp
57834 maybe-pdf-target-libgomp: pdf-target-libgomp
57836 pdf-target-libgomp: \
57837 configure-target-libgomp
57838 @: $(MAKE); $(unstage)
57839 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57840 r=`${PWD_COMMAND}`; export r; \
57841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57842 $(NORMAL_TARGET_EXPORTS) \
57843 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
57844 for flag in $(EXTRA_TARGET_FLAGS); do \
57845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57846 done; \
57847 (cd $(TARGET_SUBDIR)/libgomp && \
57848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57850 "RANLIB=$${RANLIB}" \
57851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57852 pdf) \
57853 || exit 1
57855 @endif target-libgomp
57857 .PHONY: maybe-html-target-libgomp html-target-libgomp
57858 maybe-html-target-libgomp:
57859 @if target-libgomp
57860 maybe-html-target-libgomp: html-target-libgomp
57862 html-target-libgomp: \
57863 configure-target-libgomp
57864 @: $(MAKE); $(unstage)
57865 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57866 r=`${PWD_COMMAND}`; export r; \
57867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57868 $(NORMAL_TARGET_EXPORTS) \
57869 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
57870 for flag in $(EXTRA_TARGET_FLAGS); do \
57871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57872 done; \
57873 (cd $(TARGET_SUBDIR)/libgomp && \
57874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57876 "RANLIB=$${RANLIB}" \
57877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57878 html) \
57879 || exit 1
57881 @endif target-libgomp
57883 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
57884 maybe-TAGS-target-libgomp:
57885 @if target-libgomp
57886 maybe-TAGS-target-libgomp: TAGS-target-libgomp
57888 TAGS-target-libgomp: \
57889 configure-target-libgomp
57890 @: $(MAKE); $(unstage)
57891 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57892 r=`${PWD_COMMAND}`; export r; \
57893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57894 $(NORMAL_TARGET_EXPORTS) \
57895 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
57896 for flag in $(EXTRA_TARGET_FLAGS); do \
57897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57898 done; \
57899 (cd $(TARGET_SUBDIR)/libgomp && \
57900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57902 "RANLIB=$${RANLIB}" \
57903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57904 TAGS) \
57905 || exit 1
57907 @endif target-libgomp
57909 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
57910 maybe-install-info-target-libgomp:
57911 @if target-libgomp
57912 maybe-install-info-target-libgomp: install-info-target-libgomp
57914 install-info-target-libgomp: \
57915 configure-target-libgomp \
57916 info-target-libgomp
57917 @: $(MAKE); $(unstage)
57918 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57919 r=`${PWD_COMMAND}`; export r; \
57920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57921 $(NORMAL_TARGET_EXPORTS) \
57922 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
57923 for flag in $(EXTRA_TARGET_FLAGS); do \
57924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57925 done; \
57926 (cd $(TARGET_SUBDIR)/libgomp && \
57927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57929 "RANLIB=$${RANLIB}" \
57930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57931 install-info) \
57932 || exit 1
57934 @endif target-libgomp
57936 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
57937 maybe-install-pdf-target-libgomp:
57938 @if target-libgomp
57939 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
57941 install-pdf-target-libgomp: \
57942 configure-target-libgomp \
57943 pdf-target-libgomp
57944 @: $(MAKE); $(unstage)
57945 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57946 r=`${PWD_COMMAND}`; export r; \
57947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57948 $(NORMAL_TARGET_EXPORTS) \
57949 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
57950 for flag in $(EXTRA_TARGET_FLAGS); do \
57951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57952 done; \
57953 (cd $(TARGET_SUBDIR)/libgomp && \
57954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57956 "RANLIB=$${RANLIB}" \
57957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57958 install-pdf) \
57959 || exit 1
57961 @endif target-libgomp
57963 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
57964 maybe-install-html-target-libgomp:
57965 @if target-libgomp
57966 maybe-install-html-target-libgomp: install-html-target-libgomp
57968 install-html-target-libgomp: \
57969 configure-target-libgomp \
57970 html-target-libgomp
57971 @: $(MAKE); $(unstage)
57972 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57973 r=`${PWD_COMMAND}`; export r; \
57974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57975 $(NORMAL_TARGET_EXPORTS) \
57976 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
57977 for flag in $(EXTRA_TARGET_FLAGS); do \
57978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57979 done; \
57980 (cd $(TARGET_SUBDIR)/libgomp && \
57981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57983 "RANLIB=$${RANLIB}" \
57984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57985 install-html) \
57986 || exit 1
57988 @endif target-libgomp
57990 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
57991 maybe-installcheck-target-libgomp:
57992 @if target-libgomp
57993 maybe-installcheck-target-libgomp: installcheck-target-libgomp
57995 installcheck-target-libgomp: \
57996 configure-target-libgomp
57997 @: $(MAKE); $(unstage)
57998 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
57999 r=`${PWD_COMMAND}`; export r; \
58000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58001 $(NORMAL_TARGET_EXPORTS) \
58002 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
58003 for flag in $(EXTRA_TARGET_FLAGS); do \
58004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58005 done; \
58006 (cd $(TARGET_SUBDIR)/libgomp && \
58007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58009 "RANLIB=$${RANLIB}" \
58010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58011 installcheck) \
58012 || exit 1
58014 @endif target-libgomp
58016 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
58017 maybe-mostlyclean-target-libgomp:
58018 @if target-libgomp
58019 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
58021 mostlyclean-target-libgomp:
58022 @: $(MAKE); $(unstage)
58023 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58024 r=`${PWD_COMMAND}`; export r; \
58025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58026 $(NORMAL_TARGET_EXPORTS) \
58027 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
58028 for flag in $(EXTRA_TARGET_FLAGS); do \
58029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58030 done; \
58031 (cd $(TARGET_SUBDIR)/libgomp && \
58032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58034 "RANLIB=$${RANLIB}" \
58035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58036 mostlyclean) \
58037 || exit 1
58039 @endif target-libgomp
58041 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
58042 maybe-clean-target-libgomp:
58043 @if target-libgomp
58044 maybe-clean-target-libgomp: clean-target-libgomp
58046 clean-target-libgomp:
58047 @: $(MAKE); $(unstage)
58048 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58049 r=`${PWD_COMMAND}`; export r; \
58050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58051 $(NORMAL_TARGET_EXPORTS) \
58052 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
58053 for flag in $(EXTRA_TARGET_FLAGS); do \
58054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58055 done; \
58056 (cd $(TARGET_SUBDIR)/libgomp && \
58057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58059 "RANLIB=$${RANLIB}" \
58060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58061 clean) \
58062 || exit 1
58064 @endif target-libgomp
58066 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
58067 maybe-distclean-target-libgomp:
58068 @if target-libgomp
58069 maybe-distclean-target-libgomp: distclean-target-libgomp
58071 distclean-target-libgomp:
58072 @: $(MAKE); $(unstage)
58073 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58074 r=`${PWD_COMMAND}`; export r; \
58075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58076 $(NORMAL_TARGET_EXPORTS) \
58077 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
58078 for flag in $(EXTRA_TARGET_FLAGS); do \
58079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58080 done; \
58081 (cd $(TARGET_SUBDIR)/libgomp && \
58082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58084 "RANLIB=$${RANLIB}" \
58085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58086 distclean) \
58087 || exit 1
58089 @endif target-libgomp
58091 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
58092 maybe-maintainer-clean-target-libgomp:
58093 @if target-libgomp
58094 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
58096 maintainer-clean-target-libgomp:
58097 @: $(MAKE); $(unstage)
58098 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
58099 r=`${PWD_COMMAND}`; export r; \
58100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58101 $(NORMAL_TARGET_EXPORTS) \
58102 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
58103 for flag in $(EXTRA_TARGET_FLAGS); do \
58104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58105 done; \
58106 (cd $(TARGET_SUBDIR)/libgomp && \
58107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58109 "RANLIB=$${RANLIB}" \
58110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58111 maintainer-clean) \
58112 || exit 1
58114 @endif target-libgomp
58118 # ----------
58119 # GCC module
58120 # ----------
58122 @if gcc-no-bootstrap
58123 .PHONY: cross
58124 cross: all-build all-gas all-ld
58125 @r=`${PWD_COMMAND}`; export r; \
58126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58127 $(HOST_EXPORTS) \
58128 echo "Building the C and C++ compiler"; \
58129 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
58130 @r=`${PWD_COMMAND}`; export r; \
58131 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
58132 echo "Building runtime libraries"; \
58133 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
58134 @endif gcc-no-bootstrap
58136 @if gcc
58138 .PHONY: check-gcc-c check-c
58139 check-gcc-c:
58140 r=`${PWD_COMMAND}`; export r; \
58141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58142 $(HOST_EXPORTS) \
58143 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
58144 check-c: check-gcc-c
58146 .PHONY: check-gcc-c++ check-c++
58147 check-gcc-c++:
58148 r=`${PWD_COMMAND}`; export r; \
58149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58150 $(HOST_EXPORTS) \
58151 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
58152 check-c++: check-gcc-c++ check-target-libstdc++-v3
58154 .PHONY: check-gcc-fortran check-fortran
58155 check-gcc-fortran:
58156 r=`${PWD_COMMAND}`; export r; \
58157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58158 $(HOST_EXPORTS) \
58159 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
58160 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
58162 .PHONY: check-gcc-java check-java
58163 check-gcc-java:
58164 r=`${PWD_COMMAND}`; export r; \
58165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58166 $(HOST_EXPORTS) \
58167 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
58168 check-java: check-gcc-java check-target-libjava
58170 .PHONY: check-gcc-ada check-ada
58171 check-gcc-ada:
58172 r=`${PWD_COMMAND}`; export r; \
58173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58174 $(HOST_EXPORTS) \
58175 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
58176 check-ada: check-gcc-ada check-target-libada
58178 .PHONY: check-gcc-objc check-objc
58179 check-gcc-objc:
58180 r=`${PWD_COMMAND}`; export r; \
58181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58182 $(HOST_EXPORTS) \
58183 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
58184 check-objc: check-gcc-objc check-target-libobjc
58186 .PHONY: check-gcc-obj-c++ check-obj-c++
58187 check-gcc-obj-c++:
58188 r=`${PWD_COMMAND}`; export r; \
58189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58190 $(HOST_EXPORTS) \
58191 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
58192 check-obj-c++: check-gcc-obj-c++
58194 .PHONY: check-gcc-go check-go
58195 check-gcc-go:
58196 r=`${PWD_COMMAND}`; export r; \
58197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58198 $(HOST_EXPORTS) \
58199 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
58200 check-go: check-gcc-go check-target-libgo
58203 # Install the gcc headers files, but not the fixed include files,
58204 # which Cygnus is not allowed to distribute. This rule is very
58205 # dependent on the workings of the gcc Makefile.in.
58206 .PHONY: gcc-no-fixedincludes
58207 gcc-no-fixedincludes:
58208 @if [ -f ./gcc/Makefile ]; then \
58209 rm -rf gcc/tmp-include; \
58210 mv gcc/include gcc/tmp-include 2>/dev/null; \
58211 mkdir gcc/include; \
58212 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
58213 touch gcc/stmp-fixinc gcc/include/fixed; \
58214 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
58215 r=`${PWD_COMMAND}`; export r; \
58216 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
58217 $(HOST_EXPORTS) \
58218 (cd ./gcc && \
58219 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
58220 rm -rf gcc/include; \
58221 mv gcc/tmp-include gcc/include 2>/dev/null; \
58222 else true; fi
58223 @endif gcc
58225 # ---------------------
58226 # GCC bootstrap support
58227 # ---------------------
58229 # We track the current stage (the one in 'gcc') in the stage_current file.
58230 # stage_last instead tracks the stage that was built last. These targets
58231 # are dummy when toplevel bootstrap is not active.
58233 # While making host and target tools, symlinks to the final stage must be
58234 # there, so $(unstage) should be run at various points. To avoid excessive
58235 # recursive invocations of make, we "inline" them using a variable. These
58236 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
58237 # to avoid warnings from the GNU Make job server.
58239 unstage = :
58240 stage = :
58241 current_stage = ""
58243 @if gcc-bootstrap
58244 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
58245 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
58246 current_stage = "`cat stage_current 2> /dev/null`"
58247 @endif gcc-bootstrap
58249 .PHONY: unstage stage
58250 unstage:
58251 @: $(MAKE); $(unstage)
58252 stage:
58253 @: $(MAKE); $(stage)
58255 # Disable commands for lean bootstrap.
58256 LEAN = false
58258 # We name the build directories for the various stages "stage1-gcc",
58259 # "stage2-gcc","stage3-gcc", etc.
58261 # Since the 'compare' process will fail (on debugging information) if any
58262 # directory names are different, we need to link the gcc directory for
58263 # the previous stage to a constant name ('prev-gcc'), and to make the name of
58264 # the build directories constant as well. For the latter, we use naked names
58265 # like 'gcc', because the scripts in that directory assume it. We use
58266 # mv on platforms where symlinks to directories do not work or are not
58267 # reliable.
58269 # 'touch' doesn't work right on some platforms.
58270 STAMP = echo timestamp >
58272 # We only want to compare .o files, so set this!
58273 objext = .o
58276 .PHONY: stage1-start stage1-end
58278 stage1-start::
58279 @: $(MAKE); $(stage); \
58280 echo stage1 > stage_current ; \
58281 echo stage1 > stage_last; \
58282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58283 @if bfd
58284 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
58285 mkdir stage1-bfd; \
58286 mv stage1-bfd bfd
58287 @endif bfd
58288 @if opcodes
58289 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
58290 mkdir stage1-opcodes; \
58291 mv stage1-opcodes opcodes
58292 @endif opcodes
58293 @if binutils
58294 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
58295 mkdir stage1-binutils; \
58296 mv stage1-binutils binutils
58297 @endif binutils
58298 @if gas
58299 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
58300 mkdir stage1-gas; \
58301 mv stage1-gas gas
58302 @endif gas
58303 @if gcc
58304 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
58305 mkdir stage1-gcc; \
58306 mv stage1-gcc gcc
58307 @endif gcc
58308 @if gmp
58309 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
58310 mkdir stage1-gmp; \
58311 mv stage1-gmp gmp
58312 @endif gmp
58313 @if mpfr
58314 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
58315 mkdir stage1-mpfr; \
58316 mv stage1-mpfr mpfr
58317 @endif mpfr
58318 @if mpc
58319 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
58320 mkdir stage1-mpc; \
58321 mv stage1-mpc mpc
58322 @endif mpc
58323 @if ppl
58324 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
58325 mkdir stage1-ppl; \
58326 mv stage1-ppl ppl
58327 @endif ppl
58328 @if cloog
58329 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
58330 mkdir stage1-cloog; \
58331 mv stage1-cloog cloog
58332 @endif cloog
58333 @if libelf
58334 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
58335 mkdir stage1-libelf; \
58336 mv stage1-libelf libelf
58337 @endif libelf
58338 @if gold
58339 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
58340 mkdir stage1-gold; \
58341 mv stage1-gold gold
58342 @endif gold
58343 @if intl
58344 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
58345 mkdir stage1-intl; \
58346 mv stage1-intl intl
58347 @endif intl
58348 @if ld
58349 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
58350 mkdir stage1-ld; \
58351 mv stage1-ld ld
58352 @endif ld
58353 @if libcpp
58354 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
58355 mkdir stage1-libcpp; \
58356 mv stage1-libcpp libcpp
58357 @endif libcpp
58358 @if libdecnumber
58359 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
58360 mkdir stage1-libdecnumber; \
58361 mv stage1-libdecnumber libdecnumber
58362 @endif libdecnumber
58363 @if libiberty
58364 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
58365 mkdir stage1-libiberty; \
58366 mv stage1-libiberty libiberty
58367 @endif libiberty
58368 @if zlib
58369 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
58370 mkdir stage1-zlib; \
58371 mv stage1-zlib zlib
58372 @endif zlib
58373 @if lto-plugin
58374 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
58375 mkdir stage1-lto-plugin; \
58376 mv stage1-lto-plugin lto-plugin
58377 @endif lto-plugin
58378 @[ -d stage1-$(TARGET_SUBDIR) ] || \
58379 mkdir stage1-$(TARGET_SUBDIR); \
58380 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
58382 stage1-end::
58383 @if bfd
58384 @if test -d $(HOST_SUBDIR)/bfd ; then \
58385 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
58387 @endif bfd
58388 @if opcodes
58389 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58390 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
58392 @endif opcodes
58393 @if binutils
58394 @if test -d $(HOST_SUBDIR)/binutils ; then \
58395 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
58397 @endif binutils
58398 @if gas
58399 @if test -d $(HOST_SUBDIR)/gas ; then \
58400 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
58402 @endif gas
58403 @if gcc
58404 @if test -d $(HOST_SUBDIR)/gcc ; then \
58405 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
58407 @endif gcc
58408 @if gmp
58409 @if test -d $(HOST_SUBDIR)/gmp ; then \
58410 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
58412 @endif gmp
58413 @if mpfr
58414 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58415 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
58417 @endif mpfr
58418 @if mpc
58419 @if test -d $(HOST_SUBDIR)/mpc ; then \
58420 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
58422 @endif mpc
58423 @if ppl
58424 @if test -d $(HOST_SUBDIR)/ppl ; then \
58425 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
58427 @endif ppl
58428 @if cloog
58429 @if test -d $(HOST_SUBDIR)/cloog ; then \
58430 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
58432 @endif cloog
58433 @if libelf
58434 @if test -d $(HOST_SUBDIR)/libelf ; then \
58435 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
58437 @endif libelf
58438 @if gold
58439 @if test -d $(HOST_SUBDIR)/gold ; then \
58440 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
58442 @endif gold
58443 @if intl
58444 @if test -d $(HOST_SUBDIR)/intl ; then \
58445 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
58447 @endif intl
58448 @if ld
58449 @if test -d $(HOST_SUBDIR)/ld ; then \
58450 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
58452 @endif ld
58453 @if libcpp
58454 @if test -d $(HOST_SUBDIR)/libcpp ; then \
58455 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
58457 @endif libcpp
58458 @if libdecnumber
58459 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
58460 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
58462 @endif libdecnumber
58463 @if libiberty
58464 @if test -d $(HOST_SUBDIR)/libiberty ; then \
58465 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
58467 @endif libiberty
58468 @if zlib
58469 @if test -d $(HOST_SUBDIR)/zlib ; then \
58470 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
58472 @endif zlib
58473 @if lto-plugin
58474 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
58475 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
58477 @endif lto-plugin
58478 @if test -d $(TARGET_SUBDIR) ; then \
58479 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
58481 rm -f stage_current
58483 # Bubble a bug fix through all the stages up to stage 1. They are
58484 # remade, but not reconfigured. The next stage (if any) will not be
58485 # reconfigured either.
58486 .PHONY: stage1-bubble
58487 stage1-bubble::
58488 @r=`${PWD_COMMAND}`; export r; \
58489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58490 if test -f stage1-lean ; then \
58491 echo Skipping rebuild of stage1 ; \
58492 else \
58493 $(MAKE) stage1-start; \
58494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
58497 .PHONY: all-stage1 clean-stage1
58498 do-clean: clean-stage1
58500 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58501 # only possibility, but now it conflicts with no-bootstrap rules
58502 @if gcc-bootstrap
58507 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58509 .PHONY: distclean-stage1
58510 distclean-stage1::
58511 @: $(MAKE); $(stage)
58512 @test "`cat stage_last`" != stage1 || rm -f stage_last
58513 rm -rf stage1-*
58516 @endif gcc-bootstrap
58519 .PHONY: stage2-start stage2-end
58521 stage2-start::
58522 @: $(MAKE); $(stage); \
58523 echo stage2 > stage_current ; \
58524 echo stage2 > stage_last; \
58525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58526 @if bfd
58527 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
58528 mkdir stage2-bfd; \
58529 mv stage2-bfd bfd ; \
58530 mv stage1-bfd prev-bfd || test -f stage1-lean
58531 @endif bfd
58532 @if opcodes
58533 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
58534 mkdir stage2-opcodes; \
58535 mv stage2-opcodes opcodes ; \
58536 mv stage1-opcodes prev-opcodes || test -f stage1-lean
58537 @endif opcodes
58538 @if binutils
58539 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
58540 mkdir stage2-binutils; \
58541 mv stage2-binutils binutils ; \
58542 mv stage1-binutils prev-binutils || test -f stage1-lean
58543 @endif binutils
58544 @if gas
58545 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
58546 mkdir stage2-gas; \
58547 mv stage2-gas gas ; \
58548 mv stage1-gas prev-gas || test -f stage1-lean
58549 @endif gas
58550 @if gcc
58551 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
58552 mkdir stage2-gcc; \
58553 mv stage2-gcc gcc ; \
58554 mv stage1-gcc prev-gcc || test -f stage1-lean
58555 @endif gcc
58556 @if gmp
58557 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
58558 mkdir stage2-gmp; \
58559 mv stage2-gmp gmp ; \
58560 mv stage1-gmp prev-gmp || test -f stage1-lean
58561 @endif gmp
58562 @if mpfr
58563 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
58564 mkdir stage2-mpfr; \
58565 mv stage2-mpfr mpfr ; \
58566 mv stage1-mpfr prev-mpfr || test -f stage1-lean
58567 @endif mpfr
58568 @if mpc
58569 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
58570 mkdir stage2-mpc; \
58571 mv stage2-mpc mpc ; \
58572 mv stage1-mpc prev-mpc || test -f stage1-lean
58573 @endif mpc
58574 @if ppl
58575 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
58576 mkdir stage2-ppl; \
58577 mv stage2-ppl ppl ; \
58578 mv stage1-ppl prev-ppl || test -f stage1-lean
58579 @endif ppl
58580 @if cloog
58581 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
58582 mkdir stage2-cloog; \
58583 mv stage2-cloog cloog ; \
58584 mv stage1-cloog prev-cloog || test -f stage1-lean
58585 @endif cloog
58586 @if libelf
58587 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
58588 mkdir stage2-libelf; \
58589 mv stage2-libelf libelf ; \
58590 mv stage1-libelf prev-libelf || test -f stage1-lean
58591 @endif libelf
58592 @if gold
58593 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
58594 mkdir stage2-gold; \
58595 mv stage2-gold gold ; \
58596 mv stage1-gold prev-gold || test -f stage1-lean
58597 @endif gold
58598 @if intl
58599 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
58600 mkdir stage2-intl; \
58601 mv stage2-intl intl ; \
58602 mv stage1-intl prev-intl || test -f stage1-lean
58603 @endif intl
58604 @if ld
58605 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
58606 mkdir stage2-ld; \
58607 mv stage2-ld ld ; \
58608 mv stage1-ld prev-ld || test -f stage1-lean
58609 @endif ld
58610 @if libcpp
58611 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
58612 mkdir stage2-libcpp; \
58613 mv stage2-libcpp libcpp ; \
58614 mv stage1-libcpp prev-libcpp || test -f stage1-lean
58615 @endif libcpp
58616 @if libdecnumber
58617 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
58618 mkdir stage2-libdecnumber; \
58619 mv stage2-libdecnumber libdecnumber ; \
58620 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
58621 @endif libdecnumber
58622 @if libiberty
58623 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
58624 mkdir stage2-libiberty; \
58625 mv stage2-libiberty libiberty ; \
58626 mv stage1-libiberty prev-libiberty || test -f stage1-lean
58627 @endif libiberty
58628 @if zlib
58629 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
58630 mkdir stage2-zlib; \
58631 mv stage2-zlib zlib ; \
58632 mv stage1-zlib prev-zlib || test -f stage1-lean
58633 @endif zlib
58634 @if lto-plugin
58635 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
58636 mkdir stage2-lto-plugin; \
58637 mv stage2-lto-plugin lto-plugin ; \
58638 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
58639 @endif lto-plugin
58640 @[ -d stage2-$(TARGET_SUBDIR) ] || \
58641 mkdir stage2-$(TARGET_SUBDIR); \
58642 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
58643 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
58645 stage2-end::
58646 @if bfd
58647 @if test -d $(HOST_SUBDIR)/bfd ; then \
58648 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
58649 mv prev-bfd stage1-bfd ; : ; \
58651 @endif bfd
58652 @if opcodes
58653 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58654 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
58655 mv prev-opcodes stage1-opcodes ; : ; \
58657 @endif opcodes
58658 @if binutils
58659 @if test -d $(HOST_SUBDIR)/binutils ; then \
58660 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
58661 mv prev-binutils stage1-binutils ; : ; \
58663 @endif binutils
58664 @if gas
58665 @if test -d $(HOST_SUBDIR)/gas ; then \
58666 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
58667 mv prev-gas stage1-gas ; : ; \
58669 @endif gas
58670 @if gcc
58671 @if test -d $(HOST_SUBDIR)/gcc ; then \
58672 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
58673 mv prev-gcc stage1-gcc ; : ; \
58675 @endif gcc
58676 @if gmp
58677 @if test -d $(HOST_SUBDIR)/gmp ; then \
58678 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
58679 mv prev-gmp stage1-gmp ; : ; \
58681 @endif gmp
58682 @if mpfr
58683 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58684 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
58685 mv prev-mpfr stage1-mpfr ; : ; \
58687 @endif mpfr
58688 @if mpc
58689 @if test -d $(HOST_SUBDIR)/mpc ; then \
58690 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
58691 mv prev-mpc stage1-mpc ; : ; \
58693 @endif mpc
58694 @if ppl
58695 @if test -d $(HOST_SUBDIR)/ppl ; then \
58696 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
58697 mv prev-ppl stage1-ppl ; : ; \
58699 @endif ppl
58700 @if cloog
58701 @if test -d $(HOST_SUBDIR)/cloog ; then \
58702 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
58703 mv prev-cloog stage1-cloog ; : ; \
58705 @endif cloog
58706 @if libelf
58707 @if test -d $(HOST_SUBDIR)/libelf ; then \
58708 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
58709 mv prev-libelf stage1-libelf ; : ; \
58711 @endif libelf
58712 @if gold
58713 @if test -d $(HOST_SUBDIR)/gold ; then \
58714 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
58715 mv prev-gold stage1-gold ; : ; \
58717 @endif gold
58718 @if intl
58719 @if test -d $(HOST_SUBDIR)/intl ; then \
58720 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
58721 mv prev-intl stage1-intl ; : ; \
58723 @endif intl
58724 @if ld
58725 @if test -d $(HOST_SUBDIR)/ld ; then \
58726 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
58727 mv prev-ld stage1-ld ; : ; \
58729 @endif ld
58730 @if libcpp
58731 @if test -d $(HOST_SUBDIR)/libcpp ; then \
58732 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
58733 mv prev-libcpp stage1-libcpp ; : ; \
58735 @endif libcpp
58736 @if libdecnumber
58737 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
58738 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
58739 mv prev-libdecnumber stage1-libdecnumber ; : ; \
58741 @endif libdecnumber
58742 @if libiberty
58743 @if test -d $(HOST_SUBDIR)/libiberty ; then \
58744 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
58745 mv prev-libiberty stage1-libiberty ; : ; \
58747 @endif libiberty
58748 @if zlib
58749 @if test -d $(HOST_SUBDIR)/zlib ; then \
58750 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
58751 mv prev-zlib stage1-zlib ; : ; \
58753 @endif zlib
58754 @if lto-plugin
58755 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
58756 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
58757 mv prev-lto-plugin stage1-lto-plugin ; : ; \
58759 @endif lto-plugin
58760 @if test -d $(TARGET_SUBDIR) ; then \
58761 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
58762 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
58764 rm -f stage_current
58766 # Bubble a bug fix through all the stages up to stage 2. They are
58767 # remade, but not reconfigured. The next stage (if any) will not be
58768 # reconfigured either.
58769 .PHONY: stage2-bubble
58770 stage2-bubble:: stage1-bubble
58771 @r=`${PWD_COMMAND}`; export r; \
58772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58773 if test -f stage2-lean || test -f stage1-lean ; then \
58774 echo Skipping rebuild of stage2 ; \
58775 else \
58776 $(MAKE) stage2-start; \
58777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
58780 .PHONY: all-stage2 clean-stage2
58781 do-clean: clean-stage2
58783 # FIXME: Will not need to be conditional when toplevel bootstrap is the
58784 # only possibility, but now it conflicts with no-bootstrap rules
58785 @if gcc-bootstrap
58789 .PHONY: bootstrap2 bootstrap2-lean
58790 bootstrap2:
58791 echo stage2 > stage_final
58792 @r=`${PWD_COMMAND}`; export r; \
58793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58794 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
58795 @: $(MAKE); $(unstage)
58796 @r=`${PWD_COMMAND}`; export r; \
58797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58798 TFLAGS="$(STAGE2_TFLAGS)"; \
58799 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58801 bootstrap2-lean:
58802 echo stage2 > stage_final
58803 @r=`${PWD_COMMAND}`; export r; \
58804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
58806 @: $(MAKE); $(unstage)
58807 @r=`${PWD_COMMAND}`; export r; \
58808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58809 TFLAGS="$(STAGE2_TFLAGS)"; \
58810 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
58813 # Rules to wipe a stage and all the following ones, also used for cleanstrap
58814 distclean-stage1:: distclean-stage2
58815 .PHONY: distclean-stage2
58816 distclean-stage2::
58817 @: $(MAKE); $(stage)
58818 @test "`cat stage_last`" != stage2 || rm -f stage_last
58819 rm -rf stage2-*
58822 @endif gcc-bootstrap
58825 .PHONY: stage3-start stage3-end
58827 stage3-start::
58828 @: $(MAKE); $(stage); \
58829 echo stage3 > stage_current ; \
58830 echo stage3 > stage_last; \
58831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
58832 @if bfd
58833 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
58834 mkdir stage3-bfd; \
58835 mv stage3-bfd bfd ; \
58836 mv stage2-bfd prev-bfd || test -f stage2-lean
58837 @endif bfd
58838 @if opcodes
58839 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
58840 mkdir stage3-opcodes; \
58841 mv stage3-opcodes opcodes ; \
58842 mv stage2-opcodes prev-opcodes || test -f stage2-lean
58843 @endif opcodes
58844 @if binutils
58845 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
58846 mkdir stage3-binutils; \
58847 mv stage3-binutils binutils ; \
58848 mv stage2-binutils prev-binutils || test -f stage2-lean
58849 @endif binutils
58850 @if gas
58851 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
58852 mkdir stage3-gas; \
58853 mv stage3-gas gas ; \
58854 mv stage2-gas prev-gas || test -f stage2-lean
58855 @endif gas
58856 @if gcc
58857 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
58858 mkdir stage3-gcc; \
58859 mv stage3-gcc gcc ; \
58860 mv stage2-gcc prev-gcc || test -f stage2-lean
58861 @endif gcc
58862 @if gmp
58863 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
58864 mkdir stage3-gmp; \
58865 mv stage3-gmp gmp ; \
58866 mv stage2-gmp prev-gmp || test -f stage2-lean
58867 @endif gmp
58868 @if mpfr
58869 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
58870 mkdir stage3-mpfr; \
58871 mv stage3-mpfr mpfr ; \
58872 mv stage2-mpfr prev-mpfr || test -f stage2-lean
58873 @endif mpfr
58874 @if mpc
58875 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
58876 mkdir stage3-mpc; \
58877 mv stage3-mpc mpc ; \
58878 mv stage2-mpc prev-mpc || test -f stage2-lean
58879 @endif mpc
58880 @if ppl
58881 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
58882 mkdir stage3-ppl; \
58883 mv stage3-ppl ppl ; \
58884 mv stage2-ppl prev-ppl || test -f stage2-lean
58885 @endif ppl
58886 @if cloog
58887 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
58888 mkdir stage3-cloog; \
58889 mv stage3-cloog cloog ; \
58890 mv stage2-cloog prev-cloog || test -f stage2-lean
58891 @endif cloog
58892 @if libelf
58893 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
58894 mkdir stage3-libelf; \
58895 mv stage3-libelf libelf ; \
58896 mv stage2-libelf prev-libelf || test -f stage2-lean
58897 @endif libelf
58898 @if gold
58899 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
58900 mkdir stage3-gold; \
58901 mv stage3-gold gold ; \
58902 mv stage2-gold prev-gold || test -f stage2-lean
58903 @endif gold
58904 @if intl
58905 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
58906 mkdir stage3-intl; \
58907 mv stage3-intl intl ; \
58908 mv stage2-intl prev-intl || test -f stage2-lean
58909 @endif intl
58910 @if ld
58911 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
58912 mkdir stage3-ld; \
58913 mv stage3-ld ld ; \
58914 mv stage2-ld prev-ld || test -f stage2-lean
58915 @endif ld
58916 @if libcpp
58917 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
58918 mkdir stage3-libcpp; \
58919 mv stage3-libcpp libcpp ; \
58920 mv stage2-libcpp prev-libcpp || test -f stage2-lean
58921 @endif libcpp
58922 @if libdecnumber
58923 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
58924 mkdir stage3-libdecnumber; \
58925 mv stage3-libdecnumber libdecnumber ; \
58926 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
58927 @endif libdecnumber
58928 @if libiberty
58929 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
58930 mkdir stage3-libiberty; \
58931 mv stage3-libiberty libiberty ; \
58932 mv stage2-libiberty prev-libiberty || test -f stage2-lean
58933 @endif libiberty
58934 @if zlib
58935 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
58936 mkdir stage3-zlib; \
58937 mv stage3-zlib zlib ; \
58938 mv stage2-zlib prev-zlib || test -f stage2-lean
58939 @endif zlib
58940 @if lto-plugin
58941 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
58942 mkdir stage3-lto-plugin; \
58943 mv stage3-lto-plugin lto-plugin ; \
58944 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
58945 @endif lto-plugin
58946 @[ -d stage3-$(TARGET_SUBDIR) ] || \
58947 mkdir stage3-$(TARGET_SUBDIR); \
58948 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
58949 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
58951 stage3-end::
58952 @if bfd
58953 @if test -d $(HOST_SUBDIR)/bfd ; then \
58954 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
58955 mv prev-bfd stage2-bfd ; : ; \
58957 @endif bfd
58958 @if opcodes
58959 @if test -d $(HOST_SUBDIR)/opcodes ; then \
58960 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
58961 mv prev-opcodes stage2-opcodes ; : ; \
58963 @endif opcodes
58964 @if binutils
58965 @if test -d $(HOST_SUBDIR)/binutils ; then \
58966 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
58967 mv prev-binutils stage2-binutils ; : ; \
58969 @endif binutils
58970 @if gas
58971 @if test -d $(HOST_SUBDIR)/gas ; then \
58972 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
58973 mv prev-gas stage2-gas ; : ; \
58975 @endif gas
58976 @if gcc
58977 @if test -d $(HOST_SUBDIR)/gcc ; then \
58978 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
58979 mv prev-gcc stage2-gcc ; : ; \
58981 @endif gcc
58982 @if gmp
58983 @if test -d $(HOST_SUBDIR)/gmp ; then \
58984 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
58985 mv prev-gmp stage2-gmp ; : ; \
58987 @endif gmp
58988 @if mpfr
58989 @if test -d $(HOST_SUBDIR)/mpfr ; then \
58990 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
58991 mv prev-mpfr stage2-mpfr ; : ; \
58993 @endif mpfr
58994 @if mpc
58995 @if test -d $(HOST_SUBDIR)/mpc ; then \
58996 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
58997 mv prev-mpc stage2-mpc ; : ; \
58999 @endif mpc
59000 @if ppl
59001 @if test -d $(HOST_SUBDIR)/ppl ; then \
59002 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
59003 mv prev-ppl stage2-ppl ; : ; \
59005 @endif ppl
59006 @if cloog
59007 @if test -d $(HOST_SUBDIR)/cloog ; then \
59008 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
59009 mv prev-cloog stage2-cloog ; : ; \
59011 @endif cloog
59012 @if libelf
59013 @if test -d $(HOST_SUBDIR)/libelf ; then \
59014 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
59015 mv prev-libelf stage2-libelf ; : ; \
59017 @endif libelf
59018 @if gold
59019 @if test -d $(HOST_SUBDIR)/gold ; then \
59020 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
59021 mv prev-gold stage2-gold ; : ; \
59023 @endif gold
59024 @if intl
59025 @if test -d $(HOST_SUBDIR)/intl ; then \
59026 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
59027 mv prev-intl stage2-intl ; : ; \
59029 @endif intl
59030 @if ld
59031 @if test -d $(HOST_SUBDIR)/ld ; then \
59032 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
59033 mv prev-ld stage2-ld ; : ; \
59035 @endif ld
59036 @if libcpp
59037 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59038 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
59039 mv prev-libcpp stage2-libcpp ; : ; \
59041 @endif libcpp
59042 @if libdecnumber
59043 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59044 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
59045 mv prev-libdecnumber stage2-libdecnumber ; : ; \
59047 @endif libdecnumber
59048 @if libiberty
59049 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59050 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
59051 mv prev-libiberty stage2-libiberty ; : ; \
59053 @endif libiberty
59054 @if zlib
59055 @if test -d $(HOST_SUBDIR)/zlib ; then \
59056 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
59057 mv prev-zlib stage2-zlib ; : ; \
59059 @endif zlib
59060 @if lto-plugin
59061 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59062 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
59063 mv prev-lto-plugin stage2-lto-plugin ; : ; \
59065 @endif lto-plugin
59066 @if test -d $(TARGET_SUBDIR) ; then \
59067 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
59068 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
59070 rm -f stage_current
59072 # Bubble a bug fix through all the stages up to stage 3. They are
59073 # remade, but not reconfigured. The next stage (if any) will not be
59074 # reconfigured either.
59075 .PHONY: stage3-bubble
59076 stage3-bubble:: stage2-bubble
59077 @r=`${PWD_COMMAND}`; export r; \
59078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59079 if test -f stage3-lean || test -f stage2-lean ; then \
59080 echo Skipping rebuild of stage3 ; \
59081 else \
59082 $(MAKE) stage3-start; \
59083 if $(LEAN); then \
59084 rm -rf stage1-* ; \
59085 $(STAMP) stage1-lean ; \
59086 fi; \
59087 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
59089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
59091 .PHONY: all-stage3 clean-stage3
59092 do-clean: clean-stage3
59094 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59095 # only possibility, but now it conflicts with no-bootstrap rules
59096 @if gcc-bootstrap
59098 compare:
59099 @r=`${PWD_COMMAND}`; export r; \
59100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59101 if test -f stage2-lean; then \
59102 echo Cannot compare object files as stage 2 was deleted. ; \
59103 exit 0 ; \
59104 fi; \
59105 : $(MAKE); $(stage); \
59106 rm -f .bad_compare ; \
59107 echo Comparing stages 2 and 3 ; \
59108 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
59109 files=`find stage3-* -name "*$(objext)" -print | \
59110 sed -n s,^stage$$sed-,,p` ; \
59111 for file in $${files} ; do \
59112 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
59113 if test ! -f $$f1; then continue; fi; \
59114 $(do-compare) > /dev/null 2>&1; \
59115 if test $$? -eq 1; then \
59116 case $$file in \
59117 @compare_exclusions@) \
59118 echo warning: $$file differs ;; \
59119 *) \
59120 echo $$file differs >> .bad_compare ;; \
59121 esac ; \
59122 fi ; \
59123 done ; \
59124 if [ -f .bad_compare ]; then \
59125 echo "Bootstrap comparison failure!"; \
59126 cat .bad_compare; \
59127 exit 1; \
59128 else \
59129 echo Comparison successful.; \
59130 fi ; \
59131 $(STAMP) compare
59132 if $(LEAN); then \
59133 rm -rf stage2-*; \
59134 $(STAMP) stage2-lean; \
59139 .PHONY: bootstrap bootstrap-lean
59140 bootstrap:
59141 echo stage3 > stage_final
59142 @r=`${PWD_COMMAND}`; export r; \
59143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59144 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
59145 @: $(MAKE); $(unstage)
59146 @r=`${PWD_COMMAND}`; export r; \
59147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59148 TFLAGS="$(STAGE3_TFLAGS)"; \
59149 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59151 bootstrap-lean:
59152 echo stage3 > stage_final
59153 @r=`${PWD_COMMAND}`; export r; \
59154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59155 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
59156 @: $(MAKE); $(unstage)
59157 @r=`${PWD_COMMAND}`; export r; \
59158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59159 TFLAGS="$(STAGE3_TFLAGS)"; \
59160 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59163 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59164 distclean-stage2:: distclean-stage3
59165 .PHONY: distclean-stage3
59166 distclean-stage3::
59167 @: $(MAKE); $(stage)
59168 @test "`cat stage_last`" != stage3 || rm -f stage_last
59169 rm -rf stage3-* compare
59172 .PHONY: cleanstrap
59173 cleanstrap: do-distclean local-clean
59174 echo stage3 > stage_final
59175 @r=`${PWD_COMMAND}`; export r; \
59176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59177 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
59178 @: $(MAKE); $(unstage)
59179 @r=`${PWD_COMMAND}`; export r; \
59180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59181 TFLAGS="$(STAGE3_TFLAGS)"; \
59182 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59184 @endif gcc-bootstrap
59187 .PHONY: stage4-start stage4-end
59189 stage4-start::
59190 @: $(MAKE); $(stage); \
59191 echo stage4 > stage_current ; \
59192 echo stage4 > stage_last; \
59193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59194 @if bfd
59195 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
59196 mkdir stage4-bfd; \
59197 mv stage4-bfd bfd ; \
59198 mv stage3-bfd prev-bfd || test -f stage3-lean
59199 @endif bfd
59200 @if opcodes
59201 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
59202 mkdir stage4-opcodes; \
59203 mv stage4-opcodes opcodes ; \
59204 mv stage3-opcodes prev-opcodes || test -f stage3-lean
59205 @endif opcodes
59206 @if binutils
59207 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
59208 mkdir stage4-binutils; \
59209 mv stage4-binutils binutils ; \
59210 mv stage3-binutils prev-binutils || test -f stage3-lean
59211 @endif binutils
59212 @if gas
59213 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
59214 mkdir stage4-gas; \
59215 mv stage4-gas gas ; \
59216 mv stage3-gas prev-gas || test -f stage3-lean
59217 @endif gas
59218 @if gcc
59219 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
59220 mkdir stage4-gcc; \
59221 mv stage4-gcc gcc ; \
59222 mv stage3-gcc prev-gcc || test -f stage3-lean
59223 @endif gcc
59224 @if gmp
59225 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
59226 mkdir stage4-gmp; \
59227 mv stage4-gmp gmp ; \
59228 mv stage3-gmp prev-gmp || test -f stage3-lean
59229 @endif gmp
59230 @if mpfr
59231 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
59232 mkdir stage4-mpfr; \
59233 mv stage4-mpfr mpfr ; \
59234 mv stage3-mpfr prev-mpfr || test -f stage3-lean
59235 @endif mpfr
59236 @if mpc
59237 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
59238 mkdir stage4-mpc; \
59239 mv stage4-mpc mpc ; \
59240 mv stage3-mpc prev-mpc || test -f stage3-lean
59241 @endif mpc
59242 @if ppl
59243 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
59244 mkdir stage4-ppl; \
59245 mv stage4-ppl ppl ; \
59246 mv stage3-ppl prev-ppl || test -f stage3-lean
59247 @endif ppl
59248 @if cloog
59249 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
59250 mkdir stage4-cloog; \
59251 mv stage4-cloog cloog ; \
59252 mv stage3-cloog prev-cloog || test -f stage3-lean
59253 @endif cloog
59254 @if libelf
59255 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
59256 mkdir stage4-libelf; \
59257 mv stage4-libelf libelf ; \
59258 mv stage3-libelf prev-libelf || test -f stage3-lean
59259 @endif libelf
59260 @if gold
59261 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
59262 mkdir stage4-gold; \
59263 mv stage4-gold gold ; \
59264 mv stage3-gold prev-gold || test -f stage3-lean
59265 @endif gold
59266 @if intl
59267 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
59268 mkdir stage4-intl; \
59269 mv stage4-intl intl ; \
59270 mv stage3-intl prev-intl || test -f stage3-lean
59271 @endif intl
59272 @if ld
59273 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
59274 mkdir stage4-ld; \
59275 mv stage4-ld ld ; \
59276 mv stage3-ld prev-ld || test -f stage3-lean
59277 @endif ld
59278 @if libcpp
59279 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
59280 mkdir stage4-libcpp; \
59281 mv stage4-libcpp libcpp ; \
59282 mv stage3-libcpp prev-libcpp || test -f stage3-lean
59283 @endif libcpp
59284 @if libdecnumber
59285 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
59286 mkdir stage4-libdecnumber; \
59287 mv stage4-libdecnumber libdecnumber ; \
59288 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
59289 @endif libdecnumber
59290 @if libiberty
59291 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
59292 mkdir stage4-libiberty; \
59293 mv stage4-libiberty libiberty ; \
59294 mv stage3-libiberty prev-libiberty || test -f stage3-lean
59295 @endif libiberty
59296 @if zlib
59297 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
59298 mkdir stage4-zlib; \
59299 mv stage4-zlib zlib ; \
59300 mv stage3-zlib prev-zlib || test -f stage3-lean
59301 @endif zlib
59302 @if lto-plugin
59303 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
59304 mkdir stage4-lto-plugin; \
59305 mv stage4-lto-plugin lto-plugin ; \
59306 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
59307 @endif lto-plugin
59308 @[ -d stage4-$(TARGET_SUBDIR) ] || \
59309 mkdir stage4-$(TARGET_SUBDIR); \
59310 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59311 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
59313 stage4-end::
59314 @if bfd
59315 @if test -d $(HOST_SUBDIR)/bfd ; then \
59316 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
59317 mv prev-bfd stage3-bfd ; : ; \
59319 @endif bfd
59320 @if opcodes
59321 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59322 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
59323 mv prev-opcodes stage3-opcodes ; : ; \
59325 @endif opcodes
59326 @if binutils
59327 @if test -d $(HOST_SUBDIR)/binutils ; then \
59328 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
59329 mv prev-binutils stage3-binutils ; : ; \
59331 @endif binutils
59332 @if gas
59333 @if test -d $(HOST_SUBDIR)/gas ; then \
59334 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
59335 mv prev-gas stage3-gas ; : ; \
59337 @endif gas
59338 @if gcc
59339 @if test -d $(HOST_SUBDIR)/gcc ; then \
59340 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
59341 mv prev-gcc stage3-gcc ; : ; \
59343 @endif gcc
59344 @if gmp
59345 @if test -d $(HOST_SUBDIR)/gmp ; then \
59346 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
59347 mv prev-gmp stage3-gmp ; : ; \
59349 @endif gmp
59350 @if mpfr
59351 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59352 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
59353 mv prev-mpfr stage3-mpfr ; : ; \
59355 @endif mpfr
59356 @if mpc
59357 @if test -d $(HOST_SUBDIR)/mpc ; then \
59358 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
59359 mv prev-mpc stage3-mpc ; : ; \
59361 @endif mpc
59362 @if ppl
59363 @if test -d $(HOST_SUBDIR)/ppl ; then \
59364 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
59365 mv prev-ppl stage3-ppl ; : ; \
59367 @endif ppl
59368 @if cloog
59369 @if test -d $(HOST_SUBDIR)/cloog ; then \
59370 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
59371 mv prev-cloog stage3-cloog ; : ; \
59373 @endif cloog
59374 @if libelf
59375 @if test -d $(HOST_SUBDIR)/libelf ; then \
59376 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
59377 mv prev-libelf stage3-libelf ; : ; \
59379 @endif libelf
59380 @if gold
59381 @if test -d $(HOST_SUBDIR)/gold ; then \
59382 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
59383 mv prev-gold stage3-gold ; : ; \
59385 @endif gold
59386 @if intl
59387 @if test -d $(HOST_SUBDIR)/intl ; then \
59388 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
59389 mv prev-intl stage3-intl ; : ; \
59391 @endif intl
59392 @if ld
59393 @if test -d $(HOST_SUBDIR)/ld ; then \
59394 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
59395 mv prev-ld stage3-ld ; : ; \
59397 @endif ld
59398 @if libcpp
59399 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59400 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
59401 mv prev-libcpp stage3-libcpp ; : ; \
59403 @endif libcpp
59404 @if libdecnumber
59405 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59406 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
59407 mv prev-libdecnumber stage3-libdecnumber ; : ; \
59409 @endif libdecnumber
59410 @if libiberty
59411 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59412 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
59413 mv prev-libiberty stage3-libiberty ; : ; \
59415 @endif libiberty
59416 @if zlib
59417 @if test -d $(HOST_SUBDIR)/zlib ; then \
59418 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
59419 mv prev-zlib stage3-zlib ; : ; \
59421 @endif zlib
59422 @if lto-plugin
59423 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59424 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
59425 mv prev-lto-plugin stage3-lto-plugin ; : ; \
59427 @endif lto-plugin
59428 @if test -d $(TARGET_SUBDIR) ; then \
59429 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
59430 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
59432 rm -f stage_current
59434 # Bubble a bug fix through all the stages up to stage 4. They are
59435 # remade, but not reconfigured. The next stage (if any) will not be
59436 # reconfigured either.
59437 .PHONY: stage4-bubble
59438 stage4-bubble:: stage3-bubble
59439 @r=`${PWD_COMMAND}`; export r; \
59440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59441 if test -f stage4-lean || test -f stage3-lean ; then \
59442 echo Skipping rebuild of stage4 ; \
59443 else \
59444 $(MAKE) stage4-start; \
59445 if $(LEAN); then \
59446 rm -rf stage2-* ; \
59447 $(STAMP) stage2-lean ; \
59448 fi; \
59449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
59451 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
59453 .PHONY: all-stage4 clean-stage4
59454 do-clean: clean-stage4
59456 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59457 # only possibility, but now it conflicts with no-bootstrap rules
59458 @if gcc-bootstrap
59460 compare3:
59461 @r=`${PWD_COMMAND}`; export r; \
59462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59463 if test -f stage3-lean; then \
59464 echo Cannot compare object files as stage 3 was deleted. ; \
59465 exit 0 ; \
59466 fi; \
59467 : $(MAKE); $(stage); \
59468 rm -f .bad_compare ; \
59469 echo Comparing stages 3 and 4 ; \
59470 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
59471 files=`find stage4-* -name "*$(objext)" -print | \
59472 sed -n s,^stage$$sed-,,p` ; \
59473 for file in $${files} ; do \
59474 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
59475 if test ! -f $$f1; then continue; fi; \
59476 $(do-compare3) > /dev/null 2>&1; \
59477 if test $$? -eq 1; then \
59478 case $$file in \
59479 @compare_exclusions@) \
59480 echo warning: $$file differs ;; \
59481 *) \
59482 echo $$file differs >> .bad_compare ;; \
59483 esac ; \
59484 fi ; \
59485 done ; \
59486 if [ -f .bad_compare ]; then \
59487 echo "Bootstrap comparison failure!"; \
59488 cat .bad_compare; \
59489 exit 1; \
59490 else \
59491 echo Comparison successful.; \
59492 fi ; \
59493 $(STAMP) compare3
59494 if $(LEAN); then \
59495 rm -rf stage3-*; \
59496 $(STAMP) stage3-lean; \
59501 .PHONY: bootstrap4 bootstrap4-lean
59502 bootstrap4:
59503 echo stage4 > stage_final
59504 @r=`${PWD_COMMAND}`; export r; \
59505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59506 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
59507 @: $(MAKE); $(unstage)
59508 @r=`${PWD_COMMAND}`; export r; \
59509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59510 TFLAGS="$(STAGE4_TFLAGS)"; \
59511 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59513 bootstrap4-lean:
59514 echo stage4 > stage_final
59515 @r=`${PWD_COMMAND}`; export r; \
59516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59517 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
59518 @: $(MAKE); $(unstage)
59519 @r=`${PWD_COMMAND}`; export r; \
59520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59521 TFLAGS="$(STAGE4_TFLAGS)"; \
59522 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
59525 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59526 distclean-stage3:: distclean-stage4
59527 .PHONY: distclean-stage4
59528 distclean-stage4::
59529 @: $(MAKE); $(stage)
59530 @test "`cat stage_last`" != stage4 || rm -f stage_last
59531 rm -rf stage4-* compare3
59534 @endif gcc-bootstrap
59537 .PHONY: stageprofile-start stageprofile-end
59539 stageprofile-start::
59540 @: $(MAKE); $(stage); \
59541 echo stageprofile > stage_current ; \
59542 echo stageprofile > stage_last; \
59543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59544 @if bfd
59545 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
59546 mkdir stageprofile-bfd; \
59547 mv stageprofile-bfd bfd ; \
59548 mv stage1-bfd prev-bfd || test -f stage1-lean
59549 @endif bfd
59550 @if opcodes
59551 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
59552 mkdir stageprofile-opcodes; \
59553 mv stageprofile-opcodes opcodes ; \
59554 mv stage1-opcodes prev-opcodes || test -f stage1-lean
59555 @endif opcodes
59556 @if binutils
59557 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
59558 mkdir stageprofile-binutils; \
59559 mv stageprofile-binutils binutils ; \
59560 mv stage1-binutils prev-binutils || test -f stage1-lean
59561 @endif binutils
59562 @if gas
59563 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
59564 mkdir stageprofile-gas; \
59565 mv stageprofile-gas gas ; \
59566 mv stage1-gas prev-gas || test -f stage1-lean
59567 @endif gas
59568 @if gcc
59569 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
59570 mkdir stageprofile-gcc; \
59571 mv stageprofile-gcc gcc ; \
59572 mv stage1-gcc prev-gcc || test -f stage1-lean
59573 @endif gcc
59574 @if gmp
59575 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
59576 mkdir stageprofile-gmp; \
59577 mv stageprofile-gmp gmp ; \
59578 mv stage1-gmp prev-gmp || test -f stage1-lean
59579 @endif gmp
59580 @if mpfr
59581 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
59582 mkdir stageprofile-mpfr; \
59583 mv stageprofile-mpfr mpfr ; \
59584 mv stage1-mpfr prev-mpfr || test -f stage1-lean
59585 @endif mpfr
59586 @if mpc
59587 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
59588 mkdir stageprofile-mpc; \
59589 mv stageprofile-mpc mpc ; \
59590 mv stage1-mpc prev-mpc || test -f stage1-lean
59591 @endif mpc
59592 @if ppl
59593 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
59594 mkdir stageprofile-ppl; \
59595 mv stageprofile-ppl ppl ; \
59596 mv stage1-ppl prev-ppl || test -f stage1-lean
59597 @endif ppl
59598 @if cloog
59599 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
59600 mkdir stageprofile-cloog; \
59601 mv stageprofile-cloog cloog ; \
59602 mv stage1-cloog prev-cloog || test -f stage1-lean
59603 @endif cloog
59604 @if libelf
59605 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
59606 mkdir stageprofile-libelf; \
59607 mv stageprofile-libelf libelf ; \
59608 mv stage1-libelf prev-libelf || test -f stage1-lean
59609 @endif libelf
59610 @if gold
59611 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
59612 mkdir stageprofile-gold; \
59613 mv stageprofile-gold gold ; \
59614 mv stage1-gold prev-gold || test -f stage1-lean
59615 @endif gold
59616 @if intl
59617 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
59618 mkdir stageprofile-intl; \
59619 mv stageprofile-intl intl ; \
59620 mv stage1-intl prev-intl || test -f stage1-lean
59621 @endif intl
59622 @if ld
59623 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
59624 mkdir stageprofile-ld; \
59625 mv stageprofile-ld ld ; \
59626 mv stage1-ld prev-ld || test -f stage1-lean
59627 @endif ld
59628 @if libcpp
59629 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
59630 mkdir stageprofile-libcpp; \
59631 mv stageprofile-libcpp libcpp ; \
59632 mv stage1-libcpp prev-libcpp || test -f stage1-lean
59633 @endif libcpp
59634 @if libdecnumber
59635 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
59636 mkdir stageprofile-libdecnumber; \
59637 mv stageprofile-libdecnumber libdecnumber ; \
59638 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
59639 @endif libdecnumber
59640 @if libiberty
59641 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
59642 mkdir stageprofile-libiberty; \
59643 mv stageprofile-libiberty libiberty ; \
59644 mv stage1-libiberty prev-libiberty || test -f stage1-lean
59645 @endif libiberty
59646 @if zlib
59647 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
59648 mkdir stageprofile-zlib; \
59649 mv stageprofile-zlib zlib ; \
59650 mv stage1-zlib prev-zlib || test -f stage1-lean
59651 @endif zlib
59652 @if lto-plugin
59653 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
59654 mkdir stageprofile-lto-plugin; \
59655 mv stageprofile-lto-plugin lto-plugin ; \
59656 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
59657 @endif lto-plugin
59658 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
59659 mkdir stageprofile-$(TARGET_SUBDIR); \
59660 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59661 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
59663 stageprofile-end::
59664 @if bfd
59665 @if test -d $(HOST_SUBDIR)/bfd ; then \
59666 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
59667 mv prev-bfd stage1-bfd ; : ; \
59669 @endif bfd
59670 @if opcodes
59671 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59672 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
59673 mv prev-opcodes stage1-opcodes ; : ; \
59675 @endif opcodes
59676 @if binutils
59677 @if test -d $(HOST_SUBDIR)/binutils ; then \
59678 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
59679 mv prev-binutils stage1-binutils ; : ; \
59681 @endif binutils
59682 @if gas
59683 @if test -d $(HOST_SUBDIR)/gas ; then \
59684 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
59685 mv prev-gas stage1-gas ; : ; \
59687 @endif gas
59688 @if gcc
59689 @if test -d $(HOST_SUBDIR)/gcc ; then \
59690 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
59691 mv prev-gcc stage1-gcc ; : ; \
59693 @endif gcc
59694 @if gmp
59695 @if test -d $(HOST_SUBDIR)/gmp ; then \
59696 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
59697 mv prev-gmp stage1-gmp ; : ; \
59699 @endif gmp
59700 @if mpfr
59701 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59702 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
59703 mv prev-mpfr stage1-mpfr ; : ; \
59705 @endif mpfr
59706 @if mpc
59707 @if test -d $(HOST_SUBDIR)/mpc ; then \
59708 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
59709 mv prev-mpc stage1-mpc ; : ; \
59711 @endif mpc
59712 @if ppl
59713 @if test -d $(HOST_SUBDIR)/ppl ; then \
59714 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
59715 mv prev-ppl stage1-ppl ; : ; \
59717 @endif ppl
59718 @if cloog
59719 @if test -d $(HOST_SUBDIR)/cloog ; then \
59720 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
59721 mv prev-cloog stage1-cloog ; : ; \
59723 @endif cloog
59724 @if libelf
59725 @if test -d $(HOST_SUBDIR)/libelf ; then \
59726 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
59727 mv prev-libelf stage1-libelf ; : ; \
59729 @endif libelf
59730 @if gold
59731 @if test -d $(HOST_SUBDIR)/gold ; then \
59732 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
59733 mv prev-gold stage1-gold ; : ; \
59735 @endif gold
59736 @if intl
59737 @if test -d $(HOST_SUBDIR)/intl ; then \
59738 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
59739 mv prev-intl stage1-intl ; : ; \
59741 @endif intl
59742 @if ld
59743 @if test -d $(HOST_SUBDIR)/ld ; then \
59744 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
59745 mv prev-ld stage1-ld ; : ; \
59747 @endif ld
59748 @if libcpp
59749 @if test -d $(HOST_SUBDIR)/libcpp ; then \
59750 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
59751 mv prev-libcpp stage1-libcpp ; : ; \
59753 @endif libcpp
59754 @if libdecnumber
59755 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
59756 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
59757 mv prev-libdecnumber stage1-libdecnumber ; : ; \
59759 @endif libdecnumber
59760 @if libiberty
59761 @if test -d $(HOST_SUBDIR)/libiberty ; then \
59762 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
59763 mv prev-libiberty stage1-libiberty ; : ; \
59765 @endif libiberty
59766 @if zlib
59767 @if test -d $(HOST_SUBDIR)/zlib ; then \
59768 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
59769 mv prev-zlib stage1-zlib ; : ; \
59771 @endif zlib
59772 @if lto-plugin
59773 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
59774 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
59775 mv prev-lto-plugin stage1-lto-plugin ; : ; \
59777 @endif lto-plugin
59778 @if test -d $(TARGET_SUBDIR) ; then \
59779 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
59780 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
59782 rm -f stage_current
59784 # Bubble a bug fix through all the stages up to stage profile. They are
59785 # remade, but not reconfigured. The next stage (if any) will not be
59786 # reconfigured either.
59787 .PHONY: stageprofile-bubble
59788 stageprofile-bubble:: stage1-bubble
59789 @r=`${PWD_COMMAND}`; export r; \
59790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59791 if test -f stageprofile-lean || test -f stage1-lean ; then \
59792 echo Skipping rebuild of stageprofile ; \
59793 else \
59794 $(MAKE) stageprofile-start; \
59795 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
59798 .PHONY: all-stageprofile clean-stageprofile
59799 do-clean: clean-stageprofile
59801 # FIXME: Will not need to be conditional when toplevel bootstrap is the
59802 # only possibility, but now it conflicts with no-bootstrap rules
59803 @if gcc-bootstrap
59808 # Rules to wipe a stage and all the following ones, also used for cleanstrap
59809 distclean-stage1:: distclean-stageprofile
59810 .PHONY: distclean-stageprofile
59811 distclean-stageprofile::
59812 @: $(MAKE); $(stage)
59813 @test "`cat stage_last`" != stageprofile || rm -f stage_last
59814 rm -rf stageprofile-*
59817 @endif gcc-bootstrap
59820 .PHONY: stagefeedback-start stagefeedback-end
59822 stagefeedback-start::
59823 @: $(MAKE); $(stage); \
59824 echo stagefeedback > stage_current ; \
59825 echo stagefeedback > stage_last; \
59826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
59827 @if bfd
59828 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
59829 mkdir stagefeedback-bfd; \
59830 mv stagefeedback-bfd bfd ; \
59831 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
59832 @endif bfd
59833 @if opcodes
59834 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
59835 mkdir stagefeedback-opcodes; \
59836 mv stagefeedback-opcodes opcodes ; \
59837 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
59838 @endif opcodes
59839 @if binutils
59840 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
59841 mkdir stagefeedback-binutils; \
59842 mv stagefeedback-binutils binutils ; \
59843 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
59844 @endif binutils
59845 @if gas
59846 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
59847 mkdir stagefeedback-gas; \
59848 mv stagefeedback-gas gas ; \
59849 mv stageprofile-gas prev-gas || test -f stageprofile-lean
59850 @endif gas
59851 @if gcc
59852 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
59853 mkdir stagefeedback-gcc; \
59854 mv stagefeedback-gcc gcc ; \
59855 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
59856 @endif gcc
59857 @if gmp
59858 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
59859 mkdir stagefeedback-gmp; \
59860 mv stagefeedback-gmp gmp ; \
59861 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
59862 @endif gmp
59863 @if mpfr
59864 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
59865 mkdir stagefeedback-mpfr; \
59866 mv stagefeedback-mpfr mpfr ; \
59867 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
59868 @endif mpfr
59869 @if mpc
59870 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
59871 mkdir stagefeedback-mpc; \
59872 mv stagefeedback-mpc mpc ; \
59873 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
59874 @endif mpc
59875 @if ppl
59876 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
59877 mkdir stagefeedback-ppl; \
59878 mv stagefeedback-ppl ppl ; \
59879 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
59880 @endif ppl
59881 @if cloog
59882 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
59883 mkdir stagefeedback-cloog; \
59884 mv stagefeedback-cloog cloog ; \
59885 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
59886 @endif cloog
59887 @if libelf
59888 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
59889 mkdir stagefeedback-libelf; \
59890 mv stagefeedback-libelf libelf ; \
59891 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
59892 @endif libelf
59893 @if gold
59894 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
59895 mkdir stagefeedback-gold; \
59896 mv stagefeedback-gold gold ; \
59897 mv stageprofile-gold prev-gold || test -f stageprofile-lean
59898 @endif gold
59899 @if intl
59900 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
59901 mkdir stagefeedback-intl; \
59902 mv stagefeedback-intl intl ; \
59903 mv stageprofile-intl prev-intl || test -f stageprofile-lean
59904 @endif intl
59905 @if ld
59906 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
59907 mkdir stagefeedback-ld; \
59908 mv stagefeedback-ld ld ; \
59909 mv stageprofile-ld prev-ld || test -f stageprofile-lean
59910 @endif ld
59911 @if libcpp
59912 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
59913 mkdir stagefeedback-libcpp; \
59914 mv stagefeedback-libcpp libcpp ; \
59915 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
59916 @endif libcpp
59917 @if libdecnumber
59918 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
59919 mkdir stagefeedback-libdecnumber; \
59920 mv stagefeedback-libdecnumber libdecnumber ; \
59921 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
59922 @endif libdecnumber
59923 @if libiberty
59924 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
59925 mkdir stagefeedback-libiberty; \
59926 mv stagefeedback-libiberty libiberty ; \
59927 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
59928 @endif libiberty
59929 @if zlib
59930 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
59931 mkdir stagefeedback-zlib; \
59932 mv stagefeedback-zlib zlib ; \
59933 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
59934 @endif zlib
59935 @if lto-plugin
59936 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
59937 mkdir stagefeedback-lto-plugin; \
59938 mv stagefeedback-lto-plugin lto-plugin ; \
59939 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
59940 @endif lto-plugin
59941 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
59942 mkdir stagefeedback-$(TARGET_SUBDIR); \
59943 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
59944 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
59946 stagefeedback-end::
59947 @if bfd
59948 @if test -d $(HOST_SUBDIR)/bfd ; then \
59949 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
59950 mv prev-bfd stageprofile-bfd ; : ; \
59952 @endif bfd
59953 @if opcodes
59954 @if test -d $(HOST_SUBDIR)/opcodes ; then \
59955 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
59956 mv prev-opcodes stageprofile-opcodes ; : ; \
59958 @endif opcodes
59959 @if binutils
59960 @if test -d $(HOST_SUBDIR)/binutils ; then \
59961 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
59962 mv prev-binutils stageprofile-binutils ; : ; \
59964 @endif binutils
59965 @if gas
59966 @if test -d $(HOST_SUBDIR)/gas ; then \
59967 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
59968 mv prev-gas stageprofile-gas ; : ; \
59970 @endif gas
59971 @if gcc
59972 @if test -d $(HOST_SUBDIR)/gcc ; then \
59973 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
59974 mv prev-gcc stageprofile-gcc ; : ; \
59976 @endif gcc
59977 @if gmp
59978 @if test -d $(HOST_SUBDIR)/gmp ; then \
59979 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
59980 mv prev-gmp stageprofile-gmp ; : ; \
59982 @endif gmp
59983 @if mpfr
59984 @if test -d $(HOST_SUBDIR)/mpfr ; then \
59985 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
59986 mv prev-mpfr stageprofile-mpfr ; : ; \
59988 @endif mpfr
59989 @if mpc
59990 @if test -d $(HOST_SUBDIR)/mpc ; then \
59991 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
59992 mv prev-mpc stageprofile-mpc ; : ; \
59994 @endif mpc
59995 @if ppl
59996 @if test -d $(HOST_SUBDIR)/ppl ; then \
59997 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
59998 mv prev-ppl stageprofile-ppl ; : ; \
60000 @endif ppl
60001 @if cloog
60002 @if test -d $(HOST_SUBDIR)/cloog ; then \
60003 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
60004 mv prev-cloog stageprofile-cloog ; : ; \
60006 @endif cloog
60007 @if libelf
60008 @if test -d $(HOST_SUBDIR)/libelf ; then \
60009 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
60010 mv prev-libelf stageprofile-libelf ; : ; \
60012 @endif libelf
60013 @if gold
60014 @if test -d $(HOST_SUBDIR)/gold ; then \
60015 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
60016 mv prev-gold stageprofile-gold ; : ; \
60018 @endif gold
60019 @if intl
60020 @if test -d $(HOST_SUBDIR)/intl ; then \
60021 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
60022 mv prev-intl stageprofile-intl ; : ; \
60024 @endif intl
60025 @if ld
60026 @if test -d $(HOST_SUBDIR)/ld ; then \
60027 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
60028 mv prev-ld stageprofile-ld ; : ; \
60030 @endif ld
60031 @if libcpp
60032 @if test -d $(HOST_SUBDIR)/libcpp ; then \
60033 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
60034 mv prev-libcpp stageprofile-libcpp ; : ; \
60036 @endif libcpp
60037 @if libdecnumber
60038 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
60039 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
60040 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
60042 @endif libdecnumber
60043 @if libiberty
60044 @if test -d $(HOST_SUBDIR)/libiberty ; then \
60045 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
60046 mv prev-libiberty stageprofile-libiberty ; : ; \
60048 @endif libiberty
60049 @if zlib
60050 @if test -d $(HOST_SUBDIR)/zlib ; then \
60051 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
60052 mv prev-zlib stageprofile-zlib ; : ; \
60054 @endif zlib
60055 @if lto-plugin
60056 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
60057 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
60058 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
60060 @endif lto-plugin
60061 @if test -d $(TARGET_SUBDIR) ; then \
60062 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
60063 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
60065 rm -f stage_current
60067 # Bubble a bug fix through all the stages up to stage feedback. They are
60068 # remade, but not reconfigured. The next stage (if any) will not be
60069 # reconfigured either.
60070 .PHONY: stagefeedback-bubble
60071 stagefeedback-bubble:: stageprofile-bubble
60072 @r=`${PWD_COMMAND}`; export r; \
60073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60074 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
60075 echo Skipping rebuild of stagefeedback ; \
60076 else \
60077 $(MAKE) stagefeedback-start; \
60078 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
60081 .PHONY: all-stagefeedback clean-stagefeedback
60082 do-clean: clean-stagefeedback
60084 # FIXME: Will not need to be conditional when toplevel bootstrap is the
60085 # only possibility, but now it conflicts with no-bootstrap rules
60086 @if gcc-bootstrap
60090 .PHONY: profiledbootstrap profiledbootstrap-lean
60091 profiledbootstrap:
60092 echo stagefeedback > stage_final
60093 @r=`${PWD_COMMAND}`; export r; \
60094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60095 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
60096 @: $(MAKE); $(unstage)
60097 @r=`${PWD_COMMAND}`; export r; \
60098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60099 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60100 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60102 profiledbootstrap-lean:
60103 echo stagefeedback > stage_final
60104 @r=`${PWD_COMMAND}`; export r; \
60105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
60107 @: $(MAKE); $(unstage)
60108 @r=`${PWD_COMMAND}`; export r; \
60109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60110 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60111 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
60114 # Rules to wipe a stage and all the following ones, also used for cleanstrap
60115 distclean-stageprofile:: distclean-stagefeedback
60116 .PHONY: distclean-stagefeedback
60117 distclean-stagefeedback::
60118 @: $(MAKE); $(stage)
60119 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
60120 rm -rf stagefeedback-*
60123 @endif gcc-bootstrap
60127 stageprofile-end::
60128 $(MAKE) distclean-stagefeedback
60130 stagefeedback-start::
60131 @r=`${PWD_COMMAND}`; export r; \
60132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60133 for i in prev-*; do \
60134 j=`echo $$i | sed s/^prev-//` ; \
60135 cd $$r/$$i && \
60136 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
60137 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
60138 done
60140 @if gcc-bootstrap
60141 do-distclean: distclean-stage1
60143 # Provide a GCC build when we're building target libraries. This does
60144 # not work as a dependency, just as the minimum necessary to avoid errors.
60145 stage_last:
60146 @r=`${PWD_COMMAND}`; export r; \
60147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
60150 # Same as unstage, but not phony and defaulting to stage1-start. We place
60151 # it in the dependency so that for example `make -j3 all-gcc' works.
60152 stage_current:
60153 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
60155 .PHONY: restrap
60156 restrap::
60157 @: $(MAKE); $(stage)
60158 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
60159 restrap:: all
60160 @endif gcc-bootstrap
60162 # --------------------------------------
60163 # Dependencies between different modules
60164 # --------------------------------------
60166 # Generic dependencies for target modules on host stuff, especially gcc
60167 @if gcc-bootstrap
60168 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
60169 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
60170 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
60171 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
60172 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
60173 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
60174 configure-target-libmudflap: stage_last
60175 configure-target-libssp: stage_last
60176 configure-target-newlib: stage_last
60177 configure-stage1-target-libgcc: maybe-all-stage1-gcc
60178 configure-stage2-target-libgcc: maybe-all-stage2-gcc
60179 configure-stage3-target-libgcc: maybe-all-stage3-gcc
60180 configure-stage4-target-libgcc: maybe-all-stage4-gcc
60181 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
60182 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
60183 configure-target-libquadmath: stage_last
60184 configure-target-libgfortran: stage_last
60185 configure-target-libobjc: stage_last
60186 configure-target-libgo: stage_last
60187 configure-target-libtermcap: stage_last
60188 configure-target-winsup: stage_last
60189 configure-target-libgloss: stage_last
60190 configure-target-libiberty: stage_last
60191 configure-target-gperf: stage_last
60192 configure-target-examples: stage_last
60193 configure-target-libffi: stage_last
60194 configure-target-libjava: stage_last
60195 configure-target-zlib: stage_last
60196 configure-target-boehm-gc: stage_last
60197 configure-target-qthreads: stage_last
60198 configure-target-rda: stage_last
60199 configure-target-libada: stage_last
60200 configure-stage1-target-libgomp: maybe-all-stage1-gcc
60201 configure-stage2-target-libgomp: maybe-all-stage2-gcc
60202 configure-stage3-target-libgomp: maybe-all-stage3-gcc
60203 configure-stage4-target-libgomp: maybe-all-stage4-gcc
60204 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
60205 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
60206 @endif gcc-bootstrap
60208 @if gcc-no-bootstrap
60209 configure-target-libstdc++-v3: maybe-all-gcc
60210 configure-target-libmudflap: maybe-all-gcc
60211 configure-target-libssp: maybe-all-gcc
60212 configure-target-newlib: maybe-all-gcc
60213 configure-target-libgcc: maybe-all-gcc
60214 configure-target-libquadmath: maybe-all-gcc
60215 configure-target-libgfortran: maybe-all-gcc
60216 configure-target-libobjc: maybe-all-gcc
60217 configure-target-libgo: maybe-all-gcc
60218 configure-target-libtermcap: maybe-all-gcc
60219 configure-target-winsup: maybe-all-gcc
60220 configure-target-libgloss: maybe-all-gcc
60221 configure-target-libiberty: maybe-all-gcc
60222 configure-target-gperf: maybe-all-gcc
60223 configure-target-examples: maybe-all-gcc
60224 configure-target-libffi: maybe-all-gcc
60225 configure-target-libjava: maybe-all-gcc
60226 configure-target-zlib: maybe-all-gcc
60227 configure-target-boehm-gc: maybe-all-gcc
60228 configure-target-qthreads: maybe-all-gcc
60229 configure-target-rda: maybe-all-gcc
60230 configure-target-libada: maybe-all-gcc
60231 configure-target-libgomp: maybe-all-gcc
60232 @endif gcc-no-bootstrap
60235 # There are two types of dependencies here: 'hard' dependencies, where one
60236 # module simply won't build without the other; and 'soft' dependencies, where
60237 # if the depended-on module is missing, the depending module will do without
60238 # or find a substitute somewhere (perhaps installed). Soft dependencies
60239 # are made here to depend on a 'maybe-' target. If you're not sure,
60240 # it's safer to use a soft dependency.
60247 # With all the machinery above in place, it is pretty easy to generate
60248 # dependencies. Host dependencies are a bit more complex because we have
60249 # to check for bootstrap/prebootstrap dependencies. To resolve
60250 # prebootstrap dependencies, prebootstrap modules are gathered in
60251 # a hash table.
60252 all-build-bison: maybe-all-build-texinfo
60253 all-build-byacc: maybe-all-build-texinfo
60254 all-build-flex: maybe-all-build-texinfo
60255 all-build-flex: maybe-all-build-bison
60256 all-build-flex: maybe-all-build-byacc
60257 all-build-flex: maybe-all-build-m4
60258 all-build-libiberty: maybe-all-build-texinfo
60259 all-build-m4: maybe-all-build-texinfo
60260 all-build-fixincludes: maybe-all-build-libiberty
60261 configure-gcc: maybe-configure-intl
60263 configure-stage1-gcc: maybe-configure-stage1-intl
60264 configure-stage2-gcc: maybe-configure-stage2-intl
60265 configure-stage3-gcc: maybe-configure-stage3-intl
60266 configure-stage4-gcc: maybe-configure-stage4-intl
60267 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
60268 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
60269 configure-gcc: maybe-configure-lto-plugin
60271 configure-stage1-gcc: maybe-configure-stage1-lto-plugin
60272 configure-stage2-gcc: maybe-configure-stage2-lto-plugin
60273 configure-stage3-gcc: maybe-configure-stage3-lto-plugin
60274 configure-stage4-gcc: maybe-configure-stage4-lto-plugin
60275 configure-stageprofile-gcc: maybe-configure-stageprofile-lto-plugin
60276 configure-stagefeedback-gcc: maybe-configure-stagefeedback-lto-plugin
60277 configure-gcc: maybe-all-binutils
60279 configure-stage1-gcc: maybe-all-stage1-binutils
60280 configure-stage2-gcc: maybe-all-stage2-binutils
60281 configure-stage3-gcc: maybe-all-stage3-binutils
60282 configure-stage4-gcc: maybe-all-stage4-binutils
60283 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
60284 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
60285 configure-gcc: maybe-all-gas
60287 configure-stage1-gcc: maybe-all-stage1-gas
60288 configure-stage2-gcc: maybe-all-stage2-gas
60289 configure-stage3-gcc: maybe-all-stage3-gas
60290 configure-stage4-gcc: maybe-all-stage4-gas
60291 configure-stageprofile-gcc: maybe-all-stageprofile-gas
60292 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
60293 configure-gcc: maybe-all-ld
60295 configure-stage1-gcc: maybe-all-stage1-ld
60296 configure-stage2-gcc: maybe-all-stage2-ld
60297 configure-stage3-gcc: maybe-all-stage3-ld
60298 configure-stage4-gcc: maybe-all-stage4-ld
60299 configure-stageprofile-gcc: maybe-all-stageprofile-ld
60300 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
60301 configure-gcc: maybe-all-gold
60303 configure-stage1-gcc: maybe-all-stage1-gold
60304 configure-stage2-gcc: maybe-all-stage2-gold
60305 configure-stage3-gcc: maybe-all-stage3-gold
60306 configure-stage4-gcc: maybe-all-stage4-gold
60307 configure-stageprofile-gcc: maybe-all-stageprofile-gold
60308 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
60309 configure-gcc: maybe-all-libelf
60311 configure-stage1-gcc: maybe-all-stage1-libelf
60312 configure-stage2-gcc: maybe-all-stage2-libelf
60313 configure-stage3-gcc: maybe-all-stage3-libelf
60314 configure-stage4-gcc: maybe-all-stage4-libelf
60315 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
60316 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
60317 all-gcc: all-libiberty
60319 all-stage1-gcc: all-stage1-libiberty
60320 all-stage2-gcc: all-stage2-libiberty
60321 all-stage3-gcc: all-stage3-libiberty
60322 all-stage4-gcc: all-stage4-libiberty
60323 all-stageprofile-gcc: all-stageprofile-libiberty
60324 all-stagefeedback-gcc: all-stagefeedback-libiberty
60325 all-gcc: maybe-all-gmp
60327 all-stage1-gcc: maybe-all-stage1-gmp
60328 all-stage2-gcc: maybe-all-stage2-gmp
60329 all-stage3-gcc: maybe-all-stage3-gmp
60330 all-stage4-gcc: maybe-all-stage4-gmp
60331 all-stageprofile-gcc: maybe-all-stageprofile-gmp
60332 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
60333 all-gcc: maybe-all-intl
60335 all-stage1-gcc: maybe-all-stage1-intl
60336 all-stage2-gcc: maybe-all-stage2-intl
60337 all-stage3-gcc: maybe-all-stage3-intl
60338 all-stage4-gcc: maybe-all-stage4-intl
60339 all-stageprofile-gcc: maybe-all-stageprofile-intl
60340 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
60341 all-gcc: maybe-all-mpfr
60343 all-stage1-gcc: maybe-all-stage1-mpfr
60344 all-stage2-gcc: maybe-all-stage2-mpfr
60345 all-stage3-gcc: maybe-all-stage3-mpfr
60346 all-stage4-gcc: maybe-all-stage4-mpfr
60347 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
60348 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
60349 all-gcc: maybe-all-mpc
60351 all-stage1-gcc: maybe-all-stage1-mpc
60352 all-stage2-gcc: maybe-all-stage2-mpc
60353 all-stage3-gcc: maybe-all-stage3-mpc
60354 all-stage4-gcc: maybe-all-stage4-mpc
60355 all-stageprofile-gcc: maybe-all-stageprofile-mpc
60356 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
60357 all-gcc: maybe-all-ppl
60359 all-stage1-gcc: maybe-all-stage1-ppl
60360 all-stage2-gcc: maybe-all-stage2-ppl
60361 all-stage3-gcc: maybe-all-stage3-ppl
60362 all-stage4-gcc: maybe-all-stage4-ppl
60363 all-stageprofile-gcc: maybe-all-stageprofile-ppl
60364 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
60365 all-gcc: maybe-all-cloog
60367 all-stage1-gcc: maybe-all-stage1-cloog
60368 all-stage2-gcc: maybe-all-stage2-cloog
60369 all-stage3-gcc: maybe-all-stage3-cloog
60370 all-stage4-gcc: maybe-all-stage4-cloog
60371 all-stageprofile-gcc: maybe-all-stageprofile-cloog
60372 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
60373 all-gcc: maybe-all-build-texinfo
60375 all-stage1-gcc: maybe-all-build-texinfo
60376 all-stage2-gcc: maybe-all-build-texinfo
60377 all-stage3-gcc: maybe-all-build-texinfo
60378 all-stage4-gcc: maybe-all-build-texinfo
60379 all-stageprofile-gcc: maybe-all-build-texinfo
60380 all-stagefeedback-gcc: maybe-all-build-texinfo
60381 all-gcc: maybe-all-build-bison
60383 all-stage1-gcc: maybe-all-build-bison
60384 all-stage2-gcc: maybe-all-build-bison
60385 all-stage3-gcc: maybe-all-build-bison
60386 all-stage4-gcc: maybe-all-build-bison
60387 all-stageprofile-gcc: maybe-all-build-bison
60388 all-stagefeedback-gcc: maybe-all-build-bison
60389 all-gcc: maybe-all-build-byacc
60391 all-stage1-gcc: maybe-all-build-byacc
60392 all-stage2-gcc: maybe-all-build-byacc
60393 all-stage3-gcc: maybe-all-build-byacc
60394 all-stage4-gcc: maybe-all-build-byacc
60395 all-stageprofile-gcc: maybe-all-build-byacc
60396 all-stagefeedback-gcc: maybe-all-build-byacc
60397 all-gcc: maybe-all-build-flex
60399 all-stage1-gcc: maybe-all-build-flex
60400 all-stage2-gcc: maybe-all-build-flex
60401 all-stage3-gcc: maybe-all-build-flex
60402 all-stage4-gcc: maybe-all-build-flex
60403 all-stageprofile-gcc: maybe-all-build-flex
60404 all-stagefeedback-gcc: maybe-all-build-flex
60405 all-gcc: maybe-all-build-libiberty
60407 all-stage1-gcc: maybe-all-build-libiberty
60408 all-stage2-gcc: maybe-all-build-libiberty
60409 all-stage3-gcc: maybe-all-build-libiberty
60410 all-stage4-gcc: maybe-all-build-libiberty
60411 all-stageprofile-gcc: maybe-all-build-libiberty
60412 all-stagefeedback-gcc: maybe-all-build-libiberty
60413 all-gcc: maybe-all-build-fixincludes
60415 all-stage1-gcc: maybe-all-build-fixincludes
60416 all-stage2-gcc: maybe-all-build-fixincludes
60417 all-stage3-gcc: maybe-all-build-fixincludes
60418 all-stage4-gcc: maybe-all-build-fixincludes
60419 all-stageprofile-gcc: maybe-all-build-fixincludes
60420 all-stagefeedback-gcc: maybe-all-build-fixincludes
60421 all-gcc: maybe-all-zlib
60423 all-stage1-gcc: maybe-all-stage1-zlib
60424 all-stage2-gcc: maybe-all-stage2-zlib
60425 all-stage3-gcc: maybe-all-stage3-zlib
60426 all-stage4-gcc: maybe-all-stage4-zlib
60427 all-stageprofile-gcc: maybe-all-stageprofile-zlib
60428 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
60429 all-gcc: all-libcpp
60431 all-stage1-gcc: all-stage1-libcpp
60432 all-stage2-gcc: all-stage2-libcpp
60433 all-stage3-gcc: all-stage3-libcpp
60434 all-stage4-gcc: all-stage4-libcpp
60435 all-stageprofile-gcc: all-stageprofile-libcpp
60436 all-stagefeedback-gcc: all-stagefeedback-libcpp
60437 all-gcc: all-libdecnumber
60439 all-stage1-gcc: all-stage1-libdecnumber
60440 all-stage2-gcc: all-stage2-libdecnumber
60441 all-stage3-gcc: all-stage3-libdecnumber
60442 all-stage4-gcc: all-stage4-libdecnumber
60443 all-stageprofile-gcc: all-stageprofile-libdecnumber
60444 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
60445 all-gcc: maybe-all-libiberty
60447 all-stage1-gcc: maybe-all-stage1-libiberty
60448 all-stage2-gcc: maybe-all-stage2-libiberty
60449 all-stage3-gcc: maybe-all-stage3-libiberty
60450 all-stage4-gcc: maybe-all-stage4-libiberty
60451 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
60452 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
60453 all-gcc: maybe-all-fixincludes
60454 all-gcc: maybe-all-lto-plugin
60456 all-stage1-gcc: maybe-all-stage1-lto-plugin
60457 all-stage2-gcc: maybe-all-stage2-lto-plugin
60458 all-stage3-gcc: maybe-all-stage3-lto-plugin
60459 all-stage4-gcc: maybe-all-stage4-lto-plugin
60460 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
60461 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
60462 info-gcc: maybe-all-build-libiberty
60464 info-stage1-gcc: maybe-all-build-libiberty
60465 info-stage2-gcc: maybe-all-build-libiberty
60466 info-stage3-gcc: maybe-all-build-libiberty
60467 info-stage4-gcc: maybe-all-build-libiberty
60468 info-stageprofile-gcc: maybe-all-build-libiberty
60469 info-stagefeedback-gcc: maybe-all-build-libiberty
60470 dvi-gcc: maybe-all-build-libiberty
60472 dvi-stage1-gcc: maybe-all-build-libiberty
60473 dvi-stage2-gcc: maybe-all-build-libiberty
60474 dvi-stage3-gcc: maybe-all-build-libiberty
60475 dvi-stage4-gcc: maybe-all-build-libiberty
60476 dvi-stageprofile-gcc: maybe-all-build-libiberty
60477 dvi-stagefeedback-gcc: maybe-all-build-libiberty
60478 pdf-gcc: maybe-all-build-libiberty
60480 pdf-stage1-gcc: maybe-all-build-libiberty
60481 pdf-stage2-gcc: maybe-all-build-libiberty
60482 pdf-stage3-gcc: maybe-all-build-libiberty
60483 pdf-stage4-gcc: maybe-all-build-libiberty
60484 pdf-stageprofile-gcc: maybe-all-build-libiberty
60485 pdf-stagefeedback-gcc: maybe-all-build-libiberty
60486 html-gcc: maybe-all-build-libiberty
60488 html-stage1-gcc: maybe-all-build-libiberty
60489 html-stage2-gcc: maybe-all-build-libiberty
60490 html-stage3-gcc: maybe-all-build-libiberty
60491 html-stage4-gcc: maybe-all-build-libiberty
60492 html-stageprofile-gcc: maybe-all-build-libiberty
60493 html-stagefeedback-gcc: maybe-all-build-libiberty
60494 install-gcc: maybe-install-fixincludes
60495 install-strip-gcc: maybe-install-strip-fixincludes
60496 configure-libcpp: configure-libiberty
60498 configure-stage1-libcpp: configure-stage1-libiberty
60499 configure-stage2-libcpp: configure-stage2-libiberty
60500 configure-stage3-libcpp: configure-stage3-libiberty
60501 configure-stage4-libcpp: configure-stage4-libiberty
60502 configure-stageprofile-libcpp: configure-stageprofile-libiberty
60503 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
60504 configure-libcpp: maybe-configure-intl
60506 configure-stage1-libcpp: maybe-configure-stage1-intl
60507 configure-stage2-libcpp: maybe-configure-stage2-intl
60508 configure-stage3-libcpp: maybe-configure-stage3-intl
60509 configure-stage4-libcpp: maybe-configure-stage4-intl
60510 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
60511 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
60512 all-libcpp: all-libiberty
60514 all-stage1-libcpp: all-stage1-libiberty
60515 all-stage2-libcpp: all-stage2-libiberty
60516 all-stage3-libcpp: all-stage3-libiberty
60517 all-stage4-libcpp: all-stage4-libiberty
60518 all-stageprofile-libcpp: all-stageprofile-libiberty
60519 all-stagefeedback-libcpp: all-stagefeedback-libiberty
60520 all-libcpp: maybe-all-intl
60522 all-stage1-libcpp: maybe-all-stage1-intl
60523 all-stage2-libcpp: maybe-all-stage2-intl
60524 all-stage3-libcpp: maybe-all-stage3-intl
60525 all-stage4-libcpp: maybe-all-stage4-intl
60526 all-stageprofile-libcpp: maybe-all-stageprofile-intl
60527 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
60528 all-fixincludes: maybe-all-libiberty
60529 all-gnattools: maybe-all-target-libada
60530 all-lto-plugin: maybe-all-libiberty
60532 all-stage1-lto-plugin: maybe-all-stage1-libiberty
60533 all-stage2-lto-plugin: maybe-all-stage2-libiberty
60534 all-stage3-lto-plugin: maybe-all-stage3-libiberty
60535 all-stage4-lto-plugin: maybe-all-stage4-libiberty
60536 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
60537 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
60538 configure-mpfr: maybe-all-gmp
60540 configure-stage1-mpfr: maybe-all-stage1-gmp
60541 configure-stage2-mpfr: maybe-all-stage2-gmp
60542 configure-stage3-mpfr: maybe-all-stage3-gmp
60543 configure-stage4-mpfr: maybe-all-stage4-gmp
60544 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
60545 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
60546 configure-mpc: maybe-all-mpfr
60548 configure-stage1-mpc: maybe-all-stage1-mpfr
60549 configure-stage2-mpc: maybe-all-stage2-mpfr
60550 configure-stage3-mpc: maybe-all-stage3-mpfr
60551 configure-stage4-mpc: maybe-all-stage4-mpfr
60552 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
60553 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
60554 configure-ppl: maybe-all-gmp
60556 configure-stage1-ppl: maybe-all-stage1-gmp
60557 configure-stage2-ppl: maybe-all-stage2-gmp
60558 configure-stage3-ppl: maybe-all-stage3-gmp
60559 configure-stage4-ppl: maybe-all-stage4-gmp
60560 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
60561 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
60562 configure-ppl: maybe-all-mpfr
60564 configure-stage1-ppl: maybe-all-stage1-mpfr
60565 configure-stage2-ppl: maybe-all-stage2-mpfr
60566 configure-stage3-ppl: maybe-all-stage3-mpfr
60567 configure-stage4-ppl: maybe-all-stage4-mpfr
60568 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
60569 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
60570 configure-cloog: maybe-all-ppl
60572 configure-stage1-cloog: maybe-all-stage1-ppl
60573 configure-stage2-cloog: maybe-all-stage2-ppl
60574 configure-stage3-cloog: maybe-all-stage3-ppl
60575 configure-stage4-cloog: maybe-all-stage4-ppl
60576 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
60577 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
60578 configure-gdb: maybe-all-intl
60579 configure-gdb: maybe-configure-sim
60580 configure-gdb: maybe-all-bfd
60581 configure-gdb: maybe-all-libiconv
60582 all-gdb: maybe-all-libiberty
60583 all-gdb: maybe-all-libiconv
60584 all-gdb: maybe-all-opcodes
60585 all-gdb: maybe-all-readline
60586 all-gdb: maybe-all-build-bison
60587 all-gdb: maybe-all-build-byacc
60588 all-gdb: maybe-all-sim
60589 all-gdb: maybe-all-libdecnumber
60590 configure-libgui: maybe-configure-tcl
60591 configure-libgui: maybe-configure-tk
60592 all-libgui: maybe-all-tcl
60593 all-libgui: maybe-all-tk
60594 all-libgui: maybe-all-itcl
60595 configure-bfd: configure-libiberty
60597 configure-stage1-bfd: configure-stage1-libiberty
60598 configure-stage2-bfd: configure-stage2-libiberty
60599 configure-stage3-bfd: configure-stage3-libiberty
60600 configure-stage4-bfd: configure-stage4-libiberty
60601 configure-stageprofile-bfd: configure-stageprofile-libiberty
60602 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
60603 configure-bfd: maybe-configure-intl
60605 configure-stage1-bfd: maybe-configure-stage1-intl
60606 configure-stage2-bfd: maybe-configure-stage2-intl
60607 configure-stage3-bfd: maybe-configure-stage3-intl
60608 configure-stage4-bfd: maybe-configure-stage4-intl
60609 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
60610 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
60611 all-bfd: maybe-all-libiberty
60613 all-stage1-bfd: maybe-all-stage1-libiberty
60614 all-stage2-bfd: maybe-all-stage2-libiberty
60615 all-stage3-bfd: maybe-all-stage3-libiberty
60616 all-stage4-bfd: maybe-all-stage4-libiberty
60617 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
60618 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
60619 all-bfd: maybe-all-intl
60621 all-stage1-bfd: maybe-all-stage1-intl
60622 all-stage2-bfd: maybe-all-stage2-intl
60623 all-stage3-bfd: maybe-all-stage3-intl
60624 all-stage4-bfd: maybe-all-stage4-intl
60625 all-stageprofile-bfd: maybe-all-stageprofile-intl
60626 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
60627 configure-opcodes: configure-libiberty
60629 configure-stage1-opcodes: configure-stage1-libiberty
60630 configure-stage2-opcodes: configure-stage2-libiberty
60631 configure-stage3-opcodes: configure-stage3-libiberty
60632 configure-stage4-opcodes: configure-stage4-libiberty
60633 configure-stageprofile-opcodes: configure-stageprofile-libiberty
60634 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
60635 all-opcodes: maybe-all-libiberty
60637 all-stage1-opcodes: maybe-all-stage1-libiberty
60638 all-stage2-opcodes: maybe-all-stage2-libiberty
60639 all-stage3-opcodes: maybe-all-stage3-libiberty
60640 all-stage4-opcodes: maybe-all-stage4-libiberty
60641 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
60642 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
60643 configure-binutils: maybe-configure-intl
60645 configure-stage1-binutils: maybe-configure-stage1-intl
60646 configure-stage2-binutils: maybe-configure-stage2-intl
60647 configure-stage3-binutils: maybe-configure-stage3-intl
60648 configure-stage4-binutils: maybe-configure-stage4-intl
60649 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
60650 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
60651 all-binutils: maybe-all-libiberty
60653 all-stage1-binutils: maybe-all-stage1-libiberty
60654 all-stage2-binutils: maybe-all-stage2-libiberty
60655 all-stage3-binutils: maybe-all-stage3-libiberty
60656 all-stage4-binutils: maybe-all-stage4-libiberty
60657 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
60658 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
60659 all-binutils: maybe-all-opcodes
60661 all-stage1-binutils: maybe-all-stage1-opcodes
60662 all-stage2-binutils: maybe-all-stage2-opcodes
60663 all-stage3-binutils: maybe-all-stage3-opcodes
60664 all-stage4-binutils: maybe-all-stage4-opcodes
60665 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
60666 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
60667 all-binutils: maybe-all-bfd
60669 all-stage1-binutils: maybe-all-stage1-bfd
60670 all-stage2-binutils: maybe-all-stage2-bfd
60671 all-stage3-binutils: maybe-all-stage3-bfd
60672 all-stage4-binutils: maybe-all-stage4-bfd
60673 all-stageprofile-binutils: maybe-all-stageprofile-bfd
60674 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
60675 all-binutils: maybe-all-build-flex
60677 all-stage1-binutils: maybe-all-build-flex
60678 all-stage2-binutils: maybe-all-build-flex
60679 all-stage3-binutils: maybe-all-build-flex
60680 all-stage4-binutils: maybe-all-build-flex
60681 all-stageprofile-binutils: maybe-all-build-flex
60682 all-stagefeedback-binutils: maybe-all-build-flex
60683 all-binutils: maybe-all-build-bison
60685 all-stage1-binutils: maybe-all-build-bison
60686 all-stage2-binutils: maybe-all-build-bison
60687 all-stage3-binutils: maybe-all-build-bison
60688 all-stage4-binutils: maybe-all-build-bison
60689 all-stageprofile-binutils: maybe-all-build-bison
60690 all-stagefeedback-binutils: maybe-all-build-bison
60691 all-binutils: maybe-all-build-byacc
60693 all-stage1-binutils: maybe-all-build-byacc
60694 all-stage2-binutils: maybe-all-build-byacc
60695 all-stage3-binutils: maybe-all-build-byacc
60696 all-stage4-binutils: maybe-all-build-byacc
60697 all-stageprofile-binutils: maybe-all-build-byacc
60698 all-stagefeedback-binutils: maybe-all-build-byacc
60699 all-binutils: maybe-all-intl
60701 all-stage1-binutils: maybe-all-stage1-intl
60702 all-stage2-binutils: maybe-all-stage2-intl
60703 all-stage3-binutils: maybe-all-stage3-intl
60704 all-stage4-binutils: maybe-all-stage4-intl
60705 all-stageprofile-binutils: maybe-all-stageprofile-intl
60706 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
60707 install-binutils: maybe-install-opcodes
60708 install-strip-binutils: maybe-install-strip-opcodes
60709 install-opcodes: maybe-install-bfd
60710 install-strip-opcodes: maybe-install-strip-bfd
60711 configure-gas: maybe-configure-intl
60713 configure-stage1-gas: maybe-configure-stage1-intl
60714 configure-stage2-gas: maybe-configure-stage2-intl
60715 configure-stage3-gas: maybe-configure-stage3-intl
60716 configure-stage4-gas: maybe-configure-stage4-intl
60717 configure-stageprofile-gas: maybe-configure-stageprofile-intl
60718 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
60719 all-gas: maybe-all-libiberty
60721 all-stage1-gas: maybe-all-stage1-libiberty
60722 all-stage2-gas: maybe-all-stage2-libiberty
60723 all-stage3-gas: maybe-all-stage3-libiberty
60724 all-stage4-gas: maybe-all-stage4-libiberty
60725 all-stageprofile-gas: maybe-all-stageprofile-libiberty
60726 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
60727 all-gas: maybe-all-opcodes
60729 all-stage1-gas: maybe-all-stage1-opcodes
60730 all-stage2-gas: maybe-all-stage2-opcodes
60731 all-stage3-gas: maybe-all-stage3-opcodes
60732 all-stage4-gas: maybe-all-stage4-opcodes
60733 all-stageprofile-gas: maybe-all-stageprofile-opcodes
60734 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
60735 all-gas: maybe-all-bfd
60737 all-stage1-gas: maybe-all-stage1-bfd
60738 all-stage2-gas: maybe-all-stage2-bfd
60739 all-stage3-gas: maybe-all-stage3-bfd
60740 all-stage4-gas: maybe-all-stage4-bfd
60741 all-stageprofile-gas: maybe-all-stageprofile-bfd
60742 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
60743 all-gas: maybe-all-intl
60745 all-stage1-gas: maybe-all-stage1-intl
60746 all-stage2-gas: maybe-all-stage2-intl
60747 all-stage3-gas: maybe-all-stage3-intl
60748 all-stage4-gas: maybe-all-stage4-intl
60749 all-stageprofile-gas: maybe-all-stageprofile-intl
60750 all-stagefeedback-gas: maybe-all-stagefeedback-intl
60751 configure-gprof: maybe-configure-intl
60752 all-gprof: maybe-all-libiberty
60753 all-gprof: maybe-all-bfd
60754 all-gprof: maybe-all-opcodes
60755 all-gprof: maybe-all-intl
60756 configure-ld: maybe-configure-intl
60758 configure-stage1-ld: maybe-configure-stage1-intl
60759 configure-stage2-ld: maybe-configure-stage2-intl
60760 configure-stage3-ld: maybe-configure-stage3-intl
60761 configure-stage4-ld: maybe-configure-stage4-intl
60762 configure-stageprofile-ld: maybe-configure-stageprofile-intl
60763 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
60764 all-ld: maybe-all-libiberty
60766 all-stage1-ld: maybe-all-stage1-libiberty
60767 all-stage2-ld: maybe-all-stage2-libiberty
60768 all-stage3-ld: maybe-all-stage3-libiberty
60769 all-stage4-ld: maybe-all-stage4-libiberty
60770 all-stageprofile-ld: maybe-all-stageprofile-libiberty
60771 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
60772 all-ld: maybe-all-bfd
60774 all-stage1-ld: maybe-all-stage1-bfd
60775 all-stage2-ld: maybe-all-stage2-bfd
60776 all-stage3-ld: maybe-all-stage3-bfd
60777 all-stage4-ld: maybe-all-stage4-bfd
60778 all-stageprofile-ld: maybe-all-stageprofile-bfd
60779 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
60780 all-ld: maybe-all-opcodes
60782 all-stage1-ld: maybe-all-stage1-opcodes
60783 all-stage2-ld: maybe-all-stage2-opcodes
60784 all-stage3-ld: maybe-all-stage3-opcodes
60785 all-stage4-ld: maybe-all-stage4-opcodes
60786 all-stageprofile-ld: maybe-all-stageprofile-opcodes
60787 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
60788 all-ld: maybe-all-build-bison
60790 all-stage1-ld: maybe-all-build-bison
60791 all-stage2-ld: maybe-all-build-bison
60792 all-stage3-ld: maybe-all-build-bison
60793 all-stage4-ld: maybe-all-build-bison
60794 all-stageprofile-ld: maybe-all-build-bison
60795 all-stagefeedback-ld: maybe-all-build-bison
60796 all-ld: maybe-all-build-byacc
60798 all-stage1-ld: maybe-all-build-byacc
60799 all-stage2-ld: maybe-all-build-byacc
60800 all-stage3-ld: maybe-all-build-byacc
60801 all-stage4-ld: maybe-all-build-byacc
60802 all-stageprofile-ld: maybe-all-build-byacc
60803 all-stagefeedback-ld: maybe-all-build-byacc
60804 all-ld: maybe-all-build-flex
60806 all-stage1-ld: maybe-all-build-flex
60807 all-stage2-ld: maybe-all-build-flex
60808 all-stage3-ld: maybe-all-build-flex
60809 all-stage4-ld: maybe-all-build-flex
60810 all-stageprofile-ld: maybe-all-build-flex
60811 all-stagefeedback-ld: maybe-all-build-flex
60812 all-ld: maybe-all-intl
60814 all-stage1-ld: maybe-all-stage1-intl
60815 all-stage2-ld: maybe-all-stage2-intl
60816 all-stage3-ld: maybe-all-stage3-intl
60817 all-stage4-ld: maybe-all-stage4-intl
60818 all-stageprofile-ld: maybe-all-stageprofile-intl
60819 all-stagefeedback-ld: maybe-all-stagefeedback-intl
60820 install-ld: maybe-install-gold
60821 install-strip-ld: maybe-install-strip-gold
60822 configure-gold: maybe-configure-intl
60824 configure-stage1-gold: maybe-configure-stage1-intl
60825 configure-stage2-gold: maybe-configure-stage2-intl
60826 configure-stage3-gold: maybe-configure-stage3-intl
60827 configure-stage4-gold: maybe-configure-stage4-intl
60828 configure-stageprofile-gold: maybe-configure-stageprofile-intl
60829 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
60830 all-gold: maybe-all-libiberty
60832 all-stage1-gold: maybe-all-stage1-libiberty
60833 all-stage2-gold: maybe-all-stage2-libiberty
60834 all-stage3-gold: maybe-all-stage3-libiberty
60835 all-stage4-gold: maybe-all-stage4-libiberty
60836 all-stageprofile-gold: maybe-all-stageprofile-libiberty
60837 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
60838 all-gold: maybe-all-intl
60840 all-stage1-gold: maybe-all-stage1-intl
60841 all-stage2-gold: maybe-all-stage2-intl
60842 all-stage3-gold: maybe-all-stage3-intl
60843 all-stage4-gold: maybe-all-stage4-intl
60844 all-stageprofile-gold: maybe-all-stageprofile-intl
60845 all-stagefeedback-gold: maybe-all-stagefeedback-intl
60846 all-gold: maybe-all-bfd
60848 all-stage1-gold: maybe-all-stage1-bfd
60849 all-stage2-gold: maybe-all-stage2-bfd
60850 all-stage3-gold: maybe-all-stage3-bfd
60851 all-stage4-gold: maybe-all-stage4-bfd
60852 all-stageprofile-gold: maybe-all-stageprofile-bfd
60853 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
60854 all-gold: maybe-all-build-bison
60856 all-stage1-gold: maybe-all-build-bison
60857 all-stage2-gold: maybe-all-build-bison
60858 all-stage3-gold: maybe-all-build-bison
60859 all-stage4-gold: maybe-all-build-bison
60860 all-stageprofile-gold: maybe-all-build-bison
60861 all-stagefeedback-gold: maybe-all-build-bison
60862 all-gold: maybe-all-build-byacc
60864 all-stage1-gold: maybe-all-build-byacc
60865 all-stage2-gold: maybe-all-build-byacc
60866 all-stage3-gold: maybe-all-build-byacc
60867 all-stage4-gold: maybe-all-build-byacc
60868 all-stageprofile-gold: maybe-all-build-byacc
60869 all-stagefeedback-gold: maybe-all-build-byacc
60870 check-gold: maybe-all-binutils
60872 check-stage1-gold: maybe-all-stage1-binutils
60873 check-stage2-gold: maybe-all-stage2-binutils
60874 check-stage3-gold: maybe-all-stage3-binutils
60875 check-stage4-gold: maybe-all-stage4-binutils
60876 check-stageprofile-gold: maybe-all-stageprofile-binutils
60877 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
60878 check-gold: maybe-all-gas
60880 check-stage1-gold: maybe-all-stage1-gas
60881 check-stage2-gold: maybe-all-stage2-gas
60882 check-stage3-gold: maybe-all-stage3-gas
60883 check-stage4-gold: maybe-all-stage4-gas
60884 check-stageprofile-gold: maybe-all-stageprofile-gas
60885 check-stagefeedback-gold: maybe-all-stagefeedback-gas
60886 configure-opcodes: maybe-configure-intl
60888 configure-stage1-opcodes: maybe-configure-stage1-intl
60889 configure-stage2-opcodes: maybe-configure-stage2-intl
60890 configure-stage3-opcodes: maybe-configure-stage3-intl
60891 configure-stage4-opcodes: maybe-configure-stage4-intl
60892 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
60893 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
60894 all-opcodes: maybe-all-bfd
60896 all-stage1-opcodes: maybe-all-stage1-bfd
60897 all-stage2-opcodes: maybe-all-stage2-bfd
60898 all-stage3-opcodes: maybe-all-stage3-bfd
60899 all-stage4-opcodes: maybe-all-stage4-bfd
60900 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
60901 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
60902 all-opcodes: maybe-all-libiberty
60904 all-stage1-opcodes: maybe-all-stage1-libiberty
60905 all-stage2-opcodes: maybe-all-stage2-libiberty
60906 all-stage3-opcodes: maybe-all-stage3-libiberty
60907 all-stage4-opcodes: maybe-all-stage4-libiberty
60908 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
60909 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
60910 all-opcodes: maybe-all-intl
60912 all-stage1-opcodes: maybe-all-stage1-intl
60913 all-stage2-opcodes: maybe-all-stage2-intl
60914 all-stage3-opcodes: maybe-all-stage3-intl
60915 all-stage4-opcodes: maybe-all-stage4-intl
60916 all-stageprofile-opcodes: maybe-all-stageprofile-intl
60917 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
60918 all-dejagnu: maybe-all-tcl
60919 all-dejagnu: maybe-all-expect
60920 all-dejagnu: maybe-all-tk
60921 configure-expect: maybe-configure-tcl
60922 configure-expect: maybe-configure-tk
60923 all-expect: maybe-all-tcl
60924 all-expect: maybe-all-tk
60925 configure-itcl: maybe-configure-tcl
60926 configure-itcl: maybe-configure-tk
60927 all-itcl: maybe-all-tcl
60928 all-itcl: maybe-all-tk
60929 install-itcl: maybe-install-tcl
60930 install-strip-itcl: maybe-install-strip-tcl
60931 configure-tk: maybe-configure-tcl
60932 all-tk: maybe-all-tcl
60933 all-sid: maybe-all-libiberty
60934 all-sid: maybe-all-bfd
60935 all-sid: maybe-all-opcodes
60936 all-sid: maybe-all-tcl
60937 all-sid: maybe-all-tk
60938 install-sid: maybe-install-tcl
60939 install-strip-sid: maybe-install-strip-tcl
60940 install-sid: maybe-install-tk
60941 install-strip-sid: maybe-install-strip-tk
60942 configure-sim: maybe-configure-intl
60943 all-sim: maybe-all-intl
60944 all-sim: maybe-all-libiberty
60945 all-sim: maybe-all-bfd
60946 all-sim: maybe-all-opcodes
60947 all-sim: maybe-all-readline
60948 all-sim: maybe-configure-gdb
60949 all-fastjar: maybe-all-zlib
60950 all-fastjar: maybe-all-build-texinfo
60951 all-fastjar: maybe-all-libiberty
60952 all-autoconf: maybe-all-m4
60953 all-autoconf: maybe-all-build-texinfo
60954 all-automake: maybe-all-m4
60955 all-automake: maybe-all-build-texinfo
60956 all-automake: maybe-all-autoconf
60957 all-bison: maybe-all-intl
60958 all-bison: maybe-all-build-texinfo
60959 all-diff: maybe-all-intl
60960 all-diff: maybe-all-build-texinfo
60961 all-fileutils: maybe-all-intl
60962 all-fileutils: maybe-all-build-texinfo
60963 all-flex: maybe-all-build-bison
60964 all-flex: maybe-all-build-byacc
60965 all-flex: maybe-all-intl
60966 all-flex: maybe-all-m4
60967 all-flex: maybe-all-build-texinfo
60968 all-gzip: maybe-all-intl
60969 all-gzip: maybe-all-zlib
60970 all-gzip: maybe-all-build-texinfo
60971 all-hello: maybe-all-intl
60972 all-hello: maybe-all-build-texinfo
60973 all-m4: maybe-all-intl
60974 all-m4: maybe-all-build-texinfo
60975 all-make: maybe-all-intl
60976 all-make: maybe-all-build-texinfo
60977 all-patch: maybe-all-build-texinfo
60978 all-make: maybe-all-build-texinfo
60979 all-prms: maybe-all-libiberty
60980 all-recode: maybe-all-build-texinfo
60981 all-sed: maybe-all-build-texinfo
60982 all-send-pr: maybe-all-prms
60983 all-tar: maybe-all-build-texinfo
60984 all-uudecode: maybe-all-build-texinfo
60985 configure-target-boehm-gc: maybe-configure-target-qthreads
60986 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
60987 configure-target-fastjar: maybe-configure-target-zlib
60988 all-target-fastjar: maybe-all-target-zlib
60989 all-target-fastjar: maybe-all-target-libiberty
60990 configure-target-libgo: maybe-configure-target-libffi
60991 configure-target-libgo: maybe-all-target-libstdc++-v3
60992 all-target-libgo: maybe-all-target-libffi
60993 configure-target-libjava: maybe-configure-target-zlib
60994 configure-target-libjava: maybe-configure-target-boehm-gc
60995 configure-target-libjava: maybe-configure-target-qthreads
60996 configure-target-libjava: maybe-configure-target-libffi
60997 all-target-libjava: maybe-all-fastjar
60998 all-target-libjava: maybe-all-target-zlib
60999 all-target-libjava: maybe-all-target-boehm-gc
61000 all-target-libjava: maybe-all-target-qthreads
61001 all-target-libjava: maybe-all-target-libffi
61002 configure-target-libobjc: maybe-configure-target-boehm-gc
61003 all-target-libobjc: maybe-all-target-libiberty
61004 all-target-libobjc: maybe-all-target-boehm-gc
61005 all-target-libstdc++-v3: maybe-all-target-libiberty
61006 configure-target-libstdc++-v3: maybe-configure-target-libgomp
61008 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
61009 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
61010 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
61011 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
61012 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
61013 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
61014 all-target-libstdc++-v3: maybe-configure-target-libgomp
61016 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
61017 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
61018 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
61019 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
61020 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
61021 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
61022 all-target-libgloss: maybe-all-target-newlib
61023 all-target-winsup: maybe-all-target-libiberty
61024 all-target-winsup: maybe-all-target-libtermcap
61025 configure-target-libiberty: maybe-all-binutils
61026 configure-target-libiberty: maybe-all-ld
61027 configure-target-newlib: maybe-all-binutils
61028 configure-target-newlib: maybe-all-ld
61029 configure-target-libgfortran: maybe-all-target-libquadmath
61032 # Dependencies for target modules on other target modules are
61033 # described by lang_env_dependencies; the defaults apply to anything
61034 # not mentioned there.
61037 @if gcc-bootstrap
61038 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
61039 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
61040 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
61041 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
61042 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
61043 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
61044 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
61045 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
61046 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
61047 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
61048 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
61049 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
61050 @endif gcc-bootstrap
61052 @if gcc-no-bootstrap
61053 configure-target-libstdc++-v3: maybe-all-target-libgcc
61054 configure-target-libmudflap: maybe-all-target-libgcc
61055 configure-target-libssp: maybe-all-target-libgcc
61056 configure-target-newlib: maybe-all-target-libgcc
61057 configure-target-libquadmath: maybe-all-target-libgcc
61058 configure-target-libgfortran: maybe-all-target-libgcc
61059 configure-target-libobjc: maybe-all-target-libgcc
61060 configure-target-libgo: maybe-all-target-libgcc
61061 configure-target-libtermcap: maybe-all-target-libgcc
61062 configure-target-winsup: maybe-all-target-libgcc
61063 configure-target-libgloss: maybe-all-target-libgcc
61064 configure-target-libiberty: maybe-all-target-libgcc
61065 configure-target-gperf: maybe-all-target-libgcc
61066 configure-target-examples: maybe-all-target-libgcc
61067 configure-target-libffi: maybe-all-target-libgcc
61068 configure-target-libjava: maybe-all-target-libgcc
61069 configure-target-zlib: maybe-all-target-libgcc
61070 configure-target-boehm-gc: maybe-all-target-libgcc
61071 configure-target-qthreads: maybe-all-target-libgcc
61072 configure-target-rda: maybe-all-target-libgcc
61073 configure-target-libada: maybe-all-target-libgcc
61074 configure-target-libgomp: maybe-all-target-libgcc
61075 @endif gcc-no-bootstrap
61078 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
61080 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
61082 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
61086 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
61088 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
61090 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
61092 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
61094 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
61096 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
61100 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
61101 configure-target-gperf: maybe-all-target-libstdc++-v3
61103 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
61105 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
61107 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
61108 configure-target-libjava: maybe-all-target-libstdc++-v3
61110 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
61112 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
61114 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
61116 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
61118 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
61120 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
61123 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
61124 GDB_TK = @GDB_TK@
61125 INSTALL_GDB_TK = @INSTALL_GDB_TK@
61126 configure-gdb: $(CONFIGURE_GDB_TK)
61127 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
61128 install-gdb: $(INSTALL_GDB_TK)
61130 # Serialization dependencies. Host configures don't work well in parallel to
61131 # each other, due to contention over config.cache. Target configures and
61132 # build configures are similar.
61133 @serialization_dependencies@
61135 # --------------------------------
61136 # Regenerating top level configury
61137 # --------------------------------
61139 # Rebuilding Makefile.in, using autogen.
61140 AUTOGEN = autogen
61141 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
61142 cd $(srcdir) && $(AUTOGEN) Makefile.def
61144 # Rebuilding Makefile.
61145 Makefile: $(srcdir)/Makefile.in config.status
61146 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
61148 config.status: configure
61149 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
61151 # Rebuilding configure.
61152 AUTOCONF = autoconf
61153 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
61154 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
61155 cd $(srcdir) && $(AUTOCONF)
61157 # ------------------------------
61158 # Special directives to GNU Make
61159 # ------------------------------
61161 # Don't pass command-line variables to submakes.
61162 .NOEXPORT:
61163 MAKEOVERRIDES=
61165 # end of Makefile.in