decl.c (struct named_label_entry): Change type of bad_decls field to a VEC.
[official-gcc.git] / Makefile.in
blob22a77d261aa9295971f1b3b98fc6fadccf0e7192
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 GDB_NLM_DEPS =
105 # This is the name of the environment variable used for the path to
106 # the libraries.
107 RPATH_ENVVAR = @RPATH_ENVVAR@
109 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
110 # is used instead of the directory itself to avoid including built
111 # executables in PATH.
112 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
114 # Build programs are put under this directory.
115 BUILD_SUBDIR = @build_subdir@
116 # This is set by the configure script to the arguments to use when configuring
117 # directories built for the build system.
118 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
120 # Linker flags to use on the host, for stage1 or when not
121 # bootstrapping.
122 STAGE1_LDFLAGS = @stage1_ldflags@
124 # Libraries to use on the host, for stage1 or when not bootstrapping.
125 STAGE1_LIBS = @stage1_libs@
127 # Linker flags to use for stage2 and later.
128 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
130 # Libraries to use for stage2 and later.
131 POSTSTAGE1_LIBS = @poststage1_libs@
133 # This is the list of variables to export in the environment when
134 # configuring any subdirectory. It must also be exported whenever
135 # recursing into a build directory in case that directory's Makefile
136 # re-runs configure.
137 BASE_EXPORTS = \
138 FLEX="$(FLEX)"; export FLEX; \
139 LEX="$(LEX)"; export LEX; \
140 BISON="$(BISON)"; export BISON; \
141 YACC="$(YACC)"; export YACC; \
142 M4="$(M4)"; export M4; \
143 SED="$(SED)"; export SED; \
144 AWK="$(AWK)"; export AWK; \
145 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
147 # This is the list of variables to export in the environment when
148 # configuring subdirectories for the build system.
149 BUILD_EXPORTS = \
150 $(BASE_EXPORTS) \
151 AR="$(AR_FOR_BUILD)"; export AR; \
152 AS="$(AS_FOR_BUILD)"; export AS; \
153 CC="$(CC_FOR_BUILD)"; export CC; \
154 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
155 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
156 CXX="$(CXX_FOR_BUILD)"; export CXX; \
157 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
158 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
159 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 AR="$(AR)"; export AR; \
197 AS="$(AS)"; export AS; \
198 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
199 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
200 LD="$(LD)"; export LD; \
201 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
202 NM="$(NM)"; export NM; \
203 RANLIB="$(RANLIB)"; export RANLIB; \
204 WINDRES="$(WINDRES)"; export WINDRES; \
205 WINDMC="$(WINDMC)"; export WINDMC; \
206 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
207 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
208 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
209 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
210 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
211 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
212 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
213 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
214 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
215 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
216 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
217 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
218 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
219 PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
220 PPLINC="$(HOST_PPLINC)"; export PPLINC; \
221 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
222 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
223 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
224 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
225 @if gcc-bootstrap
226 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
227 @endif gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
230 POSTSTAGE1_CXX_EXPORT = \
231 CXX='$(CXX)'; export CXX; \
232 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
233 @if target-libstdc++-v3-bootstrap
234 # Override the above if we're bootstrapping C++.
235 POSTSTAGE1_CXX_EXPORT = \
236 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
237 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
238 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
239 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
240 -I$$s/libstdc++-v3/libsupc++ \
241 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
242 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
243 @endif target-libstdc++-v3-bootstrap
245 # Similar, for later GCC stages.
246 POSTSTAGE1_HOST_EXPORTS = \
247 $(HOST_EXPORTS) \
248 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
249 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
250 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
251 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
252 $(POSTSTAGE1_CXX_EXPORT) \
253 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
254 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
255 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
257 # Target libraries are put under this directory:
258 TARGET_SUBDIR = @target_subdir@
259 # This is set by the configure script to the arguments to use when configuring
260 # directories built for the target.
261 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
262 # This is the list of variables to export in the environment when
263 # configuring subdirectories for the target system.
264 BASE_TARGET_EXPORTS = \
265 $(BASE_EXPORTS) \
266 AR="$(AR_FOR_TARGET)"; export AR; \
267 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
268 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
269 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
270 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
271 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
273 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
274 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
275 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
276 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
277 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
278 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
279 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
280 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
281 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
282 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
283 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
284 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
285 @if gcc-bootstrap
286 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
287 @endif gcc-bootstrap
288 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
289 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
291 RAW_CXX_TARGET_EXPORTS = \
292 $(BASE_TARGET_EXPORTS) \
293 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
294 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
296 NORMAL_TARGET_EXPORTS = \
297 $(BASE_TARGET_EXPORTS) \
298 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
300 # Where to find GMP
301 HOST_GMPLIBS = @gmplibs@
302 HOST_GMPINC = @gmpinc@
304 # Where to find PPL
305 HOST_PPLLIBS = @ppllibs@
306 HOST_PPLINC = @pplinc@
308 # Where to find CLOOG
309 HOST_CLOOGLIBS = @clooglibs@
310 HOST_CLOOGINC = @clooginc@
312 # Where to find libelf
313 HOST_LIBELFLIBS = @libelflibs@
314 HOST_LIBELFINC = @libelfinc@
316 # ----------------------------------------------
317 # Programs producing files for the BUILD machine
318 # ----------------------------------------------
320 SHELL = @config_shell@
322 # pwd command to use. Allow user to override default by setting PWDCMD in
323 # the environment to account for automounters. The make variable must not
324 # be called PWDCMD, otherwise the value set here is passed to make
325 # subprocesses and overrides the setting from the user's environment.
326 # Don't use PWD since it is a common shell environment variable and we
327 # don't want to corrupt it.
328 PWD_COMMAND = $${PWDCMD-pwd}
330 # compilers to use to create programs which must be run in the build
331 # environment.
332 AR_FOR_BUILD = @AR_FOR_BUILD@
333 AS_FOR_BUILD = @AS_FOR_BUILD@
334 CC_FOR_BUILD = @CC_FOR_BUILD@
335 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
336 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
337 CXX_FOR_BUILD = @CXX_FOR_BUILD@
338 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
339 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
340 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
341 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
342 LD_FOR_BUILD = @LD_FOR_BUILD@
343 NM_FOR_BUILD = @NM_FOR_BUILD@
344 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
345 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
346 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
348 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
349 # here so that they can be overridden by Makefile fragments.
350 BUILD_PREFIX = @BUILD_PREFIX@
351 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
353 # Flags to pass to stage2 and later makes. They are defined
354 # here so that they can be overridden by Makefile fragments.
355 BOOT_CFLAGS= -g -O2
356 BOOT_LDFLAGS=
357 BOOT_ADAFLAGS=-gnatpg -gnata
359 AWK = @AWK@
360 SED = @SED@
361 BISON = @BISON@
362 YACC = @YACC@
363 FLEX = @FLEX@
364 LEX = @LEX@
365 M4 = @M4@
366 MAKEINFO = @MAKEINFO@
367 EXPECT = @EXPECT@
368 RUNTEST = @RUNTEST@
370 # This just becomes part of the MAKEINFO definition passed down to
371 # sub-makes. It lets flags be given on the command line while still
372 # using the makeinfo from the object tree.
373 # (Default to avoid splitting info files by setting the threshold high.)
374 MAKEINFOFLAGS = --split-size=5000000
376 # ---------------------------------------------
377 # Programs producing files for the HOST machine
378 # ---------------------------------------------
380 AS = @AS@
381 AR = @AR@
382 AR_FLAGS = rc
383 CC = @CC@
384 CXX = @CXX@
385 DLLTOOL = @DLLTOOL@
386 LD = @LD@
387 LIPO = @LIPO@
388 NM = @NM@
389 OBJDUMP = @OBJDUMP@
390 RANLIB = @RANLIB@
391 STRIP = @STRIP@
392 WINDRES = @WINDRES@
393 WINDMC = @WINDMC@
395 GNATBIND = @GNATBIND@
396 GNATMAKE = @GNATMAKE@
398 CFLAGS = @CFLAGS@
399 LDFLAGS = @LDFLAGS@
400 LIBCFLAGS = $(CFLAGS)
401 CXXFLAGS = @CXXFLAGS@
402 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
404 TFLAGS =
406 # Defaults for all stages; some are overridden below.
408 STAGE_CFLAGS = $(BOOT_CFLAGS)
409 STAGE_TFLAGS = $(TFLAGS)
410 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
413 # Defaults for stage 1; some are overridden below.
414 STAGE1_CFLAGS = $(STAGE_CFLAGS)
415 STAGE1_CXXFLAGS = $(CXXFLAGS)
416 @if target-libstdc++-v3-bootstrap
417 # Override the above if we're bootstrapping C++.
418 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
419 @endif target-libstdc++-v3-bootstrap
420 STAGE1_TFLAGS = $(STAGE_TFLAGS)
421 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
423 # Defaults for stage 2; some are overridden below.
424 STAGE2_CFLAGS = $(STAGE_CFLAGS)
425 STAGE2_CXXFLAGS = $(CXXFLAGS)
426 @if target-libstdc++-v3-bootstrap
427 # Override the above if we're bootstrapping C++.
428 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
429 @endif target-libstdc++-v3-bootstrap
430 STAGE2_TFLAGS = $(STAGE_TFLAGS)
431 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
433 # Defaults for stage 3; some are overridden below.
434 STAGE3_CFLAGS = $(STAGE_CFLAGS)
435 STAGE3_CXXFLAGS = $(CXXFLAGS)
436 @if target-libstdc++-v3-bootstrap
437 # Override the above if we're bootstrapping C++.
438 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
439 @endif target-libstdc++-v3-bootstrap
440 STAGE3_TFLAGS = $(STAGE_TFLAGS)
441 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
443 # Defaults for stage 4; some are overridden below.
444 STAGE4_CFLAGS = $(STAGE_CFLAGS)
445 STAGE4_CXXFLAGS = $(CXXFLAGS)
446 @if target-libstdc++-v3-bootstrap
447 # Override the above if we're bootstrapping C++.
448 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
449 @endif target-libstdc++-v3-bootstrap
450 STAGE4_TFLAGS = $(STAGE_TFLAGS)
451 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
453 # Defaults for stage profile; some are overridden below.
454 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
455 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
456 @if target-libstdc++-v3-bootstrap
457 # Override the above if we're bootstrapping C++.
458 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
459 @endif target-libstdc++-v3-bootstrap
460 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
461 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
463 # Defaults for stage feedback; some are overridden below.
464 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
465 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
466 @if target-libstdc++-v3-bootstrap
467 # Override the above if we're bootstrapping C++.
468 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
469 @endif target-libstdc++-v3-bootstrap
470 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
471 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
474 # Only build the C compiler for stage1, because that is the only one that
475 # we can guarantee will build with the native compiler, and also it is the
476 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
477 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
478 # overrideable (for a bootstrap build stage1 also builds gcc.info).
480 STAGE1_CFLAGS = @stage1_cflags@
481 STAGE1_CHECKING = @stage1_checking@
482 STAGE1_LANGUAGES = @stage1_languages@
483 # * We force-disable intermodule optimizations, even if
484 # --enable-intermodule was passed, since the installed compiler
485 # probably can't handle them. Luckily, autoconf always respects
486 # the last argument when conflicting --enable arguments are passed.
487 # * Likewise, we force-disable coverage flags, since the installed
488 # compiler probably has never heard of them.
489 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
490 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
492 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
493 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
495 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
496 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
498 do-compare = @do_compare@
499 do-compare3 = $(do-compare)
501 # -----------------------------------------------
502 # Programs producing files for the TARGET machine
503 # -----------------------------------------------
505 AR_FOR_TARGET=@AR_FOR_TARGET@
506 AS_FOR_TARGET=@AS_FOR_TARGET@
507 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
509 # If GCC_FOR_TARGET is not overriden on the command line, then this
510 # variable is passed down to the gcc Makefile, where it is used to
511 # build libgcc2.a. We define it here so that it can itself be
512 # overridden on the command line.
513 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
514 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
515 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
516 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
517 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
518 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
519 LD_FOR_TARGET=@LD_FOR_TARGET@
521 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
522 NM_FOR_TARGET=@NM_FOR_TARGET@
523 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
524 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
525 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
526 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
527 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
529 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
530 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
531 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
533 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
534 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
536 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
537 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
538 LDFLAGS_FOR_TARGET =
540 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
541 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
542 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
544 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
546 # ------------------------------------
547 # Miscellaneous targets and flag lists
548 # ------------------------------------
550 # The first rule in the file had better be this one. Don't put any above it.
551 # This lives here to allow makefile fragments to contain dependencies.
552 all:
554 #### host and target specific makefile fragments come in here.
555 @target_makefile_frag@
556 @alphaieee_frag@
557 @ospace_frag@
558 @host_makefile_frag@
561 # This is the list of directories that may be needed in RPATH_ENVVAR
562 # so that prorgams built for the target machine work.
563 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
565 @if target-libstdc++-v3
566 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
567 @endif target-libstdc++-v3
569 @if target-libmudflap
570 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
571 @endif target-libmudflap
573 @if target-libssp
574 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
575 @endif target-libssp
577 @if target-libgomp
578 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
579 @endif target-libgomp
583 # This is the list of directories that may be needed in RPATH_ENVVAR
584 # so that programs built for the host machine work.
585 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)
587 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
588 @if gcc
589 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
590 @endif gcc
593 @if bfd
594 HOST_LIB_PATH_bfd = \
595 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
596 @endif bfd
598 @if opcodes
599 HOST_LIB_PATH_opcodes = \
600 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
601 @endif opcodes
603 @if gmp
604 HOST_LIB_PATH_gmp = \
605 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
606 @endif gmp
608 @if mpfr
609 HOST_LIB_PATH_mpfr = \
610 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
611 @endif mpfr
613 @if mpc
614 HOST_LIB_PATH_mpc = \
615 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
616 @endif mpc
618 @if ppl
619 HOST_LIB_PATH_ppl = \
620 $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
621 @endif ppl
623 @if cloog
624 HOST_LIB_PATH_cloog = \
625 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
626 @endif cloog
628 @if libelf
629 HOST_LIB_PATH_libelf = \
630 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
631 @endif libelf
634 # Flags to pass down to all sub-makes.
635 BASE_FLAGS_TO_PASS = \
636 "DESTDIR=$(DESTDIR)" \
637 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
638 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
639 "bindir=$(bindir)" \
640 "datadir=$(datadir)" \
641 "exec_prefix=$(exec_prefix)" \
642 "includedir=$(includedir)" \
643 "datarootdir=$(datarootdir)" \
644 "docdir=$(docdir)" \
645 "infodir=$(infodir)" \
646 "pdfdir=$(pdfdir)" \
647 "htmldir=$(htmldir)" \
648 "libdir=$(libdir)" \
649 "libexecdir=$(libexecdir)" \
650 "lispdir=$(lispdir)" \
651 "localstatedir=$(localstatedir)" \
652 "mandir=$(mandir)" \
653 "oldincludedir=$(oldincludedir)" \
654 "prefix=$(prefix)" \
655 "sbindir=$(sbindir)" \
656 "sharedstatedir=$(sharedstatedir)" \
657 "sysconfdir=$(sysconfdir)" \
658 "tooldir=$(tooldir)" \
659 "build_tooldir=$(build_tooldir)" \
660 "target_alias=$(target_alias)" \
661 "AWK=$(AWK)" \
662 "BISON=$(BISON)" \
663 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
664 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
665 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
666 "EXPECT=$(EXPECT)" \
667 "FLEX=$(FLEX)" \
668 "INSTALL=$(INSTALL)" \
669 "INSTALL_DATA=$(INSTALL_DATA)" \
670 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
671 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
672 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
673 "LEX=$(LEX)" \
674 "M4=$(M4)" \
675 "MAKE=$(MAKE)" \
676 "RUNTEST=$(RUNTEST)" \
677 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
678 "SED=$(SED)" \
679 "SHELL=$(SHELL)" \
680 "YACC=$(YACC)" \
681 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
682 "ADA_CFLAGS=$(ADA_CFLAGS)" \
683 "AR_FLAGS=$(AR_FLAGS)" \
684 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
685 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
686 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
687 "CFLAGS=$(CFLAGS)" \
688 "CXXFLAGS=$(CXXFLAGS)" \
689 "LDFLAGS=$(LDFLAGS)" \
690 "LIBCFLAGS=$(LIBCFLAGS)" \
691 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
692 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
693 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
694 "GNATBIND=$(GNATBIND)" \
695 "GNATMAKE=$(GNATMAKE)" \
696 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
697 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
698 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
699 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
700 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
701 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
702 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
703 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
704 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
705 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
706 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
707 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
708 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
709 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
710 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
711 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
712 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
713 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
714 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
715 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
716 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
717 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
718 "BUILD_CONFIG=$(BUILD_CONFIG)" \
719 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
720 "LEAN=$(LEAN)" \
721 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
722 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
723 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
724 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
725 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
726 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
727 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
728 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
729 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
730 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
731 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
732 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
733 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
734 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
735 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
736 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
737 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
738 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
739 "TFLAGS=$(TFLAGS)" \
740 "CONFIG_SHELL=$(SHELL)" \
741 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
743 # We leave this in just in case, but it is not needed anymore.
744 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
746 # Flags to pass down to most sub-makes, in which we're building with
747 # the host environment.
748 EXTRA_HOST_FLAGS = \
749 'AR=$(AR)' \
750 'AS=$(AS)' \
751 'CC=$(CC)' \
752 'CXX=$(CXX)' \
753 'DLLTOOL=$(DLLTOOL)' \
754 'GCJ=$(GCJ)' \
755 'GFORTRAN=$(GFORTRAN)' \
756 'LD=$(LD)' \
757 'LIPO=$(LIPO)' \
758 'NM=$(NM)' \
759 'OBJDUMP=$(OBJDUMP)' \
760 'RANLIB=$(RANLIB)' \
761 'STRIP=$(STRIP)' \
762 'WINDRES=$(WINDRES)' \
763 'WINDMC=$(WINDMC)'
765 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
767 # Flags that are concerned with the location of the X11 include files
768 # and library files
770 # NOTE: until the top-level is getting the values via autoconf, it only
771 # causes problems to have this top-level Makefile overriding the autoconf-set
772 # values in child directories. Only variables that don't conflict with
773 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
775 X11_FLAGS_TO_PASS = \
776 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
777 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
779 # Flags to pass to stage2 and later makes.
781 POSTSTAGE1_FLAGS_TO_PASS = \
782 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
783 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
784 GNATBIND="$${GNATBIND}" \
785 LDFLAGS="$${LDFLAGS}" \
786 HOST_LIBS="$${HOST_LIBS}" \
787 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
789 # Flags to pass down to makes which are built with the target environment.
790 # The double $ decreases the length of the command line; those variables
791 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
792 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
793 # so we expand them here.
794 EXTRA_TARGET_FLAGS = \
795 'AR=$$(AR_FOR_TARGET)' \
796 'AS=$(COMPILER_AS_FOR_TARGET)' \
797 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
798 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
799 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
800 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
801 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
802 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
803 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
804 'LD=$(COMPILER_LD_FOR_TARGET)' \
805 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
806 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
807 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
808 'NM=$(COMPILER_NM_FOR_TARGET)' \
809 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
810 'RANLIB=$$(RANLIB_FOR_TARGET)' \
811 'WINDRES=$$(WINDRES_FOR_TARGET)' \
812 'WINDMC=$$(WINDMC_FOR_TARGET)' \
813 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
814 "TFLAGS=$$TFLAGS"
816 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
818 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
819 # unfortunately needs the native compiler and the target ar and
820 # ranlib.
821 # If any variables are added here, they must be added to do-*, below.
822 # The BUILD_* variables are a special case, which are used for the gcc
823 # cross-building scheme.
824 EXTRA_GCC_FLAGS = \
825 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
826 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
827 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
828 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
829 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
830 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
832 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
834 @if gcc
835 BUILD_CONFIG = @BUILD_CONFIG@
836 ifneq ($(BUILD_CONFIG),)
837 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
838 endif
839 @endif gcc
841 .PHONY: configure-host
842 configure-host: \
843 maybe-configure-ash \
844 maybe-configure-autoconf \
845 maybe-configure-automake \
846 maybe-configure-bash \
847 maybe-configure-bfd \
848 maybe-configure-opcodes \
849 maybe-configure-binutils \
850 maybe-configure-bison \
851 maybe-configure-byacc \
852 maybe-configure-bzip2 \
853 maybe-configure-cgen \
854 maybe-configure-dejagnu \
855 maybe-configure-diff \
856 maybe-configure-dosutils \
857 maybe-configure-etc \
858 maybe-configure-fastjar \
859 maybe-configure-fileutils \
860 maybe-configure-findutils \
861 maybe-configure-find \
862 maybe-configure-fixincludes \
863 maybe-configure-flex \
864 maybe-configure-gas \
865 maybe-configure-gcc \
866 maybe-configure-gawk \
867 maybe-configure-gettext \
868 maybe-configure-gmp \
869 maybe-configure-mpfr \
870 maybe-configure-mpc \
871 maybe-configure-ppl \
872 maybe-configure-cloog \
873 maybe-configure-libelf \
874 maybe-configure-gnuserv \
875 maybe-configure-gold \
876 maybe-configure-gprof \
877 maybe-configure-gzip \
878 maybe-configure-hello \
879 maybe-configure-indent \
880 maybe-configure-intl \
881 maybe-configure-tcl \
882 maybe-configure-itcl \
883 maybe-configure-ld \
884 maybe-configure-libcpp \
885 maybe-configure-libdecnumber \
886 maybe-configure-libgui \
887 maybe-configure-libiberty \
888 maybe-configure-libiconv \
889 maybe-configure-libtool \
890 maybe-configure-m4 \
891 maybe-configure-make \
892 maybe-configure-mmalloc \
893 maybe-configure-patch \
894 maybe-configure-perl \
895 maybe-configure-prms \
896 maybe-configure-rcs \
897 maybe-configure-readline \
898 maybe-configure-release \
899 maybe-configure-recode \
900 maybe-configure-sed \
901 maybe-configure-send-pr \
902 maybe-configure-shellutils \
903 maybe-configure-sid \
904 maybe-configure-sim \
905 maybe-configure-tar \
906 maybe-configure-texinfo \
907 maybe-configure-textutils \
908 maybe-configure-time \
909 maybe-configure-uudecode \
910 maybe-configure-wdiff \
911 maybe-configure-zip \
912 maybe-configure-zlib \
913 maybe-configure-gdb \
914 maybe-configure-expect \
915 maybe-configure-guile \
916 maybe-configure-tk \
917 maybe-configure-libtermcap \
918 maybe-configure-utils \
919 maybe-configure-gnattools \
920 maybe-configure-lto-plugin
921 .PHONY: configure-target
922 configure-target: \
923 maybe-configure-target-libstdc++-v3 \
924 maybe-configure-target-libmudflap \
925 maybe-configure-target-libssp \
926 maybe-configure-target-newlib \
927 maybe-configure-target-libgcc \
928 maybe-configure-target-libgfortran \
929 maybe-configure-target-libobjc \
930 maybe-configure-target-libtermcap \
931 maybe-configure-target-winsup \
932 maybe-configure-target-libgloss \
933 maybe-configure-target-libiberty \
934 maybe-configure-target-gperf \
935 maybe-configure-target-examples \
936 maybe-configure-target-libffi \
937 maybe-configure-target-libjava \
938 maybe-configure-target-zlib \
939 maybe-configure-target-boehm-gc \
940 maybe-configure-target-qthreads \
941 maybe-configure-target-rda \
942 maybe-configure-target-libada \
943 maybe-configure-target-libgomp
945 # The target built for a native non-bootstrap build.
946 .PHONY: all
947 all:
948 @if gcc-bootstrap
949 [ -f stage_final ] || echo stage3 > stage_final
950 @r=`${PWD_COMMAND}`; export r; \
951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
952 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
953 @endif gcc-bootstrap
954 @: $(MAKE); $(unstage)
955 @r=`${PWD_COMMAND}`; export r; \
956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
957 @if gcc-bootstrap
958 if [ -f stage_last ]; then \
959 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
960 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
961 else \
962 @endif gcc-bootstrap
963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
964 @if gcc-bootstrap
966 fi \
967 @endif gcc-bootstrap
968 && :
970 .PHONY: all-build
972 all-build: maybe-all-build-libiberty
973 all-build: maybe-all-build-bison
974 all-build: maybe-all-build-byacc
975 all-build: maybe-all-build-flex
976 all-build: maybe-all-build-m4
977 all-build: maybe-all-build-texinfo
978 all-build: maybe-all-build-fixincludes
980 .PHONY: all-host
982 all-host: maybe-all-ash
983 all-host: maybe-all-autoconf
984 all-host: maybe-all-automake
985 all-host: maybe-all-bash
986 @if bfd-no-bootstrap
987 all-host: maybe-all-bfd
988 @endif bfd-no-bootstrap
989 @if opcodes-no-bootstrap
990 all-host: maybe-all-opcodes
991 @endif opcodes-no-bootstrap
992 @if binutils-no-bootstrap
993 all-host: maybe-all-binutils
994 @endif binutils-no-bootstrap
995 all-host: maybe-all-bison
996 all-host: maybe-all-byacc
997 all-host: maybe-all-bzip2
998 all-host: maybe-all-cgen
999 all-host: maybe-all-dejagnu
1000 all-host: maybe-all-diff
1001 all-host: maybe-all-dosutils
1002 all-host: maybe-all-etc
1003 all-host: maybe-all-fastjar
1004 all-host: maybe-all-fileutils
1005 all-host: maybe-all-findutils
1006 all-host: maybe-all-find
1007 all-host: maybe-all-fixincludes
1008 all-host: maybe-all-flex
1009 @if gas-no-bootstrap
1010 all-host: maybe-all-gas
1011 @endif gas-no-bootstrap
1012 @if gcc-no-bootstrap
1013 all-host: maybe-all-gcc
1014 @endif gcc-no-bootstrap
1015 all-host: maybe-all-gawk
1016 all-host: maybe-all-gettext
1017 @if gmp-no-bootstrap
1018 all-host: maybe-all-gmp
1019 @endif gmp-no-bootstrap
1020 @if mpfr-no-bootstrap
1021 all-host: maybe-all-mpfr
1022 @endif mpfr-no-bootstrap
1023 @if mpc-no-bootstrap
1024 all-host: maybe-all-mpc
1025 @endif mpc-no-bootstrap
1026 @if ppl-no-bootstrap
1027 all-host: maybe-all-ppl
1028 @endif ppl-no-bootstrap
1029 @if cloog-no-bootstrap
1030 all-host: maybe-all-cloog
1031 @endif cloog-no-bootstrap
1032 @if libelf-no-bootstrap
1033 all-host: maybe-all-libelf
1034 @endif libelf-no-bootstrap
1035 all-host: maybe-all-gnuserv
1036 @if gold-no-bootstrap
1037 all-host: maybe-all-gold
1038 @endif gold-no-bootstrap
1039 all-host: maybe-all-gprof
1040 all-host: maybe-all-gzip
1041 all-host: maybe-all-hello
1042 all-host: maybe-all-indent
1043 @if intl-no-bootstrap
1044 all-host: maybe-all-intl
1045 @endif intl-no-bootstrap
1046 all-host: maybe-all-tcl
1047 all-host: maybe-all-itcl
1048 @if ld-no-bootstrap
1049 all-host: maybe-all-ld
1050 @endif ld-no-bootstrap
1051 @if libcpp-no-bootstrap
1052 all-host: maybe-all-libcpp
1053 @endif libcpp-no-bootstrap
1054 @if libdecnumber-no-bootstrap
1055 all-host: maybe-all-libdecnumber
1056 @endif libdecnumber-no-bootstrap
1057 all-host: maybe-all-libgui
1058 @if libiberty-no-bootstrap
1059 all-host: maybe-all-libiberty
1060 @endif libiberty-no-bootstrap
1061 all-host: maybe-all-libiconv
1062 all-host: maybe-all-libtool
1063 all-host: maybe-all-m4
1064 all-host: maybe-all-make
1065 all-host: maybe-all-mmalloc
1066 all-host: maybe-all-patch
1067 all-host: maybe-all-perl
1068 all-host: maybe-all-prms
1069 all-host: maybe-all-rcs
1070 all-host: maybe-all-readline
1071 all-host: maybe-all-release
1072 all-host: maybe-all-recode
1073 all-host: maybe-all-sed
1074 all-host: maybe-all-send-pr
1075 all-host: maybe-all-shellutils
1076 all-host: maybe-all-sid
1077 all-host: maybe-all-sim
1078 all-host: maybe-all-tar
1079 all-host: maybe-all-texinfo
1080 all-host: maybe-all-textutils
1081 all-host: maybe-all-time
1082 all-host: maybe-all-uudecode
1083 all-host: maybe-all-wdiff
1084 all-host: maybe-all-zip
1085 @if zlib-no-bootstrap
1086 all-host: maybe-all-zlib
1087 @endif zlib-no-bootstrap
1088 all-host: maybe-all-gdb
1089 all-host: maybe-all-expect
1090 all-host: maybe-all-guile
1091 all-host: maybe-all-tk
1092 all-host: maybe-all-libtermcap
1093 all-host: maybe-all-utils
1094 all-host: maybe-all-gnattools
1095 @if lto-plugin-no-bootstrap
1096 all-host: maybe-all-lto-plugin
1097 @endif lto-plugin-no-bootstrap
1099 .PHONY: all-target
1101 @if target-libstdc++-v3-no-bootstrap
1102 all-target: maybe-all-target-libstdc++-v3
1103 @endif target-libstdc++-v3-no-bootstrap
1104 all-target: maybe-all-target-libmudflap
1105 all-target: maybe-all-target-libssp
1106 all-target: maybe-all-target-newlib
1107 @if target-libgcc-no-bootstrap
1108 all-target: maybe-all-target-libgcc
1109 @endif target-libgcc-no-bootstrap
1110 all-target: maybe-all-target-libgfortran
1111 all-target: maybe-all-target-libobjc
1112 all-target: maybe-all-target-libtermcap
1113 all-target: maybe-all-target-winsup
1114 all-target: maybe-all-target-libgloss
1115 all-target: maybe-all-target-libiberty
1116 all-target: maybe-all-target-gperf
1117 all-target: maybe-all-target-examples
1118 all-target: maybe-all-target-libffi
1119 all-target: maybe-all-target-libjava
1120 all-target: maybe-all-target-zlib
1121 all-target: maybe-all-target-boehm-gc
1122 all-target: maybe-all-target-qthreads
1123 all-target: maybe-all-target-rda
1124 all-target: maybe-all-target-libada
1125 @if target-libgomp-no-bootstrap
1126 all-target: maybe-all-target-libgomp
1127 @endif target-libgomp-no-bootstrap
1129 # Do a target for all the subdirectories. A ``make do-X'' will do a
1130 # ``make X'' in all subdirectories (because, in general, there is a
1131 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1132 # but it may do additional work as well).
1134 .PHONY: do-info
1135 do-info:
1136 @: $(MAKE); $(unstage)
1137 @r=`${PWD_COMMAND}`; export r; \
1138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1140 info-target
1143 .PHONY: info-host
1145 info-host: maybe-info-ash
1146 info-host: maybe-info-autoconf
1147 info-host: maybe-info-automake
1148 info-host: maybe-info-bash
1149 info-host: maybe-info-bfd
1150 info-host: maybe-info-opcodes
1151 info-host: maybe-info-binutils
1152 info-host: maybe-info-bison
1153 info-host: maybe-info-byacc
1154 info-host: maybe-info-bzip2
1155 info-host: maybe-info-cgen
1156 info-host: maybe-info-dejagnu
1157 info-host: maybe-info-diff
1158 info-host: maybe-info-dosutils
1159 info-host: maybe-info-etc
1160 info-host: maybe-info-fastjar
1161 info-host: maybe-info-fileutils
1162 info-host: maybe-info-findutils
1163 info-host: maybe-info-find
1164 info-host: maybe-info-fixincludes
1165 info-host: maybe-info-flex
1166 info-host: maybe-info-gas
1167 info-host: maybe-info-gcc
1168 info-host: maybe-info-gawk
1169 info-host: maybe-info-gettext
1170 info-host: maybe-info-gmp
1171 info-host: maybe-info-mpfr
1172 info-host: maybe-info-mpc
1173 info-host: maybe-info-ppl
1174 info-host: maybe-info-cloog
1175 info-host: maybe-info-libelf
1176 info-host: maybe-info-gnuserv
1177 info-host: maybe-info-gold
1178 info-host: maybe-info-gprof
1179 info-host: maybe-info-gzip
1180 info-host: maybe-info-hello
1181 info-host: maybe-info-indent
1182 info-host: maybe-info-intl
1183 info-host: maybe-info-tcl
1184 info-host: maybe-info-itcl
1185 info-host: maybe-info-ld
1186 info-host: maybe-info-libcpp
1187 info-host: maybe-info-libdecnumber
1188 info-host: maybe-info-libgui
1189 info-host: maybe-info-libiberty
1190 info-host: maybe-info-libiconv
1191 info-host: maybe-info-libtool
1192 info-host: maybe-info-m4
1193 info-host: maybe-info-make
1194 info-host: maybe-info-mmalloc
1195 info-host: maybe-info-patch
1196 info-host: maybe-info-perl
1197 info-host: maybe-info-prms
1198 info-host: maybe-info-rcs
1199 info-host: maybe-info-readline
1200 info-host: maybe-info-release
1201 info-host: maybe-info-recode
1202 info-host: maybe-info-sed
1203 info-host: maybe-info-send-pr
1204 info-host: maybe-info-shellutils
1205 info-host: maybe-info-sid
1206 info-host: maybe-info-sim
1207 info-host: maybe-info-tar
1208 info-host: maybe-info-texinfo
1209 info-host: maybe-info-textutils
1210 info-host: maybe-info-time
1211 info-host: maybe-info-uudecode
1212 info-host: maybe-info-wdiff
1213 info-host: maybe-info-zip
1214 info-host: maybe-info-zlib
1215 info-host: maybe-info-gdb
1216 info-host: maybe-info-expect
1217 info-host: maybe-info-guile
1218 info-host: maybe-info-tk
1219 info-host: maybe-info-libtermcap
1220 info-host: maybe-info-utils
1221 info-host: maybe-info-gnattools
1222 info-host: maybe-info-lto-plugin
1224 .PHONY: info-target
1226 info-target: maybe-info-target-libstdc++-v3
1227 info-target: maybe-info-target-libmudflap
1228 info-target: maybe-info-target-libssp
1229 info-target: maybe-info-target-newlib
1230 info-target: maybe-info-target-libgcc
1231 info-target: maybe-info-target-libgfortran
1232 info-target: maybe-info-target-libobjc
1233 info-target: maybe-info-target-libtermcap
1234 info-target: maybe-info-target-winsup
1235 info-target: maybe-info-target-libgloss
1236 info-target: maybe-info-target-libiberty
1237 info-target: maybe-info-target-gperf
1238 info-target: maybe-info-target-examples
1239 info-target: maybe-info-target-libffi
1240 info-target: maybe-info-target-libjava
1241 info-target: maybe-info-target-zlib
1242 info-target: maybe-info-target-boehm-gc
1243 info-target: maybe-info-target-qthreads
1244 info-target: maybe-info-target-rda
1245 info-target: maybe-info-target-libada
1246 info-target: maybe-info-target-libgomp
1248 .PHONY: do-dvi
1249 do-dvi:
1250 @: $(MAKE); $(unstage)
1251 @r=`${PWD_COMMAND}`; export r; \
1252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1254 dvi-target
1257 .PHONY: dvi-host
1259 dvi-host: maybe-dvi-ash
1260 dvi-host: maybe-dvi-autoconf
1261 dvi-host: maybe-dvi-automake
1262 dvi-host: maybe-dvi-bash
1263 dvi-host: maybe-dvi-bfd
1264 dvi-host: maybe-dvi-opcodes
1265 dvi-host: maybe-dvi-binutils
1266 dvi-host: maybe-dvi-bison
1267 dvi-host: maybe-dvi-byacc
1268 dvi-host: maybe-dvi-bzip2
1269 dvi-host: maybe-dvi-cgen
1270 dvi-host: maybe-dvi-dejagnu
1271 dvi-host: maybe-dvi-diff
1272 dvi-host: maybe-dvi-dosutils
1273 dvi-host: maybe-dvi-etc
1274 dvi-host: maybe-dvi-fastjar
1275 dvi-host: maybe-dvi-fileutils
1276 dvi-host: maybe-dvi-findutils
1277 dvi-host: maybe-dvi-find
1278 dvi-host: maybe-dvi-fixincludes
1279 dvi-host: maybe-dvi-flex
1280 dvi-host: maybe-dvi-gas
1281 dvi-host: maybe-dvi-gcc
1282 dvi-host: maybe-dvi-gawk
1283 dvi-host: maybe-dvi-gettext
1284 dvi-host: maybe-dvi-gmp
1285 dvi-host: maybe-dvi-mpfr
1286 dvi-host: maybe-dvi-mpc
1287 dvi-host: maybe-dvi-ppl
1288 dvi-host: maybe-dvi-cloog
1289 dvi-host: maybe-dvi-libelf
1290 dvi-host: maybe-dvi-gnuserv
1291 dvi-host: maybe-dvi-gold
1292 dvi-host: maybe-dvi-gprof
1293 dvi-host: maybe-dvi-gzip
1294 dvi-host: maybe-dvi-hello
1295 dvi-host: maybe-dvi-indent
1296 dvi-host: maybe-dvi-intl
1297 dvi-host: maybe-dvi-tcl
1298 dvi-host: maybe-dvi-itcl
1299 dvi-host: maybe-dvi-ld
1300 dvi-host: maybe-dvi-libcpp
1301 dvi-host: maybe-dvi-libdecnumber
1302 dvi-host: maybe-dvi-libgui
1303 dvi-host: maybe-dvi-libiberty
1304 dvi-host: maybe-dvi-libiconv
1305 dvi-host: maybe-dvi-libtool
1306 dvi-host: maybe-dvi-m4
1307 dvi-host: maybe-dvi-make
1308 dvi-host: maybe-dvi-mmalloc
1309 dvi-host: maybe-dvi-patch
1310 dvi-host: maybe-dvi-perl
1311 dvi-host: maybe-dvi-prms
1312 dvi-host: maybe-dvi-rcs
1313 dvi-host: maybe-dvi-readline
1314 dvi-host: maybe-dvi-release
1315 dvi-host: maybe-dvi-recode
1316 dvi-host: maybe-dvi-sed
1317 dvi-host: maybe-dvi-send-pr
1318 dvi-host: maybe-dvi-shellutils
1319 dvi-host: maybe-dvi-sid
1320 dvi-host: maybe-dvi-sim
1321 dvi-host: maybe-dvi-tar
1322 dvi-host: maybe-dvi-texinfo
1323 dvi-host: maybe-dvi-textutils
1324 dvi-host: maybe-dvi-time
1325 dvi-host: maybe-dvi-uudecode
1326 dvi-host: maybe-dvi-wdiff
1327 dvi-host: maybe-dvi-zip
1328 dvi-host: maybe-dvi-zlib
1329 dvi-host: maybe-dvi-gdb
1330 dvi-host: maybe-dvi-expect
1331 dvi-host: maybe-dvi-guile
1332 dvi-host: maybe-dvi-tk
1333 dvi-host: maybe-dvi-libtermcap
1334 dvi-host: maybe-dvi-utils
1335 dvi-host: maybe-dvi-gnattools
1336 dvi-host: maybe-dvi-lto-plugin
1338 .PHONY: dvi-target
1340 dvi-target: maybe-dvi-target-libstdc++-v3
1341 dvi-target: maybe-dvi-target-libmudflap
1342 dvi-target: maybe-dvi-target-libssp
1343 dvi-target: maybe-dvi-target-newlib
1344 dvi-target: maybe-dvi-target-libgcc
1345 dvi-target: maybe-dvi-target-libgfortran
1346 dvi-target: maybe-dvi-target-libobjc
1347 dvi-target: maybe-dvi-target-libtermcap
1348 dvi-target: maybe-dvi-target-winsup
1349 dvi-target: maybe-dvi-target-libgloss
1350 dvi-target: maybe-dvi-target-libiberty
1351 dvi-target: maybe-dvi-target-gperf
1352 dvi-target: maybe-dvi-target-examples
1353 dvi-target: maybe-dvi-target-libffi
1354 dvi-target: maybe-dvi-target-libjava
1355 dvi-target: maybe-dvi-target-zlib
1356 dvi-target: maybe-dvi-target-boehm-gc
1357 dvi-target: maybe-dvi-target-qthreads
1358 dvi-target: maybe-dvi-target-rda
1359 dvi-target: maybe-dvi-target-libada
1360 dvi-target: maybe-dvi-target-libgomp
1362 .PHONY: do-pdf
1363 do-pdf:
1364 @: $(MAKE); $(unstage)
1365 @r=`${PWD_COMMAND}`; export r; \
1366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1367 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1368 pdf-target
1371 .PHONY: pdf-host
1373 pdf-host: maybe-pdf-ash
1374 pdf-host: maybe-pdf-autoconf
1375 pdf-host: maybe-pdf-automake
1376 pdf-host: maybe-pdf-bash
1377 pdf-host: maybe-pdf-bfd
1378 pdf-host: maybe-pdf-opcodes
1379 pdf-host: maybe-pdf-binutils
1380 pdf-host: maybe-pdf-bison
1381 pdf-host: maybe-pdf-byacc
1382 pdf-host: maybe-pdf-bzip2
1383 pdf-host: maybe-pdf-cgen
1384 pdf-host: maybe-pdf-dejagnu
1385 pdf-host: maybe-pdf-diff
1386 pdf-host: maybe-pdf-dosutils
1387 pdf-host: maybe-pdf-etc
1388 pdf-host: maybe-pdf-fastjar
1389 pdf-host: maybe-pdf-fileutils
1390 pdf-host: maybe-pdf-findutils
1391 pdf-host: maybe-pdf-find
1392 pdf-host: maybe-pdf-fixincludes
1393 pdf-host: maybe-pdf-flex
1394 pdf-host: maybe-pdf-gas
1395 pdf-host: maybe-pdf-gcc
1396 pdf-host: maybe-pdf-gawk
1397 pdf-host: maybe-pdf-gettext
1398 pdf-host: maybe-pdf-gmp
1399 pdf-host: maybe-pdf-mpfr
1400 pdf-host: maybe-pdf-mpc
1401 pdf-host: maybe-pdf-ppl
1402 pdf-host: maybe-pdf-cloog
1403 pdf-host: maybe-pdf-libelf
1404 pdf-host: maybe-pdf-gnuserv
1405 pdf-host: maybe-pdf-gold
1406 pdf-host: maybe-pdf-gprof
1407 pdf-host: maybe-pdf-gzip
1408 pdf-host: maybe-pdf-hello
1409 pdf-host: maybe-pdf-indent
1410 pdf-host: maybe-pdf-intl
1411 pdf-host: maybe-pdf-tcl
1412 pdf-host: maybe-pdf-itcl
1413 pdf-host: maybe-pdf-ld
1414 pdf-host: maybe-pdf-libcpp
1415 pdf-host: maybe-pdf-libdecnumber
1416 pdf-host: maybe-pdf-libgui
1417 pdf-host: maybe-pdf-libiberty
1418 pdf-host: maybe-pdf-libiconv
1419 pdf-host: maybe-pdf-libtool
1420 pdf-host: maybe-pdf-m4
1421 pdf-host: maybe-pdf-make
1422 pdf-host: maybe-pdf-mmalloc
1423 pdf-host: maybe-pdf-patch
1424 pdf-host: maybe-pdf-perl
1425 pdf-host: maybe-pdf-prms
1426 pdf-host: maybe-pdf-rcs
1427 pdf-host: maybe-pdf-readline
1428 pdf-host: maybe-pdf-release
1429 pdf-host: maybe-pdf-recode
1430 pdf-host: maybe-pdf-sed
1431 pdf-host: maybe-pdf-send-pr
1432 pdf-host: maybe-pdf-shellutils
1433 pdf-host: maybe-pdf-sid
1434 pdf-host: maybe-pdf-sim
1435 pdf-host: maybe-pdf-tar
1436 pdf-host: maybe-pdf-texinfo
1437 pdf-host: maybe-pdf-textutils
1438 pdf-host: maybe-pdf-time
1439 pdf-host: maybe-pdf-uudecode
1440 pdf-host: maybe-pdf-wdiff
1441 pdf-host: maybe-pdf-zip
1442 pdf-host: maybe-pdf-zlib
1443 pdf-host: maybe-pdf-gdb
1444 pdf-host: maybe-pdf-expect
1445 pdf-host: maybe-pdf-guile
1446 pdf-host: maybe-pdf-tk
1447 pdf-host: maybe-pdf-libtermcap
1448 pdf-host: maybe-pdf-utils
1449 pdf-host: maybe-pdf-gnattools
1450 pdf-host: maybe-pdf-lto-plugin
1452 .PHONY: pdf-target
1454 pdf-target: maybe-pdf-target-libstdc++-v3
1455 pdf-target: maybe-pdf-target-libmudflap
1456 pdf-target: maybe-pdf-target-libssp
1457 pdf-target: maybe-pdf-target-newlib
1458 pdf-target: maybe-pdf-target-libgcc
1459 pdf-target: maybe-pdf-target-libgfortran
1460 pdf-target: maybe-pdf-target-libobjc
1461 pdf-target: maybe-pdf-target-libtermcap
1462 pdf-target: maybe-pdf-target-winsup
1463 pdf-target: maybe-pdf-target-libgloss
1464 pdf-target: maybe-pdf-target-libiberty
1465 pdf-target: maybe-pdf-target-gperf
1466 pdf-target: maybe-pdf-target-examples
1467 pdf-target: maybe-pdf-target-libffi
1468 pdf-target: maybe-pdf-target-libjava
1469 pdf-target: maybe-pdf-target-zlib
1470 pdf-target: maybe-pdf-target-boehm-gc
1471 pdf-target: maybe-pdf-target-qthreads
1472 pdf-target: maybe-pdf-target-rda
1473 pdf-target: maybe-pdf-target-libada
1474 pdf-target: maybe-pdf-target-libgomp
1476 .PHONY: do-html
1477 do-html:
1478 @: $(MAKE); $(unstage)
1479 @r=`${PWD_COMMAND}`; export r; \
1480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1481 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1482 html-target
1485 .PHONY: html-host
1487 html-host: maybe-html-ash
1488 html-host: maybe-html-autoconf
1489 html-host: maybe-html-automake
1490 html-host: maybe-html-bash
1491 html-host: maybe-html-bfd
1492 html-host: maybe-html-opcodes
1493 html-host: maybe-html-binutils
1494 html-host: maybe-html-bison
1495 html-host: maybe-html-byacc
1496 html-host: maybe-html-bzip2
1497 html-host: maybe-html-cgen
1498 html-host: maybe-html-dejagnu
1499 html-host: maybe-html-diff
1500 html-host: maybe-html-dosutils
1501 html-host: maybe-html-etc
1502 html-host: maybe-html-fastjar
1503 html-host: maybe-html-fileutils
1504 html-host: maybe-html-findutils
1505 html-host: maybe-html-find
1506 html-host: maybe-html-fixincludes
1507 html-host: maybe-html-flex
1508 html-host: maybe-html-gas
1509 html-host: maybe-html-gcc
1510 html-host: maybe-html-gawk
1511 html-host: maybe-html-gettext
1512 html-host: maybe-html-gmp
1513 html-host: maybe-html-mpfr
1514 html-host: maybe-html-mpc
1515 html-host: maybe-html-ppl
1516 html-host: maybe-html-cloog
1517 html-host: maybe-html-libelf
1518 html-host: maybe-html-gnuserv
1519 html-host: maybe-html-gold
1520 html-host: maybe-html-gprof
1521 html-host: maybe-html-gzip
1522 html-host: maybe-html-hello
1523 html-host: maybe-html-indent
1524 html-host: maybe-html-intl
1525 html-host: maybe-html-tcl
1526 html-host: maybe-html-itcl
1527 html-host: maybe-html-ld
1528 html-host: maybe-html-libcpp
1529 html-host: maybe-html-libdecnumber
1530 html-host: maybe-html-libgui
1531 html-host: maybe-html-libiberty
1532 html-host: maybe-html-libiconv
1533 html-host: maybe-html-libtool
1534 html-host: maybe-html-m4
1535 html-host: maybe-html-make
1536 html-host: maybe-html-mmalloc
1537 html-host: maybe-html-patch
1538 html-host: maybe-html-perl
1539 html-host: maybe-html-prms
1540 html-host: maybe-html-rcs
1541 html-host: maybe-html-readline
1542 html-host: maybe-html-release
1543 html-host: maybe-html-recode
1544 html-host: maybe-html-sed
1545 html-host: maybe-html-send-pr
1546 html-host: maybe-html-shellutils
1547 html-host: maybe-html-sid
1548 html-host: maybe-html-sim
1549 html-host: maybe-html-tar
1550 html-host: maybe-html-texinfo
1551 html-host: maybe-html-textutils
1552 html-host: maybe-html-time
1553 html-host: maybe-html-uudecode
1554 html-host: maybe-html-wdiff
1555 html-host: maybe-html-zip
1556 html-host: maybe-html-zlib
1557 html-host: maybe-html-gdb
1558 html-host: maybe-html-expect
1559 html-host: maybe-html-guile
1560 html-host: maybe-html-tk
1561 html-host: maybe-html-libtermcap
1562 html-host: maybe-html-utils
1563 html-host: maybe-html-gnattools
1564 html-host: maybe-html-lto-plugin
1566 .PHONY: html-target
1568 html-target: maybe-html-target-libstdc++-v3
1569 html-target: maybe-html-target-libmudflap
1570 html-target: maybe-html-target-libssp
1571 html-target: maybe-html-target-newlib
1572 html-target: maybe-html-target-libgcc
1573 html-target: maybe-html-target-libgfortran
1574 html-target: maybe-html-target-libobjc
1575 html-target: maybe-html-target-libtermcap
1576 html-target: maybe-html-target-winsup
1577 html-target: maybe-html-target-libgloss
1578 html-target: maybe-html-target-libiberty
1579 html-target: maybe-html-target-gperf
1580 html-target: maybe-html-target-examples
1581 html-target: maybe-html-target-libffi
1582 html-target: maybe-html-target-libjava
1583 html-target: maybe-html-target-zlib
1584 html-target: maybe-html-target-boehm-gc
1585 html-target: maybe-html-target-qthreads
1586 html-target: maybe-html-target-rda
1587 html-target: maybe-html-target-libada
1588 html-target: maybe-html-target-libgomp
1590 .PHONY: do-TAGS
1591 do-TAGS:
1592 @: $(MAKE); $(unstage)
1593 @r=`${PWD_COMMAND}`; export r; \
1594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1595 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1596 TAGS-target
1599 .PHONY: TAGS-host
1601 TAGS-host: maybe-TAGS-ash
1602 TAGS-host: maybe-TAGS-autoconf
1603 TAGS-host: maybe-TAGS-automake
1604 TAGS-host: maybe-TAGS-bash
1605 TAGS-host: maybe-TAGS-bfd
1606 TAGS-host: maybe-TAGS-opcodes
1607 TAGS-host: maybe-TAGS-binutils
1608 TAGS-host: maybe-TAGS-bison
1609 TAGS-host: maybe-TAGS-byacc
1610 TAGS-host: maybe-TAGS-bzip2
1611 TAGS-host: maybe-TAGS-cgen
1612 TAGS-host: maybe-TAGS-dejagnu
1613 TAGS-host: maybe-TAGS-diff
1614 TAGS-host: maybe-TAGS-dosutils
1615 TAGS-host: maybe-TAGS-etc
1616 TAGS-host: maybe-TAGS-fastjar
1617 TAGS-host: maybe-TAGS-fileutils
1618 TAGS-host: maybe-TAGS-findutils
1619 TAGS-host: maybe-TAGS-find
1620 TAGS-host: maybe-TAGS-fixincludes
1621 TAGS-host: maybe-TAGS-flex
1622 TAGS-host: maybe-TAGS-gas
1623 TAGS-host: maybe-TAGS-gcc
1624 TAGS-host: maybe-TAGS-gawk
1625 TAGS-host: maybe-TAGS-gettext
1626 TAGS-host: maybe-TAGS-gmp
1627 TAGS-host: maybe-TAGS-mpfr
1628 TAGS-host: maybe-TAGS-mpc
1629 TAGS-host: maybe-TAGS-ppl
1630 TAGS-host: maybe-TAGS-cloog
1631 TAGS-host: maybe-TAGS-libelf
1632 TAGS-host: maybe-TAGS-gnuserv
1633 TAGS-host: maybe-TAGS-gold
1634 TAGS-host: maybe-TAGS-gprof
1635 TAGS-host: maybe-TAGS-gzip
1636 TAGS-host: maybe-TAGS-hello
1637 TAGS-host: maybe-TAGS-indent
1638 TAGS-host: maybe-TAGS-intl
1639 TAGS-host: maybe-TAGS-tcl
1640 TAGS-host: maybe-TAGS-itcl
1641 TAGS-host: maybe-TAGS-ld
1642 TAGS-host: maybe-TAGS-libcpp
1643 TAGS-host: maybe-TAGS-libdecnumber
1644 TAGS-host: maybe-TAGS-libgui
1645 TAGS-host: maybe-TAGS-libiberty
1646 TAGS-host: maybe-TAGS-libiconv
1647 TAGS-host: maybe-TAGS-libtool
1648 TAGS-host: maybe-TAGS-m4
1649 TAGS-host: maybe-TAGS-make
1650 TAGS-host: maybe-TAGS-mmalloc
1651 TAGS-host: maybe-TAGS-patch
1652 TAGS-host: maybe-TAGS-perl
1653 TAGS-host: maybe-TAGS-prms
1654 TAGS-host: maybe-TAGS-rcs
1655 TAGS-host: maybe-TAGS-readline
1656 TAGS-host: maybe-TAGS-release
1657 TAGS-host: maybe-TAGS-recode
1658 TAGS-host: maybe-TAGS-sed
1659 TAGS-host: maybe-TAGS-send-pr
1660 TAGS-host: maybe-TAGS-shellutils
1661 TAGS-host: maybe-TAGS-sid
1662 TAGS-host: maybe-TAGS-sim
1663 TAGS-host: maybe-TAGS-tar
1664 TAGS-host: maybe-TAGS-texinfo
1665 TAGS-host: maybe-TAGS-textutils
1666 TAGS-host: maybe-TAGS-time
1667 TAGS-host: maybe-TAGS-uudecode
1668 TAGS-host: maybe-TAGS-wdiff
1669 TAGS-host: maybe-TAGS-zip
1670 TAGS-host: maybe-TAGS-zlib
1671 TAGS-host: maybe-TAGS-gdb
1672 TAGS-host: maybe-TAGS-expect
1673 TAGS-host: maybe-TAGS-guile
1674 TAGS-host: maybe-TAGS-tk
1675 TAGS-host: maybe-TAGS-libtermcap
1676 TAGS-host: maybe-TAGS-utils
1677 TAGS-host: maybe-TAGS-gnattools
1678 TAGS-host: maybe-TAGS-lto-plugin
1680 .PHONY: TAGS-target
1682 TAGS-target: maybe-TAGS-target-libstdc++-v3
1683 TAGS-target: maybe-TAGS-target-libmudflap
1684 TAGS-target: maybe-TAGS-target-libssp
1685 TAGS-target: maybe-TAGS-target-newlib
1686 TAGS-target: maybe-TAGS-target-libgcc
1687 TAGS-target: maybe-TAGS-target-libgfortran
1688 TAGS-target: maybe-TAGS-target-libobjc
1689 TAGS-target: maybe-TAGS-target-libtermcap
1690 TAGS-target: maybe-TAGS-target-winsup
1691 TAGS-target: maybe-TAGS-target-libgloss
1692 TAGS-target: maybe-TAGS-target-libiberty
1693 TAGS-target: maybe-TAGS-target-gperf
1694 TAGS-target: maybe-TAGS-target-examples
1695 TAGS-target: maybe-TAGS-target-libffi
1696 TAGS-target: maybe-TAGS-target-libjava
1697 TAGS-target: maybe-TAGS-target-zlib
1698 TAGS-target: maybe-TAGS-target-boehm-gc
1699 TAGS-target: maybe-TAGS-target-qthreads
1700 TAGS-target: maybe-TAGS-target-rda
1701 TAGS-target: maybe-TAGS-target-libada
1702 TAGS-target: maybe-TAGS-target-libgomp
1704 .PHONY: do-install-info
1705 do-install-info:
1706 @: $(MAKE); $(unstage)
1707 @r=`${PWD_COMMAND}`; export r; \
1708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1709 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1710 install-info-target
1713 .PHONY: install-info-host
1715 install-info-host: maybe-install-info-ash
1716 install-info-host: maybe-install-info-autoconf
1717 install-info-host: maybe-install-info-automake
1718 install-info-host: maybe-install-info-bash
1719 install-info-host: maybe-install-info-bfd
1720 install-info-host: maybe-install-info-opcodes
1721 install-info-host: maybe-install-info-binutils
1722 install-info-host: maybe-install-info-bison
1723 install-info-host: maybe-install-info-byacc
1724 install-info-host: maybe-install-info-bzip2
1725 install-info-host: maybe-install-info-cgen
1726 install-info-host: maybe-install-info-dejagnu
1727 install-info-host: maybe-install-info-diff
1728 install-info-host: maybe-install-info-dosutils
1729 install-info-host: maybe-install-info-etc
1730 install-info-host: maybe-install-info-fastjar
1731 install-info-host: maybe-install-info-fileutils
1732 install-info-host: maybe-install-info-findutils
1733 install-info-host: maybe-install-info-find
1734 install-info-host: maybe-install-info-fixincludes
1735 install-info-host: maybe-install-info-flex
1736 install-info-host: maybe-install-info-gas
1737 install-info-host: maybe-install-info-gcc
1738 install-info-host: maybe-install-info-gawk
1739 install-info-host: maybe-install-info-gettext
1740 install-info-host: maybe-install-info-gmp
1741 install-info-host: maybe-install-info-mpfr
1742 install-info-host: maybe-install-info-mpc
1743 install-info-host: maybe-install-info-ppl
1744 install-info-host: maybe-install-info-cloog
1745 install-info-host: maybe-install-info-libelf
1746 install-info-host: maybe-install-info-gnuserv
1747 install-info-host: maybe-install-info-gold
1748 install-info-host: maybe-install-info-gprof
1749 install-info-host: maybe-install-info-gzip
1750 install-info-host: maybe-install-info-hello
1751 install-info-host: maybe-install-info-indent
1752 install-info-host: maybe-install-info-intl
1753 install-info-host: maybe-install-info-tcl
1754 install-info-host: maybe-install-info-itcl
1755 install-info-host: maybe-install-info-ld
1756 install-info-host: maybe-install-info-libcpp
1757 install-info-host: maybe-install-info-libdecnumber
1758 install-info-host: maybe-install-info-libgui
1759 install-info-host: maybe-install-info-libiberty
1760 install-info-host: maybe-install-info-libiconv
1761 install-info-host: maybe-install-info-libtool
1762 install-info-host: maybe-install-info-m4
1763 install-info-host: maybe-install-info-make
1764 install-info-host: maybe-install-info-mmalloc
1765 install-info-host: maybe-install-info-patch
1766 install-info-host: maybe-install-info-perl
1767 install-info-host: maybe-install-info-prms
1768 install-info-host: maybe-install-info-rcs
1769 install-info-host: maybe-install-info-readline
1770 install-info-host: maybe-install-info-release
1771 install-info-host: maybe-install-info-recode
1772 install-info-host: maybe-install-info-sed
1773 install-info-host: maybe-install-info-send-pr
1774 install-info-host: maybe-install-info-shellutils
1775 install-info-host: maybe-install-info-sid
1776 install-info-host: maybe-install-info-sim
1777 install-info-host: maybe-install-info-tar
1778 install-info-host: maybe-install-info-texinfo
1779 install-info-host: maybe-install-info-textutils
1780 install-info-host: maybe-install-info-time
1781 install-info-host: maybe-install-info-uudecode
1782 install-info-host: maybe-install-info-wdiff
1783 install-info-host: maybe-install-info-zip
1784 install-info-host: maybe-install-info-zlib
1785 install-info-host: maybe-install-info-gdb
1786 install-info-host: maybe-install-info-expect
1787 install-info-host: maybe-install-info-guile
1788 install-info-host: maybe-install-info-tk
1789 install-info-host: maybe-install-info-libtermcap
1790 install-info-host: maybe-install-info-utils
1791 install-info-host: maybe-install-info-gnattools
1792 install-info-host: maybe-install-info-lto-plugin
1794 .PHONY: install-info-target
1796 install-info-target: maybe-install-info-target-libstdc++-v3
1797 install-info-target: maybe-install-info-target-libmudflap
1798 install-info-target: maybe-install-info-target-libssp
1799 install-info-target: maybe-install-info-target-newlib
1800 install-info-target: maybe-install-info-target-libgcc
1801 install-info-target: maybe-install-info-target-libgfortran
1802 install-info-target: maybe-install-info-target-libobjc
1803 install-info-target: maybe-install-info-target-libtermcap
1804 install-info-target: maybe-install-info-target-winsup
1805 install-info-target: maybe-install-info-target-libgloss
1806 install-info-target: maybe-install-info-target-libiberty
1807 install-info-target: maybe-install-info-target-gperf
1808 install-info-target: maybe-install-info-target-examples
1809 install-info-target: maybe-install-info-target-libffi
1810 install-info-target: maybe-install-info-target-libjava
1811 install-info-target: maybe-install-info-target-zlib
1812 install-info-target: maybe-install-info-target-boehm-gc
1813 install-info-target: maybe-install-info-target-qthreads
1814 install-info-target: maybe-install-info-target-rda
1815 install-info-target: maybe-install-info-target-libada
1816 install-info-target: maybe-install-info-target-libgomp
1818 .PHONY: do-install-pdf
1819 do-install-pdf:
1820 @: $(MAKE); $(unstage)
1821 @r=`${PWD_COMMAND}`; export r; \
1822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1823 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1824 install-pdf-target
1827 .PHONY: install-pdf-host
1829 install-pdf-host: maybe-install-pdf-ash
1830 install-pdf-host: maybe-install-pdf-autoconf
1831 install-pdf-host: maybe-install-pdf-automake
1832 install-pdf-host: maybe-install-pdf-bash
1833 install-pdf-host: maybe-install-pdf-bfd
1834 install-pdf-host: maybe-install-pdf-opcodes
1835 install-pdf-host: maybe-install-pdf-binutils
1836 install-pdf-host: maybe-install-pdf-bison
1837 install-pdf-host: maybe-install-pdf-byacc
1838 install-pdf-host: maybe-install-pdf-bzip2
1839 install-pdf-host: maybe-install-pdf-cgen
1840 install-pdf-host: maybe-install-pdf-dejagnu
1841 install-pdf-host: maybe-install-pdf-diff
1842 install-pdf-host: maybe-install-pdf-dosutils
1843 install-pdf-host: maybe-install-pdf-etc
1844 install-pdf-host: maybe-install-pdf-fastjar
1845 install-pdf-host: maybe-install-pdf-fileutils
1846 install-pdf-host: maybe-install-pdf-findutils
1847 install-pdf-host: maybe-install-pdf-find
1848 install-pdf-host: maybe-install-pdf-fixincludes
1849 install-pdf-host: maybe-install-pdf-flex
1850 install-pdf-host: maybe-install-pdf-gas
1851 install-pdf-host: maybe-install-pdf-gcc
1852 install-pdf-host: maybe-install-pdf-gawk
1853 install-pdf-host: maybe-install-pdf-gettext
1854 install-pdf-host: maybe-install-pdf-gmp
1855 install-pdf-host: maybe-install-pdf-mpfr
1856 install-pdf-host: maybe-install-pdf-mpc
1857 install-pdf-host: maybe-install-pdf-ppl
1858 install-pdf-host: maybe-install-pdf-cloog
1859 install-pdf-host: maybe-install-pdf-libelf
1860 install-pdf-host: maybe-install-pdf-gnuserv
1861 install-pdf-host: maybe-install-pdf-gold
1862 install-pdf-host: maybe-install-pdf-gprof
1863 install-pdf-host: maybe-install-pdf-gzip
1864 install-pdf-host: maybe-install-pdf-hello
1865 install-pdf-host: maybe-install-pdf-indent
1866 install-pdf-host: maybe-install-pdf-intl
1867 install-pdf-host: maybe-install-pdf-tcl
1868 install-pdf-host: maybe-install-pdf-itcl
1869 install-pdf-host: maybe-install-pdf-ld
1870 install-pdf-host: maybe-install-pdf-libcpp
1871 install-pdf-host: maybe-install-pdf-libdecnumber
1872 install-pdf-host: maybe-install-pdf-libgui
1873 install-pdf-host: maybe-install-pdf-libiberty
1874 install-pdf-host: maybe-install-pdf-libiconv
1875 install-pdf-host: maybe-install-pdf-libtool
1876 install-pdf-host: maybe-install-pdf-m4
1877 install-pdf-host: maybe-install-pdf-make
1878 install-pdf-host: maybe-install-pdf-mmalloc
1879 install-pdf-host: maybe-install-pdf-patch
1880 install-pdf-host: maybe-install-pdf-perl
1881 install-pdf-host: maybe-install-pdf-prms
1882 install-pdf-host: maybe-install-pdf-rcs
1883 install-pdf-host: maybe-install-pdf-readline
1884 install-pdf-host: maybe-install-pdf-release
1885 install-pdf-host: maybe-install-pdf-recode
1886 install-pdf-host: maybe-install-pdf-sed
1887 install-pdf-host: maybe-install-pdf-send-pr
1888 install-pdf-host: maybe-install-pdf-shellutils
1889 install-pdf-host: maybe-install-pdf-sid
1890 install-pdf-host: maybe-install-pdf-sim
1891 install-pdf-host: maybe-install-pdf-tar
1892 install-pdf-host: maybe-install-pdf-texinfo
1893 install-pdf-host: maybe-install-pdf-textutils
1894 install-pdf-host: maybe-install-pdf-time
1895 install-pdf-host: maybe-install-pdf-uudecode
1896 install-pdf-host: maybe-install-pdf-wdiff
1897 install-pdf-host: maybe-install-pdf-zip
1898 install-pdf-host: maybe-install-pdf-zlib
1899 install-pdf-host: maybe-install-pdf-gdb
1900 install-pdf-host: maybe-install-pdf-expect
1901 install-pdf-host: maybe-install-pdf-guile
1902 install-pdf-host: maybe-install-pdf-tk
1903 install-pdf-host: maybe-install-pdf-libtermcap
1904 install-pdf-host: maybe-install-pdf-utils
1905 install-pdf-host: maybe-install-pdf-gnattools
1906 install-pdf-host: maybe-install-pdf-lto-plugin
1908 .PHONY: install-pdf-target
1910 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1911 install-pdf-target: maybe-install-pdf-target-libmudflap
1912 install-pdf-target: maybe-install-pdf-target-libssp
1913 install-pdf-target: maybe-install-pdf-target-newlib
1914 install-pdf-target: maybe-install-pdf-target-libgcc
1915 install-pdf-target: maybe-install-pdf-target-libgfortran
1916 install-pdf-target: maybe-install-pdf-target-libobjc
1917 install-pdf-target: maybe-install-pdf-target-libtermcap
1918 install-pdf-target: maybe-install-pdf-target-winsup
1919 install-pdf-target: maybe-install-pdf-target-libgloss
1920 install-pdf-target: maybe-install-pdf-target-libiberty
1921 install-pdf-target: maybe-install-pdf-target-gperf
1922 install-pdf-target: maybe-install-pdf-target-examples
1923 install-pdf-target: maybe-install-pdf-target-libffi
1924 install-pdf-target: maybe-install-pdf-target-libjava
1925 install-pdf-target: maybe-install-pdf-target-zlib
1926 install-pdf-target: maybe-install-pdf-target-boehm-gc
1927 install-pdf-target: maybe-install-pdf-target-qthreads
1928 install-pdf-target: maybe-install-pdf-target-rda
1929 install-pdf-target: maybe-install-pdf-target-libada
1930 install-pdf-target: maybe-install-pdf-target-libgomp
1932 .PHONY: do-install-html
1933 do-install-html:
1934 @: $(MAKE); $(unstage)
1935 @r=`${PWD_COMMAND}`; export r; \
1936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1937 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1938 install-html-target
1941 .PHONY: install-html-host
1943 install-html-host: maybe-install-html-ash
1944 install-html-host: maybe-install-html-autoconf
1945 install-html-host: maybe-install-html-automake
1946 install-html-host: maybe-install-html-bash
1947 install-html-host: maybe-install-html-bfd
1948 install-html-host: maybe-install-html-opcodes
1949 install-html-host: maybe-install-html-binutils
1950 install-html-host: maybe-install-html-bison
1951 install-html-host: maybe-install-html-byacc
1952 install-html-host: maybe-install-html-bzip2
1953 install-html-host: maybe-install-html-cgen
1954 install-html-host: maybe-install-html-dejagnu
1955 install-html-host: maybe-install-html-diff
1956 install-html-host: maybe-install-html-dosutils
1957 install-html-host: maybe-install-html-etc
1958 install-html-host: maybe-install-html-fastjar
1959 install-html-host: maybe-install-html-fileutils
1960 install-html-host: maybe-install-html-findutils
1961 install-html-host: maybe-install-html-find
1962 install-html-host: maybe-install-html-fixincludes
1963 install-html-host: maybe-install-html-flex
1964 install-html-host: maybe-install-html-gas
1965 install-html-host: maybe-install-html-gcc
1966 install-html-host: maybe-install-html-gawk
1967 install-html-host: maybe-install-html-gettext
1968 install-html-host: maybe-install-html-gmp
1969 install-html-host: maybe-install-html-mpfr
1970 install-html-host: maybe-install-html-mpc
1971 install-html-host: maybe-install-html-ppl
1972 install-html-host: maybe-install-html-cloog
1973 install-html-host: maybe-install-html-libelf
1974 install-html-host: maybe-install-html-gnuserv
1975 install-html-host: maybe-install-html-gold
1976 install-html-host: maybe-install-html-gprof
1977 install-html-host: maybe-install-html-gzip
1978 install-html-host: maybe-install-html-hello
1979 install-html-host: maybe-install-html-indent
1980 install-html-host: maybe-install-html-intl
1981 install-html-host: maybe-install-html-tcl
1982 install-html-host: maybe-install-html-itcl
1983 install-html-host: maybe-install-html-ld
1984 install-html-host: maybe-install-html-libcpp
1985 install-html-host: maybe-install-html-libdecnumber
1986 install-html-host: maybe-install-html-libgui
1987 install-html-host: maybe-install-html-libiberty
1988 install-html-host: maybe-install-html-libiconv
1989 install-html-host: maybe-install-html-libtool
1990 install-html-host: maybe-install-html-m4
1991 install-html-host: maybe-install-html-make
1992 install-html-host: maybe-install-html-mmalloc
1993 install-html-host: maybe-install-html-patch
1994 install-html-host: maybe-install-html-perl
1995 install-html-host: maybe-install-html-prms
1996 install-html-host: maybe-install-html-rcs
1997 install-html-host: maybe-install-html-readline
1998 install-html-host: maybe-install-html-release
1999 install-html-host: maybe-install-html-recode
2000 install-html-host: maybe-install-html-sed
2001 install-html-host: maybe-install-html-send-pr
2002 install-html-host: maybe-install-html-shellutils
2003 install-html-host: maybe-install-html-sid
2004 install-html-host: maybe-install-html-sim
2005 install-html-host: maybe-install-html-tar
2006 install-html-host: maybe-install-html-texinfo
2007 install-html-host: maybe-install-html-textutils
2008 install-html-host: maybe-install-html-time
2009 install-html-host: maybe-install-html-uudecode
2010 install-html-host: maybe-install-html-wdiff
2011 install-html-host: maybe-install-html-zip
2012 install-html-host: maybe-install-html-zlib
2013 install-html-host: maybe-install-html-gdb
2014 install-html-host: maybe-install-html-expect
2015 install-html-host: maybe-install-html-guile
2016 install-html-host: maybe-install-html-tk
2017 install-html-host: maybe-install-html-libtermcap
2018 install-html-host: maybe-install-html-utils
2019 install-html-host: maybe-install-html-gnattools
2020 install-html-host: maybe-install-html-lto-plugin
2022 .PHONY: install-html-target
2024 install-html-target: maybe-install-html-target-libstdc++-v3
2025 install-html-target: maybe-install-html-target-libmudflap
2026 install-html-target: maybe-install-html-target-libssp
2027 install-html-target: maybe-install-html-target-newlib
2028 install-html-target: maybe-install-html-target-libgcc
2029 install-html-target: maybe-install-html-target-libgfortran
2030 install-html-target: maybe-install-html-target-libobjc
2031 install-html-target: maybe-install-html-target-libtermcap
2032 install-html-target: maybe-install-html-target-winsup
2033 install-html-target: maybe-install-html-target-libgloss
2034 install-html-target: maybe-install-html-target-libiberty
2035 install-html-target: maybe-install-html-target-gperf
2036 install-html-target: maybe-install-html-target-examples
2037 install-html-target: maybe-install-html-target-libffi
2038 install-html-target: maybe-install-html-target-libjava
2039 install-html-target: maybe-install-html-target-zlib
2040 install-html-target: maybe-install-html-target-boehm-gc
2041 install-html-target: maybe-install-html-target-qthreads
2042 install-html-target: maybe-install-html-target-rda
2043 install-html-target: maybe-install-html-target-libada
2044 install-html-target: maybe-install-html-target-libgomp
2046 .PHONY: do-installcheck
2047 do-installcheck:
2048 @: $(MAKE); $(unstage)
2049 @r=`${PWD_COMMAND}`; export r; \
2050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2051 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2052 installcheck-target
2055 .PHONY: installcheck-host
2057 installcheck-host: maybe-installcheck-ash
2058 installcheck-host: maybe-installcheck-autoconf
2059 installcheck-host: maybe-installcheck-automake
2060 installcheck-host: maybe-installcheck-bash
2061 installcheck-host: maybe-installcheck-bfd
2062 installcheck-host: maybe-installcheck-opcodes
2063 installcheck-host: maybe-installcheck-binutils
2064 installcheck-host: maybe-installcheck-bison
2065 installcheck-host: maybe-installcheck-byacc
2066 installcheck-host: maybe-installcheck-bzip2
2067 installcheck-host: maybe-installcheck-cgen
2068 installcheck-host: maybe-installcheck-dejagnu
2069 installcheck-host: maybe-installcheck-diff
2070 installcheck-host: maybe-installcheck-dosutils
2071 installcheck-host: maybe-installcheck-etc
2072 installcheck-host: maybe-installcheck-fastjar
2073 installcheck-host: maybe-installcheck-fileutils
2074 installcheck-host: maybe-installcheck-findutils
2075 installcheck-host: maybe-installcheck-find
2076 installcheck-host: maybe-installcheck-fixincludes
2077 installcheck-host: maybe-installcheck-flex
2078 installcheck-host: maybe-installcheck-gas
2079 installcheck-host: maybe-installcheck-gcc
2080 installcheck-host: maybe-installcheck-gawk
2081 installcheck-host: maybe-installcheck-gettext
2082 installcheck-host: maybe-installcheck-gmp
2083 installcheck-host: maybe-installcheck-mpfr
2084 installcheck-host: maybe-installcheck-mpc
2085 installcheck-host: maybe-installcheck-ppl
2086 installcheck-host: maybe-installcheck-cloog
2087 installcheck-host: maybe-installcheck-libelf
2088 installcheck-host: maybe-installcheck-gnuserv
2089 installcheck-host: maybe-installcheck-gold
2090 installcheck-host: maybe-installcheck-gprof
2091 installcheck-host: maybe-installcheck-gzip
2092 installcheck-host: maybe-installcheck-hello
2093 installcheck-host: maybe-installcheck-indent
2094 installcheck-host: maybe-installcheck-intl
2095 installcheck-host: maybe-installcheck-tcl
2096 installcheck-host: maybe-installcheck-itcl
2097 installcheck-host: maybe-installcheck-ld
2098 installcheck-host: maybe-installcheck-libcpp
2099 installcheck-host: maybe-installcheck-libdecnumber
2100 installcheck-host: maybe-installcheck-libgui
2101 installcheck-host: maybe-installcheck-libiberty
2102 installcheck-host: maybe-installcheck-libiconv
2103 installcheck-host: maybe-installcheck-libtool
2104 installcheck-host: maybe-installcheck-m4
2105 installcheck-host: maybe-installcheck-make
2106 installcheck-host: maybe-installcheck-mmalloc
2107 installcheck-host: maybe-installcheck-patch
2108 installcheck-host: maybe-installcheck-perl
2109 installcheck-host: maybe-installcheck-prms
2110 installcheck-host: maybe-installcheck-rcs
2111 installcheck-host: maybe-installcheck-readline
2112 installcheck-host: maybe-installcheck-release
2113 installcheck-host: maybe-installcheck-recode
2114 installcheck-host: maybe-installcheck-sed
2115 installcheck-host: maybe-installcheck-send-pr
2116 installcheck-host: maybe-installcheck-shellutils
2117 installcheck-host: maybe-installcheck-sid
2118 installcheck-host: maybe-installcheck-sim
2119 installcheck-host: maybe-installcheck-tar
2120 installcheck-host: maybe-installcheck-texinfo
2121 installcheck-host: maybe-installcheck-textutils
2122 installcheck-host: maybe-installcheck-time
2123 installcheck-host: maybe-installcheck-uudecode
2124 installcheck-host: maybe-installcheck-wdiff
2125 installcheck-host: maybe-installcheck-zip
2126 installcheck-host: maybe-installcheck-zlib
2127 installcheck-host: maybe-installcheck-gdb
2128 installcheck-host: maybe-installcheck-expect
2129 installcheck-host: maybe-installcheck-guile
2130 installcheck-host: maybe-installcheck-tk
2131 installcheck-host: maybe-installcheck-libtermcap
2132 installcheck-host: maybe-installcheck-utils
2133 installcheck-host: maybe-installcheck-gnattools
2134 installcheck-host: maybe-installcheck-lto-plugin
2136 .PHONY: installcheck-target
2138 installcheck-target: maybe-installcheck-target-libstdc++-v3
2139 installcheck-target: maybe-installcheck-target-libmudflap
2140 installcheck-target: maybe-installcheck-target-libssp
2141 installcheck-target: maybe-installcheck-target-newlib
2142 installcheck-target: maybe-installcheck-target-libgcc
2143 installcheck-target: maybe-installcheck-target-libgfortran
2144 installcheck-target: maybe-installcheck-target-libobjc
2145 installcheck-target: maybe-installcheck-target-libtermcap
2146 installcheck-target: maybe-installcheck-target-winsup
2147 installcheck-target: maybe-installcheck-target-libgloss
2148 installcheck-target: maybe-installcheck-target-libiberty
2149 installcheck-target: maybe-installcheck-target-gperf
2150 installcheck-target: maybe-installcheck-target-examples
2151 installcheck-target: maybe-installcheck-target-libffi
2152 installcheck-target: maybe-installcheck-target-libjava
2153 installcheck-target: maybe-installcheck-target-zlib
2154 installcheck-target: maybe-installcheck-target-boehm-gc
2155 installcheck-target: maybe-installcheck-target-qthreads
2156 installcheck-target: maybe-installcheck-target-rda
2157 installcheck-target: maybe-installcheck-target-libada
2158 installcheck-target: maybe-installcheck-target-libgomp
2160 .PHONY: do-mostlyclean
2161 do-mostlyclean:
2162 @: $(MAKE); $(unstage)
2163 @r=`${PWD_COMMAND}`; export r; \
2164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2165 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2166 mostlyclean-target
2169 .PHONY: mostlyclean-host
2171 mostlyclean-host: maybe-mostlyclean-ash
2172 mostlyclean-host: maybe-mostlyclean-autoconf
2173 mostlyclean-host: maybe-mostlyclean-automake
2174 mostlyclean-host: maybe-mostlyclean-bash
2175 mostlyclean-host: maybe-mostlyclean-bfd
2176 mostlyclean-host: maybe-mostlyclean-opcodes
2177 mostlyclean-host: maybe-mostlyclean-binutils
2178 mostlyclean-host: maybe-mostlyclean-bison
2179 mostlyclean-host: maybe-mostlyclean-byacc
2180 mostlyclean-host: maybe-mostlyclean-bzip2
2181 mostlyclean-host: maybe-mostlyclean-cgen
2182 mostlyclean-host: maybe-mostlyclean-dejagnu
2183 mostlyclean-host: maybe-mostlyclean-diff
2184 mostlyclean-host: maybe-mostlyclean-dosutils
2185 mostlyclean-host: maybe-mostlyclean-etc
2186 mostlyclean-host: maybe-mostlyclean-fastjar
2187 mostlyclean-host: maybe-mostlyclean-fileutils
2188 mostlyclean-host: maybe-mostlyclean-findutils
2189 mostlyclean-host: maybe-mostlyclean-find
2190 mostlyclean-host: maybe-mostlyclean-fixincludes
2191 mostlyclean-host: maybe-mostlyclean-flex
2192 mostlyclean-host: maybe-mostlyclean-gas
2193 mostlyclean-host: maybe-mostlyclean-gcc
2194 mostlyclean-host: maybe-mostlyclean-gawk
2195 mostlyclean-host: maybe-mostlyclean-gettext
2196 mostlyclean-host: maybe-mostlyclean-gmp
2197 mostlyclean-host: maybe-mostlyclean-mpfr
2198 mostlyclean-host: maybe-mostlyclean-mpc
2199 mostlyclean-host: maybe-mostlyclean-ppl
2200 mostlyclean-host: maybe-mostlyclean-cloog
2201 mostlyclean-host: maybe-mostlyclean-libelf
2202 mostlyclean-host: maybe-mostlyclean-gnuserv
2203 mostlyclean-host: maybe-mostlyclean-gold
2204 mostlyclean-host: maybe-mostlyclean-gprof
2205 mostlyclean-host: maybe-mostlyclean-gzip
2206 mostlyclean-host: maybe-mostlyclean-hello
2207 mostlyclean-host: maybe-mostlyclean-indent
2208 mostlyclean-host: maybe-mostlyclean-intl
2209 mostlyclean-host: maybe-mostlyclean-tcl
2210 mostlyclean-host: maybe-mostlyclean-itcl
2211 mostlyclean-host: maybe-mostlyclean-ld
2212 mostlyclean-host: maybe-mostlyclean-libcpp
2213 mostlyclean-host: maybe-mostlyclean-libdecnumber
2214 mostlyclean-host: maybe-mostlyclean-libgui
2215 mostlyclean-host: maybe-mostlyclean-libiberty
2216 mostlyclean-host: maybe-mostlyclean-libiconv
2217 mostlyclean-host: maybe-mostlyclean-libtool
2218 mostlyclean-host: maybe-mostlyclean-m4
2219 mostlyclean-host: maybe-mostlyclean-make
2220 mostlyclean-host: maybe-mostlyclean-mmalloc
2221 mostlyclean-host: maybe-mostlyclean-patch
2222 mostlyclean-host: maybe-mostlyclean-perl
2223 mostlyclean-host: maybe-mostlyclean-prms
2224 mostlyclean-host: maybe-mostlyclean-rcs
2225 mostlyclean-host: maybe-mostlyclean-readline
2226 mostlyclean-host: maybe-mostlyclean-release
2227 mostlyclean-host: maybe-mostlyclean-recode
2228 mostlyclean-host: maybe-mostlyclean-sed
2229 mostlyclean-host: maybe-mostlyclean-send-pr
2230 mostlyclean-host: maybe-mostlyclean-shellutils
2231 mostlyclean-host: maybe-mostlyclean-sid
2232 mostlyclean-host: maybe-mostlyclean-sim
2233 mostlyclean-host: maybe-mostlyclean-tar
2234 mostlyclean-host: maybe-mostlyclean-texinfo
2235 mostlyclean-host: maybe-mostlyclean-textutils
2236 mostlyclean-host: maybe-mostlyclean-time
2237 mostlyclean-host: maybe-mostlyclean-uudecode
2238 mostlyclean-host: maybe-mostlyclean-wdiff
2239 mostlyclean-host: maybe-mostlyclean-zip
2240 mostlyclean-host: maybe-mostlyclean-zlib
2241 mostlyclean-host: maybe-mostlyclean-gdb
2242 mostlyclean-host: maybe-mostlyclean-expect
2243 mostlyclean-host: maybe-mostlyclean-guile
2244 mostlyclean-host: maybe-mostlyclean-tk
2245 mostlyclean-host: maybe-mostlyclean-libtermcap
2246 mostlyclean-host: maybe-mostlyclean-utils
2247 mostlyclean-host: maybe-mostlyclean-gnattools
2248 mostlyclean-host: maybe-mostlyclean-lto-plugin
2250 .PHONY: mostlyclean-target
2252 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2253 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2254 mostlyclean-target: maybe-mostlyclean-target-libssp
2255 mostlyclean-target: maybe-mostlyclean-target-newlib
2256 mostlyclean-target: maybe-mostlyclean-target-libgcc
2257 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2258 mostlyclean-target: maybe-mostlyclean-target-libobjc
2259 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2260 mostlyclean-target: maybe-mostlyclean-target-winsup
2261 mostlyclean-target: maybe-mostlyclean-target-libgloss
2262 mostlyclean-target: maybe-mostlyclean-target-libiberty
2263 mostlyclean-target: maybe-mostlyclean-target-gperf
2264 mostlyclean-target: maybe-mostlyclean-target-examples
2265 mostlyclean-target: maybe-mostlyclean-target-libffi
2266 mostlyclean-target: maybe-mostlyclean-target-libjava
2267 mostlyclean-target: maybe-mostlyclean-target-zlib
2268 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2269 mostlyclean-target: maybe-mostlyclean-target-qthreads
2270 mostlyclean-target: maybe-mostlyclean-target-rda
2271 mostlyclean-target: maybe-mostlyclean-target-libada
2272 mostlyclean-target: maybe-mostlyclean-target-libgomp
2274 .PHONY: do-clean
2275 do-clean:
2276 @: $(MAKE); $(unstage)
2277 @r=`${PWD_COMMAND}`; export r; \
2278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2279 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2280 clean-target
2283 .PHONY: clean-host
2285 clean-host: maybe-clean-ash
2286 clean-host: maybe-clean-autoconf
2287 clean-host: maybe-clean-automake
2288 clean-host: maybe-clean-bash
2289 clean-host: maybe-clean-bfd
2290 clean-host: maybe-clean-opcodes
2291 clean-host: maybe-clean-binutils
2292 clean-host: maybe-clean-bison
2293 clean-host: maybe-clean-byacc
2294 clean-host: maybe-clean-bzip2
2295 clean-host: maybe-clean-cgen
2296 clean-host: maybe-clean-dejagnu
2297 clean-host: maybe-clean-diff
2298 clean-host: maybe-clean-dosutils
2299 clean-host: maybe-clean-etc
2300 clean-host: maybe-clean-fastjar
2301 clean-host: maybe-clean-fileutils
2302 clean-host: maybe-clean-findutils
2303 clean-host: maybe-clean-find
2304 clean-host: maybe-clean-fixincludes
2305 clean-host: maybe-clean-flex
2306 clean-host: maybe-clean-gas
2307 clean-host: maybe-clean-gcc
2308 clean-host: maybe-clean-gawk
2309 clean-host: maybe-clean-gettext
2310 clean-host: maybe-clean-gmp
2311 clean-host: maybe-clean-mpfr
2312 clean-host: maybe-clean-mpc
2313 clean-host: maybe-clean-ppl
2314 clean-host: maybe-clean-cloog
2315 clean-host: maybe-clean-libelf
2316 clean-host: maybe-clean-gnuserv
2317 clean-host: maybe-clean-gold
2318 clean-host: maybe-clean-gprof
2319 clean-host: maybe-clean-gzip
2320 clean-host: maybe-clean-hello
2321 clean-host: maybe-clean-indent
2322 clean-host: maybe-clean-intl
2323 clean-host: maybe-clean-tcl
2324 clean-host: maybe-clean-itcl
2325 clean-host: maybe-clean-ld
2326 clean-host: maybe-clean-libcpp
2327 clean-host: maybe-clean-libdecnumber
2328 clean-host: maybe-clean-libgui
2329 clean-host: maybe-clean-libiberty
2330 clean-host: maybe-clean-libiconv
2331 clean-host: maybe-clean-libtool
2332 clean-host: maybe-clean-m4
2333 clean-host: maybe-clean-make
2334 clean-host: maybe-clean-mmalloc
2335 clean-host: maybe-clean-patch
2336 clean-host: maybe-clean-perl
2337 clean-host: maybe-clean-prms
2338 clean-host: maybe-clean-rcs
2339 clean-host: maybe-clean-readline
2340 clean-host: maybe-clean-release
2341 clean-host: maybe-clean-recode
2342 clean-host: maybe-clean-sed
2343 clean-host: maybe-clean-send-pr
2344 clean-host: maybe-clean-shellutils
2345 clean-host: maybe-clean-sid
2346 clean-host: maybe-clean-sim
2347 clean-host: maybe-clean-tar
2348 clean-host: maybe-clean-texinfo
2349 clean-host: maybe-clean-textutils
2350 clean-host: maybe-clean-time
2351 clean-host: maybe-clean-uudecode
2352 clean-host: maybe-clean-wdiff
2353 clean-host: maybe-clean-zip
2354 clean-host: maybe-clean-zlib
2355 clean-host: maybe-clean-gdb
2356 clean-host: maybe-clean-expect
2357 clean-host: maybe-clean-guile
2358 clean-host: maybe-clean-tk
2359 clean-host: maybe-clean-libtermcap
2360 clean-host: maybe-clean-utils
2361 clean-host: maybe-clean-gnattools
2362 clean-host: maybe-clean-lto-plugin
2364 .PHONY: clean-target
2366 clean-target: maybe-clean-target-libstdc++-v3
2367 clean-target: maybe-clean-target-libmudflap
2368 clean-target: maybe-clean-target-libssp
2369 clean-target: maybe-clean-target-newlib
2370 clean-target: maybe-clean-target-libgcc
2371 clean-target: maybe-clean-target-libgfortran
2372 clean-target: maybe-clean-target-libobjc
2373 clean-target: maybe-clean-target-libtermcap
2374 clean-target: maybe-clean-target-winsup
2375 clean-target: maybe-clean-target-libgloss
2376 clean-target: maybe-clean-target-libiberty
2377 clean-target: maybe-clean-target-gperf
2378 clean-target: maybe-clean-target-examples
2379 clean-target: maybe-clean-target-libffi
2380 clean-target: maybe-clean-target-libjava
2381 clean-target: maybe-clean-target-zlib
2382 clean-target: maybe-clean-target-boehm-gc
2383 clean-target: maybe-clean-target-qthreads
2384 clean-target: maybe-clean-target-rda
2385 clean-target: maybe-clean-target-libada
2386 clean-target: maybe-clean-target-libgomp
2388 .PHONY: do-distclean
2389 do-distclean:
2390 @: $(MAKE); $(unstage)
2391 @r=`${PWD_COMMAND}`; export r; \
2392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2393 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2394 distclean-target
2397 .PHONY: distclean-host
2399 distclean-host: maybe-distclean-ash
2400 distclean-host: maybe-distclean-autoconf
2401 distclean-host: maybe-distclean-automake
2402 distclean-host: maybe-distclean-bash
2403 distclean-host: maybe-distclean-bfd
2404 distclean-host: maybe-distclean-opcodes
2405 distclean-host: maybe-distclean-binutils
2406 distclean-host: maybe-distclean-bison
2407 distclean-host: maybe-distclean-byacc
2408 distclean-host: maybe-distclean-bzip2
2409 distclean-host: maybe-distclean-cgen
2410 distclean-host: maybe-distclean-dejagnu
2411 distclean-host: maybe-distclean-diff
2412 distclean-host: maybe-distclean-dosutils
2413 distclean-host: maybe-distclean-etc
2414 distclean-host: maybe-distclean-fastjar
2415 distclean-host: maybe-distclean-fileutils
2416 distclean-host: maybe-distclean-findutils
2417 distclean-host: maybe-distclean-find
2418 distclean-host: maybe-distclean-fixincludes
2419 distclean-host: maybe-distclean-flex
2420 distclean-host: maybe-distclean-gas
2421 distclean-host: maybe-distclean-gcc
2422 distclean-host: maybe-distclean-gawk
2423 distclean-host: maybe-distclean-gettext
2424 distclean-host: maybe-distclean-gmp
2425 distclean-host: maybe-distclean-mpfr
2426 distclean-host: maybe-distclean-mpc
2427 distclean-host: maybe-distclean-ppl
2428 distclean-host: maybe-distclean-cloog
2429 distclean-host: maybe-distclean-libelf
2430 distclean-host: maybe-distclean-gnuserv
2431 distclean-host: maybe-distclean-gold
2432 distclean-host: maybe-distclean-gprof
2433 distclean-host: maybe-distclean-gzip
2434 distclean-host: maybe-distclean-hello
2435 distclean-host: maybe-distclean-indent
2436 distclean-host: maybe-distclean-intl
2437 distclean-host: maybe-distclean-tcl
2438 distclean-host: maybe-distclean-itcl
2439 distclean-host: maybe-distclean-ld
2440 distclean-host: maybe-distclean-libcpp
2441 distclean-host: maybe-distclean-libdecnumber
2442 distclean-host: maybe-distclean-libgui
2443 distclean-host: maybe-distclean-libiberty
2444 distclean-host: maybe-distclean-libiconv
2445 distclean-host: maybe-distclean-libtool
2446 distclean-host: maybe-distclean-m4
2447 distclean-host: maybe-distclean-make
2448 distclean-host: maybe-distclean-mmalloc
2449 distclean-host: maybe-distclean-patch
2450 distclean-host: maybe-distclean-perl
2451 distclean-host: maybe-distclean-prms
2452 distclean-host: maybe-distclean-rcs
2453 distclean-host: maybe-distclean-readline
2454 distclean-host: maybe-distclean-release
2455 distclean-host: maybe-distclean-recode
2456 distclean-host: maybe-distclean-sed
2457 distclean-host: maybe-distclean-send-pr
2458 distclean-host: maybe-distclean-shellutils
2459 distclean-host: maybe-distclean-sid
2460 distclean-host: maybe-distclean-sim
2461 distclean-host: maybe-distclean-tar
2462 distclean-host: maybe-distclean-texinfo
2463 distclean-host: maybe-distclean-textutils
2464 distclean-host: maybe-distclean-time
2465 distclean-host: maybe-distclean-uudecode
2466 distclean-host: maybe-distclean-wdiff
2467 distclean-host: maybe-distclean-zip
2468 distclean-host: maybe-distclean-zlib
2469 distclean-host: maybe-distclean-gdb
2470 distclean-host: maybe-distclean-expect
2471 distclean-host: maybe-distclean-guile
2472 distclean-host: maybe-distclean-tk
2473 distclean-host: maybe-distclean-libtermcap
2474 distclean-host: maybe-distclean-utils
2475 distclean-host: maybe-distclean-gnattools
2476 distclean-host: maybe-distclean-lto-plugin
2478 .PHONY: distclean-target
2480 distclean-target: maybe-distclean-target-libstdc++-v3
2481 distclean-target: maybe-distclean-target-libmudflap
2482 distclean-target: maybe-distclean-target-libssp
2483 distclean-target: maybe-distclean-target-newlib
2484 distclean-target: maybe-distclean-target-libgcc
2485 distclean-target: maybe-distclean-target-libgfortran
2486 distclean-target: maybe-distclean-target-libobjc
2487 distclean-target: maybe-distclean-target-libtermcap
2488 distclean-target: maybe-distclean-target-winsup
2489 distclean-target: maybe-distclean-target-libgloss
2490 distclean-target: maybe-distclean-target-libiberty
2491 distclean-target: maybe-distclean-target-gperf
2492 distclean-target: maybe-distclean-target-examples
2493 distclean-target: maybe-distclean-target-libffi
2494 distclean-target: maybe-distclean-target-libjava
2495 distclean-target: maybe-distclean-target-zlib
2496 distclean-target: maybe-distclean-target-boehm-gc
2497 distclean-target: maybe-distclean-target-qthreads
2498 distclean-target: maybe-distclean-target-rda
2499 distclean-target: maybe-distclean-target-libada
2500 distclean-target: maybe-distclean-target-libgomp
2502 .PHONY: do-maintainer-clean
2503 do-maintainer-clean:
2504 @: $(MAKE); $(unstage)
2505 @r=`${PWD_COMMAND}`; export r; \
2506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2507 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2508 maintainer-clean-target
2511 .PHONY: maintainer-clean-host
2513 maintainer-clean-host: maybe-maintainer-clean-ash
2514 maintainer-clean-host: maybe-maintainer-clean-autoconf
2515 maintainer-clean-host: maybe-maintainer-clean-automake
2516 maintainer-clean-host: maybe-maintainer-clean-bash
2517 maintainer-clean-host: maybe-maintainer-clean-bfd
2518 maintainer-clean-host: maybe-maintainer-clean-opcodes
2519 maintainer-clean-host: maybe-maintainer-clean-binutils
2520 maintainer-clean-host: maybe-maintainer-clean-bison
2521 maintainer-clean-host: maybe-maintainer-clean-byacc
2522 maintainer-clean-host: maybe-maintainer-clean-bzip2
2523 maintainer-clean-host: maybe-maintainer-clean-cgen
2524 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2525 maintainer-clean-host: maybe-maintainer-clean-diff
2526 maintainer-clean-host: maybe-maintainer-clean-dosutils
2527 maintainer-clean-host: maybe-maintainer-clean-etc
2528 maintainer-clean-host: maybe-maintainer-clean-fastjar
2529 maintainer-clean-host: maybe-maintainer-clean-fileutils
2530 maintainer-clean-host: maybe-maintainer-clean-findutils
2531 maintainer-clean-host: maybe-maintainer-clean-find
2532 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2533 maintainer-clean-host: maybe-maintainer-clean-flex
2534 maintainer-clean-host: maybe-maintainer-clean-gas
2535 maintainer-clean-host: maybe-maintainer-clean-gcc
2536 maintainer-clean-host: maybe-maintainer-clean-gawk
2537 maintainer-clean-host: maybe-maintainer-clean-gettext
2538 maintainer-clean-host: maybe-maintainer-clean-gmp
2539 maintainer-clean-host: maybe-maintainer-clean-mpfr
2540 maintainer-clean-host: maybe-maintainer-clean-mpc
2541 maintainer-clean-host: maybe-maintainer-clean-ppl
2542 maintainer-clean-host: maybe-maintainer-clean-cloog
2543 maintainer-clean-host: maybe-maintainer-clean-libelf
2544 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2545 maintainer-clean-host: maybe-maintainer-clean-gold
2546 maintainer-clean-host: maybe-maintainer-clean-gprof
2547 maintainer-clean-host: maybe-maintainer-clean-gzip
2548 maintainer-clean-host: maybe-maintainer-clean-hello
2549 maintainer-clean-host: maybe-maintainer-clean-indent
2550 maintainer-clean-host: maybe-maintainer-clean-intl
2551 maintainer-clean-host: maybe-maintainer-clean-tcl
2552 maintainer-clean-host: maybe-maintainer-clean-itcl
2553 maintainer-clean-host: maybe-maintainer-clean-ld
2554 maintainer-clean-host: maybe-maintainer-clean-libcpp
2555 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2556 maintainer-clean-host: maybe-maintainer-clean-libgui
2557 maintainer-clean-host: maybe-maintainer-clean-libiberty
2558 maintainer-clean-host: maybe-maintainer-clean-libiconv
2559 maintainer-clean-host: maybe-maintainer-clean-libtool
2560 maintainer-clean-host: maybe-maintainer-clean-m4
2561 maintainer-clean-host: maybe-maintainer-clean-make
2562 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2563 maintainer-clean-host: maybe-maintainer-clean-patch
2564 maintainer-clean-host: maybe-maintainer-clean-perl
2565 maintainer-clean-host: maybe-maintainer-clean-prms
2566 maintainer-clean-host: maybe-maintainer-clean-rcs
2567 maintainer-clean-host: maybe-maintainer-clean-readline
2568 maintainer-clean-host: maybe-maintainer-clean-release
2569 maintainer-clean-host: maybe-maintainer-clean-recode
2570 maintainer-clean-host: maybe-maintainer-clean-sed
2571 maintainer-clean-host: maybe-maintainer-clean-send-pr
2572 maintainer-clean-host: maybe-maintainer-clean-shellutils
2573 maintainer-clean-host: maybe-maintainer-clean-sid
2574 maintainer-clean-host: maybe-maintainer-clean-sim
2575 maintainer-clean-host: maybe-maintainer-clean-tar
2576 maintainer-clean-host: maybe-maintainer-clean-texinfo
2577 maintainer-clean-host: maybe-maintainer-clean-textutils
2578 maintainer-clean-host: maybe-maintainer-clean-time
2579 maintainer-clean-host: maybe-maintainer-clean-uudecode
2580 maintainer-clean-host: maybe-maintainer-clean-wdiff
2581 maintainer-clean-host: maybe-maintainer-clean-zip
2582 maintainer-clean-host: maybe-maintainer-clean-zlib
2583 maintainer-clean-host: maybe-maintainer-clean-gdb
2584 maintainer-clean-host: maybe-maintainer-clean-expect
2585 maintainer-clean-host: maybe-maintainer-clean-guile
2586 maintainer-clean-host: maybe-maintainer-clean-tk
2587 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2588 maintainer-clean-host: maybe-maintainer-clean-utils
2589 maintainer-clean-host: maybe-maintainer-clean-gnattools
2590 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2592 .PHONY: maintainer-clean-target
2594 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2595 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2596 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2597 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2598 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2599 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2600 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2601 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2602 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2603 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2604 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2605 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2606 maintainer-clean-target: maybe-maintainer-clean-target-examples
2607 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2608 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2609 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2610 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2611 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2612 maintainer-clean-target: maybe-maintainer-clean-target-rda
2613 maintainer-clean-target: maybe-maintainer-clean-target-libada
2614 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2617 # Here are the targets which correspond to the do-X targets.
2619 .PHONY: info installcheck dvi pdf html
2620 .PHONY: install-info install-pdf install-html
2621 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2622 .PHONY: local-clean local-distclean local-maintainer-clean
2623 info: do-info
2624 installcheck: do-installcheck
2625 dvi: do-dvi
2626 pdf: do-pdf
2627 html: do-html
2629 # Make sure makeinfo is built before we do a `make info', if we're
2630 # in fact building texinfo.
2631 do-info: maybe-all-texinfo
2633 install-info: do-install-info dir.info
2634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 if [ -f dir.info ] ; then \
2636 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2637 else true ; fi
2639 install-pdf: do-install-pdf
2641 install-html: do-install-html
2643 local-clean:
2644 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2646 local-distclean:
2647 -rm -f Makefile config.status config.cache mh-frag mt-frag
2648 -rm -f maybedep.tmp serdep.tmp
2649 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2650 rm -rf $(TARGET_SUBDIR); \
2651 else true; fi
2652 -rm -rf $(BUILD_SUBDIR)
2653 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2654 rm -rf $(HOST_SUBDIR); \
2655 else true; fi
2656 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2657 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2658 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2659 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2660 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2661 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2663 local-maintainer-clean:
2664 @echo "This command is intended for maintainers to use;"
2665 @echo "it deletes files that may require special tools to rebuild."
2667 clean: do-clean local-clean
2668 mostlyclean: do-mostlyclean local-clean
2669 distclean: do-distclean local-clean local-distclean
2670 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2671 maintainer-clean: local-distclean
2672 realclean: maintainer-clean
2674 # Check target.
2676 .PHONY: check do-check
2677 check: do-check
2679 # Only include modules actually being configured and built.
2680 .PHONY: check-host
2681 check-host: \
2682 maybe-check-ash \
2683 maybe-check-autoconf \
2684 maybe-check-automake \
2685 maybe-check-bash \
2686 maybe-check-bfd \
2687 maybe-check-opcodes \
2688 maybe-check-binutils \
2689 maybe-check-bison \
2690 maybe-check-byacc \
2691 maybe-check-bzip2 \
2692 maybe-check-cgen \
2693 maybe-check-dejagnu \
2694 maybe-check-diff \
2695 maybe-check-dosutils \
2696 maybe-check-etc \
2697 maybe-check-fastjar \
2698 maybe-check-fileutils \
2699 maybe-check-findutils \
2700 maybe-check-find \
2701 maybe-check-fixincludes \
2702 maybe-check-flex \
2703 maybe-check-gas \
2704 maybe-check-gcc \
2705 maybe-check-gawk \
2706 maybe-check-gettext \
2707 maybe-check-gmp \
2708 maybe-check-mpfr \
2709 maybe-check-mpc \
2710 maybe-check-ppl \
2711 maybe-check-cloog \
2712 maybe-check-libelf \
2713 maybe-check-gnuserv \
2714 maybe-check-gold \
2715 maybe-check-gprof \
2716 maybe-check-gzip \
2717 maybe-check-hello \
2718 maybe-check-indent \
2719 maybe-check-intl \
2720 maybe-check-tcl \
2721 maybe-check-itcl \
2722 maybe-check-ld \
2723 maybe-check-libcpp \
2724 maybe-check-libdecnumber \
2725 maybe-check-libgui \
2726 maybe-check-libiberty \
2727 maybe-check-libiconv \
2728 maybe-check-libtool \
2729 maybe-check-m4 \
2730 maybe-check-make \
2731 maybe-check-mmalloc \
2732 maybe-check-patch \
2733 maybe-check-perl \
2734 maybe-check-prms \
2735 maybe-check-rcs \
2736 maybe-check-readline \
2737 maybe-check-release \
2738 maybe-check-recode \
2739 maybe-check-sed \
2740 maybe-check-send-pr \
2741 maybe-check-shellutils \
2742 maybe-check-sid \
2743 maybe-check-sim \
2744 maybe-check-tar \
2745 maybe-check-texinfo \
2746 maybe-check-textutils \
2747 maybe-check-time \
2748 maybe-check-uudecode \
2749 maybe-check-wdiff \
2750 maybe-check-zip \
2751 maybe-check-zlib \
2752 maybe-check-gdb \
2753 maybe-check-expect \
2754 maybe-check-guile \
2755 maybe-check-tk \
2756 maybe-check-libtermcap \
2757 maybe-check-utils \
2758 maybe-check-gnattools \
2759 maybe-check-lto-plugin
2761 .PHONY: check-target
2762 check-target: \
2763 maybe-check-target-libstdc++-v3 \
2764 maybe-check-target-libmudflap \
2765 maybe-check-target-libssp \
2766 maybe-check-target-newlib \
2767 maybe-check-target-libgcc \
2768 maybe-check-target-libgfortran \
2769 maybe-check-target-libobjc \
2770 maybe-check-target-libtermcap \
2771 maybe-check-target-winsup \
2772 maybe-check-target-libgloss \
2773 maybe-check-target-libiberty \
2774 maybe-check-target-gperf \
2775 maybe-check-target-examples \
2776 maybe-check-target-libffi \
2777 maybe-check-target-libjava \
2778 maybe-check-target-zlib \
2779 maybe-check-target-boehm-gc \
2780 maybe-check-target-qthreads \
2781 maybe-check-target-rda \
2782 maybe-check-target-libada \
2783 maybe-check-target-libgomp
2785 do-check:
2786 @: $(MAKE); $(unstage)
2787 @r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2791 # Automated reporting of test results.
2793 warning.log: build.log
2794 $(srcdir)/contrib/warn_summary build.log > $@
2796 mail-report.log:
2797 if test x'$(BOOT_CFLAGS)' != x''; then \
2798 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2799 fi; \
2800 $(srcdir)/contrib/test_summary -t >$@
2801 chmod +x $@
2802 echo If you really want to send e-mail, run ./$@ now
2804 mail-report-with-warnings.log: warning.log
2805 if test x'$(BOOT_CFLAGS)' != x''; then \
2806 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2807 fi; \
2808 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2809 chmod +x $@
2810 echo If you really want to send e-mail, run ./$@ now
2812 # Installation targets.
2814 .PHONY: install uninstall
2815 install:
2816 @: $(MAKE); $(unstage)
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2819 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2821 .PHONY: install-host-nogcc
2822 install-host-nogcc: \
2823 maybe-install-ash \
2824 maybe-install-autoconf \
2825 maybe-install-automake \
2826 maybe-install-bash \
2827 maybe-install-bfd \
2828 maybe-install-opcodes \
2829 maybe-install-binutils \
2830 maybe-install-bison \
2831 maybe-install-byacc \
2832 maybe-install-bzip2 \
2833 maybe-install-cgen \
2834 maybe-install-dejagnu \
2835 maybe-install-diff \
2836 maybe-install-dosutils \
2837 maybe-install-etc \
2838 maybe-install-fastjar \
2839 maybe-install-fileutils \
2840 maybe-install-findutils \
2841 maybe-install-find \
2842 maybe-install-fixincludes \
2843 maybe-install-flex \
2844 maybe-install-gas \
2845 maybe-install-gawk \
2846 maybe-install-gettext \
2847 maybe-install-gmp \
2848 maybe-install-mpfr \
2849 maybe-install-mpc \
2850 maybe-install-ppl \
2851 maybe-install-cloog \
2852 maybe-install-libelf \
2853 maybe-install-gnuserv \
2854 maybe-install-gold \
2855 maybe-install-gprof \
2856 maybe-install-gzip \
2857 maybe-install-hello \
2858 maybe-install-indent \
2859 maybe-install-intl \
2860 maybe-install-tcl \
2861 maybe-install-itcl \
2862 maybe-install-ld \
2863 maybe-install-libcpp \
2864 maybe-install-libdecnumber \
2865 maybe-install-libgui \
2866 maybe-install-libiberty \
2867 maybe-install-libiconv \
2868 maybe-install-libtool \
2869 maybe-install-m4 \
2870 maybe-install-make \
2871 maybe-install-mmalloc \
2872 maybe-install-patch \
2873 maybe-install-perl \
2874 maybe-install-prms \
2875 maybe-install-rcs \
2876 maybe-install-readline \
2877 maybe-install-release \
2878 maybe-install-recode \
2879 maybe-install-sed \
2880 maybe-install-send-pr \
2881 maybe-install-shellutils \
2882 maybe-install-sid \
2883 maybe-install-sim \
2884 maybe-install-tar \
2885 maybe-install-texinfo \
2886 maybe-install-textutils \
2887 maybe-install-time \
2888 maybe-install-uudecode \
2889 maybe-install-wdiff \
2890 maybe-install-zip \
2891 maybe-install-zlib \
2892 maybe-install-gdb \
2893 maybe-install-expect \
2894 maybe-install-guile \
2895 maybe-install-tk \
2896 maybe-install-libtermcap \
2897 maybe-install-utils \
2898 maybe-install-gnattools \
2899 maybe-install-lto-plugin
2901 .PHONY: install-host
2902 install-host: \
2903 maybe-install-ash \
2904 maybe-install-autoconf \
2905 maybe-install-automake \
2906 maybe-install-bash \
2907 maybe-install-bfd \
2908 maybe-install-opcodes \
2909 maybe-install-binutils \
2910 maybe-install-bison \
2911 maybe-install-byacc \
2912 maybe-install-bzip2 \
2913 maybe-install-cgen \
2914 maybe-install-dejagnu \
2915 maybe-install-diff \
2916 maybe-install-dosutils \
2917 maybe-install-etc \
2918 maybe-install-fastjar \
2919 maybe-install-fileutils \
2920 maybe-install-findutils \
2921 maybe-install-find \
2922 maybe-install-fixincludes \
2923 maybe-install-flex \
2924 maybe-install-gas \
2925 maybe-install-gcc \
2926 maybe-install-gawk \
2927 maybe-install-gettext \
2928 maybe-install-gmp \
2929 maybe-install-mpfr \
2930 maybe-install-mpc \
2931 maybe-install-ppl \
2932 maybe-install-cloog \
2933 maybe-install-libelf \
2934 maybe-install-gnuserv \
2935 maybe-install-gold \
2936 maybe-install-gprof \
2937 maybe-install-gzip \
2938 maybe-install-hello \
2939 maybe-install-indent \
2940 maybe-install-intl \
2941 maybe-install-tcl \
2942 maybe-install-itcl \
2943 maybe-install-ld \
2944 maybe-install-libcpp \
2945 maybe-install-libdecnumber \
2946 maybe-install-libgui \
2947 maybe-install-libiberty \
2948 maybe-install-libiconv \
2949 maybe-install-libtool \
2950 maybe-install-m4 \
2951 maybe-install-make \
2952 maybe-install-mmalloc \
2953 maybe-install-patch \
2954 maybe-install-perl \
2955 maybe-install-prms \
2956 maybe-install-rcs \
2957 maybe-install-readline \
2958 maybe-install-release \
2959 maybe-install-recode \
2960 maybe-install-sed \
2961 maybe-install-send-pr \
2962 maybe-install-shellutils \
2963 maybe-install-sid \
2964 maybe-install-sim \
2965 maybe-install-tar \
2966 maybe-install-texinfo \
2967 maybe-install-textutils \
2968 maybe-install-time \
2969 maybe-install-uudecode \
2970 maybe-install-wdiff \
2971 maybe-install-zip \
2972 maybe-install-zlib \
2973 maybe-install-gdb \
2974 maybe-install-expect \
2975 maybe-install-guile \
2976 maybe-install-tk \
2977 maybe-install-libtermcap \
2978 maybe-install-utils \
2979 maybe-install-gnattools \
2980 maybe-install-lto-plugin
2982 .PHONY: install-target
2983 install-target: \
2984 maybe-install-target-libstdc++-v3 \
2985 maybe-install-target-libmudflap \
2986 maybe-install-target-libssp \
2987 maybe-install-target-newlib \
2988 maybe-install-target-libgcc \
2989 maybe-install-target-libgfortran \
2990 maybe-install-target-libobjc \
2991 maybe-install-target-libtermcap \
2992 maybe-install-target-winsup \
2993 maybe-install-target-libgloss \
2994 maybe-install-target-libiberty \
2995 maybe-install-target-gperf \
2996 maybe-install-target-examples \
2997 maybe-install-target-libffi \
2998 maybe-install-target-libjava \
2999 maybe-install-target-zlib \
3000 maybe-install-target-boehm-gc \
3001 maybe-install-target-qthreads \
3002 maybe-install-target-rda \
3003 maybe-install-target-libada \
3004 maybe-install-target-libgomp
3006 uninstall:
3007 @echo "the uninstall target is not supported in this tree"
3009 .PHONY: install.all
3010 install.all: install-no-fixedincludes
3011 @if [ -f ./gcc/Makefile ] ; then \
3012 r=`${PWD_COMMAND}` ; export r ; \
3013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3014 $(HOST_EXPORTS) \
3015 (cd ./gcc && \
3016 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
3017 else \
3018 true ; \
3021 # install-no-fixedincludes is used because Cygnus can not distribute
3022 # the fixed header files.
3023 .PHONY: install-no-fixedincludes
3024 install-no-fixedincludes: installdirs install-host-nogcc \
3025 install-target gcc-no-fixedincludes
3027 ### other supporting targets
3029 MAKEDIRS= \
3030 $(DESTDIR)$(prefix) \
3031 $(DESTDIR)$(exec_prefix)
3032 .PHONY: installdirs
3033 installdirs: mkinstalldirs
3034 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3036 dir.info: do-install-info
3037 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
3038 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
3039 mv -f dir.info.new dir.info ; \
3040 else true ; \
3043 dist:
3044 @echo "Building a full distribution of this tree isn't done"
3045 @echo "via 'make dist'. Check out the etc/ subdirectory"
3047 etags tags: TAGS
3049 # Right now this just builds TAGS in each subdirectory. emacs19 has the
3050 # ability to use several tags files at once, so there is probably no need
3051 # to combine them into one big TAGS file (like CVS 1.3 does). We could
3052 # (if we felt like it) have this Makefile write a piece of elisp which
3053 # the user could load to tell emacs19 where all the TAGS files we just
3054 # built are.
3055 TAGS: do-TAGS
3057 # ------------------------------------
3058 # Macros for configure and all targets
3059 # ------------------------------------
3065 # --------------------------------------
3066 # Modules which run on the build machine
3067 # --------------------------------------
3070 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3071 maybe-configure-build-libiberty:
3072 @if gcc-bootstrap
3073 configure-build-libiberty: stage_current
3074 @endif gcc-bootstrap
3075 @if build-libiberty
3076 maybe-configure-build-libiberty: configure-build-libiberty
3077 configure-build-libiberty:
3078 @: $(MAKE); $(unstage)
3079 @r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3082 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
3083 $(BUILD_EXPORTS) \
3084 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3085 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3086 case $(srcdir) in \
3087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3088 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3090 esac; \
3091 srcdiroption="--srcdir=$${topdir}/libiberty"; \
3092 libsrcdir="$$s/libiberty"; \
3093 rm -f no-such-file || : ; \
3094 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3095 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3096 --target=${target_alias} $${srcdiroption} \
3097 || exit 1
3098 @endif build-libiberty
3104 .PHONY: all-build-libiberty maybe-all-build-libiberty
3105 maybe-all-build-libiberty:
3106 @if gcc-bootstrap
3107 all-build-libiberty: stage_current
3108 @endif gcc-bootstrap
3109 @if build-libiberty
3110 TARGET-build-libiberty=all
3111 maybe-all-build-libiberty: all-build-libiberty
3112 all-build-libiberty: configure-build-libiberty
3113 @: $(MAKE); $(unstage)
3114 @r=`${PWD_COMMAND}`; export r; \
3115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 $(BUILD_EXPORTS) \
3117 (cd $(BUILD_SUBDIR)/libiberty && \
3118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3119 $(TARGET-build-libiberty))
3120 @endif build-libiberty
3126 .PHONY: configure-build-bison maybe-configure-build-bison
3127 maybe-configure-build-bison:
3128 @if gcc-bootstrap
3129 configure-build-bison: stage_current
3130 @endif gcc-bootstrap
3131 @if build-bison
3132 maybe-configure-build-bison: configure-build-bison
3133 configure-build-bison:
3134 @: $(MAKE); $(unstage)
3135 @r=`${PWD_COMMAND}`; export r; \
3136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3137 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3138 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
3139 $(BUILD_EXPORTS) \
3140 echo Configuring in $(BUILD_SUBDIR)/bison; \
3141 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3142 case $(srcdir) in \
3143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3144 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3146 esac; \
3147 srcdiroption="--srcdir=$${topdir}/bison"; \
3148 libsrcdir="$$s/bison"; \
3149 rm -f no-such-file || : ; \
3150 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3151 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3152 --target=${target_alias} $${srcdiroption} \
3153 || exit 1
3154 @endif build-bison
3160 .PHONY: all-build-bison maybe-all-build-bison
3161 maybe-all-build-bison:
3162 @if gcc-bootstrap
3163 all-build-bison: stage_current
3164 @endif gcc-bootstrap
3165 @if build-bison
3166 TARGET-build-bison=all
3167 maybe-all-build-bison: all-build-bison
3168 all-build-bison: configure-build-bison
3169 @: $(MAKE); $(unstage)
3170 @r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(BUILD_EXPORTS) \
3173 (cd $(BUILD_SUBDIR)/bison && \
3174 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3175 $(TARGET-build-bison))
3176 @endif build-bison
3182 .PHONY: configure-build-byacc maybe-configure-build-byacc
3183 maybe-configure-build-byacc:
3184 @if gcc-bootstrap
3185 configure-build-byacc: stage_current
3186 @endif gcc-bootstrap
3187 @if build-byacc
3188 maybe-configure-build-byacc: configure-build-byacc
3189 configure-build-byacc:
3190 @: $(MAKE); $(unstage)
3191 @r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
3194 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
3195 $(BUILD_EXPORTS) \
3196 echo Configuring in $(BUILD_SUBDIR)/byacc; \
3197 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
3198 case $(srcdir) in \
3199 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3200 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
3201 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3202 esac; \
3203 srcdiroption="--srcdir=$${topdir}/byacc"; \
3204 libsrcdir="$$s/byacc"; \
3205 rm -f no-such-file || : ; \
3206 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3207 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3208 --target=${target_alias} $${srcdiroption} \
3209 || exit 1
3210 @endif build-byacc
3216 .PHONY: all-build-byacc maybe-all-build-byacc
3217 maybe-all-build-byacc:
3218 @if gcc-bootstrap
3219 all-build-byacc: stage_current
3220 @endif gcc-bootstrap
3221 @if build-byacc
3222 TARGET-build-byacc=all
3223 maybe-all-build-byacc: all-build-byacc
3224 all-build-byacc: configure-build-byacc
3225 @: $(MAKE); $(unstage)
3226 @r=`${PWD_COMMAND}`; export r; \
3227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3228 $(BUILD_EXPORTS) \
3229 (cd $(BUILD_SUBDIR)/byacc && \
3230 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3231 $(TARGET-build-byacc))
3232 @endif build-byacc
3238 .PHONY: configure-build-flex maybe-configure-build-flex
3239 maybe-configure-build-flex:
3240 @if gcc-bootstrap
3241 configure-build-flex: stage_current
3242 @endif gcc-bootstrap
3243 @if build-flex
3244 maybe-configure-build-flex: configure-build-flex
3245 configure-build-flex:
3246 @: $(MAKE); $(unstage)
3247 @r=`${PWD_COMMAND}`; export r; \
3248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3249 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3250 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
3251 $(BUILD_EXPORTS) \
3252 echo Configuring in $(BUILD_SUBDIR)/flex; \
3253 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3254 case $(srcdir) in \
3255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3256 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3258 esac; \
3259 srcdiroption="--srcdir=$${topdir}/flex"; \
3260 libsrcdir="$$s/flex"; \
3261 rm -f no-such-file || : ; \
3262 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3263 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3264 --target=${target_alias} $${srcdiroption} \
3265 || exit 1
3266 @endif build-flex
3272 .PHONY: all-build-flex maybe-all-build-flex
3273 maybe-all-build-flex:
3274 @if gcc-bootstrap
3275 all-build-flex: stage_current
3276 @endif gcc-bootstrap
3277 @if build-flex
3278 TARGET-build-flex=all
3279 maybe-all-build-flex: all-build-flex
3280 all-build-flex: configure-build-flex
3281 @: $(MAKE); $(unstage)
3282 @r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 $(BUILD_EXPORTS) \
3285 (cd $(BUILD_SUBDIR)/flex && \
3286 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3287 $(TARGET-build-flex))
3288 @endif build-flex
3294 .PHONY: configure-build-m4 maybe-configure-build-m4
3295 maybe-configure-build-m4:
3296 @if gcc-bootstrap
3297 configure-build-m4: stage_current
3298 @endif gcc-bootstrap
3299 @if build-m4
3300 maybe-configure-build-m4: configure-build-m4
3301 configure-build-m4:
3302 @: $(MAKE); $(unstage)
3303 @r=`${PWD_COMMAND}`; export r; \
3304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3305 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3306 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3307 $(BUILD_EXPORTS) \
3308 echo Configuring in $(BUILD_SUBDIR)/m4; \
3309 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3310 case $(srcdir) in \
3311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3312 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3314 esac; \
3315 srcdiroption="--srcdir=$${topdir}/m4"; \
3316 libsrcdir="$$s/m4"; \
3317 rm -f no-such-file || : ; \
3318 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3319 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3320 --target=${target_alias} $${srcdiroption} \
3321 || exit 1
3322 @endif build-m4
3328 .PHONY: all-build-m4 maybe-all-build-m4
3329 maybe-all-build-m4:
3330 @if gcc-bootstrap
3331 all-build-m4: stage_current
3332 @endif gcc-bootstrap
3333 @if build-m4
3334 TARGET-build-m4=all
3335 maybe-all-build-m4: all-build-m4
3336 all-build-m4: configure-build-m4
3337 @: $(MAKE); $(unstage)
3338 @r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 $(BUILD_EXPORTS) \
3341 (cd $(BUILD_SUBDIR)/m4 && \
3342 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3343 $(TARGET-build-m4))
3344 @endif build-m4
3350 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3351 maybe-configure-build-texinfo:
3352 @if gcc-bootstrap
3353 configure-build-texinfo: stage_current
3354 @endif gcc-bootstrap
3355 @if build-texinfo
3356 maybe-configure-build-texinfo: configure-build-texinfo
3357 configure-build-texinfo:
3358 @: $(MAKE); $(unstage)
3359 @r=`${PWD_COMMAND}`; export r; \
3360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3361 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3362 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3363 $(BUILD_EXPORTS) \
3364 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3365 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3366 case $(srcdir) in \
3367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3368 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3370 esac; \
3371 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3372 libsrcdir="$$s/texinfo"; \
3373 rm -f no-such-file || : ; \
3374 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3375 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3376 --target=${target_alias} $${srcdiroption} \
3377 || exit 1
3378 @endif build-texinfo
3384 .PHONY: all-build-texinfo maybe-all-build-texinfo
3385 maybe-all-build-texinfo:
3386 @if gcc-bootstrap
3387 all-build-texinfo: stage_current
3388 @endif gcc-bootstrap
3389 @if build-texinfo
3390 TARGET-build-texinfo=all
3391 maybe-all-build-texinfo: all-build-texinfo
3392 all-build-texinfo: configure-build-texinfo
3393 @: $(MAKE); $(unstage)
3394 @r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 $(BUILD_EXPORTS) \
3397 (cd $(BUILD_SUBDIR)/texinfo && \
3398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3399 $(TARGET-build-texinfo))
3400 @endif build-texinfo
3406 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3407 maybe-configure-build-fixincludes:
3408 @if gcc-bootstrap
3409 configure-build-fixincludes: stage_current
3410 @endif gcc-bootstrap
3411 @if build-fixincludes
3412 maybe-configure-build-fixincludes: configure-build-fixincludes
3413 configure-build-fixincludes:
3414 @: $(MAKE); $(unstage)
3415 @r=`${PWD_COMMAND}`; export r; \
3416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3417 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3418 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3419 $(BUILD_EXPORTS) \
3420 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3421 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3422 case $(srcdir) in \
3423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3424 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3426 esac; \
3427 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3428 libsrcdir="$$s/fixincludes"; \
3429 rm -f no-such-file || : ; \
3430 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3431 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3432 --target=${target_alias} $${srcdiroption} \
3433 || exit 1
3434 @endif build-fixincludes
3440 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3441 maybe-all-build-fixincludes:
3442 @if gcc-bootstrap
3443 all-build-fixincludes: stage_current
3444 @endif gcc-bootstrap
3445 @if build-fixincludes
3446 TARGET-build-fixincludes=all
3447 maybe-all-build-fixincludes: all-build-fixincludes
3448 all-build-fixincludes: configure-build-fixincludes
3449 @: $(MAKE); $(unstage)
3450 @r=`${PWD_COMMAND}`; export r; \
3451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3452 $(BUILD_EXPORTS) \
3453 (cd $(BUILD_SUBDIR)/fixincludes && \
3454 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3455 $(TARGET-build-fixincludes))
3456 @endif build-fixincludes
3462 # --------------------------------------
3463 # Modules which run on the host machine
3464 # --------------------------------------
3467 .PHONY: configure-ash maybe-configure-ash
3468 maybe-configure-ash:
3469 @if gcc-bootstrap
3470 configure-ash: stage_current
3471 @endif gcc-bootstrap
3472 @if ash
3473 maybe-configure-ash: configure-ash
3474 configure-ash:
3475 @: $(MAKE); $(unstage)
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3480 $(HOST_EXPORTS) \
3481 echo Configuring in $(HOST_SUBDIR)/ash; \
3482 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3483 case $(srcdir) in \
3484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3485 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3487 esac; \
3488 srcdiroption="--srcdir=$${topdir}/ash"; \
3489 libsrcdir="$$s/ash"; \
3490 $(SHELL) $${libsrcdir}/configure \
3491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3492 --target=${target_alias} $${srcdiroption} \
3493 || exit 1
3494 @endif ash
3500 .PHONY: all-ash maybe-all-ash
3501 maybe-all-ash:
3502 @if gcc-bootstrap
3503 all-ash: stage_current
3504 @endif gcc-bootstrap
3505 @if ash
3506 TARGET-ash=all
3507 maybe-all-ash: all-ash
3508 all-ash: configure-ash
3509 @: $(MAKE); $(unstage)
3510 @r=`${PWD_COMMAND}`; export r; \
3511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3512 $(HOST_EXPORTS) \
3513 (cd $(HOST_SUBDIR)/ash && \
3514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3515 $(TARGET-ash))
3516 @endif ash
3521 .PHONY: check-ash maybe-check-ash
3522 maybe-check-ash:
3523 @if ash
3524 maybe-check-ash: check-ash
3526 check-ash:
3527 @: $(MAKE); $(unstage)
3528 @r=`${PWD_COMMAND}`; export r; \
3529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3530 $(HOST_EXPORTS) \
3531 (cd $(HOST_SUBDIR)/ash && \
3532 $(MAKE) $(FLAGS_TO_PASS) check)
3534 @endif ash
3536 .PHONY: install-ash maybe-install-ash
3537 maybe-install-ash:
3538 @if ash
3539 maybe-install-ash: install-ash
3541 install-ash: installdirs
3542 @: $(MAKE); $(unstage)
3543 @r=`${PWD_COMMAND}`; export r; \
3544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3545 $(HOST_EXPORTS) \
3546 (cd $(HOST_SUBDIR)/ash && \
3547 $(MAKE) $(FLAGS_TO_PASS) install)
3549 @endif ash
3551 # Other targets (info, dvi, pdf, etc.)
3553 .PHONY: maybe-info-ash info-ash
3554 maybe-info-ash:
3555 @if ash
3556 maybe-info-ash: info-ash
3558 info-ash: \
3559 configure-ash
3560 @: $(MAKE); $(unstage)
3561 @[ -f ./ash/Makefile ] || exit 0; \
3562 r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 $(HOST_EXPORTS) \
3565 for flag in $(EXTRA_HOST_FLAGS) ; do \
3566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 done; \
3568 echo "Doing info in ash" ; \
3569 (cd $(HOST_SUBDIR)/ash && \
3570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3572 "RANLIB=$${RANLIB}" \
3573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3574 info) \
3575 || exit 1
3577 @endif ash
3579 .PHONY: maybe-dvi-ash dvi-ash
3580 maybe-dvi-ash:
3581 @if ash
3582 maybe-dvi-ash: dvi-ash
3584 dvi-ash: \
3585 configure-ash
3586 @: $(MAKE); $(unstage)
3587 @[ -f ./ash/Makefile ] || exit 0; \
3588 r=`${PWD_COMMAND}`; export r; \
3589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 $(HOST_EXPORTS) \
3591 for flag in $(EXTRA_HOST_FLAGS) ; do \
3592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3593 done; \
3594 echo "Doing dvi in ash" ; \
3595 (cd $(HOST_SUBDIR)/ash && \
3596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3598 "RANLIB=$${RANLIB}" \
3599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3600 dvi) \
3601 || exit 1
3603 @endif ash
3605 .PHONY: maybe-pdf-ash pdf-ash
3606 maybe-pdf-ash:
3607 @if ash
3608 maybe-pdf-ash: pdf-ash
3610 pdf-ash: \
3611 configure-ash
3612 @: $(MAKE); $(unstage)
3613 @[ -f ./ash/Makefile ] || exit 0; \
3614 r=`${PWD_COMMAND}`; export r; \
3615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3616 $(HOST_EXPORTS) \
3617 for flag in $(EXTRA_HOST_FLAGS) ; do \
3618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3619 done; \
3620 echo "Doing pdf in ash" ; \
3621 (cd $(HOST_SUBDIR)/ash && \
3622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3624 "RANLIB=$${RANLIB}" \
3625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3626 pdf) \
3627 || exit 1
3629 @endif ash
3631 .PHONY: maybe-html-ash html-ash
3632 maybe-html-ash:
3633 @if ash
3634 maybe-html-ash: html-ash
3636 html-ash: \
3637 configure-ash
3638 @: $(MAKE); $(unstage)
3639 @[ -f ./ash/Makefile ] || exit 0; \
3640 r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 $(HOST_EXPORTS) \
3643 for flag in $(EXTRA_HOST_FLAGS) ; do \
3644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3645 done; \
3646 echo "Doing html in ash" ; \
3647 (cd $(HOST_SUBDIR)/ash && \
3648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3650 "RANLIB=$${RANLIB}" \
3651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3652 html) \
3653 || exit 1
3655 @endif ash
3657 .PHONY: maybe-TAGS-ash TAGS-ash
3658 maybe-TAGS-ash:
3659 @if ash
3660 maybe-TAGS-ash: TAGS-ash
3662 TAGS-ash: \
3663 configure-ash
3664 @: $(MAKE); $(unstage)
3665 @[ -f ./ash/Makefile ] || exit 0; \
3666 r=`${PWD_COMMAND}`; export r; \
3667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3668 $(HOST_EXPORTS) \
3669 for flag in $(EXTRA_HOST_FLAGS) ; do \
3670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3671 done; \
3672 echo "Doing TAGS in ash" ; \
3673 (cd $(HOST_SUBDIR)/ash && \
3674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3676 "RANLIB=$${RANLIB}" \
3677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3678 TAGS) \
3679 || exit 1
3681 @endif ash
3683 .PHONY: maybe-install-info-ash install-info-ash
3684 maybe-install-info-ash:
3685 @if ash
3686 maybe-install-info-ash: install-info-ash
3688 install-info-ash: \
3689 configure-ash \
3690 info-ash
3691 @: $(MAKE); $(unstage)
3692 @[ -f ./ash/Makefile ] || exit 0; \
3693 r=`${PWD_COMMAND}`; export r; \
3694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695 $(HOST_EXPORTS) \
3696 for flag in $(EXTRA_HOST_FLAGS) ; do \
3697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3698 done; \
3699 echo "Doing install-info in ash" ; \
3700 (cd $(HOST_SUBDIR)/ash && \
3701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3703 "RANLIB=$${RANLIB}" \
3704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3705 install-info) \
3706 || exit 1
3708 @endif ash
3710 .PHONY: maybe-install-pdf-ash install-pdf-ash
3711 maybe-install-pdf-ash:
3712 @if ash
3713 maybe-install-pdf-ash: install-pdf-ash
3715 install-pdf-ash: \
3716 configure-ash \
3717 pdf-ash
3718 @: $(MAKE); $(unstage)
3719 @[ -f ./ash/Makefile ] || exit 0; \
3720 r=`${PWD_COMMAND}`; export r; \
3721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722 $(HOST_EXPORTS) \
3723 for flag in $(EXTRA_HOST_FLAGS) ; do \
3724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3725 done; \
3726 echo "Doing install-pdf in ash" ; \
3727 (cd $(HOST_SUBDIR)/ash && \
3728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3730 "RANLIB=$${RANLIB}" \
3731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3732 install-pdf) \
3733 || exit 1
3735 @endif ash
3737 .PHONY: maybe-install-html-ash install-html-ash
3738 maybe-install-html-ash:
3739 @if ash
3740 maybe-install-html-ash: install-html-ash
3742 install-html-ash: \
3743 configure-ash \
3744 html-ash
3745 @: $(MAKE); $(unstage)
3746 @[ -f ./ash/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing install-html in ash" ; \
3754 (cd $(HOST_SUBDIR)/ash && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3759 install-html) \
3760 || exit 1
3762 @endif ash
3764 .PHONY: maybe-installcheck-ash installcheck-ash
3765 maybe-installcheck-ash:
3766 @if ash
3767 maybe-installcheck-ash: installcheck-ash
3769 installcheck-ash: \
3770 configure-ash
3771 @: $(MAKE); $(unstage)
3772 @[ -f ./ash/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(HOST_EXPORTS) \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3778 done; \
3779 echo "Doing installcheck in ash" ; \
3780 (cd $(HOST_SUBDIR)/ash && \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3785 installcheck) \
3786 || exit 1
3788 @endif ash
3790 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3791 maybe-mostlyclean-ash:
3792 @if ash
3793 maybe-mostlyclean-ash: mostlyclean-ash
3795 mostlyclean-ash:
3796 @: $(MAKE); $(unstage)
3797 @[ -f ./ash/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing mostlyclean in ash" ; \
3805 (cd $(HOST_SUBDIR)/ash && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3810 mostlyclean) \
3811 || exit 1
3813 @endif ash
3815 .PHONY: maybe-clean-ash clean-ash
3816 maybe-clean-ash:
3817 @if ash
3818 maybe-clean-ash: clean-ash
3820 clean-ash:
3821 @: $(MAKE); $(unstage)
3822 @[ -f ./ash/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS) ; do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing clean in ash" ; \
3830 (cd $(HOST_SUBDIR)/ash && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3835 clean) \
3836 || exit 1
3838 @endif ash
3840 .PHONY: maybe-distclean-ash distclean-ash
3841 maybe-distclean-ash:
3842 @if ash
3843 maybe-distclean-ash: distclean-ash
3845 distclean-ash:
3846 @: $(MAKE); $(unstage)
3847 @[ -f ./ash/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850 $(HOST_EXPORTS) \
3851 for flag in $(EXTRA_HOST_FLAGS) ; do \
3852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3853 done; \
3854 echo "Doing distclean in ash" ; \
3855 (cd $(HOST_SUBDIR)/ash && \
3856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3858 "RANLIB=$${RANLIB}" \
3859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3860 distclean) \
3861 || exit 1
3863 @endif ash
3865 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3866 maybe-maintainer-clean-ash:
3867 @if ash
3868 maybe-maintainer-clean-ash: maintainer-clean-ash
3870 maintainer-clean-ash:
3871 @: $(MAKE); $(unstage)
3872 @[ -f ./ash/Makefile ] || exit 0; \
3873 r=`${PWD_COMMAND}`; export r; \
3874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3875 $(HOST_EXPORTS) \
3876 for flag in $(EXTRA_HOST_FLAGS) ; do \
3877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3878 done; \
3879 echo "Doing maintainer-clean in ash" ; \
3880 (cd $(HOST_SUBDIR)/ash && \
3881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3883 "RANLIB=$${RANLIB}" \
3884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3885 maintainer-clean) \
3886 || exit 1
3888 @endif ash
3892 .PHONY: configure-autoconf maybe-configure-autoconf
3893 maybe-configure-autoconf:
3894 @if gcc-bootstrap
3895 configure-autoconf: stage_current
3896 @endif gcc-bootstrap
3897 @if autoconf
3898 maybe-configure-autoconf: configure-autoconf
3899 configure-autoconf:
3900 @: $(MAKE); $(unstage)
3901 @r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3905 $(HOST_EXPORTS) \
3906 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3907 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3908 case $(srcdir) in \
3909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3910 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3912 esac; \
3913 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3914 libsrcdir="$$s/autoconf"; \
3915 $(SHELL) $${libsrcdir}/configure \
3916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3917 --target=${target_alias} $${srcdiroption} \
3918 || exit 1
3919 @endif autoconf
3925 .PHONY: all-autoconf maybe-all-autoconf
3926 maybe-all-autoconf:
3927 @if gcc-bootstrap
3928 all-autoconf: stage_current
3929 @endif gcc-bootstrap
3930 @if autoconf
3931 TARGET-autoconf=all
3932 maybe-all-autoconf: all-autoconf
3933 all-autoconf: configure-autoconf
3934 @: $(MAKE); $(unstage)
3935 @r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3937 $(HOST_EXPORTS) \
3938 (cd $(HOST_SUBDIR)/autoconf && \
3939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3940 $(TARGET-autoconf))
3941 @endif autoconf
3946 .PHONY: check-autoconf maybe-check-autoconf
3947 maybe-check-autoconf:
3948 @if autoconf
3949 maybe-check-autoconf: check-autoconf
3951 check-autoconf:
3952 @: $(MAKE); $(unstage)
3953 @r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 $(HOST_EXPORTS) \
3956 (cd $(HOST_SUBDIR)/autoconf && \
3957 $(MAKE) $(FLAGS_TO_PASS) check)
3959 @endif autoconf
3961 .PHONY: install-autoconf maybe-install-autoconf
3962 maybe-install-autoconf:
3963 @if autoconf
3964 maybe-install-autoconf: install-autoconf
3966 install-autoconf: installdirs
3967 @: $(MAKE); $(unstage)
3968 @r=`${PWD_COMMAND}`; export r; \
3969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3970 $(HOST_EXPORTS) \
3971 (cd $(HOST_SUBDIR)/autoconf && \
3972 $(MAKE) $(FLAGS_TO_PASS) install)
3974 @endif autoconf
3976 # Other targets (info, dvi, pdf, etc.)
3978 .PHONY: maybe-info-autoconf info-autoconf
3979 maybe-info-autoconf:
3980 @if autoconf
3981 maybe-info-autoconf: info-autoconf
3983 info-autoconf: \
3984 configure-autoconf
3985 @: $(MAKE); $(unstage)
3986 @[ -f ./autoconf/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing info in autoconf" ; \
3994 (cd $(HOST_SUBDIR)/autoconf && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3999 info) \
4000 || exit 1
4002 @endif autoconf
4004 .PHONY: maybe-dvi-autoconf dvi-autoconf
4005 maybe-dvi-autoconf:
4006 @if autoconf
4007 maybe-dvi-autoconf: dvi-autoconf
4009 dvi-autoconf: \
4010 configure-autoconf
4011 @: $(MAKE); $(unstage)
4012 @[ -f ./autoconf/Makefile ] || exit 0; \
4013 r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 $(HOST_EXPORTS) \
4016 for flag in $(EXTRA_HOST_FLAGS) ; do \
4017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4018 done; \
4019 echo "Doing dvi in autoconf" ; \
4020 (cd $(HOST_SUBDIR)/autoconf && \
4021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4023 "RANLIB=$${RANLIB}" \
4024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4025 dvi) \
4026 || exit 1
4028 @endif autoconf
4030 .PHONY: maybe-pdf-autoconf pdf-autoconf
4031 maybe-pdf-autoconf:
4032 @if autoconf
4033 maybe-pdf-autoconf: pdf-autoconf
4035 pdf-autoconf: \
4036 configure-autoconf
4037 @: $(MAKE); $(unstage)
4038 @[ -f ./autoconf/Makefile ] || exit 0; \
4039 r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 $(HOST_EXPORTS) \
4042 for flag in $(EXTRA_HOST_FLAGS) ; do \
4043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4044 done; \
4045 echo "Doing pdf in autoconf" ; \
4046 (cd $(HOST_SUBDIR)/autoconf && \
4047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4049 "RANLIB=$${RANLIB}" \
4050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4051 pdf) \
4052 || exit 1
4054 @endif autoconf
4056 .PHONY: maybe-html-autoconf html-autoconf
4057 maybe-html-autoconf:
4058 @if autoconf
4059 maybe-html-autoconf: html-autoconf
4061 html-autoconf: \
4062 configure-autoconf
4063 @: $(MAKE); $(unstage)
4064 @[ -f ./autoconf/Makefile ] || exit 0; \
4065 r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4067 $(HOST_EXPORTS) \
4068 for flag in $(EXTRA_HOST_FLAGS) ; do \
4069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4070 done; \
4071 echo "Doing html in autoconf" ; \
4072 (cd $(HOST_SUBDIR)/autoconf && \
4073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4075 "RANLIB=$${RANLIB}" \
4076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4077 html) \
4078 || exit 1
4080 @endif autoconf
4082 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4083 maybe-TAGS-autoconf:
4084 @if autoconf
4085 maybe-TAGS-autoconf: TAGS-autoconf
4087 TAGS-autoconf: \
4088 configure-autoconf
4089 @: $(MAKE); $(unstage)
4090 @[ -f ./autoconf/Makefile ] || exit 0; \
4091 r=`${PWD_COMMAND}`; export r; \
4092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4093 $(HOST_EXPORTS) \
4094 for flag in $(EXTRA_HOST_FLAGS) ; do \
4095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4096 done; \
4097 echo "Doing TAGS in autoconf" ; \
4098 (cd $(HOST_SUBDIR)/autoconf && \
4099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4101 "RANLIB=$${RANLIB}" \
4102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4103 TAGS) \
4104 || exit 1
4106 @endif autoconf
4108 .PHONY: maybe-install-info-autoconf install-info-autoconf
4109 maybe-install-info-autoconf:
4110 @if autoconf
4111 maybe-install-info-autoconf: install-info-autoconf
4113 install-info-autoconf: \
4114 configure-autoconf \
4115 info-autoconf
4116 @: $(MAKE); $(unstage)
4117 @[ -f ./autoconf/Makefile ] || exit 0; \
4118 r=`${PWD_COMMAND}`; export r; \
4119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4120 $(HOST_EXPORTS) \
4121 for flag in $(EXTRA_HOST_FLAGS) ; do \
4122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4123 done; \
4124 echo "Doing install-info in autoconf" ; \
4125 (cd $(HOST_SUBDIR)/autoconf && \
4126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4128 "RANLIB=$${RANLIB}" \
4129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4130 install-info) \
4131 || exit 1
4133 @endif autoconf
4135 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
4136 maybe-install-pdf-autoconf:
4137 @if autoconf
4138 maybe-install-pdf-autoconf: install-pdf-autoconf
4140 install-pdf-autoconf: \
4141 configure-autoconf \
4142 pdf-autoconf
4143 @: $(MAKE); $(unstage)
4144 @[ -f ./autoconf/Makefile ] || exit 0; \
4145 r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4147 $(HOST_EXPORTS) \
4148 for flag in $(EXTRA_HOST_FLAGS) ; do \
4149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4150 done; \
4151 echo "Doing install-pdf in autoconf" ; \
4152 (cd $(HOST_SUBDIR)/autoconf && \
4153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4155 "RANLIB=$${RANLIB}" \
4156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4157 install-pdf) \
4158 || exit 1
4160 @endif autoconf
4162 .PHONY: maybe-install-html-autoconf install-html-autoconf
4163 maybe-install-html-autoconf:
4164 @if autoconf
4165 maybe-install-html-autoconf: install-html-autoconf
4167 install-html-autoconf: \
4168 configure-autoconf \
4169 html-autoconf
4170 @: $(MAKE); $(unstage)
4171 @[ -f ./autoconf/Makefile ] || exit 0; \
4172 r=`${PWD_COMMAND}`; export r; \
4173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4174 $(HOST_EXPORTS) \
4175 for flag in $(EXTRA_HOST_FLAGS) ; do \
4176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4177 done; \
4178 echo "Doing install-html in autoconf" ; \
4179 (cd $(HOST_SUBDIR)/autoconf && \
4180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4182 "RANLIB=$${RANLIB}" \
4183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4184 install-html) \
4185 || exit 1
4187 @endif autoconf
4189 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
4190 maybe-installcheck-autoconf:
4191 @if autoconf
4192 maybe-installcheck-autoconf: installcheck-autoconf
4194 installcheck-autoconf: \
4195 configure-autoconf
4196 @: $(MAKE); $(unstage)
4197 @[ -f ./autoconf/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(HOST_EXPORTS) \
4201 for flag in $(EXTRA_HOST_FLAGS) ; do \
4202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4203 done; \
4204 echo "Doing installcheck in autoconf" ; \
4205 (cd $(HOST_SUBDIR)/autoconf && \
4206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4208 "RANLIB=$${RANLIB}" \
4209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4210 installcheck) \
4211 || exit 1
4213 @endif autoconf
4215 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
4216 maybe-mostlyclean-autoconf:
4217 @if autoconf
4218 maybe-mostlyclean-autoconf: mostlyclean-autoconf
4220 mostlyclean-autoconf:
4221 @: $(MAKE); $(unstage)
4222 @[ -f ./autoconf/Makefile ] || exit 0; \
4223 r=`${PWD_COMMAND}`; export r; \
4224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4225 $(HOST_EXPORTS) \
4226 for flag in $(EXTRA_HOST_FLAGS) ; do \
4227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4228 done; \
4229 echo "Doing mostlyclean in autoconf" ; \
4230 (cd $(HOST_SUBDIR)/autoconf && \
4231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4233 "RANLIB=$${RANLIB}" \
4234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4235 mostlyclean) \
4236 || exit 1
4238 @endif autoconf
4240 .PHONY: maybe-clean-autoconf clean-autoconf
4241 maybe-clean-autoconf:
4242 @if autoconf
4243 maybe-clean-autoconf: clean-autoconf
4245 clean-autoconf:
4246 @: $(MAKE); $(unstage)
4247 @[ -f ./autoconf/Makefile ] || exit 0; \
4248 r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4250 $(HOST_EXPORTS) \
4251 for flag in $(EXTRA_HOST_FLAGS) ; do \
4252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4253 done; \
4254 echo "Doing clean in autoconf" ; \
4255 (cd $(HOST_SUBDIR)/autoconf && \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4258 "RANLIB=$${RANLIB}" \
4259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4260 clean) \
4261 || exit 1
4263 @endif autoconf
4265 .PHONY: maybe-distclean-autoconf distclean-autoconf
4266 maybe-distclean-autoconf:
4267 @if autoconf
4268 maybe-distclean-autoconf: distclean-autoconf
4270 distclean-autoconf:
4271 @: $(MAKE); $(unstage)
4272 @[ -f ./autoconf/Makefile ] || exit 0; \
4273 r=`${PWD_COMMAND}`; export r; \
4274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4275 $(HOST_EXPORTS) \
4276 for flag in $(EXTRA_HOST_FLAGS) ; do \
4277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4278 done; \
4279 echo "Doing distclean in autoconf" ; \
4280 (cd $(HOST_SUBDIR)/autoconf && \
4281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4283 "RANLIB=$${RANLIB}" \
4284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4285 distclean) \
4286 || exit 1
4288 @endif autoconf
4290 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4291 maybe-maintainer-clean-autoconf:
4292 @if autoconf
4293 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4295 maintainer-clean-autoconf:
4296 @: $(MAKE); $(unstage)
4297 @[ -f ./autoconf/Makefile ] || exit 0; \
4298 r=`${PWD_COMMAND}`; export r; \
4299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4300 $(HOST_EXPORTS) \
4301 for flag in $(EXTRA_HOST_FLAGS) ; do \
4302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4303 done; \
4304 echo "Doing maintainer-clean in autoconf" ; \
4305 (cd $(HOST_SUBDIR)/autoconf && \
4306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4308 "RANLIB=$${RANLIB}" \
4309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4310 maintainer-clean) \
4311 || exit 1
4313 @endif autoconf
4317 .PHONY: configure-automake maybe-configure-automake
4318 maybe-configure-automake:
4319 @if gcc-bootstrap
4320 configure-automake: stage_current
4321 @endif gcc-bootstrap
4322 @if automake
4323 maybe-configure-automake: configure-automake
4324 configure-automake:
4325 @: $(MAKE); $(unstage)
4326 @r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
4329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
4330 $(HOST_EXPORTS) \
4331 echo Configuring in $(HOST_SUBDIR)/automake; \
4332 cd "$(HOST_SUBDIR)/automake" || exit 1; \
4333 case $(srcdir) in \
4334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4335 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
4336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4337 esac; \
4338 srcdiroption="--srcdir=$${topdir}/automake"; \
4339 libsrcdir="$$s/automake"; \
4340 $(SHELL) $${libsrcdir}/configure \
4341 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4342 --target=${target_alias} $${srcdiroption} \
4343 || exit 1
4344 @endif automake
4350 .PHONY: all-automake maybe-all-automake
4351 maybe-all-automake:
4352 @if gcc-bootstrap
4353 all-automake: stage_current
4354 @endif gcc-bootstrap
4355 @if automake
4356 TARGET-automake=all
4357 maybe-all-automake: all-automake
4358 all-automake: configure-automake
4359 @: $(MAKE); $(unstage)
4360 @r=`${PWD_COMMAND}`; export r; \
4361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4362 $(HOST_EXPORTS) \
4363 (cd $(HOST_SUBDIR)/automake && \
4364 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4365 $(TARGET-automake))
4366 @endif automake
4371 .PHONY: check-automake maybe-check-automake
4372 maybe-check-automake:
4373 @if automake
4374 maybe-check-automake: check-automake
4376 check-automake:
4377 @: $(MAKE); $(unstage)
4378 @r=`${PWD_COMMAND}`; export r; \
4379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4380 $(HOST_EXPORTS) \
4381 (cd $(HOST_SUBDIR)/automake && \
4382 $(MAKE) $(FLAGS_TO_PASS) check)
4384 @endif automake
4386 .PHONY: install-automake maybe-install-automake
4387 maybe-install-automake:
4388 @if automake
4389 maybe-install-automake: install-automake
4391 install-automake: installdirs
4392 @: $(MAKE); $(unstage)
4393 @r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4395 $(HOST_EXPORTS) \
4396 (cd $(HOST_SUBDIR)/automake && \
4397 $(MAKE) $(FLAGS_TO_PASS) install)
4399 @endif automake
4401 # Other targets (info, dvi, pdf, etc.)
4403 .PHONY: maybe-info-automake info-automake
4404 maybe-info-automake:
4405 @if automake
4406 maybe-info-automake: info-automake
4408 info-automake: \
4409 configure-automake
4410 @: $(MAKE); $(unstage)
4411 @[ -f ./automake/Makefile ] || exit 0; \
4412 r=`${PWD_COMMAND}`; export r; \
4413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4414 $(HOST_EXPORTS) \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 echo "Doing info in automake" ; \
4419 (cd $(HOST_SUBDIR)/automake && \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4424 info) \
4425 || exit 1
4427 @endif automake
4429 .PHONY: maybe-dvi-automake dvi-automake
4430 maybe-dvi-automake:
4431 @if automake
4432 maybe-dvi-automake: dvi-automake
4434 dvi-automake: \
4435 configure-automake
4436 @: $(MAKE); $(unstage)
4437 @[ -f ./automake/Makefile ] || exit 0; \
4438 r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing dvi in automake" ; \
4445 (cd $(HOST_SUBDIR)/automake && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4450 dvi) \
4451 || exit 1
4453 @endif automake
4455 .PHONY: maybe-pdf-automake pdf-automake
4456 maybe-pdf-automake:
4457 @if automake
4458 maybe-pdf-automake: pdf-automake
4460 pdf-automake: \
4461 configure-automake
4462 @: $(MAKE); $(unstage)
4463 @[ -f ./automake/Makefile ] || exit 0; \
4464 r=`${PWD_COMMAND}`; export r; \
4465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing pdf in automake" ; \
4471 (cd $(HOST_SUBDIR)/automake && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4476 pdf) \
4477 || exit 1
4479 @endif automake
4481 .PHONY: maybe-html-automake html-automake
4482 maybe-html-automake:
4483 @if automake
4484 maybe-html-automake: html-automake
4486 html-automake: \
4487 configure-automake
4488 @: $(MAKE); $(unstage)
4489 @[ -f ./automake/Makefile ] || exit 0; \
4490 r=`${PWD_COMMAND}`; export r; \
4491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4492 $(HOST_EXPORTS) \
4493 for flag in $(EXTRA_HOST_FLAGS) ; do \
4494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4495 done; \
4496 echo "Doing html in automake" ; \
4497 (cd $(HOST_SUBDIR)/automake && \
4498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4500 "RANLIB=$${RANLIB}" \
4501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4502 html) \
4503 || exit 1
4505 @endif automake
4507 .PHONY: maybe-TAGS-automake TAGS-automake
4508 maybe-TAGS-automake:
4509 @if automake
4510 maybe-TAGS-automake: TAGS-automake
4512 TAGS-automake: \
4513 configure-automake
4514 @: $(MAKE); $(unstage)
4515 @[ -f ./automake/Makefile ] || exit 0; \
4516 r=`${PWD_COMMAND}`; export r; \
4517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518 $(HOST_EXPORTS) \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521 done; \
4522 echo "Doing TAGS in automake" ; \
4523 (cd $(HOST_SUBDIR)/automake && \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4528 TAGS) \
4529 || exit 1
4531 @endif automake
4533 .PHONY: maybe-install-info-automake install-info-automake
4534 maybe-install-info-automake:
4535 @if automake
4536 maybe-install-info-automake: install-info-automake
4538 install-info-automake: \
4539 configure-automake \
4540 info-automake
4541 @: $(MAKE); $(unstage)
4542 @[ -f ./automake/Makefile ] || exit 0; \
4543 r=`${PWD_COMMAND}`; export r; \
4544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4545 $(HOST_EXPORTS) \
4546 for flag in $(EXTRA_HOST_FLAGS) ; do \
4547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 done; \
4549 echo "Doing install-info in automake" ; \
4550 (cd $(HOST_SUBDIR)/automake && \
4551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4553 "RANLIB=$${RANLIB}" \
4554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4555 install-info) \
4556 || exit 1
4558 @endif automake
4560 .PHONY: maybe-install-pdf-automake install-pdf-automake
4561 maybe-install-pdf-automake:
4562 @if automake
4563 maybe-install-pdf-automake: install-pdf-automake
4565 install-pdf-automake: \
4566 configure-automake \
4567 pdf-automake
4568 @: $(MAKE); $(unstage)
4569 @[ -f ./automake/Makefile ] || exit 0; \
4570 r=`${PWD_COMMAND}`; export r; \
4571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4572 $(HOST_EXPORTS) \
4573 for flag in $(EXTRA_HOST_FLAGS) ; do \
4574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4575 done; \
4576 echo "Doing install-pdf in automake" ; \
4577 (cd $(HOST_SUBDIR)/automake && \
4578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4580 "RANLIB=$${RANLIB}" \
4581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4582 install-pdf) \
4583 || exit 1
4585 @endif automake
4587 .PHONY: maybe-install-html-automake install-html-automake
4588 maybe-install-html-automake:
4589 @if automake
4590 maybe-install-html-automake: install-html-automake
4592 install-html-automake: \
4593 configure-automake \
4594 html-automake
4595 @: $(MAKE); $(unstage)
4596 @[ -f ./automake/Makefile ] || exit 0; \
4597 r=`${PWD_COMMAND}`; export r; \
4598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4599 $(HOST_EXPORTS) \
4600 for flag in $(EXTRA_HOST_FLAGS) ; do \
4601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4602 done; \
4603 echo "Doing install-html in automake" ; \
4604 (cd $(HOST_SUBDIR)/automake && \
4605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4607 "RANLIB=$${RANLIB}" \
4608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4609 install-html) \
4610 || exit 1
4612 @endif automake
4614 .PHONY: maybe-installcheck-automake installcheck-automake
4615 maybe-installcheck-automake:
4616 @if automake
4617 maybe-installcheck-automake: installcheck-automake
4619 installcheck-automake: \
4620 configure-automake
4621 @: $(MAKE); $(unstage)
4622 @[ -f ./automake/Makefile ] || exit 0; \
4623 r=`${PWD_COMMAND}`; export r; \
4624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4625 $(HOST_EXPORTS) \
4626 for flag in $(EXTRA_HOST_FLAGS) ; do \
4627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4628 done; \
4629 echo "Doing installcheck in automake" ; \
4630 (cd $(HOST_SUBDIR)/automake && \
4631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4633 "RANLIB=$${RANLIB}" \
4634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4635 installcheck) \
4636 || exit 1
4638 @endif automake
4640 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4641 maybe-mostlyclean-automake:
4642 @if automake
4643 maybe-mostlyclean-automake: mostlyclean-automake
4645 mostlyclean-automake:
4646 @: $(MAKE); $(unstage)
4647 @[ -f ./automake/Makefile ] || exit 0; \
4648 r=`${PWD_COMMAND}`; export r; \
4649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4650 $(HOST_EXPORTS) \
4651 for flag in $(EXTRA_HOST_FLAGS) ; do \
4652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4653 done; \
4654 echo "Doing mostlyclean in automake" ; \
4655 (cd $(HOST_SUBDIR)/automake && \
4656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4658 "RANLIB=$${RANLIB}" \
4659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4660 mostlyclean) \
4661 || exit 1
4663 @endif automake
4665 .PHONY: maybe-clean-automake clean-automake
4666 maybe-clean-automake:
4667 @if automake
4668 maybe-clean-automake: clean-automake
4670 clean-automake:
4671 @: $(MAKE); $(unstage)
4672 @[ -f ./automake/Makefile ] || exit 0; \
4673 r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 $(HOST_EXPORTS) \
4676 for flag in $(EXTRA_HOST_FLAGS) ; do \
4677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4678 done; \
4679 echo "Doing clean in automake" ; \
4680 (cd $(HOST_SUBDIR)/automake && \
4681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4683 "RANLIB=$${RANLIB}" \
4684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4685 clean) \
4686 || exit 1
4688 @endif automake
4690 .PHONY: maybe-distclean-automake distclean-automake
4691 maybe-distclean-automake:
4692 @if automake
4693 maybe-distclean-automake: distclean-automake
4695 distclean-automake:
4696 @: $(MAKE); $(unstage)
4697 @[ -f ./automake/Makefile ] || exit 0; \
4698 r=`${PWD_COMMAND}`; export r; \
4699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700 $(HOST_EXPORTS) \
4701 for flag in $(EXTRA_HOST_FLAGS) ; do \
4702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4703 done; \
4704 echo "Doing distclean in automake" ; \
4705 (cd $(HOST_SUBDIR)/automake && \
4706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4708 "RANLIB=$${RANLIB}" \
4709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4710 distclean) \
4711 || exit 1
4713 @endif automake
4715 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4716 maybe-maintainer-clean-automake:
4717 @if automake
4718 maybe-maintainer-clean-automake: maintainer-clean-automake
4720 maintainer-clean-automake:
4721 @: $(MAKE); $(unstage)
4722 @[ -f ./automake/Makefile ] || exit 0; \
4723 r=`${PWD_COMMAND}`; export r; \
4724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 $(HOST_EXPORTS) \
4726 for flag in $(EXTRA_HOST_FLAGS) ; do \
4727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4728 done; \
4729 echo "Doing maintainer-clean in automake" ; \
4730 (cd $(HOST_SUBDIR)/automake && \
4731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4733 "RANLIB=$${RANLIB}" \
4734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4735 maintainer-clean) \
4736 || exit 1
4738 @endif automake
4742 .PHONY: configure-bash maybe-configure-bash
4743 maybe-configure-bash:
4744 @if gcc-bootstrap
4745 configure-bash: stage_current
4746 @endif gcc-bootstrap
4747 @if bash
4748 maybe-configure-bash: configure-bash
4749 configure-bash:
4750 @: $(MAKE); $(unstage)
4751 @r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4755 $(HOST_EXPORTS) \
4756 echo Configuring in $(HOST_SUBDIR)/bash; \
4757 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4758 case $(srcdir) in \
4759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4760 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4762 esac; \
4763 srcdiroption="--srcdir=$${topdir}/bash"; \
4764 libsrcdir="$$s/bash"; \
4765 $(SHELL) $${libsrcdir}/configure \
4766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4767 --target=${target_alias} $${srcdiroption} \
4768 || exit 1
4769 @endif bash
4775 .PHONY: all-bash maybe-all-bash
4776 maybe-all-bash:
4777 @if gcc-bootstrap
4778 all-bash: stage_current
4779 @endif gcc-bootstrap
4780 @if bash
4781 TARGET-bash=all
4782 maybe-all-bash: all-bash
4783 all-bash: configure-bash
4784 @: $(MAKE); $(unstage)
4785 @r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 $(HOST_EXPORTS) \
4788 (cd $(HOST_SUBDIR)/bash && \
4789 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4790 $(TARGET-bash))
4791 @endif bash
4796 .PHONY: check-bash maybe-check-bash
4797 maybe-check-bash:
4798 @if bash
4799 maybe-check-bash: check-bash
4801 check-bash:
4802 @: $(MAKE); $(unstage)
4803 @r=`${PWD_COMMAND}`; export r; \
4804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 $(HOST_EXPORTS) \
4806 (cd $(HOST_SUBDIR)/bash && \
4807 $(MAKE) $(FLAGS_TO_PASS) check)
4809 @endif bash
4811 .PHONY: install-bash maybe-install-bash
4812 maybe-install-bash:
4813 @if bash
4814 maybe-install-bash: install-bash
4816 install-bash: installdirs
4817 @: $(MAKE); $(unstage)
4818 @r=`${PWD_COMMAND}`; export r; \
4819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 $(HOST_EXPORTS) \
4821 (cd $(HOST_SUBDIR)/bash && \
4822 $(MAKE) $(FLAGS_TO_PASS) install)
4824 @endif bash
4826 # Other targets (info, dvi, pdf, etc.)
4828 .PHONY: maybe-info-bash info-bash
4829 maybe-info-bash:
4830 @if bash
4831 maybe-info-bash: info-bash
4833 info-bash: \
4834 configure-bash
4835 @: $(MAKE); $(unstage)
4836 @[ -f ./bash/Makefile ] || exit 0; \
4837 r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 $(HOST_EXPORTS) \
4840 for flag in $(EXTRA_HOST_FLAGS) ; do \
4841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4842 done; \
4843 echo "Doing info in bash" ; \
4844 (cd $(HOST_SUBDIR)/bash && \
4845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4847 "RANLIB=$${RANLIB}" \
4848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4849 info) \
4850 || exit 1
4852 @endif bash
4854 .PHONY: maybe-dvi-bash dvi-bash
4855 maybe-dvi-bash:
4856 @if bash
4857 maybe-dvi-bash: dvi-bash
4859 dvi-bash: \
4860 configure-bash
4861 @: $(MAKE); $(unstage)
4862 @[ -f ./bash/Makefile ] || exit 0; \
4863 r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4865 $(HOST_EXPORTS) \
4866 for flag in $(EXTRA_HOST_FLAGS) ; do \
4867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4868 done; \
4869 echo "Doing dvi in bash" ; \
4870 (cd $(HOST_SUBDIR)/bash && \
4871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4873 "RANLIB=$${RANLIB}" \
4874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4875 dvi) \
4876 || exit 1
4878 @endif bash
4880 .PHONY: maybe-pdf-bash pdf-bash
4881 maybe-pdf-bash:
4882 @if bash
4883 maybe-pdf-bash: pdf-bash
4885 pdf-bash: \
4886 configure-bash
4887 @: $(MAKE); $(unstage)
4888 @[ -f ./bash/Makefile ] || exit 0; \
4889 r=`${PWD_COMMAND}`; export r; \
4890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4891 $(HOST_EXPORTS) \
4892 for flag in $(EXTRA_HOST_FLAGS) ; do \
4893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4894 done; \
4895 echo "Doing pdf in bash" ; \
4896 (cd $(HOST_SUBDIR)/bash && \
4897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4899 "RANLIB=$${RANLIB}" \
4900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4901 pdf) \
4902 || exit 1
4904 @endif bash
4906 .PHONY: maybe-html-bash html-bash
4907 maybe-html-bash:
4908 @if bash
4909 maybe-html-bash: html-bash
4911 html-bash: \
4912 configure-bash
4913 @: $(MAKE); $(unstage)
4914 @[ -f ./bash/Makefile ] || exit 0; \
4915 r=`${PWD_COMMAND}`; export r; \
4916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4917 $(HOST_EXPORTS) \
4918 for flag in $(EXTRA_HOST_FLAGS) ; do \
4919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4920 done; \
4921 echo "Doing html in bash" ; \
4922 (cd $(HOST_SUBDIR)/bash && \
4923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4925 "RANLIB=$${RANLIB}" \
4926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4927 html) \
4928 || exit 1
4930 @endif bash
4932 .PHONY: maybe-TAGS-bash TAGS-bash
4933 maybe-TAGS-bash:
4934 @if bash
4935 maybe-TAGS-bash: TAGS-bash
4937 TAGS-bash: \
4938 configure-bash
4939 @: $(MAKE); $(unstage)
4940 @[ -f ./bash/Makefile ] || exit 0; \
4941 r=`${PWD_COMMAND}`; export r; \
4942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4943 $(HOST_EXPORTS) \
4944 for flag in $(EXTRA_HOST_FLAGS) ; do \
4945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4946 done; \
4947 echo "Doing TAGS in bash" ; \
4948 (cd $(HOST_SUBDIR)/bash && \
4949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4951 "RANLIB=$${RANLIB}" \
4952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4953 TAGS) \
4954 || exit 1
4956 @endif bash
4958 .PHONY: maybe-install-info-bash install-info-bash
4959 maybe-install-info-bash:
4960 @if bash
4961 maybe-install-info-bash: install-info-bash
4963 install-info-bash: \
4964 configure-bash \
4965 info-bash
4966 @: $(MAKE); $(unstage)
4967 @[ -f ./bash/Makefile ] || exit 0; \
4968 r=`${PWD_COMMAND}`; export r; \
4969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4970 $(HOST_EXPORTS) \
4971 for flag in $(EXTRA_HOST_FLAGS) ; do \
4972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4973 done; \
4974 echo "Doing install-info in bash" ; \
4975 (cd $(HOST_SUBDIR)/bash && \
4976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4978 "RANLIB=$${RANLIB}" \
4979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4980 install-info) \
4981 || exit 1
4983 @endif bash
4985 .PHONY: maybe-install-pdf-bash install-pdf-bash
4986 maybe-install-pdf-bash:
4987 @if bash
4988 maybe-install-pdf-bash: install-pdf-bash
4990 install-pdf-bash: \
4991 configure-bash \
4992 pdf-bash
4993 @: $(MAKE); $(unstage)
4994 @[ -f ./bash/Makefile ] || exit 0; \
4995 r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4997 $(HOST_EXPORTS) \
4998 for flag in $(EXTRA_HOST_FLAGS) ; do \
4999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5000 done; \
5001 echo "Doing install-pdf in bash" ; \
5002 (cd $(HOST_SUBDIR)/bash && \
5003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5005 "RANLIB=$${RANLIB}" \
5006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5007 install-pdf) \
5008 || exit 1
5010 @endif bash
5012 .PHONY: maybe-install-html-bash install-html-bash
5013 maybe-install-html-bash:
5014 @if bash
5015 maybe-install-html-bash: install-html-bash
5017 install-html-bash: \
5018 configure-bash \
5019 html-bash
5020 @: $(MAKE); $(unstage)
5021 @[ -f ./bash/Makefile ] || exit 0; \
5022 r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 $(HOST_EXPORTS) \
5025 for flag in $(EXTRA_HOST_FLAGS) ; do \
5026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 done; \
5028 echo "Doing install-html in bash" ; \
5029 (cd $(HOST_SUBDIR)/bash && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5032 "RANLIB=$${RANLIB}" \
5033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5034 install-html) \
5035 || exit 1
5037 @endif bash
5039 .PHONY: maybe-installcheck-bash installcheck-bash
5040 maybe-installcheck-bash:
5041 @if bash
5042 maybe-installcheck-bash: installcheck-bash
5044 installcheck-bash: \
5045 configure-bash
5046 @: $(MAKE); $(unstage)
5047 @[ -f ./bash/Makefile ] || exit 0; \
5048 r=`${PWD_COMMAND}`; export r; \
5049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5050 $(HOST_EXPORTS) \
5051 for flag in $(EXTRA_HOST_FLAGS) ; do \
5052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5053 done; \
5054 echo "Doing installcheck in bash" ; \
5055 (cd $(HOST_SUBDIR)/bash && \
5056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5058 "RANLIB=$${RANLIB}" \
5059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5060 installcheck) \
5061 || exit 1
5063 @endif bash
5065 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
5066 maybe-mostlyclean-bash:
5067 @if bash
5068 maybe-mostlyclean-bash: mostlyclean-bash
5070 mostlyclean-bash:
5071 @: $(MAKE); $(unstage)
5072 @[ -f ./bash/Makefile ] || exit 0; \
5073 r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 $(HOST_EXPORTS) \
5076 for flag in $(EXTRA_HOST_FLAGS) ; do \
5077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5078 done; \
5079 echo "Doing mostlyclean in bash" ; \
5080 (cd $(HOST_SUBDIR)/bash && \
5081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5083 "RANLIB=$${RANLIB}" \
5084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5085 mostlyclean) \
5086 || exit 1
5088 @endif bash
5090 .PHONY: maybe-clean-bash clean-bash
5091 maybe-clean-bash:
5092 @if bash
5093 maybe-clean-bash: clean-bash
5095 clean-bash:
5096 @: $(MAKE); $(unstage)
5097 @[ -f ./bash/Makefile ] || exit 0; \
5098 r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 $(HOST_EXPORTS) \
5101 for flag in $(EXTRA_HOST_FLAGS) ; do \
5102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5103 done; \
5104 echo "Doing clean in bash" ; \
5105 (cd $(HOST_SUBDIR)/bash && \
5106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5108 "RANLIB=$${RANLIB}" \
5109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5110 clean) \
5111 || exit 1
5113 @endif bash
5115 .PHONY: maybe-distclean-bash distclean-bash
5116 maybe-distclean-bash:
5117 @if bash
5118 maybe-distclean-bash: distclean-bash
5120 distclean-bash:
5121 @: $(MAKE); $(unstage)
5122 @[ -f ./bash/Makefile ] || exit 0; \
5123 r=`${PWD_COMMAND}`; export r; \
5124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 $(HOST_EXPORTS) \
5126 for flag in $(EXTRA_HOST_FLAGS) ; do \
5127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5128 done; \
5129 echo "Doing distclean in bash" ; \
5130 (cd $(HOST_SUBDIR)/bash && \
5131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5133 "RANLIB=$${RANLIB}" \
5134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5135 distclean) \
5136 || exit 1
5138 @endif bash
5140 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
5141 maybe-maintainer-clean-bash:
5142 @if bash
5143 maybe-maintainer-clean-bash: maintainer-clean-bash
5145 maintainer-clean-bash:
5146 @: $(MAKE); $(unstage)
5147 @[ -f ./bash/Makefile ] || exit 0; \
5148 r=`${PWD_COMMAND}`; export r; \
5149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5150 $(HOST_EXPORTS) \
5151 for flag in $(EXTRA_HOST_FLAGS) ; do \
5152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5153 done; \
5154 echo "Doing maintainer-clean in bash" ; \
5155 (cd $(HOST_SUBDIR)/bash && \
5156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5158 "RANLIB=$${RANLIB}" \
5159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5160 maintainer-clean) \
5161 || exit 1
5163 @endif bash
5167 .PHONY: configure-bfd maybe-configure-bfd
5168 maybe-configure-bfd:
5169 @if gcc-bootstrap
5170 configure-bfd: stage_current
5171 @endif gcc-bootstrap
5172 @if bfd
5173 maybe-configure-bfd: configure-bfd
5174 configure-bfd:
5175 @r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5178 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5179 $(HOST_EXPORTS) \
5180 echo Configuring in $(HOST_SUBDIR)/bfd; \
5181 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
5182 case $(srcdir) in \
5183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5184 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5186 esac; \
5187 srcdiroption="--srcdir=$${topdir}/bfd"; \
5188 libsrcdir="$$s/bfd"; \
5189 $(SHELL) $${libsrcdir}/configure \
5190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5191 --target=${target_alias} $${srcdiroption} \
5192 || exit 1
5193 @endif bfd
5197 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
5198 maybe-configure-stage1-bfd:
5199 @if bfd-bootstrap
5200 maybe-configure-stage1-bfd: configure-stage1-bfd
5201 configure-stage1-bfd:
5202 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5204 @r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 TFLAGS="$(STAGE1_TFLAGS)"; \
5207 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5208 $(HOST_EXPORTS) \
5209 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5210 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5211 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5212 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
5213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5214 cd $(HOST_SUBDIR)/bfd || exit 1; \
5215 case $(srcdir) in \
5216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5217 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5219 esac; \
5220 srcdiroption="--srcdir=$${topdir}/bfd"; \
5221 libsrcdir="$$s/bfd"; \
5222 $(SHELL) $${libsrcdir}/configure \
5223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5224 --target=${target_alias} $${srcdiroption} \
5225 $(STAGE1_CONFIGURE_FLAGS)
5226 @endif bfd-bootstrap
5228 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
5229 maybe-configure-stage2-bfd:
5230 @if bfd-bootstrap
5231 maybe-configure-stage2-bfd: configure-stage2-bfd
5232 configure-stage2-bfd:
5233 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5235 @r=`${PWD_COMMAND}`; export r; \
5236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 TFLAGS="$(STAGE2_TFLAGS)"; \
5238 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5239 $(HOST_EXPORTS) \
5240 $(POSTSTAGE1_HOST_EXPORTS) \
5241 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5242 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5243 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5244 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
5245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5246 cd $(HOST_SUBDIR)/bfd || exit 1; \
5247 case $(srcdir) in \
5248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5249 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5251 esac; \
5252 srcdiroption="--srcdir=$${topdir}/bfd"; \
5253 libsrcdir="$$s/bfd"; \
5254 $(SHELL) $${libsrcdir}/configure \
5255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5256 --target=${target_alias} $${srcdiroption} \
5257 --with-build-libsubdir=$(HOST_SUBDIR) \
5258 $(STAGE2_CONFIGURE_FLAGS)
5259 @endif bfd-bootstrap
5261 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
5262 maybe-configure-stage3-bfd:
5263 @if bfd-bootstrap
5264 maybe-configure-stage3-bfd: configure-stage3-bfd
5265 configure-stage3-bfd:
5266 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5268 @r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 TFLAGS="$(STAGE3_TFLAGS)"; \
5271 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5272 $(HOST_EXPORTS) \
5273 $(POSTSTAGE1_HOST_EXPORTS) \
5274 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5275 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5276 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5277 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
5278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5279 cd $(HOST_SUBDIR)/bfd || exit 1; \
5280 case $(srcdir) in \
5281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5282 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5284 esac; \
5285 srcdiroption="--srcdir=$${topdir}/bfd"; \
5286 libsrcdir="$$s/bfd"; \
5287 $(SHELL) $${libsrcdir}/configure \
5288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5289 --target=${target_alias} $${srcdiroption} \
5290 --with-build-libsubdir=$(HOST_SUBDIR) \
5291 $(STAGE3_CONFIGURE_FLAGS)
5292 @endif bfd-bootstrap
5294 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
5295 maybe-configure-stage4-bfd:
5296 @if bfd-bootstrap
5297 maybe-configure-stage4-bfd: configure-stage4-bfd
5298 configure-stage4-bfd:
5299 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5301 @r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 TFLAGS="$(STAGE4_TFLAGS)"; \
5304 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5305 $(HOST_EXPORTS) \
5306 $(POSTSTAGE1_HOST_EXPORTS) \
5307 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5308 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5309 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5310 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5312 cd $(HOST_SUBDIR)/bfd || exit 1; \
5313 case $(srcdir) in \
5314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5315 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5317 esac; \
5318 srcdiroption="--srcdir=$${topdir}/bfd"; \
5319 libsrcdir="$$s/bfd"; \
5320 $(SHELL) $${libsrcdir}/configure \
5321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5322 --target=${target_alias} $${srcdiroption} \
5323 --with-build-libsubdir=$(HOST_SUBDIR) \
5324 $(STAGE4_CONFIGURE_FLAGS)
5325 @endif bfd-bootstrap
5327 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5328 maybe-configure-stageprofile-bfd:
5329 @if bfd-bootstrap
5330 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5331 configure-stageprofile-bfd:
5332 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5333 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5334 @r=`${PWD_COMMAND}`; export r; \
5335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5336 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5337 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5338 $(HOST_EXPORTS) \
5339 $(POSTSTAGE1_HOST_EXPORTS) \
5340 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5341 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5342 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5343 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5345 cd $(HOST_SUBDIR)/bfd || exit 1; \
5346 case $(srcdir) in \
5347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5348 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5350 esac; \
5351 srcdiroption="--srcdir=$${topdir}/bfd"; \
5352 libsrcdir="$$s/bfd"; \
5353 $(SHELL) $${libsrcdir}/configure \
5354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5355 --target=${target_alias} $${srcdiroption} \
5356 --with-build-libsubdir=$(HOST_SUBDIR) \
5357 $(STAGEprofile_CONFIGURE_FLAGS)
5358 @endif bfd-bootstrap
5360 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5361 maybe-configure-stagefeedback-bfd:
5362 @if bfd-bootstrap
5363 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5364 configure-stagefeedback-bfd:
5365 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5367 @r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5370 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5371 $(HOST_EXPORTS) \
5372 $(POSTSTAGE1_HOST_EXPORTS) \
5373 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5374 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5375 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5376 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5378 cd $(HOST_SUBDIR)/bfd || exit 1; \
5379 case $(srcdir) in \
5380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5381 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5383 esac; \
5384 srcdiroption="--srcdir=$${topdir}/bfd"; \
5385 libsrcdir="$$s/bfd"; \
5386 $(SHELL) $${libsrcdir}/configure \
5387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5388 --target=${target_alias} $${srcdiroption} \
5389 --with-build-libsubdir=$(HOST_SUBDIR) \
5390 $(STAGEfeedback_CONFIGURE_FLAGS)
5391 @endif bfd-bootstrap
5397 .PHONY: all-bfd maybe-all-bfd
5398 maybe-all-bfd:
5399 @if gcc-bootstrap
5400 all-bfd: stage_current
5401 @endif gcc-bootstrap
5402 @if bfd
5403 TARGET-bfd=all
5404 maybe-all-bfd: all-bfd
5405 all-bfd: configure-bfd
5406 @r=`${PWD_COMMAND}`; export r; \
5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5408 $(HOST_EXPORTS) \
5409 (cd $(HOST_SUBDIR)/bfd && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5411 $(TARGET-bfd))
5412 @endif bfd
5416 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5417 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5418 maybe-all-stage1-bfd:
5419 maybe-clean-stage1-bfd:
5420 @if bfd-bootstrap
5421 maybe-all-stage1-bfd: all-stage1-bfd
5422 all-stage1: all-stage1-bfd
5423 TARGET-stage1-bfd = $(TARGET-bfd)
5424 all-stage1-bfd: configure-stage1-bfd
5425 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5426 @r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 TFLAGS="$(STAGE1_TFLAGS)"; \
5429 $(HOST_EXPORTS) \
5430 cd $(HOST_SUBDIR)/bfd && \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5432 CFLAGS="$(STAGE1_CFLAGS)" \
5433 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5434 LIBCFLAGS="$(LIBCFLAGS)" \
5435 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5436 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5437 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5438 $(EXTRA_HOST_FLAGS) \
5439 TFLAGS="$(STAGE1_TFLAGS)" \
5440 $(TARGET-stage1-bfd)
5442 maybe-clean-stage1-bfd: clean-stage1-bfd
5443 clean-stage1: clean-stage1-bfd
5444 clean-stage1-bfd:
5445 @if [ $(current_stage) = stage1 ]; then \
5446 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5447 else \
5448 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5449 $(MAKE) stage1-start; \
5450 fi; \
5451 cd $(HOST_SUBDIR)/bfd && \
5452 $(MAKE) $(EXTRA_HOST_FLAGS) \
5453 clean
5454 @endif bfd-bootstrap
5457 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5458 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5459 maybe-all-stage2-bfd:
5460 maybe-clean-stage2-bfd:
5461 @if bfd-bootstrap
5462 maybe-all-stage2-bfd: all-stage2-bfd
5463 all-stage2: all-stage2-bfd
5464 TARGET-stage2-bfd = $(TARGET-bfd)
5465 all-stage2-bfd: configure-stage2-bfd
5466 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5467 @r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 TFLAGS="$(STAGE2_TFLAGS)"; \
5470 $(HOST_EXPORTS) \
5471 $(POSTSTAGE1_HOST_EXPORTS) \
5472 cd $(HOST_SUBDIR)/bfd && \
5473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5474 CFLAGS="$(STAGE2_CFLAGS)" \
5475 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5476 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5481 TFLAGS="$(STAGE2_TFLAGS)" \
5482 $(TARGET-stage2-bfd)
5484 maybe-clean-stage2-bfd: clean-stage2-bfd
5485 clean-stage2: clean-stage2-bfd
5486 clean-stage2-bfd:
5487 @if [ $(current_stage) = stage2 ]; then \
5488 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5489 else \
5490 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5491 $(MAKE) stage2-start; \
5492 fi; \
5493 cd $(HOST_SUBDIR)/bfd && \
5494 $(MAKE) $(EXTRA_HOST_FLAGS) \
5495 $(POSTSTAGE1_FLAGS_TO_PASS) \
5496 clean
5497 @endif bfd-bootstrap
5500 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5501 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5502 maybe-all-stage3-bfd:
5503 maybe-clean-stage3-bfd:
5504 @if bfd-bootstrap
5505 maybe-all-stage3-bfd: all-stage3-bfd
5506 all-stage3: all-stage3-bfd
5507 TARGET-stage3-bfd = $(TARGET-bfd)
5508 all-stage3-bfd: configure-stage3-bfd
5509 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5510 @r=`${PWD_COMMAND}`; export r; \
5511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5512 TFLAGS="$(STAGE3_TFLAGS)"; \
5513 $(HOST_EXPORTS) \
5514 $(POSTSTAGE1_HOST_EXPORTS) \
5515 cd $(HOST_SUBDIR)/bfd && \
5516 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5517 CFLAGS="$(STAGE3_CFLAGS)" \
5518 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5519 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5520 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5521 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5522 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5523 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5524 TFLAGS="$(STAGE3_TFLAGS)" \
5525 $(TARGET-stage3-bfd)
5527 maybe-clean-stage3-bfd: clean-stage3-bfd
5528 clean-stage3: clean-stage3-bfd
5529 clean-stage3-bfd:
5530 @if [ $(current_stage) = stage3 ]; then \
5531 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5532 else \
5533 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5534 $(MAKE) stage3-start; \
5535 fi; \
5536 cd $(HOST_SUBDIR)/bfd && \
5537 $(MAKE) $(EXTRA_HOST_FLAGS) \
5538 $(POSTSTAGE1_FLAGS_TO_PASS) \
5539 clean
5540 @endif bfd-bootstrap
5543 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5544 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5545 maybe-all-stage4-bfd:
5546 maybe-clean-stage4-bfd:
5547 @if bfd-bootstrap
5548 maybe-all-stage4-bfd: all-stage4-bfd
5549 all-stage4: all-stage4-bfd
5550 TARGET-stage4-bfd = $(TARGET-bfd)
5551 all-stage4-bfd: configure-stage4-bfd
5552 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5553 @r=`${PWD_COMMAND}`; export r; \
5554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5555 TFLAGS="$(STAGE4_TFLAGS)"; \
5556 $(HOST_EXPORTS) \
5557 $(POSTSTAGE1_HOST_EXPORTS) \
5558 cd $(HOST_SUBDIR)/bfd && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5560 CFLAGS="$(STAGE4_CFLAGS)" \
5561 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5562 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5563 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5564 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5565 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5566 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5567 TFLAGS="$(STAGE4_TFLAGS)" \
5568 $(TARGET-stage4-bfd)
5570 maybe-clean-stage4-bfd: clean-stage4-bfd
5571 clean-stage4: clean-stage4-bfd
5572 clean-stage4-bfd:
5573 @if [ $(current_stage) = stage4 ]; then \
5574 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5575 else \
5576 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5577 $(MAKE) stage4-start; \
5578 fi; \
5579 cd $(HOST_SUBDIR)/bfd && \
5580 $(MAKE) $(EXTRA_HOST_FLAGS) \
5581 $(POSTSTAGE1_FLAGS_TO_PASS) \
5582 clean
5583 @endif bfd-bootstrap
5586 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5587 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5588 maybe-all-stageprofile-bfd:
5589 maybe-clean-stageprofile-bfd:
5590 @if bfd-bootstrap
5591 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5592 all-stageprofile: all-stageprofile-bfd
5593 TARGET-stageprofile-bfd = $(TARGET-bfd)
5594 all-stageprofile-bfd: configure-stageprofile-bfd
5595 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5596 @r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5598 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5599 $(HOST_EXPORTS) \
5600 $(POSTSTAGE1_HOST_EXPORTS) \
5601 cd $(HOST_SUBDIR)/bfd && \
5602 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5603 CFLAGS="$(STAGEprofile_CFLAGS)" \
5604 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5605 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5606 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5607 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5608 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5609 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5610 TFLAGS="$(STAGEprofile_TFLAGS)" \
5611 $(TARGET-stageprofile-bfd)
5613 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5614 clean-stageprofile: clean-stageprofile-bfd
5615 clean-stageprofile-bfd:
5616 @if [ $(current_stage) = stageprofile ]; then \
5617 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5618 else \
5619 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5620 $(MAKE) stageprofile-start; \
5621 fi; \
5622 cd $(HOST_SUBDIR)/bfd && \
5623 $(MAKE) $(EXTRA_HOST_FLAGS) \
5624 $(POSTSTAGE1_FLAGS_TO_PASS) \
5625 clean
5626 @endif bfd-bootstrap
5629 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5630 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5631 maybe-all-stagefeedback-bfd:
5632 maybe-clean-stagefeedback-bfd:
5633 @if bfd-bootstrap
5634 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5635 all-stagefeedback: all-stagefeedback-bfd
5636 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5637 all-stagefeedback-bfd: configure-stagefeedback-bfd
5638 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5639 @r=`${PWD_COMMAND}`; export r; \
5640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5641 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5642 $(HOST_EXPORTS) \
5643 $(POSTSTAGE1_HOST_EXPORTS) \
5644 cd $(HOST_SUBDIR)/bfd && \
5645 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5646 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5647 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5648 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5649 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5650 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5651 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5652 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5653 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5654 $(TARGET-stagefeedback-bfd)
5656 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5657 clean-stagefeedback: clean-stagefeedback-bfd
5658 clean-stagefeedback-bfd:
5659 @if [ $(current_stage) = stagefeedback ]; then \
5660 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5661 else \
5662 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5663 $(MAKE) stagefeedback-start; \
5664 fi; \
5665 cd $(HOST_SUBDIR)/bfd && \
5666 $(MAKE) $(EXTRA_HOST_FLAGS) \
5667 $(POSTSTAGE1_FLAGS_TO_PASS) \
5668 clean
5669 @endif bfd-bootstrap
5675 .PHONY: check-bfd maybe-check-bfd
5676 maybe-check-bfd:
5677 @if bfd
5678 maybe-check-bfd: check-bfd
5680 check-bfd:
5681 @: $(MAKE); $(unstage)
5682 @r=`${PWD_COMMAND}`; export r; \
5683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5684 $(HOST_EXPORTS) \
5685 (cd $(HOST_SUBDIR)/bfd && \
5686 $(MAKE) $(FLAGS_TO_PASS) check)
5688 @endif bfd
5690 .PHONY: install-bfd maybe-install-bfd
5691 maybe-install-bfd:
5692 @if bfd
5693 maybe-install-bfd: install-bfd
5695 install-bfd: installdirs
5696 @: $(MAKE); $(unstage)
5697 @r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 $(HOST_EXPORTS) \
5700 (cd $(HOST_SUBDIR)/bfd && \
5701 $(MAKE) $(FLAGS_TO_PASS) install)
5703 @endif bfd
5705 # Other targets (info, dvi, pdf, etc.)
5707 .PHONY: maybe-info-bfd info-bfd
5708 maybe-info-bfd:
5709 @if bfd
5710 maybe-info-bfd: info-bfd
5712 info-bfd: \
5713 configure-bfd
5714 @[ -f ./bfd/Makefile ] || exit 0; \
5715 r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 $(HOST_EXPORTS) \
5718 for flag in $(EXTRA_HOST_FLAGS) ; do \
5719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5720 done; \
5721 echo "Doing info in bfd" ; \
5722 (cd $(HOST_SUBDIR)/bfd && \
5723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5725 "RANLIB=$${RANLIB}" \
5726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5727 info) \
5728 || exit 1
5730 @endif bfd
5732 .PHONY: maybe-dvi-bfd dvi-bfd
5733 maybe-dvi-bfd:
5734 @if bfd
5735 maybe-dvi-bfd: dvi-bfd
5737 dvi-bfd: \
5738 configure-bfd
5739 @[ -f ./bfd/Makefile ] || exit 0; \
5740 r=`${PWD_COMMAND}`; export r; \
5741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5742 $(HOST_EXPORTS) \
5743 for flag in $(EXTRA_HOST_FLAGS) ; do \
5744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5745 done; \
5746 echo "Doing dvi in bfd" ; \
5747 (cd $(HOST_SUBDIR)/bfd && \
5748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5750 "RANLIB=$${RANLIB}" \
5751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5752 dvi) \
5753 || exit 1
5755 @endif bfd
5757 .PHONY: maybe-pdf-bfd pdf-bfd
5758 maybe-pdf-bfd:
5759 @if bfd
5760 maybe-pdf-bfd: pdf-bfd
5762 pdf-bfd: \
5763 configure-bfd
5764 @[ -f ./bfd/Makefile ] || exit 0; \
5765 r=`${PWD_COMMAND}`; export r; \
5766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5767 $(HOST_EXPORTS) \
5768 for flag in $(EXTRA_HOST_FLAGS) ; do \
5769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5770 done; \
5771 echo "Doing pdf in bfd" ; \
5772 (cd $(HOST_SUBDIR)/bfd && \
5773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5775 "RANLIB=$${RANLIB}" \
5776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5777 pdf) \
5778 || exit 1
5780 @endif bfd
5782 .PHONY: maybe-html-bfd html-bfd
5783 maybe-html-bfd:
5784 @if bfd
5785 maybe-html-bfd: html-bfd
5787 html-bfd: \
5788 configure-bfd
5789 @[ -f ./bfd/Makefile ] || exit 0; \
5790 r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5792 $(HOST_EXPORTS) \
5793 for flag in $(EXTRA_HOST_FLAGS) ; do \
5794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5795 done; \
5796 echo "Doing html in bfd" ; \
5797 (cd $(HOST_SUBDIR)/bfd && \
5798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5800 "RANLIB=$${RANLIB}" \
5801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5802 html) \
5803 || exit 1
5805 @endif bfd
5807 .PHONY: maybe-TAGS-bfd TAGS-bfd
5808 maybe-TAGS-bfd:
5809 @if bfd
5810 maybe-TAGS-bfd: TAGS-bfd
5812 TAGS-bfd: \
5813 configure-bfd
5814 @[ -f ./bfd/Makefile ] || exit 0; \
5815 r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 $(HOST_EXPORTS) \
5818 for flag in $(EXTRA_HOST_FLAGS) ; do \
5819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 done; \
5821 echo "Doing TAGS in bfd" ; \
5822 (cd $(HOST_SUBDIR)/bfd && \
5823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5825 "RANLIB=$${RANLIB}" \
5826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5827 TAGS) \
5828 || exit 1
5830 @endif bfd
5832 .PHONY: maybe-install-info-bfd install-info-bfd
5833 maybe-install-info-bfd:
5834 @if bfd
5835 maybe-install-info-bfd: install-info-bfd
5837 install-info-bfd: \
5838 configure-bfd \
5839 info-bfd
5840 @[ -f ./bfd/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(HOST_EXPORTS) \
5844 for flag in $(EXTRA_HOST_FLAGS) ; do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846 done; \
5847 echo "Doing install-info in bfd" ; \
5848 (cd $(HOST_SUBDIR)/bfd && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5853 install-info) \
5854 || exit 1
5856 @endif bfd
5858 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5859 maybe-install-pdf-bfd:
5860 @if bfd
5861 maybe-install-pdf-bfd: install-pdf-bfd
5863 install-pdf-bfd: \
5864 configure-bfd \
5865 pdf-bfd
5866 @[ -f ./bfd/Makefile ] || exit 0; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing install-pdf in bfd" ; \
5874 (cd $(HOST_SUBDIR)/bfd && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5879 install-pdf) \
5880 || exit 1
5882 @endif bfd
5884 .PHONY: maybe-install-html-bfd install-html-bfd
5885 maybe-install-html-bfd:
5886 @if bfd
5887 maybe-install-html-bfd: install-html-bfd
5889 install-html-bfd: \
5890 configure-bfd \
5891 html-bfd
5892 @[ -f ./bfd/Makefile ] || exit 0; \
5893 r=`${PWD_COMMAND}`; export r; \
5894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5895 $(HOST_EXPORTS) \
5896 for flag in $(EXTRA_HOST_FLAGS) ; do \
5897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5898 done; \
5899 echo "Doing install-html in bfd" ; \
5900 (cd $(HOST_SUBDIR)/bfd && \
5901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5903 "RANLIB=$${RANLIB}" \
5904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5905 install-html) \
5906 || exit 1
5908 @endif bfd
5910 .PHONY: maybe-installcheck-bfd installcheck-bfd
5911 maybe-installcheck-bfd:
5912 @if bfd
5913 maybe-installcheck-bfd: installcheck-bfd
5915 installcheck-bfd: \
5916 configure-bfd
5917 @[ -f ./bfd/Makefile ] || exit 0; \
5918 r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 $(HOST_EXPORTS) \
5921 for flag in $(EXTRA_HOST_FLAGS) ; do \
5922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5923 done; \
5924 echo "Doing installcheck in bfd" ; \
5925 (cd $(HOST_SUBDIR)/bfd && \
5926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5928 "RANLIB=$${RANLIB}" \
5929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5930 installcheck) \
5931 || exit 1
5933 @endif bfd
5935 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5936 maybe-mostlyclean-bfd:
5937 @if bfd
5938 maybe-mostlyclean-bfd: mostlyclean-bfd
5940 mostlyclean-bfd:
5941 @[ -f ./bfd/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(HOST_EXPORTS) \
5945 for flag in $(EXTRA_HOST_FLAGS) ; do \
5946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5947 done; \
5948 echo "Doing mostlyclean in bfd" ; \
5949 (cd $(HOST_SUBDIR)/bfd && \
5950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5952 "RANLIB=$${RANLIB}" \
5953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5954 mostlyclean) \
5955 || exit 1
5957 @endif bfd
5959 .PHONY: maybe-clean-bfd clean-bfd
5960 maybe-clean-bfd:
5961 @if bfd
5962 maybe-clean-bfd: clean-bfd
5964 clean-bfd:
5965 @[ -f ./bfd/Makefile ] || exit 0; \
5966 r=`${PWD_COMMAND}`; export r; \
5967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5968 $(HOST_EXPORTS) \
5969 for flag in $(EXTRA_HOST_FLAGS) ; do \
5970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5971 done; \
5972 echo "Doing clean in bfd" ; \
5973 (cd $(HOST_SUBDIR)/bfd && \
5974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5976 "RANLIB=$${RANLIB}" \
5977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5978 clean) \
5979 || exit 1
5981 @endif bfd
5983 .PHONY: maybe-distclean-bfd distclean-bfd
5984 maybe-distclean-bfd:
5985 @if bfd
5986 maybe-distclean-bfd: distclean-bfd
5988 distclean-bfd:
5989 @[ -f ./bfd/Makefile ] || exit 0; \
5990 r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992 $(HOST_EXPORTS) \
5993 for flag in $(EXTRA_HOST_FLAGS) ; do \
5994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5995 done; \
5996 echo "Doing distclean in bfd" ; \
5997 (cd $(HOST_SUBDIR)/bfd && \
5998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6000 "RANLIB=$${RANLIB}" \
6001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6002 distclean) \
6003 || exit 1
6005 @endif bfd
6007 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
6008 maybe-maintainer-clean-bfd:
6009 @if bfd
6010 maybe-maintainer-clean-bfd: maintainer-clean-bfd
6012 maintainer-clean-bfd:
6013 @[ -f ./bfd/Makefile ] || exit 0; \
6014 r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 $(HOST_EXPORTS) \
6017 for flag in $(EXTRA_HOST_FLAGS) ; do \
6018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6019 done; \
6020 echo "Doing maintainer-clean in bfd" ; \
6021 (cd $(HOST_SUBDIR)/bfd && \
6022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6024 "RANLIB=$${RANLIB}" \
6025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6026 maintainer-clean) \
6027 || exit 1
6029 @endif bfd
6033 .PHONY: configure-opcodes maybe-configure-opcodes
6034 maybe-configure-opcodes:
6035 @if gcc-bootstrap
6036 configure-opcodes: stage_current
6037 @endif gcc-bootstrap
6038 @if opcodes
6039 maybe-configure-opcodes: configure-opcodes
6040 configure-opcodes:
6041 @r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6045 $(HOST_EXPORTS) \
6046 echo Configuring in $(HOST_SUBDIR)/opcodes; \
6047 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
6048 case $(srcdir) in \
6049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6050 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6052 esac; \
6053 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6054 libsrcdir="$$s/opcodes"; \
6055 $(SHELL) $${libsrcdir}/configure \
6056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6057 --target=${target_alias} $${srcdiroption} \
6058 || exit 1
6059 @endif opcodes
6063 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
6064 maybe-configure-stage1-opcodes:
6065 @if opcodes-bootstrap
6066 maybe-configure-stage1-opcodes: configure-stage1-opcodes
6067 configure-stage1-opcodes:
6068 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6070 @r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 TFLAGS="$(STAGE1_TFLAGS)"; \
6073 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6074 $(HOST_EXPORTS) \
6075 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6076 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
6077 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
6078 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
6079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6080 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6081 case $(srcdir) in \
6082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6083 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6085 esac; \
6086 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6087 libsrcdir="$$s/opcodes"; \
6088 $(SHELL) $${libsrcdir}/configure \
6089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6090 --target=${target_alias} $${srcdiroption} \
6091 $(STAGE1_CONFIGURE_FLAGS)
6092 @endif opcodes-bootstrap
6094 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
6095 maybe-configure-stage2-opcodes:
6096 @if opcodes-bootstrap
6097 maybe-configure-stage2-opcodes: configure-stage2-opcodes
6098 configure-stage2-opcodes:
6099 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6101 @r=`${PWD_COMMAND}`; export r; \
6102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6103 TFLAGS="$(STAGE2_TFLAGS)"; \
6104 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6105 $(HOST_EXPORTS) \
6106 $(POSTSTAGE1_HOST_EXPORTS) \
6107 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6108 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
6109 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
6110 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
6111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6112 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6113 case $(srcdir) in \
6114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6115 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6117 esac; \
6118 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6119 libsrcdir="$$s/opcodes"; \
6120 $(SHELL) $${libsrcdir}/configure \
6121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6122 --target=${target_alias} $${srcdiroption} \
6123 --with-build-libsubdir=$(HOST_SUBDIR) \
6124 $(STAGE2_CONFIGURE_FLAGS)
6125 @endif opcodes-bootstrap
6127 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
6128 maybe-configure-stage3-opcodes:
6129 @if opcodes-bootstrap
6130 maybe-configure-stage3-opcodes: configure-stage3-opcodes
6131 configure-stage3-opcodes:
6132 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6134 @r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 TFLAGS="$(STAGE3_TFLAGS)"; \
6137 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6138 $(HOST_EXPORTS) \
6139 $(POSTSTAGE1_HOST_EXPORTS) \
6140 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6141 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
6142 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
6143 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
6144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6145 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6146 case $(srcdir) in \
6147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6148 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6150 esac; \
6151 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6152 libsrcdir="$$s/opcodes"; \
6153 $(SHELL) $${libsrcdir}/configure \
6154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6155 --target=${target_alias} $${srcdiroption} \
6156 --with-build-libsubdir=$(HOST_SUBDIR) \
6157 $(STAGE3_CONFIGURE_FLAGS)
6158 @endif opcodes-bootstrap
6160 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
6161 maybe-configure-stage4-opcodes:
6162 @if opcodes-bootstrap
6163 maybe-configure-stage4-opcodes: configure-stage4-opcodes
6164 configure-stage4-opcodes:
6165 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6167 @r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 TFLAGS="$(STAGE4_TFLAGS)"; \
6170 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6171 $(HOST_EXPORTS) \
6172 $(POSTSTAGE1_HOST_EXPORTS) \
6173 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6174 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
6175 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
6176 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
6177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6178 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6179 case $(srcdir) in \
6180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6181 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6183 esac; \
6184 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6185 libsrcdir="$$s/opcodes"; \
6186 $(SHELL) $${libsrcdir}/configure \
6187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6188 --target=${target_alias} $${srcdiroption} \
6189 --with-build-libsubdir=$(HOST_SUBDIR) \
6190 $(STAGE4_CONFIGURE_FLAGS)
6191 @endif opcodes-bootstrap
6193 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
6194 maybe-configure-stageprofile-opcodes:
6195 @if opcodes-bootstrap
6196 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
6197 configure-stageprofile-opcodes:
6198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6200 @r=`${PWD_COMMAND}`; export r; \
6201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6203 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6204 $(HOST_EXPORTS) \
6205 $(POSTSTAGE1_HOST_EXPORTS) \
6206 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
6207 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
6208 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
6209 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6211 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6212 case $(srcdir) in \
6213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6214 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6216 esac; \
6217 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6218 libsrcdir="$$s/opcodes"; \
6219 $(SHELL) $${libsrcdir}/configure \
6220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6221 --target=${target_alias} $${srcdiroption} \
6222 --with-build-libsubdir=$(HOST_SUBDIR) \
6223 $(STAGEprofile_CONFIGURE_FLAGS)
6224 @endif opcodes-bootstrap
6226 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6227 maybe-configure-stagefeedback-opcodes:
6228 @if opcodes-bootstrap
6229 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6230 configure-stagefeedback-opcodes:
6231 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6233 @r=`${PWD_COMMAND}`; export r; \
6234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6235 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6236 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6237 $(HOST_EXPORTS) \
6238 $(POSTSTAGE1_HOST_EXPORTS) \
6239 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6240 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
6241 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6242 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6244 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6245 case $(srcdir) in \
6246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6247 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6249 esac; \
6250 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6251 libsrcdir="$$s/opcodes"; \
6252 $(SHELL) $${libsrcdir}/configure \
6253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6254 --target=${target_alias} $${srcdiroption} \
6255 --with-build-libsubdir=$(HOST_SUBDIR) \
6256 $(STAGEfeedback_CONFIGURE_FLAGS)
6257 @endif opcodes-bootstrap
6263 .PHONY: all-opcodes maybe-all-opcodes
6264 maybe-all-opcodes:
6265 @if gcc-bootstrap
6266 all-opcodes: stage_current
6267 @endif gcc-bootstrap
6268 @if opcodes
6269 TARGET-opcodes=all
6270 maybe-all-opcodes: all-opcodes
6271 all-opcodes: configure-opcodes
6272 @r=`${PWD_COMMAND}`; export r; \
6273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6274 $(HOST_EXPORTS) \
6275 (cd $(HOST_SUBDIR)/opcodes && \
6276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6277 $(TARGET-opcodes))
6278 @endif opcodes
6282 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6283 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6284 maybe-all-stage1-opcodes:
6285 maybe-clean-stage1-opcodes:
6286 @if opcodes-bootstrap
6287 maybe-all-stage1-opcodes: all-stage1-opcodes
6288 all-stage1: all-stage1-opcodes
6289 TARGET-stage1-opcodes = $(TARGET-opcodes)
6290 all-stage1-opcodes: configure-stage1-opcodes
6291 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6292 @r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 TFLAGS="$(STAGE1_TFLAGS)"; \
6295 $(HOST_EXPORTS) \
6296 cd $(HOST_SUBDIR)/opcodes && \
6297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6298 CFLAGS="$(STAGE1_CFLAGS)" \
6299 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
6300 LIBCFLAGS="$(LIBCFLAGS)" \
6301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6304 $(EXTRA_HOST_FLAGS) \
6305 TFLAGS="$(STAGE1_TFLAGS)" \
6306 $(TARGET-stage1-opcodes)
6308 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6309 clean-stage1: clean-stage1-opcodes
6310 clean-stage1-opcodes:
6311 @if [ $(current_stage) = stage1 ]; then \
6312 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6313 else \
6314 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6315 $(MAKE) stage1-start; \
6316 fi; \
6317 cd $(HOST_SUBDIR)/opcodes && \
6318 $(MAKE) $(EXTRA_HOST_FLAGS) \
6319 clean
6320 @endif opcodes-bootstrap
6323 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6324 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6325 maybe-all-stage2-opcodes:
6326 maybe-clean-stage2-opcodes:
6327 @if opcodes-bootstrap
6328 maybe-all-stage2-opcodes: all-stage2-opcodes
6329 all-stage2: all-stage2-opcodes
6330 TARGET-stage2-opcodes = $(TARGET-opcodes)
6331 all-stage2-opcodes: configure-stage2-opcodes
6332 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6333 @r=`${PWD_COMMAND}`; export r; \
6334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6335 TFLAGS="$(STAGE2_TFLAGS)"; \
6336 $(HOST_EXPORTS) \
6337 $(POSTSTAGE1_HOST_EXPORTS) \
6338 cd $(HOST_SUBDIR)/opcodes && \
6339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6340 CFLAGS="$(STAGE2_CFLAGS)" \
6341 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
6342 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6346 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6347 TFLAGS="$(STAGE2_TFLAGS)" \
6348 $(TARGET-stage2-opcodes)
6350 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6351 clean-stage2: clean-stage2-opcodes
6352 clean-stage2-opcodes:
6353 @if [ $(current_stage) = stage2 ]; then \
6354 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6355 else \
6356 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6357 $(MAKE) stage2-start; \
6358 fi; \
6359 cd $(HOST_SUBDIR)/opcodes && \
6360 $(MAKE) $(EXTRA_HOST_FLAGS) \
6361 $(POSTSTAGE1_FLAGS_TO_PASS) \
6362 clean
6363 @endif opcodes-bootstrap
6366 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6367 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6368 maybe-all-stage3-opcodes:
6369 maybe-clean-stage3-opcodes:
6370 @if opcodes-bootstrap
6371 maybe-all-stage3-opcodes: all-stage3-opcodes
6372 all-stage3: all-stage3-opcodes
6373 TARGET-stage3-opcodes = $(TARGET-opcodes)
6374 all-stage3-opcodes: configure-stage3-opcodes
6375 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6376 @r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 TFLAGS="$(STAGE3_TFLAGS)"; \
6379 $(HOST_EXPORTS) \
6380 $(POSTSTAGE1_HOST_EXPORTS) \
6381 cd $(HOST_SUBDIR)/opcodes && \
6382 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6383 CFLAGS="$(STAGE3_CFLAGS)" \
6384 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
6385 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6386 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6387 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6388 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6389 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6390 TFLAGS="$(STAGE3_TFLAGS)" \
6391 $(TARGET-stage3-opcodes)
6393 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6394 clean-stage3: clean-stage3-opcodes
6395 clean-stage3-opcodes:
6396 @if [ $(current_stage) = stage3 ]; then \
6397 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6398 else \
6399 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6400 $(MAKE) stage3-start; \
6401 fi; \
6402 cd $(HOST_SUBDIR)/opcodes && \
6403 $(MAKE) $(EXTRA_HOST_FLAGS) \
6404 $(POSTSTAGE1_FLAGS_TO_PASS) \
6405 clean
6406 @endif opcodes-bootstrap
6409 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6410 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6411 maybe-all-stage4-opcodes:
6412 maybe-clean-stage4-opcodes:
6413 @if opcodes-bootstrap
6414 maybe-all-stage4-opcodes: all-stage4-opcodes
6415 all-stage4: all-stage4-opcodes
6416 TARGET-stage4-opcodes = $(TARGET-opcodes)
6417 all-stage4-opcodes: configure-stage4-opcodes
6418 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6419 @r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6421 TFLAGS="$(STAGE4_TFLAGS)"; \
6422 $(HOST_EXPORTS) \
6423 $(POSTSTAGE1_HOST_EXPORTS) \
6424 cd $(HOST_SUBDIR)/opcodes && \
6425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6426 CFLAGS="$(STAGE4_CFLAGS)" \
6427 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6428 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6433 TFLAGS="$(STAGE4_TFLAGS)" \
6434 $(TARGET-stage4-opcodes)
6436 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6437 clean-stage4: clean-stage4-opcodes
6438 clean-stage4-opcodes:
6439 @if [ $(current_stage) = stage4 ]; then \
6440 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6441 else \
6442 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6443 $(MAKE) stage4-start; \
6444 fi; \
6445 cd $(HOST_SUBDIR)/opcodes && \
6446 $(MAKE) $(EXTRA_HOST_FLAGS) \
6447 $(POSTSTAGE1_FLAGS_TO_PASS) \
6448 clean
6449 @endif opcodes-bootstrap
6452 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6453 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6454 maybe-all-stageprofile-opcodes:
6455 maybe-clean-stageprofile-opcodes:
6456 @if opcodes-bootstrap
6457 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6458 all-stageprofile: all-stageprofile-opcodes
6459 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6460 all-stageprofile-opcodes: configure-stageprofile-opcodes
6461 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6462 @r=`${PWD_COMMAND}`; export r; \
6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6465 $(HOST_EXPORTS) \
6466 $(POSTSTAGE1_HOST_EXPORTS) \
6467 cd $(HOST_SUBDIR)/opcodes && \
6468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6469 CFLAGS="$(STAGEprofile_CFLAGS)" \
6470 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6471 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6476 TFLAGS="$(STAGEprofile_TFLAGS)" \
6477 $(TARGET-stageprofile-opcodes)
6479 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6480 clean-stageprofile: clean-stageprofile-opcodes
6481 clean-stageprofile-opcodes:
6482 @if [ $(current_stage) = stageprofile ]; then \
6483 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6484 else \
6485 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6486 $(MAKE) stageprofile-start; \
6487 fi; \
6488 cd $(HOST_SUBDIR)/opcodes && \
6489 $(MAKE) $(EXTRA_HOST_FLAGS) \
6490 $(POSTSTAGE1_FLAGS_TO_PASS) \
6491 clean
6492 @endif opcodes-bootstrap
6495 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6496 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6497 maybe-all-stagefeedback-opcodes:
6498 maybe-clean-stagefeedback-opcodes:
6499 @if opcodes-bootstrap
6500 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6501 all-stagefeedback: all-stagefeedback-opcodes
6502 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6503 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6504 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6505 @r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6508 $(HOST_EXPORTS) \
6509 $(POSTSTAGE1_HOST_EXPORTS) \
6510 cd $(HOST_SUBDIR)/opcodes && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6512 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6513 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6514 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6519 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6520 $(TARGET-stagefeedback-opcodes)
6522 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6523 clean-stagefeedback: clean-stagefeedback-opcodes
6524 clean-stagefeedback-opcodes:
6525 @if [ $(current_stage) = stagefeedback ]; then \
6526 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6527 else \
6528 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6529 $(MAKE) stagefeedback-start; \
6530 fi; \
6531 cd $(HOST_SUBDIR)/opcodes && \
6532 $(MAKE) $(EXTRA_HOST_FLAGS) \
6533 $(POSTSTAGE1_FLAGS_TO_PASS) \
6534 clean
6535 @endif opcodes-bootstrap
6541 .PHONY: check-opcodes maybe-check-opcodes
6542 maybe-check-opcodes:
6543 @if opcodes
6544 maybe-check-opcodes: check-opcodes
6546 check-opcodes:
6547 @: $(MAKE); $(unstage)
6548 @r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(HOST_EXPORTS) \
6551 (cd $(HOST_SUBDIR)/opcodes && \
6552 $(MAKE) $(FLAGS_TO_PASS) check)
6554 @endif opcodes
6556 .PHONY: install-opcodes maybe-install-opcodes
6557 maybe-install-opcodes:
6558 @if opcodes
6559 maybe-install-opcodes: install-opcodes
6561 install-opcodes: installdirs
6562 @: $(MAKE); $(unstage)
6563 @r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 $(HOST_EXPORTS) \
6566 (cd $(HOST_SUBDIR)/opcodes && \
6567 $(MAKE) $(FLAGS_TO_PASS) install)
6569 @endif opcodes
6571 # Other targets (info, dvi, pdf, etc.)
6573 .PHONY: maybe-info-opcodes info-opcodes
6574 maybe-info-opcodes:
6575 @if opcodes
6576 maybe-info-opcodes: info-opcodes
6578 info-opcodes: \
6579 configure-opcodes
6580 @[ -f ./opcodes/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing info in opcodes" ; \
6588 (cd $(HOST_SUBDIR)/opcodes && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6593 info) \
6594 || exit 1
6596 @endif opcodes
6598 .PHONY: maybe-dvi-opcodes dvi-opcodes
6599 maybe-dvi-opcodes:
6600 @if opcodes
6601 maybe-dvi-opcodes: dvi-opcodes
6603 dvi-opcodes: \
6604 configure-opcodes
6605 @[ -f ./opcodes/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing dvi in opcodes" ; \
6613 (cd $(HOST_SUBDIR)/opcodes && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6618 dvi) \
6619 || exit 1
6621 @endif opcodes
6623 .PHONY: maybe-pdf-opcodes pdf-opcodes
6624 maybe-pdf-opcodes:
6625 @if opcodes
6626 maybe-pdf-opcodes: pdf-opcodes
6628 pdf-opcodes: \
6629 configure-opcodes
6630 @[ -f ./opcodes/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing pdf in opcodes" ; \
6638 (cd $(HOST_SUBDIR)/opcodes && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 pdf) \
6644 || exit 1
6646 @endif opcodes
6648 .PHONY: maybe-html-opcodes html-opcodes
6649 maybe-html-opcodes:
6650 @if opcodes
6651 maybe-html-opcodes: html-opcodes
6653 html-opcodes: \
6654 configure-opcodes
6655 @[ -f ./opcodes/Makefile ] || exit 0; \
6656 r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(HOST_EXPORTS) \
6659 for flag in $(EXTRA_HOST_FLAGS) ; do \
6660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6661 done; \
6662 echo "Doing html in opcodes" ; \
6663 (cd $(HOST_SUBDIR)/opcodes && \
6664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6666 "RANLIB=$${RANLIB}" \
6667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6668 html) \
6669 || exit 1
6671 @endif opcodes
6673 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6674 maybe-TAGS-opcodes:
6675 @if opcodes
6676 maybe-TAGS-opcodes: TAGS-opcodes
6678 TAGS-opcodes: \
6679 configure-opcodes
6680 @[ -f ./opcodes/Makefile ] || exit 0; \
6681 r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 $(HOST_EXPORTS) \
6684 for flag in $(EXTRA_HOST_FLAGS) ; do \
6685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6686 done; \
6687 echo "Doing TAGS in opcodes" ; \
6688 (cd $(HOST_SUBDIR)/opcodes && \
6689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6691 "RANLIB=$${RANLIB}" \
6692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6693 TAGS) \
6694 || exit 1
6696 @endif opcodes
6698 .PHONY: maybe-install-info-opcodes install-info-opcodes
6699 maybe-install-info-opcodes:
6700 @if opcodes
6701 maybe-install-info-opcodes: install-info-opcodes
6703 install-info-opcodes: \
6704 configure-opcodes \
6705 info-opcodes
6706 @[ -f ./opcodes/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6709 $(HOST_EXPORTS) \
6710 for flag in $(EXTRA_HOST_FLAGS) ; do \
6711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6712 done; \
6713 echo "Doing install-info in opcodes" ; \
6714 (cd $(HOST_SUBDIR)/opcodes && \
6715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6717 "RANLIB=$${RANLIB}" \
6718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6719 install-info) \
6720 || exit 1
6722 @endif opcodes
6724 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6725 maybe-install-pdf-opcodes:
6726 @if opcodes
6727 maybe-install-pdf-opcodes: install-pdf-opcodes
6729 install-pdf-opcodes: \
6730 configure-opcodes \
6731 pdf-opcodes
6732 @[ -f ./opcodes/Makefile ] || exit 0; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 for flag in $(EXTRA_HOST_FLAGS) ; do \
6737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6738 done; \
6739 echo "Doing install-pdf in opcodes" ; \
6740 (cd $(HOST_SUBDIR)/opcodes && \
6741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6743 "RANLIB=$${RANLIB}" \
6744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6745 install-pdf) \
6746 || exit 1
6748 @endif opcodes
6750 .PHONY: maybe-install-html-opcodes install-html-opcodes
6751 maybe-install-html-opcodes:
6752 @if opcodes
6753 maybe-install-html-opcodes: install-html-opcodes
6755 install-html-opcodes: \
6756 configure-opcodes \
6757 html-opcodes
6758 @[ -f ./opcodes/Makefile ] || exit 0; \
6759 r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761 $(HOST_EXPORTS) \
6762 for flag in $(EXTRA_HOST_FLAGS) ; do \
6763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6764 done; \
6765 echo "Doing install-html in opcodes" ; \
6766 (cd $(HOST_SUBDIR)/opcodes && \
6767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6769 "RANLIB=$${RANLIB}" \
6770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6771 install-html) \
6772 || exit 1
6774 @endif opcodes
6776 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6777 maybe-installcheck-opcodes:
6778 @if opcodes
6779 maybe-installcheck-opcodes: installcheck-opcodes
6781 installcheck-opcodes: \
6782 configure-opcodes
6783 @[ -f ./opcodes/Makefile ] || exit 0; \
6784 r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS) ; do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing installcheck in opcodes" ; \
6791 (cd $(HOST_SUBDIR)/opcodes && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6796 installcheck) \
6797 || exit 1
6799 @endif opcodes
6801 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6802 maybe-mostlyclean-opcodes:
6803 @if opcodes
6804 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6806 mostlyclean-opcodes:
6807 @[ -f ./opcodes/Makefile ] || exit 0; \
6808 r=`${PWD_COMMAND}`; export r; \
6809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6810 $(HOST_EXPORTS) \
6811 for flag in $(EXTRA_HOST_FLAGS) ; do \
6812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6813 done; \
6814 echo "Doing mostlyclean in opcodes" ; \
6815 (cd $(HOST_SUBDIR)/opcodes && \
6816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6818 "RANLIB=$${RANLIB}" \
6819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6820 mostlyclean) \
6821 || exit 1
6823 @endif opcodes
6825 .PHONY: maybe-clean-opcodes clean-opcodes
6826 maybe-clean-opcodes:
6827 @if opcodes
6828 maybe-clean-opcodes: clean-opcodes
6830 clean-opcodes:
6831 @[ -f ./opcodes/Makefile ] || exit 0; \
6832 r=`${PWD_COMMAND}`; export r; \
6833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6834 $(HOST_EXPORTS) \
6835 for flag in $(EXTRA_HOST_FLAGS) ; do \
6836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6837 done; \
6838 echo "Doing clean in opcodes" ; \
6839 (cd $(HOST_SUBDIR)/opcodes && \
6840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6842 "RANLIB=$${RANLIB}" \
6843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6844 clean) \
6845 || exit 1
6847 @endif opcodes
6849 .PHONY: maybe-distclean-opcodes distclean-opcodes
6850 maybe-distclean-opcodes:
6851 @if opcodes
6852 maybe-distclean-opcodes: distclean-opcodes
6854 distclean-opcodes:
6855 @[ -f ./opcodes/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing distclean in opcodes" ; \
6863 (cd $(HOST_SUBDIR)/opcodes && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6868 distclean) \
6869 || exit 1
6871 @endif opcodes
6873 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6874 maybe-maintainer-clean-opcodes:
6875 @if opcodes
6876 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6878 maintainer-clean-opcodes:
6879 @[ -f ./opcodes/Makefile ] || exit 0; \
6880 r=`${PWD_COMMAND}`; export r; \
6881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6882 $(HOST_EXPORTS) \
6883 for flag in $(EXTRA_HOST_FLAGS) ; do \
6884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6885 done; \
6886 echo "Doing maintainer-clean in opcodes" ; \
6887 (cd $(HOST_SUBDIR)/opcodes && \
6888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6890 "RANLIB=$${RANLIB}" \
6891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6892 maintainer-clean) \
6893 || exit 1
6895 @endif opcodes
6899 .PHONY: configure-binutils maybe-configure-binutils
6900 maybe-configure-binutils:
6901 @if gcc-bootstrap
6902 configure-binutils: stage_current
6903 @endif gcc-bootstrap
6904 @if binutils
6905 maybe-configure-binutils: configure-binutils
6906 configure-binutils:
6907 @r=`${PWD_COMMAND}`; export r; \
6908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6909 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6911 $(HOST_EXPORTS) \
6912 echo Configuring in $(HOST_SUBDIR)/binutils; \
6913 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6914 case $(srcdir) in \
6915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6916 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6918 esac; \
6919 srcdiroption="--srcdir=$${topdir}/binutils"; \
6920 libsrcdir="$$s/binutils"; \
6921 $(SHELL) $${libsrcdir}/configure \
6922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6923 --target=${target_alias} $${srcdiroption} \
6924 || exit 1
6925 @endif binutils
6929 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6930 maybe-configure-stage1-binutils:
6931 @if binutils-bootstrap
6932 maybe-configure-stage1-binutils: configure-stage1-binutils
6933 configure-stage1-binutils:
6934 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6936 @r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6938 TFLAGS="$(STAGE1_TFLAGS)"; \
6939 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6940 $(HOST_EXPORTS) \
6941 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6942 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
6943 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
6944 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6946 cd $(HOST_SUBDIR)/binutils || exit 1; \
6947 case $(srcdir) in \
6948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6949 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6951 esac; \
6952 srcdiroption="--srcdir=$${topdir}/binutils"; \
6953 libsrcdir="$$s/binutils"; \
6954 $(SHELL) $${libsrcdir}/configure \
6955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6956 --target=${target_alias} $${srcdiroption} \
6957 $(STAGE1_CONFIGURE_FLAGS)
6958 @endif binutils-bootstrap
6960 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6961 maybe-configure-stage2-binutils:
6962 @if binutils-bootstrap
6963 maybe-configure-stage2-binutils: configure-stage2-binutils
6964 configure-stage2-binutils:
6965 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6967 @r=`${PWD_COMMAND}`; export r; \
6968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6969 TFLAGS="$(STAGE2_TFLAGS)"; \
6970 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6971 $(HOST_EXPORTS) \
6972 $(POSTSTAGE1_HOST_EXPORTS) \
6973 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6974 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
6975 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
6976 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6978 cd $(HOST_SUBDIR)/binutils || exit 1; \
6979 case $(srcdir) in \
6980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6981 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6983 esac; \
6984 srcdiroption="--srcdir=$${topdir}/binutils"; \
6985 libsrcdir="$$s/binutils"; \
6986 $(SHELL) $${libsrcdir}/configure \
6987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6988 --target=${target_alias} $${srcdiroption} \
6989 --with-build-libsubdir=$(HOST_SUBDIR) \
6990 $(STAGE2_CONFIGURE_FLAGS)
6991 @endif binutils-bootstrap
6993 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6994 maybe-configure-stage3-binutils:
6995 @if binutils-bootstrap
6996 maybe-configure-stage3-binutils: configure-stage3-binutils
6997 configure-stage3-binutils:
6998 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7000 @r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 TFLAGS="$(STAGE3_TFLAGS)"; \
7003 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7004 $(HOST_EXPORTS) \
7005 $(POSTSTAGE1_HOST_EXPORTS) \
7006 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7007 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7008 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7009 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
7010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7011 cd $(HOST_SUBDIR)/binutils || exit 1; \
7012 case $(srcdir) in \
7013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7014 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7016 esac; \
7017 srcdiroption="--srcdir=$${topdir}/binutils"; \
7018 libsrcdir="$$s/binutils"; \
7019 $(SHELL) $${libsrcdir}/configure \
7020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7021 --target=${target_alias} $${srcdiroption} \
7022 --with-build-libsubdir=$(HOST_SUBDIR) \
7023 $(STAGE3_CONFIGURE_FLAGS)
7024 @endif binutils-bootstrap
7026 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
7027 maybe-configure-stage4-binutils:
7028 @if binutils-bootstrap
7029 maybe-configure-stage4-binutils: configure-stage4-binutils
7030 configure-stage4-binutils:
7031 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7033 @r=`${PWD_COMMAND}`; export r; \
7034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7035 TFLAGS="$(STAGE4_TFLAGS)"; \
7036 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7037 $(HOST_EXPORTS) \
7038 $(POSTSTAGE1_HOST_EXPORTS) \
7039 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7040 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7041 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7042 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
7043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7044 cd $(HOST_SUBDIR)/binutils || exit 1; \
7045 case $(srcdir) in \
7046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7047 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7049 esac; \
7050 srcdiroption="--srcdir=$${topdir}/binutils"; \
7051 libsrcdir="$$s/binutils"; \
7052 $(SHELL) $${libsrcdir}/configure \
7053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7054 --target=${target_alias} $${srcdiroption} \
7055 --with-build-libsubdir=$(HOST_SUBDIR) \
7056 $(STAGE4_CONFIGURE_FLAGS)
7057 @endif binutils-bootstrap
7059 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
7060 maybe-configure-stageprofile-binutils:
7061 @if binutils-bootstrap
7062 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
7063 configure-stageprofile-binutils:
7064 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7066 @r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7069 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7070 $(HOST_EXPORTS) \
7071 $(POSTSTAGE1_HOST_EXPORTS) \
7072 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
7073 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
7074 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
7075 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
7076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7077 cd $(HOST_SUBDIR)/binutils || exit 1; \
7078 case $(srcdir) in \
7079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7080 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7082 esac; \
7083 srcdiroption="--srcdir=$${topdir}/binutils"; \
7084 libsrcdir="$$s/binutils"; \
7085 $(SHELL) $${libsrcdir}/configure \
7086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7087 --target=${target_alias} $${srcdiroption} \
7088 --with-build-libsubdir=$(HOST_SUBDIR) \
7089 $(STAGEprofile_CONFIGURE_FLAGS)
7090 @endif binutils-bootstrap
7092 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
7093 maybe-configure-stagefeedback-binutils:
7094 @if binutils-bootstrap
7095 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
7096 configure-stagefeedback-binutils:
7097 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7098 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
7099 @r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
7102 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
7103 $(HOST_EXPORTS) \
7104 $(POSTSTAGE1_HOST_EXPORTS) \
7105 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
7106 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
7107 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
7108 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
7109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7110 cd $(HOST_SUBDIR)/binutils || exit 1; \
7111 case $(srcdir) in \
7112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7113 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7115 esac; \
7116 srcdiroption="--srcdir=$${topdir}/binutils"; \
7117 libsrcdir="$$s/binutils"; \
7118 $(SHELL) $${libsrcdir}/configure \
7119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7120 --target=${target_alias} $${srcdiroption} \
7121 --with-build-libsubdir=$(HOST_SUBDIR) \
7122 $(STAGEfeedback_CONFIGURE_FLAGS)
7123 @endif binutils-bootstrap
7129 .PHONY: all-binutils maybe-all-binutils
7130 maybe-all-binutils:
7131 @if gcc-bootstrap
7132 all-binutils: stage_current
7133 @endif gcc-bootstrap
7134 @if binutils
7135 TARGET-binutils=all
7136 maybe-all-binutils: all-binutils
7137 all-binutils: configure-binutils
7138 @r=`${PWD_COMMAND}`; export r; \
7139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7140 $(HOST_EXPORTS) \
7141 (cd $(HOST_SUBDIR)/binutils && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7143 $(TARGET-binutils))
7144 @endif binutils
7148 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
7149 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
7150 maybe-all-stage1-binutils:
7151 maybe-clean-stage1-binutils:
7152 @if binutils-bootstrap
7153 maybe-all-stage1-binutils: all-stage1-binutils
7154 all-stage1: all-stage1-binutils
7155 TARGET-stage1-binutils = $(TARGET-binutils)
7156 all-stage1-binutils: configure-stage1-binutils
7157 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7158 @r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7160 TFLAGS="$(STAGE1_TFLAGS)"; \
7161 $(HOST_EXPORTS) \
7162 cd $(HOST_SUBDIR)/binutils && \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7164 CFLAGS="$(STAGE1_CFLAGS)" \
7165 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
7166 LIBCFLAGS="$(LIBCFLAGS)" \
7167 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7168 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7169 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7170 $(EXTRA_HOST_FLAGS) \
7171 TFLAGS="$(STAGE1_TFLAGS)" \
7172 $(TARGET-stage1-binutils)
7174 maybe-clean-stage1-binutils: clean-stage1-binutils
7175 clean-stage1: clean-stage1-binutils
7176 clean-stage1-binutils:
7177 @if [ $(current_stage) = stage1 ]; then \
7178 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7179 else \
7180 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7181 $(MAKE) stage1-start; \
7182 fi; \
7183 cd $(HOST_SUBDIR)/binutils && \
7184 $(MAKE) $(EXTRA_HOST_FLAGS) \
7185 clean
7186 @endif binutils-bootstrap
7189 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7190 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7191 maybe-all-stage2-binutils:
7192 maybe-clean-stage2-binutils:
7193 @if binutils-bootstrap
7194 maybe-all-stage2-binutils: all-stage2-binutils
7195 all-stage2: all-stage2-binutils
7196 TARGET-stage2-binutils = $(TARGET-binutils)
7197 all-stage2-binutils: configure-stage2-binutils
7198 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7199 @r=`${PWD_COMMAND}`; export r; \
7200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7201 TFLAGS="$(STAGE2_TFLAGS)"; \
7202 $(HOST_EXPORTS) \
7203 $(POSTSTAGE1_HOST_EXPORTS) \
7204 cd $(HOST_SUBDIR)/binutils && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7206 CFLAGS="$(STAGE2_CFLAGS)" \
7207 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
7208 LIBCFLAGS="$(STAGE2_CFLAGS)" \
7209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7213 TFLAGS="$(STAGE2_TFLAGS)" \
7214 $(TARGET-stage2-binutils)
7216 maybe-clean-stage2-binutils: clean-stage2-binutils
7217 clean-stage2: clean-stage2-binutils
7218 clean-stage2-binutils:
7219 @if [ $(current_stage) = stage2 ]; then \
7220 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7221 else \
7222 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7223 $(MAKE) stage2-start; \
7224 fi; \
7225 cd $(HOST_SUBDIR)/binutils && \
7226 $(MAKE) $(EXTRA_HOST_FLAGS) \
7227 $(POSTSTAGE1_FLAGS_TO_PASS) \
7228 clean
7229 @endif binutils-bootstrap
7232 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7233 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7234 maybe-all-stage3-binutils:
7235 maybe-clean-stage3-binutils:
7236 @if binutils-bootstrap
7237 maybe-all-stage3-binutils: all-stage3-binutils
7238 all-stage3: all-stage3-binutils
7239 TARGET-stage3-binutils = $(TARGET-binutils)
7240 all-stage3-binutils: configure-stage3-binutils
7241 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7242 @r=`${PWD_COMMAND}`; export r; \
7243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7244 TFLAGS="$(STAGE3_TFLAGS)"; \
7245 $(HOST_EXPORTS) \
7246 $(POSTSTAGE1_HOST_EXPORTS) \
7247 cd $(HOST_SUBDIR)/binutils && \
7248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7249 CFLAGS="$(STAGE3_CFLAGS)" \
7250 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
7251 LIBCFLAGS="$(STAGE3_CFLAGS)" \
7252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7255 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7256 TFLAGS="$(STAGE3_TFLAGS)" \
7257 $(TARGET-stage3-binutils)
7259 maybe-clean-stage3-binutils: clean-stage3-binutils
7260 clean-stage3: clean-stage3-binutils
7261 clean-stage3-binutils:
7262 @if [ $(current_stage) = stage3 ]; then \
7263 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7264 else \
7265 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7266 $(MAKE) stage3-start; \
7267 fi; \
7268 cd $(HOST_SUBDIR)/binutils && \
7269 $(MAKE) $(EXTRA_HOST_FLAGS) \
7270 $(POSTSTAGE1_FLAGS_TO_PASS) \
7271 clean
7272 @endif binutils-bootstrap
7275 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7276 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7277 maybe-all-stage4-binutils:
7278 maybe-clean-stage4-binutils:
7279 @if binutils-bootstrap
7280 maybe-all-stage4-binutils: all-stage4-binutils
7281 all-stage4: all-stage4-binutils
7282 TARGET-stage4-binutils = $(TARGET-binutils)
7283 all-stage4-binutils: configure-stage4-binutils
7284 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7285 @r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 TFLAGS="$(STAGE4_TFLAGS)"; \
7288 $(HOST_EXPORTS) \
7289 $(POSTSTAGE1_HOST_EXPORTS) \
7290 cd $(HOST_SUBDIR)/binutils && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7292 CFLAGS="$(STAGE4_CFLAGS)" \
7293 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
7294 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7299 TFLAGS="$(STAGE4_TFLAGS)" \
7300 $(TARGET-stage4-binutils)
7302 maybe-clean-stage4-binutils: clean-stage4-binutils
7303 clean-stage4: clean-stage4-binutils
7304 clean-stage4-binutils:
7305 @if [ $(current_stage) = stage4 ]; then \
7306 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7307 else \
7308 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7309 $(MAKE) stage4-start; \
7310 fi; \
7311 cd $(HOST_SUBDIR)/binutils && \
7312 $(MAKE) $(EXTRA_HOST_FLAGS) \
7313 $(POSTSTAGE1_FLAGS_TO_PASS) \
7314 clean
7315 @endif binutils-bootstrap
7318 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7319 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7320 maybe-all-stageprofile-binutils:
7321 maybe-clean-stageprofile-binutils:
7322 @if binutils-bootstrap
7323 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7324 all-stageprofile: all-stageprofile-binutils
7325 TARGET-stageprofile-binutils = $(TARGET-binutils)
7326 all-stageprofile-binutils: configure-stageprofile-binutils
7327 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7328 @r=`${PWD_COMMAND}`; export r; \
7329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7330 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7331 $(HOST_EXPORTS) \
7332 $(POSTSTAGE1_HOST_EXPORTS) \
7333 cd $(HOST_SUBDIR)/binutils && \
7334 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7335 CFLAGS="$(STAGEprofile_CFLAGS)" \
7336 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
7337 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
7338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7342 TFLAGS="$(STAGEprofile_TFLAGS)" \
7343 $(TARGET-stageprofile-binutils)
7345 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7346 clean-stageprofile: clean-stageprofile-binutils
7347 clean-stageprofile-binutils:
7348 @if [ $(current_stage) = stageprofile ]; then \
7349 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7350 else \
7351 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7352 $(MAKE) stageprofile-start; \
7353 fi; \
7354 cd $(HOST_SUBDIR)/binutils && \
7355 $(MAKE) $(EXTRA_HOST_FLAGS) \
7356 $(POSTSTAGE1_FLAGS_TO_PASS) \
7357 clean
7358 @endif binutils-bootstrap
7361 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7362 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7363 maybe-all-stagefeedback-binutils:
7364 maybe-clean-stagefeedback-binutils:
7365 @if binutils-bootstrap
7366 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7367 all-stagefeedback: all-stagefeedback-binutils
7368 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7369 all-stagefeedback-binutils: configure-stagefeedback-binutils
7370 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7371 @r=`${PWD_COMMAND}`; export r; \
7372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
7374 $(HOST_EXPORTS) \
7375 $(POSTSTAGE1_HOST_EXPORTS) \
7376 cd $(HOST_SUBDIR)/binutils && \
7377 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7378 CFLAGS="$(STAGEfeedback_CFLAGS)" \
7379 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
7380 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
7381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
7382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
7383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
7384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7385 TFLAGS="$(STAGEfeedback_TFLAGS)" \
7386 $(TARGET-stagefeedback-binutils)
7388 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7389 clean-stagefeedback: clean-stagefeedback-binutils
7390 clean-stagefeedback-binutils:
7391 @if [ $(current_stage) = stagefeedback ]; then \
7392 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7393 else \
7394 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7395 $(MAKE) stagefeedback-start; \
7396 fi; \
7397 cd $(HOST_SUBDIR)/binutils && \
7398 $(MAKE) $(EXTRA_HOST_FLAGS) \
7399 $(POSTSTAGE1_FLAGS_TO_PASS) \
7400 clean
7401 @endif binutils-bootstrap
7407 .PHONY: check-binutils maybe-check-binutils
7408 maybe-check-binutils:
7409 @if binutils
7410 maybe-check-binutils: check-binutils
7412 check-binutils:
7413 @: $(MAKE); $(unstage)
7414 @r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(HOST_EXPORTS) \
7417 (cd $(HOST_SUBDIR)/binutils && \
7418 $(MAKE) $(FLAGS_TO_PASS) check)
7420 @endif binutils
7422 .PHONY: install-binutils maybe-install-binutils
7423 maybe-install-binutils:
7424 @if binutils
7425 maybe-install-binutils: install-binutils
7427 install-binutils: installdirs
7428 @: $(MAKE); $(unstage)
7429 @r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 $(HOST_EXPORTS) \
7432 (cd $(HOST_SUBDIR)/binutils && \
7433 $(MAKE) $(FLAGS_TO_PASS) install)
7435 @endif binutils
7437 # Other targets (info, dvi, pdf, etc.)
7439 .PHONY: maybe-info-binutils info-binutils
7440 maybe-info-binutils:
7441 @if binutils
7442 maybe-info-binutils: info-binutils
7444 info-binutils: \
7445 configure-binutils
7446 @[ -f ./binutils/Makefile ] || exit 0; \
7447 r=`${PWD_COMMAND}`; export r; \
7448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7449 $(HOST_EXPORTS) \
7450 for flag in $(EXTRA_HOST_FLAGS) ; do \
7451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7452 done; \
7453 echo "Doing info in binutils" ; \
7454 (cd $(HOST_SUBDIR)/binutils && \
7455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7457 "RANLIB=$${RANLIB}" \
7458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7459 info) \
7460 || exit 1
7462 @endif binutils
7464 .PHONY: maybe-dvi-binutils dvi-binutils
7465 maybe-dvi-binutils:
7466 @if binutils
7467 maybe-dvi-binutils: dvi-binutils
7469 dvi-binutils: \
7470 configure-binutils
7471 @[ -f ./binutils/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 for flag in $(EXTRA_HOST_FLAGS) ; do \
7476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7477 done; \
7478 echo "Doing dvi in binutils" ; \
7479 (cd $(HOST_SUBDIR)/binutils && \
7480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482 "RANLIB=$${RANLIB}" \
7483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7484 dvi) \
7485 || exit 1
7487 @endif binutils
7489 .PHONY: maybe-pdf-binutils pdf-binutils
7490 maybe-pdf-binutils:
7491 @if binutils
7492 maybe-pdf-binutils: pdf-binutils
7494 pdf-binutils: \
7495 configure-binutils
7496 @[ -f ./binutils/Makefile ] || exit 0; \
7497 r=`${PWD_COMMAND}`; export r; \
7498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7499 $(HOST_EXPORTS) \
7500 for flag in $(EXTRA_HOST_FLAGS) ; do \
7501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7502 done; \
7503 echo "Doing pdf in binutils" ; \
7504 (cd $(HOST_SUBDIR)/binutils && \
7505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7507 "RANLIB=$${RANLIB}" \
7508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7509 pdf) \
7510 || exit 1
7512 @endif binutils
7514 .PHONY: maybe-html-binutils html-binutils
7515 maybe-html-binutils:
7516 @if binutils
7517 maybe-html-binutils: html-binutils
7519 html-binutils: \
7520 configure-binutils
7521 @[ -f ./binutils/Makefile ] || exit 0; \
7522 r=`${PWD_COMMAND}`; export r; \
7523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7524 $(HOST_EXPORTS) \
7525 for flag in $(EXTRA_HOST_FLAGS) ; do \
7526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7527 done; \
7528 echo "Doing html in binutils" ; \
7529 (cd $(HOST_SUBDIR)/binutils && \
7530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7532 "RANLIB=$${RANLIB}" \
7533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7534 html) \
7535 || exit 1
7537 @endif binutils
7539 .PHONY: maybe-TAGS-binutils TAGS-binutils
7540 maybe-TAGS-binutils:
7541 @if binutils
7542 maybe-TAGS-binutils: TAGS-binutils
7544 TAGS-binutils: \
7545 configure-binutils
7546 @[ -f ./binutils/Makefile ] || exit 0; \
7547 r=`${PWD_COMMAND}`; export r; \
7548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7549 $(HOST_EXPORTS) \
7550 for flag in $(EXTRA_HOST_FLAGS) ; do \
7551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7552 done; \
7553 echo "Doing TAGS in binutils" ; \
7554 (cd $(HOST_SUBDIR)/binutils && \
7555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7557 "RANLIB=$${RANLIB}" \
7558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7559 TAGS) \
7560 || exit 1
7562 @endif binutils
7564 .PHONY: maybe-install-info-binutils install-info-binutils
7565 maybe-install-info-binutils:
7566 @if binutils
7567 maybe-install-info-binutils: install-info-binutils
7569 install-info-binutils: \
7570 configure-binutils \
7571 info-binutils
7572 @[ -f ./binutils/Makefile ] || exit 0; \
7573 r=`${PWD_COMMAND}`; export r; \
7574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7575 $(HOST_EXPORTS) \
7576 for flag in $(EXTRA_HOST_FLAGS) ; do \
7577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7578 done; \
7579 echo "Doing install-info in binutils" ; \
7580 (cd $(HOST_SUBDIR)/binutils && \
7581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7583 "RANLIB=$${RANLIB}" \
7584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7585 install-info) \
7586 || exit 1
7588 @endif binutils
7590 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7591 maybe-install-pdf-binutils:
7592 @if binutils
7593 maybe-install-pdf-binutils: install-pdf-binutils
7595 install-pdf-binutils: \
7596 configure-binutils \
7597 pdf-binutils
7598 @[ -f ./binutils/Makefile ] || exit 0; \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(HOST_EXPORTS) \
7602 for flag in $(EXTRA_HOST_FLAGS) ; do \
7603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7604 done; \
7605 echo "Doing install-pdf in binutils" ; \
7606 (cd $(HOST_SUBDIR)/binutils && \
7607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7609 "RANLIB=$${RANLIB}" \
7610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7611 install-pdf) \
7612 || exit 1
7614 @endif binutils
7616 .PHONY: maybe-install-html-binutils install-html-binutils
7617 maybe-install-html-binutils:
7618 @if binutils
7619 maybe-install-html-binutils: install-html-binutils
7621 install-html-binutils: \
7622 configure-binutils \
7623 html-binutils
7624 @[ -f ./binutils/Makefile ] || exit 0; \
7625 r=`${PWD_COMMAND}`; export r; \
7626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7627 $(HOST_EXPORTS) \
7628 for flag in $(EXTRA_HOST_FLAGS) ; do \
7629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7630 done; \
7631 echo "Doing install-html in binutils" ; \
7632 (cd $(HOST_SUBDIR)/binutils && \
7633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7635 "RANLIB=$${RANLIB}" \
7636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7637 install-html) \
7638 || exit 1
7640 @endif binutils
7642 .PHONY: maybe-installcheck-binutils installcheck-binutils
7643 maybe-installcheck-binutils:
7644 @if binutils
7645 maybe-installcheck-binutils: installcheck-binutils
7647 installcheck-binutils: \
7648 configure-binutils
7649 @[ -f ./binutils/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing installcheck in binutils" ; \
7657 (cd $(HOST_SUBDIR)/binutils && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7662 installcheck) \
7663 || exit 1
7665 @endif binutils
7667 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7668 maybe-mostlyclean-binutils:
7669 @if binutils
7670 maybe-mostlyclean-binutils: mostlyclean-binutils
7672 mostlyclean-binutils:
7673 @[ -f ./binutils/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing mostlyclean in binutils" ; \
7681 (cd $(HOST_SUBDIR)/binutils && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 mostlyclean) \
7687 || exit 1
7689 @endif binutils
7691 .PHONY: maybe-clean-binutils clean-binutils
7692 maybe-clean-binutils:
7693 @if binutils
7694 maybe-clean-binutils: clean-binutils
7696 clean-binutils:
7697 @[ -f ./binutils/Makefile ] || exit 0; \
7698 r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 for flag in $(EXTRA_HOST_FLAGS) ; do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing clean in binutils" ; \
7705 (cd $(HOST_SUBDIR)/binutils && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7710 clean) \
7711 || exit 1
7713 @endif binutils
7715 .PHONY: maybe-distclean-binutils distclean-binutils
7716 maybe-distclean-binutils:
7717 @if binutils
7718 maybe-distclean-binutils: distclean-binutils
7720 distclean-binutils:
7721 @[ -f ./binutils/Makefile ] || exit 0; \
7722 r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 for flag in $(EXTRA_HOST_FLAGS) ; do \
7726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7727 done; \
7728 echo "Doing distclean in binutils" ; \
7729 (cd $(HOST_SUBDIR)/binutils && \
7730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7732 "RANLIB=$${RANLIB}" \
7733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7734 distclean) \
7735 || exit 1
7737 @endif binutils
7739 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7740 maybe-maintainer-clean-binutils:
7741 @if binutils
7742 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7744 maintainer-clean-binutils:
7745 @[ -f ./binutils/Makefile ] || exit 0; \
7746 r=`${PWD_COMMAND}`; export r; \
7747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7748 $(HOST_EXPORTS) \
7749 for flag in $(EXTRA_HOST_FLAGS) ; do \
7750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7751 done; \
7752 echo "Doing maintainer-clean in binutils" ; \
7753 (cd $(HOST_SUBDIR)/binutils && \
7754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7756 "RANLIB=$${RANLIB}" \
7757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7758 maintainer-clean) \
7759 || exit 1
7761 @endif binutils
7765 .PHONY: configure-bison maybe-configure-bison
7766 maybe-configure-bison:
7767 @if gcc-bootstrap
7768 configure-bison: stage_current
7769 @endif gcc-bootstrap
7770 @if bison
7771 maybe-configure-bison: configure-bison
7772 configure-bison:
7773 @: $(MAKE); $(unstage)
7774 @r=`${PWD_COMMAND}`; export r; \
7775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7776 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7778 $(HOST_EXPORTS) \
7779 echo Configuring in $(HOST_SUBDIR)/bison; \
7780 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7781 case $(srcdir) in \
7782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7783 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7785 esac; \
7786 srcdiroption="--srcdir=$${topdir}/bison"; \
7787 libsrcdir="$$s/bison"; \
7788 $(SHELL) $${libsrcdir}/configure \
7789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7790 --target=${target_alias} $${srcdiroption} \
7791 || exit 1
7792 @endif bison
7798 .PHONY: all-bison maybe-all-bison
7799 maybe-all-bison:
7800 @if gcc-bootstrap
7801 all-bison: stage_current
7802 @endif gcc-bootstrap
7803 @if bison
7804 TARGET-bison=all
7805 maybe-all-bison: all-bison
7806 all-bison: configure-bison
7807 @: $(MAKE); $(unstage)
7808 @r=`${PWD_COMMAND}`; export r; \
7809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7810 $(HOST_EXPORTS) \
7811 (cd $(HOST_SUBDIR)/bison && \
7812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7813 $(TARGET-bison))
7814 @endif bison
7819 .PHONY: check-bison maybe-check-bison
7820 maybe-check-bison:
7821 @if bison
7822 maybe-check-bison: check-bison
7824 # This module is only tested in a native toolchain.
7825 check-bison:
7826 @: $(MAKE); $(unstage)
7827 @if [ '$(host)' = '$(target)' ] ; then \
7828 r=`${PWD_COMMAND}`; export r; \
7829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7830 $(HOST_EXPORTS) \
7831 (cd $(HOST_SUBDIR)/bison && \
7832 $(MAKE) $(FLAGS_TO_PASS) check); \
7835 @endif bison
7837 .PHONY: install-bison maybe-install-bison
7838 maybe-install-bison:
7839 @if bison
7840 maybe-install-bison: install-bison
7842 install-bison: installdirs
7843 @: $(MAKE); $(unstage)
7844 @r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(HOST_EXPORTS) \
7847 (cd $(HOST_SUBDIR)/bison && \
7848 $(MAKE) $(FLAGS_TO_PASS) install)
7850 @endif bison
7852 # Other targets (info, dvi, pdf, etc.)
7854 .PHONY: maybe-info-bison info-bison
7855 maybe-info-bison:
7856 @if bison
7857 maybe-info-bison: info-bison
7859 info-bison: \
7860 configure-bison
7861 @: $(MAKE); $(unstage)
7862 @[ -f ./bison/Makefile ] || exit 0; \
7863 r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(HOST_EXPORTS) \
7866 for flag in $(EXTRA_HOST_FLAGS) ; do \
7867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7868 done; \
7869 echo "Doing info in bison" ; \
7870 (cd $(HOST_SUBDIR)/bison && \
7871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7873 "RANLIB=$${RANLIB}" \
7874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7875 info) \
7876 || exit 1
7878 @endif bison
7880 .PHONY: maybe-dvi-bison dvi-bison
7881 maybe-dvi-bison:
7882 @if bison
7883 maybe-dvi-bison: dvi-bison
7885 dvi-bison: \
7886 configure-bison
7887 @: $(MAKE); $(unstage)
7888 @[ -f ./bison/Makefile ] || exit 0; \
7889 r=`${PWD_COMMAND}`; export r; \
7890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7891 $(HOST_EXPORTS) \
7892 for flag in $(EXTRA_HOST_FLAGS) ; do \
7893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 done; \
7895 echo "Doing dvi in bison" ; \
7896 (cd $(HOST_SUBDIR)/bison && \
7897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7899 "RANLIB=$${RANLIB}" \
7900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7901 dvi) \
7902 || exit 1
7904 @endif bison
7906 .PHONY: maybe-pdf-bison pdf-bison
7907 maybe-pdf-bison:
7908 @if bison
7909 maybe-pdf-bison: pdf-bison
7911 pdf-bison: \
7912 configure-bison
7913 @: $(MAKE); $(unstage)
7914 @[ -f ./bison/Makefile ] || exit 0; \
7915 r=`${PWD_COMMAND}`; export r; \
7916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7917 $(HOST_EXPORTS) \
7918 for flag in $(EXTRA_HOST_FLAGS) ; do \
7919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7920 done; \
7921 echo "Doing pdf in bison" ; \
7922 (cd $(HOST_SUBDIR)/bison && \
7923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7925 "RANLIB=$${RANLIB}" \
7926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7927 pdf) \
7928 || exit 1
7930 @endif bison
7932 .PHONY: maybe-html-bison html-bison
7933 maybe-html-bison:
7934 @if bison
7935 maybe-html-bison: html-bison
7937 html-bison: \
7938 configure-bison
7939 @: $(MAKE); $(unstage)
7940 @[ -f ./bison/Makefile ] || exit 0; \
7941 r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(HOST_EXPORTS) \
7944 for flag in $(EXTRA_HOST_FLAGS) ; do \
7945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7946 done; \
7947 echo "Doing html in bison" ; \
7948 (cd $(HOST_SUBDIR)/bison && \
7949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7951 "RANLIB=$${RANLIB}" \
7952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7953 html) \
7954 || exit 1
7956 @endif bison
7958 .PHONY: maybe-TAGS-bison TAGS-bison
7959 maybe-TAGS-bison:
7960 @if bison
7961 maybe-TAGS-bison: TAGS-bison
7963 TAGS-bison: \
7964 configure-bison
7965 @: $(MAKE); $(unstage)
7966 @[ -f ./bison/Makefile ] || exit 0; \
7967 r=`${PWD_COMMAND}`; export r; \
7968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7969 $(HOST_EXPORTS) \
7970 for flag in $(EXTRA_HOST_FLAGS) ; do \
7971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7972 done; \
7973 echo "Doing TAGS in bison" ; \
7974 (cd $(HOST_SUBDIR)/bison && \
7975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7977 "RANLIB=$${RANLIB}" \
7978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7979 TAGS) \
7980 || exit 1
7982 @endif bison
7984 .PHONY: maybe-install-info-bison install-info-bison
7985 maybe-install-info-bison:
7986 @if bison
7987 maybe-install-info-bison: install-info-bison
7989 install-info-bison: \
7990 configure-bison \
7991 info-bison
7992 @: $(MAKE); $(unstage)
7993 @[ -f ./bison/Makefile ] || exit 0; \
7994 r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 $(HOST_EXPORTS) \
7997 for flag in $(EXTRA_HOST_FLAGS) ; do \
7998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7999 done; \
8000 echo "Doing install-info in bison" ; \
8001 (cd $(HOST_SUBDIR)/bison && \
8002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8004 "RANLIB=$${RANLIB}" \
8005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8006 install-info) \
8007 || exit 1
8009 @endif bison
8011 .PHONY: maybe-install-pdf-bison install-pdf-bison
8012 maybe-install-pdf-bison:
8013 @if bison
8014 maybe-install-pdf-bison: install-pdf-bison
8016 install-pdf-bison: \
8017 configure-bison \
8018 pdf-bison
8019 @: $(MAKE); $(unstage)
8020 @[ -f ./bison/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing install-pdf in bison" ; \
8028 (cd $(HOST_SUBDIR)/bison && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8033 install-pdf) \
8034 || exit 1
8036 @endif bison
8038 .PHONY: maybe-install-html-bison install-html-bison
8039 maybe-install-html-bison:
8040 @if bison
8041 maybe-install-html-bison: install-html-bison
8043 install-html-bison: \
8044 configure-bison \
8045 html-bison
8046 @: $(MAKE); $(unstage)
8047 @[ -f ./bison/Makefile ] || exit 0; \
8048 r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 $(HOST_EXPORTS) \
8051 for flag in $(EXTRA_HOST_FLAGS) ; do \
8052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 done; \
8054 echo "Doing install-html in bison" ; \
8055 (cd $(HOST_SUBDIR)/bison && \
8056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8058 "RANLIB=$${RANLIB}" \
8059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8060 install-html) \
8061 || exit 1
8063 @endif bison
8065 .PHONY: maybe-installcheck-bison installcheck-bison
8066 maybe-installcheck-bison:
8067 @if bison
8068 maybe-installcheck-bison: installcheck-bison
8070 installcheck-bison: \
8071 configure-bison
8072 @: $(MAKE); $(unstage)
8073 @[ -f ./bison/Makefile ] || exit 0; \
8074 r=`${PWD_COMMAND}`; export r; \
8075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 $(HOST_EXPORTS) \
8077 for flag in $(EXTRA_HOST_FLAGS) ; do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 done; \
8080 echo "Doing installcheck in bison" ; \
8081 (cd $(HOST_SUBDIR)/bison && \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8086 installcheck) \
8087 || exit 1
8089 @endif bison
8091 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
8092 maybe-mostlyclean-bison:
8093 @if bison
8094 maybe-mostlyclean-bison: mostlyclean-bison
8096 mostlyclean-bison:
8097 @: $(MAKE); $(unstage)
8098 @[ -f ./bison/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(HOST_EXPORTS) \
8102 for flag in $(EXTRA_HOST_FLAGS) ; do \
8103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8104 done; \
8105 echo "Doing mostlyclean in bison" ; \
8106 (cd $(HOST_SUBDIR)/bison && \
8107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8109 "RANLIB=$${RANLIB}" \
8110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8111 mostlyclean) \
8112 || exit 1
8114 @endif bison
8116 .PHONY: maybe-clean-bison clean-bison
8117 maybe-clean-bison:
8118 @if bison
8119 maybe-clean-bison: clean-bison
8121 clean-bison:
8122 @: $(MAKE); $(unstage)
8123 @[ -f ./bison/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(HOST_EXPORTS) \
8127 for flag in $(EXTRA_HOST_FLAGS) ; do \
8128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8129 done; \
8130 echo "Doing clean in bison" ; \
8131 (cd $(HOST_SUBDIR)/bison && \
8132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8134 "RANLIB=$${RANLIB}" \
8135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8136 clean) \
8137 || exit 1
8139 @endif bison
8141 .PHONY: maybe-distclean-bison distclean-bison
8142 maybe-distclean-bison:
8143 @if bison
8144 maybe-distclean-bison: distclean-bison
8146 distclean-bison:
8147 @: $(MAKE); $(unstage)
8148 @[ -f ./bison/Makefile ] || exit 0; \
8149 r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 $(HOST_EXPORTS) \
8152 for flag in $(EXTRA_HOST_FLAGS) ; do \
8153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8154 done; \
8155 echo "Doing distclean in bison" ; \
8156 (cd $(HOST_SUBDIR)/bison && \
8157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8159 "RANLIB=$${RANLIB}" \
8160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8161 distclean) \
8162 || exit 1
8164 @endif bison
8166 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8167 maybe-maintainer-clean-bison:
8168 @if bison
8169 maybe-maintainer-clean-bison: maintainer-clean-bison
8171 maintainer-clean-bison:
8172 @: $(MAKE); $(unstage)
8173 @[ -f ./bison/Makefile ] || exit 0; \
8174 r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 $(HOST_EXPORTS) \
8177 for flag in $(EXTRA_HOST_FLAGS) ; do \
8178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8179 done; \
8180 echo "Doing maintainer-clean in bison" ; \
8181 (cd $(HOST_SUBDIR)/bison && \
8182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8184 "RANLIB=$${RANLIB}" \
8185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8186 maintainer-clean) \
8187 || exit 1
8189 @endif bison
8193 .PHONY: configure-byacc maybe-configure-byacc
8194 maybe-configure-byacc:
8195 @if gcc-bootstrap
8196 configure-byacc: stage_current
8197 @endif gcc-bootstrap
8198 @if byacc
8199 maybe-configure-byacc: configure-byacc
8200 configure-byacc:
8201 @: $(MAKE); $(unstage)
8202 @r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8206 $(HOST_EXPORTS) \
8207 echo Configuring in $(HOST_SUBDIR)/byacc; \
8208 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8209 case $(srcdir) in \
8210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8211 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8213 esac; \
8214 srcdiroption="--srcdir=$${topdir}/byacc"; \
8215 libsrcdir="$$s/byacc"; \
8216 $(SHELL) $${libsrcdir}/configure \
8217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8218 --target=${target_alias} $${srcdiroption} \
8219 || exit 1
8220 @endif byacc
8226 .PHONY: all-byacc maybe-all-byacc
8227 maybe-all-byacc:
8228 @if gcc-bootstrap
8229 all-byacc: stage_current
8230 @endif gcc-bootstrap
8231 @if byacc
8232 TARGET-byacc=all
8233 maybe-all-byacc: all-byacc
8234 all-byacc: configure-byacc
8235 @: $(MAKE); $(unstage)
8236 @r=`${PWD_COMMAND}`; export r; \
8237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8238 $(HOST_EXPORTS) \
8239 (cd $(HOST_SUBDIR)/byacc && \
8240 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8241 $(TARGET-byacc))
8242 @endif byacc
8247 .PHONY: check-byacc maybe-check-byacc
8248 maybe-check-byacc:
8249 @if byacc
8250 maybe-check-byacc: check-byacc
8252 # This module is only tested in a native toolchain.
8253 check-byacc:
8254 @: $(MAKE); $(unstage)
8255 @if [ '$(host)' = '$(target)' ] ; then \
8256 r=`${PWD_COMMAND}`; export r; \
8257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8258 $(HOST_EXPORTS) \
8259 (cd $(HOST_SUBDIR)/byacc && \
8260 $(MAKE) $(FLAGS_TO_PASS) check); \
8263 @endif byacc
8265 .PHONY: install-byacc maybe-install-byacc
8266 maybe-install-byacc:
8267 @if byacc
8268 maybe-install-byacc: install-byacc
8270 install-byacc: installdirs
8271 @: $(MAKE); $(unstage)
8272 @r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 $(HOST_EXPORTS) \
8275 (cd $(HOST_SUBDIR)/byacc && \
8276 $(MAKE) $(FLAGS_TO_PASS) install)
8278 @endif byacc
8280 # Other targets (info, dvi, pdf, etc.)
8282 .PHONY: maybe-info-byacc info-byacc
8283 maybe-info-byacc:
8284 @if byacc
8285 maybe-info-byacc: info-byacc
8287 info-byacc: \
8288 configure-byacc
8289 @: $(MAKE); $(unstage)
8290 @[ -f ./byacc/Makefile ] || exit 0; \
8291 r=`${PWD_COMMAND}`; export r; \
8292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8293 $(HOST_EXPORTS) \
8294 for flag in $(EXTRA_HOST_FLAGS) ; do \
8295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8296 done; \
8297 echo "Doing info in byacc" ; \
8298 (cd $(HOST_SUBDIR)/byacc && \
8299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8301 "RANLIB=$${RANLIB}" \
8302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8303 info) \
8304 || exit 1
8306 @endif byacc
8308 .PHONY: maybe-dvi-byacc dvi-byacc
8309 maybe-dvi-byacc:
8310 @if byacc
8311 maybe-dvi-byacc: dvi-byacc
8313 dvi-byacc: \
8314 configure-byacc
8315 @: $(MAKE); $(unstage)
8316 @[ -f ./byacc/Makefile ] || exit 0; \
8317 r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 for flag in $(EXTRA_HOST_FLAGS) ; do \
8321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8322 done; \
8323 echo "Doing dvi in byacc" ; \
8324 (cd $(HOST_SUBDIR)/byacc && \
8325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8327 "RANLIB=$${RANLIB}" \
8328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8329 dvi) \
8330 || exit 1
8332 @endif byacc
8334 .PHONY: maybe-pdf-byacc pdf-byacc
8335 maybe-pdf-byacc:
8336 @if byacc
8337 maybe-pdf-byacc: pdf-byacc
8339 pdf-byacc: \
8340 configure-byacc
8341 @: $(MAKE); $(unstage)
8342 @[ -f ./byacc/Makefile ] || exit 0; \
8343 r=`${PWD_COMMAND}`; export r; \
8344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8345 $(HOST_EXPORTS) \
8346 for flag in $(EXTRA_HOST_FLAGS) ; do \
8347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8348 done; \
8349 echo "Doing pdf in byacc" ; \
8350 (cd $(HOST_SUBDIR)/byacc && \
8351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8353 "RANLIB=$${RANLIB}" \
8354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8355 pdf) \
8356 || exit 1
8358 @endif byacc
8360 .PHONY: maybe-html-byacc html-byacc
8361 maybe-html-byacc:
8362 @if byacc
8363 maybe-html-byacc: html-byacc
8365 html-byacc: \
8366 configure-byacc
8367 @: $(MAKE); $(unstage)
8368 @[ -f ./byacc/Makefile ] || exit 0; \
8369 r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(HOST_EXPORTS) \
8372 for flag in $(EXTRA_HOST_FLAGS) ; do \
8373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8374 done; \
8375 echo "Doing html in byacc" ; \
8376 (cd $(HOST_SUBDIR)/byacc && \
8377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8379 "RANLIB=$${RANLIB}" \
8380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8381 html) \
8382 || exit 1
8384 @endif byacc
8386 .PHONY: maybe-TAGS-byacc TAGS-byacc
8387 maybe-TAGS-byacc:
8388 @if byacc
8389 maybe-TAGS-byacc: TAGS-byacc
8391 TAGS-byacc: \
8392 configure-byacc
8393 @: $(MAKE); $(unstage)
8394 @[ -f ./byacc/Makefile ] || exit 0; \
8395 r=`${PWD_COMMAND}`; export r; \
8396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8397 $(HOST_EXPORTS) \
8398 for flag in $(EXTRA_HOST_FLAGS) ; do \
8399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8400 done; \
8401 echo "Doing TAGS in byacc" ; \
8402 (cd $(HOST_SUBDIR)/byacc && \
8403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8405 "RANLIB=$${RANLIB}" \
8406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8407 TAGS) \
8408 || exit 1
8410 @endif byacc
8412 .PHONY: maybe-install-info-byacc install-info-byacc
8413 maybe-install-info-byacc:
8414 @if byacc
8415 maybe-install-info-byacc: install-info-byacc
8417 install-info-byacc: \
8418 configure-byacc \
8419 info-byacc
8420 @: $(MAKE); $(unstage)
8421 @[ -f ./byacc/Makefile ] || exit 0; \
8422 r=`${PWD_COMMAND}`; export r; \
8423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 $(HOST_EXPORTS) \
8425 for flag in $(EXTRA_HOST_FLAGS) ; do \
8426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8427 done; \
8428 echo "Doing install-info in byacc" ; \
8429 (cd $(HOST_SUBDIR)/byacc && \
8430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8432 "RANLIB=$${RANLIB}" \
8433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8434 install-info) \
8435 || exit 1
8437 @endif byacc
8439 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8440 maybe-install-pdf-byacc:
8441 @if byacc
8442 maybe-install-pdf-byacc: install-pdf-byacc
8444 install-pdf-byacc: \
8445 configure-byacc \
8446 pdf-byacc
8447 @: $(MAKE); $(unstage)
8448 @[ -f ./byacc/Makefile ] || exit 0; \
8449 r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing install-pdf in byacc" ; \
8456 (cd $(HOST_SUBDIR)/byacc && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8461 install-pdf) \
8462 || exit 1
8464 @endif byacc
8466 .PHONY: maybe-install-html-byacc install-html-byacc
8467 maybe-install-html-byacc:
8468 @if byacc
8469 maybe-install-html-byacc: install-html-byacc
8471 install-html-byacc: \
8472 configure-byacc \
8473 html-byacc
8474 @: $(MAKE); $(unstage)
8475 @[ -f ./byacc/Makefile ] || exit 0; \
8476 r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(HOST_EXPORTS) \
8479 for flag in $(EXTRA_HOST_FLAGS) ; do \
8480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8481 done; \
8482 echo "Doing install-html in byacc" ; \
8483 (cd $(HOST_SUBDIR)/byacc && \
8484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8486 "RANLIB=$${RANLIB}" \
8487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8488 install-html) \
8489 || exit 1
8491 @endif byacc
8493 .PHONY: maybe-installcheck-byacc installcheck-byacc
8494 maybe-installcheck-byacc:
8495 @if byacc
8496 maybe-installcheck-byacc: installcheck-byacc
8498 installcheck-byacc: \
8499 configure-byacc
8500 @: $(MAKE); $(unstage)
8501 @[ -f ./byacc/Makefile ] || exit 0; \
8502 r=`${PWD_COMMAND}`; export r; \
8503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8504 $(HOST_EXPORTS) \
8505 for flag in $(EXTRA_HOST_FLAGS) ; do \
8506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8507 done; \
8508 echo "Doing installcheck in byacc" ; \
8509 (cd $(HOST_SUBDIR)/byacc && \
8510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8512 "RANLIB=$${RANLIB}" \
8513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8514 installcheck) \
8515 || exit 1
8517 @endif byacc
8519 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8520 maybe-mostlyclean-byacc:
8521 @if byacc
8522 maybe-mostlyclean-byacc: mostlyclean-byacc
8524 mostlyclean-byacc:
8525 @: $(MAKE); $(unstage)
8526 @[ -f ./byacc/Makefile ] || exit 0; \
8527 r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 for flag in $(EXTRA_HOST_FLAGS) ; do \
8531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8532 done; \
8533 echo "Doing mostlyclean in byacc" ; \
8534 (cd $(HOST_SUBDIR)/byacc && \
8535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8537 "RANLIB=$${RANLIB}" \
8538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8539 mostlyclean) \
8540 || exit 1
8542 @endif byacc
8544 .PHONY: maybe-clean-byacc clean-byacc
8545 maybe-clean-byacc:
8546 @if byacc
8547 maybe-clean-byacc: clean-byacc
8549 clean-byacc:
8550 @: $(MAKE); $(unstage)
8551 @[ -f ./byacc/Makefile ] || exit 0; \
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554 $(HOST_EXPORTS) \
8555 for flag in $(EXTRA_HOST_FLAGS) ; do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8557 done; \
8558 echo "Doing clean in byacc" ; \
8559 (cd $(HOST_SUBDIR)/byacc && \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8564 clean) \
8565 || exit 1
8567 @endif byacc
8569 .PHONY: maybe-distclean-byacc distclean-byacc
8570 maybe-distclean-byacc:
8571 @if byacc
8572 maybe-distclean-byacc: distclean-byacc
8574 distclean-byacc:
8575 @: $(MAKE); $(unstage)
8576 @[ -f ./byacc/Makefile ] || exit 0; \
8577 r=`${PWD_COMMAND}`; export r; \
8578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8579 $(HOST_EXPORTS) \
8580 for flag in $(EXTRA_HOST_FLAGS) ; do \
8581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8582 done; \
8583 echo "Doing distclean in byacc" ; \
8584 (cd $(HOST_SUBDIR)/byacc && \
8585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8587 "RANLIB=$${RANLIB}" \
8588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8589 distclean) \
8590 || exit 1
8592 @endif byacc
8594 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8595 maybe-maintainer-clean-byacc:
8596 @if byacc
8597 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8599 maintainer-clean-byacc:
8600 @: $(MAKE); $(unstage)
8601 @[ -f ./byacc/Makefile ] || exit 0; \
8602 r=`${PWD_COMMAND}`; export r; \
8603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8604 $(HOST_EXPORTS) \
8605 for flag in $(EXTRA_HOST_FLAGS) ; do \
8606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8607 done; \
8608 echo "Doing maintainer-clean in byacc" ; \
8609 (cd $(HOST_SUBDIR)/byacc && \
8610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8612 "RANLIB=$${RANLIB}" \
8613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8614 maintainer-clean) \
8615 || exit 1
8617 @endif byacc
8621 .PHONY: configure-bzip2 maybe-configure-bzip2
8622 maybe-configure-bzip2:
8623 @if gcc-bootstrap
8624 configure-bzip2: stage_current
8625 @endif gcc-bootstrap
8626 @if bzip2
8627 maybe-configure-bzip2: configure-bzip2
8628 configure-bzip2:
8629 @: $(MAKE); $(unstage)
8630 @r=`${PWD_COMMAND}`; export r; \
8631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8632 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8634 $(HOST_EXPORTS) \
8635 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8636 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8637 case $(srcdir) in \
8638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8639 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8641 esac; \
8642 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8643 libsrcdir="$$s/bzip2"; \
8644 $(SHELL) $${libsrcdir}/configure \
8645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8646 --target=${target_alias} $${srcdiroption} \
8647 || exit 1
8648 @endif bzip2
8654 .PHONY: all-bzip2 maybe-all-bzip2
8655 maybe-all-bzip2:
8656 @if gcc-bootstrap
8657 all-bzip2: stage_current
8658 @endif gcc-bootstrap
8659 @if bzip2
8660 TARGET-bzip2=all
8661 maybe-all-bzip2: all-bzip2
8662 all-bzip2: configure-bzip2
8663 @: $(MAKE); $(unstage)
8664 @r=`${PWD_COMMAND}`; export r; \
8665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8666 $(HOST_EXPORTS) \
8667 (cd $(HOST_SUBDIR)/bzip2 && \
8668 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8669 $(TARGET-bzip2))
8670 @endif bzip2
8675 .PHONY: check-bzip2 maybe-check-bzip2
8676 maybe-check-bzip2:
8677 @if bzip2
8678 maybe-check-bzip2: check-bzip2
8680 check-bzip2:
8681 @: $(MAKE); $(unstage)
8682 @r=`${PWD_COMMAND}`; export r; \
8683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8684 $(HOST_EXPORTS) \
8685 (cd $(HOST_SUBDIR)/bzip2 && \
8686 $(MAKE) $(FLAGS_TO_PASS) check)
8688 @endif bzip2
8690 .PHONY: install-bzip2 maybe-install-bzip2
8691 maybe-install-bzip2:
8692 @if bzip2
8693 maybe-install-bzip2: install-bzip2
8695 install-bzip2: installdirs
8696 @: $(MAKE); $(unstage)
8697 @r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8699 $(HOST_EXPORTS) \
8700 (cd $(HOST_SUBDIR)/bzip2 && \
8701 $(MAKE) $(FLAGS_TO_PASS) install)
8703 @endif bzip2
8705 # Other targets (info, dvi, pdf, etc.)
8707 .PHONY: maybe-info-bzip2 info-bzip2
8708 maybe-info-bzip2:
8709 @if bzip2
8710 maybe-info-bzip2: info-bzip2
8712 info-bzip2: \
8713 configure-bzip2
8714 @: $(MAKE); $(unstage)
8715 @[ -f ./bzip2/Makefile ] || exit 0; \
8716 r=`${PWD_COMMAND}`; export r; \
8717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 $(HOST_EXPORTS) \
8719 for flag in $(EXTRA_HOST_FLAGS) ; do \
8720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8721 done; \
8722 echo "Doing info in bzip2" ; \
8723 (cd $(HOST_SUBDIR)/bzip2 && \
8724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8726 "RANLIB=$${RANLIB}" \
8727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8728 info) \
8729 || exit 1
8731 @endif bzip2
8733 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8734 maybe-dvi-bzip2:
8735 @if bzip2
8736 maybe-dvi-bzip2: dvi-bzip2
8738 dvi-bzip2: \
8739 configure-bzip2
8740 @: $(MAKE); $(unstage)
8741 @[ -f ./bzip2/Makefile ] || exit 0; \
8742 r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 $(HOST_EXPORTS) \
8745 for flag in $(EXTRA_HOST_FLAGS) ; do \
8746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8747 done; \
8748 echo "Doing dvi in bzip2" ; \
8749 (cd $(HOST_SUBDIR)/bzip2 && \
8750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8752 "RANLIB=$${RANLIB}" \
8753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8754 dvi) \
8755 || exit 1
8757 @endif bzip2
8759 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8760 maybe-pdf-bzip2:
8761 @if bzip2
8762 maybe-pdf-bzip2: pdf-bzip2
8764 pdf-bzip2: \
8765 configure-bzip2
8766 @: $(MAKE); $(unstage)
8767 @[ -f ./bzip2/Makefile ] || exit 0; \
8768 r=`${PWD_COMMAND}`; export r; \
8769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8770 $(HOST_EXPORTS) \
8771 for flag in $(EXTRA_HOST_FLAGS) ; do \
8772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8773 done; \
8774 echo "Doing pdf in bzip2" ; \
8775 (cd $(HOST_SUBDIR)/bzip2 && \
8776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8778 "RANLIB=$${RANLIB}" \
8779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8780 pdf) \
8781 || exit 1
8783 @endif bzip2
8785 .PHONY: maybe-html-bzip2 html-bzip2
8786 maybe-html-bzip2:
8787 @if bzip2
8788 maybe-html-bzip2: html-bzip2
8790 html-bzip2: \
8791 configure-bzip2
8792 @: $(MAKE); $(unstage)
8793 @[ -f ./bzip2/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 html in bzip2" ; \
8801 (cd $(HOST_SUBDIR)/bzip2 && \
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 html) \
8807 || exit 1
8809 @endif bzip2
8811 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8812 maybe-TAGS-bzip2:
8813 @if bzip2
8814 maybe-TAGS-bzip2: TAGS-bzip2
8816 TAGS-bzip2: \
8817 configure-bzip2
8818 @: $(MAKE); $(unstage)
8819 @[ -f ./bzip2/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 TAGS in bzip2" ; \
8827 (cd $(HOST_SUBDIR)/bzip2 && \
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 TAGS) \
8833 || exit 1
8835 @endif bzip2
8837 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8838 maybe-install-info-bzip2:
8839 @if bzip2
8840 maybe-install-info-bzip2: install-info-bzip2
8842 install-info-bzip2: \
8843 configure-bzip2 \
8844 info-bzip2
8845 @: $(MAKE); $(unstage)
8846 @[ -f ./bzip2/Makefile ] || exit 0; \
8847 r=`${PWD_COMMAND}`; export r; \
8848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8849 $(HOST_EXPORTS) \
8850 for flag in $(EXTRA_HOST_FLAGS) ; do \
8851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8852 done; \
8853 echo "Doing install-info in bzip2" ; \
8854 (cd $(HOST_SUBDIR)/bzip2 && \
8855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8857 "RANLIB=$${RANLIB}" \
8858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8859 install-info) \
8860 || exit 1
8862 @endif bzip2
8864 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8865 maybe-install-pdf-bzip2:
8866 @if bzip2
8867 maybe-install-pdf-bzip2: install-pdf-bzip2
8869 install-pdf-bzip2: \
8870 configure-bzip2 \
8871 pdf-bzip2
8872 @: $(MAKE); $(unstage)
8873 @[ -f ./bzip2/Makefile ] || exit 0; \
8874 r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(HOST_EXPORTS) \
8877 for flag in $(EXTRA_HOST_FLAGS) ; do \
8878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8879 done; \
8880 echo "Doing install-pdf in bzip2" ; \
8881 (cd $(HOST_SUBDIR)/bzip2 && \
8882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8884 "RANLIB=$${RANLIB}" \
8885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8886 install-pdf) \
8887 || exit 1
8889 @endif bzip2
8891 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8892 maybe-install-html-bzip2:
8893 @if bzip2
8894 maybe-install-html-bzip2: install-html-bzip2
8896 install-html-bzip2: \
8897 configure-bzip2 \
8898 html-bzip2
8899 @: $(MAKE); $(unstage)
8900 @[ -f ./bzip2/Makefile ] || exit 0; \
8901 r=`${PWD_COMMAND}`; export r; \
8902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8903 $(HOST_EXPORTS) \
8904 for flag in $(EXTRA_HOST_FLAGS) ; do \
8905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8906 done; \
8907 echo "Doing install-html in bzip2" ; \
8908 (cd $(HOST_SUBDIR)/bzip2 && \
8909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8911 "RANLIB=$${RANLIB}" \
8912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8913 install-html) \
8914 || exit 1
8916 @endif bzip2
8918 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8919 maybe-installcheck-bzip2:
8920 @if bzip2
8921 maybe-installcheck-bzip2: installcheck-bzip2
8923 installcheck-bzip2: \
8924 configure-bzip2
8925 @: $(MAKE); $(unstage)
8926 @[ -f ./bzip2/Makefile ] || exit 0; \
8927 r=`${PWD_COMMAND}`; export r; \
8928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929 $(HOST_EXPORTS) \
8930 for flag in $(EXTRA_HOST_FLAGS) ; do \
8931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8932 done; \
8933 echo "Doing installcheck in bzip2" ; \
8934 (cd $(HOST_SUBDIR)/bzip2 && \
8935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8937 "RANLIB=$${RANLIB}" \
8938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8939 installcheck) \
8940 || exit 1
8942 @endif bzip2
8944 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8945 maybe-mostlyclean-bzip2:
8946 @if bzip2
8947 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8949 mostlyclean-bzip2:
8950 @: $(MAKE); $(unstage)
8951 @[ -f ./bzip2/Makefile ] || exit 0; \
8952 r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 $(HOST_EXPORTS) \
8955 for flag in $(EXTRA_HOST_FLAGS) ; do \
8956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8957 done; \
8958 echo "Doing mostlyclean in bzip2" ; \
8959 (cd $(HOST_SUBDIR)/bzip2 && \
8960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8962 "RANLIB=$${RANLIB}" \
8963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8964 mostlyclean) \
8965 || exit 1
8967 @endif bzip2
8969 .PHONY: maybe-clean-bzip2 clean-bzip2
8970 maybe-clean-bzip2:
8971 @if bzip2
8972 maybe-clean-bzip2: clean-bzip2
8974 clean-bzip2:
8975 @: $(MAKE); $(unstage)
8976 @[ -f ./bzip2/Makefile ] || exit 0; \
8977 r=`${PWD_COMMAND}`; export r; \
8978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8979 $(HOST_EXPORTS) \
8980 for flag in $(EXTRA_HOST_FLAGS) ; do \
8981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8982 done; \
8983 echo "Doing clean in bzip2" ; \
8984 (cd $(HOST_SUBDIR)/bzip2 && \
8985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8987 "RANLIB=$${RANLIB}" \
8988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8989 clean) \
8990 || exit 1
8992 @endif bzip2
8994 .PHONY: maybe-distclean-bzip2 distclean-bzip2
8995 maybe-distclean-bzip2:
8996 @if bzip2
8997 maybe-distclean-bzip2: distclean-bzip2
8999 distclean-bzip2:
9000 @: $(MAKE); $(unstage)
9001 @[ -f ./bzip2/Makefile ] || exit 0; \
9002 r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 $(HOST_EXPORTS) \
9005 for flag in $(EXTRA_HOST_FLAGS) ; do \
9006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007 done; \
9008 echo "Doing distclean in bzip2" ; \
9009 (cd $(HOST_SUBDIR)/bzip2 && \
9010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012 "RANLIB=$${RANLIB}" \
9013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9014 distclean) \
9015 || exit 1
9017 @endif bzip2
9019 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
9020 maybe-maintainer-clean-bzip2:
9021 @if bzip2
9022 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
9024 maintainer-clean-bzip2:
9025 @: $(MAKE); $(unstage)
9026 @[ -f ./bzip2/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(HOST_EXPORTS) \
9030 for flag in $(EXTRA_HOST_FLAGS) ; do \
9031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9032 done; \
9033 echo "Doing maintainer-clean in bzip2" ; \
9034 (cd $(HOST_SUBDIR)/bzip2 && \
9035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9037 "RANLIB=$${RANLIB}" \
9038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9039 maintainer-clean) \
9040 || exit 1
9042 @endif bzip2
9046 .PHONY: configure-cgen maybe-configure-cgen
9047 maybe-configure-cgen:
9048 @if gcc-bootstrap
9049 configure-cgen: stage_current
9050 @endif gcc-bootstrap
9051 @if cgen
9052 maybe-configure-cgen: configure-cgen
9053 configure-cgen:
9054 @: $(MAKE); $(unstage)
9055 @r=`${PWD_COMMAND}`; export r; \
9056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
9058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
9059 $(HOST_EXPORTS) \
9060 echo Configuring in $(HOST_SUBDIR)/cgen; \
9061 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
9062 case $(srcdir) in \
9063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9064 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
9065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9066 esac; \
9067 srcdiroption="--srcdir=$${topdir}/cgen"; \
9068 libsrcdir="$$s/cgen"; \
9069 $(SHELL) $${libsrcdir}/configure \
9070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9071 --target=${target_alias} $${srcdiroption} \
9072 || exit 1
9073 @endif cgen
9079 .PHONY: all-cgen maybe-all-cgen
9080 maybe-all-cgen:
9081 @if gcc-bootstrap
9082 all-cgen: stage_current
9083 @endif gcc-bootstrap
9084 @if cgen
9085 TARGET-cgen=all
9086 maybe-all-cgen: all-cgen
9087 all-cgen: configure-cgen
9088 @: $(MAKE); $(unstage)
9089 @r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 (cd $(HOST_SUBDIR)/cgen && \
9093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9094 $(TARGET-cgen))
9095 @endif cgen
9100 .PHONY: check-cgen maybe-check-cgen
9101 maybe-check-cgen:
9102 @if cgen
9103 maybe-check-cgen: check-cgen
9105 check-cgen:
9106 @: $(MAKE); $(unstage)
9107 @r=`${PWD_COMMAND}`; export r; \
9108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 $(HOST_EXPORTS) \
9110 (cd $(HOST_SUBDIR)/cgen && \
9111 $(MAKE) $(FLAGS_TO_PASS) check)
9113 @endif cgen
9115 .PHONY: install-cgen maybe-install-cgen
9116 maybe-install-cgen:
9117 @if cgen
9118 maybe-install-cgen: install-cgen
9120 install-cgen: installdirs
9121 @: $(MAKE); $(unstage)
9122 @r=`${PWD_COMMAND}`; export r; \
9123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9124 $(HOST_EXPORTS) \
9125 (cd $(HOST_SUBDIR)/cgen && \
9126 $(MAKE) $(FLAGS_TO_PASS) install)
9128 @endif cgen
9130 # Other targets (info, dvi, pdf, etc.)
9132 .PHONY: maybe-info-cgen info-cgen
9133 maybe-info-cgen:
9134 @if cgen
9135 maybe-info-cgen: info-cgen
9137 info-cgen: \
9138 configure-cgen
9139 @: $(MAKE); $(unstage)
9140 @[ -f ./cgen/Makefile ] || exit 0; \
9141 r=`${PWD_COMMAND}`; export r; \
9142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9143 $(HOST_EXPORTS) \
9144 for flag in $(EXTRA_HOST_FLAGS) ; do \
9145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9146 done; \
9147 echo "Doing info in cgen" ; \
9148 (cd $(HOST_SUBDIR)/cgen && \
9149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9151 "RANLIB=$${RANLIB}" \
9152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9153 info) \
9154 || exit 1
9156 @endif cgen
9158 .PHONY: maybe-dvi-cgen dvi-cgen
9159 maybe-dvi-cgen:
9160 @if cgen
9161 maybe-dvi-cgen: dvi-cgen
9163 dvi-cgen: \
9164 configure-cgen
9165 @: $(MAKE); $(unstage)
9166 @[ -f ./cgen/Makefile ] || exit 0; \
9167 r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(HOST_EXPORTS) \
9170 for flag in $(EXTRA_HOST_FLAGS) ; do \
9171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9172 done; \
9173 echo "Doing dvi in cgen" ; \
9174 (cd $(HOST_SUBDIR)/cgen && \
9175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9177 "RANLIB=$${RANLIB}" \
9178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9179 dvi) \
9180 || exit 1
9182 @endif cgen
9184 .PHONY: maybe-pdf-cgen pdf-cgen
9185 maybe-pdf-cgen:
9186 @if cgen
9187 maybe-pdf-cgen: pdf-cgen
9189 pdf-cgen: \
9190 configure-cgen
9191 @: $(MAKE); $(unstage)
9192 @[ -f ./cgen/Makefile ] || exit 0; \
9193 r=`${PWD_COMMAND}`; export r; \
9194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9195 $(HOST_EXPORTS) \
9196 for flag in $(EXTRA_HOST_FLAGS) ; do \
9197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9198 done; \
9199 echo "Doing pdf in cgen" ; \
9200 (cd $(HOST_SUBDIR)/cgen && \
9201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9203 "RANLIB=$${RANLIB}" \
9204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9205 pdf) \
9206 || exit 1
9208 @endif cgen
9210 .PHONY: maybe-html-cgen html-cgen
9211 maybe-html-cgen:
9212 @if cgen
9213 maybe-html-cgen: html-cgen
9215 html-cgen: \
9216 configure-cgen
9217 @: $(MAKE); $(unstage)
9218 @[ -f ./cgen/Makefile ] || exit 0; \
9219 r=`${PWD_COMMAND}`; export r; \
9220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 $(HOST_EXPORTS) \
9222 for flag in $(EXTRA_HOST_FLAGS) ; do \
9223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9224 done; \
9225 echo "Doing html in cgen" ; \
9226 (cd $(HOST_SUBDIR)/cgen && \
9227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9229 "RANLIB=$${RANLIB}" \
9230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9231 html) \
9232 || exit 1
9234 @endif cgen
9236 .PHONY: maybe-TAGS-cgen TAGS-cgen
9237 maybe-TAGS-cgen:
9238 @if cgen
9239 maybe-TAGS-cgen: TAGS-cgen
9241 TAGS-cgen: \
9242 configure-cgen
9243 @: $(MAKE); $(unstage)
9244 @[ -f ./cgen/Makefile ] || exit 0; \
9245 r=`${PWD_COMMAND}`; export r; \
9246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9247 $(HOST_EXPORTS) \
9248 for flag in $(EXTRA_HOST_FLAGS) ; do \
9249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9250 done; \
9251 echo "Doing TAGS in cgen" ; \
9252 (cd $(HOST_SUBDIR)/cgen && \
9253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9255 "RANLIB=$${RANLIB}" \
9256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9257 TAGS) \
9258 || exit 1
9260 @endif cgen
9262 .PHONY: maybe-install-info-cgen install-info-cgen
9263 maybe-install-info-cgen:
9264 @if cgen
9265 maybe-install-info-cgen: install-info-cgen
9267 install-info-cgen: \
9268 configure-cgen \
9269 info-cgen
9270 @: $(MAKE); $(unstage)
9271 @[ -f ./cgen/Makefile ] || exit 0; \
9272 r=`${PWD_COMMAND}`; export r; \
9273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9274 $(HOST_EXPORTS) \
9275 for flag in $(EXTRA_HOST_FLAGS) ; do \
9276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9277 done; \
9278 echo "Doing install-info in cgen" ; \
9279 (cd $(HOST_SUBDIR)/cgen && \
9280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9282 "RANLIB=$${RANLIB}" \
9283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9284 install-info) \
9285 || exit 1
9287 @endif cgen
9289 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
9290 maybe-install-pdf-cgen:
9291 @if cgen
9292 maybe-install-pdf-cgen: install-pdf-cgen
9294 install-pdf-cgen: \
9295 configure-cgen \
9296 pdf-cgen
9297 @: $(MAKE); $(unstage)
9298 @[ -f ./cgen/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304 done; \
9305 echo "Doing install-pdf in cgen" ; \
9306 (cd $(HOST_SUBDIR)/cgen && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9311 install-pdf) \
9312 || exit 1
9314 @endif cgen
9316 .PHONY: maybe-install-html-cgen install-html-cgen
9317 maybe-install-html-cgen:
9318 @if cgen
9319 maybe-install-html-cgen: install-html-cgen
9321 install-html-cgen: \
9322 configure-cgen \
9323 html-cgen
9324 @: $(MAKE); $(unstage)
9325 @[ -f ./cgen/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 for flag in $(EXTRA_HOST_FLAGS) ; do \
9330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 done; \
9332 echo "Doing install-html in cgen" ; \
9333 (cd $(HOST_SUBDIR)/cgen && \
9334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9336 "RANLIB=$${RANLIB}" \
9337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9338 install-html) \
9339 || exit 1
9341 @endif cgen
9343 .PHONY: maybe-installcheck-cgen installcheck-cgen
9344 maybe-installcheck-cgen:
9345 @if cgen
9346 maybe-installcheck-cgen: installcheck-cgen
9348 installcheck-cgen: \
9349 configure-cgen
9350 @: $(MAKE); $(unstage)
9351 @[ -f ./cgen/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 for flag in $(EXTRA_HOST_FLAGS) ; do \
9356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9357 done; \
9358 echo "Doing installcheck in cgen" ; \
9359 (cd $(HOST_SUBDIR)/cgen && \
9360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9362 "RANLIB=$${RANLIB}" \
9363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9364 installcheck) \
9365 || exit 1
9367 @endif cgen
9369 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
9370 maybe-mostlyclean-cgen:
9371 @if cgen
9372 maybe-mostlyclean-cgen: mostlyclean-cgen
9374 mostlyclean-cgen:
9375 @: $(MAKE); $(unstage)
9376 @[ -f ./cgen/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 done; \
9383 echo "Doing mostlyclean in cgen" ; \
9384 (cd $(HOST_SUBDIR)/cgen && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9389 mostlyclean) \
9390 || exit 1
9392 @endif cgen
9394 .PHONY: maybe-clean-cgen clean-cgen
9395 maybe-clean-cgen:
9396 @if cgen
9397 maybe-clean-cgen: clean-cgen
9399 clean-cgen:
9400 @: $(MAKE); $(unstage)
9401 @[ -f ./cgen/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(HOST_EXPORTS) \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing clean in cgen" ; \
9409 (cd $(HOST_SUBDIR)/cgen && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9414 clean) \
9415 || exit 1
9417 @endif cgen
9419 .PHONY: maybe-distclean-cgen distclean-cgen
9420 maybe-distclean-cgen:
9421 @if cgen
9422 maybe-distclean-cgen: distclean-cgen
9424 distclean-cgen:
9425 @: $(MAKE); $(unstage)
9426 @[ -f ./cgen/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9429 $(HOST_EXPORTS) \
9430 for flag in $(EXTRA_HOST_FLAGS) ; do \
9431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9432 done; \
9433 echo "Doing distclean in cgen" ; \
9434 (cd $(HOST_SUBDIR)/cgen && \
9435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9437 "RANLIB=$${RANLIB}" \
9438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9439 distclean) \
9440 || exit 1
9442 @endif cgen
9444 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
9445 maybe-maintainer-clean-cgen:
9446 @if cgen
9447 maybe-maintainer-clean-cgen: maintainer-clean-cgen
9449 maintainer-clean-cgen:
9450 @: $(MAKE); $(unstage)
9451 @[ -f ./cgen/Makefile ] || exit 0; \
9452 r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 $(HOST_EXPORTS) \
9455 for flag in $(EXTRA_HOST_FLAGS) ; do \
9456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9457 done; \
9458 echo "Doing maintainer-clean in cgen" ; \
9459 (cd $(HOST_SUBDIR)/cgen && \
9460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9462 "RANLIB=$${RANLIB}" \
9463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9464 maintainer-clean) \
9465 || exit 1
9467 @endif cgen
9471 .PHONY: configure-dejagnu maybe-configure-dejagnu
9472 maybe-configure-dejagnu:
9473 @if gcc-bootstrap
9474 configure-dejagnu: stage_current
9475 @endif gcc-bootstrap
9476 @if dejagnu
9477 maybe-configure-dejagnu: configure-dejagnu
9478 configure-dejagnu:
9479 @: $(MAKE); $(unstage)
9480 @r=`${PWD_COMMAND}`; export r; \
9481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9482 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
9483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
9484 $(HOST_EXPORTS) \
9485 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
9486 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9487 case $(srcdir) in \
9488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9489 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9491 esac; \
9492 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9493 libsrcdir="$$s/dejagnu"; \
9494 $(SHELL) $${libsrcdir}/configure \
9495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9496 --target=${target_alias} $${srcdiroption} \
9497 || exit 1
9498 @endif dejagnu
9504 .PHONY: all-dejagnu maybe-all-dejagnu
9505 maybe-all-dejagnu:
9506 @if gcc-bootstrap
9507 all-dejagnu: stage_current
9508 @endif gcc-bootstrap
9509 @if dejagnu
9510 TARGET-dejagnu=all
9511 maybe-all-dejagnu: all-dejagnu
9512 all-dejagnu: configure-dejagnu
9513 @: $(MAKE); $(unstage)
9514 @r=`${PWD_COMMAND}`; export r; \
9515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9516 $(HOST_EXPORTS) \
9517 (cd $(HOST_SUBDIR)/dejagnu && \
9518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9519 $(TARGET-dejagnu))
9520 @endif dejagnu
9525 .PHONY: check-dejagnu maybe-check-dejagnu
9526 maybe-check-dejagnu:
9527 @if dejagnu
9528 maybe-check-dejagnu: check-dejagnu
9530 check-dejagnu:
9531 @: $(MAKE); $(unstage)
9532 @r=`${PWD_COMMAND}`; export r; \
9533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9534 $(HOST_EXPORTS) \
9535 (cd $(HOST_SUBDIR)/dejagnu && \
9536 $(MAKE) $(FLAGS_TO_PASS) check)
9538 @endif dejagnu
9540 .PHONY: install-dejagnu maybe-install-dejagnu
9541 maybe-install-dejagnu:
9542 @if dejagnu
9543 maybe-install-dejagnu: install-dejagnu
9545 install-dejagnu: installdirs
9546 @: $(MAKE); $(unstage)
9547 @r=`${PWD_COMMAND}`; export r; \
9548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9549 $(HOST_EXPORTS) \
9550 (cd $(HOST_SUBDIR)/dejagnu && \
9551 $(MAKE) $(FLAGS_TO_PASS) install)
9553 @endif dejagnu
9555 # Other targets (info, dvi, pdf, etc.)
9557 .PHONY: maybe-info-dejagnu info-dejagnu
9558 maybe-info-dejagnu:
9559 @if dejagnu
9560 maybe-info-dejagnu: info-dejagnu
9562 info-dejagnu: \
9563 configure-dejagnu
9564 @: $(MAKE); $(unstage)
9565 @[ -f ./dejagnu/Makefile ] || exit 0; \
9566 r=`${PWD_COMMAND}`; export r; \
9567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9568 $(HOST_EXPORTS) \
9569 for flag in $(EXTRA_HOST_FLAGS) ; do \
9570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9571 done; \
9572 echo "Doing info in dejagnu" ; \
9573 (cd $(HOST_SUBDIR)/dejagnu && \
9574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9576 "RANLIB=$${RANLIB}" \
9577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9578 info) \
9579 || exit 1
9581 @endif dejagnu
9583 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9584 maybe-dvi-dejagnu:
9585 @if dejagnu
9586 maybe-dvi-dejagnu: dvi-dejagnu
9588 dvi-dejagnu: \
9589 configure-dejagnu
9590 @: $(MAKE); $(unstage)
9591 @[ -f ./dejagnu/Makefile ] || exit 0; \
9592 r=`${PWD_COMMAND}`; export r; \
9593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9594 $(HOST_EXPORTS) \
9595 for flag in $(EXTRA_HOST_FLAGS) ; do \
9596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9597 done; \
9598 echo "Doing dvi in dejagnu" ; \
9599 (cd $(HOST_SUBDIR)/dejagnu && \
9600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9602 "RANLIB=$${RANLIB}" \
9603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9604 dvi) \
9605 || exit 1
9607 @endif dejagnu
9609 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9610 maybe-pdf-dejagnu:
9611 @if dejagnu
9612 maybe-pdf-dejagnu: pdf-dejagnu
9614 pdf-dejagnu: \
9615 configure-dejagnu
9616 @: $(MAKE); $(unstage)
9617 @[ -f ./dejagnu/Makefile ] || exit 0; \
9618 r=`${PWD_COMMAND}`; export r; \
9619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9620 $(HOST_EXPORTS) \
9621 for flag in $(EXTRA_HOST_FLAGS) ; do \
9622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9623 done; \
9624 echo "Doing pdf in dejagnu" ; \
9625 (cd $(HOST_SUBDIR)/dejagnu && \
9626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9628 "RANLIB=$${RANLIB}" \
9629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9630 pdf) \
9631 || exit 1
9633 @endif dejagnu
9635 .PHONY: maybe-html-dejagnu html-dejagnu
9636 maybe-html-dejagnu:
9637 @if dejagnu
9638 maybe-html-dejagnu: html-dejagnu
9640 html-dejagnu: \
9641 configure-dejagnu
9642 @: $(MAKE); $(unstage)
9643 @[ -f ./dejagnu/Makefile ] || exit 0; \
9644 r=`${PWD_COMMAND}`; export r; \
9645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9646 $(HOST_EXPORTS) \
9647 for flag in $(EXTRA_HOST_FLAGS) ; do \
9648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9649 done; \
9650 echo "Doing html in dejagnu" ; \
9651 (cd $(HOST_SUBDIR)/dejagnu && \
9652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9654 "RANLIB=$${RANLIB}" \
9655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9656 html) \
9657 || exit 1
9659 @endif dejagnu
9661 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
9662 maybe-TAGS-dejagnu:
9663 @if dejagnu
9664 maybe-TAGS-dejagnu: TAGS-dejagnu
9666 TAGS-dejagnu: \
9667 configure-dejagnu
9668 @: $(MAKE); $(unstage)
9669 @[ -f ./dejagnu/Makefile ] || exit 0; \
9670 r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9672 $(HOST_EXPORTS) \
9673 for flag in $(EXTRA_HOST_FLAGS) ; do \
9674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9675 done; \
9676 echo "Doing TAGS in dejagnu" ; \
9677 (cd $(HOST_SUBDIR)/dejagnu && \
9678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9680 "RANLIB=$${RANLIB}" \
9681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9682 TAGS) \
9683 || exit 1
9685 @endif dejagnu
9687 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
9688 maybe-install-info-dejagnu:
9689 @if dejagnu
9690 maybe-install-info-dejagnu: install-info-dejagnu
9692 install-info-dejagnu: \
9693 configure-dejagnu \
9694 info-dejagnu
9695 @: $(MAKE); $(unstage)
9696 @[ -f ./dejagnu/Makefile ] || exit 0; \
9697 r=`${PWD_COMMAND}`; export r; \
9698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9699 $(HOST_EXPORTS) \
9700 for flag in $(EXTRA_HOST_FLAGS) ; do \
9701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9702 done; \
9703 echo "Doing install-info in dejagnu" ; \
9704 (cd $(HOST_SUBDIR)/dejagnu && \
9705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9707 "RANLIB=$${RANLIB}" \
9708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9709 install-info) \
9710 || exit 1
9712 @endif dejagnu
9714 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
9715 maybe-install-pdf-dejagnu:
9716 @if dejagnu
9717 maybe-install-pdf-dejagnu: install-pdf-dejagnu
9719 install-pdf-dejagnu: \
9720 configure-dejagnu \
9721 pdf-dejagnu
9722 @: $(MAKE); $(unstage)
9723 @[ -f ./dejagnu/Makefile ] || exit 0; \
9724 r=`${PWD_COMMAND}`; export r; \
9725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9726 $(HOST_EXPORTS) \
9727 for flag in $(EXTRA_HOST_FLAGS) ; do \
9728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9729 done; \
9730 echo "Doing install-pdf in dejagnu" ; \
9731 (cd $(HOST_SUBDIR)/dejagnu && \
9732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9734 "RANLIB=$${RANLIB}" \
9735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9736 install-pdf) \
9737 || exit 1
9739 @endif dejagnu
9741 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
9742 maybe-install-html-dejagnu:
9743 @if dejagnu
9744 maybe-install-html-dejagnu: install-html-dejagnu
9746 install-html-dejagnu: \
9747 configure-dejagnu \
9748 html-dejagnu
9749 @: $(MAKE); $(unstage)
9750 @[ -f ./dejagnu/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(HOST_EXPORTS) \
9754 for flag in $(EXTRA_HOST_FLAGS) ; do \
9755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9756 done; \
9757 echo "Doing install-html in dejagnu" ; \
9758 (cd $(HOST_SUBDIR)/dejagnu && \
9759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9761 "RANLIB=$${RANLIB}" \
9762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9763 install-html) \
9764 || exit 1
9766 @endif dejagnu
9768 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
9769 maybe-installcheck-dejagnu:
9770 @if dejagnu
9771 maybe-installcheck-dejagnu: installcheck-dejagnu
9773 installcheck-dejagnu: \
9774 configure-dejagnu
9775 @: $(MAKE); $(unstage)
9776 @[ -f ./dejagnu/Makefile ] || exit 0; \
9777 r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9779 $(HOST_EXPORTS) \
9780 for flag in $(EXTRA_HOST_FLAGS) ; do \
9781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9782 done; \
9783 echo "Doing installcheck in dejagnu" ; \
9784 (cd $(HOST_SUBDIR)/dejagnu && \
9785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9787 "RANLIB=$${RANLIB}" \
9788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9789 installcheck) \
9790 || exit 1
9792 @endif dejagnu
9794 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
9795 maybe-mostlyclean-dejagnu:
9796 @if dejagnu
9797 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
9799 mostlyclean-dejagnu:
9800 @: $(MAKE); $(unstage)
9801 @[ -f ./dejagnu/Makefile ] || exit 0; \
9802 r=`${PWD_COMMAND}`; export r; \
9803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9804 $(HOST_EXPORTS) \
9805 for flag in $(EXTRA_HOST_FLAGS) ; do \
9806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9807 done; \
9808 echo "Doing mostlyclean in dejagnu" ; \
9809 (cd $(HOST_SUBDIR)/dejagnu && \
9810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9812 "RANLIB=$${RANLIB}" \
9813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9814 mostlyclean) \
9815 || exit 1
9817 @endif dejagnu
9819 .PHONY: maybe-clean-dejagnu clean-dejagnu
9820 maybe-clean-dejagnu:
9821 @if dejagnu
9822 maybe-clean-dejagnu: clean-dejagnu
9824 clean-dejagnu:
9825 @: $(MAKE); $(unstage)
9826 @[ -f ./dejagnu/Makefile ] || exit 0; \
9827 r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(HOST_EXPORTS) \
9830 for flag in $(EXTRA_HOST_FLAGS) ; do \
9831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9832 done; \
9833 echo "Doing clean in dejagnu" ; \
9834 (cd $(HOST_SUBDIR)/dejagnu && \
9835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9837 "RANLIB=$${RANLIB}" \
9838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9839 clean) \
9840 || exit 1
9842 @endif dejagnu
9844 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
9845 maybe-distclean-dejagnu:
9846 @if dejagnu
9847 maybe-distclean-dejagnu: distclean-dejagnu
9849 distclean-dejagnu:
9850 @: $(MAKE); $(unstage)
9851 @[ -f ./dejagnu/Makefile ] || exit 0; \
9852 r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 $(HOST_EXPORTS) \
9855 for flag in $(EXTRA_HOST_FLAGS) ; do \
9856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9857 done; \
9858 echo "Doing distclean in dejagnu" ; \
9859 (cd $(HOST_SUBDIR)/dejagnu && \
9860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9862 "RANLIB=$${RANLIB}" \
9863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9864 distclean) \
9865 || exit 1
9867 @endif dejagnu
9869 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
9870 maybe-maintainer-clean-dejagnu:
9871 @if dejagnu
9872 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
9874 maintainer-clean-dejagnu:
9875 @: $(MAKE); $(unstage)
9876 @[ -f ./dejagnu/Makefile ] || exit 0; \
9877 r=`${PWD_COMMAND}`; export r; \
9878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9879 $(HOST_EXPORTS) \
9880 for flag in $(EXTRA_HOST_FLAGS) ; do \
9881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9882 done; \
9883 echo "Doing maintainer-clean in dejagnu" ; \
9884 (cd $(HOST_SUBDIR)/dejagnu && \
9885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9887 "RANLIB=$${RANLIB}" \
9888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9889 maintainer-clean) \
9890 || exit 1
9892 @endif dejagnu
9896 .PHONY: configure-diff maybe-configure-diff
9897 maybe-configure-diff:
9898 @if gcc-bootstrap
9899 configure-diff: stage_current
9900 @endif gcc-bootstrap
9901 @if diff
9902 maybe-configure-diff: configure-diff
9903 configure-diff:
9904 @: $(MAKE); $(unstage)
9905 @r=`${PWD_COMMAND}`; export r; \
9906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9907 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
9908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
9909 $(HOST_EXPORTS) \
9910 echo Configuring in $(HOST_SUBDIR)/diff; \
9911 cd "$(HOST_SUBDIR)/diff" || exit 1; \
9912 case $(srcdir) in \
9913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9914 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
9915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9916 esac; \
9917 srcdiroption="--srcdir=$${topdir}/diff"; \
9918 libsrcdir="$$s/diff"; \
9919 $(SHELL) $${libsrcdir}/configure \
9920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9921 --target=${target_alias} $${srcdiroption} \
9922 || exit 1
9923 @endif diff
9929 .PHONY: all-diff maybe-all-diff
9930 maybe-all-diff:
9931 @if gcc-bootstrap
9932 all-diff: stage_current
9933 @endif gcc-bootstrap
9934 @if diff
9935 TARGET-diff=all
9936 maybe-all-diff: all-diff
9937 all-diff: configure-diff
9938 @: $(MAKE); $(unstage)
9939 @r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 $(HOST_EXPORTS) \
9942 (cd $(HOST_SUBDIR)/diff && \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9944 $(TARGET-diff))
9945 @endif diff
9950 .PHONY: check-diff maybe-check-diff
9951 maybe-check-diff:
9952 @if diff
9953 maybe-check-diff: check-diff
9955 check-diff:
9956 @: $(MAKE); $(unstage)
9957 @r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959 $(HOST_EXPORTS) \
9960 (cd $(HOST_SUBDIR)/diff && \
9961 $(MAKE) $(FLAGS_TO_PASS) check)
9963 @endif diff
9965 .PHONY: install-diff maybe-install-diff
9966 maybe-install-diff:
9967 @if diff
9968 maybe-install-diff: install-diff
9970 install-diff: installdirs
9971 @: $(MAKE); $(unstage)
9972 @r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 (cd $(HOST_SUBDIR)/diff && \
9976 $(MAKE) $(FLAGS_TO_PASS) install)
9978 @endif diff
9980 # Other targets (info, dvi, pdf, etc.)
9982 .PHONY: maybe-info-diff info-diff
9983 maybe-info-diff:
9984 @if diff
9985 maybe-info-diff: info-diff
9987 info-diff: \
9988 configure-diff
9989 @: $(MAKE); $(unstage)
9990 @[ -f ./diff/Makefile ] || exit 0; \
9991 r=`${PWD_COMMAND}`; export r; \
9992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9993 $(HOST_EXPORTS) \
9994 for flag in $(EXTRA_HOST_FLAGS) ; do \
9995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9996 done; \
9997 echo "Doing info in diff" ; \
9998 (cd $(HOST_SUBDIR)/diff && \
9999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10001 "RANLIB=$${RANLIB}" \
10002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10003 info) \
10004 || exit 1
10006 @endif diff
10008 .PHONY: maybe-dvi-diff dvi-diff
10009 maybe-dvi-diff:
10010 @if diff
10011 maybe-dvi-diff: dvi-diff
10013 dvi-diff: \
10014 configure-diff
10015 @: $(MAKE); $(unstage)
10016 @[ -f ./diff/Makefile ] || exit 0; \
10017 r=`${PWD_COMMAND}`; export r; \
10018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10019 $(HOST_EXPORTS) \
10020 for flag in $(EXTRA_HOST_FLAGS) ; do \
10021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10022 done; \
10023 echo "Doing dvi in diff" ; \
10024 (cd $(HOST_SUBDIR)/diff && \
10025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10027 "RANLIB=$${RANLIB}" \
10028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10029 dvi) \
10030 || exit 1
10032 @endif diff
10034 .PHONY: maybe-pdf-diff pdf-diff
10035 maybe-pdf-diff:
10036 @if diff
10037 maybe-pdf-diff: pdf-diff
10039 pdf-diff: \
10040 configure-diff
10041 @: $(MAKE); $(unstage)
10042 @[ -f ./diff/Makefile ] || exit 0; \
10043 r=`${PWD_COMMAND}`; export r; \
10044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10045 $(HOST_EXPORTS) \
10046 for flag in $(EXTRA_HOST_FLAGS) ; do \
10047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10048 done; \
10049 echo "Doing pdf in diff" ; \
10050 (cd $(HOST_SUBDIR)/diff && \
10051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10053 "RANLIB=$${RANLIB}" \
10054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10055 pdf) \
10056 || exit 1
10058 @endif diff
10060 .PHONY: maybe-html-diff html-diff
10061 maybe-html-diff:
10062 @if diff
10063 maybe-html-diff: html-diff
10065 html-diff: \
10066 configure-diff
10067 @: $(MAKE); $(unstage)
10068 @[ -f ./diff/Makefile ] || exit 0; \
10069 r=`${PWD_COMMAND}`; export r; \
10070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10071 $(HOST_EXPORTS) \
10072 for flag in $(EXTRA_HOST_FLAGS) ; do \
10073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10074 done; \
10075 echo "Doing html in diff" ; \
10076 (cd $(HOST_SUBDIR)/diff && \
10077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10079 "RANLIB=$${RANLIB}" \
10080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10081 html) \
10082 || exit 1
10084 @endif diff
10086 .PHONY: maybe-TAGS-diff TAGS-diff
10087 maybe-TAGS-diff:
10088 @if diff
10089 maybe-TAGS-diff: TAGS-diff
10091 TAGS-diff: \
10092 configure-diff
10093 @: $(MAKE); $(unstage)
10094 @[ -f ./diff/Makefile ] || exit 0; \
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 $(HOST_EXPORTS) \
10098 for flag in $(EXTRA_HOST_FLAGS) ; do \
10099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10100 done; \
10101 echo "Doing TAGS in diff" ; \
10102 (cd $(HOST_SUBDIR)/diff && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10107 TAGS) \
10108 || exit 1
10110 @endif diff
10112 .PHONY: maybe-install-info-diff install-info-diff
10113 maybe-install-info-diff:
10114 @if diff
10115 maybe-install-info-diff: install-info-diff
10117 install-info-diff: \
10118 configure-diff \
10119 info-diff
10120 @: $(MAKE); $(unstage)
10121 @[ -f ./diff/Makefile ] || exit 0; \
10122 r=`${PWD_COMMAND}`; export r; \
10123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10124 $(HOST_EXPORTS) \
10125 for flag in $(EXTRA_HOST_FLAGS) ; do \
10126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10127 done; \
10128 echo "Doing install-info in diff" ; \
10129 (cd $(HOST_SUBDIR)/diff && \
10130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10132 "RANLIB=$${RANLIB}" \
10133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10134 install-info) \
10135 || exit 1
10137 @endif diff
10139 .PHONY: maybe-install-pdf-diff install-pdf-diff
10140 maybe-install-pdf-diff:
10141 @if diff
10142 maybe-install-pdf-diff: install-pdf-diff
10144 install-pdf-diff: \
10145 configure-diff \
10146 pdf-diff
10147 @: $(MAKE); $(unstage)
10148 @[ -f ./diff/Makefile ] || exit 0; \
10149 r=`${PWD_COMMAND}`; export r; \
10150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10151 $(HOST_EXPORTS) \
10152 for flag in $(EXTRA_HOST_FLAGS) ; do \
10153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10154 done; \
10155 echo "Doing install-pdf in diff" ; \
10156 (cd $(HOST_SUBDIR)/diff && \
10157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10159 "RANLIB=$${RANLIB}" \
10160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10161 install-pdf) \
10162 || exit 1
10164 @endif diff
10166 .PHONY: maybe-install-html-diff install-html-diff
10167 maybe-install-html-diff:
10168 @if diff
10169 maybe-install-html-diff: install-html-diff
10171 install-html-diff: \
10172 configure-diff \
10173 html-diff
10174 @: $(MAKE); $(unstage)
10175 @[ -f ./diff/Makefile ] || exit 0; \
10176 r=`${PWD_COMMAND}`; export r; \
10177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10178 $(HOST_EXPORTS) \
10179 for flag in $(EXTRA_HOST_FLAGS) ; do \
10180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10181 done; \
10182 echo "Doing install-html in diff" ; \
10183 (cd $(HOST_SUBDIR)/diff && \
10184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10186 "RANLIB=$${RANLIB}" \
10187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10188 install-html) \
10189 || exit 1
10191 @endif diff
10193 .PHONY: maybe-installcheck-diff installcheck-diff
10194 maybe-installcheck-diff:
10195 @if diff
10196 maybe-installcheck-diff: installcheck-diff
10198 installcheck-diff: \
10199 configure-diff
10200 @: $(MAKE); $(unstage)
10201 @[ -f ./diff/Makefile ] || exit 0; \
10202 r=`${PWD_COMMAND}`; export r; \
10203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 $(HOST_EXPORTS) \
10205 for flag in $(EXTRA_HOST_FLAGS) ; do \
10206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10207 done; \
10208 echo "Doing installcheck in diff" ; \
10209 (cd $(HOST_SUBDIR)/diff && \
10210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10212 "RANLIB=$${RANLIB}" \
10213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10214 installcheck) \
10215 || exit 1
10217 @endif diff
10219 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
10220 maybe-mostlyclean-diff:
10221 @if diff
10222 maybe-mostlyclean-diff: mostlyclean-diff
10224 mostlyclean-diff:
10225 @: $(MAKE); $(unstage)
10226 @[ -f ./diff/Makefile ] || exit 0; \
10227 r=`${PWD_COMMAND}`; export r; \
10228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10229 $(HOST_EXPORTS) \
10230 for flag in $(EXTRA_HOST_FLAGS) ; do \
10231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10232 done; \
10233 echo "Doing mostlyclean in diff" ; \
10234 (cd $(HOST_SUBDIR)/diff && \
10235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10237 "RANLIB=$${RANLIB}" \
10238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10239 mostlyclean) \
10240 || exit 1
10242 @endif diff
10244 .PHONY: maybe-clean-diff clean-diff
10245 maybe-clean-diff:
10246 @if diff
10247 maybe-clean-diff: clean-diff
10249 clean-diff:
10250 @: $(MAKE); $(unstage)
10251 @[ -f ./diff/Makefile ] || exit 0; \
10252 r=`${PWD_COMMAND}`; export r; \
10253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10254 $(HOST_EXPORTS) \
10255 for flag in $(EXTRA_HOST_FLAGS) ; do \
10256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10257 done; \
10258 echo "Doing clean in diff" ; \
10259 (cd $(HOST_SUBDIR)/diff && \
10260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10262 "RANLIB=$${RANLIB}" \
10263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10264 clean) \
10265 || exit 1
10267 @endif diff
10269 .PHONY: maybe-distclean-diff distclean-diff
10270 maybe-distclean-diff:
10271 @if diff
10272 maybe-distclean-diff: distclean-diff
10274 distclean-diff:
10275 @: $(MAKE); $(unstage)
10276 @[ -f ./diff/Makefile ] || exit 0; \
10277 r=`${PWD_COMMAND}`; export r; \
10278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10279 $(HOST_EXPORTS) \
10280 for flag in $(EXTRA_HOST_FLAGS) ; do \
10281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10282 done; \
10283 echo "Doing distclean in diff" ; \
10284 (cd $(HOST_SUBDIR)/diff && \
10285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10287 "RANLIB=$${RANLIB}" \
10288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10289 distclean) \
10290 || exit 1
10292 @endif diff
10294 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
10295 maybe-maintainer-clean-diff:
10296 @if diff
10297 maybe-maintainer-clean-diff: maintainer-clean-diff
10299 maintainer-clean-diff:
10300 @: $(MAKE); $(unstage)
10301 @[ -f ./diff/Makefile ] || exit 0; \
10302 r=`${PWD_COMMAND}`; export r; \
10303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10304 $(HOST_EXPORTS) \
10305 for flag in $(EXTRA_HOST_FLAGS) ; do \
10306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10307 done; \
10308 echo "Doing maintainer-clean in diff" ; \
10309 (cd $(HOST_SUBDIR)/diff && \
10310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10312 "RANLIB=$${RANLIB}" \
10313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10314 maintainer-clean) \
10315 || exit 1
10317 @endif diff
10321 .PHONY: configure-dosutils maybe-configure-dosutils
10322 maybe-configure-dosutils:
10323 @if gcc-bootstrap
10324 configure-dosutils: stage_current
10325 @endif gcc-bootstrap
10326 @if dosutils
10327 maybe-configure-dosutils: configure-dosutils
10328 configure-dosutils:
10329 @: $(MAKE); $(unstage)
10330 @r=`${PWD_COMMAND}`; export r; \
10331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10332 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
10333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
10334 $(HOST_EXPORTS) \
10335 echo Configuring in $(HOST_SUBDIR)/dosutils; \
10336 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
10337 case $(srcdir) in \
10338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10339 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
10340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10341 esac; \
10342 srcdiroption="--srcdir=$${topdir}/dosutils"; \
10343 libsrcdir="$$s/dosutils"; \
10344 $(SHELL) $${libsrcdir}/configure \
10345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10346 --target=${target_alias} $${srcdiroption} \
10347 || exit 1
10348 @endif dosutils
10354 .PHONY: all-dosutils maybe-all-dosutils
10355 maybe-all-dosutils:
10356 @if gcc-bootstrap
10357 all-dosutils: stage_current
10358 @endif gcc-bootstrap
10359 @if dosutils
10360 TARGET-dosutils=all
10361 maybe-all-dosutils: all-dosutils
10362 all-dosutils: configure-dosutils
10363 @: $(MAKE); $(unstage)
10364 @r=`${PWD_COMMAND}`; export r; \
10365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10366 $(HOST_EXPORTS) \
10367 (cd $(HOST_SUBDIR)/dosutils && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10369 $(TARGET-dosutils))
10370 @endif dosutils
10375 .PHONY: check-dosutils maybe-check-dosutils
10376 maybe-check-dosutils:
10377 @if dosutils
10378 maybe-check-dosutils: check-dosutils
10380 check-dosutils:
10382 @endif dosutils
10384 .PHONY: install-dosutils maybe-install-dosutils
10385 maybe-install-dosutils:
10386 @if dosutils
10387 maybe-install-dosutils: install-dosutils
10389 install-dosutils: installdirs
10390 @: $(MAKE); $(unstage)
10391 @r=`${PWD_COMMAND}`; export r; \
10392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10393 $(HOST_EXPORTS) \
10394 (cd $(HOST_SUBDIR)/dosutils && \
10395 $(MAKE) $(FLAGS_TO_PASS) install)
10397 @endif dosutils
10399 # Other targets (info, dvi, pdf, etc.)
10401 .PHONY: maybe-info-dosutils info-dosutils
10402 maybe-info-dosutils:
10403 @if dosutils
10404 maybe-info-dosutils: info-dosutils
10406 info-dosutils: \
10407 configure-dosutils
10408 @: $(MAKE); $(unstage)
10409 @[ -f ./dosutils/Makefile ] || exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(HOST_EXPORTS) \
10413 for flag in $(EXTRA_HOST_FLAGS) ; do \
10414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10415 done; \
10416 echo "Doing info in dosutils" ; \
10417 (cd $(HOST_SUBDIR)/dosutils && \
10418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10420 "RANLIB=$${RANLIB}" \
10421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10422 info) \
10423 || exit 1
10425 @endif dosutils
10427 .PHONY: maybe-dvi-dosutils dvi-dosutils
10428 maybe-dvi-dosutils:
10429 @if dosutils
10430 maybe-dvi-dosutils: dvi-dosutils
10432 dvi-dosutils: \
10433 configure-dosutils
10434 @: $(MAKE); $(unstage)
10435 @[ -f ./dosutils/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(HOST_EXPORTS) \
10439 for flag in $(EXTRA_HOST_FLAGS) ; do \
10440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10441 done; \
10442 echo "Doing dvi in dosutils" ; \
10443 (cd $(HOST_SUBDIR)/dosutils && \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10446 "RANLIB=$${RANLIB}" \
10447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10448 dvi) \
10449 || exit 1
10451 @endif dosutils
10453 .PHONY: maybe-pdf-dosutils pdf-dosutils
10454 maybe-pdf-dosutils:
10455 @if dosutils
10456 maybe-pdf-dosutils: pdf-dosutils
10458 pdf-dosutils: \
10459 configure-dosutils
10460 @: $(MAKE); $(unstage)
10461 @[ -f ./dosutils/Makefile ] || exit 0; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 for flag in $(EXTRA_HOST_FLAGS) ; do \
10466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10467 done; \
10468 echo "Doing pdf in dosutils" ; \
10469 (cd $(HOST_SUBDIR)/dosutils && \
10470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472 "RANLIB=$${RANLIB}" \
10473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10474 pdf) \
10475 || exit 1
10477 @endif dosutils
10479 .PHONY: maybe-html-dosutils html-dosutils
10480 maybe-html-dosutils:
10481 @if dosutils
10482 maybe-html-dosutils: html-dosutils
10484 html-dosutils: \
10485 configure-dosutils
10486 @: $(MAKE); $(unstage)
10487 @[ -f ./dosutils/Makefile ] || exit 0; \
10488 r=`${PWD_COMMAND}`; export r; \
10489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 $(HOST_EXPORTS) \
10491 for flag in $(EXTRA_HOST_FLAGS) ; do \
10492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10493 done; \
10494 echo "Doing html in dosutils" ; \
10495 (cd $(HOST_SUBDIR)/dosutils && \
10496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10498 "RANLIB=$${RANLIB}" \
10499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10500 html) \
10501 || exit 1
10503 @endif dosutils
10505 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10506 maybe-TAGS-dosutils:
10507 @if dosutils
10508 maybe-TAGS-dosutils: TAGS-dosutils
10510 TAGS-dosutils: \
10511 configure-dosutils
10512 @: $(MAKE); $(unstage)
10513 @[ -f ./dosutils/Makefile ] || exit 0; \
10514 r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 $(HOST_EXPORTS) \
10517 for flag in $(EXTRA_HOST_FLAGS) ; do \
10518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10519 done; \
10520 echo "Doing TAGS in dosutils" ; \
10521 (cd $(HOST_SUBDIR)/dosutils && \
10522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10524 "RANLIB=$${RANLIB}" \
10525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10526 TAGS) \
10527 || exit 1
10529 @endif dosutils
10531 .PHONY: maybe-install-info-dosutils install-info-dosutils
10532 maybe-install-info-dosutils:
10533 @if dosutils
10534 maybe-install-info-dosutils: install-info-dosutils
10536 install-info-dosutils: \
10537 configure-dosutils \
10538 info-dosutils
10539 @: $(MAKE); $(unstage)
10540 @[ -f ./dosutils/Makefile ] || exit 0; \
10541 r=`${PWD_COMMAND}`; export r; \
10542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10543 $(HOST_EXPORTS) \
10544 for flag in $(EXTRA_HOST_FLAGS) ; do \
10545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10546 done; \
10547 echo "Doing install-info in dosutils" ; \
10548 (cd $(HOST_SUBDIR)/dosutils && \
10549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10551 "RANLIB=$${RANLIB}" \
10552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10553 install-info) \
10554 || exit 1
10556 @endif dosutils
10558 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10559 maybe-install-pdf-dosutils:
10560 @if dosutils
10561 maybe-install-pdf-dosutils: install-pdf-dosutils
10563 install-pdf-dosutils: \
10564 configure-dosutils \
10565 pdf-dosutils
10566 @: $(MAKE); $(unstage)
10567 @[ -f ./dosutils/Makefile ] || exit 0; \
10568 r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570 $(HOST_EXPORTS) \
10571 for flag in $(EXTRA_HOST_FLAGS) ; do \
10572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10573 done; \
10574 echo "Doing install-pdf in dosutils" ; \
10575 (cd $(HOST_SUBDIR)/dosutils && \
10576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10578 "RANLIB=$${RANLIB}" \
10579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10580 install-pdf) \
10581 || exit 1
10583 @endif dosutils
10585 .PHONY: maybe-install-html-dosutils install-html-dosutils
10586 maybe-install-html-dosutils:
10587 @if dosutils
10588 maybe-install-html-dosutils: install-html-dosutils
10590 install-html-dosutils: \
10591 configure-dosutils \
10592 html-dosutils
10593 @: $(MAKE); $(unstage)
10594 @[ -f ./dosutils/Makefile ] || exit 0; \
10595 r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 $(HOST_EXPORTS) \
10598 for flag in $(EXTRA_HOST_FLAGS) ; do \
10599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10600 done; \
10601 echo "Doing install-html in dosutils" ; \
10602 (cd $(HOST_SUBDIR)/dosutils && \
10603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10605 "RANLIB=$${RANLIB}" \
10606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10607 install-html) \
10608 || exit 1
10610 @endif dosutils
10612 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
10613 maybe-installcheck-dosutils:
10614 @if dosutils
10615 maybe-installcheck-dosutils: installcheck-dosutils
10617 installcheck-dosutils: \
10618 configure-dosutils
10619 @: $(MAKE); $(unstage)
10620 @[ -f ./dosutils/Makefile ] || exit 0; \
10621 r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10623 $(HOST_EXPORTS) \
10624 for flag in $(EXTRA_HOST_FLAGS) ; do \
10625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10626 done; \
10627 echo "Doing installcheck in dosutils" ; \
10628 (cd $(HOST_SUBDIR)/dosutils && \
10629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10631 "RANLIB=$${RANLIB}" \
10632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10633 installcheck) \
10634 || exit 1
10636 @endif dosutils
10638 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10639 maybe-mostlyclean-dosutils:
10640 @if dosutils
10641 maybe-mostlyclean-dosutils: mostlyclean-dosutils
10643 mostlyclean-dosutils:
10644 @: $(MAKE); $(unstage)
10645 @[ -f ./dosutils/Makefile ] || exit 0; \
10646 r=`${PWD_COMMAND}`; export r; \
10647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10648 $(HOST_EXPORTS) \
10649 for flag in $(EXTRA_HOST_FLAGS) ; do \
10650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10651 done; \
10652 echo "Doing mostlyclean in dosutils" ; \
10653 (cd $(HOST_SUBDIR)/dosutils && \
10654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10656 "RANLIB=$${RANLIB}" \
10657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10658 mostlyclean) \
10659 || exit 1
10661 @endif dosutils
10663 .PHONY: maybe-clean-dosutils clean-dosutils
10664 maybe-clean-dosutils:
10665 @if dosutils
10666 maybe-clean-dosutils: clean-dosutils
10668 clean-dosutils:
10669 @: $(MAKE); $(unstage)
10670 @[ -f ./dosutils/Makefile ] || exit 0; \
10671 r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 $(HOST_EXPORTS) \
10674 for flag in $(EXTRA_HOST_FLAGS) ; do \
10675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10676 done; \
10677 echo "Doing clean in dosutils" ; \
10678 (cd $(HOST_SUBDIR)/dosutils && \
10679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10681 "RANLIB=$${RANLIB}" \
10682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10683 clean) \
10684 || exit 1
10686 @endif dosutils
10688 .PHONY: maybe-distclean-dosutils distclean-dosutils
10689 maybe-distclean-dosutils:
10690 @if dosutils
10691 maybe-distclean-dosutils: distclean-dosutils
10693 distclean-dosutils:
10694 @: $(MAKE); $(unstage)
10695 @[ -f ./dosutils/Makefile ] || exit 0; \
10696 r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 $(HOST_EXPORTS) \
10699 for flag in $(EXTRA_HOST_FLAGS) ; do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10701 done; \
10702 echo "Doing distclean in dosutils" ; \
10703 (cd $(HOST_SUBDIR)/dosutils && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10708 distclean) \
10709 || exit 1
10711 @endif dosutils
10713 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
10714 maybe-maintainer-clean-dosutils:
10715 @if dosutils
10716 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
10718 maintainer-clean-dosutils:
10719 @: $(MAKE); $(unstage)
10720 @[ -f ./dosutils/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(HOST_EXPORTS) \
10724 for flag in $(EXTRA_HOST_FLAGS) ; do \
10725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10726 done; \
10727 echo "Doing maintainer-clean in dosutils" ; \
10728 (cd $(HOST_SUBDIR)/dosutils && \
10729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10731 "RANLIB=$${RANLIB}" \
10732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10733 maintainer-clean) \
10734 || exit 1
10736 @endif dosutils
10740 .PHONY: configure-etc maybe-configure-etc
10741 maybe-configure-etc:
10742 @if gcc-bootstrap
10743 configure-etc: stage_current
10744 @endif gcc-bootstrap
10745 @if etc
10746 maybe-configure-etc: configure-etc
10747 configure-etc:
10748 @: $(MAKE); $(unstage)
10749 @r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
10752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
10753 $(HOST_EXPORTS) \
10754 echo Configuring in $(HOST_SUBDIR)/etc; \
10755 cd "$(HOST_SUBDIR)/etc" || exit 1; \
10756 case $(srcdir) in \
10757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10758 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
10759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10760 esac; \
10761 srcdiroption="--srcdir=$${topdir}/etc"; \
10762 libsrcdir="$$s/etc"; \
10763 $(SHELL) $${libsrcdir}/configure \
10764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10765 --target=${target_alias} $${srcdiroption} \
10766 || exit 1
10767 @endif etc
10773 .PHONY: all-etc maybe-all-etc
10774 maybe-all-etc:
10775 @if gcc-bootstrap
10776 all-etc: stage_current
10777 @endif gcc-bootstrap
10778 @if etc
10779 TARGET-etc=all
10780 maybe-all-etc: all-etc
10781 all-etc: configure-etc
10782 @: $(MAKE); $(unstage)
10783 @r=`${PWD_COMMAND}`; export r; \
10784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10785 $(HOST_EXPORTS) \
10786 (cd $(HOST_SUBDIR)/etc && \
10787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10788 $(TARGET-etc))
10789 @endif etc
10794 .PHONY: check-etc maybe-check-etc
10795 maybe-check-etc:
10796 @if etc
10797 maybe-check-etc: check-etc
10799 check-etc:
10800 @: $(MAKE); $(unstage)
10801 @r=`${PWD_COMMAND}`; export r; \
10802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10803 $(HOST_EXPORTS) \
10804 (cd $(HOST_SUBDIR)/etc && \
10805 $(MAKE) $(FLAGS_TO_PASS) check)
10807 @endif etc
10809 .PHONY: install-etc maybe-install-etc
10810 maybe-install-etc:
10811 @if etc
10812 maybe-install-etc: install-etc
10814 install-etc: installdirs
10815 @: $(MAKE); $(unstage)
10816 @r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10818 $(HOST_EXPORTS) \
10819 (cd $(HOST_SUBDIR)/etc && \
10820 $(MAKE) $(FLAGS_TO_PASS) install)
10822 @endif etc
10824 # Other targets (info, dvi, pdf, etc.)
10826 .PHONY: maybe-info-etc info-etc
10827 maybe-info-etc:
10828 @if etc
10829 maybe-info-etc: info-etc
10831 info-etc: \
10832 configure-etc
10833 @: $(MAKE); $(unstage)
10834 @[ -f ./etc/Makefile ] || exit 0; \
10835 r=`${PWD_COMMAND}`; export r; \
10836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10837 $(HOST_EXPORTS) \
10838 for flag in $(EXTRA_HOST_FLAGS) ; do \
10839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10840 done; \
10841 echo "Doing info in etc" ; \
10842 (cd $(HOST_SUBDIR)/etc && \
10843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845 "RANLIB=$${RANLIB}" \
10846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10847 info) \
10848 || exit 1
10850 @endif etc
10852 .PHONY: maybe-dvi-etc dvi-etc
10853 maybe-dvi-etc:
10854 @if etc
10855 maybe-dvi-etc: dvi-etc
10857 dvi-etc: \
10858 configure-etc
10859 @: $(MAKE); $(unstage)
10860 @[ -f ./etc/Makefile ] || exit 0; \
10861 r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 $(HOST_EXPORTS) \
10864 for flag in $(EXTRA_HOST_FLAGS) ; do \
10865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10866 done; \
10867 echo "Doing dvi in etc" ; \
10868 (cd $(HOST_SUBDIR)/etc && \
10869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10871 "RANLIB=$${RANLIB}" \
10872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10873 dvi) \
10874 || exit 1
10876 @endif etc
10878 .PHONY: maybe-pdf-etc pdf-etc
10879 maybe-pdf-etc:
10880 @if etc
10881 maybe-pdf-etc: pdf-etc
10883 pdf-etc: \
10884 configure-etc
10885 @: $(MAKE); $(unstage)
10886 @[ -f ./etc/Makefile ] || exit 0; \
10887 r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 $(HOST_EXPORTS) \
10890 for flag in $(EXTRA_HOST_FLAGS) ; do \
10891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10892 done; \
10893 echo "Doing pdf in etc" ; \
10894 (cd $(HOST_SUBDIR)/etc && \
10895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10897 "RANLIB=$${RANLIB}" \
10898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10899 pdf) \
10900 || exit 1
10902 @endif etc
10904 .PHONY: maybe-html-etc html-etc
10905 maybe-html-etc:
10906 @if etc
10907 maybe-html-etc: html-etc
10909 html-etc: \
10910 configure-etc
10911 @: $(MAKE); $(unstage)
10912 @[ -f ./etc/Makefile ] || exit 0; \
10913 r=`${PWD_COMMAND}`; export r; \
10914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10915 $(HOST_EXPORTS) \
10916 for flag in $(EXTRA_HOST_FLAGS) ; do \
10917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10918 done; \
10919 echo "Doing html in etc" ; \
10920 (cd $(HOST_SUBDIR)/etc && \
10921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10923 "RANLIB=$${RANLIB}" \
10924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10925 html) \
10926 || exit 1
10928 @endif etc
10930 .PHONY: maybe-TAGS-etc TAGS-etc
10931 maybe-TAGS-etc:
10932 @if etc
10933 maybe-TAGS-etc: TAGS-etc
10935 TAGS-etc: \
10936 configure-etc
10937 @: $(MAKE); $(unstage)
10938 @[ -f ./etc/Makefile ] || exit 0; \
10939 r=`${PWD_COMMAND}`; export r; \
10940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10941 $(HOST_EXPORTS) \
10942 for flag in $(EXTRA_HOST_FLAGS) ; do \
10943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10944 done; \
10945 echo "Doing TAGS in etc" ; \
10946 (cd $(HOST_SUBDIR)/etc && \
10947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10949 "RANLIB=$${RANLIB}" \
10950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10951 TAGS) \
10952 || exit 1
10954 @endif etc
10956 .PHONY: maybe-install-info-etc install-info-etc
10957 maybe-install-info-etc:
10958 @if etc
10959 maybe-install-info-etc: install-info-etc
10961 install-info-etc: \
10962 configure-etc \
10963 info-etc
10964 @: $(MAKE); $(unstage)
10965 @[ -f ./etc/Makefile ] || exit 0; \
10966 r=`${PWD_COMMAND}`; export r; \
10967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 $(HOST_EXPORTS) \
10969 for flag in $(EXTRA_HOST_FLAGS) ; do \
10970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971 done; \
10972 echo "Doing install-info in etc" ; \
10973 (cd $(HOST_SUBDIR)/etc && \
10974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976 "RANLIB=$${RANLIB}" \
10977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10978 install-info) \
10979 || exit 1
10981 @endif etc
10983 .PHONY: maybe-install-pdf-etc install-pdf-etc
10984 maybe-install-pdf-etc:
10985 @if etc
10986 maybe-install-pdf-etc: install-pdf-etc
10988 install-pdf-etc: \
10989 configure-etc \
10990 pdf-etc
10991 @: $(MAKE); $(unstage)
10992 @[ -f ./etc/Makefile ] || exit 0; \
10993 r=`${PWD_COMMAND}`; export r; \
10994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10995 $(HOST_EXPORTS) \
10996 for flag in $(EXTRA_HOST_FLAGS) ; do \
10997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10998 done; \
10999 echo "Doing install-pdf in etc" ; \
11000 (cd $(HOST_SUBDIR)/etc && \
11001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11003 "RANLIB=$${RANLIB}" \
11004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11005 install-pdf) \
11006 || exit 1
11008 @endif etc
11010 .PHONY: maybe-install-html-etc install-html-etc
11011 maybe-install-html-etc:
11012 @if etc
11013 maybe-install-html-etc: install-html-etc
11015 install-html-etc: \
11016 configure-etc \
11017 html-etc
11018 @: $(MAKE); $(unstage)
11019 @[ -f ./etc/Makefile ] || exit 0; \
11020 r=`${PWD_COMMAND}`; export r; \
11021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11022 $(HOST_EXPORTS) \
11023 for flag in $(EXTRA_HOST_FLAGS) ; do \
11024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11025 done; \
11026 echo "Doing install-html in etc" ; \
11027 (cd $(HOST_SUBDIR)/etc && \
11028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11030 "RANLIB=$${RANLIB}" \
11031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11032 install-html) \
11033 || exit 1
11035 @endif etc
11037 .PHONY: maybe-installcheck-etc installcheck-etc
11038 maybe-installcheck-etc:
11039 @if etc
11040 maybe-installcheck-etc: installcheck-etc
11042 installcheck-etc: \
11043 configure-etc
11044 @: $(MAKE); $(unstage)
11045 @[ -f ./etc/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 $(HOST_EXPORTS) \
11049 for flag in $(EXTRA_HOST_FLAGS) ; do \
11050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11051 done; \
11052 echo "Doing installcheck in etc" ; \
11053 (cd $(HOST_SUBDIR)/etc && \
11054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11056 "RANLIB=$${RANLIB}" \
11057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11058 installcheck) \
11059 || exit 1
11061 @endif etc
11063 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
11064 maybe-mostlyclean-etc:
11065 @if etc
11066 maybe-mostlyclean-etc: mostlyclean-etc
11068 mostlyclean-etc:
11069 @: $(MAKE); $(unstage)
11070 @[ -f ./etc/Makefile ] || exit 0; \
11071 r=`${PWD_COMMAND}`; export r; \
11072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11073 $(HOST_EXPORTS) \
11074 for flag in $(EXTRA_HOST_FLAGS) ; do \
11075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11076 done; \
11077 echo "Doing mostlyclean in etc" ; \
11078 (cd $(HOST_SUBDIR)/etc && \
11079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11081 "RANLIB=$${RANLIB}" \
11082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11083 mostlyclean) \
11084 || exit 1
11086 @endif etc
11088 .PHONY: maybe-clean-etc clean-etc
11089 maybe-clean-etc:
11090 @if etc
11091 maybe-clean-etc: clean-etc
11093 clean-etc:
11094 @: $(MAKE); $(unstage)
11095 @[ -f ./etc/Makefile ] || exit 0; \
11096 r=`${PWD_COMMAND}`; export r; \
11097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11098 $(HOST_EXPORTS) \
11099 for flag in $(EXTRA_HOST_FLAGS) ; do \
11100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11101 done; \
11102 echo "Doing clean in etc" ; \
11103 (cd $(HOST_SUBDIR)/etc && \
11104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11106 "RANLIB=$${RANLIB}" \
11107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11108 clean) \
11109 || exit 1
11111 @endif etc
11113 .PHONY: maybe-distclean-etc distclean-etc
11114 maybe-distclean-etc:
11115 @if etc
11116 maybe-distclean-etc: distclean-etc
11118 distclean-etc:
11119 @: $(MAKE); $(unstage)
11120 @[ -f ./etc/Makefile ] || exit 0; \
11121 r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11123 $(HOST_EXPORTS) \
11124 for flag in $(EXTRA_HOST_FLAGS) ; do \
11125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11126 done; \
11127 echo "Doing distclean in etc" ; \
11128 (cd $(HOST_SUBDIR)/etc && \
11129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11131 "RANLIB=$${RANLIB}" \
11132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11133 distclean) \
11134 || exit 1
11136 @endif etc
11138 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
11139 maybe-maintainer-clean-etc:
11140 @if etc
11141 maybe-maintainer-clean-etc: maintainer-clean-etc
11143 maintainer-clean-etc:
11144 @: $(MAKE); $(unstage)
11145 @[ -f ./etc/Makefile ] || exit 0; \
11146 r=`${PWD_COMMAND}`; export r; \
11147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11148 $(HOST_EXPORTS) \
11149 for flag in $(EXTRA_HOST_FLAGS) ; do \
11150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11151 done; \
11152 echo "Doing maintainer-clean in etc" ; \
11153 (cd $(HOST_SUBDIR)/etc && \
11154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11156 "RANLIB=$${RANLIB}" \
11157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11158 maintainer-clean) \
11159 || exit 1
11161 @endif etc
11165 .PHONY: configure-fastjar maybe-configure-fastjar
11166 maybe-configure-fastjar:
11167 @if gcc-bootstrap
11168 configure-fastjar: stage_current
11169 @endif gcc-bootstrap
11170 @if fastjar
11171 maybe-configure-fastjar: configure-fastjar
11172 configure-fastjar:
11173 @: $(MAKE); $(unstage)
11174 @r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11176 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
11177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
11178 $(HOST_EXPORTS) \
11179 echo Configuring in $(HOST_SUBDIR)/fastjar; \
11180 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
11181 case $(srcdir) in \
11182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11183 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
11184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11185 esac; \
11186 srcdiroption="--srcdir=$${topdir}/fastjar"; \
11187 libsrcdir="$$s/fastjar"; \
11188 $(SHELL) $${libsrcdir}/configure \
11189 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11190 --target=${target_alias} $${srcdiroption} \
11191 || exit 1
11192 @endif fastjar
11198 .PHONY: all-fastjar maybe-all-fastjar
11199 maybe-all-fastjar:
11200 @if gcc-bootstrap
11201 all-fastjar: stage_current
11202 @endif gcc-bootstrap
11203 @if fastjar
11204 TARGET-fastjar=all
11205 maybe-all-fastjar: all-fastjar
11206 all-fastjar: configure-fastjar
11207 @: $(MAKE); $(unstage)
11208 @r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 $(HOST_EXPORTS) \
11211 (cd $(HOST_SUBDIR)/fastjar && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11213 $(TARGET-fastjar))
11214 @endif fastjar
11219 .PHONY: check-fastjar maybe-check-fastjar
11220 maybe-check-fastjar:
11221 @if fastjar
11222 maybe-check-fastjar: check-fastjar
11224 # This module is only tested in a native toolchain.
11225 check-fastjar:
11226 @: $(MAKE); $(unstage)
11227 @if [ '$(host)' = '$(target)' ] ; then \
11228 r=`${PWD_COMMAND}`; export r; \
11229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11230 $(HOST_EXPORTS) \
11231 (cd $(HOST_SUBDIR)/fastjar && \
11232 $(MAKE) $(FLAGS_TO_PASS) check); \
11235 @endif fastjar
11237 .PHONY: install-fastjar maybe-install-fastjar
11238 maybe-install-fastjar:
11239 @if fastjar
11240 maybe-install-fastjar: install-fastjar
11242 install-fastjar: installdirs
11243 @: $(MAKE); $(unstage)
11244 @r=`${PWD_COMMAND}`; export r; \
11245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11246 $(HOST_EXPORTS) \
11247 (cd $(HOST_SUBDIR)/fastjar && \
11248 $(MAKE) $(FLAGS_TO_PASS) install)
11250 @endif fastjar
11252 # Other targets (info, dvi, pdf, etc.)
11254 .PHONY: maybe-info-fastjar info-fastjar
11255 maybe-info-fastjar:
11256 @if fastjar
11257 maybe-info-fastjar: info-fastjar
11259 info-fastjar: \
11260 configure-fastjar
11261 @: $(MAKE); $(unstage)
11262 @[ -f ./fastjar/Makefile ] || exit 0; \
11263 r=`${PWD_COMMAND}`; export r; \
11264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11265 $(HOST_EXPORTS) \
11266 for flag in $(EXTRA_HOST_FLAGS) ; do \
11267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11268 done; \
11269 echo "Doing info in fastjar" ; \
11270 (cd $(HOST_SUBDIR)/fastjar && \
11271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11273 "RANLIB=$${RANLIB}" \
11274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11275 info) \
11276 || exit 1
11278 @endif fastjar
11280 .PHONY: maybe-dvi-fastjar dvi-fastjar
11281 maybe-dvi-fastjar:
11282 @if fastjar
11283 maybe-dvi-fastjar: dvi-fastjar
11285 dvi-fastjar: \
11286 configure-fastjar
11287 @: $(MAKE); $(unstage)
11288 @[ -f ./fastjar/Makefile ] || exit 0; \
11289 r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 $(HOST_EXPORTS) \
11292 for flag in $(EXTRA_HOST_FLAGS) ; do \
11293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11294 done; \
11295 echo "Doing dvi in fastjar" ; \
11296 (cd $(HOST_SUBDIR)/fastjar && \
11297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11299 "RANLIB=$${RANLIB}" \
11300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11301 dvi) \
11302 || exit 1
11304 @endif fastjar
11306 .PHONY: maybe-pdf-fastjar pdf-fastjar
11307 maybe-pdf-fastjar:
11308 @if fastjar
11309 maybe-pdf-fastjar: pdf-fastjar
11311 pdf-fastjar: \
11312 configure-fastjar
11313 @: $(MAKE); $(unstage)
11314 @[ -f ./fastjar/Makefile ] || exit 0; \
11315 r=`${PWD_COMMAND}`; export r; \
11316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11317 $(HOST_EXPORTS) \
11318 for flag in $(EXTRA_HOST_FLAGS) ; do \
11319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11320 done; \
11321 echo "Doing pdf in fastjar" ; \
11322 (cd $(HOST_SUBDIR)/fastjar && \
11323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11325 "RANLIB=$${RANLIB}" \
11326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11327 pdf) \
11328 || exit 1
11330 @endif fastjar
11332 .PHONY: maybe-html-fastjar html-fastjar
11333 maybe-html-fastjar:
11334 @if fastjar
11335 maybe-html-fastjar: html-fastjar
11337 html-fastjar: \
11338 configure-fastjar
11339 @: $(MAKE); $(unstage)
11340 @[ -f ./fastjar/Makefile ] || exit 0; \
11341 r=`${PWD_COMMAND}`; export r; \
11342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11343 $(HOST_EXPORTS) \
11344 for flag in $(EXTRA_HOST_FLAGS) ; do \
11345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11346 done; \
11347 echo "Doing html in fastjar" ; \
11348 (cd $(HOST_SUBDIR)/fastjar && \
11349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11351 "RANLIB=$${RANLIB}" \
11352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11353 html) \
11354 || exit 1
11356 @endif fastjar
11358 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
11359 maybe-TAGS-fastjar:
11360 @if fastjar
11361 maybe-TAGS-fastjar: TAGS-fastjar
11363 TAGS-fastjar: \
11364 configure-fastjar
11365 @: $(MAKE); $(unstage)
11366 @[ -f ./fastjar/Makefile ] || exit 0; \
11367 r=`${PWD_COMMAND}`; export r; \
11368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11369 $(HOST_EXPORTS) \
11370 for flag in $(EXTRA_HOST_FLAGS) ; do \
11371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11372 done; \
11373 echo "Doing TAGS in fastjar" ; \
11374 (cd $(HOST_SUBDIR)/fastjar && \
11375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377 "RANLIB=$${RANLIB}" \
11378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11379 TAGS) \
11380 || exit 1
11382 @endif fastjar
11384 .PHONY: maybe-install-info-fastjar install-info-fastjar
11385 maybe-install-info-fastjar:
11386 @if fastjar
11387 maybe-install-info-fastjar: install-info-fastjar
11389 install-info-fastjar: \
11390 configure-fastjar \
11391 info-fastjar
11392 @: $(MAKE); $(unstage)
11393 @[ -f ./fastjar/Makefile ] || exit 0; \
11394 r=`${PWD_COMMAND}`; export r; \
11395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11396 $(HOST_EXPORTS) \
11397 for flag in $(EXTRA_HOST_FLAGS) ; do \
11398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11399 done; \
11400 echo "Doing install-info in fastjar" ; \
11401 (cd $(HOST_SUBDIR)/fastjar && \
11402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11404 "RANLIB=$${RANLIB}" \
11405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11406 install-info) \
11407 || exit 1
11409 @endif fastjar
11411 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
11412 maybe-install-pdf-fastjar:
11413 @if fastjar
11414 maybe-install-pdf-fastjar: install-pdf-fastjar
11416 install-pdf-fastjar: \
11417 configure-fastjar \
11418 pdf-fastjar
11419 @: $(MAKE); $(unstage)
11420 @[ -f ./fastjar/Makefile ] || exit 0; \
11421 r=`${PWD_COMMAND}`; export r; \
11422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11423 $(HOST_EXPORTS) \
11424 for flag in $(EXTRA_HOST_FLAGS) ; do \
11425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11426 done; \
11427 echo "Doing install-pdf in fastjar" ; \
11428 (cd $(HOST_SUBDIR)/fastjar && \
11429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11431 "RANLIB=$${RANLIB}" \
11432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11433 install-pdf) \
11434 || exit 1
11436 @endif fastjar
11438 .PHONY: maybe-install-html-fastjar install-html-fastjar
11439 maybe-install-html-fastjar:
11440 @if fastjar
11441 maybe-install-html-fastjar: install-html-fastjar
11443 install-html-fastjar: \
11444 configure-fastjar \
11445 html-fastjar
11446 @: $(MAKE); $(unstage)
11447 @[ -f ./fastjar/Makefile ] || exit 0; \
11448 r=`${PWD_COMMAND}`; export r; \
11449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11450 $(HOST_EXPORTS) \
11451 for flag in $(EXTRA_HOST_FLAGS) ; do \
11452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11453 done; \
11454 echo "Doing install-html in fastjar" ; \
11455 (cd $(HOST_SUBDIR)/fastjar && \
11456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11458 "RANLIB=$${RANLIB}" \
11459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11460 install-html) \
11461 || exit 1
11463 @endif fastjar
11465 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
11466 maybe-installcheck-fastjar:
11467 @if fastjar
11468 maybe-installcheck-fastjar: installcheck-fastjar
11470 installcheck-fastjar: \
11471 configure-fastjar
11472 @: $(MAKE); $(unstage)
11473 @[ -f ./fastjar/Makefile ] || exit 0; \
11474 r=`${PWD_COMMAND}`; export r; \
11475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11476 $(HOST_EXPORTS) \
11477 for flag in $(EXTRA_HOST_FLAGS) ; do \
11478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11479 done; \
11480 echo "Doing installcheck in fastjar" ; \
11481 (cd $(HOST_SUBDIR)/fastjar && \
11482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11484 "RANLIB=$${RANLIB}" \
11485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11486 installcheck) \
11487 || exit 1
11489 @endif fastjar
11491 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11492 maybe-mostlyclean-fastjar:
11493 @if fastjar
11494 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11496 mostlyclean-fastjar:
11497 @: $(MAKE); $(unstage)
11498 @[ -f ./fastjar/Makefile ] || exit 0; \
11499 r=`${PWD_COMMAND}`; export r; \
11500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11501 $(HOST_EXPORTS) \
11502 for flag in $(EXTRA_HOST_FLAGS) ; do \
11503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11504 done; \
11505 echo "Doing mostlyclean in fastjar" ; \
11506 (cd $(HOST_SUBDIR)/fastjar && \
11507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11509 "RANLIB=$${RANLIB}" \
11510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11511 mostlyclean) \
11512 || exit 1
11514 @endif fastjar
11516 .PHONY: maybe-clean-fastjar clean-fastjar
11517 maybe-clean-fastjar:
11518 @if fastjar
11519 maybe-clean-fastjar: clean-fastjar
11521 clean-fastjar:
11522 @: $(MAKE); $(unstage)
11523 @[ -f ./fastjar/Makefile ] || exit 0; \
11524 r=`${PWD_COMMAND}`; export r; \
11525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11526 $(HOST_EXPORTS) \
11527 for flag in $(EXTRA_HOST_FLAGS) ; do \
11528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11529 done; \
11530 echo "Doing clean in fastjar" ; \
11531 (cd $(HOST_SUBDIR)/fastjar && \
11532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11534 "RANLIB=$${RANLIB}" \
11535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11536 clean) \
11537 || exit 1
11539 @endif fastjar
11541 .PHONY: maybe-distclean-fastjar distclean-fastjar
11542 maybe-distclean-fastjar:
11543 @if fastjar
11544 maybe-distclean-fastjar: distclean-fastjar
11546 distclean-fastjar:
11547 @: $(MAKE); $(unstage)
11548 @[ -f ./fastjar/Makefile ] || exit 0; \
11549 r=`${PWD_COMMAND}`; export r; \
11550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11551 $(HOST_EXPORTS) \
11552 for flag in $(EXTRA_HOST_FLAGS) ; do \
11553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11554 done; \
11555 echo "Doing distclean in fastjar" ; \
11556 (cd $(HOST_SUBDIR)/fastjar && \
11557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11559 "RANLIB=$${RANLIB}" \
11560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11561 distclean) \
11562 || exit 1
11564 @endif fastjar
11566 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11567 maybe-maintainer-clean-fastjar:
11568 @if fastjar
11569 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11571 maintainer-clean-fastjar:
11572 @: $(MAKE); $(unstage)
11573 @[ -f ./fastjar/Makefile ] || exit 0; \
11574 r=`${PWD_COMMAND}`; export r; \
11575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11576 $(HOST_EXPORTS) \
11577 for flag in $(EXTRA_HOST_FLAGS) ; do \
11578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11579 done; \
11580 echo "Doing maintainer-clean in fastjar" ; \
11581 (cd $(HOST_SUBDIR)/fastjar && \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11584 "RANLIB=$${RANLIB}" \
11585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11586 maintainer-clean) \
11587 || exit 1
11589 @endif fastjar
11593 .PHONY: configure-fileutils maybe-configure-fileutils
11594 maybe-configure-fileutils:
11595 @if gcc-bootstrap
11596 configure-fileutils: stage_current
11597 @endif gcc-bootstrap
11598 @if fileutils
11599 maybe-configure-fileutils: configure-fileutils
11600 configure-fileutils:
11601 @: $(MAKE); $(unstage)
11602 @r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
11605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
11606 $(HOST_EXPORTS) \
11607 echo Configuring in $(HOST_SUBDIR)/fileutils; \
11608 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
11609 case $(srcdir) in \
11610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11611 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
11612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11613 esac; \
11614 srcdiroption="--srcdir=$${topdir}/fileutils"; \
11615 libsrcdir="$$s/fileutils"; \
11616 $(SHELL) $${libsrcdir}/configure \
11617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11618 --target=${target_alias} $${srcdiroption} \
11619 || exit 1
11620 @endif fileutils
11626 .PHONY: all-fileutils maybe-all-fileutils
11627 maybe-all-fileutils:
11628 @if gcc-bootstrap
11629 all-fileutils: stage_current
11630 @endif gcc-bootstrap
11631 @if fileutils
11632 TARGET-fileutils=all
11633 maybe-all-fileutils: all-fileutils
11634 all-fileutils: configure-fileutils
11635 @: $(MAKE); $(unstage)
11636 @r=`${PWD_COMMAND}`; export r; \
11637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11638 $(HOST_EXPORTS) \
11639 (cd $(HOST_SUBDIR)/fileutils && \
11640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11641 $(TARGET-fileutils))
11642 @endif fileutils
11647 .PHONY: check-fileutils maybe-check-fileutils
11648 maybe-check-fileutils:
11649 @if fileutils
11650 maybe-check-fileutils: check-fileutils
11652 check-fileutils:
11653 @: $(MAKE); $(unstage)
11654 @r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(HOST_EXPORTS) \
11657 (cd $(HOST_SUBDIR)/fileutils && \
11658 $(MAKE) $(FLAGS_TO_PASS) check)
11660 @endif fileutils
11662 .PHONY: install-fileutils maybe-install-fileutils
11663 maybe-install-fileutils:
11664 @if fileutils
11665 maybe-install-fileutils: install-fileutils
11667 install-fileutils: installdirs
11668 @: $(MAKE); $(unstage)
11669 @r=`${PWD_COMMAND}`; export r; \
11670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11671 $(HOST_EXPORTS) \
11672 (cd $(HOST_SUBDIR)/fileutils && \
11673 $(MAKE) $(FLAGS_TO_PASS) install)
11675 @endif fileutils
11677 # Other targets (info, dvi, pdf, etc.)
11679 .PHONY: maybe-info-fileutils info-fileutils
11680 maybe-info-fileutils:
11681 @if fileutils
11682 maybe-info-fileutils: info-fileutils
11684 info-fileutils: \
11685 configure-fileutils
11686 @: $(MAKE); $(unstage)
11687 @[ -f ./fileutils/Makefile ] || exit 0; \
11688 r=`${PWD_COMMAND}`; export r; \
11689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11690 $(HOST_EXPORTS) \
11691 for flag in $(EXTRA_HOST_FLAGS) ; do \
11692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11693 done; \
11694 echo "Doing info in fileutils" ; \
11695 (cd $(HOST_SUBDIR)/fileutils && \
11696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11698 "RANLIB=$${RANLIB}" \
11699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11700 info) \
11701 || exit 1
11703 @endif fileutils
11705 .PHONY: maybe-dvi-fileutils dvi-fileutils
11706 maybe-dvi-fileutils:
11707 @if fileutils
11708 maybe-dvi-fileutils: dvi-fileutils
11710 dvi-fileutils: \
11711 configure-fileutils
11712 @: $(MAKE); $(unstage)
11713 @[ -f ./fileutils/Makefile ] || exit 0; \
11714 r=`${PWD_COMMAND}`; export r; \
11715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11716 $(HOST_EXPORTS) \
11717 for flag in $(EXTRA_HOST_FLAGS) ; do \
11718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11719 done; \
11720 echo "Doing dvi in fileutils" ; \
11721 (cd $(HOST_SUBDIR)/fileutils && \
11722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11724 "RANLIB=$${RANLIB}" \
11725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11726 dvi) \
11727 || exit 1
11729 @endif fileutils
11731 .PHONY: maybe-pdf-fileutils pdf-fileutils
11732 maybe-pdf-fileutils:
11733 @if fileutils
11734 maybe-pdf-fileutils: pdf-fileutils
11736 pdf-fileutils: \
11737 configure-fileutils
11738 @: $(MAKE); $(unstage)
11739 @[ -f ./fileutils/Makefile ] || exit 0; \
11740 r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 $(HOST_EXPORTS) \
11743 for flag in $(EXTRA_HOST_FLAGS) ; do \
11744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11745 done; \
11746 echo "Doing pdf in fileutils" ; \
11747 (cd $(HOST_SUBDIR)/fileutils && \
11748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11750 "RANLIB=$${RANLIB}" \
11751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11752 pdf) \
11753 || exit 1
11755 @endif fileutils
11757 .PHONY: maybe-html-fileutils html-fileutils
11758 maybe-html-fileutils:
11759 @if fileutils
11760 maybe-html-fileutils: html-fileutils
11762 html-fileutils: \
11763 configure-fileutils
11764 @: $(MAKE); $(unstage)
11765 @[ -f ./fileutils/Makefile ] || exit 0; \
11766 r=`${PWD_COMMAND}`; export r; \
11767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11768 $(HOST_EXPORTS) \
11769 for flag in $(EXTRA_HOST_FLAGS) ; do \
11770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11771 done; \
11772 echo "Doing html in fileutils" ; \
11773 (cd $(HOST_SUBDIR)/fileutils && \
11774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11776 "RANLIB=$${RANLIB}" \
11777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11778 html) \
11779 || exit 1
11781 @endif fileutils
11783 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
11784 maybe-TAGS-fileutils:
11785 @if fileutils
11786 maybe-TAGS-fileutils: TAGS-fileutils
11788 TAGS-fileutils: \
11789 configure-fileutils
11790 @: $(MAKE); $(unstage)
11791 @[ -f ./fileutils/Makefile ] || exit 0; \
11792 r=`${PWD_COMMAND}`; export r; \
11793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11794 $(HOST_EXPORTS) \
11795 for flag in $(EXTRA_HOST_FLAGS) ; do \
11796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11797 done; \
11798 echo "Doing TAGS in fileutils" ; \
11799 (cd $(HOST_SUBDIR)/fileutils && \
11800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11802 "RANLIB=$${RANLIB}" \
11803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11804 TAGS) \
11805 || exit 1
11807 @endif fileutils
11809 .PHONY: maybe-install-info-fileutils install-info-fileutils
11810 maybe-install-info-fileutils:
11811 @if fileutils
11812 maybe-install-info-fileutils: install-info-fileutils
11814 install-info-fileutils: \
11815 configure-fileutils \
11816 info-fileutils
11817 @: $(MAKE); $(unstage)
11818 @[ -f ./fileutils/Makefile ] || exit 0; \
11819 r=`${PWD_COMMAND}`; export r; \
11820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11821 $(HOST_EXPORTS) \
11822 for flag in $(EXTRA_HOST_FLAGS) ; do \
11823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11824 done; \
11825 echo "Doing install-info in fileutils" ; \
11826 (cd $(HOST_SUBDIR)/fileutils && \
11827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11829 "RANLIB=$${RANLIB}" \
11830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11831 install-info) \
11832 || exit 1
11834 @endif fileutils
11836 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
11837 maybe-install-pdf-fileutils:
11838 @if fileutils
11839 maybe-install-pdf-fileutils: install-pdf-fileutils
11841 install-pdf-fileutils: \
11842 configure-fileutils \
11843 pdf-fileutils
11844 @: $(MAKE); $(unstage)
11845 @[ -f ./fileutils/Makefile ] || exit 0; \
11846 r=`${PWD_COMMAND}`; export r; \
11847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11848 $(HOST_EXPORTS) \
11849 for flag in $(EXTRA_HOST_FLAGS) ; do \
11850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11851 done; \
11852 echo "Doing install-pdf in fileutils" ; \
11853 (cd $(HOST_SUBDIR)/fileutils && \
11854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11856 "RANLIB=$${RANLIB}" \
11857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11858 install-pdf) \
11859 || exit 1
11861 @endif fileutils
11863 .PHONY: maybe-install-html-fileutils install-html-fileutils
11864 maybe-install-html-fileutils:
11865 @if fileutils
11866 maybe-install-html-fileutils: install-html-fileutils
11868 install-html-fileutils: \
11869 configure-fileutils \
11870 html-fileutils
11871 @: $(MAKE); $(unstage)
11872 @[ -f ./fileutils/Makefile ] || exit 0; \
11873 r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 $(HOST_EXPORTS) \
11876 for flag in $(EXTRA_HOST_FLAGS) ; do \
11877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11878 done; \
11879 echo "Doing install-html in fileutils" ; \
11880 (cd $(HOST_SUBDIR)/fileutils && \
11881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11883 "RANLIB=$${RANLIB}" \
11884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11885 install-html) \
11886 || exit 1
11888 @endif fileutils
11890 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
11891 maybe-installcheck-fileutils:
11892 @if fileutils
11893 maybe-installcheck-fileutils: installcheck-fileutils
11895 installcheck-fileutils: \
11896 configure-fileutils
11897 @: $(MAKE); $(unstage)
11898 @[ -f ./fileutils/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 echo "Doing installcheck in fileutils" ; \
11906 (cd $(HOST_SUBDIR)/fileutils && \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11911 installcheck) \
11912 || exit 1
11914 @endif fileutils
11916 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
11917 maybe-mostlyclean-fileutils:
11918 @if fileutils
11919 maybe-mostlyclean-fileutils: mostlyclean-fileutils
11921 mostlyclean-fileutils:
11922 @: $(MAKE); $(unstage)
11923 @[ -f ./fileutils/Makefile ] || exit 0; \
11924 r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926 $(HOST_EXPORTS) \
11927 for flag in $(EXTRA_HOST_FLAGS) ; do \
11928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11929 done; \
11930 echo "Doing mostlyclean in fileutils" ; \
11931 (cd $(HOST_SUBDIR)/fileutils && \
11932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11934 "RANLIB=$${RANLIB}" \
11935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11936 mostlyclean) \
11937 || exit 1
11939 @endif fileutils
11941 .PHONY: maybe-clean-fileutils clean-fileutils
11942 maybe-clean-fileutils:
11943 @if fileutils
11944 maybe-clean-fileutils: clean-fileutils
11946 clean-fileutils:
11947 @: $(MAKE); $(unstage)
11948 @[ -f ./fileutils/Makefile ] || exit 0; \
11949 r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11951 $(HOST_EXPORTS) \
11952 for flag in $(EXTRA_HOST_FLAGS) ; do \
11953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11954 done; \
11955 echo "Doing clean in fileutils" ; \
11956 (cd $(HOST_SUBDIR)/fileutils && \
11957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11959 "RANLIB=$${RANLIB}" \
11960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11961 clean) \
11962 || exit 1
11964 @endif fileutils
11966 .PHONY: maybe-distclean-fileutils distclean-fileutils
11967 maybe-distclean-fileutils:
11968 @if fileutils
11969 maybe-distclean-fileutils: distclean-fileutils
11971 distclean-fileutils:
11972 @: $(MAKE); $(unstage)
11973 @[ -f ./fileutils/Makefile ] || exit 0; \
11974 r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 for flag in $(EXTRA_HOST_FLAGS) ; do \
11978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11979 done; \
11980 echo "Doing distclean in fileutils" ; \
11981 (cd $(HOST_SUBDIR)/fileutils && \
11982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11984 "RANLIB=$${RANLIB}" \
11985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11986 distclean) \
11987 || exit 1
11989 @endif fileutils
11991 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
11992 maybe-maintainer-clean-fileutils:
11993 @if fileutils
11994 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
11996 maintainer-clean-fileutils:
11997 @: $(MAKE); $(unstage)
11998 @[ -f ./fileutils/Makefile ] || exit 0; \
11999 r=`${PWD_COMMAND}`; export r; \
12000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 $(HOST_EXPORTS) \
12002 for flag in $(EXTRA_HOST_FLAGS) ; do \
12003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12004 done; \
12005 echo "Doing maintainer-clean in fileutils" ; \
12006 (cd $(HOST_SUBDIR)/fileutils && \
12007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12009 "RANLIB=$${RANLIB}" \
12010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12011 maintainer-clean) \
12012 || exit 1
12014 @endif fileutils
12018 .PHONY: configure-findutils maybe-configure-findutils
12019 maybe-configure-findutils:
12020 @if gcc-bootstrap
12021 configure-findutils: stage_current
12022 @endif gcc-bootstrap
12023 @if findutils
12024 maybe-configure-findutils: configure-findutils
12025 configure-findutils:
12026 @: $(MAKE); $(unstage)
12027 @r=`${PWD_COMMAND}`; export r; \
12028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
12030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
12031 $(HOST_EXPORTS) \
12032 echo Configuring in $(HOST_SUBDIR)/findutils; \
12033 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
12034 case $(srcdir) in \
12035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12036 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
12037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12038 esac; \
12039 srcdiroption="--srcdir=$${topdir}/findutils"; \
12040 libsrcdir="$$s/findutils"; \
12041 $(SHELL) $${libsrcdir}/configure \
12042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12043 --target=${target_alias} $${srcdiroption} \
12044 || exit 1
12045 @endif findutils
12051 .PHONY: all-findutils maybe-all-findutils
12052 maybe-all-findutils:
12053 @if gcc-bootstrap
12054 all-findutils: stage_current
12055 @endif gcc-bootstrap
12056 @if findutils
12057 TARGET-findutils=all
12058 maybe-all-findutils: all-findutils
12059 all-findutils: configure-findutils
12060 @: $(MAKE); $(unstage)
12061 @r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12063 $(HOST_EXPORTS) \
12064 (cd $(HOST_SUBDIR)/findutils && \
12065 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12066 $(TARGET-findutils))
12067 @endif findutils
12072 .PHONY: check-findutils maybe-check-findutils
12073 maybe-check-findutils:
12074 @if findutils
12075 maybe-check-findutils: check-findutils
12077 check-findutils:
12078 @: $(MAKE); $(unstage)
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 $(HOST_EXPORTS) \
12082 (cd $(HOST_SUBDIR)/findutils && \
12083 $(MAKE) $(FLAGS_TO_PASS) check)
12085 @endif findutils
12087 .PHONY: install-findutils maybe-install-findutils
12088 maybe-install-findutils:
12089 @if findutils
12090 maybe-install-findutils: install-findutils
12092 install-findutils: installdirs
12093 @: $(MAKE); $(unstage)
12094 @r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 (cd $(HOST_SUBDIR)/findutils && \
12098 $(MAKE) $(FLAGS_TO_PASS) install)
12100 @endif findutils
12102 # Other targets (info, dvi, pdf, etc.)
12104 .PHONY: maybe-info-findutils info-findutils
12105 maybe-info-findutils:
12106 @if findutils
12107 maybe-info-findutils: info-findutils
12109 info-findutils: \
12110 configure-findutils
12111 @: $(MAKE); $(unstage)
12112 @[ -f ./findutils/Makefile ] || exit 0; \
12113 r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 done; \
12119 echo "Doing info in findutils" ; \
12120 (cd $(HOST_SUBDIR)/findutils && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12125 info) \
12126 || exit 1
12128 @endif findutils
12130 .PHONY: maybe-dvi-findutils dvi-findutils
12131 maybe-dvi-findutils:
12132 @if findutils
12133 maybe-dvi-findutils: dvi-findutils
12135 dvi-findutils: \
12136 configure-findutils
12137 @: $(MAKE); $(unstage)
12138 @[ -f ./findutils/Makefile ] || exit 0; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 $(HOST_EXPORTS) \
12142 for flag in $(EXTRA_HOST_FLAGS) ; do \
12143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12144 done; \
12145 echo "Doing dvi in findutils" ; \
12146 (cd $(HOST_SUBDIR)/findutils && \
12147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12149 "RANLIB=$${RANLIB}" \
12150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12151 dvi) \
12152 || exit 1
12154 @endif findutils
12156 .PHONY: maybe-pdf-findutils pdf-findutils
12157 maybe-pdf-findutils:
12158 @if findutils
12159 maybe-pdf-findutils: pdf-findutils
12161 pdf-findutils: \
12162 configure-findutils
12163 @: $(MAKE); $(unstage)
12164 @[ -f ./findutils/Makefile ] || exit 0; \
12165 r=`${PWD_COMMAND}`; export r; \
12166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12167 $(HOST_EXPORTS) \
12168 for flag in $(EXTRA_HOST_FLAGS) ; do \
12169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12170 done; \
12171 echo "Doing pdf in findutils" ; \
12172 (cd $(HOST_SUBDIR)/findutils && \
12173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12175 "RANLIB=$${RANLIB}" \
12176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12177 pdf) \
12178 || exit 1
12180 @endif findutils
12182 .PHONY: maybe-html-findutils html-findutils
12183 maybe-html-findutils:
12184 @if findutils
12185 maybe-html-findutils: html-findutils
12187 html-findutils: \
12188 configure-findutils
12189 @: $(MAKE); $(unstage)
12190 @[ -f ./findutils/Makefile ] || exit 0; \
12191 r=`${PWD_COMMAND}`; export r; \
12192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12193 $(HOST_EXPORTS) \
12194 for flag in $(EXTRA_HOST_FLAGS) ; do \
12195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12196 done; \
12197 echo "Doing html in findutils" ; \
12198 (cd $(HOST_SUBDIR)/findutils && \
12199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12201 "RANLIB=$${RANLIB}" \
12202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12203 html) \
12204 || exit 1
12206 @endif findutils
12208 .PHONY: maybe-TAGS-findutils TAGS-findutils
12209 maybe-TAGS-findutils:
12210 @if findutils
12211 maybe-TAGS-findutils: TAGS-findutils
12213 TAGS-findutils: \
12214 configure-findutils
12215 @: $(MAKE); $(unstage)
12216 @[ -f ./findutils/Makefile ] || exit 0; \
12217 r=`${PWD_COMMAND}`; export r; \
12218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12219 $(HOST_EXPORTS) \
12220 for flag in $(EXTRA_HOST_FLAGS) ; do \
12221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12222 done; \
12223 echo "Doing TAGS in findutils" ; \
12224 (cd $(HOST_SUBDIR)/findutils && \
12225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12227 "RANLIB=$${RANLIB}" \
12228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12229 TAGS) \
12230 || exit 1
12232 @endif findutils
12234 .PHONY: maybe-install-info-findutils install-info-findutils
12235 maybe-install-info-findutils:
12236 @if findutils
12237 maybe-install-info-findutils: install-info-findutils
12239 install-info-findutils: \
12240 configure-findutils \
12241 info-findutils
12242 @: $(MAKE); $(unstage)
12243 @[ -f ./findutils/Makefile ] || exit 0; \
12244 r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 $(HOST_EXPORTS) \
12247 for flag in $(EXTRA_HOST_FLAGS) ; do \
12248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12249 done; \
12250 echo "Doing install-info in findutils" ; \
12251 (cd $(HOST_SUBDIR)/findutils && \
12252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12254 "RANLIB=$${RANLIB}" \
12255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12256 install-info) \
12257 || exit 1
12259 @endif findutils
12261 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
12262 maybe-install-pdf-findutils:
12263 @if findutils
12264 maybe-install-pdf-findutils: install-pdf-findutils
12266 install-pdf-findutils: \
12267 configure-findutils \
12268 pdf-findutils
12269 @: $(MAKE); $(unstage)
12270 @[ -f ./findutils/Makefile ] || exit 0; \
12271 r=`${PWD_COMMAND}`; export r; \
12272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12273 $(HOST_EXPORTS) \
12274 for flag in $(EXTRA_HOST_FLAGS) ; do \
12275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12276 done; \
12277 echo "Doing install-pdf in findutils" ; \
12278 (cd $(HOST_SUBDIR)/findutils && \
12279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12281 "RANLIB=$${RANLIB}" \
12282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12283 install-pdf) \
12284 || exit 1
12286 @endif findutils
12288 .PHONY: maybe-install-html-findutils install-html-findutils
12289 maybe-install-html-findutils:
12290 @if findutils
12291 maybe-install-html-findutils: install-html-findutils
12293 install-html-findutils: \
12294 configure-findutils \
12295 html-findutils
12296 @: $(MAKE); $(unstage)
12297 @[ -f ./findutils/Makefile ] || exit 0; \
12298 r=`${PWD_COMMAND}`; export r; \
12299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12300 $(HOST_EXPORTS) \
12301 for flag in $(EXTRA_HOST_FLAGS) ; do \
12302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12303 done; \
12304 echo "Doing install-html in findutils" ; \
12305 (cd $(HOST_SUBDIR)/findutils && \
12306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12308 "RANLIB=$${RANLIB}" \
12309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12310 install-html) \
12311 || exit 1
12313 @endif findutils
12315 .PHONY: maybe-installcheck-findutils installcheck-findutils
12316 maybe-installcheck-findutils:
12317 @if findutils
12318 maybe-installcheck-findutils: installcheck-findutils
12320 installcheck-findutils: \
12321 configure-findutils
12322 @: $(MAKE); $(unstage)
12323 @[ -f ./findutils/Makefile ] || exit 0; \
12324 r=`${PWD_COMMAND}`; export r; \
12325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12326 $(HOST_EXPORTS) \
12327 for flag in $(EXTRA_HOST_FLAGS) ; do \
12328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12329 done; \
12330 echo "Doing installcheck in findutils" ; \
12331 (cd $(HOST_SUBDIR)/findutils && \
12332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12334 "RANLIB=$${RANLIB}" \
12335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12336 installcheck) \
12337 || exit 1
12339 @endif findutils
12341 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
12342 maybe-mostlyclean-findutils:
12343 @if findutils
12344 maybe-mostlyclean-findutils: mostlyclean-findutils
12346 mostlyclean-findutils:
12347 @: $(MAKE); $(unstage)
12348 @[ -f ./findutils/Makefile ] || exit 0; \
12349 r=`${PWD_COMMAND}`; export r; \
12350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12351 $(HOST_EXPORTS) \
12352 for flag in $(EXTRA_HOST_FLAGS) ; do \
12353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12354 done; \
12355 echo "Doing mostlyclean in findutils" ; \
12356 (cd $(HOST_SUBDIR)/findutils && \
12357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12359 "RANLIB=$${RANLIB}" \
12360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12361 mostlyclean) \
12362 || exit 1
12364 @endif findutils
12366 .PHONY: maybe-clean-findutils clean-findutils
12367 maybe-clean-findutils:
12368 @if findutils
12369 maybe-clean-findutils: clean-findutils
12371 clean-findutils:
12372 @: $(MAKE); $(unstage)
12373 @[ -f ./findutils/Makefile ] || exit 0; \
12374 r=`${PWD_COMMAND}`; export r; \
12375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12376 $(HOST_EXPORTS) \
12377 for flag in $(EXTRA_HOST_FLAGS) ; do \
12378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12379 done; \
12380 echo "Doing clean in findutils" ; \
12381 (cd $(HOST_SUBDIR)/findutils && \
12382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12384 "RANLIB=$${RANLIB}" \
12385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12386 clean) \
12387 || exit 1
12389 @endif findutils
12391 .PHONY: maybe-distclean-findutils distclean-findutils
12392 maybe-distclean-findutils:
12393 @if findutils
12394 maybe-distclean-findutils: distclean-findutils
12396 distclean-findutils:
12397 @: $(MAKE); $(unstage)
12398 @[ -f ./findutils/Makefile ] || exit 0; \
12399 r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12401 $(HOST_EXPORTS) \
12402 for flag in $(EXTRA_HOST_FLAGS) ; do \
12403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12404 done; \
12405 echo "Doing distclean in findutils" ; \
12406 (cd $(HOST_SUBDIR)/findutils && \
12407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12409 "RANLIB=$${RANLIB}" \
12410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12411 distclean) \
12412 || exit 1
12414 @endif findutils
12416 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
12417 maybe-maintainer-clean-findutils:
12418 @if findutils
12419 maybe-maintainer-clean-findutils: maintainer-clean-findutils
12421 maintainer-clean-findutils:
12422 @: $(MAKE); $(unstage)
12423 @[ -f ./findutils/Makefile ] || exit 0; \
12424 r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12426 $(HOST_EXPORTS) \
12427 for flag in $(EXTRA_HOST_FLAGS) ; do \
12428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12429 done; \
12430 echo "Doing maintainer-clean in findutils" ; \
12431 (cd $(HOST_SUBDIR)/findutils && \
12432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12434 "RANLIB=$${RANLIB}" \
12435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12436 maintainer-clean) \
12437 || exit 1
12439 @endif findutils
12443 .PHONY: configure-find maybe-configure-find
12444 maybe-configure-find:
12445 @if gcc-bootstrap
12446 configure-find: stage_current
12447 @endif gcc-bootstrap
12448 @if find
12449 maybe-configure-find: configure-find
12450 configure-find:
12451 @: $(MAKE); $(unstage)
12452 @r=`${PWD_COMMAND}`; export r; \
12453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12454 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
12455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
12456 $(HOST_EXPORTS) \
12457 echo Configuring in $(HOST_SUBDIR)/find; \
12458 cd "$(HOST_SUBDIR)/find" || exit 1; \
12459 case $(srcdir) in \
12460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12461 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
12462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12463 esac; \
12464 srcdiroption="--srcdir=$${topdir}/find"; \
12465 libsrcdir="$$s/find"; \
12466 $(SHELL) $${libsrcdir}/configure \
12467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12468 --target=${target_alias} $${srcdiroption} \
12469 || exit 1
12470 @endif find
12476 .PHONY: all-find maybe-all-find
12477 maybe-all-find:
12478 @if gcc-bootstrap
12479 all-find: stage_current
12480 @endif gcc-bootstrap
12481 @if find
12482 TARGET-find=all
12483 maybe-all-find: all-find
12484 all-find: configure-find
12485 @: $(MAKE); $(unstage)
12486 @r=`${PWD_COMMAND}`; export r; \
12487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12488 $(HOST_EXPORTS) \
12489 (cd $(HOST_SUBDIR)/find && \
12490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12491 $(TARGET-find))
12492 @endif find
12497 .PHONY: check-find maybe-check-find
12498 maybe-check-find:
12499 @if find
12500 maybe-check-find: check-find
12502 check-find:
12503 @: $(MAKE); $(unstage)
12504 @r=`${PWD_COMMAND}`; export r; \
12505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506 $(HOST_EXPORTS) \
12507 (cd $(HOST_SUBDIR)/find && \
12508 $(MAKE) $(FLAGS_TO_PASS) check)
12510 @endif find
12512 .PHONY: install-find maybe-install-find
12513 maybe-install-find:
12514 @if find
12515 maybe-install-find: install-find
12517 install-find: installdirs
12518 @: $(MAKE); $(unstage)
12519 @r=`${PWD_COMMAND}`; export r; \
12520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12521 $(HOST_EXPORTS) \
12522 (cd $(HOST_SUBDIR)/find && \
12523 $(MAKE) $(FLAGS_TO_PASS) install)
12525 @endif find
12527 # Other targets (info, dvi, pdf, etc.)
12529 .PHONY: maybe-info-find info-find
12530 maybe-info-find:
12531 @if find
12532 maybe-info-find: info-find
12534 info-find: \
12535 configure-find
12536 @: $(MAKE); $(unstage)
12537 @[ -f ./find/Makefile ] || exit 0; \
12538 r=`${PWD_COMMAND}`; export r; \
12539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12540 $(HOST_EXPORTS) \
12541 for flag in $(EXTRA_HOST_FLAGS) ; do \
12542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12543 done; \
12544 echo "Doing info in find" ; \
12545 (cd $(HOST_SUBDIR)/find && \
12546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12548 "RANLIB=$${RANLIB}" \
12549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12550 info) \
12551 || exit 1
12553 @endif find
12555 .PHONY: maybe-dvi-find dvi-find
12556 maybe-dvi-find:
12557 @if find
12558 maybe-dvi-find: dvi-find
12560 dvi-find: \
12561 configure-find
12562 @: $(MAKE); $(unstage)
12563 @[ -f ./find/Makefile ] || exit 0; \
12564 r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12566 $(HOST_EXPORTS) \
12567 for flag in $(EXTRA_HOST_FLAGS) ; do \
12568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12569 done; \
12570 echo "Doing dvi in find" ; \
12571 (cd $(HOST_SUBDIR)/find && \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574 "RANLIB=$${RANLIB}" \
12575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12576 dvi) \
12577 || exit 1
12579 @endif find
12581 .PHONY: maybe-pdf-find pdf-find
12582 maybe-pdf-find:
12583 @if find
12584 maybe-pdf-find: pdf-find
12586 pdf-find: \
12587 configure-find
12588 @: $(MAKE); $(unstage)
12589 @[ -f ./find/Makefile ] || exit 0; \
12590 r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 $(HOST_EXPORTS) \
12593 for flag in $(EXTRA_HOST_FLAGS) ; do \
12594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12595 done; \
12596 echo "Doing pdf in find" ; \
12597 (cd $(HOST_SUBDIR)/find && \
12598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12600 "RANLIB=$${RANLIB}" \
12601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12602 pdf) \
12603 || exit 1
12605 @endif find
12607 .PHONY: maybe-html-find html-find
12608 maybe-html-find:
12609 @if find
12610 maybe-html-find: html-find
12612 html-find: \
12613 configure-find
12614 @: $(MAKE); $(unstage)
12615 @[ -f ./find/Makefile ] || exit 0; \
12616 r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 $(HOST_EXPORTS) \
12619 for flag in $(EXTRA_HOST_FLAGS) ; do \
12620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12621 done; \
12622 echo "Doing html in find" ; \
12623 (cd $(HOST_SUBDIR)/find && \
12624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12626 "RANLIB=$${RANLIB}" \
12627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12628 html) \
12629 || exit 1
12631 @endif find
12633 .PHONY: maybe-TAGS-find TAGS-find
12634 maybe-TAGS-find:
12635 @if find
12636 maybe-TAGS-find: TAGS-find
12638 TAGS-find: \
12639 configure-find
12640 @: $(MAKE); $(unstage)
12641 @[ -f ./find/Makefile ] || exit 0; \
12642 r=`${PWD_COMMAND}`; export r; \
12643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12644 $(HOST_EXPORTS) \
12645 for flag in $(EXTRA_HOST_FLAGS) ; do \
12646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12647 done; \
12648 echo "Doing TAGS in find" ; \
12649 (cd $(HOST_SUBDIR)/find && \
12650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12652 "RANLIB=$${RANLIB}" \
12653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12654 TAGS) \
12655 || exit 1
12657 @endif find
12659 .PHONY: maybe-install-info-find install-info-find
12660 maybe-install-info-find:
12661 @if find
12662 maybe-install-info-find: install-info-find
12664 install-info-find: \
12665 configure-find \
12666 info-find
12667 @: $(MAKE); $(unstage)
12668 @[ -f ./find/Makefile ] || exit 0; \
12669 r=`${PWD_COMMAND}`; export r; \
12670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12671 $(HOST_EXPORTS) \
12672 for flag in $(EXTRA_HOST_FLAGS) ; do \
12673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12674 done; \
12675 echo "Doing install-info in find" ; \
12676 (cd $(HOST_SUBDIR)/find && \
12677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12679 "RANLIB=$${RANLIB}" \
12680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12681 install-info) \
12682 || exit 1
12684 @endif find
12686 .PHONY: maybe-install-pdf-find install-pdf-find
12687 maybe-install-pdf-find:
12688 @if find
12689 maybe-install-pdf-find: install-pdf-find
12691 install-pdf-find: \
12692 configure-find \
12693 pdf-find
12694 @: $(MAKE); $(unstage)
12695 @[ -f ./find/Makefile ] || exit 0; \
12696 r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12698 $(HOST_EXPORTS) \
12699 for flag in $(EXTRA_HOST_FLAGS) ; do \
12700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12701 done; \
12702 echo "Doing install-pdf in find" ; \
12703 (cd $(HOST_SUBDIR)/find && \
12704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12706 "RANLIB=$${RANLIB}" \
12707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12708 install-pdf) \
12709 || exit 1
12711 @endif find
12713 .PHONY: maybe-install-html-find install-html-find
12714 maybe-install-html-find:
12715 @if find
12716 maybe-install-html-find: install-html-find
12718 install-html-find: \
12719 configure-find \
12720 html-find
12721 @: $(MAKE); $(unstage)
12722 @[ -f ./find/Makefile ] || exit 0; \
12723 r=`${PWD_COMMAND}`; export r; \
12724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 $(HOST_EXPORTS) \
12726 for flag in $(EXTRA_HOST_FLAGS) ; do \
12727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12728 done; \
12729 echo "Doing install-html in find" ; \
12730 (cd $(HOST_SUBDIR)/find && \
12731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12733 "RANLIB=$${RANLIB}" \
12734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12735 install-html) \
12736 || exit 1
12738 @endif find
12740 .PHONY: maybe-installcheck-find installcheck-find
12741 maybe-installcheck-find:
12742 @if find
12743 maybe-installcheck-find: installcheck-find
12745 installcheck-find: \
12746 configure-find
12747 @: $(MAKE); $(unstage)
12748 @[ -f ./find/Makefile ] || exit 0; \
12749 r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 for flag in $(EXTRA_HOST_FLAGS) ; do \
12753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12754 done; \
12755 echo "Doing installcheck in find" ; \
12756 (cd $(HOST_SUBDIR)/find && \
12757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12759 "RANLIB=$${RANLIB}" \
12760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12761 installcheck) \
12762 || exit 1
12764 @endif find
12766 .PHONY: maybe-mostlyclean-find mostlyclean-find
12767 maybe-mostlyclean-find:
12768 @if find
12769 maybe-mostlyclean-find: mostlyclean-find
12771 mostlyclean-find:
12772 @: $(MAKE); $(unstage)
12773 @[ -f ./find/Makefile ] || exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(HOST_EXPORTS) \
12777 for flag in $(EXTRA_HOST_FLAGS) ; do \
12778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12779 done; \
12780 echo "Doing mostlyclean in find" ; \
12781 (cd $(HOST_SUBDIR)/find && \
12782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12784 "RANLIB=$${RANLIB}" \
12785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12786 mostlyclean) \
12787 || exit 1
12789 @endif find
12791 .PHONY: maybe-clean-find clean-find
12792 maybe-clean-find:
12793 @if find
12794 maybe-clean-find: clean-find
12796 clean-find:
12797 @: $(MAKE); $(unstage)
12798 @[ -f ./find/Makefile ] || exit 0; \
12799 r=`${PWD_COMMAND}`; export r; \
12800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12801 $(HOST_EXPORTS) \
12802 for flag in $(EXTRA_HOST_FLAGS) ; do \
12803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12804 done; \
12805 echo "Doing clean in find" ; \
12806 (cd $(HOST_SUBDIR)/find && \
12807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12809 "RANLIB=$${RANLIB}" \
12810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12811 clean) \
12812 || exit 1
12814 @endif find
12816 .PHONY: maybe-distclean-find distclean-find
12817 maybe-distclean-find:
12818 @if find
12819 maybe-distclean-find: distclean-find
12821 distclean-find:
12822 @: $(MAKE); $(unstage)
12823 @[ -f ./find/Makefile ] || exit 0; \
12824 r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 $(HOST_EXPORTS) \
12827 for flag in $(EXTRA_HOST_FLAGS) ; do \
12828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12829 done; \
12830 echo "Doing distclean in find" ; \
12831 (cd $(HOST_SUBDIR)/find && \
12832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12834 "RANLIB=$${RANLIB}" \
12835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12836 distclean) \
12837 || exit 1
12839 @endif find
12841 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
12842 maybe-maintainer-clean-find:
12843 @if find
12844 maybe-maintainer-clean-find: maintainer-clean-find
12846 maintainer-clean-find:
12847 @: $(MAKE); $(unstage)
12848 @[ -f ./find/Makefile ] || exit 0; \
12849 r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 for flag in $(EXTRA_HOST_FLAGS) ; do \
12853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12854 done; \
12855 echo "Doing maintainer-clean in find" ; \
12856 (cd $(HOST_SUBDIR)/find && \
12857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12859 "RANLIB=$${RANLIB}" \
12860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12861 maintainer-clean) \
12862 || exit 1
12864 @endif find
12868 .PHONY: configure-fixincludes maybe-configure-fixincludes
12869 maybe-configure-fixincludes:
12870 @if gcc-bootstrap
12871 configure-fixincludes: stage_current
12872 @endif gcc-bootstrap
12873 @if fixincludes
12874 maybe-configure-fixincludes: configure-fixincludes
12875 configure-fixincludes:
12876 @: $(MAKE); $(unstage)
12877 @r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
12880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
12881 $(HOST_EXPORTS) \
12882 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
12883 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
12884 case $(srcdir) in \
12885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12886 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
12887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12888 esac; \
12889 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
12890 libsrcdir="$$s/fixincludes"; \
12891 $(SHELL) $${libsrcdir}/configure \
12892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12893 --target=${target_alias} $${srcdiroption} \
12894 || exit 1
12895 @endif fixincludes
12901 .PHONY: all-fixincludes maybe-all-fixincludes
12902 maybe-all-fixincludes:
12903 @if gcc-bootstrap
12904 all-fixincludes: stage_current
12905 @endif gcc-bootstrap
12906 @if fixincludes
12907 TARGET-fixincludes=all
12908 maybe-all-fixincludes: all-fixincludes
12909 all-fixincludes: configure-fixincludes
12910 @: $(MAKE); $(unstage)
12911 @r=`${PWD_COMMAND}`; export r; \
12912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 $(HOST_EXPORTS) \
12914 (cd $(HOST_SUBDIR)/fixincludes && \
12915 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12916 $(TARGET-fixincludes))
12917 @endif fixincludes
12922 .PHONY: check-fixincludes maybe-check-fixincludes
12923 maybe-check-fixincludes:
12924 @if fixincludes
12925 maybe-check-fixincludes: check-fixincludes
12927 check-fixincludes:
12928 @: $(MAKE); $(unstage)
12929 @r=`${PWD_COMMAND}`; export r; \
12930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12931 $(HOST_EXPORTS) \
12932 (cd $(HOST_SUBDIR)/fixincludes && \
12933 $(MAKE) $(FLAGS_TO_PASS) check)
12935 @endif fixincludes
12937 .PHONY: install-fixincludes maybe-install-fixincludes
12938 maybe-install-fixincludes:
12939 @if fixincludes
12940 maybe-install-fixincludes: install-fixincludes
12942 install-fixincludes: installdirs
12943 @: $(MAKE); $(unstage)
12944 @r=`${PWD_COMMAND}`; export r; \
12945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12946 $(HOST_EXPORTS) \
12947 (cd $(HOST_SUBDIR)/fixincludes && \
12948 $(MAKE) $(FLAGS_TO_PASS) install)
12950 @endif fixincludes
12952 # Other targets (info, dvi, pdf, etc.)
12954 .PHONY: maybe-info-fixincludes info-fixincludes
12955 maybe-info-fixincludes:
12956 @if fixincludes
12957 maybe-info-fixincludes: info-fixincludes
12959 info-fixincludes: \
12960 configure-fixincludes
12961 @: $(MAKE); $(unstage)
12962 @[ -f ./fixincludes/Makefile ] || exit 0; \
12963 r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 $(HOST_EXPORTS) \
12966 for flag in $(EXTRA_HOST_FLAGS) ; do \
12967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12968 done; \
12969 echo "Doing info in fixincludes" ; \
12970 (cd $(HOST_SUBDIR)/fixincludes && \
12971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12973 "RANLIB=$${RANLIB}" \
12974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12975 info) \
12976 || exit 1
12978 @endif fixincludes
12980 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
12981 maybe-dvi-fixincludes:
12982 @if fixincludes
12983 maybe-dvi-fixincludes: dvi-fixincludes
12985 dvi-fixincludes: \
12986 configure-fixincludes
12987 @: $(MAKE); $(unstage)
12988 @[ -f ./fixincludes/Makefile ] || exit 0; \
12989 r=`${PWD_COMMAND}`; export r; \
12990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12991 $(HOST_EXPORTS) \
12992 for flag in $(EXTRA_HOST_FLAGS) ; do \
12993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12994 done; \
12995 echo "Doing dvi in fixincludes" ; \
12996 (cd $(HOST_SUBDIR)/fixincludes && \
12997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12999 "RANLIB=$${RANLIB}" \
13000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13001 dvi) \
13002 || exit 1
13004 @endif fixincludes
13006 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
13007 maybe-pdf-fixincludes:
13008 @if fixincludes
13009 maybe-pdf-fixincludes: pdf-fixincludes
13011 pdf-fixincludes: \
13012 configure-fixincludes
13013 @: $(MAKE); $(unstage)
13014 @[ -f ./fixincludes/Makefile ] || exit 0; \
13015 r=`${PWD_COMMAND}`; export r; \
13016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13017 $(HOST_EXPORTS) \
13018 for flag in $(EXTRA_HOST_FLAGS) ; do \
13019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13020 done; \
13021 echo "Doing pdf in fixincludes" ; \
13022 (cd $(HOST_SUBDIR)/fixincludes && \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13025 "RANLIB=$${RANLIB}" \
13026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13027 pdf) \
13028 || exit 1
13030 @endif fixincludes
13032 .PHONY: maybe-html-fixincludes html-fixincludes
13033 maybe-html-fixincludes:
13034 @if fixincludes
13035 maybe-html-fixincludes: html-fixincludes
13037 html-fixincludes: \
13038 configure-fixincludes
13039 @: $(MAKE); $(unstage)
13040 @[ -f ./fixincludes/Makefile ] || exit 0; \
13041 r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 $(HOST_EXPORTS) \
13044 for flag in $(EXTRA_HOST_FLAGS) ; do \
13045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13046 done; \
13047 echo "Doing html in fixincludes" ; \
13048 (cd $(HOST_SUBDIR)/fixincludes && \
13049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13051 "RANLIB=$${RANLIB}" \
13052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13053 html) \
13054 || exit 1
13056 @endif fixincludes
13058 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
13059 maybe-TAGS-fixincludes:
13060 @if fixincludes
13061 maybe-TAGS-fixincludes: TAGS-fixincludes
13063 # fixincludes doesn't support TAGS.
13064 TAGS-fixincludes:
13066 @endif fixincludes
13068 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
13069 maybe-install-info-fixincludes:
13070 @if fixincludes
13071 maybe-install-info-fixincludes: install-info-fixincludes
13073 install-info-fixincludes: \
13074 configure-fixincludes \
13075 info-fixincludes
13076 @: $(MAKE); $(unstage)
13077 @[ -f ./fixincludes/Makefile ] || exit 0; \
13078 r=`${PWD_COMMAND}`; export r; \
13079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13080 $(HOST_EXPORTS) \
13081 for flag in $(EXTRA_HOST_FLAGS) ; do \
13082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13083 done; \
13084 echo "Doing install-info in fixincludes" ; \
13085 (cd $(HOST_SUBDIR)/fixincludes && \
13086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13088 "RANLIB=$${RANLIB}" \
13089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13090 install-info) \
13091 || exit 1
13093 @endif fixincludes
13095 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
13096 maybe-install-pdf-fixincludes:
13097 @if fixincludes
13098 maybe-install-pdf-fixincludes: install-pdf-fixincludes
13100 install-pdf-fixincludes: \
13101 configure-fixincludes \
13102 pdf-fixincludes
13103 @: $(MAKE); $(unstage)
13104 @[ -f ./fixincludes/Makefile ] || exit 0; \
13105 r=`${PWD_COMMAND}`; export r; \
13106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 $(HOST_EXPORTS) \
13108 for flag in $(EXTRA_HOST_FLAGS) ; do \
13109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13110 done; \
13111 echo "Doing install-pdf in fixincludes" ; \
13112 (cd $(HOST_SUBDIR)/fixincludes && \
13113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13115 "RANLIB=$${RANLIB}" \
13116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13117 install-pdf) \
13118 || exit 1
13120 @endif fixincludes
13122 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
13123 maybe-install-html-fixincludes:
13124 @if fixincludes
13125 maybe-install-html-fixincludes: install-html-fixincludes
13127 install-html-fixincludes: \
13128 configure-fixincludes \
13129 html-fixincludes
13130 @: $(MAKE); $(unstage)
13131 @[ -f ./fixincludes/Makefile ] || exit 0; \
13132 r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 $(HOST_EXPORTS) \
13135 for flag in $(EXTRA_HOST_FLAGS) ; do \
13136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13137 done; \
13138 echo "Doing install-html in fixincludes" ; \
13139 (cd $(HOST_SUBDIR)/fixincludes && \
13140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13142 "RANLIB=$${RANLIB}" \
13143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13144 install-html) \
13145 || exit 1
13147 @endif fixincludes
13149 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
13150 maybe-installcheck-fixincludes:
13151 @if fixincludes
13152 maybe-installcheck-fixincludes: installcheck-fixincludes
13154 installcheck-fixincludes: \
13155 configure-fixincludes
13156 @: $(MAKE); $(unstage)
13157 @[ -f ./fixincludes/Makefile ] || exit 0; \
13158 r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13160 $(HOST_EXPORTS) \
13161 for flag in $(EXTRA_HOST_FLAGS) ; do \
13162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13163 done; \
13164 echo "Doing installcheck in fixincludes" ; \
13165 (cd $(HOST_SUBDIR)/fixincludes && \
13166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13168 "RANLIB=$${RANLIB}" \
13169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13170 installcheck) \
13171 || exit 1
13173 @endif fixincludes
13175 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
13176 maybe-mostlyclean-fixincludes:
13177 @if fixincludes
13178 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
13180 mostlyclean-fixincludes:
13181 @: $(MAKE); $(unstage)
13182 @[ -f ./fixincludes/Makefile ] || exit 0; \
13183 r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185 $(HOST_EXPORTS) \
13186 for flag in $(EXTRA_HOST_FLAGS) ; do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188 done; \
13189 echo "Doing mostlyclean in fixincludes" ; \
13190 (cd $(HOST_SUBDIR)/fixincludes && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13195 mostlyclean) \
13196 || exit 1
13198 @endif fixincludes
13200 .PHONY: maybe-clean-fixincludes clean-fixincludes
13201 maybe-clean-fixincludes:
13202 @if fixincludes
13203 maybe-clean-fixincludes: clean-fixincludes
13205 clean-fixincludes:
13206 @: $(MAKE); $(unstage)
13207 @[ -f ./fixincludes/Makefile ] || exit 0; \
13208 r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 $(HOST_EXPORTS) \
13211 for flag in $(EXTRA_HOST_FLAGS) ; do \
13212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13213 done; \
13214 echo "Doing clean in fixincludes" ; \
13215 (cd $(HOST_SUBDIR)/fixincludes && \
13216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13218 "RANLIB=$${RANLIB}" \
13219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13220 clean) \
13221 || exit 1
13223 @endif fixincludes
13225 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
13226 maybe-distclean-fixincludes:
13227 @if fixincludes
13228 maybe-distclean-fixincludes: distclean-fixincludes
13230 distclean-fixincludes:
13231 @: $(MAKE); $(unstage)
13232 @[ -f ./fixincludes/Makefile ] || exit 0; \
13233 r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) ; do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing distclean in fixincludes" ; \
13240 (cd $(HOST_SUBDIR)/fixincludes && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13245 distclean) \
13246 || exit 1
13248 @endif fixincludes
13250 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
13251 maybe-maintainer-clean-fixincludes:
13252 @if fixincludes
13253 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
13255 maintainer-clean-fixincludes:
13256 @: $(MAKE); $(unstage)
13257 @[ -f ./fixincludes/Makefile ] || exit 0; \
13258 r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 $(HOST_EXPORTS) \
13261 for flag in $(EXTRA_HOST_FLAGS) ; do \
13262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 done; \
13264 echo "Doing maintainer-clean in fixincludes" ; \
13265 (cd $(HOST_SUBDIR)/fixincludes && \
13266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13268 "RANLIB=$${RANLIB}" \
13269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13270 maintainer-clean) \
13271 || exit 1
13273 @endif fixincludes
13277 .PHONY: configure-flex maybe-configure-flex
13278 maybe-configure-flex:
13279 @if gcc-bootstrap
13280 configure-flex: stage_current
13281 @endif gcc-bootstrap
13282 @if flex
13283 maybe-configure-flex: configure-flex
13284 configure-flex:
13285 @: $(MAKE); $(unstage)
13286 @r=`${PWD_COMMAND}`; export r; \
13287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13288 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
13289 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
13290 $(HOST_EXPORTS) \
13291 echo Configuring in $(HOST_SUBDIR)/flex; \
13292 cd "$(HOST_SUBDIR)/flex" || exit 1; \
13293 case $(srcdir) in \
13294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13295 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
13296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13297 esac; \
13298 srcdiroption="--srcdir=$${topdir}/flex"; \
13299 libsrcdir="$$s/flex"; \
13300 $(SHELL) $${libsrcdir}/configure \
13301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13302 --target=${target_alias} $${srcdiroption} \
13303 || exit 1
13304 @endif flex
13310 .PHONY: all-flex maybe-all-flex
13311 maybe-all-flex:
13312 @if gcc-bootstrap
13313 all-flex: stage_current
13314 @endif gcc-bootstrap
13315 @if flex
13316 TARGET-flex=all
13317 maybe-all-flex: all-flex
13318 all-flex: configure-flex
13319 @: $(MAKE); $(unstage)
13320 @r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322 $(HOST_EXPORTS) \
13323 (cd $(HOST_SUBDIR)/flex && \
13324 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13325 $(TARGET-flex))
13326 @endif flex
13331 .PHONY: check-flex maybe-check-flex
13332 maybe-check-flex:
13333 @if flex
13334 maybe-check-flex: check-flex
13336 # This module is only tested in a native toolchain.
13337 check-flex:
13338 @: $(MAKE); $(unstage)
13339 @if [ '$(host)' = '$(target)' ] ; then \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 $(HOST_EXPORTS) \
13343 (cd $(HOST_SUBDIR)/flex && \
13344 $(MAKE) $(FLAGS_TO_PASS) check); \
13347 @endif flex
13349 .PHONY: install-flex maybe-install-flex
13350 maybe-install-flex:
13351 @if flex
13352 maybe-install-flex: install-flex
13354 install-flex: installdirs
13355 @: $(MAKE); $(unstage)
13356 @r=`${PWD_COMMAND}`; export r; \
13357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13358 $(HOST_EXPORTS) \
13359 (cd $(HOST_SUBDIR)/flex && \
13360 $(MAKE) $(FLAGS_TO_PASS) install)
13362 @endif flex
13364 # Other targets (info, dvi, pdf, etc.)
13366 .PHONY: maybe-info-flex info-flex
13367 maybe-info-flex:
13368 @if flex
13369 maybe-info-flex: info-flex
13371 info-flex: \
13372 configure-flex
13373 @: $(MAKE); $(unstage)
13374 @[ -f ./flex/Makefile ] || exit 0; \
13375 r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377 $(HOST_EXPORTS) \
13378 for flag in $(EXTRA_HOST_FLAGS) ; do \
13379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13380 done; \
13381 echo "Doing info in flex" ; \
13382 (cd $(HOST_SUBDIR)/flex && \
13383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13385 "RANLIB=$${RANLIB}" \
13386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13387 info) \
13388 || exit 1
13390 @endif flex
13392 .PHONY: maybe-dvi-flex dvi-flex
13393 maybe-dvi-flex:
13394 @if flex
13395 maybe-dvi-flex: dvi-flex
13397 dvi-flex: \
13398 configure-flex
13399 @: $(MAKE); $(unstage)
13400 @[ -f ./flex/Makefile ] || exit 0; \
13401 r=`${PWD_COMMAND}`; export r; \
13402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13403 $(HOST_EXPORTS) \
13404 for flag in $(EXTRA_HOST_FLAGS) ; do \
13405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13406 done; \
13407 echo "Doing dvi in flex" ; \
13408 (cd $(HOST_SUBDIR)/flex && \
13409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13411 "RANLIB=$${RANLIB}" \
13412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13413 dvi) \
13414 || exit 1
13416 @endif flex
13418 .PHONY: maybe-pdf-flex pdf-flex
13419 maybe-pdf-flex:
13420 @if flex
13421 maybe-pdf-flex: pdf-flex
13423 pdf-flex: \
13424 configure-flex
13425 @: $(MAKE); $(unstage)
13426 @[ -f ./flex/Makefile ] || exit 0; \
13427 r=`${PWD_COMMAND}`; export r; \
13428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13429 $(HOST_EXPORTS) \
13430 for flag in $(EXTRA_HOST_FLAGS) ; do \
13431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13432 done; \
13433 echo "Doing pdf in flex" ; \
13434 (cd $(HOST_SUBDIR)/flex && \
13435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13437 "RANLIB=$${RANLIB}" \
13438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13439 pdf) \
13440 || exit 1
13442 @endif flex
13444 .PHONY: maybe-html-flex html-flex
13445 maybe-html-flex:
13446 @if flex
13447 maybe-html-flex: html-flex
13449 html-flex: \
13450 configure-flex
13451 @: $(MAKE); $(unstage)
13452 @[ -f ./flex/Makefile ] || exit 0; \
13453 r=`${PWD_COMMAND}`; export r; \
13454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13455 $(HOST_EXPORTS) \
13456 for flag in $(EXTRA_HOST_FLAGS) ; do \
13457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13458 done; \
13459 echo "Doing html in flex" ; \
13460 (cd $(HOST_SUBDIR)/flex && \
13461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13463 "RANLIB=$${RANLIB}" \
13464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13465 html) \
13466 || exit 1
13468 @endif flex
13470 .PHONY: maybe-TAGS-flex TAGS-flex
13471 maybe-TAGS-flex:
13472 @if flex
13473 maybe-TAGS-flex: TAGS-flex
13475 TAGS-flex: \
13476 configure-flex
13477 @: $(MAKE); $(unstage)
13478 @[ -f ./flex/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 for flag in $(EXTRA_HOST_FLAGS) ; do \
13483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13484 done; \
13485 echo "Doing TAGS in flex" ; \
13486 (cd $(HOST_SUBDIR)/flex && \
13487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13489 "RANLIB=$${RANLIB}" \
13490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13491 TAGS) \
13492 || exit 1
13494 @endif flex
13496 .PHONY: maybe-install-info-flex install-info-flex
13497 maybe-install-info-flex:
13498 @if flex
13499 maybe-install-info-flex: install-info-flex
13501 install-info-flex: \
13502 configure-flex \
13503 info-flex
13504 @: $(MAKE); $(unstage)
13505 @[ -f ./flex/Makefile ] || exit 0; \
13506 r=`${PWD_COMMAND}`; export r; \
13507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 $(HOST_EXPORTS) \
13509 for flag in $(EXTRA_HOST_FLAGS) ; do \
13510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13511 done; \
13512 echo "Doing install-info in flex" ; \
13513 (cd $(HOST_SUBDIR)/flex && \
13514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13516 "RANLIB=$${RANLIB}" \
13517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13518 install-info) \
13519 || exit 1
13521 @endif flex
13523 .PHONY: maybe-install-pdf-flex install-pdf-flex
13524 maybe-install-pdf-flex:
13525 @if flex
13526 maybe-install-pdf-flex: install-pdf-flex
13528 install-pdf-flex: \
13529 configure-flex \
13530 pdf-flex
13531 @: $(MAKE); $(unstage)
13532 @[ -f ./flex/Makefile ] || exit 0; \
13533 r=`${PWD_COMMAND}`; export r; \
13534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535 $(HOST_EXPORTS) \
13536 for flag in $(EXTRA_HOST_FLAGS) ; do \
13537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13538 done; \
13539 echo "Doing install-pdf in flex" ; \
13540 (cd $(HOST_SUBDIR)/flex && \
13541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543 "RANLIB=$${RANLIB}" \
13544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13545 install-pdf) \
13546 || exit 1
13548 @endif flex
13550 .PHONY: maybe-install-html-flex install-html-flex
13551 maybe-install-html-flex:
13552 @if flex
13553 maybe-install-html-flex: install-html-flex
13555 install-html-flex: \
13556 configure-flex \
13557 html-flex
13558 @: $(MAKE); $(unstage)
13559 @[ -f ./flex/Makefile ] || exit 0; \
13560 r=`${PWD_COMMAND}`; export r; \
13561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13562 $(HOST_EXPORTS) \
13563 for flag in $(EXTRA_HOST_FLAGS) ; do \
13564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13565 done; \
13566 echo "Doing install-html in flex" ; \
13567 (cd $(HOST_SUBDIR)/flex && \
13568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13570 "RANLIB=$${RANLIB}" \
13571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13572 install-html) \
13573 || exit 1
13575 @endif flex
13577 .PHONY: maybe-installcheck-flex installcheck-flex
13578 maybe-installcheck-flex:
13579 @if flex
13580 maybe-installcheck-flex: installcheck-flex
13582 installcheck-flex: \
13583 configure-flex
13584 @: $(MAKE); $(unstage)
13585 @[ -f ./flex/Makefile ] || exit 0; \
13586 r=`${PWD_COMMAND}`; export r; \
13587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13588 $(HOST_EXPORTS) \
13589 for flag in $(EXTRA_HOST_FLAGS) ; do \
13590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13591 done; \
13592 echo "Doing installcheck in flex" ; \
13593 (cd $(HOST_SUBDIR)/flex && \
13594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13596 "RANLIB=$${RANLIB}" \
13597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13598 installcheck) \
13599 || exit 1
13601 @endif flex
13603 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
13604 maybe-mostlyclean-flex:
13605 @if flex
13606 maybe-mostlyclean-flex: mostlyclean-flex
13608 mostlyclean-flex:
13609 @: $(MAKE); $(unstage)
13610 @[ -f ./flex/Makefile ] || exit 0; \
13611 r=`${PWD_COMMAND}`; export r; \
13612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13613 $(HOST_EXPORTS) \
13614 for flag in $(EXTRA_HOST_FLAGS) ; do \
13615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13616 done; \
13617 echo "Doing mostlyclean in flex" ; \
13618 (cd $(HOST_SUBDIR)/flex && \
13619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13621 "RANLIB=$${RANLIB}" \
13622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13623 mostlyclean) \
13624 || exit 1
13626 @endif flex
13628 .PHONY: maybe-clean-flex clean-flex
13629 maybe-clean-flex:
13630 @if flex
13631 maybe-clean-flex: clean-flex
13633 clean-flex:
13634 @: $(MAKE); $(unstage)
13635 @[ -f ./flex/Makefile ] || exit 0; \
13636 r=`${PWD_COMMAND}`; export r; \
13637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13638 $(HOST_EXPORTS) \
13639 for flag in $(EXTRA_HOST_FLAGS) ; do \
13640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13641 done; \
13642 echo "Doing clean in flex" ; \
13643 (cd $(HOST_SUBDIR)/flex && \
13644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13646 "RANLIB=$${RANLIB}" \
13647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13648 clean) \
13649 || exit 1
13651 @endif flex
13653 .PHONY: maybe-distclean-flex distclean-flex
13654 maybe-distclean-flex:
13655 @if flex
13656 maybe-distclean-flex: distclean-flex
13658 distclean-flex:
13659 @: $(MAKE); $(unstage)
13660 @[ -f ./flex/Makefile ] || exit 0; \
13661 r=`${PWD_COMMAND}`; export r; \
13662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13663 $(HOST_EXPORTS) \
13664 for flag in $(EXTRA_HOST_FLAGS) ; do \
13665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13666 done; \
13667 echo "Doing distclean in flex" ; \
13668 (cd $(HOST_SUBDIR)/flex && \
13669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13671 "RANLIB=$${RANLIB}" \
13672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13673 distclean) \
13674 || exit 1
13676 @endif flex
13678 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
13679 maybe-maintainer-clean-flex:
13680 @if flex
13681 maybe-maintainer-clean-flex: maintainer-clean-flex
13683 maintainer-clean-flex:
13684 @: $(MAKE); $(unstage)
13685 @[ -f ./flex/Makefile ] || exit 0; \
13686 r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 $(HOST_EXPORTS) \
13689 for flag in $(EXTRA_HOST_FLAGS) ; do \
13690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13691 done; \
13692 echo "Doing maintainer-clean in flex" ; \
13693 (cd $(HOST_SUBDIR)/flex && \
13694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696 "RANLIB=$${RANLIB}" \
13697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13698 maintainer-clean) \
13699 || exit 1
13701 @endif flex
13705 .PHONY: configure-gas maybe-configure-gas
13706 maybe-configure-gas:
13707 @if gcc-bootstrap
13708 configure-gas: stage_current
13709 @endif gcc-bootstrap
13710 @if gas
13711 maybe-configure-gas: configure-gas
13712 configure-gas:
13713 @r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13717 $(HOST_EXPORTS) \
13718 echo Configuring in $(HOST_SUBDIR)/gas; \
13719 cd "$(HOST_SUBDIR)/gas" || exit 1; \
13720 case $(srcdir) in \
13721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13722 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13724 esac; \
13725 srcdiroption="--srcdir=$${topdir}/gas"; \
13726 libsrcdir="$$s/gas"; \
13727 $(SHELL) $${libsrcdir}/configure \
13728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13729 --target=${target_alias} $${srcdiroption} \
13730 || exit 1
13731 @endif gas
13735 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
13736 maybe-configure-stage1-gas:
13737 @if gas-bootstrap
13738 maybe-configure-stage1-gas: configure-stage1-gas
13739 configure-stage1-gas:
13740 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13742 @r=`${PWD_COMMAND}`; export r; \
13743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13744 TFLAGS="$(STAGE1_TFLAGS)"; \
13745 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13746 $(HOST_EXPORTS) \
13747 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13748 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13749 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13750 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
13751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13752 cd $(HOST_SUBDIR)/gas || exit 1; \
13753 case $(srcdir) in \
13754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13755 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13757 esac; \
13758 srcdiroption="--srcdir=$${topdir}/gas"; \
13759 libsrcdir="$$s/gas"; \
13760 $(SHELL) $${libsrcdir}/configure \
13761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13762 --target=${target_alias} $${srcdiroption} \
13763 $(STAGE1_CONFIGURE_FLAGS)
13764 @endif gas-bootstrap
13766 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
13767 maybe-configure-stage2-gas:
13768 @if gas-bootstrap
13769 maybe-configure-stage2-gas: configure-stage2-gas
13770 configure-stage2-gas:
13771 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13772 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13773 @r=`${PWD_COMMAND}`; export r; \
13774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13775 TFLAGS="$(STAGE2_TFLAGS)"; \
13776 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13777 $(HOST_EXPORTS) \
13778 $(POSTSTAGE1_HOST_EXPORTS) \
13779 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13780 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13781 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13782 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
13783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13784 cd $(HOST_SUBDIR)/gas || exit 1; \
13785 case $(srcdir) in \
13786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13787 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13789 esac; \
13790 srcdiroption="--srcdir=$${topdir}/gas"; \
13791 libsrcdir="$$s/gas"; \
13792 $(SHELL) $${libsrcdir}/configure \
13793 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13794 --target=${target_alias} $${srcdiroption} \
13795 --with-build-libsubdir=$(HOST_SUBDIR) \
13796 $(STAGE2_CONFIGURE_FLAGS)
13797 @endif gas-bootstrap
13799 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
13800 maybe-configure-stage3-gas:
13801 @if gas-bootstrap
13802 maybe-configure-stage3-gas: configure-stage3-gas
13803 configure-stage3-gas:
13804 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13805 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13806 @r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13808 TFLAGS="$(STAGE3_TFLAGS)"; \
13809 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13810 $(HOST_EXPORTS) \
13811 $(POSTSTAGE1_HOST_EXPORTS) \
13812 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13813 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13814 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13815 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
13816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13817 cd $(HOST_SUBDIR)/gas || exit 1; \
13818 case $(srcdir) in \
13819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13820 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13822 esac; \
13823 srcdiroption="--srcdir=$${topdir}/gas"; \
13824 libsrcdir="$$s/gas"; \
13825 $(SHELL) $${libsrcdir}/configure \
13826 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13827 --target=${target_alias} $${srcdiroption} \
13828 --with-build-libsubdir=$(HOST_SUBDIR) \
13829 $(STAGE3_CONFIGURE_FLAGS)
13830 @endif gas-bootstrap
13832 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
13833 maybe-configure-stage4-gas:
13834 @if gas-bootstrap
13835 maybe-configure-stage4-gas: configure-stage4-gas
13836 configure-stage4-gas:
13837 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13838 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13839 @r=`${PWD_COMMAND}`; export r; \
13840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13841 TFLAGS="$(STAGE4_TFLAGS)"; \
13842 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13843 $(HOST_EXPORTS) \
13844 $(POSTSTAGE1_HOST_EXPORTS) \
13845 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13846 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13847 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13848 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
13849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13850 cd $(HOST_SUBDIR)/gas || exit 1; \
13851 case $(srcdir) in \
13852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13853 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13855 esac; \
13856 srcdiroption="--srcdir=$${topdir}/gas"; \
13857 libsrcdir="$$s/gas"; \
13858 $(SHELL) $${libsrcdir}/configure \
13859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13860 --target=${target_alias} $${srcdiroption} \
13861 --with-build-libsubdir=$(HOST_SUBDIR) \
13862 $(STAGE4_CONFIGURE_FLAGS)
13863 @endif gas-bootstrap
13865 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
13866 maybe-configure-stageprofile-gas:
13867 @if gas-bootstrap
13868 maybe-configure-stageprofile-gas: configure-stageprofile-gas
13869 configure-stageprofile-gas:
13870 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13872 @r=`${PWD_COMMAND}`; export r; \
13873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13874 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13875 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13876 $(HOST_EXPORTS) \
13877 $(POSTSTAGE1_HOST_EXPORTS) \
13878 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13879 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13880 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13881 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
13882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13883 cd $(HOST_SUBDIR)/gas || exit 1; \
13884 case $(srcdir) in \
13885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13886 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13888 esac; \
13889 srcdiroption="--srcdir=$${topdir}/gas"; \
13890 libsrcdir="$$s/gas"; \
13891 $(SHELL) $${libsrcdir}/configure \
13892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13893 --target=${target_alias} $${srcdiroption} \
13894 --with-build-libsubdir=$(HOST_SUBDIR) \
13895 $(STAGEprofile_CONFIGURE_FLAGS)
13896 @endif gas-bootstrap
13898 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
13899 maybe-configure-stagefeedback-gas:
13900 @if gas-bootstrap
13901 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
13902 configure-stagefeedback-gas:
13903 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13905 @r=`${PWD_COMMAND}`; export r; \
13906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13907 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13908 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13909 $(HOST_EXPORTS) \
13910 $(POSTSTAGE1_HOST_EXPORTS) \
13911 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13912 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13913 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13914 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
13915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13916 cd $(HOST_SUBDIR)/gas || exit 1; \
13917 case $(srcdir) in \
13918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13919 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13921 esac; \
13922 srcdiroption="--srcdir=$${topdir}/gas"; \
13923 libsrcdir="$$s/gas"; \
13924 $(SHELL) $${libsrcdir}/configure \
13925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13926 --target=${target_alias} $${srcdiroption} \
13927 --with-build-libsubdir=$(HOST_SUBDIR) \
13928 $(STAGEfeedback_CONFIGURE_FLAGS)
13929 @endif gas-bootstrap
13935 .PHONY: all-gas maybe-all-gas
13936 maybe-all-gas:
13937 @if gcc-bootstrap
13938 all-gas: stage_current
13939 @endif gcc-bootstrap
13940 @if gas
13941 TARGET-gas=all
13942 maybe-all-gas: all-gas
13943 all-gas: configure-gas
13944 @r=`${PWD_COMMAND}`; export r; \
13945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13946 $(HOST_EXPORTS) \
13947 (cd $(HOST_SUBDIR)/gas && \
13948 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13949 $(TARGET-gas))
13950 @endif gas
13954 .PHONY: all-stage1-gas maybe-all-stage1-gas
13955 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
13956 maybe-all-stage1-gas:
13957 maybe-clean-stage1-gas:
13958 @if gas-bootstrap
13959 maybe-all-stage1-gas: all-stage1-gas
13960 all-stage1: all-stage1-gas
13961 TARGET-stage1-gas = $(TARGET-gas)
13962 all-stage1-gas: configure-stage1-gas
13963 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13964 @r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 TFLAGS="$(STAGE1_TFLAGS)"; \
13967 $(HOST_EXPORTS) \
13968 cd $(HOST_SUBDIR)/gas && \
13969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13970 CFLAGS="$(STAGE1_CFLAGS)" \
13971 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13972 LIBCFLAGS="$(LIBCFLAGS)" \
13973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13976 $(EXTRA_HOST_FLAGS) \
13977 TFLAGS="$(STAGE1_TFLAGS)" \
13978 $(TARGET-stage1-gas)
13980 maybe-clean-stage1-gas: clean-stage1-gas
13981 clean-stage1: clean-stage1-gas
13982 clean-stage1-gas:
13983 @if [ $(current_stage) = stage1 ]; then \
13984 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13985 else \
13986 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
13987 $(MAKE) stage1-start; \
13988 fi; \
13989 cd $(HOST_SUBDIR)/gas && \
13990 $(MAKE) $(EXTRA_HOST_FLAGS) \
13991 clean
13992 @endif gas-bootstrap
13995 .PHONY: all-stage2-gas maybe-all-stage2-gas
13996 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
13997 maybe-all-stage2-gas:
13998 maybe-clean-stage2-gas:
13999 @if gas-bootstrap
14000 maybe-all-stage2-gas: all-stage2-gas
14001 all-stage2: all-stage2-gas
14002 TARGET-stage2-gas = $(TARGET-gas)
14003 all-stage2-gas: configure-stage2-gas
14004 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14005 @r=`${PWD_COMMAND}`; export r; \
14006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14007 TFLAGS="$(STAGE2_TFLAGS)"; \
14008 $(HOST_EXPORTS) \
14009 $(POSTSTAGE1_HOST_EXPORTS) \
14010 cd $(HOST_SUBDIR)/gas && \
14011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14012 CFLAGS="$(STAGE2_CFLAGS)" \
14013 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14014 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14019 TFLAGS="$(STAGE2_TFLAGS)" \
14020 $(TARGET-stage2-gas)
14022 maybe-clean-stage2-gas: clean-stage2-gas
14023 clean-stage2: clean-stage2-gas
14024 clean-stage2-gas:
14025 @if [ $(current_stage) = stage2 ]; then \
14026 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14027 else \
14028 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
14029 $(MAKE) stage2-start; \
14030 fi; \
14031 cd $(HOST_SUBDIR)/gas && \
14032 $(MAKE) $(EXTRA_HOST_FLAGS) \
14033 $(POSTSTAGE1_FLAGS_TO_PASS) \
14034 clean
14035 @endif gas-bootstrap
14038 .PHONY: all-stage3-gas maybe-all-stage3-gas
14039 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
14040 maybe-all-stage3-gas:
14041 maybe-clean-stage3-gas:
14042 @if gas-bootstrap
14043 maybe-all-stage3-gas: all-stage3-gas
14044 all-stage3: all-stage3-gas
14045 TARGET-stage3-gas = $(TARGET-gas)
14046 all-stage3-gas: configure-stage3-gas
14047 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14048 @r=`${PWD_COMMAND}`; export r; \
14049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 TFLAGS="$(STAGE3_TFLAGS)"; \
14051 $(HOST_EXPORTS) \
14052 $(POSTSTAGE1_HOST_EXPORTS) \
14053 cd $(HOST_SUBDIR)/gas && \
14054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14055 CFLAGS="$(STAGE3_CFLAGS)" \
14056 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14057 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14062 TFLAGS="$(STAGE3_TFLAGS)" \
14063 $(TARGET-stage3-gas)
14065 maybe-clean-stage3-gas: clean-stage3-gas
14066 clean-stage3: clean-stage3-gas
14067 clean-stage3-gas:
14068 @if [ $(current_stage) = stage3 ]; then \
14069 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14070 else \
14071 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
14072 $(MAKE) stage3-start; \
14073 fi; \
14074 cd $(HOST_SUBDIR)/gas && \
14075 $(MAKE) $(EXTRA_HOST_FLAGS) \
14076 $(POSTSTAGE1_FLAGS_TO_PASS) \
14077 clean
14078 @endif gas-bootstrap
14081 .PHONY: all-stage4-gas maybe-all-stage4-gas
14082 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
14083 maybe-all-stage4-gas:
14084 maybe-clean-stage4-gas:
14085 @if gas-bootstrap
14086 maybe-all-stage4-gas: all-stage4-gas
14087 all-stage4: all-stage4-gas
14088 TARGET-stage4-gas = $(TARGET-gas)
14089 all-stage4-gas: configure-stage4-gas
14090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14091 @r=`${PWD_COMMAND}`; export r; \
14092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14093 TFLAGS="$(STAGE4_TFLAGS)"; \
14094 $(HOST_EXPORTS) \
14095 $(POSTSTAGE1_HOST_EXPORTS) \
14096 cd $(HOST_SUBDIR)/gas && \
14097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14098 CFLAGS="$(STAGE4_CFLAGS)" \
14099 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14100 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14105 TFLAGS="$(STAGE4_TFLAGS)" \
14106 $(TARGET-stage4-gas)
14108 maybe-clean-stage4-gas: clean-stage4-gas
14109 clean-stage4: clean-stage4-gas
14110 clean-stage4-gas:
14111 @if [ $(current_stage) = stage4 ]; then \
14112 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14113 else \
14114 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
14115 $(MAKE) stage4-start; \
14116 fi; \
14117 cd $(HOST_SUBDIR)/gas && \
14118 $(MAKE) $(EXTRA_HOST_FLAGS) \
14119 $(POSTSTAGE1_FLAGS_TO_PASS) \
14120 clean
14121 @endif gas-bootstrap
14124 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
14125 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
14126 maybe-all-stageprofile-gas:
14127 maybe-clean-stageprofile-gas:
14128 @if gas-bootstrap
14129 maybe-all-stageprofile-gas: all-stageprofile-gas
14130 all-stageprofile: all-stageprofile-gas
14131 TARGET-stageprofile-gas = $(TARGET-gas)
14132 all-stageprofile-gas: configure-stageprofile-gas
14133 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14134 @r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14137 $(HOST_EXPORTS) \
14138 $(POSTSTAGE1_HOST_EXPORTS) \
14139 cd $(HOST_SUBDIR)/gas && \
14140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14141 CFLAGS="$(STAGEprofile_CFLAGS)" \
14142 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14143 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14148 TFLAGS="$(STAGEprofile_TFLAGS)" \
14149 $(TARGET-stageprofile-gas)
14151 maybe-clean-stageprofile-gas: clean-stageprofile-gas
14152 clean-stageprofile: clean-stageprofile-gas
14153 clean-stageprofile-gas:
14154 @if [ $(current_stage) = stageprofile ]; then \
14155 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14156 else \
14157 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
14158 $(MAKE) stageprofile-start; \
14159 fi; \
14160 cd $(HOST_SUBDIR)/gas && \
14161 $(MAKE) $(EXTRA_HOST_FLAGS) \
14162 $(POSTSTAGE1_FLAGS_TO_PASS) \
14163 clean
14164 @endif gas-bootstrap
14167 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
14168 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
14169 maybe-all-stagefeedback-gas:
14170 maybe-clean-stagefeedback-gas:
14171 @if gas-bootstrap
14172 maybe-all-stagefeedback-gas: all-stagefeedback-gas
14173 all-stagefeedback: all-stagefeedback-gas
14174 TARGET-stagefeedback-gas = $(TARGET-gas)
14175 all-stagefeedback-gas: configure-stagefeedback-gas
14176 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14177 @r=`${PWD_COMMAND}`; export r; \
14178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14179 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14180 $(HOST_EXPORTS) \
14181 $(POSTSTAGE1_HOST_EXPORTS) \
14182 cd $(HOST_SUBDIR)/gas && \
14183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14184 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14185 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14186 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14190 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14191 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14192 $(TARGET-stagefeedback-gas)
14194 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
14195 clean-stagefeedback: clean-stagefeedback-gas
14196 clean-stagefeedback-gas:
14197 @if [ $(current_stage) = stagefeedback ]; then \
14198 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
14199 else \
14200 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
14201 $(MAKE) stagefeedback-start; \
14202 fi; \
14203 cd $(HOST_SUBDIR)/gas && \
14204 $(MAKE) $(EXTRA_HOST_FLAGS) \
14205 $(POSTSTAGE1_FLAGS_TO_PASS) \
14206 clean
14207 @endif gas-bootstrap
14213 .PHONY: check-gas maybe-check-gas
14214 maybe-check-gas:
14215 @if gas
14216 maybe-check-gas: check-gas
14218 check-gas:
14219 @: $(MAKE); $(unstage)
14220 @r=`${PWD_COMMAND}`; export r; \
14221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14222 $(HOST_EXPORTS) \
14223 (cd $(HOST_SUBDIR)/gas && \
14224 $(MAKE) $(FLAGS_TO_PASS) check)
14226 @endif gas
14228 .PHONY: install-gas maybe-install-gas
14229 maybe-install-gas:
14230 @if gas
14231 maybe-install-gas: install-gas
14233 install-gas: installdirs
14234 @: $(MAKE); $(unstage)
14235 @r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14237 $(HOST_EXPORTS) \
14238 (cd $(HOST_SUBDIR)/gas && \
14239 $(MAKE) $(FLAGS_TO_PASS) install)
14241 @endif gas
14243 # Other targets (info, dvi, pdf, etc.)
14245 .PHONY: maybe-info-gas info-gas
14246 maybe-info-gas:
14247 @if gas
14248 maybe-info-gas: info-gas
14250 info-gas: \
14251 configure-gas
14252 @[ -f ./gas/Makefile ] || exit 0; \
14253 r=`${PWD_COMMAND}`; export r; \
14254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255 $(HOST_EXPORTS) \
14256 for flag in $(EXTRA_HOST_FLAGS) ; do \
14257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14258 done; \
14259 echo "Doing info in gas" ; \
14260 (cd $(HOST_SUBDIR)/gas && \
14261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14263 "RANLIB=$${RANLIB}" \
14264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14265 info) \
14266 || exit 1
14268 @endif gas
14270 .PHONY: maybe-dvi-gas dvi-gas
14271 maybe-dvi-gas:
14272 @if gas
14273 maybe-dvi-gas: dvi-gas
14275 dvi-gas: \
14276 configure-gas
14277 @[ -f ./gas/Makefile ] || exit 0; \
14278 r=`${PWD_COMMAND}`; export r; \
14279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 $(HOST_EXPORTS) \
14281 for flag in $(EXTRA_HOST_FLAGS) ; do \
14282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 done; \
14284 echo "Doing dvi in gas" ; \
14285 (cd $(HOST_SUBDIR)/gas && \
14286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14288 "RANLIB=$${RANLIB}" \
14289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14290 dvi) \
14291 || exit 1
14293 @endif gas
14295 .PHONY: maybe-pdf-gas pdf-gas
14296 maybe-pdf-gas:
14297 @if gas
14298 maybe-pdf-gas: pdf-gas
14300 pdf-gas: \
14301 configure-gas
14302 @[ -f ./gas/Makefile ] || exit 0; \
14303 r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 $(HOST_EXPORTS) \
14306 for flag in $(EXTRA_HOST_FLAGS) ; do \
14307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14308 done; \
14309 echo "Doing pdf in gas" ; \
14310 (cd $(HOST_SUBDIR)/gas && \
14311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14313 "RANLIB=$${RANLIB}" \
14314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14315 pdf) \
14316 || exit 1
14318 @endif gas
14320 .PHONY: maybe-html-gas html-gas
14321 maybe-html-gas:
14322 @if gas
14323 maybe-html-gas: html-gas
14325 html-gas: \
14326 configure-gas
14327 @[ -f ./gas/Makefile ] || exit 0; \
14328 r=`${PWD_COMMAND}`; export r; \
14329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14330 $(HOST_EXPORTS) \
14331 for flag in $(EXTRA_HOST_FLAGS) ; do \
14332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14333 done; \
14334 echo "Doing html in gas" ; \
14335 (cd $(HOST_SUBDIR)/gas && \
14336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14338 "RANLIB=$${RANLIB}" \
14339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14340 html) \
14341 || exit 1
14343 @endif gas
14345 .PHONY: maybe-TAGS-gas TAGS-gas
14346 maybe-TAGS-gas:
14347 @if gas
14348 maybe-TAGS-gas: TAGS-gas
14350 TAGS-gas: \
14351 configure-gas
14352 @[ -f ./gas/Makefile ] || exit 0; \
14353 r=`${PWD_COMMAND}`; export r; \
14354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14355 $(HOST_EXPORTS) \
14356 for flag in $(EXTRA_HOST_FLAGS) ; do \
14357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14358 done; \
14359 echo "Doing TAGS in gas" ; \
14360 (cd $(HOST_SUBDIR)/gas && \
14361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14363 "RANLIB=$${RANLIB}" \
14364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14365 TAGS) \
14366 || exit 1
14368 @endif gas
14370 .PHONY: maybe-install-info-gas install-info-gas
14371 maybe-install-info-gas:
14372 @if gas
14373 maybe-install-info-gas: install-info-gas
14375 install-info-gas: \
14376 configure-gas \
14377 info-gas
14378 @[ -f ./gas/Makefile ] || exit 0; \
14379 r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14381 $(HOST_EXPORTS) \
14382 for flag in $(EXTRA_HOST_FLAGS) ; do \
14383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14384 done; \
14385 echo "Doing install-info in gas" ; \
14386 (cd $(HOST_SUBDIR)/gas && \
14387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14389 "RANLIB=$${RANLIB}" \
14390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14391 install-info) \
14392 || exit 1
14394 @endif gas
14396 .PHONY: maybe-install-pdf-gas install-pdf-gas
14397 maybe-install-pdf-gas:
14398 @if gas
14399 maybe-install-pdf-gas: install-pdf-gas
14401 install-pdf-gas: \
14402 configure-gas \
14403 pdf-gas
14404 @[ -f ./gas/Makefile ] || exit 0; \
14405 r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 $(HOST_EXPORTS) \
14408 for flag in $(EXTRA_HOST_FLAGS) ; do \
14409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14410 done; \
14411 echo "Doing install-pdf in gas" ; \
14412 (cd $(HOST_SUBDIR)/gas && \
14413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14415 "RANLIB=$${RANLIB}" \
14416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14417 install-pdf) \
14418 || exit 1
14420 @endif gas
14422 .PHONY: maybe-install-html-gas install-html-gas
14423 maybe-install-html-gas:
14424 @if gas
14425 maybe-install-html-gas: install-html-gas
14427 install-html-gas: \
14428 configure-gas \
14429 html-gas
14430 @[ -f ./gas/Makefile ] || exit 0; \
14431 r=`${PWD_COMMAND}`; export r; \
14432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14433 $(HOST_EXPORTS) \
14434 for flag in $(EXTRA_HOST_FLAGS) ; do \
14435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14436 done; \
14437 echo "Doing install-html in gas" ; \
14438 (cd $(HOST_SUBDIR)/gas && \
14439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14441 "RANLIB=$${RANLIB}" \
14442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14443 install-html) \
14444 || exit 1
14446 @endif gas
14448 .PHONY: maybe-installcheck-gas installcheck-gas
14449 maybe-installcheck-gas:
14450 @if gas
14451 maybe-installcheck-gas: installcheck-gas
14453 installcheck-gas: \
14454 configure-gas
14455 @[ -f ./gas/Makefile ] || exit 0; \
14456 r=`${PWD_COMMAND}`; export r; \
14457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14458 $(HOST_EXPORTS) \
14459 for flag in $(EXTRA_HOST_FLAGS) ; do \
14460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14461 done; \
14462 echo "Doing installcheck in gas" ; \
14463 (cd $(HOST_SUBDIR)/gas && \
14464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14466 "RANLIB=$${RANLIB}" \
14467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14468 installcheck) \
14469 || exit 1
14471 @endif gas
14473 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14474 maybe-mostlyclean-gas:
14475 @if gas
14476 maybe-mostlyclean-gas: mostlyclean-gas
14478 mostlyclean-gas:
14479 @[ -f ./gas/Makefile ] || exit 0; \
14480 r=`${PWD_COMMAND}`; export r; \
14481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14482 $(HOST_EXPORTS) \
14483 for flag in $(EXTRA_HOST_FLAGS) ; do \
14484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14485 done; \
14486 echo "Doing mostlyclean in gas" ; \
14487 (cd $(HOST_SUBDIR)/gas && \
14488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14490 "RANLIB=$${RANLIB}" \
14491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14492 mostlyclean) \
14493 || exit 1
14495 @endif gas
14497 .PHONY: maybe-clean-gas clean-gas
14498 maybe-clean-gas:
14499 @if gas
14500 maybe-clean-gas: clean-gas
14502 clean-gas:
14503 @[ -f ./gas/Makefile ] || exit 0; \
14504 r=`${PWD_COMMAND}`; export r; \
14505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 $(HOST_EXPORTS) \
14507 for flag in $(EXTRA_HOST_FLAGS) ; do \
14508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14509 done; \
14510 echo "Doing clean in gas" ; \
14511 (cd $(HOST_SUBDIR)/gas && \
14512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14514 "RANLIB=$${RANLIB}" \
14515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14516 clean) \
14517 || exit 1
14519 @endif gas
14521 .PHONY: maybe-distclean-gas distclean-gas
14522 maybe-distclean-gas:
14523 @if gas
14524 maybe-distclean-gas: distclean-gas
14526 distclean-gas:
14527 @[ -f ./gas/Makefile ] || exit 0; \
14528 r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 $(HOST_EXPORTS) \
14531 for flag in $(EXTRA_HOST_FLAGS) ; do \
14532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14533 done; \
14534 echo "Doing distclean in gas" ; \
14535 (cd $(HOST_SUBDIR)/gas && \
14536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14538 "RANLIB=$${RANLIB}" \
14539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14540 distclean) \
14541 || exit 1
14543 @endif gas
14545 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
14546 maybe-maintainer-clean-gas:
14547 @if gas
14548 maybe-maintainer-clean-gas: maintainer-clean-gas
14550 maintainer-clean-gas:
14551 @[ -f ./gas/Makefile ] || exit 0; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 $(HOST_EXPORTS) \
14555 for flag in $(EXTRA_HOST_FLAGS) ; do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing maintainer-clean in gas" ; \
14559 (cd $(HOST_SUBDIR)/gas && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14564 maintainer-clean) \
14565 || exit 1
14567 @endif gas
14571 .PHONY: configure-gcc maybe-configure-gcc
14572 maybe-configure-gcc:
14573 @if gcc-bootstrap
14574 configure-gcc: stage_current
14575 @endif gcc-bootstrap
14576 @if gcc
14577 maybe-configure-gcc: configure-gcc
14578 configure-gcc:
14579 @r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14583 $(HOST_EXPORTS) \
14584 echo Configuring in $(HOST_SUBDIR)/gcc; \
14585 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
14586 case $(srcdir) in \
14587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14588 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14590 esac; \
14591 srcdiroption="--srcdir=$${topdir}/gcc"; \
14592 libsrcdir="$$s/gcc"; \
14593 $(SHELL) $${libsrcdir}/configure \
14594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14595 --target=${target_alias} $${srcdiroption} \
14596 || exit 1
14597 @endif gcc
14601 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
14602 maybe-configure-stage1-gcc:
14603 @if gcc-bootstrap
14604 maybe-configure-stage1-gcc: configure-stage1-gcc
14605 configure-stage1-gcc:
14606 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14608 @r=`${PWD_COMMAND}`; export r; \
14609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 TFLAGS="$(STAGE1_TFLAGS)"; \
14611 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14612 $(HOST_EXPORTS) \
14613 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14614 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14615 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14616 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
14617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14618 cd $(HOST_SUBDIR)/gcc || exit 1; \
14619 case $(srcdir) in \
14620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14621 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14623 esac; \
14624 srcdiroption="--srcdir=$${topdir}/gcc"; \
14625 libsrcdir="$$s/gcc"; \
14626 $(SHELL) $${libsrcdir}/configure \
14627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14628 --target=${target_alias} $${srcdiroption} \
14629 $(STAGE1_CONFIGURE_FLAGS)
14630 @endif gcc-bootstrap
14632 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
14633 maybe-configure-stage2-gcc:
14634 @if gcc-bootstrap
14635 maybe-configure-stage2-gcc: configure-stage2-gcc
14636 configure-stage2-gcc:
14637 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14639 @r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14641 TFLAGS="$(STAGE2_TFLAGS)"; \
14642 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14643 $(HOST_EXPORTS) \
14644 $(POSTSTAGE1_HOST_EXPORTS) \
14645 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14646 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14647 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14648 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
14649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14650 cd $(HOST_SUBDIR)/gcc || exit 1; \
14651 case $(srcdir) in \
14652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14653 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14655 esac; \
14656 srcdiroption="--srcdir=$${topdir}/gcc"; \
14657 libsrcdir="$$s/gcc"; \
14658 $(SHELL) $${libsrcdir}/configure \
14659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14660 --target=${target_alias} $${srcdiroption} \
14661 --with-build-libsubdir=$(HOST_SUBDIR) \
14662 $(STAGE2_CONFIGURE_FLAGS)
14663 @endif gcc-bootstrap
14665 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
14666 maybe-configure-stage3-gcc:
14667 @if gcc-bootstrap
14668 maybe-configure-stage3-gcc: configure-stage3-gcc
14669 configure-stage3-gcc:
14670 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14672 @r=`${PWD_COMMAND}`; export r; \
14673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674 TFLAGS="$(STAGE3_TFLAGS)"; \
14675 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14676 $(HOST_EXPORTS) \
14677 $(POSTSTAGE1_HOST_EXPORTS) \
14678 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14679 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14680 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14681 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
14682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14683 cd $(HOST_SUBDIR)/gcc || exit 1; \
14684 case $(srcdir) in \
14685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14686 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14688 esac; \
14689 srcdiroption="--srcdir=$${topdir}/gcc"; \
14690 libsrcdir="$$s/gcc"; \
14691 $(SHELL) $${libsrcdir}/configure \
14692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14693 --target=${target_alias} $${srcdiroption} \
14694 --with-build-libsubdir=$(HOST_SUBDIR) \
14695 $(STAGE3_CONFIGURE_FLAGS)
14696 @endif gcc-bootstrap
14698 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
14699 maybe-configure-stage4-gcc:
14700 @if gcc-bootstrap
14701 maybe-configure-stage4-gcc: configure-stage4-gcc
14702 configure-stage4-gcc:
14703 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14705 @r=`${PWD_COMMAND}`; export r; \
14706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14707 TFLAGS="$(STAGE4_TFLAGS)"; \
14708 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14709 $(HOST_EXPORTS) \
14710 $(POSTSTAGE1_HOST_EXPORTS) \
14711 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14712 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14713 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14714 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
14715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14716 cd $(HOST_SUBDIR)/gcc || exit 1; \
14717 case $(srcdir) in \
14718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14719 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14721 esac; \
14722 srcdiroption="--srcdir=$${topdir}/gcc"; \
14723 libsrcdir="$$s/gcc"; \
14724 $(SHELL) $${libsrcdir}/configure \
14725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14726 --target=${target_alias} $${srcdiroption} \
14727 --with-build-libsubdir=$(HOST_SUBDIR) \
14728 $(STAGE4_CONFIGURE_FLAGS)
14729 @endif gcc-bootstrap
14731 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
14732 maybe-configure-stageprofile-gcc:
14733 @if gcc-bootstrap
14734 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
14735 configure-stageprofile-gcc:
14736 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14738 @r=`${PWD_COMMAND}`; export r; \
14739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14740 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14741 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14742 $(HOST_EXPORTS) \
14743 $(POSTSTAGE1_HOST_EXPORTS) \
14744 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14745 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14746 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14747 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
14748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14749 cd $(HOST_SUBDIR)/gcc || exit 1; \
14750 case $(srcdir) in \
14751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14752 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14754 esac; \
14755 srcdiroption="--srcdir=$${topdir}/gcc"; \
14756 libsrcdir="$$s/gcc"; \
14757 $(SHELL) $${libsrcdir}/configure \
14758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14759 --target=${target_alias} $${srcdiroption} \
14760 --with-build-libsubdir=$(HOST_SUBDIR) \
14761 $(STAGEprofile_CONFIGURE_FLAGS)
14762 @endif gcc-bootstrap
14764 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
14765 maybe-configure-stagefeedback-gcc:
14766 @if gcc-bootstrap
14767 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
14768 configure-stagefeedback-gcc:
14769 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14771 @r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14774 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14775 $(HOST_EXPORTS) \
14776 $(POSTSTAGE1_HOST_EXPORTS) \
14777 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14778 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14779 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14780 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
14781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14782 cd $(HOST_SUBDIR)/gcc || exit 1; \
14783 case $(srcdir) in \
14784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14785 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14787 esac; \
14788 srcdiroption="--srcdir=$${topdir}/gcc"; \
14789 libsrcdir="$$s/gcc"; \
14790 $(SHELL) $${libsrcdir}/configure \
14791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14792 --target=${target_alias} $${srcdiroption} \
14793 --with-build-libsubdir=$(HOST_SUBDIR) \
14794 $(STAGEfeedback_CONFIGURE_FLAGS)
14795 @endif gcc-bootstrap
14801 .PHONY: all-gcc maybe-all-gcc
14802 maybe-all-gcc:
14803 @if gcc-bootstrap
14804 all-gcc: stage_current
14805 @endif gcc-bootstrap
14806 @if gcc
14807 TARGET-gcc=all
14808 maybe-all-gcc: all-gcc
14809 all-gcc: configure-gcc
14810 @r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812 $(HOST_EXPORTS) \
14813 (cd $(HOST_SUBDIR)/gcc && \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14815 $(TARGET-gcc))
14816 @endif gcc
14820 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
14821 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
14822 maybe-all-stage1-gcc:
14823 maybe-clean-stage1-gcc:
14824 @if gcc-bootstrap
14825 maybe-all-stage1-gcc: all-stage1-gcc
14826 all-stage1: all-stage1-gcc
14827 TARGET-stage1-gcc = $(TARGET-gcc)
14828 all-stage1-gcc: configure-stage1-gcc
14829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14830 @r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 TFLAGS="$(STAGE1_TFLAGS)"; \
14833 $(HOST_EXPORTS) \
14834 cd $(HOST_SUBDIR)/gcc && \
14835 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14836 CFLAGS="$(STAGE1_CFLAGS)" \
14837 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14838 LIBCFLAGS="$(LIBCFLAGS)" \
14839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14842 $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14843 TFLAGS="$(STAGE1_TFLAGS)" \
14844 $(TARGET-stage1-gcc)
14846 maybe-clean-stage1-gcc: clean-stage1-gcc
14847 clean-stage1: clean-stage1-gcc
14848 clean-stage1-gcc:
14849 @if [ $(current_stage) = stage1 ]; then \
14850 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14851 else \
14852 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
14853 $(MAKE) stage1-start; \
14854 fi; \
14855 cd $(HOST_SUBDIR)/gcc && \
14856 $(MAKE) $(EXTRA_HOST_FLAGS) \
14857 $(EXTRA_GCC_FLAGS) clean
14858 @endif gcc-bootstrap
14861 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
14862 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
14863 maybe-all-stage2-gcc:
14864 maybe-clean-stage2-gcc:
14865 @if gcc-bootstrap
14866 maybe-all-stage2-gcc: all-stage2-gcc
14867 all-stage2: all-stage2-gcc
14868 TARGET-stage2-gcc = $(TARGET-gcc)
14869 all-stage2-gcc: configure-stage2-gcc
14870 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14871 @r=`${PWD_COMMAND}`; export r; \
14872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14873 TFLAGS="$(STAGE2_TFLAGS)"; \
14874 $(HOST_EXPORTS) \
14875 $(POSTSTAGE1_HOST_EXPORTS) \
14876 cd $(HOST_SUBDIR)/gcc && \
14877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14878 CFLAGS="$(STAGE2_CFLAGS)" \
14879 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14880 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14881 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14882 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14883 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14884 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14885 TFLAGS="$(STAGE2_TFLAGS)" \
14886 $(TARGET-stage2-gcc)
14888 maybe-clean-stage2-gcc: clean-stage2-gcc
14889 clean-stage2: clean-stage2-gcc
14890 clean-stage2-gcc:
14891 @if [ $(current_stage) = stage2 ]; then \
14892 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14893 else \
14894 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
14895 $(MAKE) stage2-start; \
14896 fi; \
14897 cd $(HOST_SUBDIR)/gcc && \
14898 $(MAKE) $(EXTRA_HOST_FLAGS) \
14899 $(POSTSTAGE1_FLAGS_TO_PASS) \
14900 $(EXTRA_GCC_FLAGS) clean
14901 @endif gcc-bootstrap
14904 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
14905 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
14906 maybe-all-stage3-gcc:
14907 maybe-clean-stage3-gcc:
14908 @if gcc-bootstrap
14909 maybe-all-stage3-gcc: all-stage3-gcc
14910 all-stage3: all-stage3-gcc
14911 TARGET-stage3-gcc = $(TARGET-gcc)
14912 all-stage3-gcc: configure-stage3-gcc
14913 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14914 @r=`${PWD_COMMAND}`; export r; \
14915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14916 TFLAGS="$(STAGE3_TFLAGS)"; \
14917 $(HOST_EXPORTS) \
14918 $(POSTSTAGE1_HOST_EXPORTS) \
14919 cd $(HOST_SUBDIR)/gcc && \
14920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14921 CFLAGS="$(STAGE3_CFLAGS)" \
14922 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14923 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14924 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14925 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14926 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14927 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14928 TFLAGS="$(STAGE3_TFLAGS)" \
14929 $(TARGET-stage3-gcc)
14931 maybe-clean-stage3-gcc: clean-stage3-gcc
14932 clean-stage3: clean-stage3-gcc
14933 clean-stage3-gcc:
14934 @if [ $(current_stage) = stage3 ]; then \
14935 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14936 else \
14937 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
14938 $(MAKE) stage3-start; \
14939 fi; \
14940 cd $(HOST_SUBDIR)/gcc && \
14941 $(MAKE) $(EXTRA_HOST_FLAGS) \
14942 $(POSTSTAGE1_FLAGS_TO_PASS) \
14943 $(EXTRA_GCC_FLAGS) clean
14944 @endif gcc-bootstrap
14947 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
14948 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
14949 maybe-all-stage4-gcc:
14950 maybe-clean-stage4-gcc:
14951 @if gcc-bootstrap
14952 maybe-all-stage4-gcc: all-stage4-gcc
14953 all-stage4: all-stage4-gcc
14954 TARGET-stage4-gcc = $(TARGET-gcc)
14955 all-stage4-gcc: configure-stage4-gcc
14956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14957 @r=`${PWD_COMMAND}`; export r; \
14958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14959 TFLAGS="$(STAGE4_TFLAGS)"; \
14960 $(HOST_EXPORTS) \
14961 $(POSTSTAGE1_HOST_EXPORTS) \
14962 cd $(HOST_SUBDIR)/gcc && \
14963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14964 CFLAGS="$(STAGE4_CFLAGS)" \
14965 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14966 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14970 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14971 TFLAGS="$(STAGE4_TFLAGS)" \
14972 $(TARGET-stage4-gcc)
14974 maybe-clean-stage4-gcc: clean-stage4-gcc
14975 clean-stage4: clean-stage4-gcc
14976 clean-stage4-gcc:
14977 @if [ $(current_stage) = stage4 ]; then \
14978 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14979 else \
14980 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
14981 $(MAKE) stage4-start; \
14982 fi; \
14983 cd $(HOST_SUBDIR)/gcc && \
14984 $(MAKE) $(EXTRA_HOST_FLAGS) \
14985 $(POSTSTAGE1_FLAGS_TO_PASS) \
14986 $(EXTRA_GCC_FLAGS) clean
14987 @endif gcc-bootstrap
14990 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
14991 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
14992 maybe-all-stageprofile-gcc:
14993 maybe-clean-stageprofile-gcc:
14994 @if gcc-bootstrap
14995 maybe-all-stageprofile-gcc: all-stageprofile-gcc
14996 all-stageprofile: all-stageprofile-gcc
14997 TARGET-stageprofile-gcc = $(TARGET-gcc)
14998 all-stageprofile-gcc: configure-stageprofile-gcc
14999 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15000 @r=`${PWD_COMMAND}`; export r; \
15001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15002 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15003 $(HOST_EXPORTS) \
15004 $(POSTSTAGE1_HOST_EXPORTS) \
15005 cd $(HOST_SUBDIR)/gcc && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15007 CFLAGS="$(STAGEprofile_CFLAGS)" \
15008 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15009 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15014 TFLAGS="$(STAGEprofile_TFLAGS)" \
15015 $(TARGET-stageprofile-gcc)
15017 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
15018 clean-stageprofile: clean-stageprofile-gcc
15019 clean-stageprofile-gcc:
15020 @if [ $(current_stage) = stageprofile ]; then \
15021 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15022 else \
15023 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
15024 $(MAKE) stageprofile-start; \
15025 fi; \
15026 cd $(HOST_SUBDIR)/gcc && \
15027 $(MAKE) $(EXTRA_HOST_FLAGS) \
15028 $(POSTSTAGE1_FLAGS_TO_PASS) \
15029 $(EXTRA_GCC_FLAGS) clean
15030 @endif gcc-bootstrap
15033 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
15034 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
15035 maybe-all-stagefeedback-gcc:
15036 maybe-clean-stagefeedback-gcc:
15037 @if gcc-bootstrap
15038 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
15039 all-stagefeedback: all-stagefeedback-gcc
15040 TARGET-stagefeedback-gcc = $(TARGET-gcc)
15041 all-stagefeedback-gcc: configure-stagefeedback-gcc
15042 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15043 @r=`${PWD_COMMAND}`; export r; \
15044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15045 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15046 $(HOST_EXPORTS) \
15047 $(POSTSTAGE1_HOST_EXPORTS) \
15048 cd $(HOST_SUBDIR)/gcc && \
15049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15050 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15051 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15052 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15056 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
15057 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15058 $(TARGET-stagefeedback-gcc)
15060 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
15061 clean-stagefeedback: clean-stagefeedback-gcc
15062 clean-stagefeedback-gcc:
15063 @if [ $(current_stage) = stagefeedback ]; then \
15064 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
15065 else \
15066 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
15067 $(MAKE) stagefeedback-start; \
15068 fi; \
15069 cd $(HOST_SUBDIR)/gcc && \
15070 $(MAKE) $(EXTRA_HOST_FLAGS) \
15071 $(POSTSTAGE1_FLAGS_TO_PASS) \
15072 $(EXTRA_GCC_FLAGS) clean
15073 @endif gcc-bootstrap
15079 .PHONY: check-gcc maybe-check-gcc
15080 maybe-check-gcc:
15081 @if gcc
15082 maybe-check-gcc: check-gcc
15084 check-gcc:
15085 @: $(MAKE); $(unstage)
15086 @r=`${PWD_COMMAND}`; export r; \
15087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15088 $(HOST_EXPORTS) \
15089 (cd $(HOST_SUBDIR)/gcc && \
15090 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
15092 @endif gcc
15094 .PHONY: install-gcc maybe-install-gcc
15095 maybe-install-gcc:
15096 @if gcc
15097 maybe-install-gcc: install-gcc
15099 install-gcc: installdirs
15100 @: $(MAKE); $(unstage)
15101 @r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 $(HOST_EXPORTS) \
15104 (cd $(HOST_SUBDIR)/gcc && \
15105 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
15107 @endif gcc
15109 # Other targets (info, dvi, pdf, etc.)
15111 .PHONY: maybe-info-gcc info-gcc
15112 maybe-info-gcc:
15113 @if gcc
15114 maybe-info-gcc: info-gcc
15116 info-gcc: \
15117 configure-gcc
15118 @[ -f ./gcc/Makefile ] || exit 0; \
15119 r=`${PWD_COMMAND}`; export r; \
15120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15121 $(HOST_EXPORTS) \
15122 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15124 done; \
15125 echo "Doing info in gcc" ; \
15126 (cd $(HOST_SUBDIR)/gcc && \
15127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15129 "RANLIB=$${RANLIB}" \
15130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15131 info) \
15132 || exit 1
15134 @endif gcc
15136 .PHONY: maybe-dvi-gcc dvi-gcc
15137 maybe-dvi-gcc:
15138 @if gcc
15139 maybe-dvi-gcc: dvi-gcc
15141 dvi-gcc: \
15142 configure-gcc
15143 @[ -f ./gcc/Makefile ] || exit 0; \
15144 r=`${PWD_COMMAND}`; export r; \
15145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 $(HOST_EXPORTS) \
15147 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15149 done; \
15150 echo "Doing dvi in gcc" ; \
15151 (cd $(HOST_SUBDIR)/gcc && \
15152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15154 "RANLIB=$${RANLIB}" \
15155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15156 dvi) \
15157 || exit 1
15159 @endif gcc
15161 .PHONY: maybe-pdf-gcc pdf-gcc
15162 maybe-pdf-gcc:
15163 @if gcc
15164 maybe-pdf-gcc: pdf-gcc
15166 pdf-gcc: \
15167 configure-gcc
15168 @[ -f ./gcc/Makefile ] || exit 0; \
15169 r=`${PWD_COMMAND}`; export r; \
15170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15171 $(HOST_EXPORTS) \
15172 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15174 done; \
15175 echo "Doing pdf in gcc" ; \
15176 (cd $(HOST_SUBDIR)/gcc && \
15177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15179 "RANLIB=$${RANLIB}" \
15180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15181 pdf) \
15182 || exit 1
15184 @endif gcc
15186 .PHONY: maybe-html-gcc html-gcc
15187 maybe-html-gcc:
15188 @if gcc
15189 maybe-html-gcc: html-gcc
15191 html-gcc: \
15192 configure-gcc
15193 @[ -f ./gcc/Makefile ] || exit 0; \
15194 r=`${PWD_COMMAND}`; export r; \
15195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15196 $(HOST_EXPORTS) \
15197 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15199 done; \
15200 echo "Doing html in gcc" ; \
15201 (cd $(HOST_SUBDIR)/gcc && \
15202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15204 "RANLIB=$${RANLIB}" \
15205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15206 html) \
15207 || exit 1
15209 @endif gcc
15211 .PHONY: maybe-TAGS-gcc TAGS-gcc
15212 maybe-TAGS-gcc:
15213 @if gcc
15214 maybe-TAGS-gcc: TAGS-gcc
15216 TAGS-gcc: \
15217 configure-gcc
15218 @[ -f ./gcc/Makefile ] || exit 0; \
15219 r=`${PWD_COMMAND}`; export r; \
15220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15221 $(HOST_EXPORTS) \
15222 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15224 done; \
15225 echo "Doing TAGS in gcc" ; \
15226 (cd $(HOST_SUBDIR)/gcc && \
15227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15229 "RANLIB=$${RANLIB}" \
15230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15231 TAGS) \
15232 || exit 1
15234 @endif gcc
15236 .PHONY: maybe-install-info-gcc install-info-gcc
15237 maybe-install-info-gcc:
15238 @if gcc
15239 maybe-install-info-gcc: install-info-gcc
15241 install-info-gcc: \
15242 configure-gcc \
15243 info-gcc
15244 @[ -f ./gcc/Makefile ] || exit 0; \
15245 r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 $(HOST_EXPORTS) \
15248 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250 done; \
15251 echo "Doing install-info in gcc" ; \
15252 (cd $(HOST_SUBDIR)/gcc && \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15257 install-info) \
15258 || exit 1
15260 @endif gcc
15262 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
15263 maybe-install-pdf-gcc:
15264 @if gcc
15265 maybe-install-pdf-gcc: install-pdf-gcc
15267 install-pdf-gcc: \
15268 configure-gcc \
15269 pdf-gcc
15270 @[ -f ./gcc/Makefile ] || exit 0; \
15271 r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 $(HOST_EXPORTS) \
15274 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15276 done; \
15277 echo "Doing install-pdf in gcc" ; \
15278 (cd $(HOST_SUBDIR)/gcc && \
15279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15281 "RANLIB=$${RANLIB}" \
15282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15283 install-pdf) \
15284 || exit 1
15286 @endif gcc
15288 .PHONY: maybe-install-html-gcc install-html-gcc
15289 maybe-install-html-gcc:
15290 @if gcc
15291 maybe-install-html-gcc: install-html-gcc
15293 install-html-gcc: \
15294 configure-gcc \
15295 html-gcc
15296 @[ -f ./gcc/Makefile ] || exit 0; \
15297 r=`${PWD_COMMAND}`; export r; \
15298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15299 $(HOST_EXPORTS) \
15300 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15302 done; \
15303 echo "Doing install-html in gcc" ; \
15304 (cd $(HOST_SUBDIR)/gcc && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15307 "RANLIB=$${RANLIB}" \
15308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15309 install-html) \
15310 || exit 1
15312 @endif gcc
15314 .PHONY: maybe-installcheck-gcc installcheck-gcc
15315 maybe-installcheck-gcc:
15316 @if gcc
15317 maybe-installcheck-gcc: installcheck-gcc
15319 installcheck-gcc: \
15320 configure-gcc
15321 @[ -f ./gcc/Makefile ] || exit 0; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324 $(HOST_EXPORTS) \
15325 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15327 done; \
15328 echo "Doing installcheck in gcc" ; \
15329 (cd $(HOST_SUBDIR)/gcc && \
15330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15332 "RANLIB=$${RANLIB}" \
15333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15334 installcheck) \
15335 || exit 1
15337 @endif gcc
15339 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15340 maybe-mostlyclean-gcc:
15341 @if gcc
15342 maybe-mostlyclean-gcc: mostlyclean-gcc
15344 mostlyclean-gcc:
15345 @[ -f ./gcc/Makefile ] || exit 0; \
15346 r=`${PWD_COMMAND}`; export r; \
15347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 $(HOST_EXPORTS) \
15349 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15351 done; \
15352 echo "Doing mostlyclean in gcc" ; \
15353 (cd $(HOST_SUBDIR)/gcc && \
15354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15356 "RANLIB=$${RANLIB}" \
15357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15358 mostlyclean) \
15359 || exit 1
15361 @endif gcc
15363 .PHONY: maybe-clean-gcc clean-gcc
15364 maybe-clean-gcc:
15365 @if gcc
15366 maybe-clean-gcc: clean-gcc
15368 clean-gcc:
15369 @[ -f ./gcc/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing clean in gcc" ; \
15377 (cd $(HOST_SUBDIR)/gcc && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15382 clean) \
15383 || exit 1
15385 @endif gcc
15387 .PHONY: maybe-distclean-gcc distclean-gcc
15388 maybe-distclean-gcc:
15389 @if gcc
15390 maybe-distclean-gcc: distclean-gcc
15392 distclean-gcc:
15393 @[ -f ./gcc/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(HOST_EXPORTS) \
15397 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 done; \
15400 echo "Doing distclean in gcc" ; \
15401 (cd $(HOST_SUBDIR)/gcc && \
15402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15404 "RANLIB=$${RANLIB}" \
15405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15406 distclean) \
15407 || exit 1
15409 @endif gcc
15411 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15412 maybe-maintainer-clean-gcc:
15413 @if gcc
15414 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15416 maintainer-clean-gcc:
15417 @[ -f ./gcc/Makefile ] || exit 0; \
15418 r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 $(HOST_EXPORTS) \
15421 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15423 done; \
15424 echo "Doing maintainer-clean in gcc" ; \
15425 (cd $(HOST_SUBDIR)/gcc && \
15426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15428 "RANLIB=$${RANLIB}" \
15429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15430 maintainer-clean) \
15431 || exit 1
15433 @endif gcc
15437 .PHONY: configure-gawk maybe-configure-gawk
15438 maybe-configure-gawk:
15439 @if gcc-bootstrap
15440 configure-gawk: stage_current
15441 @endif gcc-bootstrap
15442 @if gawk
15443 maybe-configure-gawk: configure-gawk
15444 configure-gawk:
15445 @: $(MAKE); $(unstage)
15446 @r=`${PWD_COMMAND}`; export r; \
15447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15448 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15450 $(HOST_EXPORTS) \
15451 echo Configuring in $(HOST_SUBDIR)/gawk; \
15452 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15453 case $(srcdir) in \
15454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15455 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15457 esac; \
15458 srcdiroption="--srcdir=$${topdir}/gawk"; \
15459 libsrcdir="$$s/gawk"; \
15460 $(SHELL) $${libsrcdir}/configure \
15461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15462 --target=${target_alias} $${srcdiroption} \
15463 || exit 1
15464 @endif gawk
15470 .PHONY: all-gawk maybe-all-gawk
15471 maybe-all-gawk:
15472 @if gcc-bootstrap
15473 all-gawk: stage_current
15474 @endif gcc-bootstrap
15475 @if gawk
15476 TARGET-gawk=all
15477 maybe-all-gawk: all-gawk
15478 all-gawk: configure-gawk
15479 @: $(MAKE); $(unstage)
15480 @r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15482 $(HOST_EXPORTS) \
15483 (cd $(HOST_SUBDIR)/gawk && \
15484 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15485 $(TARGET-gawk))
15486 @endif gawk
15491 .PHONY: check-gawk maybe-check-gawk
15492 maybe-check-gawk:
15493 @if gawk
15494 maybe-check-gawk: check-gawk
15496 check-gawk:
15497 @: $(MAKE); $(unstage)
15498 @r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15500 $(HOST_EXPORTS) \
15501 (cd $(HOST_SUBDIR)/gawk && \
15502 $(MAKE) $(FLAGS_TO_PASS) check)
15504 @endif gawk
15506 .PHONY: install-gawk maybe-install-gawk
15507 maybe-install-gawk:
15508 @if gawk
15509 maybe-install-gawk: install-gawk
15511 install-gawk: installdirs
15512 @: $(MAKE); $(unstage)
15513 @r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 $(HOST_EXPORTS) \
15516 (cd $(HOST_SUBDIR)/gawk && \
15517 $(MAKE) $(FLAGS_TO_PASS) install)
15519 @endif gawk
15521 # Other targets (info, dvi, pdf, etc.)
15523 .PHONY: maybe-info-gawk info-gawk
15524 maybe-info-gawk:
15525 @if gawk
15526 maybe-info-gawk: info-gawk
15528 info-gawk: \
15529 configure-gawk
15530 @: $(MAKE); $(unstage)
15531 @[ -f ./gawk/Makefile ] || exit 0; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 for flag in $(EXTRA_HOST_FLAGS) ; do \
15536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15537 done; \
15538 echo "Doing info in gawk" ; \
15539 (cd $(HOST_SUBDIR)/gawk && \
15540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15542 "RANLIB=$${RANLIB}" \
15543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15544 info) \
15545 || exit 1
15547 @endif gawk
15549 .PHONY: maybe-dvi-gawk dvi-gawk
15550 maybe-dvi-gawk:
15551 @if gawk
15552 maybe-dvi-gawk: dvi-gawk
15554 dvi-gawk: \
15555 configure-gawk
15556 @: $(MAKE); $(unstage)
15557 @[ -f ./gawk/Makefile ] || exit 0; \
15558 r=`${PWD_COMMAND}`; export r; \
15559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15560 $(HOST_EXPORTS) \
15561 for flag in $(EXTRA_HOST_FLAGS) ; do \
15562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15563 done; \
15564 echo "Doing dvi in gawk" ; \
15565 (cd $(HOST_SUBDIR)/gawk && \
15566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15568 "RANLIB=$${RANLIB}" \
15569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15570 dvi) \
15571 || exit 1
15573 @endif gawk
15575 .PHONY: maybe-pdf-gawk pdf-gawk
15576 maybe-pdf-gawk:
15577 @if gawk
15578 maybe-pdf-gawk: pdf-gawk
15580 pdf-gawk: \
15581 configure-gawk
15582 @: $(MAKE); $(unstage)
15583 @[ -f ./gawk/Makefile ] || exit 0; \
15584 r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 $(HOST_EXPORTS) \
15587 for flag in $(EXTRA_HOST_FLAGS) ; do \
15588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15589 done; \
15590 echo "Doing pdf in gawk" ; \
15591 (cd $(HOST_SUBDIR)/gawk && \
15592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15594 "RANLIB=$${RANLIB}" \
15595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15596 pdf) \
15597 || exit 1
15599 @endif gawk
15601 .PHONY: maybe-html-gawk html-gawk
15602 maybe-html-gawk:
15603 @if gawk
15604 maybe-html-gawk: html-gawk
15606 html-gawk: \
15607 configure-gawk
15608 @: $(MAKE); $(unstage)
15609 @[ -f ./gawk/Makefile ] || exit 0; \
15610 r=`${PWD_COMMAND}`; export r; \
15611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15612 $(HOST_EXPORTS) \
15613 for flag in $(EXTRA_HOST_FLAGS) ; do \
15614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15615 done; \
15616 echo "Doing html in gawk" ; \
15617 (cd $(HOST_SUBDIR)/gawk && \
15618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15620 "RANLIB=$${RANLIB}" \
15621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15622 html) \
15623 || exit 1
15625 @endif gawk
15627 .PHONY: maybe-TAGS-gawk TAGS-gawk
15628 maybe-TAGS-gawk:
15629 @if gawk
15630 maybe-TAGS-gawk: TAGS-gawk
15632 TAGS-gawk: \
15633 configure-gawk
15634 @: $(MAKE); $(unstage)
15635 @[ -f ./gawk/Makefile ] || exit 0; \
15636 r=`${PWD_COMMAND}`; export r; \
15637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15638 $(HOST_EXPORTS) \
15639 for flag in $(EXTRA_HOST_FLAGS) ; do \
15640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15641 done; \
15642 echo "Doing TAGS in gawk" ; \
15643 (cd $(HOST_SUBDIR)/gawk && \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15646 "RANLIB=$${RANLIB}" \
15647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15648 TAGS) \
15649 || exit 1
15651 @endif gawk
15653 .PHONY: maybe-install-info-gawk install-info-gawk
15654 maybe-install-info-gawk:
15655 @if gawk
15656 maybe-install-info-gawk: install-info-gawk
15658 install-info-gawk: \
15659 configure-gawk \
15660 info-gawk
15661 @: $(MAKE); $(unstage)
15662 @[ -f ./gawk/Makefile ] || exit 0; \
15663 r=`${PWD_COMMAND}`; export r; \
15664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15665 $(HOST_EXPORTS) \
15666 for flag in $(EXTRA_HOST_FLAGS) ; do \
15667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15668 done; \
15669 echo "Doing install-info in gawk" ; \
15670 (cd $(HOST_SUBDIR)/gawk && \
15671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15673 "RANLIB=$${RANLIB}" \
15674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15675 install-info) \
15676 || exit 1
15678 @endif gawk
15680 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
15681 maybe-install-pdf-gawk:
15682 @if gawk
15683 maybe-install-pdf-gawk: install-pdf-gawk
15685 install-pdf-gawk: \
15686 configure-gawk \
15687 pdf-gawk
15688 @: $(MAKE); $(unstage)
15689 @[ -f ./gawk/Makefile ] || exit 0; \
15690 r=`${PWD_COMMAND}`; export r; \
15691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15692 $(HOST_EXPORTS) \
15693 for flag in $(EXTRA_HOST_FLAGS) ; do \
15694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15695 done; \
15696 echo "Doing install-pdf in gawk" ; \
15697 (cd $(HOST_SUBDIR)/gawk && \
15698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15700 "RANLIB=$${RANLIB}" \
15701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15702 install-pdf) \
15703 || exit 1
15705 @endif gawk
15707 .PHONY: maybe-install-html-gawk install-html-gawk
15708 maybe-install-html-gawk:
15709 @if gawk
15710 maybe-install-html-gawk: install-html-gawk
15712 install-html-gawk: \
15713 configure-gawk \
15714 html-gawk
15715 @: $(MAKE); $(unstage)
15716 @[ -f ./gawk/Makefile ] || exit 0; \
15717 r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 $(HOST_EXPORTS) \
15720 for flag in $(EXTRA_HOST_FLAGS) ; do \
15721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15722 done; \
15723 echo "Doing install-html in gawk" ; \
15724 (cd $(HOST_SUBDIR)/gawk && \
15725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15727 "RANLIB=$${RANLIB}" \
15728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15729 install-html) \
15730 || exit 1
15732 @endif gawk
15734 .PHONY: maybe-installcheck-gawk installcheck-gawk
15735 maybe-installcheck-gawk:
15736 @if gawk
15737 maybe-installcheck-gawk: installcheck-gawk
15739 installcheck-gawk: \
15740 configure-gawk
15741 @: $(MAKE); $(unstage)
15742 @[ -f ./gawk/Makefile ] || exit 0; \
15743 r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 $(HOST_EXPORTS) \
15746 for flag in $(EXTRA_HOST_FLAGS) ; do \
15747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15748 done; \
15749 echo "Doing installcheck in gawk" ; \
15750 (cd $(HOST_SUBDIR)/gawk && \
15751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15753 "RANLIB=$${RANLIB}" \
15754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15755 installcheck) \
15756 || exit 1
15758 @endif gawk
15760 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
15761 maybe-mostlyclean-gawk:
15762 @if gawk
15763 maybe-mostlyclean-gawk: mostlyclean-gawk
15765 mostlyclean-gawk:
15766 @: $(MAKE); $(unstage)
15767 @[ -f ./gawk/Makefile ] || exit 0; \
15768 r=`${PWD_COMMAND}`; export r; \
15769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15770 $(HOST_EXPORTS) \
15771 for flag in $(EXTRA_HOST_FLAGS) ; do \
15772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15773 done; \
15774 echo "Doing mostlyclean in gawk" ; \
15775 (cd $(HOST_SUBDIR)/gawk && \
15776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15778 "RANLIB=$${RANLIB}" \
15779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15780 mostlyclean) \
15781 || exit 1
15783 @endif gawk
15785 .PHONY: maybe-clean-gawk clean-gawk
15786 maybe-clean-gawk:
15787 @if gawk
15788 maybe-clean-gawk: clean-gawk
15790 clean-gawk:
15791 @: $(MAKE); $(unstage)
15792 @[ -f ./gawk/Makefile ] || exit 0; \
15793 r=`${PWD_COMMAND}`; export r; \
15794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15795 $(HOST_EXPORTS) \
15796 for flag in $(EXTRA_HOST_FLAGS) ; do \
15797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15798 done; \
15799 echo "Doing clean in gawk" ; \
15800 (cd $(HOST_SUBDIR)/gawk && \
15801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15803 "RANLIB=$${RANLIB}" \
15804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15805 clean) \
15806 || exit 1
15808 @endif gawk
15810 .PHONY: maybe-distclean-gawk distclean-gawk
15811 maybe-distclean-gawk:
15812 @if gawk
15813 maybe-distclean-gawk: distclean-gawk
15815 distclean-gawk:
15816 @: $(MAKE); $(unstage)
15817 @[ -f ./gawk/Makefile ] || exit 0; \
15818 r=`${PWD_COMMAND}`; export r; \
15819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 $(HOST_EXPORTS) \
15821 for flag in $(EXTRA_HOST_FLAGS) ; do \
15822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15823 done; \
15824 echo "Doing distclean in gawk" ; \
15825 (cd $(HOST_SUBDIR)/gawk && \
15826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15828 "RANLIB=$${RANLIB}" \
15829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15830 distclean) \
15831 || exit 1
15833 @endif gawk
15835 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15836 maybe-maintainer-clean-gawk:
15837 @if gawk
15838 maybe-maintainer-clean-gawk: maintainer-clean-gawk
15840 maintainer-clean-gawk:
15841 @: $(MAKE); $(unstage)
15842 @[ -f ./gawk/Makefile ] || exit 0; \
15843 r=`${PWD_COMMAND}`; export r; \
15844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 $(HOST_EXPORTS) \
15846 for flag in $(EXTRA_HOST_FLAGS) ; do \
15847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15848 done; \
15849 echo "Doing maintainer-clean in gawk" ; \
15850 (cd $(HOST_SUBDIR)/gawk && \
15851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15853 "RANLIB=$${RANLIB}" \
15854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15855 maintainer-clean) \
15856 || exit 1
15858 @endif gawk
15862 .PHONY: configure-gettext maybe-configure-gettext
15863 maybe-configure-gettext:
15864 @if gcc-bootstrap
15865 configure-gettext: stage_current
15866 @endif gcc-bootstrap
15867 @if gettext
15868 maybe-configure-gettext: configure-gettext
15869 configure-gettext:
15870 @: $(MAKE); $(unstage)
15871 @r=`${PWD_COMMAND}`; export r; \
15872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15873 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
15874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
15875 $(HOST_EXPORTS) \
15876 echo Configuring in $(HOST_SUBDIR)/gettext; \
15877 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
15878 case $(srcdir) in \
15879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15880 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
15881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15882 esac; \
15883 srcdiroption="--srcdir=$${topdir}/gettext"; \
15884 libsrcdir="$$s/gettext"; \
15885 $(SHELL) $${libsrcdir}/configure \
15886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15887 --target=${target_alias} $${srcdiroption} \
15888 || exit 1
15889 @endif gettext
15895 .PHONY: all-gettext maybe-all-gettext
15896 maybe-all-gettext:
15897 @if gcc-bootstrap
15898 all-gettext: stage_current
15899 @endif gcc-bootstrap
15900 @if gettext
15901 TARGET-gettext=all
15902 maybe-all-gettext: all-gettext
15903 all-gettext: configure-gettext
15904 @: $(MAKE); $(unstage)
15905 @r=`${PWD_COMMAND}`; export r; \
15906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15907 $(HOST_EXPORTS) \
15908 (cd $(HOST_SUBDIR)/gettext && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15910 $(TARGET-gettext))
15911 @endif gettext
15916 .PHONY: check-gettext maybe-check-gettext
15917 maybe-check-gettext:
15918 @if gettext
15919 maybe-check-gettext: check-gettext
15921 check-gettext:
15922 @: $(MAKE); $(unstage)
15923 @r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15925 $(HOST_EXPORTS) \
15926 (cd $(HOST_SUBDIR)/gettext && \
15927 $(MAKE) $(FLAGS_TO_PASS) check)
15929 @endif gettext
15931 .PHONY: install-gettext maybe-install-gettext
15932 maybe-install-gettext:
15933 @if gettext
15934 maybe-install-gettext: install-gettext
15936 install-gettext: installdirs
15937 @: $(MAKE); $(unstage)
15938 @r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 $(HOST_EXPORTS) \
15941 (cd $(HOST_SUBDIR)/gettext && \
15942 $(MAKE) $(FLAGS_TO_PASS) install)
15944 @endif gettext
15946 # Other targets (info, dvi, pdf, etc.)
15948 .PHONY: maybe-info-gettext info-gettext
15949 maybe-info-gettext:
15950 @if gettext
15951 maybe-info-gettext: info-gettext
15953 info-gettext: \
15954 configure-gettext
15955 @: $(MAKE); $(unstage)
15956 @[ -f ./gettext/Makefile ] || exit 0; \
15957 r=`${PWD_COMMAND}`; export r; \
15958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15959 $(HOST_EXPORTS) \
15960 for flag in $(EXTRA_HOST_FLAGS) ; do \
15961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15962 done; \
15963 echo "Doing info in gettext" ; \
15964 (cd $(HOST_SUBDIR)/gettext && \
15965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15967 "RANLIB=$${RANLIB}" \
15968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15969 info) \
15970 || exit 1
15972 @endif gettext
15974 .PHONY: maybe-dvi-gettext dvi-gettext
15975 maybe-dvi-gettext:
15976 @if gettext
15977 maybe-dvi-gettext: dvi-gettext
15979 dvi-gettext: \
15980 configure-gettext
15981 @: $(MAKE); $(unstage)
15982 @[ -f ./gettext/Makefile ] || exit 0; \
15983 r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 $(HOST_EXPORTS) \
15986 for flag in $(EXTRA_HOST_FLAGS) ; do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15988 done; \
15989 echo "Doing dvi in gettext" ; \
15990 (cd $(HOST_SUBDIR)/gettext && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15995 dvi) \
15996 || exit 1
15998 @endif gettext
16000 .PHONY: maybe-pdf-gettext pdf-gettext
16001 maybe-pdf-gettext:
16002 @if gettext
16003 maybe-pdf-gettext: pdf-gettext
16005 pdf-gettext: \
16006 configure-gettext
16007 @: $(MAKE); $(unstage)
16008 @[ -f ./gettext/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16011 $(HOST_EXPORTS) \
16012 for flag in $(EXTRA_HOST_FLAGS) ; do \
16013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16014 done; \
16015 echo "Doing pdf in gettext" ; \
16016 (cd $(HOST_SUBDIR)/gettext && \
16017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16019 "RANLIB=$${RANLIB}" \
16020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16021 pdf) \
16022 || exit 1
16024 @endif gettext
16026 .PHONY: maybe-html-gettext html-gettext
16027 maybe-html-gettext:
16028 @if gettext
16029 maybe-html-gettext: html-gettext
16031 html-gettext: \
16032 configure-gettext
16033 @: $(MAKE); $(unstage)
16034 @[ -f ./gettext/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 $(HOST_EXPORTS) \
16038 for flag in $(EXTRA_HOST_FLAGS) ; do \
16039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16040 done; \
16041 echo "Doing html in gettext" ; \
16042 (cd $(HOST_SUBDIR)/gettext && \
16043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16045 "RANLIB=$${RANLIB}" \
16046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16047 html) \
16048 || exit 1
16050 @endif gettext
16052 .PHONY: maybe-TAGS-gettext TAGS-gettext
16053 maybe-TAGS-gettext:
16054 @if gettext
16055 maybe-TAGS-gettext: TAGS-gettext
16057 TAGS-gettext: \
16058 configure-gettext
16059 @: $(MAKE); $(unstage)
16060 @[ -f ./gettext/Makefile ] || exit 0; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 $(HOST_EXPORTS) \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 done; \
16067 echo "Doing TAGS in gettext" ; \
16068 (cd $(HOST_SUBDIR)/gettext && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16073 TAGS) \
16074 || exit 1
16076 @endif gettext
16078 .PHONY: maybe-install-info-gettext install-info-gettext
16079 maybe-install-info-gettext:
16080 @if gettext
16081 maybe-install-info-gettext: install-info-gettext
16083 install-info-gettext: \
16084 configure-gettext \
16085 info-gettext
16086 @: $(MAKE); $(unstage)
16087 @[ -f ./gettext/Makefile ] || exit 0; \
16088 r=`${PWD_COMMAND}`; export r; \
16089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16090 $(HOST_EXPORTS) \
16091 for flag in $(EXTRA_HOST_FLAGS) ; do \
16092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16093 done; \
16094 echo "Doing install-info in gettext" ; \
16095 (cd $(HOST_SUBDIR)/gettext && \
16096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16098 "RANLIB=$${RANLIB}" \
16099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16100 install-info) \
16101 || exit 1
16103 @endif gettext
16105 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
16106 maybe-install-pdf-gettext:
16107 @if gettext
16108 maybe-install-pdf-gettext: install-pdf-gettext
16110 install-pdf-gettext: \
16111 configure-gettext \
16112 pdf-gettext
16113 @: $(MAKE); $(unstage)
16114 @[ -f ./gettext/Makefile ] || exit 0; \
16115 r=`${PWD_COMMAND}`; export r; \
16116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 $(HOST_EXPORTS) \
16118 for flag in $(EXTRA_HOST_FLAGS) ; do \
16119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16120 done; \
16121 echo "Doing install-pdf in gettext" ; \
16122 (cd $(HOST_SUBDIR)/gettext && \
16123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16125 "RANLIB=$${RANLIB}" \
16126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16127 install-pdf) \
16128 || exit 1
16130 @endif gettext
16132 .PHONY: maybe-install-html-gettext install-html-gettext
16133 maybe-install-html-gettext:
16134 @if gettext
16135 maybe-install-html-gettext: install-html-gettext
16137 install-html-gettext: \
16138 configure-gettext \
16139 html-gettext
16140 @: $(MAKE); $(unstage)
16141 @[ -f ./gettext/Makefile ] || exit 0; \
16142 r=`${PWD_COMMAND}`; export r; \
16143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144 $(HOST_EXPORTS) \
16145 for flag in $(EXTRA_HOST_FLAGS) ; do \
16146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16147 done; \
16148 echo "Doing install-html in gettext" ; \
16149 (cd $(HOST_SUBDIR)/gettext && \
16150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16152 "RANLIB=$${RANLIB}" \
16153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16154 install-html) \
16155 || exit 1
16157 @endif gettext
16159 .PHONY: maybe-installcheck-gettext installcheck-gettext
16160 maybe-installcheck-gettext:
16161 @if gettext
16162 maybe-installcheck-gettext: installcheck-gettext
16164 installcheck-gettext: \
16165 configure-gettext
16166 @: $(MAKE); $(unstage)
16167 @[ -f ./gettext/Makefile ] || exit 0; \
16168 r=`${PWD_COMMAND}`; export r; \
16169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 $(HOST_EXPORTS) \
16171 for flag in $(EXTRA_HOST_FLAGS) ; do \
16172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16173 done; \
16174 echo "Doing installcheck in gettext" ; \
16175 (cd $(HOST_SUBDIR)/gettext && \
16176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16178 "RANLIB=$${RANLIB}" \
16179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16180 installcheck) \
16181 || exit 1
16183 @endif gettext
16185 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
16186 maybe-mostlyclean-gettext:
16187 @if gettext
16188 maybe-mostlyclean-gettext: mostlyclean-gettext
16190 mostlyclean-gettext:
16191 @: $(MAKE); $(unstage)
16192 @[ -f ./gettext/Makefile ] || exit 0; \
16193 r=`${PWD_COMMAND}`; export r; \
16194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16195 $(HOST_EXPORTS) \
16196 for flag in $(EXTRA_HOST_FLAGS) ; do \
16197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16198 done; \
16199 echo "Doing mostlyclean in gettext" ; \
16200 (cd $(HOST_SUBDIR)/gettext && \
16201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16203 "RANLIB=$${RANLIB}" \
16204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16205 mostlyclean) \
16206 || exit 1
16208 @endif gettext
16210 .PHONY: maybe-clean-gettext clean-gettext
16211 maybe-clean-gettext:
16212 @if gettext
16213 maybe-clean-gettext: clean-gettext
16215 clean-gettext:
16216 @: $(MAKE); $(unstage)
16217 @[ -f ./gettext/Makefile ] || exit 0; \
16218 r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220 $(HOST_EXPORTS) \
16221 for flag in $(EXTRA_HOST_FLAGS) ; do \
16222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16223 done; \
16224 echo "Doing clean in gettext" ; \
16225 (cd $(HOST_SUBDIR)/gettext && \
16226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16228 "RANLIB=$${RANLIB}" \
16229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16230 clean) \
16231 || exit 1
16233 @endif gettext
16235 .PHONY: maybe-distclean-gettext distclean-gettext
16236 maybe-distclean-gettext:
16237 @if gettext
16238 maybe-distclean-gettext: distclean-gettext
16240 distclean-gettext:
16241 @: $(MAKE); $(unstage)
16242 @[ -f ./gettext/Makefile ] || exit 0; \
16243 r=`${PWD_COMMAND}`; export r; \
16244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16245 $(HOST_EXPORTS) \
16246 for flag in $(EXTRA_HOST_FLAGS) ; do \
16247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16248 done; \
16249 echo "Doing distclean in gettext" ; \
16250 (cd $(HOST_SUBDIR)/gettext && \
16251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16253 "RANLIB=$${RANLIB}" \
16254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16255 distclean) \
16256 || exit 1
16258 @endif gettext
16260 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
16261 maybe-maintainer-clean-gettext:
16262 @if gettext
16263 maybe-maintainer-clean-gettext: maintainer-clean-gettext
16265 maintainer-clean-gettext:
16266 @: $(MAKE); $(unstage)
16267 @[ -f ./gettext/Makefile ] || exit 0; \
16268 r=`${PWD_COMMAND}`; export r; \
16269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16270 $(HOST_EXPORTS) \
16271 for flag in $(EXTRA_HOST_FLAGS) ; do \
16272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16273 done; \
16274 echo "Doing maintainer-clean in gettext" ; \
16275 (cd $(HOST_SUBDIR)/gettext && \
16276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16278 "RANLIB=$${RANLIB}" \
16279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16280 maintainer-clean) \
16281 || exit 1
16283 @endif gettext
16287 .PHONY: configure-gmp maybe-configure-gmp
16288 maybe-configure-gmp:
16289 @if gcc-bootstrap
16290 configure-gmp: stage_current
16291 @endif gcc-bootstrap
16292 @if gmp
16293 maybe-configure-gmp: configure-gmp
16294 configure-gmp:
16295 @r=`${PWD_COMMAND}`; export r; \
16296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16297 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16299 $(HOST_EXPORTS) \
16300 echo Configuring in $(HOST_SUBDIR)/gmp; \
16301 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16302 case $(srcdir) in \
16303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16304 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16306 esac; \
16307 srcdiroption="--srcdir=$${topdir}/gmp"; \
16308 libsrcdir="$$s/gmp"; \
16309 $(SHELL) $${libsrcdir}/configure \
16310 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16311 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16312 || exit 1
16313 @endif gmp
16317 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16318 maybe-configure-stage1-gmp:
16319 @if gmp-bootstrap
16320 maybe-configure-stage1-gmp: configure-stage1-gmp
16321 configure-stage1-gmp:
16322 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16324 @r=`${PWD_COMMAND}`; export r; \
16325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16326 TFLAGS="$(STAGE1_TFLAGS)"; \
16327 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16328 $(HOST_EXPORTS) \
16329 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16330 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16331 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16332 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16334 cd $(HOST_SUBDIR)/gmp || exit 1; \
16335 case $(srcdir) in \
16336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16337 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16339 esac; \
16340 srcdiroption="--srcdir=$${topdir}/gmp"; \
16341 libsrcdir="$$s/gmp"; \
16342 $(SHELL) $${libsrcdir}/configure \
16343 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16344 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16345 $(STAGE1_CONFIGURE_FLAGS) \
16346 --disable-shared
16347 @endif gmp-bootstrap
16349 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16350 maybe-configure-stage2-gmp:
16351 @if gmp-bootstrap
16352 maybe-configure-stage2-gmp: configure-stage2-gmp
16353 configure-stage2-gmp:
16354 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16356 @r=`${PWD_COMMAND}`; export r; \
16357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16358 TFLAGS="$(STAGE2_TFLAGS)"; \
16359 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16360 $(HOST_EXPORTS) \
16361 $(POSTSTAGE1_HOST_EXPORTS) \
16362 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16363 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16364 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16365 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16367 cd $(HOST_SUBDIR)/gmp || exit 1; \
16368 case $(srcdir) in \
16369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16370 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16372 esac; \
16373 srcdiroption="--srcdir=$${topdir}/gmp"; \
16374 libsrcdir="$$s/gmp"; \
16375 $(SHELL) $${libsrcdir}/configure \
16376 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16377 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16378 --with-build-libsubdir=$(HOST_SUBDIR) \
16379 $(STAGE2_CONFIGURE_FLAGS) \
16380 --disable-shared
16381 @endif gmp-bootstrap
16383 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16384 maybe-configure-stage3-gmp:
16385 @if gmp-bootstrap
16386 maybe-configure-stage3-gmp: configure-stage3-gmp
16387 configure-stage3-gmp:
16388 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16390 @r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 TFLAGS="$(STAGE3_TFLAGS)"; \
16393 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16394 $(HOST_EXPORTS) \
16395 $(POSTSTAGE1_HOST_EXPORTS) \
16396 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16397 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16398 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16399 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16401 cd $(HOST_SUBDIR)/gmp || exit 1; \
16402 case $(srcdir) in \
16403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16404 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16406 esac; \
16407 srcdiroption="--srcdir=$${topdir}/gmp"; \
16408 libsrcdir="$$s/gmp"; \
16409 $(SHELL) $${libsrcdir}/configure \
16410 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16411 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16412 --with-build-libsubdir=$(HOST_SUBDIR) \
16413 $(STAGE3_CONFIGURE_FLAGS) \
16414 --disable-shared
16415 @endif gmp-bootstrap
16417 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16418 maybe-configure-stage4-gmp:
16419 @if gmp-bootstrap
16420 maybe-configure-stage4-gmp: configure-stage4-gmp
16421 configure-stage4-gmp:
16422 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16424 @r=`${PWD_COMMAND}`; export r; \
16425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16426 TFLAGS="$(STAGE4_TFLAGS)"; \
16427 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16428 $(HOST_EXPORTS) \
16429 $(POSTSTAGE1_HOST_EXPORTS) \
16430 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16431 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16432 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16433 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16435 cd $(HOST_SUBDIR)/gmp || exit 1; \
16436 case $(srcdir) in \
16437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16438 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16440 esac; \
16441 srcdiroption="--srcdir=$${topdir}/gmp"; \
16442 libsrcdir="$$s/gmp"; \
16443 $(SHELL) $${libsrcdir}/configure \
16444 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16445 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16446 --with-build-libsubdir=$(HOST_SUBDIR) \
16447 $(STAGE4_CONFIGURE_FLAGS) \
16448 --disable-shared
16449 @endif gmp-bootstrap
16451 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
16452 maybe-configure-stageprofile-gmp:
16453 @if gmp-bootstrap
16454 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
16455 configure-stageprofile-gmp:
16456 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16458 @r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16461 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16462 $(HOST_EXPORTS) \
16463 $(POSTSTAGE1_HOST_EXPORTS) \
16464 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16465 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16466 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16467 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
16468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16469 cd $(HOST_SUBDIR)/gmp || exit 1; \
16470 case $(srcdir) in \
16471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16472 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16474 esac; \
16475 srcdiroption="--srcdir=$${topdir}/gmp"; \
16476 libsrcdir="$$s/gmp"; \
16477 $(SHELL) $${libsrcdir}/configure \
16478 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16479 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16480 --with-build-libsubdir=$(HOST_SUBDIR) \
16481 $(STAGEprofile_CONFIGURE_FLAGS) \
16482 --disable-shared
16483 @endif gmp-bootstrap
16485 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
16486 maybe-configure-stagefeedback-gmp:
16487 @if gmp-bootstrap
16488 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
16489 configure-stagefeedback-gmp:
16490 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16491 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16492 @r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16495 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16496 $(HOST_EXPORTS) \
16497 $(POSTSTAGE1_HOST_EXPORTS) \
16498 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16499 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16500 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16501 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
16502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16503 cd $(HOST_SUBDIR)/gmp || exit 1; \
16504 case $(srcdir) in \
16505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16506 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16508 esac; \
16509 srcdiroption="--srcdir=$${topdir}/gmp"; \
16510 libsrcdir="$$s/gmp"; \
16511 $(SHELL) $${libsrcdir}/configure \
16512 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16513 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16514 --with-build-libsubdir=$(HOST_SUBDIR) \
16515 $(STAGEfeedback_CONFIGURE_FLAGS) \
16516 --disable-shared
16517 @endif gmp-bootstrap
16523 .PHONY: all-gmp maybe-all-gmp
16524 maybe-all-gmp:
16525 @if gcc-bootstrap
16526 all-gmp: stage_current
16527 @endif gcc-bootstrap
16528 @if gmp
16529 TARGET-gmp=all
16530 maybe-all-gmp: all-gmp
16531 all-gmp: configure-gmp
16532 @r=`${PWD_COMMAND}`; export r; \
16533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 $(HOST_EXPORTS) \
16535 (cd $(HOST_SUBDIR)/gmp && \
16536 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16537 $(TARGET-gmp))
16538 @endif gmp
16542 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
16543 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
16544 maybe-all-stage1-gmp:
16545 maybe-clean-stage1-gmp:
16546 @if gmp-bootstrap
16547 maybe-all-stage1-gmp: all-stage1-gmp
16548 all-stage1: all-stage1-gmp
16549 TARGET-stage1-gmp = $(TARGET-gmp)
16550 all-stage1-gmp: configure-stage1-gmp
16551 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16552 @r=`${PWD_COMMAND}`; export r; \
16553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16554 TFLAGS="$(STAGE1_TFLAGS)"; \
16555 $(HOST_EXPORTS) \
16556 cd $(HOST_SUBDIR)/gmp && \
16557 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16558 CFLAGS="$(STAGE1_CFLAGS)" \
16559 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16560 LIBCFLAGS="$(LIBCFLAGS)" \
16561 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16562 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16563 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16564 $(EXTRA_HOST_FLAGS) \
16565 TFLAGS="$(STAGE1_TFLAGS)" \
16566 $(TARGET-stage1-gmp)
16568 maybe-clean-stage1-gmp: clean-stage1-gmp
16569 clean-stage1: clean-stage1-gmp
16570 clean-stage1-gmp:
16571 @if [ $(current_stage) = stage1 ]; then \
16572 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16573 else \
16574 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
16575 $(MAKE) stage1-start; \
16576 fi; \
16577 cd $(HOST_SUBDIR)/gmp && \
16578 $(MAKE) $(EXTRA_HOST_FLAGS) \
16579 clean
16580 @endif gmp-bootstrap
16583 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
16584 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
16585 maybe-all-stage2-gmp:
16586 maybe-clean-stage2-gmp:
16587 @if gmp-bootstrap
16588 maybe-all-stage2-gmp: all-stage2-gmp
16589 all-stage2: all-stage2-gmp
16590 TARGET-stage2-gmp = $(TARGET-gmp)
16591 all-stage2-gmp: configure-stage2-gmp
16592 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16593 @r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 TFLAGS="$(STAGE2_TFLAGS)"; \
16596 $(HOST_EXPORTS) \
16597 $(POSTSTAGE1_HOST_EXPORTS) \
16598 cd $(HOST_SUBDIR)/gmp && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16600 CFLAGS="$(STAGE2_CFLAGS)" \
16601 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16602 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16603 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16604 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16605 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16606 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16607 TFLAGS="$(STAGE2_TFLAGS)" \
16608 $(TARGET-stage2-gmp)
16610 maybe-clean-stage2-gmp: clean-stage2-gmp
16611 clean-stage2: clean-stage2-gmp
16612 clean-stage2-gmp:
16613 @if [ $(current_stage) = stage2 ]; then \
16614 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16615 else \
16616 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
16617 $(MAKE) stage2-start; \
16618 fi; \
16619 cd $(HOST_SUBDIR)/gmp && \
16620 $(MAKE) $(EXTRA_HOST_FLAGS) \
16621 $(POSTSTAGE1_FLAGS_TO_PASS) \
16622 clean
16623 @endif gmp-bootstrap
16626 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
16627 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
16628 maybe-all-stage3-gmp:
16629 maybe-clean-stage3-gmp:
16630 @if gmp-bootstrap
16631 maybe-all-stage3-gmp: all-stage3-gmp
16632 all-stage3: all-stage3-gmp
16633 TARGET-stage3-gmp = $(TARGET-gmp)
16634 all-stage3-gmp: configure-stage3-gmp
16635 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16636 @r=`${PWD_COMMAND}`; export r; \
16637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16638 TFLAGS="$(STAGE3_TFLAGS)"; \
16639 $(HOST_EXPORTS) \
16640 $(POSTSTAGE1_HOST_EXPORTS) \
16641 cd $(HOST_SUBDIR)/gmp && \
16642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16643 CFLAGS="$(STAGE3_CFLAGS)" \
16644 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16645 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16650 TFLAGS="$(STAGE3_TFLAGS)" \
16651 $(TARGET-stage3-gmp)
16653 maybe-clean-stage3-gmp: clean-stage3-gmp
16654 clean-stage3: clean-stage3-gmp
16655 clean-stage3-gmp:
16656 @if [ $(current_stage) = stage3 ]; then \
16657 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16658 else \
16659 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
16660 $(MAKE) stage3-start; \
16661 fi; \
16662 cd $(HOST_SUBDIR)/gmp && \
16663 $(MAKE) $(EXTRA_HOST_FLAGS) \
16664 $(POSTSTAGE1_FLAGS_TO_PASS) \
16665 clean
16666 @endif gmp-bootstrap
16669 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
16670 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
16671 maybe-all-stage4-gmp:
16672 maybe-clean-stage4-gmp:
16673 @if gmp-bootstrap
16674 maybe-all-stage4-gmp: all-stage4-gmp
16675 all-stage4: all-stage4-gmp
16676 TARGET-stage4-gmp = $(TARGET-gmp)
16677 all-stage4-gmp: configure-stage4-gmp
16678 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16679 @r=`${PWD_COMMAND}`; export r; \
16680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681 TFLAGS="$(STAGE4_TFLAGS)"; \
16682 $(HOST_EXPORTS) \
16683 $(POSTSTAGE1_HOST_EXPORTS) \
16684 cd $(HOST_SUBDIR)/gmp && \
16685 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16686 CFLAGS="$(STAGE4_CFLAGS)" \
16687 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16688 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16689 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16690 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16691 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16692 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16693 TFLAGS="$(STAGE4_TFLAGS)" \
16694 $(TARGET-stage4-gmp)
16696 maybe-clean-stage4-gmp: clean-stage4-gmp
16697 clean-stage4: clean-stage4-gmp
16698 clean-stage4-gmp:
16699 @if [ $(current_stage) = stage4 ]; then \
16700 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16701 else \
16702 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
16703 $(MAKE) stage4-start; \
16704 fi; \
16705 cd $(HOST_SUBDIR)/gmp && \
16706 $(MAKE) $(EXTRA_HOST_FLAGS) \
16707 $(POSTSTAGE1_FLAGS_TO_PASS) \
16708 clean
16709 @endif gmp-bootstrap
16712 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
16713 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
16714 maybe-all-stageprofile-gmp:
16715 maybe-clean-stageprofile-gmp:
16716 @if gmp-bootstrap
16717 maybe-all-stageprofile-gmp: all-stageprofile-gmp
16718 all-stageprofile: all-stageprofile-gmp
16719 TARGET-stageprofile-gmp = $(TARGET-gmp)
16720 all-stageprofile-gmp: configure-stageprofile-gmp
16721 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16722 @r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16725 $(HOST_EXPORTS) \
16726 $(POSTSTAGE1_HOST_EXPORTS) \
16727 cd $(HOST_SUBDIR)/gmp && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16729 CFLAGS="$(STAGEprofile_CFLAGS)" \
16730 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16731 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16735 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16736 TFLAGS="$(STAGEprofile_TFLAGS)" \
16737 $(TARGET-stageprofile-gmp)
16739 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
16740 clean-stageprofile: clean-stageprofile-gmp
16741 clean-stageprofile-gmp:
16742 @if [ $(current_stage) = stageprofile ]; then \
16743 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16744 else \
16745 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
16746 $(MAKE) stageprofile-start; \
16747 fi; \
16748 cd $(HOST_SUBDIR)/gmp && \
16749 $(MAKE) $(EXTRA_HOST_FLAGS) \
16750 $(POSTSTAGE1_FLAGS_TO_PASS) \
16751 clean
16752 @endif gmp-bootstrap
16755 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
16756 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
16757 maybe-all-stagefeedback-gmp:
16758 maybe-clean-stagefeedback-gmp:
16759 @if gmp-bootstrap
16760 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
16761 all-stagefeedback: all-stagefeedback-gmp
16762 TARGET-stagefeedback-gmp = $(TARGET-gmp)
16763 all-stagefeedback-gmp: configure-stagefeedback-gmp
16764 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16765 @r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16768 $(HOST_EXPORTS) \
16769 $(POSTSTAGE1_HOST_EXPORTS) \
16770 cd $(HOST_SUBDIR)/gmp && \
16771 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16772 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16773 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16774 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16775 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16776 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16777 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16778 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16779 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16780 $(TARGET-stagefeedback-gmp)
16782 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
16783 clean-stagefeedback: clean-stagefeedback-gmp
16784 clean-stagefeedback-gmp:
16785 @if [ $(current_stage) = stagefeedback ]; then \
16786 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16787 else \
16788 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
16789 $(MAKE) stagefeedback-start; \
16790 fi; \
16791 cd $(HOST_SUBDIR)/gmp && \
16792 $(MAKE) $(EXTRA_HOST_FLAGS) \
16793 $(POSTSTAGE1_FLAGS_TO_PASS) \
16794 clean
16795 @endif gmp-bootstrap
16801 .PHONY: check-gmp maybe-check-gmp
16802 maybe-check-gmp:
16803 @if gmp
16804 maybe-check-gmp: check-gmp
16806 check-gmp:
16807 @: $(MAKE); $(unstage)
16808 @r=`${PWD_COMMAND}`; export r; \
16809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16810 $(HOST_EXPORTS) \
16811 (cd $(HOST_SUBDIR)/gmp && \
16812 $(MAKE) $(FLAGS_TO_PASS) check)
16814 @endif gmp
16816 .PHONY: install-gmp maybe-install-gmp
16817 maybe-install-gmp:
16818 @if gmp
16819 maybe-install-gmp: install-gmp
16821 install-gmp:
16823 @endif gmp
16825 # Other targets (info, dvi, pdf, etc.)
16827 .PHONY: maybe-info-gmp info-gmp
16828 maybe-info-gmp:
16829 @if gmp
16830 maybe-info-gmp: info-gmp
16832 info-gmp: \
16833 configure-gmp
16834 @[ -f ./gmp/Makefile ] || exit 0; \
16835 r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 $(HOST_EXPORTS) \
16838 for flag in $(EXTRA_HOST_FLAGS) ; do \
16839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16840 done; \
16841 echo "Doing info in gmp" ; \
16842 (cd $(HOST_SUBDIR)/gmp && \
16843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16845 "RANLIB=$${RANLIB}" \
16846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16847 info) \
16848 || exit 1
16850 @endif gmp
16852 .PHONY: maybe-dvi-gmp dvi-gmp
16853 maybe-dvi-gmp:
16854 @if gmp
16855 maybe-dvi-gmp: dvi-gmp
16857 dvi-gmp: \
16858 configure-gmp
16859 @[ -f ./gmp/Makefile ] || exit 0; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 for flag in $(EXTRA_HOST_FLAGS) ; do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16865 done; \
16866 echo "Doing dvi in gmp" ; \
16867 (cd $(HOST_SUBDIR)/gmp && \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16872 dvi) \
16873 || exit 1
16875 @endif gmp
16877 .PHONY: maybe-pdf-gmp pdf-gmp
16878 maybe-pdf-gmp:
16879 @if gmp
16880 maybe-pdf-gmp: pdf-gmp
16882 pdf-gmp: \
16883 configure-gmp
16884 @[ -f ./gmp/Makefile ] || exit 0; \
16885 r=`${PWD_COMMAND}`; export r; \
16886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 $(HOST_EXPORTS) \
16888 for flag in $(EXTRA_HOST_FLAGS) ; do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 done; \
16891 echo "Doing pdf in gmp" ; \
16892 (cd $(HOST_SUBDIR)/gmp && \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16897 pdf) \
16898 || exit 1
16900 @endif gmp
16902 .PHONY: maybe-html-gmp html-gmp
16903 maybe-html-gmp:
16904 @if gmp
16905 maybe-html-gmp: html-gmp
16907 html-gmp: \
16908 configure-gmp
16909 @[ -f ./gmp/Makefile ] || exit 0; \
16910 r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 $(HOST_EXPORTS) \
16913 for flag in $(EXTRA_HOST_FLAGS) ; do \
16914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16915 done; \
16916 echo "Doing html in gmp" ; \
16917 (cd $(HOST_SUBDIR)/gmp && \
16918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16920 "RANLIB=$${RANLIB}" \
16921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16922 html) \
16923 || exit 1
16925 @endif gmp
16927 .PHONY: maybe-TAGS-gmp TAGS-gmp
16928 maybe-TAGS-gmp:
16929 @if gmp
16930 maybe-TAGS-gmp: TAGS-gmp
16932 TAGS-gmp: \
16933 configure-gmp
16934 @[ -f ./gmp/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS) ; do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing TAGS in gmp" ; \
16942 (cd $(HOST_SUBDIR)/gmp && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16947 TAGS) \
16948 || exit 1
16950 @endif gmp
16952 .PHONY: maybe-install-info-gmp install-info-gmp
16953 maybe-install-info-gmp:
16954 @if gmp
16955 maybe-install-info-gmp: install-info-gmp
16957 install-info-gmp: \
16958 configure-gmp \
16959 info-gmp
16960 @[ -f ./gmp/Makefile ] || exit 0; \
16961 r=`${PWD_COMMAND}`; export r; \
16962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 $(HOST_EXPORTS) \
16964 for flag in $(EXTRA_HOST_FLAGS) ; do \
16965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16966 done; \
16967 echo "Doing install-info in gmp" ; \
16968 (cd $(HOST_SUBDIR)/gmp && \
16969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16971 "RANLIB=$${RANLIB}" \
16972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16973 install-info) \
16974 || exit 1
16976 @endif gmp
16978 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
16979 maybe-install-pdf-gmp:
16980 @if gmp
16981 maybe-install-pdf-gmp: install-pdf-gmp
16983 install-pdf-gmp: \
16984 configure-gmp \
16985 pdf-gmp
16986 @[ -f ./gmp/Makefile ] || exit 0; \
16987 r=`${PWD_COMMAND}`; export r; \
16988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16989 $(HOST_EXPORTS) \
16990 for flag in $(EXTRA_HOST_FLAGS) ; do \
16991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16992 done; \
16993 echo "Doing install-pdf in gmp" ; \
16994 (cd $(HOST_SUBDIR)/gmp && \
16995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16997 "RANLIB=$${RANLIB}" \
16998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16999 install-pdf) \
17000 || exit 1
17002 @endif gmp
17004 .PHONY: maybe-install-html-gmp install-html-gmp
17005 maybe-install-html-gmp:
17006 @if gmp
17007 maybe-install-html-gmp: install-html-gmp
17009 install-html-gmp: \
17010 configure-gmp \
17011 html-gmp
17012 @[ -f ./gmp/Makefile ] || exit 0; \
17013 r=`${PWD_COMMAND}`; export r; \
17014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17015 $(HOST_EXPORTS) \
17016 for flag in $(EXTRA_HOST_FLAGS) ; do \
17017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17018 done; \
17019 echo "Doing install-html in gmp" ; \
17020 (cd $(HOST_SUBDIR)/gmp && \
17021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17023 "RANLIB=$${RANLIB}" \
17024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17025 install-html) \
17026 || exit 1
17028 @endif gmp
17030 .PHONY: maybe-installcheck-gmp installcheck-gmp
17031 maybe-installcheck-gmp:
17032 @if gmp
17033 maybe-installcheck-gmp: installcheck-gmp
17035 installcheck-gmp: \
17036 configure-gmp
17037 @[ -f ./gmp/Makefile ] || exit 0; \
17038 r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17040 $(HOST_EXPORTS) \
17041 for flag in $(EXTRA_HOST_FLAGS) ; do \
17042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17043 done; \
17044 echo "Doing installcheck in gmp" ; \
17045 (cd $(HOST_SUBDIR)/gmp && \
17046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17048 "RANLIB=$${RANLIB}" \
17049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17050 installcheck) \
17051 || exit 1
17053 @endif gmp
17055 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
17056 maybe-mostlyclean-gmp:
17057 @if gmp
17058 maybe-mostlyclean-gmp: mostlyclean-gmp
17060 mostlyclean-gmp:
17061 @[ -f ./gmp/Makefile ] || exit 0; \
17062 r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 $(HOST_EXPORTS) \
17065 for flag in $(EXTRA_HOST_FLAGS) ; do \
17066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17067 done; \
17068 echo "Doing mostlyclean in gmp" ; \
17069 (cd $(HOST_SUBDIR)/gmp && \
17070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17072 "RANLIB=$${RANLIB}" \
17073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17074 mostlyclean) \
17075 || exit 1
17077 @endif gmp
17079 .PHONY: maybe-clean-gmp clean-gmp
17080 maybe-clean-gmp:
17081 @if gmp
17082 maybe-clean-gmp: clean-gmp
17084 clean-gmp:
17085 @[ -f ./gmp/Makefile ] || exit 0; \
17086 r=`${PWD_COMMAND}`; export r; \
17087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17088 $(HOST_EXPORTS) \
17089 for flag in $(EXTRA_HOST_FLAGS) ; do \
17090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17091 done; \
17092 echo "Doing clean in gmp" ; \
17093 (cd $(HOST_SUBDIR)/gmp && \
17094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17096 "RANLIB=$${RANLIB}" \
17097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17098 clean) \
17099 || exit 1
17101 @endif gmp
17103 .PHONY: maybe-distclean-gmp distclean-gmp
17104 maybe-distclean-gmp:
17105 @if gmp
17106 maybe-distclean-gmp: distclean-gmp
17108 distclean-gmp:
17109 @[ -f ./gmp/Makefile ] || exit 0; \
17110 r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 $(HOST_EXPORTS) \
17113 for flag in $(EXTRA_HOST_FLAGS) ; do \
17114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17115 done; \
17116 echo "Doing distclean in gmp" ; \
17117 (cd $(HOST_SUBDIR)/gmp && \
17118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17120 "RANLIB=$${RANLIB}" \
17121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17122 distclean) \
17123 || exit 1
17125 @endif gmp
17127 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
17128 maybe-maintainer-clean-gmp:
17129 @if gmp
17130 maybe-maintainer-clean-gmp: maintainer-clean-gmp
17132 maintainer-clean-gmp:
17133 @[ -f ./gmp/Makefile ] || exit 0; \
17134 r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 $(HOST_EXPORTS) \
17137 for flag in $(EXTRA_HOST_FLAGS) ; do \
17138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139 done; \
17140 echo "Doing maintainer-clean in gmp" ; \
17141 (cd $(HOST_SUBDIR)/gmp && \
17142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144 "RANLIB=$${RANLIB}" \
17145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17146 maintainer-clean) \
17147 || exit 1
17149 @endif gmp
17153 .PHONY: configure-mpfr maybe-configure-mpfr
17154 maybe-configure-mpfr:
17155 @if gcc-bootstrap
17156 configure-mpfr: stage_current
17157 @endif gcc-bootstrap
17158 @if mpfr
17159 maybe-configure-mpfr: configure-mpfr
17160 configure-mpfr:
17161 @r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17165 $(HOST_EXPORTS) \
17166 echo Configuring in $(HOST_SUBDIR)/mpfr; \
17167 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
17168 case $(srcdir) in \
17169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17170 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17172 esac; \
17173 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17174 libsrcdir="$$s/mpfr"; \
17175 $(SHELL) $${libsrcdir}/configure \
17176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17177 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
17178 || exit 1
17179 @endif mpfr
17183 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
17184 maybe-configure-stage1-mpfr:
17185 @if mpfr-bootstrap
17186 maybe-configure-stage1-mpfr: configure-stage1-mpfr
17187 configure-stage1-mpfr:
17188 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17190 @r=`${PWD_COMMAND}`; export r; \
17191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17192 TFLAGS="$(STAGE1_TFLAGS)"; \
17193 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17194 $(HOST_EXPORTS) \
17195 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17196 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17197 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17198 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
17199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17200 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17201 case $(srcdir) in \
17202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17203 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17205 esac; \
17206 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17207 libsrcdir="$$s/mpfr"; \
17208 $(SHELL) $${libsrcdir}/configure \
17209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17210 --target=${target_alias} $${srcdiroption} \
17211 $(STAGE1_CONFIGURE_FLAGS) \
17212 --disable-shared @extra_mpfr_configure_flags@
17213 @endif mpfr-bootstrap
17215 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17216 maybe-configure-stage2-mpfr:
17217 @if mpfr-bootstrap
17218 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17219 configure-stage2-mpfr:
17220 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17222 @r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 TFLAGS="$(STAGE2_TFLAGS)"; \
17225 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17226 $(HOST_EXPORTS) \
17227 $(POSTSTAGE1_HOST_EXPORTS) \
17228 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17229 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17230 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17231 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17233 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17234 case $(srcdir) in \
17235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17236 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17238 esac; \
17239 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17240 libsrcdir="$$s/mpfr"; \
17241 $(SHELL) $${libsrcdir}/configure \
17242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17243 --target=${target_alias} $${srcdiroption} \
17244 --with-build-libsubdir=$(HOST_SUBDIR) \
17245 $(STAGE2_CONFIGURE_FLAGS) \
17246 --disable-shared @extra_mpfr_configure_flags@
17247 @endif mpfr-bootstrap
17249 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17250 maybe-configure-stage3-mpfr:
17251 @if mpfr-bootstrap
17252 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17253 configure-stage3-mpfr:
17254 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17256 @r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 TFLAGS="$(STAGE3_TFLAGS)"; \
17259 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17260 $(HOST_EXPORTS) \
17261 $(POSTSTAGE1_HOST_EXPORTS) \
17262 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17263 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17264 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17265 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17267 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17268 case $(srcdir) in \
17269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17270 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17272 esac; \
17273 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17274 libsrcdir="$$s/mpfr"; \
17275 $(SHELL) $${libsrcdir}/configure \
17276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17277 --target=${target_alias} $${srcdiroption} \
17278 --with-build-libsubdir=$(HOST_SUBDIR) \
17279 $(STAGE3_CONFIGURE_FLAGS) \
17280 --disable-shared @extra_mpfr_configure_flags@
17281 @endif mpfr-bootstrap
17283 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17284 maybe-configure-stage4-mpfr:
17285 @if mpfr-bootstrap
17286 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17287 configure-stage4-mpfr:
17288 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17290 @r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 TFLAGS="$(STAGE4_TFLAGS)"; \
17293 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17294 $(HOST_EXPORTS) \
17295 $(POSTSTAGE1_HOST_EXPORTS) \
17296 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17297 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17298 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17299 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17301 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17302 case $(srcdir) in \
17303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17304 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17306 esac; \
17307 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17308 libsrcdir="$$s/mpfr"; \
17309 $(SHELL) $${libsrcdir}/configure \
17310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17311 --target=${target_alias} $${srcdiroption} \
17312 --with-build-libsubdir=$(HOST_SUBDIR) \
17313 $(STAGE4_CONFIGURE_FLAGS) \
17314 --disable-shared @extra_mpfr_configure_flags@
17315 @endif mpfr-bootstrap
17317 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17318 maybe-configure-stageprofile-mpfr:
17319 @if mpfr-bootstrap
17320 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17321 configure-stageprofile-mpfr:
17322 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17324 @r=`${PWD_COMMAND}`; export r; \
17325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17327 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17328 $(HOST_EXPORTS) \
17329 $(POSTSTAGE1_HOST_EXPORTS) \
17330 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17331 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17332 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17333 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17335 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17336 case $(srcdir) in \
17337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17338 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17340 esac; \
17341 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17342 libsrcdir="$$s/mpfr"; \
17343 $(SHELL) $${libsrcdir}/configure \
17344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17345 --target=${target_alias} $${srcdiroption} \
17346 --with-build-libsubdir=$(HOST_SUBDIR) \
17347 $(STAGEprofile_CONFIGURE_FLAGS) \
17348 --disable-shared @extra_mpfr_configure_flags@
17349 @endif mpfr-bootstrap
17351 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17352 maybe-configure-stagefeedback-mpfr:
17353 @if mpfr-bootstrap
17354 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17355 configure-stagefeedback-mpfr:
17356 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17358 @r=`${PWD_COMMAND}`; export r; \
17359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17360 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17361 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17362 $(HOST_EXPORTS) \
17363 $(POSTSTAGE1_HOST_EXPORTS) \
17364 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17365 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17366 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17367 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17369 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17370 case $(srcdir) in \
17371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17372 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17374 esac; \
17375 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17376 libsrcdir="$$s/mpfr"; \
17377 $(SHELL) $${libsrcdir}/configure \
17378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17379 --target=${target_alias} $${srcdiroption} \
17380 --with-build-libsubdir=$(HOST_SUBDIR) \
17381 $(STAGEfeedback_CONFIGURE_FLAGS) \
17382 --disable-shared @extra_mpfr_configure_flags@
17383 @endif mpfr-bootstrap
17389 .PHONY: all-mpfr maybe-all-mpfr
17390 maybe-all-mpfr:
17391 @if gcc-bootstrap
17392 all-mpfr: stage_current
17393 @endif gcc-bootstrap
17394 @if mpfr
17395 TARGET-mpfr=all
17396 maybe-all-mpfr: all-mpfr
17397 all-mpfr: configure-mpfr
17398 @r=`${PWD_COMMAND}`; export r; \
17399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17400 $(HOST_EXPORTS) \
17401 (cd $(HOST_SUBDIR)/mpfr && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17403 $(TARGET-mpfr))
17404 @endif mpfr
17408 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17409 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17410 maybe-all-stage1-mpfr:
17411 maybe-clean-stage1-mpfr:
17412 @if mpfr-bootstrap
17413 maybe-all-stage1-mpfr: all-stage1-mpfr
17414 all-stage1: all-stage1-mpfr
17415 TARGET-stage1-mpfr = $(TARGET-mpfr)
17416 all-stage1-mpfr: configure-stage1-mpfr
17417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17418 @r=`${PWD_COMMAND}`; export r; \
17419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17420 TFLAGS="$(STAGE1_TFLAGS)"; \
17421 $(HOST_EXPORTS) \
17422 cd $(HOST_SUBDIR)/mpfr && \
17423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17424 CFLAGS="$(STAGE1_CFLAGS)" \
17425 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17426 LIBCFLAGS="$(LIBCFLAGS)" \
17427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17430 $(EXTRA_HOST_FLAGS) \
17431 TFLAGS="$(STAGE1_TFLAGS)" \
17432 $(TARGET-stage1-mpfr)
17434 maybe-clean-stage1-mpfr: clean-stage1-mpfr
17435 clean-stage1: clean-stage1-mpfr
17436 clean-stage1-mpfr:
17437 @if [ $(current_stage) = stage1 ]; then \
17438 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17439 else \
17440 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
17441 $(MAKE) stage1-start; \
17442 fi; \
17443 cd $(HOST_SUBDIR)/mpfr && \
17444 $(MAKE) $(EXTRA_HOST_FLAGS) \
17445 clean
17446 @endif mpfr-bootstrap
17449 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
17450 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
17451 maybe-all-stage2-mpfr:
17452 maybe-clean-stage2-mpfr:
17453 @if mpfr-bootstrap
17454 maybe-all-stage2-mpfr: all-stage2-mpfr
17455 all-stage2: all-stage2-mpfr
17456 TARGET-stage2-mpfr = $(TARGET-mpfr)
17457 all-stage2-mpfr: configure-stage2-mpfr
17458 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 TFLAGS="$(STAGE2_TFLAGS)"; \
17462 $(HOST_EXPORTS) \
17463 $(POSTSTAGE1_HOST_EXPORTS) \
17464 cd $(HOST_SUBDIR)/mpfr && \
17465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17466 CFLAGS="$(STAGE2_CFLAGS)" \
17467 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17468 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17472 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17473 TFLAGS="$(STAGE2_TFLAGS)" \
17474 $(TARGET-stage2-mpfr)
17476 maybe-clean-stage2-mpfr: clean-stage2-mpfr
17477 clean-stage2: clean-stage2-mpfr
17478 clean-stage2-mpfr:
17479 @if [ $(current_stage) = stage2 ]; then \
17480 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17481 else \
17482 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
17483 $(MAKE) stage2-start; \
17484 fi; \
17485 cd $(HOST_SUBDIR)/mpfr && \
17486 $(MAKE) $(EXTRA_HOST_FLAGS) \
17487 $(POSTSTAGE1_FLAGS_TO_PASS) \
17488 clean
17489 @endif mpfr-bootstrap
17492 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
17493 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
17494 maybe-all-stage3-mpfr:
17495 maybe-clean-stage3-mpfr:
17496 @if mpfr-bootstrap
17497 maybe-all-stage3-mpfr: all-stage3-mpfr
17498 all-stage3: all-stage3-mpfr
17499 TARGET-stage3-mpfr = $(TARGET-mpfr)
17500 all-stage3-mpfr: configure-stage3-mpfr
17501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17502 @r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 TFLAGS="$(STAGE3_TFLAGS)"; \
17505 $(HOST_EXPORTS) \
17506 $(POSTSTAGE1_HOST_EXPORTS) \
17507 cd $(HOST_SUBDIR)/mpfr && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17509 CFLAGS="$(STAGE3_CFLAGS)" \
17510 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17511 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17516 TFLAGS="$(STAGE3_TFLAGS)" \
17517 $(TARGET-stage3-mpfr)
17519 maybe-clean-stage3-mpfr: clean-stage3-mpfr
17520 clean-stage3: clean-stage3-mpfr
17521 clean-stage3-mpfr:
17522 @if [ $(current_stage) = stage3 ]; then \
17523 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17524 else \
17525 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
17526 $(MAKE) stage3-start; \
17527 fi; \
17528 cd $(HOST_SUBDIR)/mpfr && \
17529 $(MAKE) $(EXTRA_HOST_FLAGS) \
17530 $(POSTSTAGE1_FLAGS_TO_PASS) \
17531 clean
17532 @endif mpfr-bootstrap
17535 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
17536 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
17537 maybe-all-stage4-mpfr:
17538 maybe-clean-stage4-mpfr:
17539 @if mpfr-bootstrap
17540 maybe-all-stage4-mpfr: all-stage4-mpfr
17541 all-stage4: all-stage4-mpfr
17542 TARGET-stage4-mpfr = $(TARGET-mpfr)
17543 all-stage4-mpfr: configure-stage4-mpfr
17544 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17545 @r=`${PWD_COMMAND}`; export r; \
17546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17547 TFLAGS="$(STAGE4_TFLAGS)"; \
17548 $(HOST_EXPORTS) \
17549 $(POSTSTAGE1_HOST_EXPORTS) \
17550 cd $(HOST_SUBDIR)/mpfr && \
17551 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17552 CFLAGS="$(STAGE4_CFLAGS)" \
17553 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17554 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17559 TFLAGS="$(STAGE4_TFLAGS)" \
17560 $(TARGET-stage4-mpfr)
17562 maybe-clean-stage4-mpfr: clean-stage4-mpfr
17563 clean-stage4: clean-stage4-mpfr
17564 clean-stage4-mpfr:
17565 @if [ $(current_stage) = stage4 ]; then \
17566 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17567 else \
17568 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
17569 $(MAKE) stage4-start; \
17570 fi; \
17571 cd $(HOST_SUBDIR)/mpfr && \
17572 $(MAKE) $(EXTRA_HOST_FLAGS) \
17573 $(POSTSTAGE1_FLAGS_TO_PASS) \
17574 clean
17575 @endif mpfr-bootstrap
17578 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
17579 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
17580 maybe-all-stageprofile-mpfr:
17581 maybe-clean-stageprofile-mpfr:
17582 @if mpfr-bootstrap
17583 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
17584 all-stageprofile: all-stageprofile-mpfr
17585 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
17586 all-stageprofile-mpfr: configure-stageprofile-mpfr
17587 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17588 @r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17591 $(HOST_EXPORTS) \
17592 $(POSTSTAGE1_HOST_EXPORTS) \
17593 cd $(HOST_SUBDIR)/mpfr && \
17594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17595 CFLAGS="$(STAGEprofile_CFLAGS)" \
17596 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17597 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17602 TFLAGS="$(STAGEprofile_TFLAGS)" \
17603 $(TARGET-stageprofile-mpfr)
17605 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
17606 clean-stageprofile: clean-stageprofile-mpfr
17607 clean-stageprofile-mpfr:
17608 @if [ $(current_stage) = stageprofile ]; then \
17609 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17610 else \
17611 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
17612 $(MAKE) stageprofile-start; \
17613 fi; \
17614 cd $(HOST_SUBDIR)/mpfr && \
17615 $(MAKE) $(EXTRA_HOST_FLAGS) \
17616 $(POSTSTAGE1_FLAGS_TO_PASS) \
17617 clean
17618 @endif mpfr-bootstrap
17621 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
17622 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
17623 maybe-all-stagefeedback-mpfr:
17624 maybe-clean-stagefeedback-mpfr:
17625 @if mpfr-bootstrap
17626 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
17627 all-stagefeedback: all-stagefeedback-mpfr
17628 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
17629 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
17630 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17631 @r=`${PWD_COMMAND}`; export r; \
17632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17633 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17634 $(HOST_EXPORTS) \
17635 $(POSTSTAGE1_HOST_EXPORTS) \
17636 cd $(HOST_SUBDIR)/mpfr && \
17637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17638 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17639 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17640 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17645 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17646 $(TARGET-stagefeedback-mpfr)
17648 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
17649 clean-stagefeedback: clean-stagefeedback-mpfr
17650 clean-stagefeedback-mpfr:
17651 @if [ $(current_stage) = stagefeedback ]; then \
17652 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17653 else \
17654 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
17655 $(MAKE) stagefeedback-start; \
17656 fi; \
17657 cd $(HOST_SUBDIR)/mpfr && \
17658 $(MAKE) $(EXTRA_HOST_FLAGS) \
17659 $(POSTSTAGE1_FLAGS_TO_PASS) \
17660 clean
17661 @endif mpfr-bootstrap
17667 .PHONY: check-mpfr maybe-check-mpfr
17668 maybe-check-mpfr:
17669 @if mpfr
17670 maybe-check-mpfr: check-mpfr
17672 check-mpfr:
17673 @: $(MAKE); $(unstage)
17674 @r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17676 $(HOST_EXPORTS) \
17677 (cd $(HOST_SUBDIR)/mpfr && \
17678 $(MAKE) $(FLAGS_TO_PASS) check)
17680 @endif mpfr
17682 .PHONY: install-mpfr maybe-install-mpfr
17683 maybe-install-mpfr:
17684 @if mpfr
17685 maybe-install-mpfr: install-mpfr
17687 install-mpfr:
17689 @endif mpfr
17691 # Other targets (info, dvi, pdf, etc.)
17693 .PHONY: maybe-info-mpfr info-mpfr
17694 maybe-info-mpfr:
17695 @if mpfr
17696 maybe-info-mpfr: info-mpfr
17698 info-mpfr: \
17699 configure-mpfr
17700 @[ -f ./mpfr/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 info in mpfr" ; \
17708 (cd $(HOST_SUBDIR)/mpfr && \
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 info) \
17714 || exit 1
17716 @endif mpfr
17718 .PHONY: maybe-dvi-mpfr dvi-mpfr
17719 maybe-dvi-mpfr:
17720 @if mpfr
17721 maybe-dvi-mpfr: dvi-mpfr
17723 dvi-mpfr: \
17724 configure-mpfr
17725 @[ -f ./mpfr/Makefile ] || exit 0; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 for flag in $(EXTRA_HOST_FLAGS) ; do \
17730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17731 done; \
17732 echo "Doing dvi in mpfr" ; \
17733 (cd $(HOST_SUBDIR)/mpfr && \
17734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17736 "RANLIB=$${RANLIB}" \
17737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17738 dvi) \
17739 || exit 1
17741 @endif mpfr
17743 .PHONY: maybe-pdf-mpfr pdf-mpfr
17744 maybe-pdf-mpfr:
17745 @if mpfr
17746 maybe-pdf-mpfr: pdf-mpfr
17748 pdf-mpfr: \
17749 configure-mpfr
17750 @[ -f ./mpfr/Makefile ] || exit 0; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS) ; do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing pdf in mpfr" ; \
17758 (cd $(HOST_SUBDIR)/mpfr && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17763 pdf) \
17764 || exit 1
17766 @endif mpfr
17768 .PHONY: maybe-html-mpfr html-mpfr
17769 maybe-html-mpfr:
17770 @if mpfr
17771 maybe-html-mpfr: html-mpfr
17773 html-mpfr: \
17774 configure-mpfr
17775 @[ -f ./mpfr/Makefile ] || exit 0; \
17776 r=`${PWD_COMMAND}`; export r; \
17777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17778 $(HOST_EXPORTS) \
17779 for flag in $(EXTRA_HOST_FLAGS) ; do \
17780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17781 done; \
17782 echo "Doing html in mpfr" ; \
17783 (cd $(HOST_SUBDIR)/mpfr && \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17786 "RANLIB=$${RANLIB}" \
17787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17788 html) \
17789 || exit 1
17791 @endif mpfr
17793 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
17794 maybe-TAGS-mpfr:
17795 @if mpfr
17796 maybe-TAGS-mpfr: TAGS-mpfr
17798 TAGS-mpfr: \
17799 configure-mpfr
17800 @[ -f ./mpfr/Makefile ] || exit 0; \
17801 r=`${PWD_COMMAND}`; export r; \
17802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17803 $(HOST_EXPORTS) \
17804 for flag in $(EXTRA_HOST_FLAGS) ; do \
17805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17806 done; \
17807 echo "Doing TAGS in mpfr" ; \
17808 (cd $(HOST_SUBDIR)/mpfr && \
17809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17811 "RANLIB=$${RANLIB}" \
17812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17813 TAGS) \
17814 || exit 1
17816 @endif mpfr
17818 .PHONY: maybe-install-info-mpfr install-info-mpfr
17819 maybe-install-info-mpfr:
17820 @if mpfr
17821 maybe-install-info-mpfr: install-info-mpfr
17823 install-info-mpfr: \
17824 configure-mpfr \
17825 info-mpfr
17826 @[ -f ./mpfr/Makefile ] || exit 0; \
17827 r=`${PWD_COMMAND}`; export r; \
17828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17829 $(HOST_EXPORTS) \
17830 for flag in $(EXTRA_HOST_FLAGS) ; do \
17831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17832 done; \
17833 echo "Doing install-info in mpfr" ; \
17834 (cd $(HOST_SUBDIR)/mpfr && \
17835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17837 "RANLIB=$${RANLIB}" \
17838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17839 install-info) \
17840 || exit 1
17842 @endif mpfr
17844 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
17845 maybe-install-pdf-mpfr:
17846 @if mpfr
17847 maybe-install-pdf-mpfr: install-pdf-mpfr
17849 install-pdf-mpfr: \
17850 configure-mpfr \
17851 pdf-mpfr
17852 @[ -f ./mpfr/Makefile ] || exit 0; \
17853 r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 $(HOST_EXPORTS) \
17856 for flag in $(EXTRA_HOST_FLAGS) ; do \
17857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17858 done; \
17859 echo "Doing install-pdf in mpfr" ; \
17860 (cd $(HOST_SUBDIR)/mpfr && \
17861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17863 "RANLIB=$${RANLIB}" \
17864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17865 install-pdf) \
17866 || exit 1
17868 @endif mpfr
17870 .PHONY: maybe-install-html-mpfr install-html-mpfr
17871 maybe-install-html-mpfr:
17872 @if mpfr
17873 maybe-install-html-mpfr: install-html-mpfr
17875 install-html-mpfr: \
17876 configure-mpfr \
17877 html-mpfr
17878 @[ -f ./mpfr/Makefile ] || exit 0; \
17879 r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 $(HOST_EXPORTS) \
17882 for flag in $(EXTRA_HOST_FLAGS) ; do \
17883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17884 done; \
17885 echo "Doing install-html in mpfr" ; \
17886 (cd $(HOST_SUBDIR)/mpfr && \
17887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17889 "RANLIB=$${RANLIB}" \
17890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17891 install-html) \
17892 || exit 1
17894 @endif mpfr
17896 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
17897 maybe-installcheck-mpfr:
17898 @if mpfr
17899 maybe-installcheck-mpfr: installcheck-mpfr
17901 installcheck-mpfr: \
17902 configure-mpfr
17903 @[ -f ./mpfr/Makefile ] || exit 0; \
17904 r=`${PWD_COMMAND}`; export r; \
17905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17906 $(HOST_EXPORTS) \
17907 for flag in $(EXTRA_HOST_FLAGS) ; do \
17908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17909 done; \
17910 echo "Doing installcheck in mpfr" ; \
17911 (cd $(HOST_SUBDIR)/mpfr && \
17912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17914 "RANLIB=$${RANLIB}" \
17915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17916 installcheck) \
17917 || exit 1
17919 @endif mpfr
17921 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
17922 maybe-mostlyclean-mpfr:
17923 @if mpfr
17924 maybe-mostlyclean-mpfr: mostlyclean-mpfr
17926 mostlyclean-mpfr:
17927 @[ -f ./mpfr/Makefile ] || exit 0; \
17928 r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(HOST_EXPORTS) \
17931 for flag in $(EXTRA_HOST_FLAGS) ; do \
17932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17933 done; \
17934 echo "Doing mostlyclean in mpfr" ; \
17935 (cd $(HOST_SUBDIR)/mpfr && \
17936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17938 "RANLIB=$${RANLIB}" \
17939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17940 mostlyclean) \
17941 || exit 1
17943 @endif mpfr
17945 .PHONY: maybe-clean-mpfr clean-mpfr
17946 maybe-clean-mpfr:
17947 @if mpfr
17948 maybe-clean-mpfr: clean-mpfr
17950 clean-mpfr:
17951 @[ -f ./mpfr/Makefile ] || exit 0; \
17952 r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(HOST_EXPORTS) \
17955 for flag in $(EXTRA_HOST_FLAGS) ; do \
17956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17957 done; \
17958 echo "Doing clean in mpfr" ; \
17959 (cd $(HOST_SUBDIR)/mpfr && \
17960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17962 "RANLIB=$${RANLIB}" \
17963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17964 clean) \
17965 || exit 1
17967 @endif mpfr
17969 .PHONY: maybe-distclean-mpfr distclean-mpfr
17970 maybe-distclean-mpfr:
17971 @if mpfr
17972 maybe-distclean-mpfr: distclean-mpfr
17974 distclean-mpfr:
17975 @[ -f ./mpfr/Makefile ] || exit 0; \
17976 r=`${PWD_COMMAND}`; export r; \
17977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 $(HOST_EXPORTS) \
17979 for flag in $(EXTRA_HOST_FLAGS) ; do \
17980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17981 done; \
17982 echo "Doing distclean in mpfr" ; \
17983 (cd $(HOST_SUBDIR)/mpfr && \
17984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17986 "RANLIB=$${RANLIB}" \
17987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17988 distclean) \
17989 || exit 1
17991 @endif mpfr
17993 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
17994 maybe-maintainer-clean-mpfr:
17995 @if mpfr
17996 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
17998 maintainer-clean-mpfr:
17999 @[ -f ./mpfr/Makefile ] || exit 0; \
18000 r=`${PWD_COMMAND}`; export r; \
18001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18002 $(HOST_EXPORTS) \
18003 for flag in $(EXTRA_HOST_FLAGS) ; do \
18004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18005 done; \
18006 echo "Doing maintainer-clean in mpfr" ; \
18007 (cd $(HOST_SUBDIR)/mpfr && \
18008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18010 "RANLIB=$${RANLIB}" \
18011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18012 maintainer-clean) \
18013 || exit 1
18015 @endif mpfr
18019 .PHONY: configure-mpc maybe-configure-mpc
18020 maybe-configure-mpc:
18021 @if gcc-bootstrap
18022 configure-mpc: stage_current
18023 @endif gcc-bootstrap
18024 @if mpc
18025 maybe-configure-mpc: configure-mpc
18026 configure-mpc:
18027 @r=`${PWD_COMMAND}`; export r; \
18028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18029 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18031 $(HOST_EXPORTS) \
18032 echo Configuring in $(HOST_SUBDIR)/mpc; \
18033 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
18034 case $(srcdir) in \
18035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18036 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18038 esac; \
18039 srcdiroption="--srcdir=$${topdir}/mpc"; \
18040 libsrcdir="$$s/mpc"; \
18041 $(SHELL) $${libsrcdir}/configure \
18042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18043 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
18044 || exit 1
18045 @endif mpc
18049 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
18050 maybe-configure-stage1-mpc:
18051 @if mpc-bootstrap
18052 maybe-configure-stage1-mpc: configure-stage1-mpc
18053 configure-stage1-mpc:
18054 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18056 @r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 TFLAGS="$(STAGE1_TFLAGS)"; \
18059 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18060 $(HOST_EXPORTS) \
18061 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18062 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18063 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18064 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
18065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18066 cd $(HOST_SUBDIR)/mpc || exit 1; \
18067 case $(srcdir) in \
18068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18069 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18071 esac; \
18072 srcdiroption="--srcdir=$${topdir}/mpc"; \
18073 libsrcdir="$$s/mpc"; \
18074 $(SHELL) $${libsrcdir}/configure \
18075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18076 --target=${target_alias} $${srcdiroption} \
18077 $(STAGE1_CONFIGURE_FLAGS) \
18078 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18079 @endif mpc-bootstrap
18081 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
18082 maybe-configure-stage2-mpc:
18083 @if mpc-bootstrap
18084 maybe-configure-stage2-mpc: configure-stage2-mpc
18085 configure-stage2-mpc:
18086 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18088 @r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 TFLAGS="$(STAGE2_TFLAGS)"; \
18091 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18092 $(HOST_EXPORTS) \
18093 $(POSTSTAGE1_HOST_EXPORTS) \
18094 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18095 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18096 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18097 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
18098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18099 cd $(HOST_SUBDIR)/mpc || exit 1; \
18100 case $(srcdir) in \
18101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18102 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18104 esac; \
18105 srcdiroption="--srcdir=$${topdir}/mpc"; \
18106 libsrcdir="$$s/mpc"; \
18107 $(SHELL) $${libsrcdir}/configure \
18108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18109 --target=${target_alias} $${srcdiroption} \
18110 --with-build-libsubdir=$(HOST_SUBDIR) \
18111 $(STAGE2_CONFIGURE_FLAGS) \
18112 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18113 @endif mpc-bootstrap
18115 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
18116 maybe-configure-stage3-mpc:
18117 @if mpc-bootstrap
18118 maybe-configure-stage3-mpc: configure-stage3-mpc
18119 configure-stage3-mpc:
18120 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18122 @r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 TFLAGS="$(STAGE3_TFLAGS)"; \
18125 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18126 $(HOST_EXPORTS) \
18127 $(POSTSTAGE1_HOST_EXPORTS) \
18128 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18129 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18130 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18131 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
18132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18133 cd $(HOST_SUBDIR)/mpc || exit 1; \
18134 case $(srcdir) in \
18135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18136 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18138 esac; \
18139 srcdiroption="--srcdir=$${topdir}/mpc"; \
18140 libsrcdir="$$s/mpc"; \
18141 $(SHELL) $${libsrcdir}/configure \
18142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18143 --target=${target_alias} $${srcdiroption} \
18144 --with-build-libsubdir=$(HOST_SUBDIR) \
18145 $(STAGE3_CONFIGURE_FLAGS) \
18146 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18147 @endif mpc-bootstrap
18149 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
18150 maybe-configure-stage4-mpc:
18151 @if mpc-bootstrap
18152 maybe-configure-stage4-mpc: configure-stage4-mpc
18153 configure-stage4-mpc:
18154 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18156 @r=`${PWD_COMMAND}`; export r; \
18157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 TFLAGS="$(STAGE4_TFLAGS)"; \
18159 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18160 $(HOST_EXPORTS) \
18161 $(POSTSTAGE1_HOST_EXPORTS) \
18162 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18163 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18164 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18165 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
18166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18167 cd $(HOST_SUBDIR)/mpc || exit 1; \
18168 case $(srcdir) in \
18169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18170 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18172 esac; \
18173 srcdiroption="--srcdir=$${topdir}/mpc"; \
18174 libsrcdir="$$s/mpc"; \
18175 $(SHELL) $${libsrcdir}/configure \
18176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18177 --target=${target_alias} $${srcdiroption} \
18178 --with-build-libsubdir=$(HOST_SUBDIR) \
18179 $(STAGE4_CONFIGURE_FLAGS) \
18180 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18181 @endif mpc-bootstrap
18183 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
18184 maybe-configure-stageprofile-mpc:
18185 @if mpc-bootstrap
18186 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
18187 configure-stageprofile-mpc:
18188 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18190 @r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18193 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18194 $(HOST_EXPORTS) \
18195 $(POSTSTAGE1_HOST_EXPORTS) \
18196 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18197 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18198 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18199 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
18200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18201 cd $(HOST_SUBDIR)/mpc || exit 1; \
18202 case $(srcdir) in \
18203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18204 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18206 esac; \
18207 srcdiroption="--srcdir=$${topdir}/mpc"; \
18208 libsrcdir="$$s/mpc"; \
18209 $(SHELL) $${libsrcdir}/configure \
18210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18211 --target=${target_alias} $${srcdiroption} \
18212 --with-build-libsubdir=$(HOST_SUBDIR) \
18213 $(STAGEprofile_CONFIGURE_FLAGS) \
18214 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18215 @endif mpc-bootstrap
18217 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
18218 maybe-configure-stagefeedback-mpc:
18219 @if mpc-bootstrap
18220 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
18221 configure-stagefeedback-mpc:
18222 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18223 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
18224 @r=`${PWD_COMMAND}`; export r; \
18225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18226 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18227 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
18228 $(HOST_EXPORTS) \
18229 $(POSTSTAGE1_HOST_EXPORTS) \
18230 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18231 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18232 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18233 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
18234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
18235 cd $(HOST_SUBDIR)/mpc || exit 1; \
18236 case $(srcdir) in \
18237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18238 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
18239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18240 esac; \
18241 srcdiroption="--srcdir=$${topdir}/mpc"; \
18242 libsrcdir="$$s/mpc"; \
18243 $(SHELL) $${libsrcdir}/configure \
18244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18245 --target=${target_alias} $${srcdiroption} \
18246 --with-build-libsubdir=$(HOST_SUBDIR) \
18247 $(STAGEfeedback_CONFIGURE_FLAGS) \
18248 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
18249 @endif mpc-bootstrap
18255 .PHONY: all-mpc maybe-all-mpc
18256 maybe-all-mpc:
18257 @if gcc-bootstrap
18258 all-mpc: stage_current
18259 @endif gcc-bootstrap
18260 @if mpc
18261 TARGET-mpc=all
18262 maybe-all-mpc: all-mpc
18263 all-mpc: configure-mpc
18264 @r=`${PWD_COMMAND}`; export r; \
18265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18266 $(HOST_EXPORTS) \
18267 (cd $(HOST_SUBDIR)/mpc && \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18269 $(TARGET-mpc))
18270 @endif mpc
18274 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
18275 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
18276 maybe-all-stage1-mpc:
18277 maybe-clean-stage1-mpc:
18278 @if mpc-bootstrap
18279 maybe-all-stage1-mpc: all-stage1-mpc
18280 all-stage1: all-stage1-mpc
18281 TARGET-stage1-mpc = $(TARGET-mpc)
18282 all-stage1-mpc: configure-stage1-mpc
18283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18284 @r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 TFLAGS="$(STAGE1_TFLAGS)"; \
18287 $(HOST_EXPORTS) \
18288 cd $(HOST_SUBDIR)/mpc && \
18289 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18290 CFLAGS="$(STAGE1_CFLAGS)" \
18291 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18292 LIBCFLAGS="$(LIBCFLAGS)" \
18293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18296 $(EXTRA_HOST_FLAGS) \
18297 TFLAGS="$(STAGE1_TFLAGS)" \
18298 $(TARGET-stage1-mpc)
18300 maybe-clean-stage1-mpc: clean-stage1-mpc
18301 clean-stage1: clean-stage1-mpc
18302 clean-stage1-mpc:
18303 @if [ $(current_stage) = stage1 ]; then \
18304 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18305 else \
18306 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
18307 $(MAKE) stage1-start; \
18308 fi; \
18309 cd $(HOST_SUBDIR)/mpc && \
18310 $(MAKE) $(EXTRA_HOST_FLAGS) \
18311 clean
18312 @endif mpc-bootstrap
18315 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
18316 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
18317 maybe-all-stage2-mpc:
18318 maybe-clean-stage2-mpc:
18319 @if mpc-bootstrap
18320 maybe-all-stage2-mpc: all-stage2-mpc
18321 all-stage2: all-stage2-mpc
18322 TARGET-stage2-mpc = $(TARGET-mpc)
18323 all-stage2-mpc: configure-stage2-mpc
18324 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18325 @r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327 TFLAGS="$(STAGE2_TFLAGS)"; \
18328 $(HOST_EXPORTS) \
18329 $(POSTSTAGE1_HOST_EXPORTS) \
18330 cd $(HOST_SUBDIR)/mpc && \
18331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18332 CFLAGS="$(STAGE2_CFLAGS)" \
18333 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18334 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18339 TFLAGS="$(STAGE2_TFLAGS)" \
18340 $(TARGET-stage2-mpc)
18342 maybe-clean-stage2-mpc: clean-stage2-mpc
18343 clean-stage2: clean-stage2-mpc
18344 clean-stage2-mpc:
18345 @if [ $(current_stage) = stage2 ]; then \
18346 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18347 else \
18348 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
18349 $(MAKE) stage2-start; \
18350 fi; \
18351 cd $(HOST_SUBDIR)/mpc && \
18352 $(MAKE) $(EXTRA_HOST_FLAGS) \
18353 $(POSTSTAGE1_FLAGS_TO_PASS) \
18354 clean
18355 @endif mpc-bootstrap
18358 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
18359 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
18360 maybe-all-stage3-mpc:
18361 maybe-clean-stage3-mpc:
18362 @if mpc-bootstrap
18363 maybe-all-stage3-mpc: all-stage3-mpc
18364 all-stage3: all-stage3-mpc
18365 TARGET-stage3-mpc = $(TARGET-mpc)
18366 all-stage3-mpc: configure-stage3-mpc
18367 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18368 @r=`${PWD_COMMAND}`; export r; \
18369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 TFLAGS="$(STAGE3_TFLAGS)"; \
18371 $(HOST_EXPORTS) \
18372 $(POSTSTAGE1_HOST_EXPORTS) \
18373 cd $(HOST_SUBDIR)/mpc && \
18374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18375 CFLAGS="$(STAGE3_CFLAGS)" \
18376 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18377 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18381 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18382 TFLAGS="$(STAGE3_TFLAGS)" \
18383 $(TARGET-stage3-mpc)
18385 maybe-clean-stage3-mpc: clean-stage3-mpc
18386 clean-stage3: clean-stage3-mpc
18387 clean-stage3-mpc:
18388 @if [ $(current_stage) = stage3 ]; then \
18389 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18390 else \
18391 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
18392 $(MAKE) stage3-start; \
18393 fi; \
18394 cd $(HOST_SUBDIR)/mpc && \
18395 $(MAKE) $(EXTRA_HOST_FLAGS) \
18396 $(POSTSTAGE1_FLAGS_TO_PASS) \
18397 clean
18398 @endif mpc-bootstrap
18401 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
18402 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
18403 maybe-all-stage4-mpc:
18404 maybe-clean-stage4-mpc:
18405 @if mpc-bootstrap
18406 maybe-all-stage4-mpc: all-stage4-mpc
18407 all-stage4: all-stage4-mpc
18408 TARGET-stage4-mpc = $(TARGET-mpc)
18409 all-stage4-mpc: configure-stage4-mpc
18410 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18411 @r=`${PWD_COMMAND}`; export r; \
18412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18413 TFLAGS="$(STAGE4_TFLAGS)"; \
18414 $(HOST_EXPORTS) \
18415 $(POSTSTAGE1_HOST_EXPORTS) \
18416 cd $(HOST_SUBDIR)/mpc && \
18417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18418 CFLAGS="$(STAGE4_CFLAGS)" \
18419 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18420 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18424 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18425 TFLAGS="$(STAGE4_TFLAGS)" \
18426 $(TARGET-stage4-mpc)
18428 maybe-clean-stage4-mpc: clean-stage4-mpc
18429 clean-stage4: clean-stage4-mpc
18430 clean-stage4-mpc:
18431 @if [ $(current_stage) = stage4 ]; then \
18432 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18433 else \
18434 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
18435 $(MAKE) stage4-start; \
18436 fi; \
18437 cd $(HOST_SUBDIR)/mpc && \
18438 $(MAKE) $(EXTRA_HOST_FLAGS) \
18439 $(POSTSTAGE1_FLAGS_TO_PASS) \
18440 clean
18441 @endif mpc-bootstrap
18444 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
18445 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
18446 maybe-all-stageprofile-mpc:
18447 maybe-clean-stageprofile-mpc:
18448 @if mpc-bootstrap
18449 maybe-all-stageprofile-mpc: all-stageprofile-mpc
18450 all-stageprofile: all-stageprofile-mpc
18451 TARGET-stageprofile-mpc = $(TARGET-mpc)
18452 all-stageprofile-mpc: configure-stageprofile-mpc
18453 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18454 @r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18457 $(HOST_EXPORTS) \
18458 $(POSTSTAGE1_HOST_EXPORTS) \
18459 cd $(HOST_SUBDIR)/mpc && \
18460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18461 CFLAGS="$(STAGEprofile_CFLAGS)" \
18462 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18463 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18467 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18468 TFLAGS="$(STAGEprofile_TFLAGS)" \
18469 $(TARGET-stageprofile-mpc)
18471 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
18472 clean-stageprofile: clean-stageprofile-mpc
18473 clean-stageprofile-mpc:
18474 @if [ $(current_stage) = stageprofile ]; then \
18475 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18476 else \
18477 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
18478 $(MAKE) stageprofile-start; \
18479 fi; \
18480 cd $(HOST_SUBDIR)/mpc && \
18481 $(MAKE) $(EXTRA_HOST_FLAGS) \
18482 $(POSTSTAGE1_FLAGS_TO_PASS) \
18483 clean
18484 @endif mpc-bootstrap
18487 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
18488 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
18489 maybe-all-stagefeedback-mpc:
18490 maybe-clean-stagefeedback-mpc:
18491 @if mpc-bootstrap
18492 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
18493 all-stagefeedback: all-stagefeedback-mpc
18494 TARGET-stagefeedback-mpc = $(TARGET-mpc)
18495 all-stagefeedback-mpc: configure-stagefeedback-mpc
18496 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18500 $(HOST_EXPORTS) \
18501 $(POSTSTAGE1_HOST_EXPORTS) \
18502 cd $(HOST_SUBDIR)/mpc && \
18503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18504 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18505 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18506 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18510 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18511 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18512 $(TARGET-stagefeedback-mpc)
18514 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
18515 clean-stagefeedback: clean-stagefeedback-mpc
18516 clean-stagefeedback-mpc:
18517 @if [ $(current_stage) = stagefeedback ]; then \
18518 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
18519 else \
18520 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
18521 $(MAKE) stagefeedback-start; \
18522 fi; \
18523 cd $(HOST_SUBDIR)/mpc && \
18524 $(MAKE) $(EXTRA_HOST_FLAGS) \
18525 $(POSTSTAGE1_FLAGS_TO_PASS) \
18526 clean
18527 @endif mpc-bootstrap
18533 .PHONY: check-mpc maybe-check-mpc
18534 maybe-check-mpc:
18535 @if mpc
18536 maybe-check-mpc: check-mpc
18538 check-mpc:
18539 @: $(MAKE); $(unstage)
18540 @r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 $(HOST_EXPORTS) \
18543 (cd $(HOST_SUBDIR)/mpc && \
18544 $(MAKE) $(FLAGS_TO_PASS) check)
18546 @endif mpc
18548 .PHONY: install-mpc maybe-install-mpc
18549 maybe-install-mpc:
18550 @if mpc
18551 maybe-install-mpc: install-mpc
18553 install-mpc:
18555 @endif mpc
18557 # Other targets (info, dvi, pdf, etc.)
18559 .PHONY: maybe-info-mpc info-mpc
18560 maybe-info-mpc:
18561 @if mpc
18562 maybe-info-mpc: info-mpc
18564 info-mpc: \
18565 configure-mpc
18566 @[ -f ./mpc/Makefile ] || exit 0; \
18567 r=`${PWD_COMMAND}`; export r; \
18568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18569 $(HOST_EXPORTS) \
18570 for flag in $(EXTRA_HOST_FLAGS) ; do \
18571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18572 done; \
18573 echo "Doing info in mpc" ; \
18574 (cd $(HOST_SUBDIR)/mpc && \
18575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18577 "RANLIB=$${RANLIB}" \
18578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18579 info) \
18580 || exit 1
18582 @endif mpc
18584 .PHONY: maybe-dvi-mpc dvi-mpc
18585 maybe-dvi-mpc:
18586 @if mpc
18587 maybe-dvi-mpc: dvi-mpc
18589 dvi-mpc: \
18590 configure-mpc
18591 @[ -f ./mpc/Makefile ] || exit 0; \
18592 r=`${PWD_COMMAND}`; export r; \
18593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18594 $(HOST_EXPORTS) \
18595 for flag in $(EXTRA_HOST_FLAGS) ; do \
18596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18597 done; \
18598 echo "Doing dvi in mpc" ; \
18599 (cd $(HOST_SUBDIR)/mpc && \
18600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18602 "RANLIB=$${RANLIB}" \
18603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18604 dvi) \
18605 || exit 1
18607 @endif mpc
18609 .PHONY: maybe-pdf-mpc pdf-mpc
18610 maybe-pdf-mpc:
18611 @if mpc
18612 maybe-pdf-mpc: pdf-mpc
18614 pdf-mpc: \
18615 configure-mpc
18616 @[ -f ./mpc/Makefile ] || exit 0; \
18617 r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 $(HOST_EXPORTS) \
18620 for flag in $(EXTRA_HOST_FLAGS) ; do \
18621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18622 done; \
18623 echo "Doing pdf in mpc" ; \
18624 (cd $(HOST_SUBDIR)/mpc && \
18625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18627 "RANLIB=$${RANLIB}" \
18628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18629 pdf) \
18630 || exit 1
18632 @endif mpc
18634 .PHONY: maybe-html-mpc html-mpc
18635 maybe-html-mpc:
18636 @if mpc
18637 maybe-html-mpc: html-mpc
18639 html-mpc: \
18640 configure-mpc
18641 @[ -f ./mpc/Makefile ] || exit 0; \
18642 r=`${PWD_COMMAND}`; export r; \
18643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 $(HOST_EXPORTS) \
18645 for flag in $(EXTRA_HOST_FLAGS) ; do \
18646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18647 done; \
18648 echo "Doing html in mpc" ; \
18649 (cd $(HOST_SUBDIR)/mpc && \
18650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18652 "RANLIB=$${RANLIB}" \
18653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18654 html) \
18655 || exit 1
18657 @endif mpc
18659 .PHONY: maybe-TAGS-mpc TAGS-mpc
18660 maybe-TAGS-mpc:
18661 @if mpc
18662 maybe-TAGS-mpc: TAGS-mpc
18664 TAGS-mpc: \
18665 configure-mpc
18666 @[ -f ./mpc/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS) ; do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing TAGS in mpc" ; \
18674 (cd $(HOST_SUBDIR)/mpc && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18679 TAGS) \
18680 || exit 1
18682 @endif mpc
18684 .PHONY: maybe-install-info-mpc install-info-mpc
18685 maybe-install-info-mpc:
18686 @if mpc
18687 maybe-install-info-mpc: install-info-mpc
18689 install-info-mpc: \
18690 configure-mpc \
18691 info-mpc
18692 @[ -f ./mpc/Makefile ] || exit 0; \
18693 r=`${PWD_COMMAND}`; export r; \
18694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 $(HOST_EXPORTS) \
18696 for flag in $(EXTRA_HOST_FLAGS) ; do \
18697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18698 done; \
18699 echo "Doing install-info in mpc" ; \
18700 (cd $(HOST_SUBDIR)/mpc && \
18701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18703 "RANLIB=$${RANLIB}" \
18704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18705 install-info) \
18706 || exit 1
18708 @endif mpc
18710 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
18711 maybe-install-pdf-mpc:
18712 @if mpc
18713 maybe-install-pdf-mpc: install-pdf-mpc
18715 install-pdf-mpc: \
18716 configure-mpc \
18717 pdf-mpc
18718 @[ -f ./mpc/Makefile ] || exit 0; \
18719 r=`${PWD_COMMAND}`; export r; \
18720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18721 $(HOST_EXPORTS) \
18722 for flag in $(EXTRA_HOST_FLAGS) ; do \
18723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18724 done; \
18725 echo "Doing install-pdf in mpc" ; \
18726 (cd $(HOST_SUBDIR)/mpc && \
18727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18729 "RANLIB=$${RANLIB}" \
18730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18731 install-pdf) \
18732 || exit 1
18734 @endif mpc
18736 .PHONY: maybe-install-html-mpc install-html-mpc
18737 maybe-install-html-mpc:
18738 @if mpc
18739 maybe-install-html-mpc: install-html-mpc
18741 install-html-mpc: \
18742 configure-mpc \
18743 html-mpc
18744 @[ -f ./mpc/Makefile ] || exit 0; \
18745 r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 $(HOST_EXPORTS) \
18748 for flag in $(EXTRA_HOST_FLAGS) ; do \
18749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18750 done; \
18751 echo "Doing install-html in mpc" ; \
18752 (cd $(HOST_SUBDIR)/mpc && \
18753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18755 "RANLIB=$${RANLIB}" \
18756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18757 install-html) \
18758 || exit 1
18760 @endif mpc
18762 .PHONY: maybe-installcheck-mpc installcheck-mpc
18763 maybe-installcheck-mpc:
18764 @if mpc
18765 maybe-installcheck-mpc: installcheck-mpc
18767 installcheck-mpc: \
18768 configure-mpc
18769 @[ -f ./mpc/Makefile ] || exit 0; \
18770 r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 $(HOST_EXPORTS) \
18773 for flag in $(EXTRA_HOST_FLAGS) ; do \
18774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18775 done; \
18776 echo "Doing installcheck in mpc" ; \
18777 (cd $(HOST_SUBDIR)/mpc && \
18778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18780 "RANLIB=$${RANLIB}" \
18781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18782 installcheck) \
18783 || exit 1
18785 @endif mpc
18787 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
18788 maybe-mostlyclean-mpc:
18789 @if mpc
18790 maybe-mostlyclean-mpc: mostlyclean-mpc
18792 mostlyclean-mpc:
18793 @[ -f ./mpc/Makefile ] || exit 0; \
18794 r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796 $(HOST_EXPORTS) \
18797 for flag in $(EXTRA_HOST_FLAGS) ; do \
18798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18799 done; \
18800 echo "Doing mostlyclean in mpc" ; \
18801 (cd $(HOST_SUBDIR)/mpc && \
18802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18804 "RANLIB=$${RANLIB}" \
18805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18806 mostlyclean) \
18807 || exit 1
18809 @endif mpc
18811 .PHONY: maybe-clean-mpc clean-mpc
18812 maybe-clean-mpc:
18813 @if mpc
18814 maybe-clean-mpc: clean-mpc
18816 clean-mpc:
18817 @[ -f ./mpc/Makefile ] || exit 0; \
18818 r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18820 $(HOST_EXPORTS) \
18821 for flag in $(EXTRA_HOST_FLAGS) ; do \
18822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18823 done; \
18824 echo "Doing clean in mpc" ; \
18825 (cd $(HOST_SUBDIR)/mpc && \
18826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18828 "RANLIB=$${RANLIB}" \
18829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18830 clean) \
18831 || exit 1
18833 @endif mpc
18835 .PHONY: maybe-distclean-mpc distclean-mpc
18836 maybe-distclean-mpc:
18837 @if mpc
18838 maybe-distclean-mpc: distclean-mpc
18840 distclean-mpc:
18841 @[ -f ./mpc/Makefile ] || exit 0; \
18842 r=`${PWD_COMMAND}`; export r; \
18843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844 $(HOST_EXPORTS) \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18847 done; \
18848 echo "Doing distclean in mpc" ; \
18849 (cd $(HOST_SUBDIR)/mpc && \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18854 distclean) \
18855 || exit 1
18857 @endif mpc
18859 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
18860 maybe-maintainer-clean-mpc:
18861 @if mpc
18862 maybe-maintainer-clean-mpc: maintainer-clean-mpc
18864 maintainer-clean-mpc:
18865 @[ -f ./mpc/Makefile ] || exit 0; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18868 $(HOST_EXPORTS) \
18869 for flag in $(EXTRA_HOST_FLAGS) ; do \
18870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18871 done; \
18872 echo "Doing maintainer-clean in mpc" ; \
18873 (cd $(HOST_SUBDIR)/mpc && \
18874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18876 "RANLIB=$${RANLIB}" \
18877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18878 maintainer-clean) \
18879 || exit 1
18881 @endif mpc
18885 .PHONY: configure-ppl maybe-configure-ppl
18886 maybe-configure-ppl:
18887 @if gcc-bootstrap
18888 configure-ppl: stage_current
18889 @endif gcc-bootstrap
18890 @if ppl
18891 maybe-configure-ppl: configure-ppl
18892 configure-ppl:
18893 @r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18896 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18897 $(HOST_EXPORTS) \
18898 echo Configuring in $(HOST_SUBDIR)/ppl; \
18899 cd "$(HOST_SUBDIR)/ppl" || exit 1; \
18900 case $(srcdir) in \
18901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18902 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18904 esac; \
18905 srcdiroption="--srcdir=$${topdir}/ppl"; \
18906 libsrcdir="$$s/ppl"; \
18907 $(SHELL) $${libsrcdir}/configure \
18908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18909 --target=${target_alias} $${srcdiroption} --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/ \
18910 || exit 1
18911 @endif ppl
18915 .PHONY: configure-stage1-ppl maybe-configure-stage1-ppl
18916 maybe-configure-stage1-ppl:
18917 @if ppl-bootstrap
18918 maybe-configure-stage1-ppl: configure-stage1-ppl
18919 configure-stage1-ppl:
18920 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18922 @r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 TFLAGS="$(STAGE1_TFLAGS)"; \
18925 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18926 $(HOST_EXPORTS) \
18927 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18928 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18929 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18930 echo Configuring stage 1 in $(HOST_SUBDIR)/ppl ; \
18931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18932 cd $(HOST_SUBDIR)/ppl || exit 1; \
18933 case $(srcdir) in \
18934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18935 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18937 esac; \
18938 srcdiroption="--srcdir=$${topdir}/ppl"; \
18939 libsrcdir="$$s/ppl"; \
18940 $(SHELL) $${libsrcdir}/configure \
18941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18942 --target=${target_alias} $${srcdiroption} \
18943 $(STAGE1_CONFIGURE_FLAGS) \
18944 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18945 @endif ppl-bootstrap
18947 .PHONY: configure-stage2-ppl maybe-configure-stage2-ppl
18948 maybe-configure-stage2-ppl:
18949 @if ppl-bootstrap
18950 maybe-configure-stage2-ppl: configure-stage2-ppl
18951 configure-stage2-ppl:
18952 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18954 @r=`${PWD_COMMAND}`; export r; \
18955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18956 TFLAGS="$(STAGE2_TFLAGS)"; \
18957 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18958 $(HOST_EXPORTS) \
18959 $(POSTSTAGE1_HOST_EXPORTS) \
18960 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18961 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18962 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18963 echo Configuring stage 2 in $(HOST_SUBDIR)/ppl ; \
18964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18965 cd $(HOST_SUBDIR)/ppl || exit 1; \
18966 case $(srcdir) in \
18967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18968 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
18969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18970 esac; \
18971 srcdiroption="--srcdir=$${topdir}/ppl"; \
18972 libsrcdir="$$s/ppl"; \
18973 $(SHELL) $${libsrcdir}/configure \
18974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18975 --target=${target_alias} $${srcdiroption} \
18976 --with-build-libsubdir=$(HOST_SUBDIR) \
18977 $(STAGE2_CONFIGURE_FLAGS) \
18978 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
18979 @endif ppl-bootstrap
18981 .PHONY: configure-stage3-ppl maybe-configure-stage3-ppl
18982 maybe-configure-stage3-ppl:
18983 @if ppl-bootstrap
18984 maybe-configure-stage3-ppl: configure-stage3-ppl
18985 configure-stage3-ppl:
18986 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
18988 @r=`${PWD_COMMAND}`; export r; \
18989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 TFLAGS="$(STAGE3_TFLAGS)"; \
18991 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
18992 $(HOST_EXPORTS) \
18993 $(POSTSTAGE1_HOST_EXPORTS) \
18994 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18995 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18996 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18997 echo Configuring stage 3 in $(HOST_SUBDIR)/ppl ; \
18998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
18999 cd $(HOST_SUBDIR)/ppl || exit 1; \
19000 case $(srcdir) in \
19001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19002 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19004 esac; \
19005 srcdiroption="--srcdir=$${topdir}/ppl"; \
19006 libsrcdir="$$s/ppl"; \
19007 $(SHELL) $${libsrcdir}/configure \
19008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19009 --target=${target_alias} $${srcdiroption} \
19010 --with-build-libsubdir=$(HOST_SUBDIR) \
19011 $(STAGE3_CONFIGURE_FLAGS) \
19012 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19013 @endif ppl-bootstrap
19015 .PHONY: configure-stage4-ppl maybe-configure-stage4-ppl
19016 maybe-configure-stage4-ppl:
19017 @if ppl-bootstrap
19018 maybe-configure-stage4-ppl: configure-stage4-ppl
19019 configure-stage4-ppl:
19020 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19022 @r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 TFLAGS="$(STAGE4_TFLAGS)"; \
19025 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19026 $(HOST_EXPORTS) \
19027 $(POSTSTAGE1_HOST_EXPORTS) \
19028 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19029 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19030 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19031 echo Configuring stage 4 in $(HOST_SUBDIR)/ppl ; \
19032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19033 cd $(HOST_SUBDIR)/ppl || exit 1; \
19034 case $(srcdir) in \
19035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19036 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19038 esac; \
19039 srcdiroption="--srcdir=$${topdir}/ppl"; \
19040 libsrcdir="$$s/ppl"; \
19041 $(SHELL) $${libsrcdir}/configure \
19042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19043 --target=${target_alias} $${srcdiroption} \
19044 --with-build-libsubdir=$(HOST_SUBDIR) \
19045 $(STAGE4_CONFIGURE_FLAGS) \
19046 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19047 @endif ppl-bootstrap
19049 .PHONY: configure-stageprofile-ppl maybe-configure-stageprofile-ppl
19050 maybe-configure-stageprofile-ppl:
19051 @if ppl-bootstrap
19052 maybe-configure-stageprofile-ppl: configure-stageprofile-ppl
19053 configure-stageprofile-ppl:
19054 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19056 @r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19059 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19060 $(HOST_EXPORTS) \
19061 $(POSTSTAGE1_HOST_EXPORTS) \
19062 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19063 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19064 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19065 echo Configuring stage profile in $(HOST_SUBDIR)/ppl ; \
19066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19067 cd $(HOST_SUBDIR)/ppl || exit 1; \
19068 case $(srcdir) in \
19069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19070 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19072 esac; \
19073 srcdiroption="--srcdir=$${topdir}/ppl"; \
19074 libsrcdir="$$s/ppl"; \
19075 $(SHELL) $${libsrcdir}/configure \
19076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19077 --target=${target_alias} $${srcdiroption} \
19078 --with-build-libsubdir=$(HOST_SUBDIR) \
19079 $(STAGEprofile_CONFIGURE_FLAGS) \
19080 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19081 @endif ppl-bootstrap
19083 .PHONY: configure-stagefeedback-ppl maybe-configure-stagefeedback-ppl
19084 maybe-configure-stagefeedback-ppl:
19085 @if ppl-bootstrap
19086 maybe-configure-stagefeedback-ppl: configure-stagefeedback-ppl
19087 configure-stagefeedback-ppl:
19088 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl
19090 @r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19093 test ! -f $(HOST_SUBDIR)/ppl/Makefile || exit 0; \
19094 $(HOST_EXPORTS) \
19095 $(POSTSTAGE1_HOST_EXPORTS) \
19096 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19097 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19098 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19099 echo Configuring stage feedback in $(HOST_SUBDIR)/ppl ; \
19100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ppl ; \
19101 cd $(HOST_SUBDIR)/ppl || exit 1; \
19102 case $(srcdir) in \
19103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19104 *) topdir=`echo $(HOST_SUBDIR)/ppl/ | \
19105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19106 esac; \
19107 srcdiroption="--srcdir=$${topdir}/ppl"; \
19108 libsrcdir="$$s/ppl"; \
19109 $(SHELL) $${libsrcdir}/configure \
19110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19111 --target=${target_alias} $${srcdiroption} \
19112 --with-build-libsubdir=$(HOST_SUBDIR) \
19113 $(STAGEfeedback_CONFIGURE_FLAGS) \
19114 --disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/
19115 @endif ppl-bootstrap
19121 .PHONY: all-ppl maybe-all-ppl
19122 maybe-all-ppl:
19123 @if gcc-bootstrap
19124 all-ppl: stage_current
19125 @endif gcc-bootstrap
19126 @if ppl
19127 TARGET-ppl=all
19128 maybe-all-ppl: all-ppl
19129 all-ppl: configure-ppl
19130 @r=`${PWD_COMMAND}`; export r; \
19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19132 $(HOST_EXPORTS) \
19133 (cd $(HOST_SUBDIR)/ppl && \
19134 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19135 $(TARGET-ppl))
19136 @endif ppl
19140 .PHONY: all-stage1-ppl maybe-all-stage1-ppl
19141 .PHONY: clean-stage1-ppl maybe-clean-stage1-ppl
19142 maybe-all-stage1-ppl:
19143 maybe-clean-stage1-ppl:
19144 @if ppl-bootstrap
19145 maybe-all-stage1-ppl: all-stage1-ppl
19146 all-stage1: all-stage1-ppl
19147 TARGET-stage1-ppl = $(TARGET-ppl)
19148 all-stage1-ppl: configure-stage1-ppl
19149 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19150 @r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 TFLAGS="$(STAGE1_TFLAGS)"; \
19153 $(HOST_EXPORTS) \
19154 cd $(HOST_SUBDIR)/ppl && \
19155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19156 CFLAGS="$(STAGE1_CFLAGS)" \
19157 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19158 LIBCFLAGS="$(LIBCFLAGS)" \
19159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19162 $(EXTRA_HOST_FLAGS) \
19163 TFLAGS="$(STAGE1_TFLAGS)" \
19164 $(TARGET-stage1-ppl)
19166 maybe-clean-stage1-ppl: clean-stage1-ppl
19167 clean-stage1: clean-stage1-ppl
19168 clean-stage1-ppl:
19169 @if [ $(current_stage) = stage1 ]; then \
19170 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19171 else \
19172 [ -f $(HOST_SUBDIR)/stage1-ppl/Makefile ] || exit 0; \
19173 $(MAKE) stage1-start; \
19174 fi; \
19175 cd $(HOST_SUBDIR)/ppl && \
19176 $(MAKE) $(EXTRA_HOST_FLAGS) \
19177 clean
19178 @endif ppl-bootstrap
19181 .PHONY: all-stage2-ppl maybe-all-stage2-ppl
19182 .PHONY: clean-stage2-ppl maybe-clean-stage2-ppl
19183 maybe-all-stage2-ppl:
19184 maybe-clean-stage2-ppl:
19185 @if ppl-bootstrap
19186 maybe-all-stage2-ppl: all-stage2-ppl
19187 all-stage2: all-stage2-ppl
19188 TARGET-stage2-ppl = $(TARGET-ppl)
19189 all-stage2-ppl: configure-stage2-ppl
19190 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19191 @r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 TFLAGS="$(STAGE2_TFLAGS)"; \
19194 $(HOST_EXPORTS) \
19195 $(POSTSTAGE1_HOST_EXPORTS) \
19196 cd $(HOST_SUBDIR)/ppl && \
19197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19198 CFLAGS="$(STAGE2_CFLAGS)" \
19199 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19200 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19205 TFLAGS="$(STAGE2_TFLAGS)" \
19206 $(TARGET-stage2-ppl)
19208 maybe-clean-stage2-ppl: clean-stage2-ppl
19209 clean-stage2: clean-stage2-ppl
19210 clean-stage2-ppl:
19211 @if [ $(current_stage) = stage2 ]; then \
19212 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19213 else \
19214 [ -f $(HOST_SUBDIR)/stage2-ppl/Makefile ] || exit 0; \
19215 $(MAKE) stage2-start; \
19216 fi; \
19217 cd $(HOST_SUBDIR)/ppl && \
19218 $(MAKE) $(EXTRA_HOST_FLAGS) \
19219 $(POSTSTAGE1_FLAGS_TO_PASS) \
19220 clean
19221 @endif ppl-bootstrap
19224 .PHONY: all-stage3-ppl maybe-all-stage3-ppl
19225 .PHONY: clean-stage3-ppl maybe-clean-stage3-ppl
19226 maybe-all-stage3-ppl:
19227 maybe-clean-stage3-ppl:
19228 @if ppl-bootstrap
19229 maybe-all-stage3-ppl: all-stage3-ppl
19230 all-stage3: all-stage3-ppl
19231 TARGET-stage3-ppl = $(TARGET-ppl)
19232 all-stage3-ppl: configure-stage3-ppl
19233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19234 @r=`${PWD_COMMAND}`; export r; \
19235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19236 TFLAGS="$(STAGE3_TFLAGS)"; \
19237 $(HOST_EXPORTS) \
19238 $(POSTSTAGE1_HOST_EXPORTS) \
19239 cd $(HOST_SUBDIR)/ppl && \
19240 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19241 CFLAGS="$(STAGE3_CFLAGS)" \
19242 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19243 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19247 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19248 TFLAGS="$(STAGE3_TFLAGS)" \
19249 $(TARGET-stage3-ppl)
19251 maybe-clean-stage3-ppl: clean-stage3-ppl
19252 clean-stage3: clean-stage3-ppl
19253 clean-stage3-ppl:
19254 @if [ $(current_stage) = stage3 ]; then \
19255 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19256 else \
19257 [ -f $(HOST_SUBDIR)/stage3-ppl/Makefile ] || exit 0; \
19258 $(MAKE) stage3-start; \
19259 fi; \
19260 cd $(HOST_SUBDIR)/ppl && \
19261 $(MAKE) $(EXTRA_HOST_FLAGS) \
19262 $(POSTSTAGE1_FLAGS_TO_PASS) \
19263 clean
19264 @endif ppl-bootstrap
19267 .PHONY: all-stage4-ppl maybe-all-stage4-ppl
19268 .PHONY: clean-stage4-ppl maybe-clean-stage4-ppl
19269 maybe-all-stage4-ppl:
19270 maybe-clean-stage4-ppl:
19271 @if ppl-bootstrap
19272 maybe-all-stage4-ppl: all-stage4-ppl
19273 all-stage4: all-stage4-ppl
19274 TARGET-stage4-ppl = $(TARGET-ppl)
19275 all-stage4-ppl: configure-stage4-ppl
19276 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19277 @r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 TFLAGS="$(STAGE4_TFLAGS)"; \
19280 $(HOST_EXPORTS) \
19281 $(POSTSTAGE1_HOST_EXPORTS) \
19282 cd $(HOST_SUBDIR)/ppl && \
19283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19284 CFLAGS="$(STAGE4_CFLAGS)" \
19285 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19286 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19291 TFLAGS="$(STAGE4_TFLAGS)" \
19292 $(TARGET-stage4-ppl)
19294 maybe-clean-stage4-ppl: clean-stage4-ppl
19295 clean-stage4: clean-stage4-ppl
19296 clean-stage4-ppl:
19297 @if [ $(current_stage) = stage4 ]; then \
19298 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19299 else \
19300 [ -f $(HOST_SUBDIR)/stage4-ppl/Makefile ] || exit 0; \
19301 $(MAKE) stage4-start; \
19302 fi; \
19303 cd $(HOST_SUBDIR)/ppl && \
19304 $(MAKE) $(EXTRA_HOST_FLAGS) \
19305 $(POSTSTAGE1_FLAGS_TO_PASS) \
19306 clean
19307 @endif ppl-bootstrap
19310 .PHONY: all-stageprofile-ppl maybe-all-stageprofile-ppl
19311 .PHONY: clean-stageprofile-ppl maybe-clean-stageprofile-ppl
19312 maybe-all-stageprofile-ppl:
19313 maybe-clean-stageprofile-ppl:
19314 @if ppl-bootstrap
19315 maybe-all-stageprofile-ppl: all-stageprofile-ppl
19316 all-stageprofile: all-stageprofile-ppl
19317 TARGET-stageprofile-ppl = $(TARGET-ppl)
19318 all-stageprofile-ppl: configure-stageprofile-ppl
19319 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19320 @r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19323 $(HOST_EXPORTS) \
19324 $(POSTSTAGE1_HOST_EXPORTS) \
19325 cd $(HOST_SUBDIR)/ppl && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19327 CFLAGS="$(STAGEprofile_CFLAGS)" \
19328 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19329 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19330 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19331 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19332 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19333 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19334 TFLAGS="$(STAGEprofile_TFLAGS)" \
19335 $(TARGET-stageprofile-ppl)
19337 maybe-clean-stageprofile-ppl: clean-stageprofile-ppl
19338 clean-stageprofile: clean-stageprofile-ppl
19339 clean-stageprofile-ppl:
19340 @if [ $(current_stage) = stageprofile ]; then \
19341 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19342 else \
19343 [ -f $(HOST_SUBDIR)/stageprofile-ppl/Makefile ] || exit 0; \
19344 $(MAKE) stageprofile-start; \
19345 fi; \
19346 cd $(HOST_SUBDIR)/ppl && \
19347 $(MAKE) $(EXTRA_HOST_FLAGS) \
19348 $(POSTSTAGE1_FLAGS_TO_PASS) \
19349 clean
19350 @endif ppl-bootstrap
19353 .PHONY: all-stagefeedback-ppl maybe-all-stagefeedback-ppl
19354 .PHONY: clean-stagefeedback-ppl maybe-clean-stagefeedback-ppl
19355 maybe-all-stagefeedback-ppl:
19356 maybe-clean-stagefeedback-ppl:
19357 @if ppl-bootstrap
19358 maybe-all-stagefeedback-ppl: all-stagefeedback-ppl
19359 all-stagefeedback: all-stagefeedback-ppl
19360 TARGET-stagefeedback-ppl = $(TARGET-ppl)
19361 all-stagefeedback-ppl: configure-stagefeedback-ppl
19362 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19363 @r=`${PWD_COMMAND}`; export r; \
19364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19365 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19366 $(HOST_EXPORTS) \
19367 $(POSTSTAGE1_HOST_EXPORTS) \
19368 cd $(HOST_SUBDIR)/ppl && \
19369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19370 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19371 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19372 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19377 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19378 $(TARGET-stagefeedback-ppl)
19380 maybe-clean-stagefeedback-ppl: clean-stagefeedback-ppl
19381 clean-stagefeedback: clean-stagefeedback-ppl
19382 clean-stagefeedback-ppl:
19383 @if [ $(current_stage) = stagefeedback ]; then \
19384 [ -f $(HOST_SUBDIR)/ppl/Makefile ] || exit 0; \
19385 else \
19386 [ -f $(HOST_SUBDIR)/stagefeedback-ppl/Makefile ] || exit 0; \
19387 $(MAKE) stagefeedback-start; \
19388 fi; \
19389 cd $(HOST_SUBDIR)/ppl && \
19390 $(MAKE) $(EXTRA_HOST_FLAGS) \
19391 $(POSTSTAGE1_FLAGS_TO_PASS) \
19392 clean
19393 @endif ppl-bootstrap
19399 .PHONY: check-ppl maybe-check-ppl
19400 maybe-check-ppl:
19401 @if ppl
19402 maybe-check-ppl: check-ppl
19404 check-ppl:
19405 @: $(MAKE); $(unstage)
19406 @r=`${PWD_COMMAND}`; export r; \
19407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19408 $(HOST_EXPORTS) \
19409 (cd $(HOST_SUBDIR)/ppl && \
19410 $(MAKE) $(FLAGS_TO_PASS) check)
19412 @endif ppl
19414 .PHONY: install-ppl maybe-install-ppl
19415 maybe-install-ppl:
19416 @if ppl
19417 maybe-install-ppl: install-ppl
19419 install-ppl:
19421 @endif ppl
19423 # Other targets (info, dvi, pdf, etc.)
19425 .PHONY: maybe-info-ppl info-ppl
19426 maybe-info-ppl:
19427 @if ppl
19428 maybe-info-ppl: info-ppl
19430 info-ppl: \
19431 configure-ppl
19432 @[ -f ./ppl/Makefile ] || exit 0; \
19433 r=`${PWD_COMMAND}`; export r; \
19434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19435 $(HOST_EXPORTS) \
19436 for flag in $(EXTRA_HOST_FLAGS) ; do \
19437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19438 done; \
19439 echo "Doing info in ppl" ; \
19440 (cd $(HOST_SUBDIR)/ppl && \
19441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19443 "RANLIB=$${RANLIB}" \
19444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19445 info) \
19446 || exit 1
19448 @endif ppl
19450 .PHONY: maybe-dvi-ppl dvi-ppl
19451 maybe-dvi-ppl:
19452 @if ppl
19453 maybe-dvi-ppl: dvi-ppl
19455 dvi-ppl: \
19456 configure-ppl
19457 @[ -f ./ppl/Makefile ] || exit 0; \
19458 r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460 $(HOST_EXPORTS) \
19461 for flag in $(EXTRA_HOST_FLAGS) ; do \
19462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19463 done; \
19464 echo "Doing dvi in ppl" ; \
19465 (cd $(HOST_SUBDIR)/ppl && \
19466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19468 "RANLIB=$${RANLIB}" \
19469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19470 dvi) \
19471 || exit 1
19473 @endif ppl
19475 .PHONY: maybe-pdf-ppl pdf-ppl
19476 maybe-pdf-ppl:
19477 @if ppl
19478 maybe-pdf-ppl: pdf-ppl
19480 pdf-ppl: \
19481 configure-ppl
19482 @[ -f ./ppl/Makefile ] || exit 0; \
19483 r=`${PWD_COMMAND}`; export r; \
19484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 $(HOST_EXPORTS) \
19486 for flag in $(EXTRA_HOST_FLAGS) ; do \
19487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19488 done; \
19489 echo "Doing pdf in ppl" ; \
19490 (cd $(HOST_SUBDIR)/ppl && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19493 "RANLIB=$${RANLIB}" \
19494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19495 pdf) \
19496 || exit 1
19498 @endif ppl
19500 .PHONY: maybe-html-ppl html-ppl
19501 maybe-html-ppl:
19502 @if ppl
19503 maybe-html-ppl: html-ppl
19505 html-ppl: \
19506 configure-ppl
19507 @[ -f ./ppl/Makefile ] || exit 0; \
19508 r=`${PWD_COMMAND}`; export r; \
19509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19510 $(HOST_EXPORTS) \
19511 for flag in $(EXTRA_HOST_FLAGS) ; do \
19512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19513 done; \
19514 echo "Doing html in ppl" ; \
19515 (cd $(HOST_SUBDIR)/ppl && \
19516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19518 "RANLIB=$${RANLIB}" \
19519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19520 html) \
19521 || exit 1
19523 @endif ppl
19525 .PHONY: maybe-TAGS-ppl TAGS-ppl
19526 maybe-TAGS-ppl:
19527 @if ppl
19528 maybe-TAGS-ppl: TAGS-ppl
19530 TAGS-ppl: \
19531 configure-ppl
19532 @[ -f ./ppl/Makefile ] || exit 0; \
19533 r=`${PWD_COMMAND}`; export r; \
19534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19535 $(HOST_EXPORTS) \
19536 for flag in $(EXTRA_HOST_FLAGS) ; do \
19537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19538 done; \
19539 echo "Doing TAGS in ppl" ; \
19540 (cd $(HOST_SUBDIR)/ppl && \
19541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19543 "RANLIB=$${RANLIB}" \
19544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19545 TAGS) \
19546 || exit 1
19548 @endif ppl
19550 .PHONY: maybe-install-info-ppl install-info-ppl
19551 maybe-install-info-ppl:
19552 @if ppl
19553 maybe-install-info-ppl: install-info-ppl
19555 install-info-ppl: \
19556 configure-ppl \
19557 info-ppl
19558 @[ -f ./ppl/Makefile ] || exit 0; \
19559 r=`${PWD_COMMAND}`; export r; \
19560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19561 $(HOST_EXPORTS) \
19562 for flag in $(EXTRA_HOST_FLAGS) ; do \
19563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19564 done; \
19565 echo "Doing install-info in ppl" ; \
19566 (cd $(HOST_SUBDIR)/ppl && \
19567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19569 "RANLIB=$${RANLIB}" \
19570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19571 install-info) \
19572 || exit 1
19574 @endif ppl
19576 .PHONY: maybe-install-pdf-ppl install-pdf-ppl
19577 maybe-install-pdf-ppl:
19578 @if ppl
19579 maybe-install-pdf-ppl: install-pdf-ppl
19581 install-pdf-ppl: \
19582 configure-ppl \
19583 pdf-ppl
19584 @[ -f ./ppl/Makefile ] || exit 0; \
19585 r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(HOST_EXPORTS) \
19588 for flag in $(EXTRA_HOST_FLAGS) ; do \
19589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19590 done; \
19591 echo "Doing install-pdf in ppl" ; \
19592 (cd $(HOST_SUBDIR)/ppl && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595 "RANLIB=$${RANLIB}" \
19596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19597 install-pdf) \
19598 || exit 1
19600 @endif ppl
19602 .PHONY: maybe-install-html-ppl install-html-ppl
19603 maybe-install-html-ppl:
19604 @if ppl
19605 maybe-install-html-ppl: install-html-ppl
19607 install-html-ppl: \
19608 configure-ppl \
19609 html-ppl
19610 @[ -f ./ppl/Makefile ] || exit 0; \
19611 r=`${PWD_COMMAND}`; export r; \
19612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19613 $(HOST_EXPORTS) \
19614 for flag in $(EXTRA_HOST_FLAGS) ; do \
19615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 done; \
19617 echo "Doing install-html in ppl" ; \
19618 (cd $(HOST_SUBDIR)/ppl && \
19619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19621 "RANLIB=$${RANLIB}" \
19622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19623 install-html) \
19624 || exit 1
19626 @endif ppl
19628 .PHONY: maybe-installcheck-ppl installcheck-ppl
19629 maybe-installcheck-ppl:
19630 @if ppl
19631 maybe-installcheck-ppl: installcheck-ppl
19633 installcheck-ppl: \
19634 configure-ppl
19635 @[ -f ./ppl/Makefile ] || exit 0; \
19636 r=`${PWD_COMMAND}`; export r; \
19637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19638 $(HOST_EXPORTS) \
19639 for flag in $(EXTRA_HOST_FLAGS) ; do \
19640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19641 done; \
19642 echo "Doing installcheck in ppl" ; \
19643 (cd $(HOST_SUBDIR)/ppl && \
19644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646 "RANLIB=$${RANLIB}" \
19647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19648 installcheck) \
19649 || exit 1
19651 @endif ppl
19653 .PHONY: maybe-mostlyclean-ppl mostlyclean-ppl
19654 maybe-mostlyclean-ppl:
19655 @if ppl
19656 maybe-mostlyclean-ppl: mostlyclean-ppl
19658 mostlyclean-ppl:
19659 @[ -f ./ppl/Makefile ] || exit 0; \
19660 r=`${PWD_COMMAND}`; export r; \
19661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19662 $(HOST_EXPORTS) \
19663 for flag in $(EXTRA_HOST_FLAGS) ; do \
19664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19665 done; \
19666 echo "Doing mostlyclean in ppl" ; \
19667 (cd $(HOST_SUBDIR)/ppl && \
19668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19670 "RANLIB=$${RANLIB}" \
19671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19672 mostlyclean) \
19673 || exit 1
19675 @endif ppl
19677 .PHONY: maybe-clean-ppl clean-ppl
19678 maybe-clean-ppl:
19679 @if ppl
19680 maybe-clean-ppl: clean-ppl
19682 clean-ppl:
19683 @[ -f ./ppl/Makefile ] || exit 0; \
19684 r=`${PWD_COMMAND}`; export r; \
19685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19686 $(HOST_EXPORTS) \
19687 for flag in $(EXTRA_HOST_FLAGS) ; do \
19688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19689 done; \
19690 echo "Doing clean in ppl" ; \
19691 (cd $(HOST_SUBDIR)/ppl && \
19692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19694 "RANLIB=$${RANLIB}" \
19695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19696 clean) \
19697 || exit 1
19699 @endif ppl
19701 .PHONY: maybe-distclean-ppl distclean-ppl
19702 maybe-distclean-ppl:
19703 @if ppl
19704 maybe-distclean-ppl: distclean-ppl
19706 distclean-ppl:
19707 @[ -f ./ppl/Makefile ] || exit 0; \
19708 r=`${PWD_COMMAND}`; export r; \
19709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19710 $(HOST_EXPORTS) \
19711 for flag in $(EXTRA_HOST_FLAGS) ; do \
19712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19713 done; \
19714 echo "Doing distclean in ppl" ; \
19715 (cd $(HOST_SUBDIR)/ppl && \
19716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19718 "RANLIB=$${RANLIB}" \
19719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19720 distclean) \
19721 || exit 1
19723 @endif ppl
19725 .PHONY: maybe-maintainer-clean-ppl maintainer-clean-ppl
19726 maybe-maintainer-clean-ppl:
19727 @if ppl
19728 maybe-maintainer-clean-ppl: maintainer-clean-ppl
19730 maintainer-clean-ppl:
19731 @[ -f ./ppl/Makefile ] || exit 0; \
19732 r=`${PWD_COMMAND}`; export r; \
19733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19734 $(HOST_EXPORTS) \
19735 for flag in $(EXTRA_HOST_FLAGS) ; do \
19736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19737 done; \
19738 echo "Doing maintainer-clean in ppl" ; \
19739 (cd $(HOST_SUBDIR)/ppl && \
19740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19742 "RANLIB=$${RANLIB}" \
19743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19744 maintainer-clean) \
19745 || exit 1
19747 @endif ppl
19751 .PHONY: configure-cloog maybe-configure-cloog
19752 maybe-configure-cloog:
19753 @if gcc-bootstrap
19754 configure-cloog: stage_current
19755 @endif gcc-bootstrap
19756 @if cloog
19757 maybe-configure-cloog: configure-cloog
19758 configure-cloog:
19759 @r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19763 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19764 echo Configuring in $(HOST_SUBDIR)/cloog; \
19765 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
19766 case $(srcdir) in \
19767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19768 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19770 esac; \
19771 srcdiroption="--srcdir=$${topdir}/cloog"; \
19772 libsrcdir="$$s/cloog"; \
19773 $(SHELL) $${libsrcdir}/configure \
19774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19775 --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 \
19776 || exit 1
19777 @endif cloog
19781 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
19782 maybe-configure-stage1-cloog:
19783 @if cloog-bootstrap
19784 maybe-configure-stage1-cloog: configure-stage1-cloog
19785 configure-stage1-cloog:
19786 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19788 @r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 TFLAGS="$(STAGE1_TFLAGS)"; \
19791 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19792 $(HOST_EXPORTS) \
19793 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19794 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19795 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19796 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
19797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19798 cd $(HOST_SUBDIR)/cloog || exit 1; \
19799 case $(srcdir) in \
19800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19801 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19803 esac; \
19804 srcdiroption="--srcdir=$${topdir}/cloog"; \
19805 libsrcdir="$$s/cloog"; \
19806 $(SHELL) $${libsrcdir}/configure \
19807 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19808 --target=${target_alias} $${srcdiroption} \
19809 $(STAGE1_CONFIGURE_FLAGS) \
19810 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19811 @endif cloog-bootstrap
19813 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
19814 maybe-configure-stage2-cloog:
19815 @if cloog-bootstrap
19816 maybe-configure-stage2-cloog: configure-stage2-cloog
19817 configure-stage2-cloog:
19818 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19819 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19820 @r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 TFLAGS="$(STAGE2_TFLAGS)"; \
19823 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19824 $(HOST_EXPORTS) \
19825 $(POSTSTAGE1_HOST_EXPORTS) \
19826 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19827 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19828 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19829 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
19830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19831 cd $(HOST_SUBDIR)/cloog || exit 1; \
19832 case $(srcdir) in \
19833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19834 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19836 esac; \
19837 srcdiroption="--srcdir=$${topdir}/cloog"; \
19838 libsrcdir="$$s/cloog"; \
19839 $(SHELL) $${libsrcdir}/configure \
19840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19841 --target=${target_alias} $${srcdiroption} \
19842 --with-build-libsubdir=$(HOST_SUBDIR) \
19843 $(STAGE2_CONFIGURE_FLAGS) \
19844 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19845 @endif cloog-bootstrap
19847 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
19848 maybe-configure-stage3-cloog:
19849 @if cloog-bootstrap
19850 maybe-configure-stage3-cloog: configure-stage3-cloog
19851 configure-stage3-cloog:
19852 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19854 @r=`${PWD_COMMAND}`; export r; \
19855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19856 TFLAGS="$(STAGE3_TFLAGS)"; \
19857 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19858 $(HOST_EXPORTS) \
19859 $(POSTSTAGE1_HOST_EXPORTS) \
19860 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19861 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19862 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19863 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
19864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19865 cd $(HOST_SUBDIR)/cloog || exit 1; \
19866 case $(srcdir) in \
19867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19868 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19870 esac; \
19871 srcdiroption="--srcdir=$${topdir}/cloog"; \
19872 libsrcdir="$$s/cloog"; \
19873 $(SHELL) $${libsrcdir}/configure \
19874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19875 --target=${target_alias} $${srcdiroption} \
19876 --with-build-libsubdir=$(HOST_SUBDIR) \
19877 $(STAGE3_CONFIGURE_FLAGS) \
19878 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19879 @endif cloog-bootstrap
19881 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
19882 maybe-configure-stage4-cloog:
19883 @if cloog-bootstrap
19884 maybe-configure-stage4-cloog: configure-stage4-cloog
19885 configure-stage4-cloog:
19886 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19888 @r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 TFLAGS="$(STAGE4_TFLAGS)"; \
19891 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19892 $(HOST_EXPORTS) \
19893 $(POSTSTAGE1_HOST_EXPORTS) \
19894 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19895 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19896 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19897 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
19898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19899 cd $(HOST_SUBDIR)/cloog || exit 1; \
19900 case $(srcdir) in \
19901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19902 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19904 esac; \
19905 srcdiroption="--srcdir=$${topdir}/cloog"; \
19906 libsrcdir="$$s/cloog"; \
19907 $(SHELL) $${libsrcdir}/configure \
19908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19909 --target=${target_alias} $${srcdiroption} \
19910 --with-build-libsubdir=$(HOST_SUBDIR) \
19911 $(STAGE4_CONFIGURE_FLAGS) \
19912 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19913 @endif cloog-bootstrap
19915 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
19916 maybe-configure-stageprofile-cloog:
19917 @if cloog-bootstrap
19918 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
19919 configure-stageprofile-cloog:
19920 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19922 @r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19925 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19926 $(HOST_EXPORTS) \
19927 $(POSTSTAGE1_HOST_EXPORTS) \
19928 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19929 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19930 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19931 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
19932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19933 cd $(HOST_SUBDIR)/cloog || exit 1; \
19934 case $(srcdir) in \
19935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19936 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19938 esac; \
19939 srcdiroption="--srcdir=$${topdir}/cloog"; \
19940 libsrcdir="$$s/cloog"; \
19941 $(SHELL) $${libsrcdir}/configure \
19942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19943 --target=${target_alias} $${srcdiroption} \
19944 --with-build-libsubdir=$(HOST_SUBDIR) \
19945 $(STAGEprofile_CONFIGURE_FLAGS) \
19946 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19947 @endif cloog-bootstrap
19949 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
19950 maybe-configure-stagefeedback-cloog:
19951 @if cloog-bootstrap
19952 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
19953 configure-stagefeedback-cloog:
19954 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
19956 @r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19959 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
19960 $(HOST_EXPORTS) \
19961 $(POSTSTAGE1_HOST_EXPORTS) \
19962 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19963 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19964 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19965 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
19966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
19967 cd $(HOST_SUBDIR)/cloog || exit 1; \
19968 case $(srcdir) in \
19969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19970 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
19971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19972 esac; \
19973 srcdiroption="--srcdir=$${topdir}/cloog"; \
19974 libsrcdir="$$s/cloog"; \
19975 $(SHELL) $${libsrcdir}/configure \
19976 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19977 --target=${target_alias} $${srcdiroption} \
19978 --with-build-libsubdir=$(HOST_SUBDIR) \
19979 $(STAGEfeedback_CONFIGURE_FLAGS) \
19980 --disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl
19981 @endif cloog-bootstrap
19987 .PHONY: all-cloog maybe-all-cloog
19988 maybe-all-cloog:
19989 @if gcc-bootstrap
19990 all-cloog: stage_current
19991 @endif gcc-bootstrap
19992 @if cloog
19993 TARGET-cloog=all
19994 maybe-all-cloog: all-cloog
19995 all-cloog: configure-cloog
19996 @r=`${PWD_COMMAND}`; export r; \
19997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19998 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
19999 (cd $(HOST_SUBDIR)/cloog && \
20000 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20001 $(TARGET-cloog))
20002 @endif cloog
20006 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
20007 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
20008 maybe-all-stage1-cloog:
20009 maybe-clean-stage1-cloog:
20010 @if cloog-bootstrap
20011 maybe-all-stage1-cloog: all-stage1-cloog
20012 all-stage1: all-stage1-cloog
20013 TARGET-stage1-cloog = $(TARGET-cloog)
20014 all-stage1-cloog: configure-stage1-cloog
20015 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20016 @r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20018 TFLAGS="$(STAGE1_TFLAGS)"; \
20019 $(HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20020 cd $(HOST_SUBDIR)/cloog && \
20021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20022 CFLAGS="$(STAGE1_CFLAGS)" \
20023 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20024 LIBCFLAGS="$(LIBCFLAGS)" \
20025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20028 $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20029 TFLAGS="$(STAGE1_TFLAGS)" \
20030 $(TARGET-stage1-cloog)
20032 maybe-clean-stage1-cloog: clean-stage1-cloog
20033 clean-stage1: clean-stage1-cloog
20034 clean-stage1-cloog:
20035 @if [ $(current_stage) = stage1 ]; then \
20036 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20037 else \
20038 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
20039 $(MAKE) stage1-start; \
20040 fi; \
20041 cd $(HOST_SUBDIR)/cloog && \
20042 $(MAKE) $(EXTRA_HOST_FLAGS) \
20043 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20044 @endif cloog-bootstrap
20047 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
20048 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
20049 maybe-all-stage2-cloog:
20050 maybe-clean-stage2-cloog:
20051 @if cloog-bootstrap
20052 maybe-all-stage2-cloog: all-stage2-cloog
20053 all-stage2: all-stage2-cloog
20054 TARGET-stage2-cloog = $(TARGET-cloog)
20055 all-stage2-cloog: configure-stage2-cloog
20056 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20057 @r=`${PWD_COMMAND}`; export r; \
20058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20059 TFLAGS="$(STAGE2_TFLAGS)"; \
20060 $(HOST_EXPORTS) \
20061 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20062 cd $(HOST_SUBDIR)/cloog && \
20063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20064 CFLAGS="$(STAGE2_CFLAGS)" \
20065 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20066 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20071 TFLAGS="$(STAGE2_TFLAGS)" \
20072 $(TARGET-stage2-cloog)
20074 maybe-clean-stage2-cloog: clean-stage2-cloog
20075 clean-stage2: clean-stage2-cloog
20076 clean-stage2-cloog:
20077 @if [ $(current_stage) = stage2 ]; then \
20078 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20079 else \
20080 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
20081 $(MAKE) stage2-start; \
20082 fi; \
20083 cd $(HOST_SUBDIR)/cloog && \
20084 $(MAKE) $(EXTRA_HOST_FLAGS) \
20085 $(POSTSTAGE1_FLAGS_TO_PASS) \
20086 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20087 @endif cloog-bootstrap
20090 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
20091 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
20092 maybe-all-stage3-cloog:
20093 maybe-clean-stage3-cloog:
20094 @if cloog-bootstrap
20095 maybe-all-stage3-cloog: all-stage3-cloog
20096 all-stage3: all-stage3-cloog
20097 TARGET-stage3-cloog = $(TARGET-cloog)
20098 all-stage3-cloog: configure-stage3-cloog
20099 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20100 @r=`${PWD_COMMAND}`; export r; \
20101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20102 TFLAGS="$(STAGE3_TFLAGS)"; \
20103 $(HOST_EXPORTS) \
20104 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20105 cd $(HOST_SUBDIR)/cloog && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20107 CFLAGS="$(STAGE3_CFLAGS)" \
20108 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20109 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20114 TFLAGS="$(STAGE3_TFLAGS)" \
20115 $(TARGET-stage3-cloog)
20117 maybe-clean-stage3-cloog: clean-stage3-cloog
20118 clean-stage3: clean-stage3-cloog
20119 clean-stage3-cloog:
20120 @if [ $(current_stage) = stage3 ]; then \
20121 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20122 else \
20123 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
20124 $(MAKE) stage3-start; \
20125 fi; \
20126 cd $(HOST_SUBDIR)/cloog && \
20127 $(MAKE) $(EXTRA_HOST_FLAGS) \
20128 $(POSTSTAGE1_FLAGS_TO_PASS) \
20129 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20130 @endif cloog-bootstrap
20133 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
20134 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
20135 maybe-all-stage4-cloog:
20136 maybe-clean-stage4-cloog:
20137 @if cloog-bootstrap
20138 maybe-all-stage4-cloog: all-stage4-cloog
20139 all-stage4: all-stage4-cloog
20140 TARGET-stage4-cloog = $(TARGET-cloog)
20141 all-stage4-cloog: configure-stage4-cloog
20142 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20143 @r=`${PWD_COMMAND}`; export r; \
20144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20145 TFLAGS="$(STAGE4_TFLAGS)"; \
20146 $(HOST_EXPORTS) \
20147 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20148 cd $(HOST_SUBDIR)/cloog && \
20149 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20150 CFLAGS="$(STAGE4_CFLAGS)" \
20151 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20152 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20153 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20154 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20155 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20156 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20157 TFLAGS="$(STAGE4_TFLAGS)" \
20158 $(TARGET-stage4-cloog)
20160 maybe-clean-stage4-cloog: clean-stage4-cloog
20161 clean-stage4: clean-stage4-cloog
20162 clean-stage4-cloog:
20163 @if [ $(current_stage) = stage4 ]; then \
20164 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20165 else \
20166 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
20167 $(MAKE) stage4-start; \
20168 fi; \
20169 cd $(HOST_SUBDIR)/cloog && \
20170 $(MAKE) $(EXTRA_HOST_FLAGS) \
20171 $(POSTSTAGE1_FLAGS_TO_PASS) \
20172 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20173 @endif cloog-bootstrap
20176 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
20177 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
20178 maybe-all-stageprofile-cloog:
20179 maybe-clean-stageprofile-cloog:
20180 @if cloog-bootstrap
20181 maybe-all-stageprofile-cloog: all-stageprofile-cloog
20182 all-stageprofile: all-stageprofile-cloog
20183 TARGET-stageprofile-cloog = $(TARGET-cloog)
20184 all-stageprofile-cloog: configure-stageprofile-cloog
20185 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20186 @r=`${PWD_COMMAND}`; export r; \
20187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20188 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20189 $(HOST_EXPORTS) \
20190 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20191 cd $(HOST_SUBDIR)/cloog && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20193 CFLAGS="$(STAGEprofile_CFLAGS)" \
20194 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20195 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20196 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20197 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20198 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20199 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20200 TFLAGS="$(STAGEprofile_TFLAGS)" \
20201 $(TARGET-stageprofile-cloog)
20203 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
20204 clean-stageprofile: clean-stageprofile-cloog
20205 clean-stageprofile-cloog:
20206 @if [ $(current_stage) = stageprofile ]; then \
20207 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20208 else \
20209 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
20210 $(MAKE) stageprofile-start; \
20211 fi; \
20212 cd $(HOST_SUBDIR)/cloog && \
20213 $(MAKE) $(EXTRA_HOST_FLAGS) \
20214 $(POSTSTAGE1_FLAGS_TO_PASS) \
20215 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20216 @endif cloog-bootstrap
20219 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
20220 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
20221 maybe-all-stagefeedback-cloog:
20222 maybe-clean-stagefeedback-cloog:
20223 @if cloog-bootstrap
20224 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
20225 all-stagefeedback: all-stagefeedback-cloog
20226 TARGET-stagefeedback-cloog = $(TARGET-cloog)
20227 all-stagefeedback-cloog: configure-stagefeedback-cloog
20228 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20229 @r=`${PWD_COMMAND}`; export r; \
20230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20231 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20232 $(HOST_EXPORTS) \
20233 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; \
20234 cd $(HOST_SUBDIR)/cloog && \
20235 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20236 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20237 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20238 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20239 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20240 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20241 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20242 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" \
20243 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20244 $(TARGET-stagefeedback-cloog)
20246 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
20247 clean-stagefeedback: clean-stagefeedback-cloog
20248 clean-stagefeedback-cloog:
20249 @if [ $(current_stage) = stagefeedback ]; then \
20250 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
20251 else \
20252 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
20253 $(MAKE) stagefeedback-start; \
20254 fi; \
20255 cd $(HOST_SUBDIR)/cloog && \
20256 $(MAKE) $(EXTRA_HOST_FLAGS) \
20257 $(POSTSTAGE1_FLAGS_TO_PASS) \
20258 CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" clean
20259 @endif cloog-bootstrap
20265 .PHONY: check-cloog maybe-check-cloog
20266 maybe-check-cloog:
20267 @if cloog
20268 maybe-check-cloog: check-cloog
20270 check-cloog:
20271 @: $(MAKE); $(unstage)
20272 @r=`${PWD_COMMAND}`; export r; \
20273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20274 $(HOST_EXPORTS) \
20275 (cd $(HOST_SUBDIR)/cloog && \
20276 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS" check)
20278 @endif cloog
20280 .PHONY: install-cloog maybe-install-cloog
20281 maybe-install-cloog:
20282 @if cloog
20283 maybe-install-cloog: install-cloog
20285 install-cloog:
20287 @endif cloog
20289 # Other targets (info, dvi, pdf, etc.)
20291 .PHONY: maybe-info-cloog info-cloog
20292 maybe-info-cloog:
20293 @if cloog
20294 maybe-info-cloog: info-cloog
20296 info-cloog: \
20297 configure-cloog
20298 @[ -f ./cloog/Makefile ] || exit 0; \
20299 r=`${PWD_COMMAND}`; export r; \
20300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20301 $(HOST_EXPORTS) \
20302 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20304 done; \
20305 echo "Doing info in cloog" ; \
20306 (cd $(HOST_SUBDIR)/cloog && \
20307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20309 "RANLIB=$${RANLIB}" \
20310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20311 info) \
20312 || exit 1
20314 @endif cloog
20316 .PHONY: maybe-dvi-cloog dvi-cloog
20317 maybe-dvi-cloog:
20318 @if cloog
20319 maybe-dvi-cloog: dvi-cloog
20321 dvi-cloog: \
20322 configure-cloog
20323 @[ -f ./cloog/Makefile ] || exit 0; \
20324 r=`${PWD_COMMAND}`; export r; \
20325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 $(HOST_EXPORTS) \
20327 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20329 done; \
20330 echo "Doing dvi in cloog" ; \
20331 (cd $(HOST_SUBDIR)/cloog && \
20332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20334 "RANLIB=$${RANLIB}" \
20335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20336 dvi) \
20337 || exit 1
20339 @endif cloog
20341 .PHONY: maybe-pdf-cloog pdf-cloog
20342 maybe-pdf-cloog:
20343 @if cloog
20344 maybe-pdf-cloog: pdf-cloog
20346 pdf-cloog: \
20347 configure-cloog
20348 @[ -f ./cloog/Makefile ] || exit 0; \
20349 r=`${PWD_COMMAND}`; export r; \
20350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20351 $(HOST_EXPORTS) \
20352 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20354 done; \
20355 echo "Doing pdf in cloog" ; \
20356 (cd $(HOST_SUBDIR)/cloog && \
20357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20359 "RANLIB=$${RANLIB}" \
20360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20361 pdf) \
20362 || exit 1
20364 @endif cloog
20366 .PHONY: maybe-html-cloog html-cloog
20367 maybe-html-cloog:
20368 @if cloog
20369 maybe-html-cloog: html-cloog
20371 html-cloog: \
20372 configure-cloog
20373 @[ -f ./cloog/Makefile ] || exit 0; \
20374 r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376 $(HOST_EXPORTS) \
20377 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20379 done; \
20380 echo "Doing html in cloog" ; \
20381 (cd $(HOST_SUBDIR)/cloog && \
20382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20384 "RANLIB=$${RANLIB}" \
20385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20386 html) \
20387 || exit 1
20389 @endif cloog
20391 .PHONY: maybe-TAGS-cloog TAGS-cloog
20392 maybe-TAGS-cloog:
20393 @if cloog
20394 maybe-TAGS-cloog: TAGS-cloog
20396 TAGS-cloog: \
20397 configure-cloog
20398 @[ -f ./cloog/Makefile ] || exit 0; \
20399 r=`${PWD_COMMAND}`; export r; \
20400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20401 $(HOST_EXPORTS) \
20402 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20404 done; \
20405 echo "Doing TAGS in cloog" ; \
20406 (cd $(HOST_SUBDIR)/cloog && \
20407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20409 "RANLIB=$${RANLIB}" \
20410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20411 TAGS) \
20412 || exit 1
20414 @endif cloog
20416 .PHONY: maybe-install-info-cloog install-info-cloog
20417 maybe-install-info-cloog:
20418 @if cloog
20419 maybe-install-info-cloog: install-info-cloog
20421 install-info-cloog: \
20422 configure-cloog \
20423 info-cloog
20424 @[ -f ./cloog/Makefile ] || exit 0; \
20425 r=`${PWD_COMMAND}`; export r; \
20426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20427 $(HOST_EXPORTS) \
20428 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20430 done; \
20431 echo "Doing install-info in cloog" ; \
20432 (cd $(HOST_SUBDIR)/cloog && \
20433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20435 "RANLIB=$${RANLIB}" \
20436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20437 install-info) \
20438 || exit 1
20440 @endif cloog
20442 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
20443 maybe-install-pdf-cloog:
20444 @if cloog
20445 maybe-install-pdf-cloog: install-pdf-cloog
20447 install-pdf-cloog: \
20448 configure-cloog \
20449 pdf-cloog
20450 @[ -f ./cloog/Makefile ] || exit 0; \
20451 r=`${PWD_COMMAND}`; export r; \
20452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20453 $(HOST_EXPORTS) \
20454 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20456 done; \
20457 echo "Doing install-pdf in cloog" ; \
20458 (cd $(HOST_SUBDIR)/cloog && \
20459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20461 "RANLIB=$${RANLIB}" \
20462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20463 install-pdf) \
20464 || exit 1
20466 @endif cloog
20468 .PHONY: maybe-install-html-cloog install-html-cloog
20469 maybe-install-html-cloog:
20470 @if cloog
20471 maybe-install-html-cloog: install-html-cloog
20473 install-html-cloog: \
20474 configure-cloog \
20475 html-cloog
20476 @[ -f ./cloog/Makefile ] || exit 0; \
20477 r=`${PWD_COMMAND}`; export r; \
20478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 $(HOST_EXPORTS) \
20480 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20482 done; \
20483 echo "Doing install-html in cloog" ; \
20484 (cd $(HOST_SUBDIR)/cloog && \
20485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20487 "RANLIB=$${RANLIB}" \
20488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20489 install-html) \
20490 || exit 1
20492 @endif cloog
20494 .PHONY: maybe-installcheck-cloog installcheck-cloog
20495 maybe-installcheck-cloog:
20496 @if cloog
20497 maybe-installcheck-cloog: installcheck-cloog
20499 installcheck-cloog: \
20500 configure-cloog
20501 @[ -f ./cloog/Makefile ] || exit 0; \
20502 r=`${PWD_COMMAND}`; export r; \
20503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20504 $(HOST_EXPORTS) \
20505 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20507 done; \
20508 echo "Doing installcheck in cloog" ; \
20509 (cd $(HOST_SUBDIR)/cloog && \
20510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20512 "RANLIB=$${RANLIB}" \
20513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20514 installcheck) \
20515 || exit 1
20517 @endif cloog
20519 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
20520 maybe-mostlyclean-cloog:
20521 @if cloog
20522 maybe-mostlyclean-cloog: mostlyclean-cloog
20524 mostlyclean-cloog:
20525 @[ -f ./cloog/Makefile ] || exit 0; \
20526 r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 $(HOST_EXPORTS) \
20529 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20531 done; \
20532 echo "Doing mostlyclean in cloog" ; \
20533 (cd $(HOST_SUBDIR)/cloog && \
20534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20536 "RANLIB=$${RANLIB}" \
20537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20538 mostlyclean) \
20539 || exit 1
20541 @endif cloog
20543 .PHONY: maybe-clean-cloog clean-cloog
20544 maybe-clean-cloog:
20545 @if cloog
20546 maybe-clean-cloog: clean-cloog
20548 clean-cloog:
20549 @[ -f ./cloog/Makefile ] || exit 0; \
20550 r=`${PWD_COMMAND}`; export r; \
20551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20552 $(HOST_EXPORTS) \
20553 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20555 done; \
20556 echo "Doing clean in cloog" ; \
20557 (cd $(HOST_SUBDIR)/cloog && \
20558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20560 "RANLIB=$${RANLIB}" \
20561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20562 clean) \
20563 || exit 1
20565 @endif cloog
20567 .PHONY: maybe-distclean-cloog distclean-cloog
20568 maybe-distclean-cloog:
20569 @if cloog
20570 maybe-distclean-cloog: distclean-cloog
20572 distclean-cloog:
20573 @[ -f ./cloog/Makefile ] || exit 0; \
20574 r=`${PWD_COMMAND}`; export r; \
20575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 $(HOST_EXPORTS) \
20577 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20579 done; \
20580 echo "Doing distclean in cloog" ; \
20581 (cd $(HOST_SUBDIR)/cloog && \
20582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20584 "RANLIB=$${RANLIB}" \
20585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20586 distclean) \
20587 || exit 1
20589 @endif cloog
20591 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
20592 maybe-maintainer-clean-cloog:
20593 @if cloog
20594 maybe-maintainer-clean-cloog: maintainer-clean-cloog
20596 maintainer-clean-cloog:
20597 @[ -f ./cloog/Makefile ] || exit 0; \
20598 r=`${PWD_COMMAND}`; export r; \
20599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20600 $(HOST_EXPORTS) \
20601 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"; do \
20602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20603 done; \
20604 echo "Doing maintainer-clean in cloog" ; \
20605 (cd $(HOST_SUBDIR)/cloog && \
20606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20608 "RANLIB=$${RANLIB}" \
20609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20610 maintainer-clean) \
20611 || exit 1
20613 @endif cloog
20617 .PHONY: configure-libelf maybe-configure-libelf
20618 maybe-configure-libelf:
20619 @if gcc-bootstrap
20620 configure-libelf: stage_current
20621 @endif gcc-bootstrap
20622 @if libelf
20623 maybe-configure-libelf: configure-libelf
20624 configure-libelf:
20625 @r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20629 $(HOST_EXPORTS) \
20630 echo Configuring in $(HOST_SUBDIR)/libelf; \
20631 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
20632 case $(srcdir) in \
20633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20634 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20636 esac; \
20637 srcdiroption="--srcdir=$${topdir}/libelf"; \
20638 libsrcdir="$$s/libelf"; \
20639 $(SHELL) $${libsrcdir}/configure \
20640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20641 --target=${target_alias} $${srcdiroption} --disable-shared \
20642 || exit 1
20643 @endif libelf
20647 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
20648 maybe-configure-stage1-libelf:
20649 @if libelf-bootstrap
20650 maybe-configure-stage1-libelf: configure-stage1-libelf
20651 configure-stage1-libelf:
20652 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20654 @r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 TFLAGS="$(STAGE1_TFLAGS)"; \
20657 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20658 $(HOST_EXPORTS) \
20659 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20660 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20661 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20662 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
20663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20664 cd $(HOST_SUBDIR)/libelf || exit 1; \
20665 case $(srcdir) in \
20666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20667 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20669 esac; \
20670 srcdiroption="--srcdir=$${topdir}/libelf"; \
20671 libsrcdir="$$s/libelf"; \
20672 $(SHELL) $${libsrcdir}/configure \
20673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20674 --target=${target_alias} $${srcdiroption} \
20675 $(STAGE1_CONFIGURE_FLAGS) \
20676 --disable-shared
20677 @endif libelf-bootstrap
20679 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
20680 maybe-configure-stage2-libelf:
20681 @if libelf-bootstrap
20682 maybe-configure-stage2-libelf: configure-stage2-libelf
20683 configure-stage2-libelf:
20684 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20686 @r=`${PWD_COMMAND}`; export r; \
20687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 TFLAGS="$(STAGE2_TFLAGS)"; \
20689 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20690 $(HOST_EXPORTS) \
20691 $(POSTSTAGE1_HOST_EXPORTS) \
20692 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20693 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20694 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20695 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
20696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20697 cd $(HOST_SUBDIR)/libelf || exit 1; \
20698 case $(srcdir) in \
20699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20700 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20702 esac; \
20703 srcdiroption="--srcdir=$${topdir}/libelf"; \
20704 libsrcdir="$$s/libelf"; \
20705 $(SHELL) $${libsrcdir}/configure \
20706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20707 --target=${target_alias} $${srcdiroption} \
20708 --with-build-libsubdir=$(HOST_SUBDIR) \
20709 $(STAGE2_CONFIGURE_FLAGS) \
20710 --disable-shared
20711 @endif libelf-bootstrap
20713 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
20714 maybe-configure-stage3-libelf:
20715 @if libelf-bootstrap
20716 maybe-configure-stage3-libelf: configure-stage3-libelf
20717 configure-stage3-libelf:
20718 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20720 @r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 TFLAGS="$(STAGE3_TFLAGS)"; \
20723 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20724 $(HOST_EXPORTS) \
20725 $(POSTSTAGE1_HOST_EXPORTS) \
20726 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20727 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20728 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20729 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
20730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20731 cd $(HOST_SUBDIR)/libelf || exit 1; \
20732 case $(srcdir) in \
20733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20734 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20736 esac; \
20737 srcdiroption="--srcdir=$${topdir}/libelf"; \
20738 libsrcdir="$$s/libelf"; \
20739 $(SHELL) $${libsrcdir}/configure \
20740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20741 --target=${target_alias} $${srcdiroption} \
20742 --with-build-libsubdir=$(HOST_SUBDIR) \
20743 $(STAGE3_CONFIGURE_FLAGS) \
20744 --disable-shared
20745 @endif libelf-bootstrap
20747 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
20748 maybe-configure-stage4-libelf:
20749 @if libelf-bootstrap
20750 maybe-configure-stage4-libelf: configure-stage4-libelf
20751 configure-stage4-libelf:
20752 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20754 @r=`${PWD_COMMAND}`; export r; \
20755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20756 TFLAGS="$(STAGE4_TFLAGS)"; \
20757 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20758 $(HOST_EXPORTS) \
20759 $(POSTSTAGE1_HOST_EXPORTS) \
20760 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20761 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20762 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20763 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
20764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20765 cd $(HOST_SUBDIR)/libelf || exit 1; \
20766 case $(srcdir) in \
20767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20768 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20770 esac; \
20771 srcdiroption="--srcdir=$${topdir}/libelf"; \
20772 libsrcdir="$$s/libelf"; \
20773 $(SHELL) $${libsrcdir}/configure \
20774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20775 --target=${target_alias} $${srcdiroption} \
20776 --with-build-libsubdir=$(HOST_SUBDIR) \
20777 $(STAGE4_CONFIGURE_FLAGS) \
20778 --disable-shared
20779 @endif libelf-bootstrap
20781 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
20782 maybe-configure-stageprofile-libelf:
20783 @if libelf-bootstrap
20784 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
20785 configure-stageprofile-libelf:
20786 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20788 @r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20791 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20792 $(HOST_EXPORTS) \
20793 $(POSTSTAGE1_HOST_EXPORTS) \
20794 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20795 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20796 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20797 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
20798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20799 cd $(HOST_SUBDIR)/libelf || exit 1; \
20800 case $(srcdir) in \
20801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20802 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20804 esac; \
20805 srcdiroption="--srcdir=$${topdir}/libelf"; \
20806 libsrcdir="$$s/libelf"; \
20807 $(SHELL) $${libsrcdir}/configure \
20808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20809 --target=${target_alias} $${srcdiroption} \
20810 --with-build-libsubdir=$(HOST_SUBDIR) \
20811 $(STAGEprofile_CONFIGURE_FLAGS) \
20812 --disable-shared
20813 @endif libelf-bootstrap
20815 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
20816 maybe-configure-stagefeedback-libelf:
20817 @if libelf-bootstrap
20818 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
20819 configure-stagefeedback-libelf:
20820 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
20822 @r=`${PWD_COMMAND}`; export r; \
20823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20824 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20825 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
20826 $(HOST_EXPORTS) \
20827 $(POSTSTAGE1_HOST_EXPORTS) \
20828 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20829 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20830 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20831 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
20832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
20833 cd $(HOST_SUBDIR)/libelf || exit 1; \
20834 case $(srcdir) in \
20835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20836 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
20837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20838 esac; \
20839 srcdiroption="--srcdir=$${topdir}/libelf"; \
20840 libsrcdir="$$s/libelf"; \
20841 $(SHELL) $${libsrcdir}/configure \
20842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20843 --target=${target_alias} $${srcdiroption} \
20844 --with-build-libsubdir=$(HOST_SUBDIR) \
20845 $(STAGEfeedback_CONFIGURE_FLAGS) \
20846 --disable-shared
20847 @endif libelf-bootstrap
20853 .PHONY: all-libelf maybe-all-libelf
20854 maybe-all-libelf:
20855 @if gcc-bootstrap
20856 all-libelf: stage_current
20857 @endif gcc-bootstrap
20858 @if libelf
20859 TARGET-libelf=all
20860 maybe-all-libelf: all-libelf
20861 all-libelf: configure-libelf
20862 @r=`${PWD_COMMAND}`; export r; \
20863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 $(HOST_EXPORTS) \
20865 (cd $(HOST_SUBDIR)/libelf && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20867 $(TARGET-libelf))
20868 @endif libelf
20872 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
20873 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
20874 maybe-all-stage1-libelf:
20875 maybe-clean-stage1-libelf:
20876 @if libelf-bootstrap
20877 maybe-all-stage1-libelf: all-stage1-libelf
20878 all-stage1: all-stage1-libelf
20879 TARGET-stage1-libelf = $(TARGET-libelf)
20880 all-stage1-libelf: configure-stage1-libelf
20881 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20882 @r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 TFLAGS="$(STAGE1_TFLAGS)"; \
20885 $(HOST_EXPORTS) \
20886 cd $(HOST_SUBDIR)/libelf && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20888 CFLAGS="$(STAGE1_CFLAGS)" \
20889 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20890 LIBCFLAGS="$(LIBCFLAGS)" \
20891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20894 $(EXTRA_HOST_FLAGS) \
20895 TFLAGS="$(STAGE1_TFLAGS)" \
20896 $(TARGET-stage1-libelf)
20898 maybe-clean-stage1-libelf: clean-stage1-libelf
20899 clean-stage1: clean-stage1-libelf
20900 clean-stage1-libelf:
20901 @if [ $(current_stage) = stage1 ]; then \
20902 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
20903 else \
20904 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
20905 $(MAKE) stage1-start; \
20906 fi; \
20907 cd $(HOST_SUBDIR)/libelf && \
20908 $(MAKE) $(EXTRA_HOST_FLAGS) \
20909 clean
20910 @endif libelf-bootstrap
20913 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
20914 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
20915 maybe-all-stage2-libelf:
20916 maybe-clean-stage2-libelf:
20917 @if libelf-bootstrap
20918 maybe-all-stage2-libelf: all-stage2-libelf
20919 all-stage2: all-stage2-libelf
20920 TARGET-stage2-libelf = $(TARGET-libelf)
20921 all-stage2-libelf: configure-stage2-libelf
20922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20923 @r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 TFLAGS="$(STAGE2_TFLAGS)"; \
20926 $(HOST_EXPORTS) \
20927 $(POSTSTAGE1_HOST_EXPORTS) \
20928 cd $(HOST_SUBDIR)/libelf && \
20929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20930 CFLAGS="$(STAGE2_CFLAGS)" \
20931 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20932 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20933 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20934 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20935 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20936 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20937 TFLAGS="$(STAGE2_TFLAGS)" \
20938 $(TARGET-stage2-libelf)
20940 maybe-clean-stage2-libelf: clean-stage2-libelf
20941 clean-stage2: clean-stage2-libelf
20942 clean-stage2-libelf:
20943 @if [ $(current_stage) = stage2 ]; then \
20944 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
20945 else \
20946 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
20947 $(MAKE) stage2-start; \
20948 fi; \
20949 cd $(HOST_SUBDIR)/libelf && \
20950 $(MAKE) $(EXTRA_HOST_FLAGS) \
20951 $(POSTSTAGE1_FLAGS_TO_PASS) \
20952 clean
20953 @endif libelf-bootstrap
20956 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
20957 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
20958 maybe-all-stage3-libelf:
20959 maybe-clean-stage3-libelf:
20960 @if libelf-bootstrap
20961 maybe-all-stage3-libelf: all-stage3-libelf
20962 all-stage3: all-stage3-libelf
20963 TARGET-stage3-libelf = $(TARGET-libelf)
20964 all-stage3-libelf: configure-stage3-libelf
20965 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20966 @r=`${PWD_COMMAND}`; export r; \
20967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 TFLAGS="$(STAGE3_TFLAGS)"; \
20969 $(HOST_EXPORTS) \
20970 $(POSTSTAGE1_HOST_EXPORTS) \
20971 cd $(HOST_SUBDIR)/libelf && \
20972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20973 CFLAGS="$(STAGE3_CFLAGS)" \
20974 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20975 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20980 TFLAGS="$(STAGE3_TFLAGS)" \
20981 $(TARGET-stage3-libelf)
20983 maybe-clean-stage3-libelf: clean-stage3-libelf
20984 clean-stage3: clean-stage3-libelf
20985 clean-stage3-libelf:
20986 @if [ $(current_stage) = stage3 ]; then \
20987 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
20988 else \
20989 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
20990 $(MAKE) stage3-start; \
20991 fi; \
20992 cd $(HOST_SUBDIR)/libelf && \
20993 $(MAKE) $(EXTRA_HOST_FLAGS) \
20994 $(POSTSTAGE1_FLAGS_TO_PASS) \
20995 clean
20996 @endif libelf-bootstrap
20999 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
21000 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
21001 maybe-all-stage4-libelf:
21002 maybe-clean-stage4-libelf:
21003 @if libelf-bootstrap
21004 maybe-all-stage4-libelf: all-stage4-libelf
21005 all-stage4: all-stage4-libelf
21006 TARGET-stage4-libelf = $(TARGET-libelf)
21007 all-stage4-libelf: configure-stage4-libelf
21008 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21009 @r=`${PWD_COMMAND}`; export r; \
21010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21011 TFLAGS="$(STAGE4_TFLAGS)"; \
21012 $(HOST_EXPORTS) \
21013 $(POSTSTAGE1_HOST_EXPORTS) \
21014 cd $(HOST_SUBDIR)/libelf && \
21015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21016 CFLAGS="$(STAGE4_CFLAGS)" \
21017 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21018 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21023 TFLAGS="$(STAGE4_TFLAGS)" \
21024 $(TARGET-stage4-libelf)
21026 maybe-clean-stage4-libelf: clean-stage4-libelf
21027 clean-stage4: clean-stage4-libelf
21028 clean-stage4-libelf:
21029 @if [ $(current_stage) = stage4 ]; then \
21030 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21031 else \
21032 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
21033 $(MAKE) stage4-start; \
21034 fi; \
21035 cd $(HOST_SUBDIR)/libelf && \
21036 $(MAKE) $(EXTRA_HOST_FLAGS) \
21037 $(POSTSTAGE1_FLAGS_TO_PASS) \
21038 clean
21039 @endif libelf-bootstrap
21042 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
21043 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
21044 maybe-all-stageprofile-libelf:
21045 maybe-clean-stageprofile-libelf:
21046 @if libelf-bootstrap
21047 maybe-all-stageprofile-libelf: all-stageprofile-libelf
21048 all-stageprofile: all-stageprofile-libelf
21049 TARGET-stageprofile-libelf = $(TARGET-libelf)
21050 all-stageprofile-libelf: configure-stageprofile-libelf
21051 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21052 @r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21055 $(HOST_EXPORTS) \
21056 $(POSTSTAGE1_HOST_EXPORTS) \
21057 cd $(HOST_SUBDIR)/libelf && \
21058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21059 CFLAGS="$(STAGEprofile_CFLAGS)" \
21060 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21061 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21062 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21063 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21064 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21065 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21066 TFLAGS="$(STAGEprofile_TFLAGS)" \
21067 $(TARGET-stageprofile-libelf)
21069 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
21070 clean-stageprofile: clean-stageprofile-libelf
21071 clean-stageprofile-libelf:
21072 @if [ $(current_stage) = stageprofile ]; then \
21073 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21074 else \
21075 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
21076 $(MAKE) stageprofile-start; \
21077 fi; \
21078 cd $(HOST_SUBDIR)/libelf && \
21079 $(MAKE) $(EXTRA_HOST_FLAGS) \
21080 $(POSTSTAGE1_FLAGS_TO_PASS) \
21081 clean
21082 @endif libelf-bootstrap
21085 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
21086 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
21087 maybe-all-stagefeedback-libelf:
21088 maybe-clean-stagefeedback-libelf:
21089 @if libelf-bootstrap
21090 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
21091 all-stagefeedback: all-stagefeedback-libelf
21092 TARGET-stagefeedback-libelf = $(TARGET-libelf)
21093 all-stagefeedback-libelf: configure-stagefeedback-libelf
21094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21095 @r=`${PWD_COMMAND}`; export r; \
21096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21098 $(HOST_EXPORTS) \
21099 $(POSTSTAGE1_HOST_EXPORTS) \
21100 cd $(HOST_SUBDIR)/libelf && \
21101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21110 $(TARGET-stagefeedback-libelf)
21112 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
21113 clean-stagefeedback: clean-stagefeedback-libelf
21114 clean-stagefeedback-libelf:
21115 @if [ $(current_stage) = stagefeedback ]; then \
21116 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
21117 else \
21118 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
21119 $(MAKE) stagefeedback-start; \
21120 fi; \
21121 cd $(HOST_SUBDIR)/libelf && \
21122 $(MAKE) $(EXTRA_HOST_FLAGS) \
21123 $(POSTSTAGE1_FLAGS_TO_PASS) \
21124 clean
21125 @endif libelf-bootstrap
21131 .PHONY: check-libelf maybe-check-libelf
21132 maybe-check-libelf:
21133 @if libelf
21134 maybe-check-libelf: check-libelf
21136 check-libelf:
21137 @: $(MAKE); $(unstage)
21138 @r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21140 $(HOST_EXPORTS) \
21141 (cd $(HOST_SUBDIR)/libelf && \
21142 $(MAKE) $(FLAGS_TO_PASS) check)
21144 @endif libelf
21146 .PHONY: install-libelf maybe-install-libelf
21147 maybe-install-libelf:
21148 @if libelf
21149 maybe-install-libelf: install-libelf
21151 install-libelf:
21153 @endif libelf
21155 # Other targets (info, dvi, pdf, etc.)
21157 .PHONY: maybe-info-libelf info-libelf
21158 maybe-info-libelf:
21159 @if libelf
21160 maybe-info-libelf: info-libelf
21162 info-libelf: \
21163 configure-libelf
21164 @[ -f ./libelf/Makefile ] || exit 0; \
21165 r=`${PWD_COMMAND}`; export r; \
21166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21167 $(HOST_EXPORTS) \
21168 for flag in $(EXTRA_HOST_FLAGS) ; do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21170 done; \
21171 echo "Doing info in libelf" ; \
21172 (cd $(HOST_SUBDIR)/libelf && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21177 info) \
21178 || exit 1
21180 @endif libelf
21182 .PHONY: maybe-dvi-libelf dvi-libelf
21183 maybe-dvi-libelf:
21184 @if libelf
21185 maybe-dvi-libelf: dvi-libelf
21187 dvi-libelf: \
21188 configure-libelf
21189 @[ -f ./libelf/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 $(HOST_EXPORTS) \
21193 for flag in $(EXTRA_HOST_FLAGS) ; do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21195 done; \
21196 echo "Doing dvi in libelf" ; \
21197 (cd $(HOST_SUBDIR)/libelf && \
21198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200 "RANLIB=$${RANLIB}" \
21201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21202 dvi) \
21203 || exit 1
21205 @endif libelf
21207 .PHONY: maybe-pdf-libelf pdf-libelf
21208 maybe-pdf-libelf:
21209 @if libelf
21210 maybe-pdf-libelf: pdf-libelf
21212 pdf-libelf: \
21213 configure-libelf
21214 @[ -f ./libelf/Makefile ] || exit 0; \
21215 r=`${PWD_COMMAND}`; export r; \
21216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 $(HOST_EXPORTS) \
21218 for flag in $(EXTRA_HOST_FLAGS) ; do \
21219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 done; \
21221 echo "Doing pdf in libelf" ; \
21222 (cd $(HOST_SUBDIR)/libelf && \
21223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21225 "RANLIB=$${RANLIB}" \
21226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21227 pdf) \
21228 || exit 1
21230 @endif libelf
21232 .PHONY: maybe-html-libelf html-libelf
21233 maybe-html-libelf:
21234 @if libelf
21235 maybe-html-libelf: html-libelf
21237 html-libelf: \
21238 configure-libelf
21239 @[ -f ./libelf/Makefile ] || exit 0; \
21240 r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(HOST_EXPORTS) \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21245 done; \
21246 echo "Doing html in libelf" ; \
21247 (cd $(HOST_SUBDIR)/libelf && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21252 html) \
21253 || exit 1
21255 @endif libelf
21257 .PHONY: maybe-TAGS-libelf TAGS-libelf
21258 maybe-TAGS-libelf:
21259 @if libelf
21260 maybe-TAGS-libelf: TAGS-libelf
21262 TAGS-libelf: \
21263 configure-libelf
21264 @[ -f ./libelf/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21267 $(HOST_EXPORTS) \
21268 for flag in $(EXTRA_HOST_FLAGS) ; do \
21269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21270 done; \
21271 echo "Doing TAGS in libelf" ; \
21272 (cd $(HOST_SUBDIR)/libelf && \
21273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21275 "RANLIB=$${RANLIB}" \
21276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21277 TAGS) \
21278 || exit 1
21280 @endif libelf
21282 .PHONY: maybe-install-info-libelf install-info-libelf
21283 maybe-install-info-libelf:
21284 @if libelf
21285 maybe-install-info-libelf: install-info-libelf
21287 install-info-libelf: \
21288 configure-libelf \
21289 info-libelf
21290 @[ -f ./libelf/Makefile ] || exit 0; \
21291 r=`${PWD_COMMAND}`; export r; \
21292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21293 $(HOST_EXPORTS) \
21294 for flag in $(EXTRA_HOST_FLAGS) ; do \
21295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21296 done; \
21297 echo "Doing install-info in libelf" ; \
21298 (cd $(HOST_SUBDIR)/libelf && \
21299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21301 "RANLIB=$${RANLIB}" \
21302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21303 install-info) \
21304 || exit 1
21306 @endif libelf
21308 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
21309 maybe-install-pdf-libelf:
21310 @if libelf
21311 maybe-install-pdf-libelf: install-pdf-libelf
21313 install-pdf-libelf: \
21314 configure-libelf \
21315 pdf-libelf
21316 @[ -f ./libelf/Makefile ] || exit 0; \
21317 r=`${PWD_COMMAND}`; export r; \
21318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 $(HOST_EXPORTS) \
21320 for flag in $(EXTRA_HOST_FLAGS) ; do \
21321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21322 done; \
21323 echo "Doing install-pdf in libelf" ; \
21324 (cd $(HOST_SUBDIR)/libelf && \
21325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21327 "RANLIB=$${RANLIB}" \
21328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21329 install-pdf) \
21330 || exit 1
21332 @endif libelf
21334 .PHONY: maybe-install-html-libelf install-html-libelf
21335 maybe-install-html-libelf:
21336 @if libelf
21337 maybe-install-html-libelf: install-html-libelf
21339 install-html-libelf: \
21340 configure-libelf \
21341 html-libelf
21342 @[ -f ./libelf/Makefile ] || exit 0; \
21343 r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21345 $(HOST_EXPORTS) \
21346 for flag in $(EXTRA_HOST_FLAGS) ; do \
21347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21348 done; \
21349 echo "Doing install-html in libelf" ; \
21350 (cd $(HOST_SUBDIR)/libelf && \
21351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21353 "RANLIB=$${RANLIB}" \
21354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21355 install-html) \
21356 || exit 1
21358 @endif libelf
21360 .PHONY: maybe-installcheck-libelf installcheck-libelf
21361 maybe-installcheck-libelf:
21362 @if libelf
21363 maybe-installcheck-libelf: installcheck-libelf
21365 installcheck-libelf: \
21366 configure-libelf
21367 @[ -f ./libelf/Makefile ] || exit 0; \
21368 r=`${PWD_COMMAND}`; export r; \
21369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21370 $(HOST_EXPORTS) \
21371 for flag in $(EXTRA_HOST_FLAGS) ; do \
21372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21373 done; \
21374 echo "Doing installcheck in libelf" ; \
21375 (cd $(HOST_SUBDIR)/libelf && \
21376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21378 "RANLIB=$${RANLIB}" \
21379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21380 installcheck) \
21381 || exit 1
21383 @endif libelf
21385 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
21386 maybe-mostlyclean-libelf:
21387 @if libelf
21388 maybe-mostlyclean-libelf: mostlyclean-libelf
21390 mostlyclean-libelf:
21391 @[ -f ./libelf/Makefile ] || exit 0; \
21392 r=`${PWD_COMMAND}`; export r; \
21393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21394 $(HOST_EXPORTS) \
21395 for flag in $(EXTRA_HOST_FLAGS) ; do \
21396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21397 done; \
21398 echo "Doing mostlyclean in libelf" ; \
21399 (cd $(HOST_SUBDIR)/libelf && \
21400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21402 "RANLIB=$${RANLIB}" \
21403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21404 mostlyclean) \
21405 || exit 1
21407 @endif libelf
21409 .PHONY: maybe-clean-libelf clean-libelf
21410 maybe-clean-libelf:
21411 @if libelf
21412 maybe-clean-libelf: clean-libelf
21414 clean-libelf:
21415 @[ -f ./libelf/Makefile ] || exit 0; \
21416 r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418 $(HOST_EXPORTS) \
21419 for flag in $(EXTRA_HOST_FLAGS) ; do \
21420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21421 done; \
21422 echo "Doing clean in libelf" ; \
21423 (cd $(HOST_SUBDIR)/libelf && \
21424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21426 "RANLIB=$${RANLIB}" \
21427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21428 clean) \
21429 || exit 1
21431 @endif libelf
21433 .PHONY: maybe-distclean-libelf distclean-libelf
21434 maybe-distclean-libelf:
21435 @if libelf
21436 maybe-distclean-libelf: distclean-libelf
21438 distclean-libelf:
21439 @[ -f ./libelf/Makefile ] || exit 0; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(HOST_EXPORTS) \
21443 for flag in $(EXTRA_HOST_FLAGS) ; do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21445 done; \
21446 echo "Doing distclean in libelf" ; \
21447 (cd $(HOST_SUBDIR)/libelf && \
21448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21450 "RANLIB=$${RANLIB}" \
21451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21452 distclean) \
21453 || exit 1
21455 @endif libelf
21457 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
21458 maybe-maintainer-clean-libelf:
21459 @if libelf
21460 maybe-maintainer-clean-libelf: maintainer-clean-libelf
21462 maintainer-clean-libelf:
21463 @[ -f ./libelf/Makefile ] || exit 0; \
21464 r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(HOST_EXPORTS) \
21467 for flag in $(EXTRA_HOST_FLAGS) ; do \
21468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21469 done; \
21470 echo "Doing maintainer-clean in libelf" ; \
21471 (cd $(HOST_SUBDIR)/libelf && \
21472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21474 "RANLIB=$${RANLIB}" \
21475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21476 maintainer-clean) \
21477 || exit 1
21479 @endif libelf
21483 .PHONY: configure-gnuserv maybe-configure-gnuserv
21484 maybe-configure-gnuserv:
21485 @if gcc-bootstrap
21486 configure-gnuserv: stage_current
21487 @endif gcc-bootstrap
21488 @if gnuserv
21489 maybe-configure-gnuserv: configure-gnuserv
21490 configure-gnuserv:
21491 @: $(MAKE); $(unstage)
21492 @r=`${PWD_COMMAND}`; export r; \
21493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21494 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
21495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
21496 $(HOST_EXPORTS) \
21497 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
21498 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
21499 case $(srcdir) in \
21500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21501 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
21502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21503 esac; \
21504 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
21505 libsrcdir="$$s/gnuserv"; \
21506 $(SHELL) $${libsrcdir}/configure \
21507 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21508 --target=${target_alias} $${srcdiroption} \
21509 || exit 1
21510 @endif gnuserv
21516 .PHONY: all-gnuserv maybe-all-gnuserv
21517 maybe-all-gnuserv:
21518 @if gcc-bootstrap
21519 all-gnuserv: stage_current
21520 @endif gcc-bootstrap
21521 @if gnuserv
21522 TARGET-gnuserv=all
21523 maybe-all-gnuserv: all-gnuserv
21524 all-gnuserv: configure-gnuserv
21525 @: $(MAKE); $(unstage)
21526 @r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528 $(HOST_EXPORTS) \
21529 (cd $(HOST_SUBDIR)/gnuserv && \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21531 $(TARGET-gnuserv))
21532 @endif gnuserv
21537 .PHONY: check-gnuserv maybe-check-gnuserv
21538 maybe-check-gnuserv:
21539 @if gnuserv
21540 maybe-check-gnuserv: check-gnuserv
21542 check-gnuserv:
21543 @: $(MAKE); $(unstage)
21544 @r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 $(HOST_EXPORTS) \
21547 (cd $(HOST_SUBDIR)/gnuserv && \
21548 $(MAKE) $(FLAGS_TO_PASS) check)
21550 @endif gnuserv
21552 .PHONY: install-gnuserv maybe-install-gnuserv
21553 maybe-install-gnuserv:
21554 @if gnuserv
21555 maybe-install-gnuserv: install-gnuserv
21557 install-gnuserv: installdirs
21558 @: $(MAKE); $(unstage)
21559 @r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 $(HOST_EXPORTS) \
21562 (cd $(HOST_SUBDIR)/gnuserv && \
21563 $(MAKE) $(FLAGS_TO_PASS) install)
21565 @endif gnuserv
21567 # Other targets (info, dvi, pdf, etc.)
21569 .PHONY: maybe-info-gnuserv info-gnuserv
21570 maybe-info-gnuserv:
21571 @if gnuserv
21572 maybe-info-gnuserv: info-gnuserv
21574 info-gnuserv: \
21575 configure-gnuserv
21576 @: $(MAKE); $(unstage)
21577 @[ -f ./gnuserv/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing info in gnuserv" ; \
21585 (cd $(HOST_SUBDIR)/gnuserv && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21590 info) \
21591 || exit 1
21593 @endif gnuserv
21595 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
21596 maybe-dvi-gnuserv:
21597 @if gnuserv
21598 maybe-dvi-gnuserv: dvi-gnuserv
21600 dvi-gnuserv: \
21601 configure-gnuserv
21602 @: $(MAKE); $(unstage)
21603 @[ -f ./gnuserv/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing dvi in gnuserv" ; \
21611 (cd $(HOST_SUBDIR)/gnuserv && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21616 dvi) \
21617 || exit 1
21619 @endif gnuserv
21621 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
21622 maybe-pdf-gnuserv:
21623 @if gnuserv
21624 maybe-pdf-gnuserv: pdf-gnuserv
21626 pdf-gnuserv: \
21627 configure-gnuserv
21628 @: $(MAKE); $(unstage)
21629 @[ -f ./gnuserv/Makefile ] || exit 0; \
21630 r=`${PWD_COMMAND}`; export r; \
21631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21632 $(HOST_EXPORTS) \
21633 for flag in $(EXTRA_HOST_FLAGS) ; do \
21634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21635 done; \
21636 echo "Doing pdf in gnuserv" ; \
21637 (cd $(HOST_SUBDIR)/gnuserv && \
21638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21640 "RANLIB=$${RANLIB}" \
21641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21642 pdf) \
21643 || exit 1
21645 @endif gnuserv
21647 .PHONY: maybe-html-gnuserv html-gnuserv
21648 maybe-html-gnuserv:
21649 @if gnuserv
21650 maybe-html-gnuserv: html-gnuserv
21652 html-gnuserv: \
21653 configure-gnuserv
21654 @: $(MAKE); $(unstage)
21655 @[ -f ./gnuserv/Makefile ] || exit 0; \
21656 r=`${PWD_COMMAND}`; export r; \
21657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21658 $(HOST_EXPORTS) \
21659 for flag in $(EXTRA_HOST_FLAGS) ; do \
21660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21661 done; \
21662 echo "Doing html in gnuserv" ; \
21663 (cd $(HOST_SUBDIR)/gnuserv && \
21664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21666 "RANLIB=$${RANLIB}" \
21667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21668 html) \
21669 || exit 1
21671 @endif gnuserv
21673 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
21674 maybe-TAGS-gnuserv:
21675 @if gnuserv
21676 maybe-TAGS-gnuserv: TAGS-gnuserv
21678 TAGS-gnuserv: \
21679 configure-gnuserv
21680 @: $(MAKE); $(unstage)
21681 @[ -f ./gnuserv/Makefile ] || exit 0; \
21682 r=`${PWD_COMMAND}`; export r; \
21683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21684 $(HOST_EXPORTS) \
21685 for flag in $(EXTRA_HOST_FLAGS) ; do \
21686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21687 done; \
21688 echo "Doing TAGS in gnuserv" ; \
21689 (cd $(HOST_SUBDIR)/gnuserv && \
21690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21692 "RANLIB=$${RANLIB}" \
21693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21694 TAGS) \
21695 || exit 1
21697 @endif gnuserv
21699 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
21700 maybe-install-info-gnuserv:
21701 @if gnuserv
21702 maybe-install-info-gnuserv: install-info-gnuserv
21704 install-info-gnuserv: \
21705 configure-gnuserv \
21706 info-gnuserv
21707 @: $(MAKE); $(unstage)
21708 @[ -f ./gnuserv/Makefile ] || exit 0; \
21709 r=`${PWD_COMMAND}`; export r; \
21710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21711 $(HOST_EXPORTS) \
21712 for flag in $(EXTRA_HOST_FLAGS) ; do \
21713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21714 done; \
21715 echo "Doing install-info in gnuserv" ; \
21716 (cd $(HOST_SUBDIR)/gnuserv && \
21717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21719 "RANLIB=$${RANLIB}" \
21720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21721 install-info) \
21722 || exit 1
21724 @endif gnuserv
21726 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
21727 maybe-install-pdf-gnuserv:
21728 @if gnuserv
21729 maybe-install-pdf-gnuserv: install-pdf-gnuserv
21731 install-pdf-gnuserv: \
21732 configure-gnuserv \
21733 pdf-gnuserv
21734 @: $(MAKE); $(unstage)
21735 @[ -f ./gnuserv/Makefile ] || exit 0; \
21736 r=`${PWD_COMMAND}`; export r; \
21737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21738 $(HOST_EXPORTS) \
21739 for flag in $(EXTRA_HOST_FLAGS) ; do \
21740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21741 done; \
21742 echo "Doing install-pdf in gnuserv" ; \
21743 (cd $(HOST_SUBDIR)/gnuserv && \
21744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21746 "RANLIB=$${RANLIB}" \
21747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21748 install-pdf) \
21749 || exit 1
21751 @endif gnuserv
21753 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
21754 maybe-install-html-gnuserv:
21755 @if gnuserv
21756 maybe-install-html-gnuserv: install-html-gnuserv
21758 install-html-gnuserv: \
21759 configure-gnuserv \
21760 html-gnuserv
21761 @: $(MAKE); $(unstage)
21762 @[ -f ./gnuserv/Makefile ] || exit 0; \
21763 r=`${PWD_COMMAND}`; export r; \
21764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21765 $(HOST_EXPORTS) \
21766 for flag in $(EXTRA_HOST_FLAGS) ; do \
21767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21768 done; \
21769 echo "Doing install-html in gnuserv" ; \
21770 (cd $(HOST_SUBDIR)/gnuserv && \
21771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21773 "RANLIB=$${RANLIB}" \
21774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21775 install-html) \
21776 || exit 1
21778 @endif gnuserv
21780 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
21781 maybe-installcheck-gnuserv:
21782 @if gnuserv
21783 maybe-installcheck-gnuserv: installcheck-gnuserv
21785 installcheck-gnuserv: \
21786 configure-gnuserv
21787 @: $(MAKE); $(unstage)
21788 @[ -f ./gnuserv/Makefile ] || exit 0; \
21789 r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 $(HOST_EXPORTS) \
21792 for flag in $(EXTRA_HOST_FLAGS) ; do \
21793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21794 done; \
21795 echo "Doing installcheck in gnuserv" ; \
21796 (cd $(HOST_SUBDIR)/gnuserv && \
21797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21799 "RANLIB=$${RANLIB}" \
21800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21801 installcheck) \
21802 || exit 1
21804 @endif gnuserv
21806 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
21807 maybe-mostlyclean-gnuserv:
21808 @if gnuserv
21809 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
21811 mostlyclean-gnuserv:
21812 @: $(MAKE); $(unstage)
21813 @[ -f ./gnuserv/Makefile ] || exit 0; \
21814 r=`${PWD_COMMAND}`; export r; \
21815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21816 $(HOST_EXPORTS) \
21817 for flag in $(EXTRA_HOST_FLAGS) ; do \
21818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21819 done; \
21820 echo "Doing mostlyclean in gnuserv" ; \
21821 (cd $(HOST_SUBDIR)/gnuserv && \
21822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21824 "RANLIB=$${RANLIB}" \
21825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21826 mostlyclean) \
21827 || exit 1
21829 @endif gnuserv
21831 .PHONY: maybe-clean-gnuserv clean-gnuserv
21832 maybe-clean-gnuserv:
21833 @if gnuserv
21834 maybe-clean-gnuserv: clean-gnuserv
21836 clean-gnuserv:
21837 @: $(MAKE); $(unstage)
21838 @[ -f ./gnuserv/Makefile ] || exit 0; \
21839 r=`${PWD_COMMAND}`; export r; \
21840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21841 $(HOST_EXPORTS) \
21842 for flag in $(EXTRA_HOST_FLAGS) ; do \
21843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21844 done; \
21845 echo "Doing clean in gnuserv" ; \
21846 (cd $(HOST_SUBDIR)/gnuserv && \
21847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21849 "RANLIB=$${RANLIB}" \
21850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21851 clean) \
21852 || exit 1
21854 @endif gnuserv
21856 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
21857 maybe-distclean-gnuserv:
21858 @if gnuserv
21859 maybe-distclean-gnuserv: distclean-gnuserv
21861 distclean-gnuserv:
21862 @: $(MAKE); $(unstage)
21863 @[ -f ./gnuserv/Makefile ] || exit 0; \
21864 r=`${PWD_COMMAND}`; export r; \
21865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 $(HOST_EXPORTS) \
21867 for flag in $(EXTRA_HOST_FLAGS) ; do \
21868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21869 done; \
21870 echo "Doing distclean in gnuserv" ; \
21871 (cd $(HOST_SUBDIR)/gnuserv && \
21872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21874 "RANLIB=$${RANLIB}" \
21875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21876 distclean) \
21877 || exit 1
21879 @endif gnuserv
21881 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
21882 maybe-maintainer-clean-gnuserv:
21883 @if gnuserv
21884 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
21886 maintainer-clean-gnuserv:
21887 @: $(MAKE); $(unstage)
21888 @[ -f ./gnuserv/Makefile ] || exit 0; \
21889 r=`${PWD_COMMAND}`; export r; \
21890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21891 $(HOST_EXPORTS) \
21892 for flag in $(EXTRA_HOST_FLAGS) ; do \
21893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21894 done; \
21895 echo "Doing maintainer-clean in gnuserv" ; \
21896 (cd $(HOST_SUBDIR)/gnuserv && \
21897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899 "RANLIB=$${RANLIB}" \
21900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21901 maintainer-clean) \
21902 || exit 1
21904 @endif gnuserv
21908 .PHONY: configure-gold maybe-configure-gold
21909 maybe-configure-gold:
21910 @if gcc-bootstrap
21911 configure-gold: stage_current
21912 @endif gcc-bootstrap
21913 @if gold
21914 maybe-configure-gold: configure-gold
21915 configure-gold:
21916 @r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
21919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
21920 $(HOST_EXPORTS) \
21921 echo Configuring in $(HOST_SUBDIR)/gold; \
21922 cd "$(HOST_SUBDIR)/gold" || exit 1; \
21923 case $(srcdir) in \
21924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21925 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
21926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21927 esac; \
21928 srcdiroption="--srcdir=$${topdir}/gold"; \
21929 libsrcdir="$$s/gold"; \
21930 $(SHELL) $${libsrcdir}/configure \
21931 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21932 --target=${target_alias} $${srcdiroption} \
21933 || exit 1
21934 @endif gold
21938 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
21939 maybe-configure-stage1-gold:
21940 @if gold-bootstrap
21941 maybe-configure-stage1-gold: configure-stage1-gold
21942 configure-stage1-gold:
21943 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
21945 @r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 TFLAGS="$(STAGE1_TFLAGS)"; \
21948 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
21949 $(HOST_EXPORTS) \
21950 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21951 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21952 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21953 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
21954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
21955 cd $(HOST_SUBDIR)/gold || exit 1; \
21956 case $(srcdir) in \
21957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21958 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
21959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21960 esac; \
21961 srcdiroption="--srcdir=$${topdir}/gold"; \
21962 libsrcdir="$$s/gold"; \
21963 $(SHELL) $${libsrcdir}/configure \
21964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21965 --target=${target_alias} $${srcdiroption} \
21966 $(STAGE1_CONFIGURE_FLAGS)
21967 @endif gold-bootstrap
21969 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
21970 maybe-configure-stage2-gold:
21971 @if gold-bootstrap
21972 maybe-configure-stage2-gold: configure-stage2-gold
21973 configure-stage2-gold:
21974 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
21976 @r=`${PWD_COMMAND}`; export r; \
21977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21978 TFLAGS="$(STAGE2_TFLAGS)"; \
21979 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
21980 $(HOST_EXPORTS) \
21981 $(POSTSTAGE1_HOST_EXPORTS) \
21982 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21983 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21984 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21985 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
21986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
21987 cd $(HOST_SUBDIR)/gold || exit 1; \
21988 case $(srcdir) in \
21989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21990 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
21991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21992 esac; \
21993 srcdiroption="--srcdir=$${topdir}/gold"; \
21994 libsrcdir="$$s/gold"; \
21995 $(SHELL) $${libsrcdir}/configure \
21996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21997 --target=${target_alias} $${srcdiroption} \
21998 --with-build-libsubdir=$(HOST_SUBDIR) \
21999 $(STAGE2_CONFIGURE_FLAGS)
22000 @endif gold-bootstrap
22002 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
22003 maybe-configure-stage3-gold:
22004 @if gold-bootstrap
22005 maybe-configure-stage3-gold: configure-stage3-gold
22006 configure-stage3-gold:
22007 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22008 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22009 @r=`${PWD_COMMAND}`; export r; \
22010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22011 TFLAGS="$(STAGE3_TFLAGS)"; \
22012 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22013 $(HOST_EXPORTS) \
22014 $(POSTSTAGE1_HOST_EXPORTS) \
22015 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22016 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22017 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22018 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
22019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22020 cd $(HOST_SUBDIR)/gold || exit 1; \
22021 case $(srcdir) in \
22022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22023 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22025 esac; \
22026 srcdiroption="--srcdir=$${topdir}/gold"; \
22027 libsrcdir="$$s/gold"; \
22028 $(SHELL) $${libsrcdir}/configure \
22029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22030 --target=${target_alias} $${srcdiroption} \
22031 --with-build-libsubdir=$(HOST_SUBDIR) \
22032 $(STAGE3_CONFIGURE_FLAGS)
22033 @endif gold-bootstrap
22035 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
22036 maybe-configure-stage4-gold:
22037 @if gold-bootstrap
22038 maybe-configure-stage4-gold: configure-stage4-gold
22039 configure-stage4-gold:
22040 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22042 @r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 TFLAGS="$(STAGE4_TFLAGS)"; \
22045 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22046 $(HOST_EXPORTS) \
22047 $(POSTSTAGE1_HOST_EXPORTS) \
22048 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22049 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22050 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22051 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
22052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22053 cd $(HOST_SUBDIR)/gold || exit 1; \
22054 case $(srcdir) in \
22055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22056 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22058 esac; \
22059 srcdiroption="--srcdir=$${topdir}/gold"; \
22060 libsrcdir="$$s/gold"; \
22061 $(SHELL) $${libsrcdir}/configure \
22062 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22063 --target=${target_alias} $${srcdiroption} \
22064 --with-build-libsubdir=$(HOST_SUBDIR) \
22065 $(STAGE4_CONFIGURE_FLAGS)
22066 @endif gold-bootstrap
22068 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
22069 maybe-configure-stageprofile-gold:
22070 @if gold-bootstrap
22071 maybe-configure-stageprofile-gold: configure-stageprofile-gold
22072 configure-stageprofile-gold:
22073 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22075 @r=`${PWD_COMMAND}`; export r; \
22076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22077 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22078 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22079 $(HOST_EXPORTS) \
22080 $(POSTSTAGE1_HOST_EXPORTS) \
22081 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22082 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22083 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22084 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
22085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22086 cd $(HOST_SUBDIR)/gold || exit 1; \
22087 case $(srcdir) in \
22088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22089 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22091 esac; \
22092 srcdiroption="--srcdir=$${topdir}/gold"; \
22093 libsrcdir="$$s/gold"; \
22094 $(SHELL) $${libsrcdir}/configure \
22095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22096 --target=${target_alias} $${srcdiroption} \
22097 --with-build-libsubdir=$(HOST_SUBDIR) \
22098 $(STAGEprofile_CONFIGURE_FLAGS)
22099 @endif gold-bootstrap
22101 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
22102 maybe-configure-stagefeedback-gold:
22103 @if gold-bootstrap
22104 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
22105 configure-stagefeedback-gold:
22106 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
22108 @r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22110 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22111 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
22112 $(HOST_EXPORTS) \
22113 $(POSTSTAGE1_HOST_EXPORTS) \
22114 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22115 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22116 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22117 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
22118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
22119 cd $(HOST_SUBDIR)/gold || exit 1; \
22120 case $(srcdir) in \
22121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22122 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
22123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22124 esac; \
22125 srcdiroption="--srcdir=$${topdir}/gold"; \
22126 libsrcdir="$$s/gold"; \
22127 $(SHELL) $${libsrcdir}/configure \
22128 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22129 --target=${target_alias} $${srcdiroption} \
22130 --with-build-libsubdir=$(HOST_SUBDIR) \
22131 $(STAGEfeedback_CONFIGURE_FLAGS)
22132 @endif gold-bootstrap
22138 .PHONY: all-gold maybe-all-gold
22139 maybe-all-gold:
22140 @if gcc-bootstrap
22141 all-gold: stage_current
22142 @endif gcc-bootstrap
22143 @if gold
22144 TARGET-gold=all
22145 maybe-all-gold: all-gold
22146 all-gold: configure-gold
22147 @r=`${PWD_COMMAND}`; export r; \
22148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22149 $(HOST_EXPORTS) \
22150 (cd $(HOST_SUBDIR)/gold && \
22151 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22152 $(TARGET-gold))
22153 @endif gold
22157 .PHONY: all-stage1-gold maybe-all-stage1-gold
22158 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
22159 maybe-all-stage1-gold:
22160 maybe-clean-stage1-gold:
22161 @if gold-bootstrap
22162 maybe-all-stage1-gold: all-stage1-gold
22163 all-stage1: all-stage1-gold
22164 TARGET-stage1-gold = $(TARGET-gold)
22165 all-stage1-gold: configure-stage1-gold
22166 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22167 @r=`${PWD_COMMAND}`; export r; \
22168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22169 TFLAGS="$(STAGE1_TFLAGS)"; \
22170 $(HOST_EXPORTS) \
22171 cd $(HOST_SUBDIR)/gold && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22173 CFLAGS="$(STAGE1_CFLAGS)" \
22174 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22175 LIBCFLAGS="$(LIBCFLAGS)" \
22176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22179 $(EXTRA_HOST_FLAGS) \
22180 TFLAGS="$(STAGE1_TFLAGS)" \
22181 $(TARGET-stage1-gold)
22183 maybe-clean-stage1-gold: clean-stage1-gold
22184 clean-stage1: clean-stage1-gold
22185 clean-stage1-gold:
22186 @if [ $(current_stage) = stage1 ]; then \
22187 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22188 else \
22189 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
22190 $(MAKE) stage1-start; \
22191 fi; \
22192 cd $(HOST_SUBDIR)/gold && \
22193 $(MAKE) $(EXTRA_HOST_FLAGS) \
22194 clean
22195 @endif gold-bootstrap
22198 .PHONY: all-stage2-gold maybe-all-stage2-gold
22199 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
22200 maybe-all-stage2-gold:
22201 maybe-clean-stage2-gold:
22202 @if gold-bootstrap
22203 maybe-all-stage2-gold: all-stage2-gold
22204 all-stage2: all-stage2-gold
22205 TARGET-stage2-gold = $(TARGET-gold)
22206 all-stage2-gold: configure-stage2-gold
22207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22208 @r=`${PWD_COMMAND}`; export r; \
22209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22210 TFLAGS="$(STAGE2_TFLAGS)"; \
22211 $(HOST_EXPORTS) \
22212 $(POSTSTAGE1_HOST_EXPORTS) \
22213 cd $(HOST_SUBDIR)/gold && \
22214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22215 CFLAGS="$(STAGE2_CFLAGS)" \
22216 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22217 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22221 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22222 TFLAGS="$(STAGE2_TFLAGS)" \
22223 $(TARGET-stage2-gold)
22225 maybe-clean-stage2-gold: clean-stage2-gold
22226 clean-stage2: clean-stage2-gold
22227 clean-stage2-gold:
22228 @if [ $(current_stage) = stage2 ]; then \
22229 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22230 else \
22231 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
22232 $(MAKE) stage2-start; \
22233 fi; \
22234 cd $(HOST_SUBDIR)/gold && \
22235 $(MAKE) $(EXTRA_HOST_FLAGS) \
22236 $(POSTSTAGE1_FLAGS_TO_PASS) \
22237 clean
22238 @endif gold-bootstrap
22241 .PHONY: all-stage3-gold maybe-all-stage3-gold
22242 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
22243 maybe-all-stage3-gold:
22244 maybe-clean-stage3-gold:
22245 @if gold-bootstrap
22246 maybe-all-stage3-gold: all-stage3-gold
22247 all-stage3: all-stage3-gold
22248 TARGET-stage3-gold = $(TARGET-gold)
22249 all-stage3-gold: configure-stage3-gold
22250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22251 @r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 TFLAGS="$(STAGE3_TFLAGS)"; \
22254 $(HOST_EXPORTS) \
22255 $(POSTSTAGE1_HOST_EXPORTS) \
22256 cd $(HOST_SUBDIR)/gold && \
22257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22258 CFLAGS="$(STAGE3_CFLAGS)" \
22259 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22260 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22264 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22265 TFLAGS="$(STAGE3_TFLAGS)" \
22266 $(TARGET-stage3-gold)
22268 maybe-clean-stage3-gold: clean-stage3-gold
22269 clean-stage3: clean-stage3-gold
22270 clean-stage3-gold:
22271 @if [ $(current_stage) = stage3 ]; then \
22272 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22273 else \
22274 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
22275 $(MAKE) stage3-start; \
22276 fi; \
22277 cd $(HOST_SUBDIR)/gold && \
22278 $(MAKE) $(EXTRA_HOST_FLAGS) \
22279 $(POSTSTAGE1_FLAGS_TO_PASS) \
22280 clean
22281 @endif gold-bootstrap
22284 .PHONY: all-stage4-gold maybe-all-stage4-gold
22285 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
22286 maybe-all-stage4-gold:
22287 maybe-clean-stage4-gold:
22288 @if gold-bootstrap
22289 maybe-all-stage4-gold: all-stage4-gold
22290 all-stage4: all-stage4-gold
22291 TARGET-stage4-gold = $(TARGET-gold)
22292 all-stage4-gold: configure-stage4-gold
22293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22294 @r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 TFLAGS="$(STAGE4_TFLAGS)"; \
22297 $(HOST_EXPORTS) \
22298 $(POSTSTAGE1_HOST_EXPORTS) \
22299 cd $(HOST_SUBDIR)/gold && \
22300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22301 CFLAGS="$(STAGE4_CFLAGS)" \
22302 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22303 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22308 TFLAGS="$(STAGE4_TFLAGS)" \
22309 $(TARGET-stage4-gold)
22311 maybe-clean-stage4-gold: clean-stage4-gold
22312 clean-stage4: clean-stage4-gold
22313 clean-stage4-gold:
22314 @if [ $(current_stage) = stage4 ]; then \
22315 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22316 else \
22317 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
22318 $(MAKE) stage4-start; \
22319 fi; \
22320 cd $(HOST_SUBDIR)/gold && \
22321 $(MAKE) $(EXTRA_HOST_FLAGS) \
22322 $(POSTSTAGE1_FLAGS_TO_PASS) \
22323 clean
22324 @endif gold-bootstrap
22327 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
22328 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
22329 maybe-all-stageprofile-gold:
22330 maybe-clean-stageprofile-gold:
22331 @if gold-bootstrap
22332 maybe-all-stageprofile-gold: all-stageprofile-gold
22333 all-stageprofile: all-stageprofile-gold
22334 TARGET-stageprofile-gold = $(TARGET-gold)
22335 all-stageprofile-gold: configure-stageprofile-gold
22336 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22337 @r=`${PWD_COMMAND}`; export r; \
22338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22339 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22340 $(HOST_EXPORTS) \
22341 $(POSTSTAGE1_HOST_EXPORTS) \
22342 cd $(HOST_SUBDIR)/gold && \
22343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22344 CFLAGS="$(STAGEprofile_CFLAGS)" \
22345 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22346 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22351 TFLAGS="$(STAGEprofile_TFLAGS)" \
22352 $(TARGET-stageprofile-gold)
22354 maybe-clean-stageprofile-gold: clean-stageprofile-gold
22355 clean-stageprofile: clean-stageprofile-gold
22356 clean-stageprofile-gold:
22357 @if [ $(current_stage) = stageprofile ]; then \
22358 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22359 else \
22360 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
22361 $(MAKE) stageprofile-start; \
22362 fi; \
22363 cd $(HOST_SUBDIR)/gold && \
22364 $(MAKE) $(EXTRA_HOST_FLAGS) \
22365 $(POSTSTAGE1_FLAGS_TO_PASS) \
22366 clean
22367 @endif gold-bootstrap
22370 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
22371 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
22372 maybe-all-stagefeedback-gold:
22373 maybe-clean-stagefeedback-gold:
22374 @if gold-bootstrap
22375 maybe-all-stagefeedback-gold: all-stagefeedback-gold
22376 all-stagefeedback: all-stagefeedback-gold
22377 TARGET-stagefeedback-gold = $(TARGET-gold)
22378 all-stagefeedback-gold: configure-stagefeedback-gold
22379 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22380 @r=`${PWD_COMMAND}`; export r; \
22381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22382 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22383 $(HOST_EXPORTS) \
22384 $(POSTSTAGE1_HOST_EXPORTS) \
22385 cd $(HOST_SUBDIR)/gold && \
22386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22387 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22388 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22389 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22394 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22395 $(TARGET-stagefeedback-gold)
22397 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
22398 clean-stagefeedback: clean-stagefeedback-gold
22399 clean-stagefeedback-gold:
22400 @if [ $(current_stage) = stagefeedback ]; then \
22401 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
22402 else \
22403 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
22404 $(MAKE) stagefeedback-start; \
22405 fi; \
22406 cd $(HOST_SUBDIR)/gold && \
22407 $(MAKE) $(EXTRA_HOST_FLAGS) \
22408 $(POSTSTAGE1_FLAGS_TO_PASS) \
22409 clean
22410 @endif gold-bootstrap
22416 .PHONY: check-gold maybe-check-gold
22417 maybe-check-gold:
22418 @if gold
22419 maybe-check-gold: check-gold
22421 check-gold:
22422 @: $(MAKE); $(unstage)
22423 @r=`${PWD_COMMAND}`; export r; \
22424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22425 $(HOST_EXPORTS) \
22426 (cd $(HOST_SUBDIR)/gold && \
22427 $(MAKE) $(FLAGS_TO_PASS) check)
22429 @endif gold
22431 .PHONY: install-gold maybe-install-gold
22432 maybe-install-gold:
22433 @if gold
22434 maybe-install-gold: install-gold
22436 install-gold: installdirs
22437 @: $(MAKE); $(unstage)
22438 @r=`${PWD_COMMAND}`; export r; \
22439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22440 $(HOST_EXPORTS) \
22441 (cd $(HOST_SUBDIR)/gold && \
22442 $(MAKE) $(FLAGS_TO_PASS) install)
22444 @endif gold
22446 # Other targets (info, dvi, pdf, etc.)
22448 .PHONY: maybe-info-gold info-gold
22449 maybe-info-gold:
22450 @if gold
22451 maybe-info-gold: info-gold
22453 info-gold: \
22454 configure-gold
22455 @[ -f ./gold/Makefile ] || exit 0; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(HOST_EXPORTS) \
22459 for flag in $(EXTRA_HOST_FLAGS) ; do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 echo "Doing info in gold" ; \
22463 (cd $(HOST_SUBDIR)/gold && \
22464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22466 "RANLIB=$${RANLIB}" \
22467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22468 info) \
22469 || exit 1
22471 @endif gold
22473 .PHONY: maybe-dvi-gold dvi-gold
22474 maybe-dvi-gold:
22475 @if gold
22476 maybe-dvi-gold: dvi-gold
22478 dvi-gold: \
22479 configure-gold
22480 @[ -f ./gold/Makefile ] || exit 0; \
22481 r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(HOST_EXPORTS) \
22484 for flag in $(EXTRA_HOST_FLAGS) ; do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 echo "Doing dvi in gold" ; \
22488 (cd $(HOST_SUBDIR)/gold && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22493 dvi) \
22494 || exit 1
22496 @endif gold
22498 .PHONY: maybe-pdf-gold pdf-gold
22499 maybe-pdf-gold:
22500 @if gold
22501 maybe-pdf-gold: pdf-gold
22503 pdf-gold: \
22504 configure-gold
22505 @[ -f ./gold/Makefile ] || exit 0; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(HOST_EXPORTS) \
22509 for flag in $(EXTRA_HOST_FLAGS) ; do \
22510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22511 done; \
22512 echo "Doing pdf in gold" ; \
22513 (cd $(HOST_SUBDIR)/gold && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22518 pdf) \
22519 || exit 1
22521 @endif gold
22523 .PHONY: maybe-html-gold html-gold
22524 maybe-html-gold:
22525 @if gold
22526 maybe-html-gold: html-gold
22528 html-gold: \
22529 configure-gold
22530 @[ -f ./gold/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(HOST_EXPORTS) \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22536 done; \
22537 echo "Doing html in gold" ; \
22538 (cd $(HOST_SUBDIR)/gold && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22543 html) \
22544 || exit 1
22546 @endif gold
22548 .PHONY: maybe-TAGS-gold TAGS-gold
22549 maybe-TAGS-gold:
22550 @if gold
22551 maybe-TAGS-gold: TAGS-gold
22553 TAGS-gold: \
22554 configure-gold
22555 @[ -f ./gold/Makefile ] || exit 0; \
22556 r=`${PWD_COMMAND}`; export r; \
22557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(HOST_EXPORTS) \
22559 for flag in $(EXTRA_HOST_FLAGS) ; do \
22560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22561 done; \
22562 echo "Doing TAGS in gold" ; \
22563 (cd $(HOST_SUBDIR)/gold && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22566 "RANLIB=$${RANLIB}" \
22567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22568 TAGS) \
22569 || exit 1
22571 @endif gold
22573 .PHONY: maybe-install-info-gold install-info-gold
22574 maybe-install-info-gold:
22575 @if gold
22576 maybe-install-info-gold: install-info-gold
22578 install-info-gold: \
22579 configure-gold \
22580 info-gold
22581 @[ -f ./gold/Makefile ] || exit 0; \
22582 r=`${PWD_COMMAND}`; export r; \
22583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22584 $(HOST_EXPORTS) \
22585 for flag in $(EXTRA_HOST_FLAGS) ; do \
22586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22587 done; \
22588 echo "Doing install-info in gold" ; \
22589 (cd $(HOST_SUBDIR)/gold && \
22590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22592 "RANLIB=$${RANLIB}" \
22593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22594 install-info) \
22595 || exit 1
22597 @endif gold
22599 .PHONY: maybe-install-pdf-gold install-pdf-gold
22600 maybe-install-pdf-gold:
22601 @if gold
22602 maybe-install-pdf-gold: install-pdf-gold
22604 install-pdf-gold: \
22605 configure-gold \
22606 pdf-gold
22607 @[ -f ./gold/Makefile ] || exit 0; \
22608 r=`${PWD_COMMAND}`; export r; \
22609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22610 $(HOST_EXPORTS) \
22611 for flag in $(EXTRA_HOST_FLAGS) ; do \
22612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22613 done; \
22614 echo "Doing install-pdf in gold" ; \
22615 (cd $(HOST_SUBDIR)/gold && \
22616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22618 "RANLIB=$${RANLIB}" \
22619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22620 install-pdf) \
22621 || exit 1
22623 @endif gold
22625 .PHONY: maybe-install-html-gold install-html-gold
22626 maybe-install-html-gold:
22627 @if gold
22628 maybe-install-html-gold: install-html-gold
22630 install-html-gold: \
22631 configure-gold \
22632 html-gold
22633 @[ -f ./gold/Makefile ] || exit 0; \
22634 r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(HOST_EXPORTS) \
22637 for flag in $(EXTRA_HOST_FLAGS) ; do \
22638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22639 done; \
22640 echo "Doing install-html in gold" ; \
22641 (cd $(HOST_SUBDIR)/gold && \
22642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22644 "RANLIB=$${RANLIB}" \
22645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22646 install-html) \
22647 || exit 1
22649 @endif gold
22651 .PHONY: maybe-installcheck-gold installcheck-gold
22652 maybe-installcheck-gold:
22653 @if gold
22654 maybe-installcheck-gold: installcheck-gold
22656 installcheck-gold: \
22657 configure-gold
22658 @[ -f ./gold/Makefile ] || exit 0; \
22659 r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 $(HOST_EXPORTS) \
22662 for flag in $(EXTRA_HOST_FLAGS) ; do \
22663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22664 done; \
22665 echo "Doing installcheck in gold" ; \
22666 (cd $(HOST_SUBDIR)/gold && \
22667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22669 "RANLIB=$${RANLIB}" \
22670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22671 installcheck) \
22672 || exit 1
22674 @endif gold
22676 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
22677 maybe-mostlyclean-gold:
22678 @if gold
22679 maybe-mostlyclean-gold: mostlyclean-gold
22681 mostlyclean-gold:
22682 @[ -f ./gold/Makefile ] || exit 0; \
22683 r=`${PWD_COMMAND}`; export r; \
22684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22685 $(HOST_EXPORTS) \
22686 for flag in $(EXTRA_HOST_FLAGS) ; do \
22687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22688 done; \
22689 echo "Doing mostlyclean in gold" ; \
22690 (cd $(HOST_SUBDIR)/gold && \
22691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22693 "RANLIB=$${RANLIB}" \
22694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22695 mostlyclean) \
22696 || exit 1
22698 @endif gold
22700 .PHONY: maybe-clean-gold clean-gold
22701 maybe-clean-gold:
22702 @if gold
22703 maybe-clean-gold: clean-gold
22705 clean-gold:
22706 @[ -f ./gold/Makefile ] || exit 0; \
22707 r=`${PWD_COMMAND}`; export r; \
22708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22709 $(HOST_EXPORTS) \
22710 for flag in $(EXTRA_HOST_FLAGS) ; do \
22711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22712 done; \
22713 echo "Doing clean in gold" ; \
22714 (cd $(HOST_SUBDIR)/gold && \
22715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22717 "RANLIB=$${RANLIB}" \
22718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22719 clean) \
22720 || exit 1
22722 @endif gold
22724 .PHONY: maybe-distclean-gold distclean-gold
22725 maybe-distclean-gold:
22726 @if gold
22727 maybe-distclean-gold: distclean-gold
22729 distclean-gold:
22730 @[ -f ./gold/Makefile ] || exit 0; \
22731 r=`${PWD_COMMAND}`; export r; \
22732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22733 $(HOST_EXPORTS) \
22734 for flag in $(EXTRA_HOST_FLAGS) ; do \
22735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22736 done; \
22737 echo "Doing distclean in gold" ; \
22738 (cd $(HOST_SUBDIR)/gold && \
22739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22741 "RANLIB=$${RANLIB}" \
22742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22743 distclean) \
22744 || exit 1
22746 @endif gold
22748 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
22749 maybe-maintainer-clean-gold:
22750 @if gold
22751 maybe-maintainer-clean-gold: maintainer-clean-gold
22753 maintainer-clean-gold:
22754 @[ -f ./gold/Makefile ] || exit 0; \
22755 r=`${PWD_COMMAND}`; export r; \
22756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22757 $(HOST_EXPORTS) \
22758 for flag in $(EXTRA_HOST_FLAGS) ; do \
22759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22760 done; \
22761 echo "Doing maintainer-clean in gold" ; \
22762 (cd $(HOST_SUBDIR)/gold && \
22763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22765 "RANLIB=$${RANLIB}" \
22766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22767 maintainer-clean) \
22768 || exit 1
22770 @endif gold
22774 .PHONY: configure-gprof maybe-configure-gprof
22775 maybe-configure-gprof:
22776 @if gcc-bootstrap
22777 configure-gprof: stage_current
22778 @endif gcc-bootstrap
22779 @if gprof
22780 maybe-configure-gprof: configure-gprof
22781 configure-gprof:
22782 @: $(MAKE); $(unstage)
22783 @r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
22786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
22787 $(HOST_EXPORTS) \
22788 echo Configuring in $(HOST_SUBDIR)/gprof; \
22789 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
22790 case $(srcdir) in \
22791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22792 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
22793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22794 esac; \
22795 srcdiroption="--srcdir=$${topdir}/gprof"; \
22796 libsrcdir="$$s/gprof"; \
22797 $(SHELL) $${libsrcdir}/configure \
22798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22799 --target=${target_alias} $${srcdiroption} \
22800 || exit 1
22801 @endif gprof
22807 .PHONY: all-gprof maybe-all-gprof
22808 maybe-all-gprof:
22809 @if gcc-bootstrap
22810 all-gprof: stage_current
22811 @endif gcc-bootstrap
22812 @if gprof
22813 TARGET-gprof=all
22814 maybe-all-gprof: all-gprof
22815 all-gprof: configure-gprof
22816 @: $(MAKE); $(unstage)
22817 @r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 $(HOST_EXPORTS) \
22820 (cd $(HOST_SUBDIR)/gprof && \
22821 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22822 $(TARGET-gprof))
22823 @endif gprof
22828 .PHONY: check-gprof maybe-check-gprof
22829 maybe-check-gprof:
22830 @if gprof
22831 maybe-check-gprof: check-gprof
22833 check-gprof:
22834 @: $(MAKE); $(unstage)
22835 @r=`${PWD_COMMAND}`; export r; \
22836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22837 $(HOST_EXPORTS) \
22838 (cd $(HOST_SUBDIR)/gprof && \
22839 $(MAKE) $(FLAGS_TO_PASS) check)
22841 @endif gprof
22843 .PHONY: install-gprof maybe-install-gprof
22844 maybe-install-gprof:
22845 @if gprof
22846 maybe-install-gprof: install-gprof
22848 install-gprof: installdirs
22849 @: $(MAKE); $(unstage)
22850 @r=`${PWD_COMMAND}`; export r; \
22851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22852 $(HOST_EXPORTS) \
22853 (cd $(HOST_SUBDIR)/gprof && \
22854 $(MAKE) $(FLAGS_TO_PASS) install)
22856 @endif gprof
22858 # Other targets (info, dvi, pdf, etc.)
22860 .PHONY: maybe-info-gprof info-gprof
22861 maybe-info-gprof:
22862 @if gprof
22863 maybe-info-gprof: info-gprof
22865 info-gprof: \
22866 configure-gprof
22867 @: $(MAKE); $(unstage)
22868 @[ -f ./gprof/Makefile ] || exit 0; \
22869 r=`${PWD_COMMAND}`; export r; \
22870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22871 $(HOST_EXPORTS) \
22872 for flag in $(EXTRA_HOST_FLAGS) ; do \
22873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22874 done; \
22875 echo "Doing info in gprof" ; \
22876 (cd $(HOST_SUBDIR)/gprof && \
22877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22879 "RANLIB=$${RANLIB}" \
22880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22881 info) \
22882 || exit 1
22884 @endif gprof
22886 .PHONY: maybe-dvi-gprof dvi-gprof
22887 maybe-dvi-gprof:
22888 @if gprof
22889 maybe-dvi-gprof: dvi-gprof
22891 dvi-gprof: \
22892 configure-gprof
22893 @: $(MAKE); $(unstage)
22894 @[ -f ./gprof/Makefile ] || exit 0; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 for flag in $(EXTRA_HOST_FLAGS) ; do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22900 done; \
22901 echo "Doing dvi in gprof" ; \
22902 (cd $(HOST_SUBDIR)/gprof && \
22903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22905 "RANLIB=$${RANLIB}" \
22906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22907 dvi) \
22908 || exit 1
22910 @endif gprof
22912 .PHONY: maybe-pdf-gprof pdf-gprof
22913 maybe-pdf-gprof:
22914 @if gprof
22915 maybe-pdf-gprof: pdf-gprof
22917 pdf-gprof: \
22918 configure-gprof
22919 @: $(MAKE); $(unstage)
22920 @[ -f ./gprof/Makefile ] || exit 0; \
22921 r=`${PWD_COMMAND}`; export r; \
22922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 $(HOST_EXPORTS) \
22924 for flag in $(EXTRA_HOST_FLAGS) ; do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926 done; \
22927 echo "Doing pdf in gprof" ; \
22928 (cd $(HOST_SUBDIR)/gprof && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22933 pdf) \
22934 || exit 1
22936 @endif gprof
22938 .PHONY: maybe-html-gprof html-gprof
22939 maybe-html-gprof:
22940 @if gprof
22941 maybe-html-gprof: html-gprof
22943 html-gprof: \
22944 configure-gprof
22945 @: $(MAKE); $(unstage)
22946 @[ -f ./gprof/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(HOST_EXPORTS) \
22950 for flag in $(EXTRA_HOST_FLAGS) ; do \
22951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 done; \
22953 echo "Doing html in gprof" ; \
22954 (cd $(HOST_SUBDIR)/gprof && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22957 "RANLIB=$${RANLIB}" \
22958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22959 html) \
22960 || exit 1
22962 @endif gprof
22964 .PHONY: maybe-TAGS-gprof TAGS-gprof
22965 maybe-TAGS-gprof:
22966 @if gprof
22967 maybe-TAGS-gprof: TAGS-gprof
22969 TAGS-gprof: \
22970 configure-gprof
22971 @: $(MAKE); $(unstage)
22972 @[ -f ./gprof/Makefile ] || exit 0; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22975 $(HOST_EXPORTS) \
22976 for flag in $(EXTRA_HOST_FLAGS) ; do \
22977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22978 done; \
22979 echo "Doing TAGS in gprof" ; \
22980 (cd $(HOST_SUBDIR)/gprof && \
22981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22983 "RANLIB=$${RANLIB}" \
22984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22985 TAGS) \
22986 || exit 1
22988 @endif gprof
22990 .PHONY: maybe-install-info-gprof install-info-gprof
22991 maybe-install-info-gprof:
22992 @if gprof
22993 maybe-install-info-gprof: install-info-gprof
22995 install-info-gprof: \
22996 configure-gprof \
22997 info-gprof
22998 @: $(MAKE); $(unstage)
22999 @[ -f ./gprof/Makefile ] || exit 0; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(HOST_EXPORTS) \
23003 for flag in $(EXTRA_HOST_FLAGS) ; do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 done; \
23006 echo "Doing install-info in gprof" ; \
23007 (cd $(HOST_SUBDIR)/gprof && \
23008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23010 "RANLIB=$${RANLIB}" \
23011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23012 install-info) \
23013 || exit 1
23015 @endif gprof
23017 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
23018 maybe-install-pdf-gprof:
23019 @if gprof
23020 maybe-install-pdf-gprof: install-pdf-gprof
23022 install-pdf-gprof: \
23023 configure-gprof \
23024 pdf-gprof
23025 @: $(MAKE); $(unstage)
23026 @[ -f ./gprof/Makefile ] || exit 0; \
23027 r=`${PWD_COMMAND}`; export r; \
23028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(HOST_EXPORTS) \
23030 for flag in $(EXTRA_HOST_FLAGS) ; do \
23031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23032 done; \
23033 echo "Doing install-pdf in gprof" ; \
23034 (cd $(HOST_SUBDIR)/gprof && \
23035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23037 "RANLIB=$${RANLIB}" \
23038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23039 install-pdf) \
23040 || exit 1
23042 @endif gprof
23044 .PHONY: maybe-install-html-gprof install-html-gprof
23045 maybe-install-html-gprof:
23046 @if gprof
23047 maybe-install-html-gprof: install-html-gprof
23049 install-html-gprof: \
23050 configure-gprof \
23051 html-gprof
23052 @: $(MAKE); $(unstage)
23053 @[ -f ./gprof/Makefile ] || exit 0; \
23054 r=`${PWD_COMMAND}`; export r; \
23055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 $(HOST_EXPORTS) \
23057 for flag in $(EXTRA_HOST_FLAGS) ; do \
23058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23059 done; \
23060 echo "Doing install-html in gprof" ; \
23061 (cd $(HOST_SUBDIR)/gprof && \
23062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23064 "RANLIB=$${RANLIB}" \
23065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23066 install-html) \
23067 || exit 1
23069 @endif gprof
23071 .PHONY: maybe-installcheck-gprof installcheck-gprof
23072 maybe-installcheck-gprof:
23073 @if gprof
23074 maybe-installcheck-gprof: installcheck-gprof
23076 installcheck-gprof: \
23077 configure-gprof
23078 @: $(MAKE); $(unstage)
23079 @[ -f ./gprof/Makefile ] || exit 0; \
23080 r=`${PWD_COMMAND}`; export r; \
23081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23082 $(HOST_EXPORTS) \
23083 for flag in $(EXTRA_HOST_FLAGS) ; do \
23084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23085 done; \
23086 echo "Doing installcheck in gprof" ; \
23087 (cd $(HOST_SUBDIR)/gprof && \
23088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23090 "RANLIB=$${RANLIB}" \
23091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23092 installcheck) \
23093 || exit 1
23095 @endif gprof
23097 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
23098 maybe-mostlyclean-gprof:
23099 @if gprof
23100 maybe-mostlyclean-gprof: mostlyclean-gprof
23102 mostlyclean-gprof:
23103 @: $(MAKE); $(unstage)
23104 @[ -f ./gprof/Makefile ] || exit 0; \
23105 r=`${PWD_COMMAND}`; export r; \
23106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23107 $(HOST_EXPORTS) \
23108 for flag in $(EXTRA_HOST_FLAGS) ; do \
23109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23110 done; \
23111 echo "Doing mostlyclean in gprof" ; \
23112 (cd $(HOST_SUBDIR)/gprof && \
23113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23115 "RANLIB=$${RANLIB}" \
23116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23117 mostlyclean) \
23118 || exit 1
23120 @endif gprof
23122 .PHONY: maybe-clean-gprof clean-gprof
23123 maybe-clean-gprof:
23124 @if gprof
23125 maybe-clean-gprof: clean-gprof
23127 clean-gprof:
23128 @: $(MAKE); $(unstage)
23129 @[ -f ./gprof/Makefile ] || exit 0; \
23130 r=`${PWD_COMMAND}`; export r; \
23131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23132 $(HOST_EXPORTS) \
23133 for flag in $(EXTRA_HOST_FLAGS) ; do \
23134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23135 done; \
23136 echo "Doing clean in gprof" ; \
23137 (cd $(HOST_SUBDIR)/gprof && \
23138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23140 "RANLIB=$${RANLIB}" \
23141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23142 clean) \
23143 || exit 1
23145 @endif gprof
23147 .PHONY: maybe-distclean-gprof distclean-gprof
23148 maybe-distclean-gprof:
23149 @if gprof
23150 maybe-distclean-gprof: distclean-gprof
23152 distclean-gprof:
23153 @: $(MAKE); $(unstage)
23154 @[ -f ./gprof/Makefile ] || exit 0; \
23155 r=`${PWD_COMMAND}`; export r; \
23156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23157 $(HOST_EXPORTS) \
23158 for flag in $(EXTRA_HOST_FLAGS) ; do \
23159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23160 done; \
23161 echo "Doing distclean in gprof" ; \
23162 (cd $(HOST_SUBDIR)/gprof && \
23163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23165 "RANLIB=$${RANLIB}" \
23166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23167 distclean) \
23168 || exit 1
23170 @endif gprof
23172 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
23173 maybe-maintainer-clean-gprof:
23174 @if gprof
23175 maybe-maintainer-clean-gprof: maintainer-clean-gprof
23177 maintainer-clean-gprof:
23178 @: $(MAKE); $(unstage)
23179 @[ -f ./gprof/Makefile ] || exit 0; \
23180 r=`${PWD_COMMAND}`; export r; \
23181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182 $(HOST_EXPORTS) \
23183 for flag in $(EXTRA_HOST_FLAGS) ; do \
23184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23185 done; \
23186 echo "Doing maintainer-clean in gprof" ; \
23187 (cd $(HOST_SUBDIR)/gprof && \
23188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23190 "RANLIB=$${RANLIB}" \
23191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23192 maintainer-clean) \
23193 || exit 1
23195 @endif gprof
23199 .PHONY: configure-gzip maybe-configure-gzip
23200 maybe-configure-gzip:
23201 @if gcc-bootstrap
23202 configure-gzip: stage_current
23203 @endif gcc-bootstrap
23204 @if gzip
23205 maybe-configure-gzip: configure-gzip
23206 configure-gzip:
23207 @: $(MAKE); $(unstage)
23208 @r=`${PWD_COMMAND}`; export r; \
23209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23210 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
23211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
23212 $(HOST_EXPORTS) \
23213 echo Configuring in $(HOST_SUBDIR)/gzip; \
23214 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
23215 case $(srcdir) in \
23216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23217 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
23218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23219 esac; \
23220 srcdiroption="--srcdir=$${topdir}/gzip"; \
23221 libsrcdir="$$s/gzip"; \
23222 $(SHELL) $${libsrcdir}/configure \
23223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23224 --target=${target_alias} $${srcdiroption} \
23225 || exit 1
23226 @endif gzip
23232 .PHONY: all-gzip maybe-all-gzip
23233 maybe-all-gzip:
23234 @if gcc-bootstrap
23235 all-gzip: stage_current
23236 @endif gcc-bootstrap
23237 @if gzip
23238 TARGET-gzip=all
23239 maybe-all-gzip: all-gzip
23240 all-gzip: configure-gzip
23241 @: $(MAKE); $(unstage)
23242 @r=`${PWD_COMMAND}`; export r; \
23243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23244 $(HOST_EXPORTS) \
23245 (cd $(HOST_SUBDIR)/gzip && \
23246 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23247 $(TARGET-gzip))
23248 @endif gzip
23253 .PHONY: check-gzip maybe-check-gzip
23254 maybe-check-gzip:
23255 @if gzip
23256 maybe-check-gzip: check-gzip
23258 check-gzip:
23259 @: $(MAKE); $(unstage)
23260 @r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 $(HOST_EXPORTS) \
23263 (cd $(HOST_SUBDIR)/gzip && \
23264 $(MAKE) $(FLAGS_TO_PASS) check)
23266 @endif gzip
23268 .PHONY: install-gzip maybe-install-gzip
23269 maybe-install-gzip:
23270 @if gzip
23271 maybe-install-gzip: install-gzip
23273 install-gzip: installdirs
23274 @: $(MAKE); $(unstage)
23275 @r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 $(HOST_EXPORTS) \
23278 (cd $(HOST_SUBDIR)/gzip && \
23279 $(MAKE) $(FLAGS_TO_PASS) install)
23281 @endif gzip
23283 # Other targets (info, dvi, pdf, etc.)
23285 .PHONY: maybe-info-gzip info-gzip
23286 maybe-info-gzip:
23287 @if gzip
23288 maybe-info-gzip: info-gzip
23290 info-gzip: \
23291 configure-gzip
23292 @: $(MAKE); $(unstage)
23293 @[ -f ./gzip/Makefile ] || exit 0; \
23294 r=`${PWD_COMMAND}`; export r; \
23295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23296 $(HOST_EXPORTS) \
23297 for flag in $(EXTRA_HOST_FLAGS) ; do \
23298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23299 done; \
23300 echo "Doing info in gzip" ; \
23301 (cd $(HOST_SUBDIR)/gzip && \
23302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23304 "RANLIB=$${RANLIB}" \
23305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23306 info) \
23307 || exit 1
23309 @endif gzip
23311 .PHONY: maybe-dvi-gzip dvi-gzip
23312 maybe-dvi-gzip:
23313 @if gzip
23314 maybe-dvi-gzip: dvi-gzip
23316 dvi-gzip: \
23317 configure-gzip
23318 @: $(MAKE); $(unstage)
23319 @[ -f ./gzip/Makefile ] || exit 0; \
23320 r=`${PWD_COMMAND}`; export r; \
23321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23322 $(HOST_EXPORTS) \
23323 for flag in $(EXTRA_HOST_FLAGS) ; do \
23324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23325 done; \
23326 echo "Doing dvi in gzip" ; \
23327 (cd $(HOST_SUBDIR)/gzip && \
23328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23330 "RANLIB=$${RANLIB}" \
23331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23332 dvi) \
23333 || exit 1
23335 @endif gzip
23337 .PHONY: maybe-pdf-gzip pdf-gzip
23338 maybe-pdf-gzip:
23339 @if gzip
23340 maybe-pdf-gzip: pdf-gzip
23342 pdf-gzip: \
23343 configure-gzip
23344 @: $(MAKE); $(unstage)
23345 @[ -f ./gzip/Makefile ] || exit 0; \
23346 r=`${PWD_COMMAND}`; export r; \
23347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23348 $(HOST_EXPORTS) \
23349 for flag in $(EXTRA_HOST_FLAGS) ; do \
23350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23351 done; \
23352 echo "Doing pdf in gzip" ; \
23353 (cd $(HOST_SUBDIR)/gzip && \
23354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23356 "RANLIB=$${RANLIB}" \
23357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23358 pdf) \
23359 || exit 1
23361 @endif gzip
23363 .PHONY: maybe-html-gzip html-gzip
23364 maybe-html-gzip:
23365 @if gzip
23366 maybe-html-gzip: html-gzip
23368 html-gzip: \
23369 configure-gzip
23370 @: $(MAKE); $(unstage)
23371 @[ -f ./gzip/Makefile ] || exit 0; \
23372 r=`${PWD_COMMAND}`; export r; \
23373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23374 $(HOST_EXPORTS) \
23375 for flag in $(EXTRA_HOST_FLAGS) ; do \
23376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23377 done; \
23378 echo "Doing html in gzip" ; \
23379 (cd $(HOST_SUBDIR)/gzip && \
23380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23382 "RANLIB=$${RANLIB}" \
23383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23384 html) \
23385 || exit 1
23387 @endif gzip
23389 .PHONY: maybe-TAGS-gzip TAGS-gzip
23390 maybe-TAGS-gzip:
23391 @if gzip
23392 maybe-TAGS-gzip: TAGS-gzip
23394 TAGS-gzip: \
23395 configure-gzip
23396 @: $(MAKE); $(unstage)
23397 @[ -f ./gzip/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(HOST_EXPORTS) \
23401 for flag in $(EXTRA_HOST_FLAGS) ; do \
23402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23403 done; \
23404 echo "Doing TAGS in gzip" ; \
23405 (cd $(HOST_SUBDIR)/gzip && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23410 TAGS) \
23411 || exit 1
23413 @endif gzip
23415 .PHONY: maybe-install-info-gzip install-info-gzip
23416 maybe-install-info-gzip:
23417 @if gzip
23418 maybe-install-info-gzip: install-info-gzip
23420 install-info-gzip: \
23421 configure-gzip \
23422 info-gzip
23423 @: $(MAKE); $(unstage)
23424 @[ -f ./gzip/Makefile ] || exit 0; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(HOST_EXPORTS) \
23428 for flag in $(EXTRA_HOST_FLAGS) ; do \
23429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23430 done; \
23431 echo "Doing install-info in gzip" ; \
23432 (cd $(HOST_SUBDIR)/gzip && \
23433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23435 "RANLIB=$${RANLIB}" \
23436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23437 install-info) \
23438 || exit 1
23440 @endif gzip
23442 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
23443 maybe-install-pdf-gzip:
23444 @if gzip
23445 maybe-install-pdf-gzip: install-pdf-gzip
23447 install-pdf-gzip: \
23448 configure-gzip \
23449 pdf-gzip
23450 @: $(MAKE); $(unstage)
23451 @[ -f ./gzip/Makefile ] || exit 0; \
23452 r=`${PWD_COMMAND}`; export r; \
23453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23454 $(HOST_EXPORTS) \
23455 for flag in $(EXTRA_HOST_FLAGS) ; do \
23456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 done; \
23458 echo "Doing install-pdf in gzip" ; \
23459 (cd $(HOST_SUBDIR)/gzip && \
23460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23462 "RANLIB=$${RANLIB}" \
23463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23464 install-pdf) \
23465 || exit 1
23467 @endif gzip
23469 .PHONY: maybe-install-html-gzip install-html-gzip
23470 maybe-install-html-gzip:
23471 @if gzip
23472 maybe-install-html-gzip: install-html-gzip
23474 install-html-gzip: \
23475 configure-gzip \
23476 html-gzip
23477 @: $(MAKE); $(unstage)
23478 @[ -f ./gzip/Makefile ] || exit 0; \
23479 r=`${PWD_COMMAND}`; export r; \
23480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 $(HOST_EXPORTS) \
23482 for flag in $(EXTRA_HOST_FLAGS) ; do \
23483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23484 done; \
23485 echo "Doing install-html in gzip" ; \
23486 (cd $(HOST_SUBDIR)/gzip && \
23487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23489 "RANLIB=$${RANLIB}" \
23490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23491 install-html) \
23492 || exit 1
23494 @endif gzip
23496 .PHONY: maybe-installcheck-gzip installcheck-gzip
23497 maybe-installcheck-gzip:
23498 @if gzip
23499 maybe-installcheck-gzip: installcheck-gzip
23501 installcheck-gzip: \
23502 configure-gzip
23503 @: $(MAKE); $(unstage)
23504 @[ -f ./gzip/Makefile ] || exit 0; \
23505 r=`${PWD_COMMAND}`; export r; \
23506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23507 $(HOST_EXPORTS) \
23508 for flag in $(EXTRA_HOST_FLAGS) ; do \
23509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23510 done; \
23511 echo "Doing installcheck in gzip" ; \
23512 (cd $(HOST_SUBDIR)/gzip && \
23513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23515 "RANLIB=$${RANLIB}" \
23516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23517 installcheck) \
23518 || exit 1
23520 @endif gzip
23522 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
23523 maybe-mostlyclean-gzip:
23524 @if gzip
23525 maybe-mostlyclean-gzip: mostlyclean-gzip
23527 mostlyclean-gzip:
23528 @: $(MAKE); $(unstage)
23529 @[ -f ./gzip/Makefile ] || exit 0; \
23530 r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23532 $(HOST_EXPORTS) \
23533 for flag in $(EXTRA_HOST_FLAGS) ; do \
23534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23535 done; \
23536 echo "Doing mostlyclean in gzip" ; \
23537 (cd $(HOST_SUBDIR)/gzip && \
23538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23540 "RANLIB=$${RANLIB}" \
23541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23542 mostlyclean) \
23543 || exit 1
23545 @endif gzip
23547 .PHONY: maybe-clean-gzip clean-gzip
23548 maybe-clean-gzip:
23549 @if gzip
23550 maybe-clean-gzip: clean-gzip
23552 clean-gzip:
23553 @: $(MAKE); $(unstage)
23554 @[ -f ./gzip/Makefile ] || exit 0; \
23555 r=`${PWD_COMMAND}`; export r; \
23556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23557 $(HOST_EXPORTS) \
23558 for flag in $(EXTRA_HOST_FLAGS) ; do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23560 done; \
23561 echo "Doing clean in gzip" ; \
23562 (cd $(HOST_SUBDIR)/gzip && \
23563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23565 "RANLIB=$${RANLIB}" \
23566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23567 clean) \
23568 || exit 1
23570 @endif gzip
23572 .PHONY: maybe-distclean-gzip distclean-gzip
23573 maybe-distclean-gzip:
23574 @if gzip
23575 maybe-distclean-gzip: distclean-gzip
23577 distclean-gzip:
23578 @: $(MAKE); $(unstage)
23579 @[ -f ./gzip/Makefile ] || exit 0; \
23580 r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 $(HOST_EXPORTS) \
23583 for flag in $(EXTRA_HOST_FLAGS) ; do \
23584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23585 done; \
23586 echo "Doing distclean in gzip" ; \
23587 (cd $(HOST_SUBDIR)/gzip && \
23588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23590 "RANLIB=$${RANLIB}" \
23591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23592 distclean) \
23593 || exit 1
23595 @endif gzip
23597 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
23598 maybe-maintainer-clean-gzip:
23599 @if gzip
23600 maybe-maintainer-clean-gzip: maintainer-clean-gzip
23602 maintainer-clean-gzip:
23603 @: $(MAKE); $(unstage)
23604 @[ -f ./gzip/Makefile ] || exit 0; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23607 $(HOST_EXPORTS) \
23608 for flag in $(EXTRA_HOST_FLAGS) ; do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23610 done; \
23611 echo "Doing maintainer-clean in gzip" ; \
23612 (cd $(HOST_SUBDIR)/gzip && \
23613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23615 "RANLIB=$${RANLIB}" \
23616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23617 maintainer-clean) \
23618 || exit 1
23620 @endif gzip
23624 .PHONY: configure-hello maybe-configure-hello
23625 maybe-configure-hello:
23626 @if gcc-bootstrap
23627 configure-hello: stage_current
23628 @endif gcc-bootstrap
23629 @if hello
23630 maybe-configure-hello: configure-hello
23631 configure-hello:
23632 @: $(MAKE); $(unstage)
23633 @r=`${PWD_COMMAND}`; export r; \
23634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23635 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
23636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
23637 $(HOST_EXPORTS) \
23638 echo Configuring in $(HOST_SUBDIR)/hello; \
23639 cd "$(HOST_SUBDIR)/hello" || exit 1; \
23640 case $(srcdir) in \
23641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23642 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
23643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23644 esac; \
23645 srcdiroption="--srcdir=$${topdir}/hello"; \
23646 libsrcdir="$$s/hello"; \
23647 $(SHELL) $${libsrcdir}/configure \
23648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23649 --target=${target_alias} $${srcdiroption} \
23650 || exit 1
23651 @endif hello
23657 .PHONY: all-hello maybe-all-hello
23658 maybe-all-hello:
23659 @if gcc-bootstrap
23660 all-hello: stage_current
23661 @endif gcc-bootstrap
23662 @if hello
23663 TARGET-hello=all
23664 maybe-all-hello: all-hello
23665 all-hello: configure-hello
23666 @: $(MAKE); $(unstage)
23667 @r=`${PWD_COMMAND}`; export r; \
23668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23669 $(HOST_EXPORTS) \
23670 (cd $(HOST_SUBDIR)/hello && \
23671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23672 $(TARGET-hello))
23673 @endif hello
23678 .PHONY: check-hello maybe-check-hello
23679 maybe-check-hello:
23680 @if hello
23681 maybe-check-hello: check-hello
23683 check-hello:
23684 @: $(MAKE); $(unstage)
23685 @r=`${PWD_COMMAND}`; export r; \
23686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 $(HOST_EXPORTS) \
23688 (cd $(HOST_SUBDIR)/hello && \
23689 $(MAKE) $(FLAGS_TO_PASS) check)
23691 @endif hello
23693 .PHONY: install-hello maybe-install-hello
23694 maybe-install-hello:
23695 @if hello
23696 maybe-install-hello: install-hello
23698 install-hello: installdirs
23699 @: $(MAKE); $(unstage)
23700 @r=`${PWD_COMMAND}`; export r; \
23701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23702 $(HOST_EXPORTS) \
23703 (cd $(HOST_SUBDIR)/hello && \
23704 $(MAKE) $(FLAGS_TO_PASS) install)
23706 @endif hello
23708 # Other targets (info, dvi, pdf, etc.)
23710 .PHONY: maybe-info-hello info-hello
23711 maybe-info-hello:
23712 @if hello
23713 maybe-info-hello: info-hello
23715 info-hello: \
23716 configure-hello
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./hello/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing info in hello" ; \
23726 (cd $(HOST_SUBDIR)/hello && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23731 info) \
23732 || exit 1
23734 @endif hello
23736 .PHONY: maybe-dvi-hello dvi-hello
23737 maybe-dvi-hello:
23738 @if hello
23739 maybe-dvi-hello: dvi-hello
23741 dvi-hello: \
23742 configure-hello
23743 @: $(MAKE); $(unstage)
23744 @[ -f ./hello/Makefile ] || exit 0; \
23745 r=`${PWD_COMMAND}`; export r; \
23746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23747 $(HOST_EXPORTS) \
23748 for flag in $(EXTRA_HOST_FLAGS) ; do \
23749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23750 done; \
23751 echo "Doing dvi in hello" ; \
23752 (cd $(HOST_SUBDIR)/hello && \
23753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23755 "RANLIB=$${RANLIB}" \
23756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23757 dvi) \
23758 || exit 1
23760 @endif hello
23762 .PHONY: maybe-pdf-hello pdf-hello
23763 maybe-pdf-hello:
23764 @if hello
23765 maybe-pdf-hello: pdf-hello
23767 pdf-hello: \
23768 configure-hello
23769 @: $(MAKE); $(unstage)
23770 @[ -f ./hello/Makefile ] || exit 0; \
23771 r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23773 $(HOST_EXPORTS) \
23774 for flag in $(EXTRA_HOST_FLAGS) ; do \
23775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23776 done; \
23777 echo "Doing pdf in hello" ; \
23778 (cd $(HOST_SUBDIR)/hello && \
23779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23781 "RANLIB=$${RANLIB}" \
23782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23783 pdf) \
23784 || exit 1
23786 @endif hello
23788 .PHONY: maybe-html-hello html-hello
23789 maybe-html-hello:
23790 @if hello
23791 maybe-html-hello: html-hello
23793 html-hello: \
23794 configure-hello
23795 @: $(MAKE); $(unstage)
23796 @[ -f ./hello/Makefile ] || exit 0; \
23797 r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 $(HOST_EXPORTS) \
23800 for flag in $(EXTRA_HOST_FLAGS) ; do \
23801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23802 done; \
23803 echo "Doing html in hello" ; \
23804 (cd $(HOST_SUBDIR)/hello && \
23805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23807 "RANLIB=$${RANLIB}" \
23808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23809 html) \
23810 || exit 1
23812 @endif hello
23814 .PHONY: maybe-TAGS-hello TAGS-hello
23815 maybe-TAGS-hello:
23816 @if hello
23817 maybe-TAGS-hello: TAGS-hello
23819 TAGS-hello: \
23820 configure-hello
23821 @: $(MAKE); $(unstage)
23822 @[ -f ./hello/Makefile ] || exit 0; \
23823 r=`${PWD_COMMAND}`; export r; \
23824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23825 $(HOST_EXPORTS) \
23826 for flag in $(EXTRA_HOST_FLAGS) ; do \
23827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23828 done; \
23829 echo "Doing TAGS in hello" ; \
23830 (cd $(HOST_SUBDIR)/hello && \
23831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23833 "RANLIB=$${RANLIB}" \
23834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23835 TAGS) \
23836 || exit 1
23838 @endif hello
23840 .PHONY: maybe-install-info-hello install-info-hello
23841 maybe-install-info-hello:
23842 @if hello
23843 maybe-install-info-hello: install-info-hello
23845 install-info-hello: \
23846 configure-hello \
23847 info-hello
23848 @: $(MAKE); $(unstage)
23849 @[ -f ./hello/Makefile ] || exit 0; \
23850 r=`${PWD_COMMAND}`; export r; \
23851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23852 $(HOST_EXPORTS) \
23853 for flag in $(EXTRA_HOST_FLAGS) ; do \
23854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23855 done; \
23856 echo "Doing install-info in hello" ; \
23857 (cd $(HOST_SUBDIR)/hello && \
23858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23860 "RANLIB=$${RANLIB}" \
23861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23862 install-info) \
23863 || exit 1
23865 @endif hello
23867 .PHONY: maybe-install-pdf-hello install-pdf-hello
23868 maybe-install-pdf-hello:
23869 @if hello
23870 maybe-install-pdf-hello: install-pdf-hello
23872 install-pdf-hello: \
23873 configure-hello \
23874 pdf-hello
23875 @: $(MAKE); $(unstage)
23876 @[ -f ./hello/Makefile ] || exit 0; \
23877 r=`${PWD_COMMAND}`; export r; \
23878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 $(HOST_EXPORTS) \
23880 for flag in $(EXTRA_HOST_FLAGS) ; do \
23881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23882 done; \
23883 echo "Doing install-pdf in hello" ; \
23884 (cd $(HOST_SUBDIR)/hello && \
23885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23887 "RANLIB=$${RANLIB}" \
23888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23889 install-pdf) \
23890 || exit 1
23892 @endif hello
23894 .PHONY: maybe-install-html-hello install-html-hello
23895 maybe-install-html-hello:
23896 @if hello
23897 maybe-install-html-hello: install-html-hello
23899 install-html-hello: \
23900 configure-hello \
23901 html-hello
23902 @: $(MAKE); $(unstage)
23903 @[ -f ./hello/Makefile ] || exit 0; \
23904 r=`${PWD_COMMAND}`; export r; \
23905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23906 $(HOST_EXPORTS) \
23907 for flag in $(EXTRA_HOST_FLAGS) ; do \
23908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23909 done; \
23910 echo "Doing install-html in hello" ; \
23911 (cd $(HOST_SUBDIR)/hello && \
23912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23914 "RANLIB=$${RANLIB}" \
23915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23916 install-html) \
23917 || exit 1
23919 @endif hello
23921 .PHONY: maybe-installcheck-hello installcheck-hello
23922 maybe-installcheck-hello:
23923 @if hello
23924 maybe-installcheck-hello: installcheck-hello
23926 installcheck-hello: \
23927 configure-hello
23928 @: $(MAKE); $(unstage)
23929 @[ -f ./hello/Makefile ] || exit 0; \
23930 r=`${PWD_COMMAND}`; export r; \
23931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23932 $(HOST_EXPORTS) \
23933 for flag in $(EXTRA_HOST_FLAGS) ; do \
23934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23935 done; \
23936 echo "Doing installcheck in hello" ; \
23937 (cd $(HOST_SUBDIR)/hello && \
23938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23940 "RANLIB=$${RANLIB}" \
23941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23942 installcheck) \
23943 || exit 1
23945 @endif hello
23947 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
23948 maybe-mostlyclean-hello:
23949 @if hello
23950 maybe-mostlyclean-hello: mostlyclean-hello
23952 mostlyclean-hello:
23953 @: $(MAKE); $(unstage)
23954 @[ -f ./hello/Makefile ] || exit 0; \
23955 r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 $(HOST_EXPORTS) \
23958 for flag in $(EXTRA_HOST_FLAGS) ; do \
23959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23960 done; \
23961 echo "Doing mostlyclean in hello" ; \
23962 (cd $(HOST_SUBDIR)/hello && \
23963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23965 "RANLIB=$${RANLIB}" \
23966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23967 mostlyclean) \
23968 || exit 1
23970 @endif hello
23972 .PHONY: maybe-clean-hello clean-hello
23973 maybe-clean-hello:
23974 @if hello
23975 maybe-clean-hello: clean-hello
23977 clean-hello:
23978 @: $(MAKE); $(unstage)
23979 @[ -f ./hello/Makefile ] || exit 0; \
23980 r=`${PWD_COMMAND}`; export r; \
23981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23982 $(HOST_EXPORTS) \
23983 for flag in $(EXTRA_HOST_FLAGS) ; do \
23984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23985 done; \
23986 echo "Doing clean in hello" ; \
23987 (cd $(HOST_SUBDIR)/hello && \
23988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23990 "RANLIB=$${RANLIB}" \
23991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23992 clean) \
23993 || exit 1
23995 @endif hello
23997 .PHONY: maybe-distclean-hello distclean-hello
23998 maybe-distclean-hello:
23999 @if hello
24000 maybe-distclean-hello: distclean-hello
24002 distclean-hello:
24003 @: $(MAKE); $(unstage)
24004 @[ -f ./hello/Makefile ] || exit 0; \
24005 r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24007 $(HOST_EXPORTS) \
24008 for flag in $(EXTRA_HOST_FLAGS) ; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24010 done; \
24011 echo "Doing distclean in hello" ; \
24012 (cd $(HOST_SUBDIR)/hello && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24017 distclean) \
24018 || exit 1
24020 @endif hello
24022 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
24023 maybe-maintainer-clean-hello:
24024 @if hello
24025 maybe-maintainer-clean-hello: maintainer-clean-hello
24027 maintainer-clean-hello:
24028 @: $(MAKE); $(unstage)
24029 @[ -f ./hello/Makefile ] || exit 0; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(HOST_EXPORTS) \
24033 for flag in $(EXTRA_HOST_FLAGS) ; do \
24034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 done; \
24036 echo "Doing maintainer-clean in hello" ; \
24037 (cd $(HOST_SUBDIR)/hello && \
24038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040 "RANLIB=$${RANLIB}" \
24041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24042 maintainer-clean) \
24043 || exit 1
24045 @endif hello
24049 .PHONY: configure-indent maybe-configure-indent
24050 maybe-configure-indent:
24051 @if gcc-bootstrap
24052 configure-indent: stage_current
24053 @endif gcc-bootstrap
24054 @if indent
24055 maybe-configure-indent: configure-indent
24056 configure-indent:
24057 @: $(MAKE); $(unstage)
24058 @r=`${PWD_COMMAND}`; export r; \
24059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24060 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
24061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
24062 $(HOST_EXPORTS) \
24063 echo Configuring in $(HOST_SUBDIR)/indent; \
24064 cd "$(HOST_SUBDIR)/indent" || exit 1; \
24065 case $(srcdir) in \
24066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24067 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
24068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24069 esac; \
24070 srcdiroption="--srcdir=$${topdir}/indent"; \
24071 libsrcdir="$$s/indent"; \
24072 $(SHELL) $${libsrcdir}/configure \
24073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24074 --target=${target_alias} $${srcdiroption} \
24075 || exit 1
24076 @endif indent
24082 .PHONY: all-indent maybe-all-indent
24083 maybe-all-indent:
24084 @if gcc-bootstrap
24085 all-indent: stage_current
24086 @endif gcc-bootstrap
24087 @if indent
24088 TARGET-indent=all
24089 maybe-all-indent: all-indent
24090 all-indent: configure-indent
24091 @: $(MAKE); $(unstage)
24092 @r=`${PWD_COMMAND}`; export r; \
24093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24094 $(HOST_EXPORTS) \
24095 (cd $(HOST_SUBDIR)/indent && \
24096 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24097 $(TARGET-indent))
24098 @endif indent
24103 .PHONY: check-indent maybe-check-indent
24104 maybe-check-indent:
24105 @if indent
24106 maybe-check-indent: check-indent
24108 check-indent:
24109 @: $(MAKE); $(unstage)
24110 @r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112 $(HOST_EXPORTS) \
24113 (cd $(HOST_SUBDIR)/indent && \
24114 $(MAKE) $(FLAGS_TO_PASS) check)
24116 @endif indent
24118 .PHONY: install-indent maybe-install-indent
24119 maybe-install-indent:
24120 @if indent
24121 maybe-install-indent: install-indent
24123 install-indent: installdirs
24124 @: $(MAKE); $(unstage)
24125 @r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24127 $(HOST_EXPORTS) \
24128 (cd $(HOST_SUBDIR)/indent && \
24129 $(MAKE) $(FLAGS_TO_PASS) install)
24131 @endif indent
24133 # Other targets (info, dvi, pdf, etc.)
24135 .PHONY: maybe-info-indent info-indent
24136 maybe-info-indent:
24137 @if indent
24138 maybe-info-indent: info-indent
24140 info-indent: \
24141 configure-indent
24142 @: $(MAKE); $(unstage)
24143 @[ -f ./indent/Makefile ] || exit 0; \
24144 r=`${PWD_COMMAND}`; export r; \
24145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24146 $(HOST_EXPORTS) \
24147 for flag in $(EXTRA_HOST_FLAGS) ; do \
24148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24149 done; \
24150 echo "Doing info in indent" ; \
24151 (cd $(HOST_SUBDIR)/indent && \
24152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24154 "RANLIB=$${RANLIB}" \
24155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24156 info) \
24157 || exit 1
24159 @endif indent
24161 .PHONY: maybe-dvi-indent dvi-indent
24162 maybe-dvi-indent:
24163 @if indent
24164 maybe-dvi-indent: dvi-indent
24166 dvi-indent: \
24167 configure-indent
24168 @: $(MAKE); $(unstage)
24169 @[ -f ./indent/Makefile ] || exit 0; \
24170 r=`${PWD_COMMAND}`; export r; \
24171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24172 $(HOST_EXPORTS) \
24173 for flag in $(EXTRA_HOST_FLAGS) ; do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175 done; \
24176 echo "Doing dvi in indent" ; \
24177 (cd $(HOST_SUBDIR)/indent && \
24178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24180 "RANLIB=$${RANLIB}" \
24181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24182 dvi) \
24183 || exit 1
24185 @endif indent
24187 .PHONY: maybe-pdf-indent pdf-indent
24188 maybe-pdf-indent:
24189 @if indent
24190 maybe-pdf-indent: pdf-indent
24192 pdf-indent: \
24193 configure-indent
24194 @: $(MAKE); $(unstage)
24195 @[ -f ./indent/Makefile ] || exit 0; \
24196 r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 $(HOST_EXPORTS) \
24199 for flag in $(EXTRA_HOST_FLAGS) ; do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201 done; \
24202 echo "Doing pdf in indent" ; \
24203 (cd $(HOST_SUBDIR)/indent && \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24206 "RANLIB=$${RANLIB}" \
24207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24208 pdf) \
24209 || exit 1
24211 @endif indent
24213 .PHONY: maybe-html-indent html-indent
24214 maybe-html-indent:
24215 @if indent
24216 maybe-html-indent: html-indent
24218 html-indent: \
24219 configure-indent
24220 @: $(MAKE); $(unstage)
24221 @[ -f ./indent/Makefile ] || exit 0; \
24222 r=`${PWD_COMMAND}`; export r; \
24223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 $(HOST_EXPORTS) \
24225 for flag in $(EXTRA_HOST_FLAGS) ; do \
24226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 done; \
24228 echo "Doing html in indent" ; \
24229 (cd $(HOST_SUBDIR)/indent && \
24230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24232 "RANLIB=$${RANLIB}" \
24233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24234 html) \
24235 || exit 1
24237 @endif indent
24239 .PHONY: maybe-TAGS-indent TAGS-indent
24240 maybe-TAGS-indent:
24241 @if indent
24242 maybe-TAGS-indent: TAGS-indent
24244 TAGS-indent: \
24245 configure-indent
24246 @: $(MAKE); $(unstage)
24247 @[ -f ./indent/Makefile ] || exit 0; \
24248 r=`${PWD_COMMAND}`; export r; \
24249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24250 $(HOST_EXPORTS) \
24251 for flag in $(EXTRA_HOST_FLAGS) ; do \
24252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 done; \
24254 echo "Doing TAGS in indent" ; \
24255 (cd $(HOST_SUBDIR)/indent && \
24256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24258 "RANLIB=$${RANLIB}" \
24259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24260 TAGS) \
24261 || exit 1
24263 @endif indent
24265 .PHONY: maybe-install-info-indent install-info-indent
24266 maybe-install-info-indent:
24267 @if indent
24268 maybe-install-info-indent: install-info-indent
24270 install-info-indent: \
24271 configure-indent \
24272 info-indent
24273 @: $(MAKE); $(unstage)
24274 @[ -f ./indent/Makefile ] || exit 0; \
24275 r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 $(HOST_EXPORTS) \
24278 for flag in $(EXTRA_HOST_FLAGS) ; do \
24279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24280 done; \
24281 echo "Doing install-info in indent" ; \
24282 (cd $(HOST_SUBDIR)/indent && \
24283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24285 "RANLIB=$${RANLIB}" \
24286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24287 install-info) \
24288 || exit 1
24290 @endif indent
24292 .PHONY: maybe-install-pdf-indent install-pdf-indent
24293 maybe-install-pdf-indent:
24294 @if indent
24295 maybe-install-pdf-indent: install-pdf-indent
24297 install-pdf-indent: \
24298 configure-indent \
24299 pdf-indent
24300 @: $(MAKE); $(unstage)
24301 @[ -f ./indent/Makefile ] || exit 0; \
24302 r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(HOST_EXPORTS) \
24305 for flag in $(EXTRA_HOST_FLAGS) ; do \
24306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24307 done; \
24308 echo "Doing install-pdf in indent" ; \
24309 (cd $(HOST_SUBDIR)/indent && \
24310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24312 "RANLIB=$${RANLIB}" \
24313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24314 install-pdf) \
24315 || exit 1
24317 @endif indent
24319 .PHONY: maybe-install-html-indent install-html-indent
24320 maybe-install-html-indent:
24321 @if indent
24322 maybe-install-html-indent: install-html-indent
24324 install-html-indent: \
24325 configure-indent \
24326 html-indent
24327 @: $(MAKE); $(unstage)
24328 @[ -f ./indent/Makefile ] || exit 0; \
24329 r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 $(HOST_EXPORTS) \
24332 for flag in $(EXTRA_HOST_FLAGS) ; do \
24333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24334 done; \
24335 echo "Doing install-html in indent" ; \
24336 (cd $(HOST_SUBDIR)/indent && \
24337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24339 "RANLIB=$${RANLIB}" \
24340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24341 install-html) \
24342 || exit 1
24344 @endif indent
24346 .PHONY: maybe-installcheck-indent installcheck-indent
24347 maybe-installcheck-indent:
24348 @if indent
24349 maybe-installcheck-indent: installcheck-indent
24351 installcheck-indent: \
24352 configure-indent
24353 @: $(MAKE); $(unstage)
24354 @[ -f ./indent/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing installcheck in indent" ; \
24362 (cd $(HOST_SUBDIR)/indent && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24367 installcheck) \
24368 || exit 1
24370 @endif indent
24372 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
24373 maybe-mostlyclean-indent:
24374 @if indent
24375 maybe-mostlyclean-indent: mostlyclean-indent
24377 mostlyclean-indent:
24378 @: $(MAKE); $(unstage)
24379 @[ -f ./indent/Makefile ] || exit 0; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(HOST_EXPORTS) \
24383 for flag in $(EXTRA_HOST_FLAGS) ; do \
24384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24385 done; \
24386 echo "Doing mostlyclean in indent" ; \
24387 (cd $(HOST_SUBDIR)/indent && \
24388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24390 "RANLIB=$${RANLIB}" \
24391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24392 mostlyclean) \
24393 || exit 1
24395 @endif indent
24397 .PHONY: maybe-clean-indent clean-indent
24398 maybe-clean-indent:
24399 @if indent
24400 maybe-clean-indent: clean-indent
24402 clean-indent:
24403 @: $(MAKE); $(unstage)
24404 @[ -f ./indent/Makefile ] || exit 0; \
24405 r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24407 $(HOST_EXPORTS) \
24408 for flag in $(EXTRA_HOST_FLAGS) ; do \
24409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24410 done; \
24411 echo "Doing clean in indent" ; \
24412 (cd $(HOST_SUBDIR)/indent && \
24413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24415 "RANLIB=$${RANLIB}" \
24416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24417 clean) \
24418 || exit 1
24420 @endif indent
24422 .PHONY: maybe-distclean-indent distclean-indent
24423 maybe-distclean-indent:
24424 @if indent
24425 maybe-distclean-indent: distclean-indent
24427 distclean-indent:
24428 @: $(MAKE); $(unstage)
24429 @[ -f ./indent/Makefile ] || exit 0; \
24430 r=`${PWD_COMMAND}`; export r; \
24431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24432 $(HOST_EXPORTS) \
24433 for flag in $(EXTRA_HOST_FLAGS) ; do \
24434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24435 done; \
24436 echo "Doing distclean in indent" ; \
24437 (cd $(HOST_SUBDIR)/indent && \
24438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24440 "RANLIB=$${RANLIB}" \
24441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24442 distclean) \
24443 || exit 1
24445 @endif indent
24447 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
24448 maybe-maintainer-clean-indent:
24449 @if indent
24450 maybe-maintainer-clean-indent: maintainer-clean-indent
24452 maintainer-clean-indent:
24453 @: $(MAKE); $(unstage)
24454 @[ -f ./indent/Makefile ] || exit 0; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(HOST_EXPORTS) \
24458 for flag in $(EXTRA_HOST_FLAGS) ; do \
24459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24460 done; \
24461 echo "Doing maintainer-clean in indent" ; \
24462 (cd $(HOST_SUBDIR)/indent && \
24463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24465 "RANLIB=$${RANLIB}" \
24466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24467 maintainer-clean) \
24468 || exit 1
24470 @endif indent
24474 .PHONY: configure-intl maybe-configure-intl
24475 maybe-configure-intl:
24476 @if gcc-bootstrap
24477 configure-intl: stage_current
24478 @endif gcc-bootstrap
24479 @if intl
24480 maybe-configure-intl: configure-intl
24481 configure-intl:
24482 @r=`${PWD_COMMAND}`; export r; \
24483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24484 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24486 $(HOST_EXPORTS) \
24487 echo Configuring in $(HOST_SUBDIR)/intl; \
24488 cd "$(HOST_SUBDIR)/intl" || exit 1; \
24489 case $(srcdir) in \
24490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24491 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24493 esac; \
24494 srcdiroption="--srcdir=$${topdir}/intl"; \
24495 libsrcdir="$$s/intl"; \
24496 $(SHELL) $${libsrcdir}/configure \
24497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24498 --target=${target_alias} $${srcdiroption} \
24499 || exit 1
24500 @endif intl
24504 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
24505 maybe-configure-stage1-intl:
24506 @if intl-bootstrap
24507 maybe-configure-stage1-intl: configure-stage1-intl
24508 configure-stage1-intl:
24509 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24510 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24511 @r=`${PWD_COMMAND}`; export r; \
24512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 TFLAGS="$(STAGE1_TFLAGS)"; \
24514 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24515 $(HOST_EXPORTS) \
24516 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24517 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24518 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24519 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
24520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24521 cd $(HOST_SUBDIR)/intl || exit 1; \
24522 case $(srcdir) in \
24523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24524 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24526 esac; \
24527 srcdiroption="--srcdir=$${topdir}/intl"; \
24528 libsrcdir="$$s/intl"; \
24529 $(SHELL) $${libsrcdir}/configure \
24530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24531 --target=${target_alias} $${srcdiroption} \
24532 $(STAGE1_CONFIGURE_FLAGS)
24533 @endif intl-bootstrap
24535 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
24536 maybe-configure-stage2-intl:
24537 @if intl-bootstrap
24538 maybe-configure-stage2-intl: configure-stage2-intl
24539 configure-stage2-intl:
24540 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24542 @r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 TFLAGS="$(STAGE2_TFLAGS)"; \
24545 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24546 $(HOST_EXPORTS) \
24547 $(POSTSTAGE1_HOST_EXPORTS) \
24548 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24549 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24550 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24551 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
24552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24553 cd $(HOST_SUBDIR)/intl || exit 1; \
24554 case $(srcdir) in \
24555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24556 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24558 esac; \
24559 srcdiroption="--srcdir=$${topdir}/intl"; \
24560 libsrcdir="$$s/intl"; \
24561 $(SHELL) $${libsrcdir}/configure \
24562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24563 --target=${target_alias} $${srcdiroption} \
24564 --with-build-libsubdir=$(HOST_SUBDIR) \
24565 $(STAGE2_CONFIGURE_FLAGS)
24566 @endif intl-bootstrap
24568 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
24569 maybe-configure-stage3-intl:
24570 @if intl-bootstrap
24571 maybe-configure-stage3-intl: configure-stage3-intl
24572 configure-stage3-intl:
24573 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24575 @r=`${PWD_COMMAND}`; export r; \
24576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24577 TFLAGS="$(STAGE3_TFLAGS)"; \
24578 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24579 $(HOST_EXPORTS) \
24580 $(POSTSTAGE1_HOST_EXPORTS) \
24581 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24582 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24583 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24584 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
24585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24586 cd $(HOST_SUBDIR)/intl || exit 1; \
24587 case $(srcdir) in \
24588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24589 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24591 esac; \
24592 srcdiroption="--srcdir=$${topdir}/intl"; \
24593 libsrcdir="$$s/intl"; \
24594 $(SHELL) $${libsrcdir}/configure \
24595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24596 --target=${target_alias} $${srcdiroption} \
24597 --with-build-libsubdir=$(HOST_SUBDIR) \
24598 $(STAGE3_CONFIGURE_FLAGS)
24599 @endif intl-bootstrap
24601 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
24602 maybe-configure-stage4-intl:
24603 @if intl-bootstrap
24604 maybe-configure-stage4-intl: configure-stage4-intl
24605 configure-stage4-intl:
24606 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24608 @r=`${PWD_COMMAND}`; export r; \
24609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24610 TFLAGS="$(STAGE4_TFLAGS)"; \
24611 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24612 $(HOST_EXPORTS) \
24613 $(POSTSTAGE1_HOST_EXPORTS) \
24614 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24615 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24616 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24617 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
24618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24619 cd $(HOST_SUBDIR)/intl || exit 1; \
24620 case $(srcdir) in \
24621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24622 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24624 esac; \
24625 srcdiroption="--srcdir=$${topdir}/intl"; \
24626 libsrcdir="$$s/intl"; \
24627 $(SHELL) $${libsrcdir}/configure \
24628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24629 --target=${target_alias} $${srcdiroption} \
24630 --with-build-libsubdir=$(HOST_SUBDIR) \
24631 $(STAGE4_CONFIGURE_FLAGS)
24632 @endif intl-bootstrap
24634 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
24635 maybe-configure-stageprofile-intl:
24636 @if intl-bootstrap
24637 maybe-configure-stageprofile-intl: configure-stageprofile-intl
24638 configure-stageprofile-intl:
24639 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24641 @r=`${PWD_COMMAND}`; export r; \
24642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24643 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24644 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24645 $(HOST_EXPORTS) \
24646 $(POSTSTAGE1_HOST_EXPORTS) \
24647 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24648 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24649 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24650 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
24651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24652 cd $(HOST_SUBDIR)/intl || exit 1; \
24653 case $(srcdir) in \
24654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24655 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24657 esac; \
24658 srcdiroption="--srcdir=$${topdir}/intl"; \
24659 libsrcdir="$$s/intl"; \
24660 $(SHELL) $${libsrcdir}/configure \
24661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24662 --target=${target_alias} $${srcdiroption} \
24663 --with-build-libsubdir=$(HOST_SUBDIR) \
24664 $(STAGEprofile_CONFIGURE_FLAGS)
24665 @endif intl-bootstrap
24667 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
24668 maybe-configure-stagefeedback-intl:
24669 @if intl-bootstrap
24670 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
24671 configure-stagefeedback-intl:
24672 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
24674 @r=`${PWD_COMMAND}`; export r; \
24675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24676 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24677 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
24678 $(HOST_EXPORTS) \
24679 $(POSTSTAGE1_HOST_EXPORTS) \
24680 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
24681 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
24682 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
24683 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
24684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
24685 cd $(HOST_SUBDIR)/intl || exit 1; \
24686 case $(srcdir) in \
24687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24688 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
24689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24690 esac; \
24691 srcdiroption="--srcdir=$${topdir}/intl"; \
24692 libsrcdir="$$s/intl"; \
24693 $(SHELL) $${libsrcdir}/configure \
24694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24695 --target=${target_alias} $${srcdiroption} \
24696 --with-build-libsubdir=$(HOST_SUBDIR) \
24697 $(STAGEfeedback_CONFIGURE_FLAGS)
24698 @endif intl-bootstrap
24704 .PHONY: all-intl maybe-all-intl
24705 maybe-all-intl:
24706 @if gcc-bootstrap
24707 all-intl: stage_current
24708 @endif gcc-bootstrap
24709 @if intl
24710 TARGET-intl=all
24711 maybe-all-intl: all-intl
24712 all-intl: configure-intl
24713 @r=`${PWD_COMMAND}`; export r; \
24714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(HOST_EXPORTS) \
24716 (cd $(HOST_SUBDIR)/intl && \
24717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24718 $(TARGET-intl))
24719 @endif intl
24723 .PHONY: all-stage1-intl maybe-all-stage1-intl
24724 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
24725 maybe-all-stage1-intl:
24726 maybe-clean-stage1-intl:
24727 @if intl-bootstrap
24728 maybe-all-stage1-intl: all-stage1-intl
24729 all-stage1: all-stage1-intl
24730 TARGET-stage1-intl = $(TARGET-intl)
24731 all-stage1-intl: configure-stage1-intl
24732 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24733 @r=`${PWD_COMMAND}`; export r; \
24734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735 TFLAGS="$(STAGE1_TFLAGS)"; \
24736 $(HOST_EXPORTS) \
24737 cd $(HOST_SUBDIR)/intl && \
24738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24739 CFLAGS="$(STAGE1_CFLAGS)" \
24740 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24741 LIBCFLAGS="$(LIBCFLAGS)" \
24742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24745 $(EXTRA_HOST_FLAGS) \
24746 TFLAGS="$(STAGE1_TFLAGS)" \
24747 $(TARGET-stage1-intl)
24749 maybe-clean-stage1-intl: clean-stage1-intl
24750 clean-stage1: clean-stage1-intl
24751 clean-stage1-intl:
24752 @if [ $(current_stage) = stage1 ]; then \
24753 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24754 else \
24755 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
24756 $(MAKE) stage1-start; \
24757 fi; \
24758 cd $(HOST_SUBDIR)/intl && \
24759 $(MAKE) $(EXTRA_HOST_FLAGS) \
24760 clean
24761 @endif intl-bootstrap
24764 .PHONY: all-stage2-intl maybe-all-stage2-intl
24765 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
24766 maybe-all-stage2-intl:
24767 maybe-clean-stage2-intl:
24768 @if intl-bootstrap
24769 maybe-all-stage2-intl: all-stage2-intl
24770 all-stage2: all-stage2-intl
24771 TARGET-stage2-intl = $(TARGET-intl)
24772 all-stage2-intl: configure-stage2-intl
24773 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24774 @r=`${PWD_COMMAND}`; export r; \
24775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24776 TFLAGS="$(STAGE2_TFLAGS)"; \
24777 $(HOST_EXPORTS) \
24778 $(POSTSTAGE1_HOST_EXPORTS) \
24779 cd $(HOST_SUBDIR)/intl && \
24780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24781 CFLAGS="$(STAGE2_CFLAGS)" \
24782 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24783 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24788 TFLAGS="$(STAGE2_TFLAGS)" \
24789 $(TARGET-stage2-intl)
24791 maybe-clean-stage2-intl: clean-stage2-intl
24792 clean-stage2: clean-stage2-intl
24793 clean-stage2-intl:
24794 @if [ $(current_stage) = stage2 ]; then \
24795 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24796 else \
24797 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
24798 $(MAKE) stage2-start; \
24799 fi; \
24800 cd $(HOST_SUBDIR)/intl && \
24801 $(MAKE) $(EXTRA_HOST_FLAGS) \
24802 $(POSTSTAGE1_FLAGS_TO_PASS) \
24803 clean
24804 @endif intl-bootstrap
24807 .PHONY: all-stage3-intl maybe-all-stage3-intl
24808 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
24809 maybe-all-stage3-intl:
24810 maybe-clean-stage3-intl:
24811 @if intl-bootstrap
24812 maybe-all-stage3-intl: all-stage3-intl
24813 all-stage3: all-stage3-intl
24814 TARGET-stage3-intl = $(TARGET-intl)
24815 all-stage3-intl: configure-stage3-intl
24816 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24817 @r=`${PWD_COMMAND}`; export r; \
24818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24819 TFLAGS="$(STAGE3_TFLAGS)"; \
24820 $(HOST_EXPORTS) \
24821 $(POSTSTAGE1_HOST_EXPORTS) \
24822 cd $(HOST_SUBDIR)/intl && \
24823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24824 CFLAGS="$(STAGE3_CFLAGS)" \
24825 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24826 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24831 TFLAGS="$(STAGE3_TFLAGS)" \
24832 $(TARGET-stage3-intl)
24834 maybe-clean-stage3-intl: clean-stage3-intl
24835 clean-stage3: clean-stage3-intl
24836 clean-stage3-intl:
24837 @if [ $(current_stage) = stage3 ]; then \
24838 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24839 else \
24840 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
24841 $(MAKE) stage3-start; \
24842 fi; \
24843 cd $(HOST_SUBDIR)/intl && \
24844 $(MAKE) $(EXTRA_HOST_FLAGS) \
24845 $(POSTSTAGE1_FLAGS_TO_PASS) \
24846 clean
24847 @endif intl-bootstrap
24850 .PHONY: all-stage4-intl maybe-all-stage4-intl
24851 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
24852 maybe-all-stage4-intl:
24853 maybe-clean-stage4-intl:
24854 @if intl-bootstrap
24855 maybe-all-stage4-intl: all-stage4-intl
24856 all-stage4: all-stage4-intl
24857 TARGET-stage4-intl = $(TARGET-intl)
24858 all-stage4-intl: configure-stage4-intl
24859 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24860 @r=`${PWD_COMMAND}`; export r; \
24861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24862 TFLAGS="$(STAGE4_TFLAGS)"; \
24863 $(HOST_EXPORTS) \
24864 $(POSTSTAGE1_HOST_EXPORTS) \
24865 cd $(HOST_SUBDIR)/intl && \
24866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24867 CFLAGS="$(STAGE4_CFLAGS)" \
24868 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24869 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24874 TFLAGS="$(STAGE4_TFLAGS)" \
24875 $(TARGET-stage4-intl)
24877 maybe-clean-stage4-intl: clean-stage4-intl
24878 clean-stage4: clean-stage4-intl
24879 clean-stage4-intl:
24880 @if [ $(current_stage) = stage4 ]; then \
24881 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24882 else \
24883 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
24884 $(MAKE) stage4-start; \
24885 fi; \
24886 cd $(HOST_SUBDIR)/intl && \
24887 $(MAKE) $(EXTRA_HOST_FLAGS) \
24888 $(POSTSTAGE1_FLAGS_TO_PASS) \
24889 clean
24890 @endif intl-bootstrap
24893 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
24894 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
24895 maybe-all-stageprofile-intl:
24896 maybe-clean-stageprofile-intl:
24897 @if intl-bootstrap
24898 maybe-all-stageprofile-intl: all-stageprofile-intl
24899 all-stageprofile: all-stageprofile-intl
24900 TARGET-stageprofile-intl = $(TARGET-intl)
24901 all-stageprofile-intl: configure-stageprofile-intl
24902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24903 @r=`${PWD_COMMAND}`; export r; \
24904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24905 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24906 $(HOST_EXPORTS) \
24907 $(POSTSTAGE1_HOST_EXPORTS) \
24908 cd $(HOST_SUBDIR)/intl && \
24909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24910 CFLAGS="$(STAGEprofile_CFLAGS)" \
24911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24912 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24917 TFLAGS="$(STAGEprofile_TFLAGS)" \
24918 $(TARGET-stageprofile-intl)
24920 maybe-clean-stageprofile-intl: clean-stageprofile-intl
24921 clean-stageprofile: clean-stageprofile-intl
24922 clean-stageprofile-intl:
24923 @if [ $(current_stage) = stageprofile ]; then \
24924 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24925 else \
24926 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
24927 $(MAKE) stageprofile-start; \
24928 fi; \
24929 cd $(HOST_SUBDIR)/intl && \
24930 $(MAKE) $(EXTRA_HOST_FLAGS) \
24931 $(POSTSTAGE1_FLAGS_TO_PASS) \
24932 clean
24933 @endif intl-bootstrap
24936 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
24937 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
24938 maybe-all-stagefeedback-intl:
24939 maybe-clean-stagefeedback-intl:
24940 @if intl-bootstrap
24941 maybe-all-stagefeedback-intl: all-stagefeedback-intl
24942 all-stagefeedback: all-stagefeedback-intl
24943 TARGET-stagefeedback-intl = $(TARGET-intl)
24944 all-stagefeedback-intl: configure-stagefeedback-intl
24945 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24946 @r=`${PWD_COMMAND}`; export r; \
24947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24948 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24949 $(HOST_EXPORTS) \
24950 $(POSTSTAGE1_HOST_EXPORTS) \
24951 cd $(HOST_SUBDIR)/intl && \
24952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24953 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24954 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24955 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24960 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24961 $(TARGET-stagefeedback-intl)
24963 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
24964 clean-stagefeedback: clean-stagefeedback-intl
24965 clean-stagefeedback-intl:
24966 @if [ $(current_stage) = stagefeedback ]; then \
24967 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
24968 else \
24969 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
24970 $(MAKE) stagefeedback-start; \
24971 fi; \
24972 cd $(HOST_SUBDIR)/intl && \
24973 $(MAKE) $(EXTRA_HOST_FLAGS) \
24974 $(POSTSTAGE1_FLAGS_TO_PASS) \
24975 clean
24976 @endif intl-bootstrap
24982 .PHONY: check-intl maybe-check-intl
24983 maybe-check-intl:
24984 @if intl
24985 maybe-check-intl: check-intl
24987 check-intl:
24988 @: $(MAKE); $(unstage)
24989 @r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(HOST_EXPORTS) \
24992 (cd $(HOST_SUBDIR)/intl && \
24993 $(MAKE) $(FLAGS_TO_PASS) check)
24995 @endif intl
24997 .PHONY: install-intl maybe-install-intl
24998 maybe-install-intl:
24999 @if intl
25000 maybe-install-intl: install-intl
25002 install-intl: installdirs
25003 @: $(MAKE); $(unstage)
25004 @r=`${PWD_COMMAND}`; export r; \
25005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25006 $(HOST_EXPORTS) \
25007 (cd $(HOST_SUBDIR)/intl && \
25008 $(MAKE) $(FLAGS_TO_PASS) install)
25010 @endif intl
25012 # Other targets (info, dvi, pdf, etc.)
25014 .PHONY: maybe-info-intl info-intl
25015 maybe-info-intl:
25016 @if intl
25017 maybe-info-intl: info-intl
25019 info-intl: \
25020 configure-intl
25021 @[ -f ./intl/Makefile ] || exit 0; \
25022 r=`${PWD_COMMAND}`; export r; \
25023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25024 $(HOST_EXPORTS) \
25025 for flag in $(EXTRA_HOST_FLAGS) ; do \
25026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25027 done; \
25028 echo "Doing info in intl" ; \
25029 (cd $(HOST_SUBDIR)/intl && \
25030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25032 "RANLIB=$${RANLIB}" \
25033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25034 info) \
25035 || exit 1
25037 @endif intl
25039 .PHONY: maybe-dvi-intl dvi-intl
25040 maybe-dvi-intl:
25041 @if intl
25042 maybe-dvi-intl: dvi-intl
25044 dvi-intl: \
25045 configure-intl
25046 @[ -f ./intl/Makefile ] || exit 0; \
25047 r=`${PWD_COMMAND}`; export r; \
25048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25049 $(HOST_EXPORTS) \
25050 for flag in $(EXTRA_HOST_FLAGS) ; do \
25051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25052 done; \
25053 echo "Doing dvi in intl" ; \
25054 (cd $(HOST_SUBDIR)/intl && \
25055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25057 "RANLIB=$${RANLIB}" \
25058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25059 dvi) \
25060 || exit 1
25062 @endif intl
25064 .PHONY: maybe-pdf-intl pdf-intl
25065 maybe-pdf-intl:
25066 @if intl
25067 maybe-pdf-intl: pdf-intl
25069 pdf-intl: \
25070 configure-intl
25071 @[ -f ./intl/Makefile ] || exit 0; \
25072 r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 $(HOST_EXPORTS) \
25075 for flag in $(EXTRA_HOST_FLAGS) ; do \
25076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25077 done; \
25078 echo "Doing pdf in intl" ; \
25079 (cd $(HOST_SUBDIR)/intl && \
25080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25082 "RANLIB=$${RANLIB}" \
25083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25084 pdf) \
25085 || exit 1
25087 @endif intl
25089 .PHONY: maybe-html-intl html-intl
25090 maybe-html-intl:
25091 @if intl
25092 maybe-html-intl: html-intl
25094 html-intl: \
25095 configure-intl
25096 @[ -f ./intl/Makefile ] || exit 0; \
25097 r=`${PWD_COMMAND}`; export r; \
25098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25099 $(HOST_EXPORTS) \
25100 for flag in $(EXTRA_HOST_FLAGS) ; do \
25101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25102 done; \
25103 echo "Doing html in intl" ; \
25104 (cd $(HOST_SUBDIR)/intl && \
25105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25107 "RANLIB=$${RANLIB}" \
25108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25109 html) \
25110 || exit 1
25112 @endif intl
25114 .PHONY: maybe-TAGS-intl TAGS-intl
25115 maybe-TAGS-intl:
25116 @if intl
25117 maybe-TAGS-intl: TAGS-intl
25119 TAGS-intl: \
25120 configure-intl
25121 @[ -f ./intl/Makefile ] || exit 0; \
25122 r=`${PWD_COMMAND}`; export r; \
25123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25124 $(HOST_EXPORTS) \
25125 for flag in $(EXTRA_HOST_FLAGS) ; do \
25126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25127 done; \
25128 echo "Doing TAGS in intl" ; \
25129 (cd $(HOST_SUBDIR)/intl && \
25130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25132 "RANLIB=$${RANLIB}" \
25133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25134 TAGS) \
25135 || exit 1
25137 @endif intl
25139 .PHONY: maybe-install-info-intl install-info-intl
25140 maybe-install-info-intl:
25141 @if intl
25142 maybe-install-info-intl: install-info-intl
25144 install-info-intl: \
25145 configure-intl \
25146 info-intl
25147 @[ -f ./intl/Makefile ] || exit 0; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(HOST_EXPORTS) \
25151 for flag in $(EXTRA_HOST_FLAGS) ; do \
25152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25153 done; \
25154 echo "Doing install-info in intl" ; \
25155 (cd $(HOST_SUBDIR)/intl && \
25156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25158 "RANLIB=$${RANLIB}" \
25159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25160 install-info) \
25161 || exit 1
25163 @endif intl
25165 .PHONY: maybe-install-pdf-intl install-pdf-intl
25166 maybe-install-pdf-intl:
25167 @if intl
25168 maybe-install-pdf-intl: install-pdf-intl
25170 install-pdf-intl: \
25171 configure-intl \
25172 pdf-intl
25173 @[ -f ./intl/Makefile ] || exit 0; \
25174 r=`${PWD_COMMAND}`; export r; \
25175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25176 $(HOST_EXPORTS) \
25177 for flag in $(EXTRA_HOST_FLAGS) ; do \
25178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25179 done; \
25180 echo "Doing install-pdf in intl" ; \
25181 (cd $(HOST_SUBDIR)/intl && \
25182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25184 "RANLIB=$${RANLIB}" \
25185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25186 install-pdf) \
25187 || exit 1
25189 @endif intl
25191 .PHONY: maybe-install-html-intl install-html-intl
25192 maybe-install-html-intl:
25193 @if intl
25194 maybe-install-html-intl: install-html-intl
25196 install-html-intl: \
25197 configure-intl \
25198 html-intl
25199 @[ -f ./intl/Makefile ] || exit 0; \
25200 r=`${PWD_COMMAND}`; export r; \
25201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25202 $(HOST_EXPORTS) \
25203 for flag in $(EXTRA_HOST_FLAGS) ; do \
25204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25205 done; \
25206 echo "Doing install-html in intl" ; \
25207 (cd $(HOST_SUBDIR)/intl && \
25208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25210 "RANLIB=$${RANLIB}" \
25211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25212 install-html) \
25213 || exit 1
25215 @endif intl
25217 .PHONY: maybe-installcheck-intl installcheck-intl
25218 maybe-installcheck-intl:
25219 @if intl
25220 maybe-installcheck-intl: installcheck-intl
25222 installcheck-intl: \
25223 configure-intl
25224 @[ -f ./intl/Makefile ] || exit 0; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(HOST_EXPORTS) \
25228 for flag in $(EXTRA_HOST_FLAGS) ; do \
25229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25230 done; \
25231 echo "Doing installcheck in intl" ; \
25232 (cd $(HOST_SUBDIR)/intl && \
25233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25235 "RANLIB=$${RANLIB}" \
25236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25237 installcheck) \
25238 || exit 1
25240 @endif intl
25242 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
25243 maybe-mostlyclean-intl:
25244 @if intl
25245 maybe-mostlyclean-intl: mostlyclean-intl
25247 mostlyclean-intl:
25248 @[ -f ./intl/Makefile ] || exit 0; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(HOST_EXPORTS) \
25252 for flag in $(EXTRA_HOST_FLAGS) ; do \
25253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25254 done; \
25255 echo "Doing mostlyclean in intl" ; \
25256 (cd $(HOST_SUBDIR)/intl && \
25257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25259 "RANLIB=$${RANLIB}" \
25260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25261 mostlyclean) \
25262 || exit 1
25264 @endif intl
25266 .PHONY: maybe-clean-intl clean-intl
25267 maybe-clean-intl:
25268 @if intl
25269 maybe-clean-intl: clean-intl
25271 clean-intl:
25272 @[ -f ./intl/Makefile ] || exit 0; \
25273 r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25275 $(HOST_EXPORTS) \
25276 for flag in $(EXTRA_HOST_FLAGS) ; do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25278 done; \
25279 echo "Doing clean in intl" ; \
25280 (cd $(HOST_SUBDIR)/intl && \
25281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25283 "RANLIB=$${RANLIB}" \
25284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25285 clean) \
25286 || exit 1
25288 @endif intl
25290 .PHONY: maybe-distclean-intl distclean-intl
25291 maybe-distclean-intl:
25292 @if intl
25293 maybe-distclean-intl: distclean-intl
25295 distclean-intl:
25296 @[ -f ./intl/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 for flag in $(EXTRA_HOST_FLAGS) ; do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 done; \
25303 echo "Doing distclean in intl" ; \
25304 (cd $(HOST_SUBDIR)/intl && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25309 distclean) \
25310 || exit 1
25312 @endif intl
25314 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
25315 maybe-maintainer-clean-intl:
25316 @if intl
25317 maybe-maintainer-clean-intl: maintainer-clean-intl
25319 maintainer-clean-intl:
25320 @[ -f ./intl/Makefile ] || exit 0; \
25321 r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 $(HOST_EXPORTS) \
25324 for flag in $(EXTRA_HOST_FLAGS) ; do \
25325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25326 done; \
25327 echo "Doing maintainer-clean in intl" ; \
25328 (cd $(HOST_SUBDIR)/intl && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25333 maintainer-clean) \
25334 || exit 1
25336 @endif intl
25340 .PHONY: configure-tcl maybe-configure-tcl
25341 maybe-configure-tcl:
25342 @if gcc-bootstrap
25343 configure-tcl: stage_current
25344 @endif gcc-bootstrap
25345 @if tcl
25346 maybe-configure-tcl: configure-tcl
25347 configure-tcl:
25348 @: $(MAKE); $(unstage)
25349 @r=`${PWD_COMMAND}`; export r; \
25350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25351 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
25352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
25353 $(HOST_EXPORTS) \
25354 echo Configuring in $(HOST_SUBDIR)/tcl; \
25355 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
25356 case $(srcdir) in \
25357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25358 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
25359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25360 esac; \
25361 srcdiroption="--srcdir=$${topdir}/tcl"; \
25362 libsrcdir="$$s/tcl"; \
25363 $(SHELL) $${libsrcdir}/configure \
25364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25365 --target=${target_alias} $${srcdiroption} \
25366 || exit 1
25367 @endif tcl
25373 .PHONY: all-tcl maybe-all-tcl
25374 maybe-all-tcl:
25375 @if gcc-bootstrap
25376 all-tcl: stage_current
25377 @endif gcc-bootstrap
25378 @if tcl
25379 TARGET-tcl=all
25380 maybe-all-tcl: all-tcl
25381 all-tcl: configure-tcl
25382 @: $(MAKE); $(unstage)
25383 @r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 $(HOST_EXPORTS) \
25386 (cd $(HOST_SUBDIR)/tcl && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25388 $(TARGET-tcl))
25389 @endif tcl
25394 .PHONY: check-tcl maybe-check-tcl
25395 maybe-check-tcl:
25396 @if tcl
25397 maybe-check-tcl: check-tcl
25399 check-tcl:
25400 @: $(MAKE); $(unstage)
25401 @r=`${PWD_COMMAND}`; export r; \
25402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25403 $(HOST_EXPORTS) \
25404 (cd $(HOST_SUBDIR)/tcl && \
25405 $(MAKE) $(FLAGS_TO_PASS) check)
25407 @endif tcl
25409 .PHONY: install-tcl maybe-install-tcl
25410 maybe-install-tcl:
25411 @if tcl
25412 maybe-install-tcl: install-tcl
25414 install-tcl: installdirs
25415 @: $(MAKE); $(unstage)
25416 @r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(HOST_EXPORTS) \
25419 (cd $(HOST_SUBDIR)/tcl && \
25420 $(MAKE) $(FLAGS_TO_PASS) install)
25422 @endif tcl
25424 # Other targets (info, dvi, pdf, etc.)
25426 .PHONY: maybe-info-tcl info-tcl
25427 maybe-info-tcl:
25428 @if tcl
25429 maybe-info-tcl: info-tcl
25431 info-tcl: \
25432 configure-tcl
25433 @: $(MAKE); $(unstage)
25434 @[ -f ./tcl/Makefile ] || exit 0; \
25435 r=`${PWD_COMMAND}`; export r; \
25436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25437 $(HOST_EXPORTS) \
25438 for flag in $(EXTRA_HOST_FLAGS) ; do \
25439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25440 done; \
25441 echo "Doing info in tcl" ; \
25442 (cd $(HOST_SUBDIR)/tcl && \
25443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25445 "RANLIB=$${RANLIB}" \
25446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25447 info) \
25448 || exit 1
25450 @endif tcl
25452 .PHONY: maybe-dvi-tcl dvi-tcl
25453 maybe-dvi-tcl:
25454 @if tcl
25455 maybe-dvi-tcl: dvi-tcl
25457 dvi-tcl: \
25458 configure-tcl
25459 @: $(MAKE); $(unstage)
25460 @[ -f ./tcl/Makefile ] || exit 0; \
25461 r=`${PWD_COMMAND}`; export r; \
25462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 $(HOST_EXPORTS) \
25464 for flag in $(EXTRA_HOST_FLAGS) ; do \
25465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25466 done; \
25467 echo "Doing dvi in tcl" ; \
25468 (cd $(HOST_SUBDIR)/tcl && \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25471 "RANLIB=$${RANLIB}" \
25472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25473 dvi) \
25474 || exit 1
25476 @endif tcl
25478 .PHONY: maybe-pdf-tcl pdf-tcl
25479 maybe-pdf-tcl:
25480 @if tcl
25481 maybe-pdf-tcl: pdf-tcl
25483 pdf-tcl: \
25484 configure-tcl
25485 @: $(MAKE); $(unstage)
25486 @[ -f ./tcl/Makefile ] || exit 0; \
25487 r=`${PWD_COMMAND}`; export r; \
25488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25489 $(HOST_EXPORTS) \
25490 for flag in $(EXTRA_HOST_FLAGS) ; do \
25491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25492 done; \
25493 echo "Doing pdf in tcl" ; \
25494 (cd $(HOST_SUBDIR)/tcl && \
25495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25497 "RANLIB=$${RANLIB}" \
25498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25499 pdf) \
25500 || exit 1
25502 @endif tcl
25504 .PHONY: maybe-html-tcl html-tcl
25505 maybe-html-tcl:
25506 @if tcl
25507 maybe-html-tcl: html-tcl
25509 html-tcl: \
25510 configure-tcl
25511 @: $(MAKE); $(unstage)
25512 @[ -f ./tcl/Makefile ] || exit 0; \
25513 r=`${PWD_COMMAND}`; export r; \
25514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25515 $(HOST_EXPORTS) \
25516 for flag in $(EXTRA_HOST_FLAGS) ; do \
25517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25518 done; \
25519 echo "Doing html in tcl" ; \
25520 (cd $(HOST_SUBDIR)/tcl && \
25521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25523 "RANLIB=$${RANLIB}" \
25524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25525 html) \
25526 || exit 1
25528 @endif tcl
25530 .PHONY: maybe-TAGS-tcl TAGS-tcl
25531 maybe-TAGS-tcl:
25532 @if tcl
25533 maybe-TAGS-tcl: TAGS-tcl
25535 TAGS-tcl: \
25536 configure-tcl
25537 @: $(MAKE); $(unstage)
25538 @[ -f ./tcl/Makefile ] || exit 0; \
25539 r=`${PWD_COMMAND}`; export r; \
25540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25541 $(HOST_EXPORTS) \
25542 for flag in $(EXTRA_HOST_FLAGS) ; do \
25543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25544 done; \
25545 echo "Doing TAGS in tcl" ; \
25546 (cd $(HOST_SUBDIR)/tcl && \
25547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25549 "RANLIB=$${RANLIB}" \
25550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25551 TAGS) \
25552 || exit 1
25554 @endif tcl
25556 .PHONY: maybe-install-info-tcl install-info-tcl
25557 maybe-install-info-tcl:
25558 @if tcl
25559 maybe-install-info-tcl: install-info-tcl
25561 install-info-tcl: \
25562 configure-tcl \
25563 info-tcl
25564 @: $(MAKE); $(unstage)
25565 @[ -f ./tcl/Makefile ] || exit 0; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(HOST_EXPORTS) \
25569 for flag in $(EXTRA_HOST_FLAGS) ; do \
25570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25571 done; \
25572 echo "Doing install-info in tcl" ; \
25573 (cd $(HOST_SUBDIR)/tcl && \
25574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25576 "RANLIB=$${RANLIB}" \
25577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25578 install-info) \
25579 || exit 1
25581 @endif tcl
25583 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
25584 maybe-install-pdf-tcl:
25585 @if tcl
25586 maybe-install-pdf-tcl: install-pdf-tcl
25588 install-pdf-tcl: \
25589 configure-tcl \
25590 pdf-tcl
25591 @: $(MAKE); $(unstage)
25592 @[ -f ./tcl/Makefile ] || exit 0; \
25593 r=`${PWD_COMMAND}`; export r; \
25594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25595 $(HOST_EXPORTS) \
25596 for flag in $(EXTRA_HOST_FLAGS) ; do \
25597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25598 done; \
25599 echo "Doing install-pdf in tcl" ; \
25600 (cd $(HOST_SUBDIR)/tcl && \
25601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25603 "RANLIB=$${RANLIB}" \
25604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25605 install-pdf) \
25606 || exit 1
25608 @endif tcl
25610 .PHONY: maybe-install-html-tcl install-html-tcl
25611 maybe-install-html-tcl:
25612 @if tcl
25613 maybe-install-html-tcl: install-html-tcl
25615 install-html-tcl: \
25616 configure-tcl \
25617 html-tcl
25618 @: $(MAKE); $(unstage)
25619 @[ -f ./tcl/Makefile ] || exit 0; \
25620 r=`${PWD_COMMAND}`; export r; \
25621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25622 $(HOST_EXPORTS) \
25623 for flag in $(EXTRA_HOST_FLAGS) ; do \
25624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25625 done; \
25626 echo "Doing install-html in tcl" ; \
25627 (cd $(HOST_SUBDIR)/tcl && \
25628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25630 "RANLIB=$${RANLIB}" \
25631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25632 install-html) \
25633 || exit 1
25635 @endif tcl
25637 .PHONY: maybe-installcheck-tcl installcheck-tcl
25638 maybe-installcheck-tcl:
25639 @if tcl
25640 maybe-installcheck-tcl: installcheck-tcl
25642 installcheck-tcl: \
25643 configure-tcl
25644 @: $(MAKE); $(unstage)
25645 @[ -f ./tcl/Makefile ] || exit 0; \
25646 r=`${PWD_COMMAND}`; export r; \
25647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25648 $(HOST_EXPORTS) \
25649 for flag in $(EXTRA_HOST_FLAGS) ; do \
25650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25651 done; \
25652 echo "Doing installcheck in tcl" ; \
25653 (cd $(HOST_SUBDIR)/tcl && \
25654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25656 "RANLIB=$${RANLIB}" \
25657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25658 installcheck) \
25659 || exit 1
25661 @endif tcl
25663 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
25664 maybe-mostlyclean-tcl:
25665 @if tcl
25666 maybe-mostlyclean-tcl: mostlyclean-tcl
25668 # tcl doesn't support mostlyclean.
25669 mostlyclean-tcl:
25671 @endif tcl
25673 .PHONY: maybe-clean-tcl clean-tcl
25674 maybe-clean-tcl:
25675 @if tcl
25676 maybe-clean-tcl: clean-tcl
25678 clean-tcl:
25679 @: $(MAKE); $(unstage)
25680 @[ -f ./tcl/Makefile ] || exit 0; \
25681 r=`${PWD_COMMAND}`; export r; \
25682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25683 $(HOST_EXPORTS) \
25684 for flag in $(EXTRA_HOST_FLAGS) ; do \
25685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25686 done; \
25687 echo "Doing clean in tcl" ; \
25688 (cd $(HOST_SUBDIR)/tcl && \
25689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25691 "RANLIB=$${RANLIB}" \
25692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25693 clean) \
25694 || exit 1
25696 @endif tcl
25698 .PHONY: maybe-distclean-tcl distclean-tcl
25699 maybe-distclean-tcl:
25700 @if tcl
25701 maybe-distclean-tcl: distclean-tcl
25703 distclean-tcl:
25704 @: $(MAKE); $(unstage)
25705 @[ -f ./tcl/Makefile ] || exit 0; \
25706 r=`${PWD_COMMAND}`; export r; \
25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25708 $(HOST_EXPORTS) \
25709 for flag in $(EXTRA_HOST_FLAGS) ; do \
25710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25711 done; \
25712 echo "Doing distclean in tcl" ; \
25713 (cd $(HOST_SUBDIR)/tcl && \
25714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25716 "RANLIB=$${RANLIB}" \
25717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25718 distclean) \
25719 || exit 1
25721 @endif tcl
25723 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
25724 maybe-maintainer-clean-tcl:
25725 @if tcl
25726 maybe-maintainer-clean-tcl: maintainer-clean-tcl
25728 maintainer-clean-tcl:
25729 @: $(MAKE); $(unstage)
25730 @[ -f ./tcl/Makefile ] || exit 0; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(HOST_EXPORTS) \
25734 for flag in $(EXTRA_HOST_FLAGS) ; do \
25735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25736 done; \
25737 echo "Doing maintainer-clean in tcl" ; \
25738 (cd $(HOST_SUBDIR)/tcl && \
25739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25741 "RANLIB=$${RANLIB}" \
25742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25743 maintainer-clean) \
25744 || exit 1
25746 @endif tcl
25750 .PHONY: configure-itcl maybe-configure-itcl
25751 maybe-configure-itcl:
25752 @if gcc-bootstrap
25753 configure-itcl: stage_current
25754 @endif gcc-bootstrap
25755 @if itcl
25756 maybe-configure-itcl: configure-itcl
25757 configure-itcl:
25758 @: $(MAKE); $(unstage)
25759 @r=`${PWD_COMMAND}`; export r; \
25760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25761 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
25762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
25763 $(HOST_EXPORTS) \
25764 echo Configuring in $(HOST_SUBDIR)/itcl; \
25765 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
25766 case $(srcdir) in \
25767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25768 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
25769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25770 esac; \
25771 srcdiroption="--srcdir=$${topdir}/itcl"; \
25772 libsrcdir="$$s/itcl"; \
25773 $(SHELL) $${libsrcdir}/configure \
25774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25775 --target=${target_alias} $${srcdiroption} \
25776 || exit 1
25777 @endif itcl
25783 .PHONY: all-itcl maybe-all-itcl
25784 maybe-all-itcl:
25785 @if gcc-bootstrap
25786 all-itcl: stage_current
25787 @endif gcc-bootstrap
25788 @if itcl
25789 TARGET-itcl=all
25790 maybe-all-itcl: all-itcl
25791 all-itcl: configure-itcl
25792 @: $(MAKE); $(unstage)
25793 @r=`${PWD_COMMAND}`; export r; \
25794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25795 $(HOST_EXPORTS) \
25796 (cd $(HOST_SUBDIR)/itcl && \
25797 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25798 $(TARGET-itcl))
25799 @endif itcl
25804 .PHONY: check-itcl maybe-check-itcl
25805 maybe-check-itcl:
25806 @if itcl
25807 maybe-check-itcl: check-itcl
25809 check-itcl:
25810 @: $(MAKE); $(unstage)
25811 @r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(HOST_EXPORTS) \
25814 (cd $(HOST_SUBDIR)/itcl && \
25815 $(MAKE) $(FLAGS_TO_PASS) check)
25817 @endif itcl
25819 .PHONY: install-itcl maybe-install-itcl
25820 maybe-install-itcl:
25821 @if itcl
25822 maybe-install-itcl: install-itcl
25824 install-itcl: installdirs
25825 @: $(MAKE); $(unstage)
25826 @r=`${PWD_COMMAND}`; export r; \
25827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25828 $(HOST_EXPORTS) \
25829 (cd $(HOST_SUBDIR)/itcl && \
25830 $(MAKE) $(FLAGS_TO_PASS) install)
25832 @endif itcl
25834 # Other targets (info, dvi, pdf, etc.)
25836 .PHONY: maybe-info-itcl info-itcl
25837 maybe-info-itcl:
25838 @if itcl
25839 maybe-info-itcl: info-itcl
25841 info-itcl: \
25842 configure-itcl
25843 @: $(MAKE); $(unstage)
25844 @[ -f ./itcl/Makefile ] || exit 0; \
25845 r=`${PWD_COMMAND}`; export r; \
25846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25847 $(HOST_EXPORTS) \
25848 for flag in $(EXTRA_HOST_FLAGS) ; do \
25849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25850 done; \
25851 echo "Doing info in itcl" ; \
25852 (cd $(HOST_SUBDIR)/itcl && \
25853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25855 "RANLIB=$${RANLIB}" \
25856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25857 info) \
25858 || exit 1
25860 @endif itcl
25862 .PHONY: maybe-dvi-itcl dvi-itcl
25863 maybe-dvi-itcl:
25864 @if itcl
25865 maybe-dvi-itcl: dvi-itcl
25867 dvi-itcl: \
25868 configure-itcl
25869 @: $(MAKE); $(unstage)
25870 @[ -f ./itcl/Makefile ] || exit 0; \
25871 r=`${PWD_COMMAND}`; export r; \
25872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25873 $(HOST_EXPORTS) \
25874 for flag in $(EXTRA_HOST_FLAGS) ; do \
25875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25876 done; \
25877 echo "Doing dvi in itcl" ; \
25878 (cd $(HOST_SUBDIR)/itcl && \
25879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25881 "RANLIB=$${RANLIB}" \
25882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25883 dvi) \
25884 || exit 1
25886 @endif itcl
25888 .PHONY: maybe-pdf-itcl pdf-itcl
25889 maybe-pdf-itcl:
25890 @if itcl
25891 maybe-pdf-itcl: pdf-itcl
25893 pdf-itcl: \
25894 configure-itcl
25895 @: $(MAKE); $(unstage)
25896 @[ -f ./itcl/Makefile ] || exit 0; \
25897 r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(HOST_EXPORTS) \
25900 for flag in $(EXTRA_HOST_FLAGS) ; do \
25901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25902 done; \
25903 echo "Doing pdf in itcl" ; \
25904 (cd $(HOST_SUBDIR)/itcl && \
25905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25907 "RANLIB=$${RANLIB}" \
25908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25909 pdf) \
25910 || exit 1
25912 @endif itcl
25914 .PHONY: maybe-html-itcl html-itcl
25915 maybe-html-itcl:
25916 @if itcl
25917 maybe-html-itcl: html-itcl
25919 html-itcl: \
25920 configure-itcl
25921 @: $(MAKE); $(unstage)
25922 @[ -f ./itcl/Makefile ] || exit 0; \
25923 r=`${PWD_COMMAND}`; export r; \
25924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25925 $(HOST_EXPORTS) \
25926 for flag in $(EXTRA_HOST_FLAGS) ; do \
25927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25928 done; \
25929 echo "Doing html in itcl" ; \
25930 (cd $(HOST_SUBDIR)/itcl && \
25931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25933 "RANLIB=$${RANLIB}" \
25934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25935 html) \
25936 || exit 1
25938 @endif itcl
25940 .PHONY: maybe-TAGS-itcl TAGS-itcl
25941 maybe-TAGS-itcl:
25942 @if itcl
25943 maybe-TAGS-itcl: TAGS-itcl
25945 TAGS-itcl: \
25946 configure-itcl
25947 @: $(MAKE); $(unstage)
25948 @[ -f ./itcl/Makefile ] || exit 0; \
25949 r=`${PWD_COMMAND}`; export r; \
25950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25951 $(HOST_EXPORTS) \
25952 for flag in $(EXTRA_HOST_FLAGS) ; do \
25953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25954 done; \
25955 echo "Doing TAGS in itcl" ; \
25956 (cd $(HOST_SUBDIR)/itcl && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25959 "RANLIB=$${RANLIB}" \
25960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25961 TAGS) \
25962 || exit 1
25964 @endif itcl
25966 .PHONY: maybe-install-info-itcl install-info-itcl
25967 maybe-install-info-itcl:
25968 @if itcl
25969 maybe-install-info-itcl: install-info-itcl
25971 install-info-itcl: \
25972 configure-itcl \
25973 info-itcl
25974 @: $(MAKE); $(unstage)
25975 @[ -f ./itcl/Makefile ] || exit 0; \
25976 r=`${PWD_COMMAND}`; export r; \
25977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25978 $(HOST_EXPORTS) \
25979 for flag in $(EXTRA_HOST_FLAGS) ; do \
25980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25981 done; \
25982 echo "Doing install-info in itcl" ; \
25983 (cd $(HOST_SUBDIR)/itcl && \
25984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25986 "RANLIB=$${RANLIB}" \
25987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25988 install-info) \
25989 || exit 1
25991 @endif itcl
25993 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
25994 maybe-install-pdf-itcl:
25995 @if itcl
25996 maybe-install-pdf-itcl: install-pdf-itcl
25998 install-pdf-itcl: \
25999 configure-itcl \
26000 pdf-itcl
26001 @: $(MAKE); $(unstage)
26002 @[ -f ./itcl/Makefile ] || exit 0; \
26003 r=`${PWD_COMMAND}`; export r; \
26004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26005 $(HOST_EXPORTS) \
26006 for flag in $(EXTRA_HOST_FLAGS) ; do \
26007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26008 done; \
26009 echo "Doing install-pdf in itcl" ; \
26010 (cd $(HOST_SUBDIR)/itcl && \
26011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26013 "RANLIB=$${RANLIB}" \
26014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26015 install-pdf) \
26016 || exit 1
26018 @endif itcl
26020 .PHONY: maybe-install-html-itcl install-html-itcl
26021 maybe-install-html-itcl:
26022 @if itcl
26023 maybe-install-html-itcl: install-html-itcl
26025 install-html-itcl: \
26026 configure-itcl \
26027 html-itcl
26028 @: $(MAKE); $(unstage)
26029 @[ -f ./itcl/Makefile ] || exit 0; \
26030 r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(HOST_EXPORTS) \
26033 for flag in $(EXTRA_HOST_FLAGS) ; do \
26034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26035 done; \
26036 echo "Doing install-html in itcl" ; \
26037 (cd $(HOST_SUBDIR)/itcl && \
26038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26040 "RANLIB=$${RANLIB}" \
26041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26042 install-html) \
26043 || exit 1
26045 @endif itcl
26047 .PHONY: maybe-installcheck-itcl installcheck-itcl
26048 maybe-installcheck-itcl:
26049 @if itcl
26050 maybe-installcheck-itcl: installcheck-itcl
26052 installcheck-itcl: \
26053 configure-itcl
26054 @: $(MAKE); $(unstage)
26055 @[ -f ./itcl/Makefile ] || exit 0; \
26056 r=`${PWD_COMMAND}`; export r; \
26057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26058 $(HOST_EXPORTS) \
26059 for flag in $(EXTRA_HOST_FLAGS) ; do \
26060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26061 done; \
26062 echo "Doing installcheck in itcl" ; \
26063 (cd $(HOST_SUBDIR)/itcl && \
26064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26066 "RANLIB=$${RANLIB}" \
26067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26068 installcheck) \
26069 || exit 1
26071 @endif itcl
26073 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
26074 maybe-mostlyclean-itcl:
26075 @if itcl
26076 maybe-mostlyclean-itcl: mostlyclean-itcl
26078 mostlyclean-itcl:
26079 @: $(MAKE); $(unstage)
26080 @[ -f ./itcl/Makefile ] || exit 0; \
26081 r=`${PWD_COMMAND}`; export r; \
26082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26083 $(HOST_EXPORTS) \
26084 for flag in $(EXTRA_HOST_FLAGS) ; do \
26085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26086 done; \
26087 echo "Doing mostlyclean in itcl" ; \
26088 (cd $(HOST_SUBDIR)/itcl && \
26089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26091 "RANLIB=$${RANLIB}" \
26092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26093 mostlyclean) \
26094 || exit 1
26096 @endif itcl
26098 .PHONY: maybe-clean-itcl clean-itcl
26099 maybe-clean-itcl:
26100 @if itcl
26101 maybe-clean-itcl: clean-itcl
26103 clean-itcl:
26104 @: $(MAKE); $(unstage)
26105 @[ -f ./itcl/Makefile ] || exit 0; \
26106 r=`${PWD_COMMAND}`; export r; \
26107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26108 $(HOST_EXPORTS) \
26109 for flag in $(EXTRA_HOST_FLAGS) ; do \
26110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26111 done; \
26112 echo "Doing clean in itcl" ; \
26113 (cd $(HOST_SUBDIR)/itcl && \
26114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26116 "RANLIB=$${RANLIB}" \
26117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26118 clean) \
26119 || exit 1
26121 @endif itcl
26123 .PHONY: maybe-distclean-itcl distclean-itcl
26124 maybe-distclean-itcl:
26125 @if itcl
26126 maybe-distclean-itcl: distclean-itcl
26128 distclean-itcl:
26129 @: $(MAKE); $(unstage)
26130 @[ -f ./itcl/Makefile ] || exit 0; \
26131 r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 $(HOST_EXPORTS) \
26134 for flag in $(EXTRA_HOST_FLAGS) ; do \
26135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26136 done; \
26137 echo "Doing distclean in itcl" ; \
26138 (cd $(HOST_SUBDIR)/itcl && \
26139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26141 "RANLIB=$${RANLIB}" \
26142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26143 distclean) \
26144 || exit 1
26146 @endif itcl
26148 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
26149 maybe-maintainer-clean-itcl:
26150 @if itcl
26151 maybe-maintainer-clean-itcl: maintainer-clean-itcl
26153 maintainer-clean-itcl:
26154 @: $(MAKE); $(unstage)
26155 @[ -f ./itcl/Makefile ] || exit 0; \
26156 r=`${PWD_COMMAND}`; export r; \
26157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26158 $(HOST_EXPORTS) \
26159 for flag in $(EXTRA_HOST_FLAGS) ; do \
26160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26161 done; \
26162 echo "Doing maintainer-clean in itcl" ; \
26163 (cd $(HOST_SUBDIR)/itcl && \
26164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26166 "RANLIB=$${RANLIB}" \
26167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26168 maintainer-clean) \
26169 || exit 1
26171 @endif itcl
26175 .PHONY: configure-ld maybe-configure-ld
26176 maybe-configure-ld:
26177 @if gcc-bootstrap
26178 configure-ld: stage_current
26179 @endif gcc-bootstrap
26180 @if ld
26181 maybe-configure-ld: configure-ld
26182 configure-ld:
26183 @r=`${PWD_COMMAND}`; export r; \
26184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26185 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26187 $(HOST_EXPORTS) \
26188 echo Configuring in $(HOST_SUBDIR)/ld; \
26189 cd "$(HOST_SUBDIR)/ld" || exit 1; \
26190 case $(srcdir) in \
26191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26192 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26194 esac; \
26195 srcdiroption="--srcdir=$${topdir}/ld"; \
26196 libsrcdir="$$s/ld"; \
26197 $(SHELL) $${libsrcdir}/configure \
26198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26199 --target=${target_alias} $${srcdiroption} \
26200 || exit 1
26201 @endif ld
26205 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
26206 maybe-configure-stage1-ld:
26207 @if ld-bootstrap
26208 maybe-configure-stage1-ld: configure-stage1-ld
26209 configure-stage1-ld:
26210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26212 @r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 TFLAGS="$(STAGE1_TFLAGS)"; \
26215 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26216 $(HOST_EXPORTS) \
26217 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26218 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26219 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26220 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
26221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26222 cd $(HOST_SUBDIR)/ld || exit 1; \
26223 case $(srcdir) in \
26224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26225 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26227 esac; \
26228 srcdiroption="--srcdir=$${topdir}/ld"; \
26229 libsrcdir="$$s/ld"; \
26230 $(SHELL) $${libsrcdir}/configure \
26231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26232 --target=${target_alias} $${srcdiroption} \
26233 $(STAGE1_CONFIGURE_FLAGS)
26234 @endif ld-bootstrap
26236 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
26237 maybe-configure-stage2-ld:
26238 @if ld-bootstrap
26239 maybe-configure-stage2-ld: configure-stage2-ld
26240 configure-stage2-ld:
26241 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26243 @r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 TFLAGS="$(STAGE2_TFLAGS)"; \
26246 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26247 $(HOST_EXPORTS) \
26248 $(POSTSTAGE1_HOST_EXPORTS) \
26249 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26250 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26251 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26252 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
26253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26254 cd $(HOST_SUBDIR)/ld || exit 1; \
26255 case $(srcdir) in \
26256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26257 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26259 esac; \
26260 srcdiroption="--srcdir=$${topdir}/ld"; \
26261 libsrcdir="$$s/ld"; \
26262 $(SHELL) $${libsrcdir}/configure \
26263 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26264 --target=${target_alias} $${srcdiroption} \
26265 --with-build-libsubdir=$(HOST_SUBDIR) \
26266 $(STAGE2_CONFIGURE_FLAGS)
26267 @endif ld-bootstrap
26269 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
26270 maybe-configure-stage3-ld:
26271 @if ld-bootstrap
26272 maybe-configure-stage3-ld: configure-stage3-ld
26273 configure-stage3-ld:
26274 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26276 @r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 TFLAGS="$(STAGE3_TFLAGS)"; \
26279 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26280 $(HOST_EXPORTS) \
26281 $(POSTSTAGE1_HOST_EXPORTS) \
26282 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26283 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26284 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26285 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
26286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26287 cd $(HOST_SUBDIR)/ld || exit 1; \
26288 case $(srcdir) in \
26289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26290 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26292 esac; \
26293 srcdiroption="--srcdir=$${topdir}/ld"; \
26294 libsrcdir="$$s/ld"; \
26295 $(SHELL) $${libsrcdir}/configure \
26296 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26297 --target=${target_alias} $${srcdiroption} \
26298 --with-build-libsubdir=$(HOST_SUBDIR) \
26299 $(STAGE3_CONFIGURE_FLAGS)
26300 @endif ld-bootstrap
26302 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
26303 maybe-configure-stage4-ld:
26304 @if ld-bootstrap
26305 maybe-configure-stage4-ld: configure-stage4-ld
26306 configure-stage4-ld:
26307 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26308 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26309 @r=`${PWD_COMMAND}`; export r; \
26310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26311 TFLAGS="$(STAGE4_TFLAGS)"; \
26312 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26313 $(HOST_EXPORTS) \
26314 $(POSTSTAGE1_HOST_EXPORTS) \
26315 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26316 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26317 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26318 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
26319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26320 cd $(HOST_SUBDIR)/ld || exit 1; \
26321 case $(srcdir) in \
26322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26323 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26325 esac; \
26326 srcdiroption="--srcdir=$${topdir}/ld"; \
26327 libsrcdir="$$s/ld"; \
26328 $(SHELL) $${libsrcdir}/configure \
26329 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26330 --target=${target_alias} $${srcdiroption} \
26331 --with-build-libsubdir=$(HOST_SUBDIR) \
26332 $(STAGE4_CONFIGURE_FLAGS)
26333 @endif ld-bootstrap
26335 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
26336 maybe-configure-stageprofile-ld:
26337 @if ld-bootstrap
26338 maybe-configure-stageprofile-ld: configure-stageprofile-ld
26339 configure-stageprofile-ld:
26340 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26342 @r=`${PWD_COMMAND}`; export r; \
26343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26344 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26345 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26346 $(HOST_EXPORTS) \
26347 $(POSTSTAGE1_HOST_EXPORTS) \
26348 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26349 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26350 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26351 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
26352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26353 cd $(HOST_SUBDIR)/ld || exit 1; \
26354 case $(srcdir) in \
26355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26356 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26358 esac; \
26359 srcdiroption="--srcdir=$${topdir}/ld"; \
26360 libsrcdir="$$s/ld"; \
26361 $(SHELL) $${libsrcdir}/configure \
26362 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26363 --target=${target_alias} $${srcdiroption} \
26364 --with-build-libsubdir=$(HOST_SUBDIR) \
26365 $(STAGEprofile_CONFIGURE_FLAGS)
26366 @endif ld-bootstrap
26368 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
26369 maybe-configure-stagefeedback-ld:
26370 @if ld-bootstrap
26371 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
26372 configure-stagefeedback-ld:
26373 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
26375 @r=`${PWD_COMMAND}`; export r; \
26376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26377 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26378 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
26379 $(HOST_EXPORTS) \
26380 $(POSTSTAGE1_HOST_EXPORTS) \
26381 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26382 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26383 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26384 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
26385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
26386 cd $(HOST_SUBDIR)/ld || exit 1; \
26387 case $(srcdir) in \
26388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26389 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
26390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26391 esac; \
26392 srcdiroption="--srcdir=$${topdir}/ld"; \
26393 libsrcdir="$$s/ld"; \
26394 $(SHELL) $${libsrcdir}/configure \
26395 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26396 --target=${target_alias} $${srcdiroption} \
26397 --with-build-libsubdir=$(HOST_SUBDIR) \
26398 $(STAGEfeedback_CONFIGURE_FLAGS)
26399 @endif ld-bootstrap
26405 .PHONY: all-ld maybe-all-ld
26406 maybe-all-ld:
26407 @if gcc-bootstrap
26408 all-ld: stage_current
26409 @endif gcc-bootstrap
26410 @if ld
26411 TARGET-ld=all
26412 maybe-all-ld: all-ld
26413 all-ld: configure-ld
26414 @r=`${PWD_COMMAND}`; export r; \
26415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26416 $(HOST_EXPORTS) \
26417 (cd $(HOST_SUBDIR)/ld && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26419 $(TARGET-ld))
26420 @endif ld
26424 .PHONY: all-stage1-ld maybe-all-stage1-ld
26425 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
26426 maybe-all-stage1-ld:
26427 maybe-clean-stage1-ld:
26428 @if ld-bootstrap
26429 maybe-all-stage1-ld: all-stage1-ld
26430 all-stage1: all-stage1-ld
26431 TARGET-stage1-ld = $(TARGET-ld)
26432 all-stage1-ld: configure-stage1-ld
26433 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26434 @r=`${PWD_COMMAND}`; export r; \
26435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26436 TFLAGS="$(STAGE1_TFLAGS)"; \
26437 $(HOST_EXPORTS) \
26438 cd $(HOST_SUBDIR)/ld && \
26439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26440 CFLAGS="$(STAGE1_CFLAGS)" \
26441 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26442 LIBCFLAGS="$(LIBCFLAGS)" \
26443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26446 $(EXTRA_HOST_FLAGS) \
26447 TFLAGS="$(STAGE1_TFLAGS)" \
26448 $(TARGET-stage1-ld)
26450 maybe-clean-stage1-ld: clean-stage1-ld
26451 clean-stage1: clean-stage1-ld
26452 clean-stage1-ld:
26453 @if [ $(current_stage) = stage1 ]; then \
26454 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26455 else \
26456 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
26457 $(MAKE) stage1-start; \
26458 fi; \
26459 cd $(HOST_SUBDIR)/ld && \
26460 $(MAKE) $(EXTRA_HOST_FLAGS) \
26461 clean
26462 @endif ld-bootstrap
26465 .PHONY: all-stage2-ld maybe-all-stage2-ld
26466 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
26467 maybe-all-stage2-ld:
26468 maybe-clean-stage2-ld:
26469 @if ld-bootstrap
26470 maybe-all-stage2-ld: all-stage2-ld
26471 all-stage2: all-stage2-ld
26472 TARGET-stage2-ld = $(TARGET-ld)
26473 all-stage2-ld: configure-stage2-ld
26474 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26475 @r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 TFLAGS="$(STAGE2_TFLAGS)"; \
26478 $(HOST_EXPORTS) \
26479 $(POSTSTAGE1_HOST_EXPORTS) \
26480 cd $(HOST_SUBDIR)/ld && \
26481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26482 CFLAGS="$(STAGE2_CFLAGS)" \
26483 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26484 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26489 TFLAGS="$(STAGE2_TFLAGS)" \
26490 $(TARGET-stage2-ld)
26492 maybe-clean-stage2-ld: clean-stage2-ld
26493 clean-stage2: clean-stage2-ld
26494 clean-stage2-ld:
26495 @if [ $(current_stage) = stage2 ]; then \
26496 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26497 else \
26498 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
26499 $(MAKE) stage2-start; \
26500 fi; \
26501 cd $(HOST_SUBDIR)/ld && \
26502 $(MAKE) $(EXTRA_HOST_FLAGS) \
26503 $(POSTSTAGE1_FLAGS_TO_PASS) \
26504 clean
26505 @endif ld-bootstrap
26508 .PHONY: all-stage3-ld maybe-all-stage3-ld
26509 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
26510 maybe-all-stage3-ld:
26511 maybe-clean-stage3-ld:
26512 @if ld-bootstrap
26513 maybe-all-stage3-ld: all-stage3-ld
26514 all-stage3: all-stage3-ld
26515 TARGET-stage3-ld = $(TARGET-ld)
26516 all-stage3-ld: configure-stage3-ld
26517 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26518 @r=`${PWD_COMMAND}`; export r; \
26519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26520 TFLAGS="$(STAGE3_TFLAGS)"; \
26521 $(HOST_EXPORTS) \
26522 $(POSTSTAGE1_HOST_EXPORTS) \
26523 cd $(HOST_SUBDIR)/ld && \
26524 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26525 CFLAGS="$(STAGE3_CFLAGS)" \
26526 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26527 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26528 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26529 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26530 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26531 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26532 TFLAGS="$(STAGE3_TFLAGS)" \
26533 $(TARGET-stage3-ld)
26535 maybe-clean-stage3-ld: clean-stage3-ld
26536 clean-stage3: clean-stage3-ld
26537 clean-stage3-ld:
26538 @if [ $(current_stage) = stage3 ]; then \
26539 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26540 else \
26541 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
26542 $(MAKE) stage3-start; \
26543 fi; \
26544 cd $(HOST_SUBDIR)/ld && \
26545 $(MAKE) $(EXTRA_HOST_FLAGS) \
26546 $(POSTSTAGE1_FLAGS_TO_PASS) \
26547 clean
26548 @endif ld-bootstrap
26551 .PHONY: all-stage4-ld maybe-all-stage4-ld
26552 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
26553 maybe-all-stage4-ld:
26554 maybe-clean-stage4-ld:
26555 @if ld-bootstrap
26556 maybe-all-stage4-ld: all-stage4-ld
26557 all-stage4: all-stage4-ld
26558 TARGET-stage4-ld = $(TARGET-ld)
26559 all-stage4-ld: configure-stage4-ld
26560 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26561 @r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 TFLAGS="$(STAGE4_TFLAGS)"; \
26564 $(HOST_EXPORTS) \
26565 $(POSTSTAGE1_HOST_EXPORTS) \
26566 cd $(HOST_SUBDIR)/ld && \
26567 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26568 CFLAGS="$(STAGE4_CFLAGS)" \
26569 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26570 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26571 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26572 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26573 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26574 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26575 TFLAGS="$(STAGE4_TFLAGS)" \
26576 $(TARGET-stage4-ld)
26578 maybe-clean-stage4-ld: clean-stage4-ld
26579 clean-stage4: clean-stage4-ld
26580 clean-stage4-ld:
26581 @if [ $(current_stage) = stage4 ]; then \
26582 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26583 else \
26584 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
26585 $(MAKE) stage4-start; \
26586 fi; \
26587 cd $(HOST_SUBDIR)/ld && \
26588 $(MAKE) $(EXTRA_HOST_FLAGS) \
26589 $(POSTSTAGE1_FLAGS_TO_PASS) \
26590 clean
26591 @endif ld-bootstrap
26594 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
26595 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
26596 maybe-all-stageprofile-ld:
26597 maybe-clean-stageprofile-ld:
26598 @if ld-bootstrap
26599 maybe-all-stageprofile-ld: all-stageprofile-ld
26600 all-stageprofile: all-stageprofile-ld
26601 TARGET-stageprofile-ld = $(TARGET-ld)
26602 all-stageprofile-ld: configure-stageprofile-ld
26603 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26604 @r=`${PWD_COMMAND}`; export r; \
26605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26607 $(HOST_EXPORTS) \
26608 $(POSTSTAGE1_HOST_EXPORTS) \
26609 cd $(HOST_SUBDIR)/ld && \
26610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26611 CFLAGS="$(STAGEprofile_CFLAGS)" \
26612 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26613 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26617 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26618 TFLAGS="$(STAGEprofile_TFLAGS)" \
26619 $(TARGET-stageprofile-ld)
26621 maybe-clean-stageprofile-ld: clean-stageprofile-ld
26622 clean-stageprofile: clean-stageprofile-ld
26623 clean-stageprofile-ld:
26624 @if [ $(current_stage) = stageprofile ]; then \
26625 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26626 else \
26627 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
26628 $(MAKE) stageprofile-start; \
26629 fi; \
26630 cd $(HOST_SUBDIR)/ld && \
26631 $(MAKE) $(EXTRA_HOST_FLAGS) \
26632 $(POSTSTAGE1_FLAGS_TO_PASS) \
26633 clean
26634 @endif ld-bootstrap
26637 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
26638 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
26639 maybe-all-stagefeedback-ld:
26640 maybe-clean-stagefeedback-ld:
26641 @if ld-bootstrap
26642 maybe-all-stagefeedback-ld: all-stagefeedback-ld
26643 all-stagefeedback: all-stagefeedback-ld
26644 TARGET-stagefeedback-ld = $(TARGET-ld)
26645 all-stagefeedback-ld: configure-stagefeedback-ld
26646 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26647 @r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26650 $(HOST_EXPORTS) \
26651 $(POSTSTAGE1_HOST_EXPORTS) \
26652 cd $(HOST_SUBDIR)/ld && \
26653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26654 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26655 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26656 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26660 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26661 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26662 $(TARGET-stagefeedback-ld)
26664 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
26665 clean-stagefeedback: clean-stagefeedback-ld
26666 clean-stagefeedback-ld:
26667 @if [ $(current_stage) = stagefeedback ]; then \
26668 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
26669 else \
26670 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
26671 $(MAKE) stagefeedback-start; \
26672 fi; \
26673 cd $(HOST_SUBDIR)/ld && \
26674 $(MAKE) $(EXTRA_HOST_FLAGS) \
26675 $(POSTSTAGE1_FLAGS_TO_PASS) \
26676 clean
26677 @endif ld-bootstrap
26683 .PHONY: check-ld maybe-check-ld
26684 maybe-check-ld:
26685 @if ld
26686 maybe-check-ld: check-ld
26688 check-ld:
26689 @: $(MAKE); $(unstage)
26690 @r=`${PWD_COMMAND}`; export r; \
26691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26692 $(HOST_EXPORTS) \
26693 (cd $(HOST_SUBDIR)/ld && \
26694 $(MAKE) $(FLAGS_TO_PASS) check)
26696 @endif ld
26698 .PHONY: install-ld maybe-install-ld
26699 maybe-install-ld:
26700 @if ld
26701 maybe-install-ld: install-ld
26703 install-ld: installdirs
26704 @: $(MAKE); $(unstage)
26705 @r=`${PWD_COMMAND}`; export r; \
26706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26707 $(HOST_EXPORTS) \
26708 (cd $(HOST_SUBDIR)/ld && \
26709 $(MAKE) $(FLAGS_TO_PASS) install)
26711 @endif ld
26713 # Other targets (info, dvi, pdf, etc.)
26715 .PHONY: maybe-info-ld info-ld
26716 maybe-info-ld:
26717 @if ld
26718 maybe-info-ld: info-ld
26720 info-ld: \
26721 configure-ld
26722 @[ -f ./ld/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 info in ld" ; \
26730 (cd $(HOST_SUBDIR)/ld && \
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 info) \
26736 || exit 1
26738 @endif ld
26740 .PHONY: maybe-dvi-ld dvi-ld
26741 maybe-dvi-ld:
26742 @if ld
26743 maybe-dvi-ld: dvi-ld
26745 dvi-ld: \
26746 configure-ld
26747 @[ -f ./ld/Makefile ] || exit 0; \
26748 r=`${PWD_COMMAND}`; export r; \
26749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26750 $(HOST_EXPORTS) \
26751 for flag in $(EXTRA_HOST_FLAGS) ; do \
26752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26753 done; \
26754 echo "Doing dvi in ld" ; \
26755 (cd $(HOST_SUBDIR)/ld && \
26756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26758 "RANLIB=$${RANLIB}" \
26759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26760 dvi) \
26761 || exit 1
26763 @endif ld
26765 .PHONY: maybe-pdf-ld pdf-ld
26766 maybe-pdf-ld:
26767 @if ld
26768 maybe-pdf-ld: pdf-ld
26770 pdf-ld: \
26771 configure-ld
26772 @[ -f ./ld/Makefile ] || exit 0; \
26773 r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(HOST_EXPORTS) \
26776 for flag in $(EXTRA_HOST_FLAGS) ; do \
26777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26778 done; \
26779 echo "Doing pdf in ld" ; \
26780 (cd $(HOST_SUBDIR)/ld && \
26781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26783 "RANLIB=$${RANLIB}" \
26784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26785 pdf) \
26786 || exit 1
26788 @endif ld
26790 .PHONY: maybe-html-ld html-ld
26791 maybe-html-ld:
26792 @if ld
26793 maybe-html-ld: html-ld
26795 html-ld: \
26796 configure-ld
26797 @[ -f ./ld/Makefile ] || exit 0; \
26798 r=`${PWD_COMMAND}`; export r; \
26799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26800 $(HOST_EXPORTS) \
26801 for flag in $(EXTRA_HOST_FLAGS) ; do \
26802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26803 done; \
26804 echo "Doing html in ld" ; \
26805 (cd $(HOST_SUBDIR)/ld && \
26806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26808 "RANLIB=$${RANLIB}" \
26809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26810 html) \
26811 || exit 1
26813 @endif ld
26815 .PHONY: maybe-TAGS-ld TAGS-ld
26816 maybe-TAGS-ld:
26817 @if ld
26818 maybe-TAGS-ld: TAGS-ld
26820 TAGS-ld: \
26821 configure-ld
26822 @[ -f ./ld/Makefile ] || exit 0; \
26823 r=`${PWD_COMMAND}`; export r; \
26824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26825 $(HOST_EXPORTS) \
26826 for flag in $(EXTRA_HOST_FLAGS) ; do \
26827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26828 done; \
26829 echo "Doing TAGS in ld" ; \
26830 (cd $(HOST_SUBDIR)/ld && \
26831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26833 "RANLIB=$${RANLIB}" \
26834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26835 TAGS) \
26836 || exit 1
26838 @endif ld
26840 .PHONY: maybe-install-info-ld install-info-ld
26841 maybe-install-info-ld:
26842 @if ld
26843 maybe-install-info-ld: install-info-ld
26845 install-info-ld: \
26846 configure-ld \
26847 info-ld
26848 @[ -f ./ld/Makefile ] || exit 0; \
26849 r=`${PWD_COMMAND}`; export r; \
26850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26851 $(HOST_EXPORTS) \
26852 for flag in $(EXTRA_HOST_FLAGS) ; do \
26853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26854 done; \
26855 echo "Doing install-info in ld" ; \
26856 (cd $(HOST_SUBDIR)/ld && \
26857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26859 "RANLIB=$${RANLIB}" \
26860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26861 install-info) \
26862 || exit 1
26864 @endif ld
26866 .PHONY: maybe-install-pdf-ld install-pdf-ld
26867 maybe-install-pdf-ld:
26868 @if ld
26869 maybe-install-pdf-ld: install-pdf-ld
26871 install-pdf-ld: \
26872 configure-ld \
26873 pdf-ld
26874 @[ -f ./ld/Makefile ] || exit 0; \
26875 r=`${PWD_COMMAND}`; export r; \
26876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26877 $(HOST_EXPORTS) \
26878 for flag in $(EXTRA_HOST_FLAGS) ; do \
26879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26880 done; \
26881 echo "Doing install-pdf in ld" ; \
26882 (cd $(HOST_SUBDIR)/ld && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885 "RANLIB=$${RANLIB}" \
26886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26887 install-pdf) \
26888 || exit 1
26890 @endif ld
26892 .PHONY: maybe-install-html-ld install-html-ld
26893 maybe-install-html-ld:
26894 @if ld
26895 maybe-install-html-ld: install-html-ld
26897 install-html-ld: \
26898 configure-ld \
26899 html-ld
26900 @[ -f ./ld/Makefile ] || exit 0; \
26901 r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 $(HOST_EXPORTS) \
26904 for flag in $(EXTRA_HOST_FLAGS) ; do \
26905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26906 done; \
26907 echo "Doing install-html in ld" ; \
26908 (cd $(HOST_SUBDIR)/ld && \
26909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26911 "RANLIB=$${RANLIB}" \
26912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26913 install-html) \
26914 || exit 1
26916 @endif ld
26918 .PHONY: maybe-installcheck-ld installcheck-ld
26919 maybe-installcheck-ld:
26920 @if ld
26921 maybe-installcheck-ld: installcheck-ld
26923 installcheck-ld: \
26924 configure-ld
26925 @[ -f ./ld/Makefile ] || exit 0; \
26926 r=`${PWD_COMMAND}`; export r; \
26927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26928 $(HOST_EXPORTS) \
26929 for flag in $(EXTRA_HOST_FLAGS) ; do \
26930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26931 done; \
26932 echo "Doing installcheck in ld" ; \
26933 (cd $(HOST_SUBDIR)/ld && \
26934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26936 "RANLIB=$${RANLIB}" \
26937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26938 installcheck) \
26939 || exit 1
26941 @endif ld
26943 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
26944 maybe-mostlyclean-ld:
26945 @if ld
26946 maybe-mostlyclean-ld: mostlyclean-ld
26948 mostlyclean-ld:
26949 @[ -f ./ld/Makefile ] || exit 0; \
26950 r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26952 $(HOST_EXPORTS) \
26953 for flag in $(EXTRA_HOST_FLAGS) ; do \
26954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26955 done; \
26956 echo "Doing mostlyclean in ld" ; \
26957 (cd $(HOST_SUBDIR)/ld && \
26958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26960 "RANLIB=$${RANLIB}" \
26961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26962 mostlyclean) \
26963 || exit 1
26965 @endif ld
26967 .PHONY: maybe-clean-ld clean-ld
26968 maybe-clean-ld:
26969 @if ld
26970 maybe-clean-ld: clean-ld
26972 clean-ld:
26973 @[ -f ./ld/Makefile ] || exit 0; \
26974 r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 for flag in $(EXTRA_HOST_FLAGS) ; do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 echo "Doing clean in ld" ; \
26981 (cd $(HOST_SUBDIR)/ld && \
26982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26984 "RANLIB=$${RANLIB}" \
26985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26986 clean) \
26987 || exit 1
26989 @endif ld
26991 .PHONY: maybe-distclean-ld distclean-ld
26992 maybe-distclean-ld:
26993 @if ld
26994 maybe-distclean-ld: distclean-ld
26996 distclean-ld:
26997 @[ -f ./ld/Makefile ] || exit 0; \
26998 r=`${PWD_COMMAND}`; export r; \
26999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27000 $(HOST_EXPORTS) \
27001 for flag in $(EXTRA_HOST_FLAGS) ; do \
27002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27003 done; \
27004 echo "Doing distclean in ld" ; \
27005 (cd $(HOST_SUBDIR)/ld && \
27006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27008 "RANLIB=$${RANLIB}" \
27009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27010 distclean) \
27011 || exit 1
27013 @endif ld
27015 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
27016 maybe-maintainer-clean-ld:
27017 @if ld
27018 maybe-maintainer-clean-ld: maintainer-clean-ld
27020 maintainer-clean-ld:
27021 @[ -f ./ld/Makefile ] || exit 0; \
27022 r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(HOST_EXPORTS) \
27025 for flag in $(EXTRA_HOST_FLAGS) ; do \
27026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 done; \
27028 echo "Doing maintainer-clean in ld" ; \
27029 (cd $(HOST_SUBDIR)/ld && \
27030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27032 "RANLIB=$${RANLIB}" \
27033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27034 maintainer-clean) \
27035 || exit 1
27037 @endif ld
27041 .PHONY: configure-libcpp maybe-configure-libcpp
27042 maybe-configure-libcpp:
27043 @if gcc-bootstrap
27044 configure-libcpp: stage_current
27045 @endif gcc-bootstrap
27046 @if libcpp
27047 maybe-configure-libcpp: configure-libcpp
27048 configure-libcpp:
27049 @r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27051 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27053 $(HOST_EXPORTS) \
27054 echo Configuring in $(HOST_SUBDIR)/libcpp; \
27055 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
27056 case $(srcdir) in \
27057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27058 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27060 esac; \
27061 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27062 libsrcdir="$$s/libcpp"; \
27063 $(SHELL) $${libsrcdir}/configure \
27064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27065 --target=${target_alias} $${srcdiroption} \
27066 || exit 1
27067 @endif libcpp
27071 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
27072 maybe-configure-stage1-libcpp:
27073 @if libcpp-bootstrap
27074 maybe-configure-stage1-libcpp: configure-stage1-libcpp
27075 configure-stage1-libcpp:
27076 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27078 @r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 TFLAGS="$(STAGE1_TFLAGS)"; \
27081 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27082 $(HOST_EXPORTS) \
27083 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27084 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27085 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27086 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
27087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27088 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27089 case $(srcdir) in \
27090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27091 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27093 esac; \
27094 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27095 libsrcdir="$$s/libcpp"; \
27096 $(SHELL) $${libsrcdir}/configure \
27097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27098 --target=${target_alias} $${srcdiroption} \
27099 $(STAGE1_CONFIGURE_FLAGS)
27100 @endif libcpp-bootstrap
27102 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
27103 maybe-configure-stage2-libcpp:
27104 @if libcpp-bootstrap
27105 maybe-configure-stage2-libcpp: configure-stage2-libcpp
27106 configure-stage2-libcpp:
27107 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27109 @r=`${PWD_COMMAND}`; export r; \
27110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27111 TFLAGS="$(STAGE2_TFLAGS)"; \
27112 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27113 $(HOST_EXPORTS) \
27114 $(POSTSTAGE1_HOST_EXPORTS) \
27115 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27116 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27117 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27118 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
27119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27120 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27121 case $(srcdir) in \
27122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27123 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27125 esac; \
27126 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27127 libsrcdir="$$s/libcpp"; \
27128 $(SHELL) $${libsrcdir}/configure \
27129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27130 --target=${target_alias} $${srcdiroption} \
27131 --with-build-libsubdir=$(HOST_SUBDIR) \
27132 $(STAGE2_CONFIGURE_FLAGS)
27133 @endif libcpp-bootstrap
27135 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
27136 maybe-configure-stage3-libcpp:
27137 @if libcpp-bootstrap
27138 maybe-configure-stage3-libcpp: configure-stage3-libcpp
27139 configure-stage3-libcpp:
27140 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27142 @r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 TFLAGS="$(STAGE3_TFLAGS)"; \
27145 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27146 $(HOST_EXPORTS) \
27147 $(POSTSTAGE1_HOST_EXPORTS) \
27148 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27149 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27150 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27151 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
27152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27153 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27154 case $(srcdir) in \
27155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27156 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27158 esac; \
27159 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27160 libsrcdir="$$s/libcpp"; \
27161 $(SHELL) $${libsrcdir}/configure \
27162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27163 --target=${target_alias} $${srcdiroption} \
27164 --with-build-libsubdir=$(HOST_SUBDIR) \
27165 $(STAGE3_CONFIGURE_FLAGS)
27166 @endif libcpp-bootstrap
27168 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
27169 maybe-configure-stage4-libcpp:
27170 @if libcpp-bootstrap
27171 maybe-configure-stage4-libcpp: configure-stage4-libcpp
27172 configure-stage4-libcpp:
27173 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27175 @r=`${PWD_COMMAND}`; export r; \
27176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27177 TFLAGS="$(STAGE4_TFLAGS)"; \
27178 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27179 $(HOST_EXPORTS) \
27180 $(POSTSTAGE1_HOST_EXPORTS) \
27181 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27182 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27183 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27184 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
27185 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27186 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27187 case $(srcdir) in \
27188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27189 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27191 esac; \
27192 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27193 libsrcdir="$$s/libcpp"; \
27194 $(SHELL) $${libsrcdir}/configure \
27195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27196 --target=${target_alias} $${srcdiroption} \
27197 --with-build-libsubdir=$(HOST_SUBDIR) \
27198 $(STAGE4_CONFIGURE_FLAGS)
27199 @endif libcpp-bootstrap
27201 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
27202 maybe-configure-stageprofile-libcpp:
27203 @if libcpp-bootstrap
27204 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
27205 configure-stageprofile-libcpp:
27206 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27208 @r=`${PWD_COMMAND}`; export r; \
27209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27210 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27211 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27212 $(HOST_EXPORTS) \
27213 $(POSTSTAGE1_HOST_EXPORTS) \
27214 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27215 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27216 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27217 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
27218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27219 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27220 case $(srcdir) in \
27221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27222 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27224 esac; \
27225 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27226 libsrcdir="$$s/libcpp"; \
27227 $(SHELL) $${libsrcdir}/configure \
27228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27229 --target=${target_alias} $${srcdiroption} \
27230 --with-build-libsubdir=$(HOST_SUBDIR) \
27231 $(STAGEprofile_CONFIGURE_FLAGS)
27232 @endif libcpp-bootstrap
27234 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
27235 maybe-configure-stagefeedback-libcpp:
27236 @if libcpp-bootstrap
27237 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
27238 configure-stagefeedback-libcpp:
27239 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
27241 @r=`${PWD_COMMAND}`; export r; \
27242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27243 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27244 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
27245 $(HOST_EXPORTS) \
27246 $(POSTSTAGE1_HOST_EXPORTS) \
27247 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27248 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27249 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27250 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
27251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
27252 cd $(HOST_SUBDIR)/libcpp || exit 1; \
27253 case $(srcdir) in \
27254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27255 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
27256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27257 esac; \
27258 srcdiroption="--srcdir=$${topdir}/libcpp"; \
27259 libsrcdir="$$s/libcpp"; \
27260 $(SHELL) $${libsrcdir}/configure \
27261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27262 --target=${target_alias} $${srcdiroption} \
27263 --with-build-libsubdir=$(HOST_SUBDIR) \
27264 $(STAGEfeedback_CONFIGURE_FLAGS)
27265 @endif libcpp-bootstrap
27271 .PHONY: all-libcpp maybe-all-libcpp
27272 maybe-all-libcpp:
27273 @if gcc-bootstrap
27274 all-libcpp: stage_current
27275 @endif gcc-bootstrap
27276 @if libcpp
27277 TARGET-libcpp=all
27278 maybe-all-libcpp: all-libcpp
27279 all-libcpp: configure-libcpp
27280 @r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 (cd $(HOST_SUBDIR)/libcpp && \
27284 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27285 $(TARGET-libcpp))
27286 @endif libcpp
27290 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
27291 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
27292 maybe-all-stage1-libcpp:
27293 maybe-clean-stage1-libcpp:
27294 @if libcpp-bootstrap
27295 maybe-all-stage1-libcpp: all-stage1-libcpp
27296 all-stage1: all-stage1-libcpp
27297 TARGET-stage1-libcpp = $(TARGET-libcpp)
27298 all-stage1-libcpp: configure-stage1-libcpp
27299 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27300 @r=`${PWD_COMMAND}`; export r; \
27301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27302 TFLAGS="$(STAGE1_TFLAGS)"; \
27303 $(HOST_EXPORTS) \
27304 cd $(HOST_SUBDIR)/libcpp && \
27305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27306 CFLAGS="$(STAGE1_CFLAGS)" \
27307 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27308 LIBCFLAGS="$(LIBCFLAGS)" \
27309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27312 $(EXTRA_HOST_FLAGS) \
27313 TFLAGS="$(STAGE1_TFLAGS)" \
27314 $(TARGET-stage1-libcpp)
27316 maybe-clean-stage1-libcpp: clean-stage1-libcpp
27317 clean-stage1: clean-stage1-libcpp
27318 clean-stage1-libcpp:
27319 @if [ $(current_stage) = stage1 ]; then \
27320 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27321 else \
27322 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
27323 $(MAKE) stage1-start; \
27324 fi; \
27325 cd $(HOST_SUBDIR)/libcpp && \
27326 $(MAKE) $(EXTRA_HOST_FLAGS) \
27327 clean
27328 @endif libcpp-bootstrap
27331 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
27332 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
27333 maybe-all-stage2-libcpp:
27334 maybe-clean-stage2-libcpp:
27335 @if libcpp-bootstrap
27336 maybe-all-stage2-libcpp: all-stage2-libcpp
27337 all-stage2: all-stage2-libcpp
27338 TARGET-stage2-libcpp = $(TARGET-libcpp)
27339 all-stage2-libcpp: configure-stage2-libcpp
27340 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27341 @r=`${PWD_COMMAND}`; export r; \
27342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 TFLAGS="$(STAGE2_TFLAGS)"; \
27344 $(HOST_EXPORTS) \
27345 $(POSTSTAGE1_HOST_EXPORTS) \
27346 cd $(HOST_SUBDIR)/libcpp && \
27347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27348 CFLAGS="$(STAGE2_CFLAGS)" \
27349 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27350 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27355 TFLAGS="$(STAGE2_TFLAGS)" \
27356 $(TARGET-stage2-libcpp)
27358 maybe-clean-stage2-libcpp: clean-stage2-libcpp
27359 clean-stage2: clean-stage2-libcpp
27360 clean-stage2-libcpp:
27361 @if [ $(current_stage) = stage2 ]; then \
27362 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27363 else \
27364 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
27365 $(MAKE) stage2-start; \
27366 fi; \
27367 cd $(HOST_SUBDIR)/libcpp && \
27368 $(MAKE) $(EXTRA_HOST_FLAGS) \
27369 $(POSTSTAGE1_FLAGS_TO_PASS) \
27370 clean
27371 @endif libcpp-bootstrap
27374 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
27375 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
27376 maybe-all-stage3-libcpp:
27377 maybe-clean-stage3-libcpp:
27378 @if libcpp-bootstrap
27379 maybe-all-stage3-libcpp: all-stage3-libcpp
27380 all-stage3: all-stage3-libcpp
27381 TARGET-stage3-libcpp = $(TARGET-libcpp)
27382 all-stage3-libcpp: configure-stage3-libcpp
27383 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27384 @r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 TFLAGS="$(STAGE3_TFLAGS)"; \
27387 $(HOST_EXPORTS) \
27388 $(POSTSTAGE1_HOST_EXPORTS) \
27389 cd $(HOST_SUBDIR)/libcpp && \
27390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27391 CFLAGS="$(STAGE3_CFLAGS)" \
27392 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27393 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27398 TFLAGS="$(STAGE3_TFLAGS)" \
27399 $(TARGET-stage3-libcpp)
27401 maybe-clean-stage3-libcpp: clean-stage3-libcpp
27402 clean-stage3: clean-stage3-libcpp
27403 clean-stage3-libcpp:
27404 @if [ $(current_stage) = stage3 ]; then \
27405 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27406 else \
27407 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
27408 $(MAKE) stage3-start; \
27409 fi; \
27410 cd $(HOST_SUBDIR)/libcpp && \
27411 $(MAKE) $(EXTRA_HOST_FLAGS) \
27412 $(POSTSTAGE1_FLAGS_TO_PASS) \
27413 clean
27414 @endif libcpp-bootstrap
27417 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
27418 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
27419 maybe-all-stage4-libcpp:
27420 maybe-clean-stage4-libcpp:
27421 @if libcpp-bootstrap
27422 maybe-all-stage4-libcpp: all-stage4-libcpp
27423 all-stage4: all-stage4-libcpp
27424 TARGET-stage4-libcpp = $(TARGET-libcpp)
27425 all-stage4-libcpp: configure-stage4-libcpp
27426 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27427 @r=`${PWD_COMMAND}`; export r; \
27428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27429 TFLAGS="$(STAGE4_TFLAGS)"; \
27430 $(HOST_EXPORTS) \
27431 $(POSTSTAGE1_HOST_EXPORTS) \
27432 cd $(HOST_SUBDIR)/libcpp && \
27433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27434 CFLAGS="$(STAGE4_CFLAGS)" \
27435 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27436 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27441 TFLAGS="$(STAGE4_TFLAGS)" \
27442 $(TARGET-stage4-libcpp)
27444 maybe-clean-stage4-libcpp: clean-stage4-libcpp
27445 clean-stage4: clean-stage4-libcpp
27446 clean-stage4-libcpp:
27447 @if [ $(current_stage) = stage4 ]; then \
27448 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27449 else \
27450 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
27451 $(MAKE) stage4-start; \
27452 fi; \
27453 cd $(HOST_SUBDIR)/libcpp && \
27454 $(MAKE) $(EXTRA_HOST_FLAGS) \
27455 $(POSTSTAGE1_FLAGS_TO_PASS) \
27456 clean
27457 @endif libcpp-bootstrap
27460 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
27461 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
27462 maybe-all-stageprofile-libcpp:
27463 maybe-clean-stageprofile-libcpp:
27464 @if libcpp-bootstrap
27465 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
27466 all-stageprofile: all-stageprofile-libcpp
27467 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
27468 all-stageprofile-libcpp: configure-stageprofile-libcpp
27469 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27470 @r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27472 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27473 $(HOST_EXPORTS) \
27474 $(POSTSTAGE1_HOST_EXPORTS) \
27475 cd $(HOST_SUBDIR)/libcpp && \
27476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27477 CFLAGS="$(STAGEprofile_CFLAGS)" \
27478 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27479 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27483 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27484 TFLAGS="$(STAGEprofile_TFLAGS)" \
27485 $(TARGET-stageprofile-libcpp)
27487 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
27488 clean-stageprofile: clean-stageprofile-libcpp
27489 clean-stageprofile-libcpp:
27490 @if [ $(current_stage) = stageprofile ]; then \
27491 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27492 else \
27493 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
27494 $(MAKE) stageprofile-start; \
27495 fi; \
27496 cd $(HOST_SUBDIR)/libcpp && \
27497 $(MAKE) $(EXTRA_HOST_FLAGS) \
27498 $(POSTSTAGE1_FLAGS_TO_PASS) \
27499 clean
27500 @endif libcpp-bootstrap
27503 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
27504 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
27505 maybe-all-stagefeedback-libcpp:
27506 maybe-clean-stagefeedback-libcpp:
27507 @if libcpp-bootstrap
27508 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
27509 all-stagefeedback: all-stagefeedback-libcpp
27510 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
27511 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
27512 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27513 @r=`${PWD_COMMAND}`; export r; \
27514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27515 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27516 $(HOST_EXPORTS) \
27517 $(POSTSTAGE1_HOST_EXPORTS) \
27518 cd $(HOST_SUBDIR)/libcpp && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27520 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27521 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27522 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27526 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27527 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27528 $(TARGET-stagefeedback-libcpp)
27530 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
27531 clean-stagefeedback: clean-stagefeedback-libcpp
27532 clean-stagefeedback-libcpp:
27533 @if [ $(current_stage) = stagefeedback ]; then \
27534 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
27535 else \
27536 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
27537 $(MAKE) stagefeedback-start; \
27538 fi; \
27539 cd $(HOST_SUBDIR)/libcpp && \
27540 $(MAKE) $(EXTRA_HOST_FLAGS) \
27541 $(POSTSTAGE1_FLAGS_TO_PASS) \
27542 clean
27543 @endif libcpp-bootstrap
27549 .PHONY: check-libcpp maybe-check-libcpp
27550 maybe-check-libcpp:
27551 @if libcpp
27552 maybe-check-libcpp: check-libcpp
27554 check-libcpp:
27555 @: $(MAKE); $(unstage)
27556 @r=`${PWD_COMMAND}`; export r; \
27557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27558 $(HOST_EXPORTS) \
27559 (cd $(HOST_SUBDIR)/libcpp && \
27560 $(MAKE) $(FLAGS_TO_PASS) check)
27562 @endif libcpp
27564 .PHONY: install-libcpp maybe-install-libcpp
27565 maybe-install-libcpp:
27566 @if libcpp
27567 maybe-install-libcpp: install-libcpp
27569 install-libcpp: installdirs
27570 @: $(MAKE); $(unstage)
27571 @r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(HOST_EXPORTS) \
27574 (cd $(HOST_SUBDIR)/libcpp && \
27575 $(MAKE) $(FLAGS_TO_PASS) install)
27577 @endif libcpp
27579 # Other targets (info, dvi, pdf, etc.)
27581 .PHONY: maybe-info-libcpp info-libcpp
27582 maybe-info-libcpp:
27583 @if libcpp
27584 maybe-info-libcpp: info-libcpp
27586 info-libcpp: \
27587 configure-libcpp
27588 @[ -f ./libcpp/Makefile ] || exit 0; \
27589 r=`${PWD_COMMAND}`; export r; \
27590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27591 $(HOST_EXPORTS) \
27592 for flag in $(EXTRA_HOST_FLAGS) ; do \
27593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27594 done; \
27595 echo "Doing info in libcpp" ; \
27596 (cd $(HOST_SUBDIR)/libcpp && \
27597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27599 "RANLIB=$${RANLIB}" \
27600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27601 info) \
27602 || exit 1
27604 @endif libcpp
27606 .PHONY: maybe-dvi-libcpp dvi-libcpp
27607 maybe-dvi-libcpp:
27608 @if libcpp
27609 maybe-dvi-libcpp: dvi-libcpp
27611 dvi-libcpp: \
27612 configure-libcpp
27613 @[ -f ./libcpp/Makefile ] || exit 0; \
27614 r=`${PWD_COMMAND}`; export r; \
27615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27616 $(HOST_EXPORTS) \
27617 for flag in $(EXTRA_HOST_FLAGS) ; do \
27618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27619 done; \
27620 echo "Doing dvi in libcpp" ; \
27621 (cd $(HOST_SUBDIR)/libcpp && \
27622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27624 "RANLIB=$${RANLIB}" \
27625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27626 dvi) \
27627 || exit 1
27629 @endif libcpp
27631 .PHONY: maybe-pdf-libcpp pdf-libcpp
27632 maybe-pdf-libcpp:
27633 @if libcpp
27634 maybe-pdf-libcpp: pdf-libcpp
27636 pdf-libcpp: \
27637 configure-libcpp
27638 @[ -f ./libcpp/Makefile ] || exit 0; \
27639 r=`${PWD_COMMAND}`; export r; \
27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27641 $(HOST_EXPORTS) \
27642 for flag in $(EXTRA_HOST_FLAGS) ; do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27644 done; \
27645 echo "Doing pdf in libcpp" ; \
27646 (cd $(HOST_SUBDIR)/libcpp && \
27647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27649 "RANLIB=$${RANLIB}" \
27650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27651 pdf) \
27652 || exit 1
27654 @endif libcpp
27656 .PHONY: maybe-html-libcpp html-libcpp
27657 maybe-html-libcpp:
27658 @if libcpp
27659 maybe-html-libcpp: html-libcpp
27661 html-libcpp: \
27662 configure-libcpp
27663 @[ -f ./libcpp/Makefile ] || exit 0; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(HOST_EXPORTS) \
27667 for flag in $(EXTRA_HOST_FLAGS) ; do \
27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27669 done; \
27670 echo "Doing html in libcpp" ; \
27671 (cd $(HOST_SUBDIR)/libcpp && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27674 "RANLIB=$${RANLIB}" \
27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27676 html) \
27677 || exit 1
27679 @endif libcpp
27681 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
27682 maybe-TAGS-libcpp:
27683 @if libcpp
27684 maybe-TAGS-libcpp: TAGS-libcpp
27686 TAGS-libcpp: \
27687 configure-libcpp
27688 @[ -f ./libcpp/Makefile ] || exit 0; \
27689 r=`${PWD_COMMAND}`; export r; \
27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27691 $(HOST_EXPORTS) \
27692 for flag in $(EXTRA_HOST_FLAGS) ; do \
27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27694 done; \
27695 echo "Doing TAGS in libcpp" ; \
27696 (cd $(HOST_SUBDIR)/libcpp && \
27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27699 "RANLIB=$${RANLIB}" \
27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27701 TAGS) \
27702 || exit 1
27704 @endif libcpp
27706 .PHONY: maybe-install-info-libcpp install-info-libcpp
27707 maybe-install-info-libcpp:
27708 @if libcpp
27709 maybe-install-info-libcpp: install-info-libcpp
27711 install-info-libcpp: \
27712 configure-libcpp \
27713 info-libcpp
27714 @[ -f ./libcpp/Makefile ] || exit 0; \
27715 r=`${PWD_COMMAND}`; export r; \
27716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27717 $(HOST_EXPORTS) \
27718 for flag in $(EXTRA_HOST_FLAGS) ; do \
27719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27720 done; \
27721 echo "Doing install-info in libcpp" ; \
27722 (cd $(HOST_SUBDIR)/libcpp && \
27723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27725 "RANLIB=$${RANLIB}" \
27726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27727 install-info) \
27728 || exit 1
27730 @endif libcpp
27732 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
27733 maybe-install-pdf-libcpp:
27734 @if libcpp
27735 maybe-install-pdf-libcpp: install-pdf-libcpp
27737 install-pdf-libcpp: \
27738 configure-libcpp \
27739 pdf-libcpp
27740 @[ -f ./libcpp/Makefile ] || exit 0; \
27741 r=`${PWD_COMMAND}`; export r; \
27742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27743 $(HOST_EXPORTS) \
27744 for flag in $(EXTRA_HOST_FLAGS) ; do \
27745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27746 done; \
27747 echo "Doing install-pdf in libcpp" ; \
27748 (cd $(HOST_SUBDIR)/libcpp && \
27749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27751 "RANLIB=$${RANLIB}" \
27752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27753 install-pdf) \
27754 || exit 1
27756 @endif libcpp
27758 .PHONY: maybe-install-html-libcpp install-html-libcpp
27759 maybe-install-html-libcpp:
27760 @if libcpp
27761 maybe-install-html-libcpp: install-html-libcpp
27763 install-html-libcpp: \
27764 configure-libcpp \
27765 html-libcpp
27766 @[ -f ./libcpp/Makefile ] || exit 0; \
27767 r=`${PWD_COMMAND}`; export r; \
27768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27769 $(HOST_EXPORTS) \
27770 for flag in $(EXTRA_HOST_FLAGS) ; do \
27771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27772 done; \
27773 echo "Doing install-html in libcpp" ; \
27774 (cd $(HOST_SUBDIR)/libcpp && \
27775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27777 "RANLIB=$${RANLIB}" \
27778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27779 install-html) \
27780 || exit 1
27782 @endif libcpp
27784 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
27785 maybe-installcheck-libcpp:
27786 @if libcpp
27787 maybe-installcheck-libcpp: installcheck-libcpp
27789 installcheck-libcpp: \
27790 configure-libcpp
27791 @[ -f ./libcpp/Makefile ] || exit 0; \
27792 r=`${PWD_COMMAND}`; export r; \
27793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27794 $(HOST_EXPORTS) \
27795 for flag in $(EXTRA_HOST_FLAGS) ; do \
27796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27797 done; \
27798 echo "Doing installcheck in libcpp" ; \
27799 (cd $(HOST_SUBDIR)/libcpp && \
27800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27802 "RANLIB=$${RANLIB}" \
27803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27804 installcheck) \
27805 || exit 1
27807 @endif libcpp
27809 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
27810 maybe-mostlyclean-libcpp:
27811 @if libcpp
27812 maybe-mostlyclean-libcpp: mostlyclean-libcpp
27814 mostlyclean-libcpp:
27815 @[ -f ./libcpp/Makefile ] || exit 0; \
27816 r=`${PWD_COMMAND}`; export r; \
27817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27818 $(HOST_EXPORTS) \
27819 for flag in $(EXTRA_HOST_FLAGS) ; do \
27820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27821 done; \
27822 echo "Doing mostlyclean in libcpp" ; \
27823 (cd $(HOST_SUBDIR)/libcpp && \
27824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27826 "RANLIB=$${RANLIB}" \
27827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27828 mostlyclean) \
27829 || exit 1
27831 @endif libcpp
27833 .PHONY: maybe-clean-libcpp clean-libcpp
27834 maybe-clean-libcpp:
27835 @if libcpp
27836 maybe-clean-libcpp: clean-libcpp
27838 clean-libcpp:
27839 @[ -f ./libcpp/Makefile ] || exit 0; \
27840 r=`${PWD_COMMAND}`; export r; \
27841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27842 $(HOST_EXPORTS) \
27843 for flag in $(EXTRA_HOST_FLAGS) ; do \
27844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27845 done; \
27846 echo "Doing clean in libcpp" ; \
27847 (cd $(HOST_SUBDIR)/libcpp && \
27848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27850 "RANLIB=$${RANLIB}" \
27851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27852 clean) \
27853 || exit 1
27855 @endif libcpp
27857 .PHONY: maybe-distclean-libcpp distclean-libcpp
27858 maybe-distclean-libcpp:
27859 @if libcpp
27860 maybe-distclean-libcpp: distclean-libcpp
27862 distclean-libcpp:
27863 @[ -f ./libcpp/Makefile ] || exit 0; \
27864 r=`${PWD_COMMAND}`; export r; \
27865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27866 $(HOST_EXPORTS) \
27867 for flag in $(EXTRA_HOST_FLAGS) ; do \
27868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27869 done; \
27870 echo "Doing distclean in libcpp" ; \
27871 (cd $(HOST_SUBDIR)/libcpp && \
27872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27874 "RANLIB=$${RANLIB}" \
27875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27876 distclean) \
27877 || exit 1
27879 @endif libcpp
27881 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
27882 maybe-maintainer-clean-libcpp:
27883 @if libcpp
27884 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
27886 maintainer-clean-libcpp:
27887 @[ -f ./libcpp/Makefile ] || exit 0; \
27888 r=`${PWD_COMMAND}`; export r; \
27889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27890 $(HOST_EXPORTS) \
27891 for flag in $(EXTRA_HOST_FLAGS) ; do \
27892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27893 done; \
27894 echo "Doing maintainer-clean in libcpp" ; \
27895 (cd $(HOST_SUBDIR)/libcpp && \
27896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27898 "RANLIB=$${RANLIB}" \
27899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27900 maintainer-clean) \
27901 || exit 1
27903 @endif libcpp
27907 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
27908 maybe-configure-libdecnumber:
27909 @if gcc-bootstrap
27910 configure-libdecnumber: stage_current
27911 @endif gcc-bootstrap
27912 @if libdecnumber
27913 maybe-configure-libdecnumber: configure-libdecnumber
27914 configure-libdecnumber:
27915 @r=`${PWD_COMMAND}`; export r; \
27916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
27919 $(HOST_EXPORTS) \
27920 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
27921 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
27922 case $(srcdir) in \
27923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27924 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27926 esac; \
27927 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
27928 libsrcdir="$$s/libdecnumber"; \
27929 $(SHELL) $${libsrcdir}/configure \
27930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27931 --target=${target_alias} $${srcdiroption} \
27932 || exit 1
27933 @endif libdecnumber
27937 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
27938 maybe-configure-stage1-libdecnumber:
27939 @if libdecnumber-bootstrap
27940 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
27941 configure-stage1-libdecnumber:
27942 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27944 @r=`${PWD_COMMAND}`; export r; \
27945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27946 TFLAGS="$(STAGE1_TFLAGS)"; \
27947 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27948 $(HOST_EXPORTS) \
27949 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27950 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27951 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27952 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
27953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
27954 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27955 case $(srcdir) in \
27956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27957 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27959 esac; \
27960 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
27961 libsrcdir="$$s/libdecnumber"; \
27962 $(SHELL) $${libsrcdir}/configure \
27963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27964 --target=${target_alias} $${srcdiroption} \
27965 $(STAGE1_CONFIGURE_FLAGS)
27966 @endif libdecnumber-bootstrap
27968 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
27969 maybe-configure-stage2-libdecnumber:
27970 @if libdecnumber-bootstrap
27971 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
27972 configure-stage2-libdecnumber:
27973 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27975 @r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 TFLAGS="$(STAGE2_TFLAGS)"; \
27978 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27979 $(HOST_EXPORTS) \
27980 $(POSTSTAGE1_HOST_EXPORTS) \
27981 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27982 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27983 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27984 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
27985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
27986 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27987 case $(srcdir) in \
27988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27989 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27991 esac; \
27992 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
27993 libsrcdir="$$s/libdecnumber"; \
27994 $(SHELL) $${libsrcdir}/configure \
27995 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27996 --target=${target_alias} $${srcdiroption} \
27997 --with-build-libsubdir=$(HOST_SUBDIR) \
27998 $(STAGE2_CONFIGURE_FLAGS)
27999 @endif libdecnumber-bootstrap
28001 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
28002 maybe-configure-stage3-libdecnumber:
28003 @if libdecnumber-bootstrap
28004 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
28005 configure-stage3-libdecnumber:
28006 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28007 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28008 @r=`${PWD_COMMAND}`; export r; \
28009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28010 TFLAGS="$(STAGE3_TFLAGS)"; \
28011 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28012 $(HOST_EXPORTS) \
28013 $(POSTSTAGE1_HOST_EXPORTS) \
28014 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28015 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28016 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28017 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
28018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28019 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28020 case $(srcdir) in \
28021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28022 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28024 esac; \
28025 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28026 libsrcdir="$$s/libdecnumber"; \
28027 $(SHELL) $${libsrcdir}/configure \
28028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28029 --target=${target_alias} $${srcdiroption} \
28030 --with-build-libsubdir=$(HOST_SUBDIR) \
28031 $(STAGE3_CONFIGURE_FLAGS)
28032 @endif libdecnumber-bootstrap
28034 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
28035 maybe-configure-stage4-libdecnumber:
28036 @if libdecnumber-bootstrap
28037 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
28038 configure-stage4-libdecnumber:
28039 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28041 @r=`${PWD_COMMAND}`; export r; \
28042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 TFLAGS="$(STAGE4_TFLAGS)"; \
28044 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28045 $(HOST_EXPORTS) \
28046 $(POSTSTAGE1_HOST_EXPORTS) \
28047 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28048 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28049 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28050 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
28051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28052 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28053 case $(srcdir) in \
28054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28055 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28057 esac; \
28058 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28059 libsrcdir="$$s/libdecnumber"; \
28060 $(SHELL) $${libsrcdir}/configure \
28061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28062 --target=${target_alias} $${srcdiroption} \
28063 --with-build-libsubdir=$(HOST_SUBDIR) \
28064 $(STAGE4_CONFIGURE_FLAGS)
28065 @endif libdecnumber-bootstrap
28067 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
28068 maybe-configure-stageprofile-libdecnumber:
28069 @if libdecnumber-bootstrap
28070 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
28071 configure-stageprofile-libdecnumber:
28072 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28073 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28074 @r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28077 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28078 $(HOST_EXPORTS) \
28079 $(POSTSTAGE1_HOST_EXPORTS) \
28080 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28081 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28082 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28083 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
28084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28085 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28086 case $(srcdir) in \
28087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28088 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28090 esac; \
28091 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28092 libsrcdir="$$s/libdecnumber"; \
28093 $(SHELL) $${libsrcdir}/configure \
28094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28095 --target=${target_alias} $${srcdiroption} \
28096 --with-build-libsubdir=$(HOST_SUBDIR) \
28097 $(STAGEprofile_CONFIGURE_FLAGS)
28098 @endif libdecnumber-bootstrap
28100 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
28101 maybe-configure-stagefeedback-libdecnumber:
28102 @if libdecnumber-bootstrap
28103 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
28104 configure-stagefeedback-libdecnumber:
28105 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28106 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
28107 @r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28110 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
28111 $(HOST_EXPORTS) \
28112 $(POSTSTAGE1_HOST_EXPORTS) \
28113 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28114 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28115 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28116 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
28117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
28118 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
28119 case $(srcdir) in \
28120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28121 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
28122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28123 esac; \
28124 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
28125 libsrcdir="$$s/libdecnumber"; \
28126 $(SHELL) $${libsrcdir}/configure \
28127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28128 --target=${target_alias} $${srcdiroption} \
28129 --with-build-libsubdir=$(HOST_SUBDIR) \
28130 $(STAGEfeedback_CONFIGURE_FLAGS)
28131 @endif libdecnumber-bootstrap
28137 .PHONY: all-libdecnumber maybe-all-libdecnumber
28138 maybe-all-libdecnumber:
28139 @if gcc-bootstrap
28140 all-libdecnumber: stage_current
28141 @endif gcc-bootstrap
28142 @if libdecnumber
28143 TARGET-libdecnumber=all
28144 maybe-all-libdecnumber: all-libdecnumber
28145 all-libdecnumber: configure-libdecnumber
28146 @r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148 $(HOST_EXPORTS) \
28149 (cd $(HOST_SUBDIR)/libdecnumber && \
28150 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28151 $(TARGET-libdecnumber))
28152 @endif libdecnumber
28156 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
28157 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
28158 maybe-all-stage1-libdecnumber:
28159 maybe-clean-stage1-libdecnumber:
28160 @if libdecnumber-bootstrap
28161 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
28162 all-stage1: all-stage1-libdecnumber
28163 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
28164 all-stage1-libdecnumber: configure-stage1-libdecnumber
28165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28166 @r=`${PWD_COMMAND}`; export r; \
28167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28168 TFLAGS="$(STAGE1_TFLAGS)"; \
28169 $(HOST_EXPORTS) \
28170 cd $(HOST_SUBDIR)/libdecnumber && \
28171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28172 CFLAGS="$(STAGE1_CFLAGS)" \
28173 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28174 LIBCFLAGS="$(LIBCFLAGS)" \
28175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28178 $(EXTRA_HOST_FLAGS) \
28179 TFLAGS="$(STAGE1_TFLAGS)" \
28180 $(TARGET-stage1-libdecnumber)
28182 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
28183 clean-stage1: clean-stage1-libdecnumber
28184 clean-stage1-libdecnumber:
28185 @if [ $(current_stage) = stage1 ]; then \
28186 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28187 else \
28188 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
28189 $(MAKE) stage1-start; \
28190 fi; \
28191 cd $(HOST_SUBDIR)/libdecnumber && \
28192 $(MAKE) $(EXTRA_HOST_FLAGS) \
28193 clean
28194 @endif libdecnumber-bootstrap
28197 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
28198 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
28199 maybe-all-stage2-libdecnumber:
28200 maybe-clean-stage2-libdecnumber:
28201 @if libdecnumber-bootstrap
28202 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
28203 all-stage2: all-stage2-libdecnumber
28204 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
28205 all-stage2-libdecnumber: configure-stage2-libdecnumber
28206 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28207 @r=`${PWD_COMMAND}`; export r; \
28208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28209 TFLAGS="$(STAGE2_TFLAGS)"; \
28210 $(HOST_EXPORTS) \
28211 $(POSTSTAGE1_HOST_EXPORTS) \
28212 cd $(HOST_SUBDIR)/libdecnumber && \
28213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28214 CFLAGS="$(STAGE2_CFLAGS)" \
28215 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28216 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28221 TFLAGS="$(STAGE2_TFLAGS)" \
28222 $(TARGET-stage2-libdecnumber)
28224 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
28225 clean-stage2: clean-stage2-libdecnumber
28226 clean-stage2-libdecnumber:
28227 @if [ $(current_stage) = stage2 ]; then \
28228 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28229 else \
28230 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
28231 $(MAKE) stage2-start; \
28232 fi; \
28233 cd $(HOST_SUBDIR)/libdecnumber && \
28234 $(MAKE) $(EXTRA_HOST_FLAGS) \
28235 $(POSTSTAGE1_FLAGS_TO_PASS) \
28236 clean
28237 @endif libdecnumber-bootstrap
28240 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
28241 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
28242 maybe-all-stage3-libdecnumber:
28243 maybe-clean-stage3-libdecnumber:
28244 @if libdecnumber-bootstrap
28245 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
28246 all-stage3: all-stage3-libdecnumber
28247 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
28248 all-stage3-libdecnumber: configure-stage3-libdecnumber
28249 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28250 @r=`${PWD_COMMAND}`; export r; \
28251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28252 TFLAGS="$(STAGE3_TFLAGS)"; \
28253 $(HOST_EXPORTS) \
28254 $(POSTSTAGE1_HOST_EXPORTS) \
28255 cd $(HOST_SUBDIR)/libdecnumber && \
28256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28257 CFLAGS="$(STAGE3_CFLAGS)" \
28258 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28259 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28264 TFLAGS="$(STAGE3_TFLAGS)" \
28265 $(TARGET-stage3-libdecnumber)
28267 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
28268 clean-stage3: clean-stage3-libdecnumber
28269 clean-stage3-libdecnumber:
28270 @if [ $(current_stage) = stage3 ]; then \
28271 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28272 else \
28273 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
28274 $(MAKE) stage3-start; \
28275 fi; \
28276 cd $(HOST_SUBDIR)/libdecnumber && \
28277 $(MAKE) $(EXTRA_HOST_FLAGS) \
28278 $(POSTSTAGE1_FLAGS_TO_PASS) \
28279 clean
28280 @endif libdecnumber-bootstrap
28283 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
28284 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
28285 maybe-all-stage4-libdecnumber:
28286 maybe-clean-stage4-libdecnumber:
28287 @if libdecnumber-bootstrap
28288 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
28289 all-stage4: all-stage4-libdecnumber
28290 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
28291 all-stage4-libdecnumber: configure-stage4-libdecnumber
28292 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28293 @r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 TFLAGS="$(STAGE4_TFLAGS)"; \
28296 $(HOST_EXPORTS) \
28297 $(POSTSTAGE1_HOST_EXPORTS) \
28298 cd $(HOST_SUBDIR)/libdecnumber && \
28299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28300 CFLAGS="$(STAGE4_CFLAGS)" \
28301 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28302 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28307 TFLAGS="$(STAGE4_TFLAGS)" \
28308 $(TARGET-stage4-libdecnumber)
28310 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
28311 clean-stage4: clean-stage4-libdecnumber
28312 clean-stage4-libdecnumber:
28313 @if [ $(current_stage) = stage4 ]; then \
28314 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28315 else \
28316 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
28317 $(MAKE) stage4-start; \
28318 fi; \
28319 cd $(HOST_SUBDIR)/libdecnumber && \
28320 $(MAKE) $(EXTRA_HOST_FLAGS) \
28321 $(POSTSTAGE1_FLAGS_TO_PASS) \
28322 clean
28323 @endif libdecnumber-bootstrap
28326 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
28327 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
28328 maybe-all-stageprofile-libdecnumber:
28329 maybe-clean-stageprofile-libdecnumber:
28330 @if libdecnumber-bootstrap
28331 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
28332 all-stageprofile: all-stageprofile-libdecnumber
28333 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
28334 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
28335 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28336 @r=`${PWD_COMMAND}`; export r; \
28337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28338 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28339 $(HOST_EXPORTS) \
28340 $(POSTSTAGE1_HOST_EXPORTS) \
28341 cd $(HOST_SUBDIR)/libdecnumber && \
28342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28343 CFLAGS="$(STAGEprofile_CFLAGS)" \
28344 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28345 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28350 TFLAGS="$(STAGEprofile_TFLAGS)" \
28351 $(TARGET-stageprofile-libdecnumber)
28353 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
28354 clean-stageprofile: clean-stageprofile-libdecnumber
28355 clean-stageprofile-libdecnumber:
28356 @if [ $(current_stage) = stageprofile ]; then \
28357 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28358 else \
28359 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
28360 $(MAKE) stageprofile-start; \
28361 fi; \
28362 cd $(HOST_SUBDIR)/libdecnumber && \
28363 $(MAKE) $(EXTRA_HOST_FLAGS) \
28364 $(POSTSTAGE1_FLAGS_TO_PASS) \
28365 clean
28366 @endif libdecnumber-bootstrap
28369 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
28370 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
28371 maybe-all-stagefeedback-libdecnumber:
28372 maybe-clean-stagefeedback-libdecnumber:
28373 @if libdecnumber-bootstrap
28374 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
28375 all-stagefeedback: all-stagefeedback-libdecnumber
28376 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
28377 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
28378 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28379 @r=`${PWD_COMMAND}`; export r; \
28380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28381 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28382 $(HOST_EXPORTS) \
28383 $(POSTSTAGE1_HOST_EXPORTS) \
28384 cd $(HOST_SUBDIR)/libdecnumber && \
28385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28386 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28387 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28388 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28393 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28394 $(TARGET-stagefeedback-libdecnumber)
28396 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
28397 clean-stagefeedback: clean-stagefeedback-libdecnumber
28398 clean-stagefeedback-libdecnumber:
28399 @if [ $(current_stage) = stagefeedback ]; then \
28400 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
28401 else \
28402 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
28403 $(MAKE) stagefeedback-start; \
28404 fi; \
28405 cd $(HOST_SUBDIR)/libdecnumber && \
28406 $(MAKE) $(EXTRA_HOST_FLAGS) \
28407 $(POSTSTAGE1_FLAGS_TO_PASS) \
28408 clean
28409 @endif libdecnumber-bootstrap
28415 .PHONY: check-libdecnumber maybe-check-libdecnumber
28416 maybe-check-libdecnumber:
28417 @if libdecnumber
28418 maybe-check-libdecnumber: check-libdecnumber
28420 check-libdecnumber:
28421 @: $(MAKE); $(unstage)
28422 @r=`${PWD_COMMAND}`; export r; \
28423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 $(HOST_EXPORTS) \
28425 (cd $(HOST_SUBDIR)/libdecnumber && \
28426 $(MAKE) $(FLAGS_TO_PASS) check)
28428 @endif libdecnumber
28430 .PHONY: install-libdecnumber maybe-install-libdecnumber
28431 maybe-install-libdecnumber:
28432 @if libdecnumber
28433 maybe-install-libdecnumber: install-libdecnumber
28435 install-libdecnumber: installdirs
28436 @: $(MAKE); $(unstage)
28437 @r=`${PWD_COMMAND}`; export r; \
28438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28439 $(HOST_EXPORTS) \
28440 (cd $(HOST_SUBDIR)/libdecnumber && \
28441 $(MAKE) $(FLAGS_TO_PASS) install)
28443 @endif libdecnumber
28445 # Other targets (info, dvi, pdf, etc.)
28447 .PHONY: maybe-info-libdecnumber info-libdecnumber
28448 maybe-info-libdecnumber:
28449 @if libdecnumber
28450 maybe-info-libdecnumber: info-libdecnumber
28452 info-libdecnumber: \
28453 configure-libdecnumber
28454 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28455 r=`${PWD_COMMAND}`; export r; \
28456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28457 $(HOST_EXPORTS) \
28458 for flag in $(EXTRA_HOST_FLAGS) ; do \
28459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28460 done; \
28461 echo "Doing info in libdecnumber" ; \
28462 (cd $(HOST_SUBDIR)/libdecnumber && \
28463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28465 "RANLIB=$${RANLIB}" \
28466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28467 info) \
28468 || exit 1
28470 @endif libdecnumber
28472 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
28473 maybe-dvi-libdecnumber:
28474 @if libdecnumber
28475 maybe-dvi-libdecnumber: dvi-libdecnumber
28477 dvi-libdecnumber: \
28478 configure-libdecnumber
28479 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28480 r=`${PWD_COMMAND}`; export r; \
28481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28482 $(HOST_EXPORTS) \
28483 for flag in $(EXTRA_HOST_FLAGS) ; do \
28484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28485 done; \
28486 echo "Doing dvi in libdecnumber" ; \
28487 (cd $(HOST_SUBDIR)/libdecnumber && \
28488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28490 "RANLIB=$${RANLIB}" \
28491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28492 dvi) \
28493 || exit 1
28495 @endif libdecnumber
28497 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
28498 maybe-pdf-libdecnumber:
28499 @if libdecnumber
28500 maybe-pdf-libdecnumber: pdf-libdecnumber
28502 pdf-libdecnumber: \
28503 configure-libdecnumber
28504 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28505 r=`${PWD_COMMAND}`; export r; \
28506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28507 $(HOST_EXPORTS) \
28508 for flag in $(EXTRA_HOST_FLAGS) ; do \
28509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28510 done; \
28511 echo "Doing pdf in libdecnumber" ; \
28512 (cd $(HOST_SUBDIR)/libdecnumber && \
28513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28515 "RANLIB=$${RANLIB}" \
28516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28517 pdf) \
28518 || exit 1
28520 @endif libdecnumber
28522 .PHONY: maybe-html-libdecnumber html-libdecnumber
28523 maybe-html-libdecnumber:
28524 @if libdecnumber
28525 maybe-html-libdecnumber: html-libdecnumber
28527 html-libdecnumber: \
28528 configure-libdecnumber
28529 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28530 r=`${PWD_COMMAND}`; export r; \
28531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28532 $(HOST_EXPORTS) \
28533 for flag in $(EXTRA_HOST_FLAGS) ; do \
28534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28535 done; \
28536 echo "Doing html in libdecnumber" ; \
28537 (cd $(HOST_SUBDIR)/libdecnumber && \
28538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28540 "RANLIB=$${RANLIB}" \
28541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28542 html) \
28543 || exit 1
28545 @endif libdecnumber
28547 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
28548 maybe-TAGS-libdecnumber:
28549 @if libdecnumber
28550 maybe-TAGS-libdecnumber: TAGS-libdecnumber
28552 TAGS-libdecnumber: \
28553 configure-libdecnumber
28554 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28555 r=`${PWD_COMMAND}`; export r; \
28556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28557 $(HOST_EXPORTS) \
28558 for flag in $(EXTRA_HOST_FLAGS) ; do \
28559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28560 done; \
28561 echo "Doing TAGS in libdecnumber" ; \
28562 (cd $(HOST_SUBDIR)/libdecnumber && \
28563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28565 "RANLIB=$${RANLIB}" \
28566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28567 TAGS) \
28568 || exit 1
28570 @endif libdecnumber
28572 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
28573 maybe-install-info-libdecnumber:
28574 @if libdecnumber
28575 maybe-install-info-libdecnumber: install-info-libdecnumber
28577 install-info-libdecnumber: \
28578 configure-libdecnumber \
28579 info-libdecnumber
28580 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28581 r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 $(HOST_EXPORTS) \
28584 for flag in $(EXTRA_HOST_FLAGS) ; do \
28585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28586 done; \
28587 echo "Doing install-info in libdecnumber" ; \
28588 (cd $(HOST_SUBDIR)/libdecnumber && \
28589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28591 "RANLIB=$${RANLIB}" \
28592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28593 install-info) \
28594 || exit 1
28596 @endif libdecnumber
28598 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
28599 maybe-install-pdf-libdecnumber:
28600 @if libdecnumber
28601 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
28603 install-pdf-libdecnumber: \
28604 configure-libdecnumber \
28605 pdf-libdecnumber
28606 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28607 r=`${PWD_COMMAND}`; export r; \
28608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28609 $(HOST_EXPORTS) \
28610 for flag in $(EXTRA_HOST_FLAGS) ; do \
28611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28612 done; \
28613 echo "Doing install-pdf in libdecnumber" ; \
28614 (cd $(HOST_SUBDIR)/libdecnumber && \
28615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28617 "RANLIB=$${RANLIB}" \
28618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28619 install-pdf) \
28620 || exit 1
28622 @endif libdecnumber
28624 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
28625 maybe-install-html-libdecnumber:
28626 @if libdecnumber
28627 maybe-install-html-libdecnumber: install-html-libdecnumber
28629 install-html-libdecnumber: \
28630 configure-libdecnumber \
28631 html-libdecnumber
28632 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28633 r=`${PWD_COMMAND}`; export r; \
28634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28635 $(HOST_EXPORTS) \
28636 for flag in $(EXTRA_HOST_FLAGS) ; do \
28637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28638 done; \
28639 echo "Doing install-html in libdecnumber" ; \
28640 (cd $(HOST_SUBDIR)/libdecnumber && \
28641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28643 "RANLIB=$${RANLIB}" \
28644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28645 install-html) \
28646 || exit 1
28648 @endif libdecnumber
28650 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
28651 maybe-installcheck-libdecnumber:
28652 @if libdecnumber
28653 maybe-installcheck-libdecnumber: installcheck-libdecnumber
28655 installcheck-libdecnumber: \
28656 configure-libdecnumber
28657 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 for flag in $(EXTRA_HOST_FLAGS) ; do \
28662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28663 done; \
28664 echo "Doing installcheck in libdecnumber" ; \
28665 (cd $(HOST_SUBDIR)/libdecnumber && \
28666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28668 "RANLIB=$${RANLIB}" \
28669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28670 installcheck) \
28671 || exit 1
28673 @endif libdecnumber
28675 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
28676 maybe-mostlyclean-libdecnumber:
28677 @if libdecnumber
28678 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
28680 mostlyclean-libdecnumber:
28681 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28682 r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 for flag in $(EXTRA_HOST_FLAGS) ; do \
28686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28687 done; \
28688 echo "Doing mostlyclean in libdecnumber" ; \
28689 (cd $(HOST_SUBDIR)/libdecnumber && \
28690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28692 "RANLIB=$${RANLIB}" \
28693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28694 mostlyclean) \
28695 || exit 1
28697 @endif libdecnumber
28699 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
28700 maybe-clean-libdecnumber:
28701 @if libdecnumber
28702 maybe-clean-libdecnumber: clean-libdecnumber
28704 clean-libdecnumber:
28705 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28706 r=`${PWD_COMMAND}`; export r; \
28707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28708 $(HOST_EXPORTS) \
28709 for flag in $(EXTRA_HOST_FLAGS) ; do \
28710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28711 done; \
28712 echo "Doing clean in libdecnumber" ; \
28713 (cd $(HOST_SUBDIR)/libdecnumber && \
28714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28716 "RANLIB=$${RANLIB}" \
28717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28718 clean) \
28719 || exit 1
28721 @endif libdecnumber
28723 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
28724 maybe-distclean-libdecnumber:
28725 @if libdecnumber
28726 maybe-distclean-libdecnumber: distclean-libdecnumber
28728 distclean-libdecnumber:
28729 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28730 r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(HOST_EXPORTS) \
28733 for flag in $(EXTRA_HOST_FLAGS) ; do \
28734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28735 done; \
28736 echo "Doing distclean in libdecnumber" ; \
28737 (cd $(HOST_SUBDIR)/libdecnumber && \
28738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28740 "RANLIB=$${RANLIB}" \
28741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28742 distclean) \
28743 || exit 1
28745 @endif libdecnumber
28747 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
28748 maybe-maintainer-clean-libdecnumber:
28749 @if libdecnumber
28750 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
28752 maintainer-clean-libdecnumber:
28753 @[ -f ./libdecnumber/Makefile ] || exit 0; \
28754 r=`${PWD_COMMAND}`; export r; \
28755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28756 $(HOST_EXPORTS) \
28757 for flag in $(EXTRA_HOST_FLAGS) ; do \
28758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28759 done; \
28760 echo "Doing maintainer-clean in libdecnumber" ; \
28761 (cd $(HOST_SUBDIR)/libdecnumber && \
28762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28764 "RANLIB=$${RANLIB}" \
28765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28766 maintainer-clean) \
28767 || exit 1
28769 @endif libdecnumber
28773 .PHONY: configure-libgui maybe-configure-libgui
28774 maybe-configure-libgui:
28775 @if gcc-bootstrap
28776 configure-libgui: stage_current
28777 @endif gcc-bootstrap
28778 @if libgui
28779 maybe-configure-libgui: configure-libgui
28780 configure-libgui:
28781 @: $(MAKE); $(unstage)
28782 @r=`${PWD_COMMAND}`; export r; \
28783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28784 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
28785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
28786 $(HOST_EXPORTS) \
28787 echo Configuring in $(HOST_SUBDIR)/libgui; \
28788 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
28789 case $(srcdir) in \
28790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28791 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
28792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28793 esac; \
28794 srcdiroption="--srcdir=$${topdir}/libgui"; \
28795 libsrcdir="$$s/libgui"; \
28796 $(SHELL) $${libsrcdir}/configure \
28797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28798 --target=${target_alias} $${srcdiroption} \
28799 || exit 1
28800 @endif libgui
28806 .PHONY: all-libgui maybe-all-libgui
28807 maybe-all-libgui:
28808 @if gcc-bootstrap
28809 all-libgui: stage_current
28810 @endif gcc-bootstrap
28811 @if libgui
28812 TARGET-libgui=all
28813 maybe-all-libgui: all-libgui
28814 all-libgui: configure-libgui
28815 @: $(MAKE); $(unstage)
28816 @r=`${PWD_COMMAND}`; export r; \
28817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28818 $(HOST_EXPORTS) \
28819 (cd $(HOST_SUBDIR)/libgui && \
28820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28821 $(TARGET-libgui))
28822 @endif libgui
28827 .PHONY: check-libgui maybe-check-libgui
28828 maybe-check-libgui:
28829 @if libgui
28830 maybe-check-libgui: check-libgui
28832 check-libgui:
28833 @: $(MAKE); $(unstage)
28834 @r=`${PWD_COMMAND}`; export r; \
28835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28836 $(HOST_EXPORTS) \
28837 (cd $(HOST_SUBDIR)/libgui && \
28838 $(MAKE) $(FLAGS_TO_PASS) check)
28840 @endif libgui
28842 .PHONY: install-libgui maybe-install-libgui
28843 maybe-install-libgui:
28844 @if libgui
28845 maybe-install-libgui: install-libgui
28847 install-libgui: installdirs
28848 @: $(MAKE); $(unstage)
28849 @r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(HOST_EXPORTS) \
28852 (cd $(HOST_SUBDIR)/libgui && \
28853 $(MAKE) $(FLAGS_TO_PASS) install)
28855 @endif libgui
28857 # Other targets (info, dvi, pdf, etc.)
28859 .PHONY: maybe-info-libgui info-libgui
28860 maybe-info-libgui:
28861 @if libgui
28862 maybe-info-libgui: info-libgui
28864 info-libgui: \
28865 configure-libgui
28866 @: $(MAKE); $(unstage)
28867 @[ -f ./libgui/Makefile ] || exit 0; \
28868 r=`${PWD_COMMAND}`; export r; \
28869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28870 $(HOST_EXPORTS) \
28871 for flag in $(EXTRA_HOST_FLAGS) ; do \
28872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28873 done; \
28874 echo "Doing info in libgui" ; \
28875 (cd $(HOST_SUBDIR)/libgui && \
28876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28878 "RANLIB=$${RANLIB}" \
28879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28880 info) \
28881 || exit 1
28883 @endif libgui
28885 .PHONY: maybe-dvi-libgui dvi-libgui
28886 maybe-dvi-libgui:
28887 @if libgui
28888 maybe-dvi-libgui: dvi-libgui
28890 dvi-libgui: \
28891 configure-libgui
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./libgui/Makefile ] || exit 0; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(HOST_EXPORTS) \
28897 for flag in $(EXTRA_HOST_FLAGS) ; do \
28898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28899 done; \
28900 echo "Doing dvi in libgui" ; \
28901 (cd $(HOST_SUBDIR)/libgui && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28906 dvi) \
28907 || exit 1
28909 @endif libgui
28911 .PHONY: maybe-pdf-libgui pdf-libgui
28912 maybe-pdf-libgui:
28913 @if libgui
28914 maybe-pdf-libgui: pdf-libgui
28916 pdf-libgui: \
28917 configure-libgui
28918 @: $(MAKE); $(unstage)
28919 @[ -f ./libgui/Makefile ] || exit 0; \
28920 r=`${PWD_COMMAND}`; export r; \
28921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28922 $(HOST_EXPORTS) \
28923 for flag in $(EXTRA_HOST_FLAGS) ; do \
28924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28925 done; \
28926 echo "Doing pdf in libgui" ; \
28927 (cd $(HOST_SUBDIR)/libgui && \
28928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28930 "RANLIB=$${RANLIB}" \
28931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28932 pdf) \
28933 || exit 1
28935 @endif libgui
28937 .PHONY: maybe-html-libgui html-libgui
28938 maybe-html-libgui:
28939 @if libgui
28940 maybe-html-libgui: html-libgui
28942 html-libgui: \
28943 configure-libgui
28944 @: $(MAKE); $(unstage)
28945 @[ -f ./libgui/Makefile ] || exit 0; \
28946 r=`${PWD_COMMAND}`; export r; \
28947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28948 $(HOST_EXPORTS) \
28949 for flag in $(EXTRA_HOST_FLAGS) ; do \
28950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28951 done; \
28952 echo "Doing html in libgui" ; \
28953 (cd $(HOST_SUBDIR)/libgui && \
28954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28956 "RANLIB=$${RANLIB}" \
28957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28958 html) \
28959 || exit 1
28961 @endif libgui
28963 .PHONY: maybe-TAGS-libgui TAGS-libgui
28964 maybe-TAGS-libgui:
28965 @if libgui
28966 maybe-TAGS-libgui: TAGS-libgui
28968 TAGS-libgui: \
28969 configure-libgui
28970 @: $(MAKE); $(unstage)
28971 @[ -f ./libgui/Makefile ] || exit 0; \
28972 r=`${PWD_COMMAND}`; export r; \
28973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28974 $(HOST_EXPORTS) \
28975 for flag in $(EXTRA_HOST_FLAGS) ; do \
28976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28977 done; \
28978 echo "Doing TAGS in libgui" ; \
28979 (cd $(HOST_SUBDIR)/libgui && \
28980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28982 "RANLIB=$${RANLIB}" \
28983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28984 TAGS) \
28985 || exit 1
28987 @endif libgui
28989 .PHONY: maybe-install-info-libgui install-info-libgui
28990 maybe-install-info-libgui:
28991 @if libgui
28992 maybe-install-info-libgui: install-info-libgui
28994 install-info-libgui: \
28995 configure-libgui \
28996 info-libgui
28997 @: $(MAKE); $(unstage)
28998 @[ -f ./libgui/Makefile ] || exit 0; \
28999 r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 for flag in $(EXTRA_HOST_FLAGS) ; do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 echo "Doing install-info in libgui" ; \
29006 (cd $(HOST_SUBDIR)/libgui && \
29007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29009 "RANLIB=$${RANLIB}" \
29010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29011 install-info) \
29012 || exit 1
29014 @endif libgui
29016 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
29017 maybe-install-pdf-libgui:
29018 @if libgui
29019 maybe-install-pdf-libgui: install-pdf-libgui
29021 install-pdf-libgui: \
29022 configure-libgui \
29023 pdf-libgui
29024 @: $(MAKE); $(unstage)
29025 @[ -f ./libgui/Makefile ] || exit 0; \
29026 r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(HOST_EXPORTS) \
29029 for flag in $(EXTRA_HOST_FLAGS) ; do \
29030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29031 done; \
29032 echo "Doing install-pdf in libgui" ; \
29033 (cd $(HOST_SUBDIR)/libgui && \
29034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29036 "RANLIB=$${RANLIB}" \
29037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29038 install-pdf) \
29039 || exit 1
29041 @endif libgui
29043 .PHONY: maybe-install-html-libgui install-html-libgui
29044 maybe-install-html-libgui:
29045 @if libgui
29046 maybe-install-html-libgui: install-html-libgui
29048 install-html-libgui: \
29049 configure-libgui \
29050 html-libgui
29051 @: $(MAKE); $(unstage)
29052 @[ -f ./libgui/Makefile ] || exit 0; \
29053 r=`${PWD_COMMAND}`; export r; \
29054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29055 $(HOST_EXPORTS) \
29056 for flag in $(EXTRA_HOST_FLAGS) ; do \
29057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29058 done; \
29059 echo "Doing install-html in libgui" ; \
29060 (cd $(HOST_SUBDIR)/libgui && \
29061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29063 "RANLIB=$${RANLIB}" \
29064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29065 install-html) \
29066 || exit 1
29068 @endif libgui
29070 .PHONY: maybe-installcheck-libgui installcheck-libgui
29071 maybe-installcheck-libgui:
29072 @if libgui
29073 maybe-installcheck-libgui: installcheck-libgui
29075 installcheck-libgui: \
29076 configure-libgui
29077 @: $(MAKE); $(unstage)
29078 @[ -f ./libgui/Makefile ] || exit 0; \
29079 r=`${PWD_COMMAND}`; export r; \
29080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29081 $(HOST_EXPORTS) \
29082 for flag in $(EXTRA_HOST_FLAGS) ; do \
29083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29084 done; \
29085 echo "Doing installcheck in libgui" ; \
29086 (cd $(HOST_SUBDIR)/libgui && \
29087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29089 "RANLIB=$${RANLIB}" \
29090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29091 installcheck) \
29092 || exit 1
29094 @endif libgui
29096 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
29097 maybe-mostlyclean-libgui:
29098 @if libgui
29099 maybe-mostlyclean-libgui: mostlyclean-libgui
29101 mostlyclean-libgui:
29102 @: $(MAKE); $(unstage)
29103 @[ -f ./libgui/Makefile ] || exit 0; \
29104 r=`${PWD_COMMAND}`; export r; \
29105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29106 $(HOST_EXPORTS) \
29107 for flag in $(EXTRA_HOST_FLAGS) ; do \
29108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29109 done; \
29110 echo "Doing mostlyclean in libgui" ; \
29111 (cd $(HOST_SUBDIR)/libgui && \
29112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29114 "RANLIB=$${RANLIB}" \
29115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29116 mostlyclean) \
29117 || exit 1
29119 @endif libgui
29121 .PHONY: maybe-clean-libgui clean-libgui
29122 maybe-clean-libgui:
29123 @if libgui
29124 maybe-clean-libgui: clean-libgui
29126 clean-libgui:
29127 @: $(MAKE); $(unstage)
29128 @[ -f ./libgui/Makefile ] || exit 0; \
29129 r=`${PWD_COMMAND}`; export r; \
29130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29131 $(HOST_EXPORTS) \
29132 for flag in $(EXTRA_HOST_FLAGS) ; do \
29133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29134 done; \
29135 echo "Doing clean in libgui" ; \
29136 (cd $(HOST_SUBDIR)/libgui && \
29137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29139 "RANLIB=$${RANLIB}" \
29140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29141 clean) \
29142 || exit 1
29144 @endif libgui
29146 .PHONY: maybe-distclean-libgui distclean-libgui
29147 maybe-distclean-libgui:
29148 @if libgui
29149 maybe-distclean-libgui: distclean-libgui
29151 distclean-libgui:
29152 @: $(MAKE); $(unstage)
29153 @[ -f ./libgui/Makefile ] || exit 0; \
29154 r=`${PWD_COMMAND}`; export r; \
29155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29156 $(HOST_EXPORTS) \
29157 for flag in $(EXTRA_HOST_FLAGS) ; do \
29158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29159 done; \
29160 echo "Doing distclean in libgui" ; \
29161 (cd $(HOST_SUBDIR)/libgui && \
29162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29164 "RANLIB=$${RANLIB}" \
29165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29166 distclean) \
29167 || exit 1
29169 @endif libgui
29171 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
29172 maybe-maintainer-clean-libgui:
29173 @if libgui
29174 maybe-maintainer-clean-libgui: maintainer-clean-libgui
29176 maintainer-clean-libgui:
29177 @: $(MAKE); $(unstage)
29178 @[ -f ./libgui/Makefile ] || exit 0; \
29179 r=`${PWD_COMMAND}`; export r; \
29180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29181 $(HOST_EXPORTS) \
29182 for flag in $(EXTRA_HOST_FLAGS) ; do \
29183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29184 done; \
29185 echo "Doing maintainer-clean in libgui" ; \
29186 (cd $(HOST_SUBDIR)/libgui && \
29187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29189 "RANLIB=$${RANLIB}" \
29190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29191 maintainer-clean) \
29192 || exit 1
29194 @endif libgui
29198 .PHONY: configure-libiberty maybe-configure-libiberty
29199 maybe-configure-libiberty:
29200 @if gcc-bootstrap
29201 configure-libiberty: stage_current
29202 @endif gcc-bootstrap
29203 @if libiberty
29204 maybe-configure-libiberty: configure-libiberty
29205 configure-libiberty:
29206 @r=`${PWD_COMMAND}`; export r; \
29207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29208 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29209 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29210 $(HOST_EXPORTS) \
29211 echo Configuring in $(HOST_SUBDIR)/libiberty; \
29212 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
29213 case $(srcdir) in \
29214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29215 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29217 esac; \
29218 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29219 libsrcdir="$$s/libiberty"; \
29220 $(SHELL) $${libsrcdir}/configure \
29221 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29222 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
29223 || exit 1
29224 @endif libiberty
29228 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
29229 maybe-configure-stage1-libiberty:
29230 @if libiberty-bootstrap
29231 maybe-configure-stage1-libiberty: configure-stage1-libiberty
29232 configure-stage1-libiberty:
29233 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29235 @r=`${PWD_COMMAND}`; export r; \
29236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29237 TFLAGS="$(STAGE1_TFLAGS)"; \
29238 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29239 $(HOST_EXPORTS) \
29240 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29241 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29242 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29243 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
29244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29245 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29246 case $(srcdir) in \
29247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29248 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29250 esac; \
29251 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29252 libsrcdir="$$s/libiberty"; \
29253 $(SHELL) $${libsrcdir}/configure \
29254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29255 --target=${target_alias} $${srcdiroption} \
29256 $(STAGE1_CONFIGURE_FLAGS) \
29257 @extra_host_libiberty_configure_flags@
29258 @endif libiberty-bootstrap
29260 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29261 maybe-configure-stage2-libiberty:
29262 @if libiberty-bootstrap
29263 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29264 configure-stage2-libiberty:
29265 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29267 @r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 TFLAGS="$(STAGE2_TFLAGS)"; \
29270 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29271 $(HOST_EXPORTS) \
29272 $(POSTSTAGE1_HOST_EXPORTS) \
29273 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29274 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29275 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29276 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
29277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29278 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29279 case $(srcdir) in \
29280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29281 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29283 esac; \
29284 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29285 libsrcdir="$$s/libiberty"; \
29286 $(SHELL) $${libsrcdir}/configure \
29287 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29288 --target=${target_alias} $${srcdiroption} \
29289 --with-build-libsubdir=$(HOST_SUBDIR) \
29290 $(STAGE2_CONFIGURE_FLAGS) \
29291 @extra_host_libiberty_configure_flags@
29292 @endif libiberty-bootstrap
29294 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
29295 maybe-configure-stage3-libiberty:
29296 @if libiberty-bootstrap
29297 maybe-configure-stage3-libiberty: configure-stage3-libiberty
29298 configure-stage3-libiberty:
29299 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29300 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29301 @r=`${PWD_COMMAND}`; export r; \
29302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29303 TFLAGS="$(STAGE3_TFLAGS)"; \
29304 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29305 $(HOST_EXPORTS) \
29306 $(POSTSTAGE1_HOST_EXPORTS) \
29307 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29308 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29309 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29310 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
29311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29312 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29313 case $(srcdir) in \
29314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29315 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29317 esac; \
29318 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29319 libsrcdir="$$s/libiberty"; \
29320 $(SHELL) $${libsrcdir}/configure \
29321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29322 --target=${target_alias} $${srcdiroption} \
29323 --with-build-libsubdir=$(HOST_SUBDIR) \
29324 $(STAGE3_CONFIGURE_FLAGS) \
29325 @extra_host_libiberty_configure_flags@
29326 @endif libiberty-bootstrap
29328 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
29329 maybe-configure-stage4-libiberty:
29330 @if libiberty-bootstrap
29331 maybe-configure-stage4-libiberty: configure-stage4-libiberty
29332 configure-stage4-libiberty:
29333 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29335 @r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 TFLAGS="$(STAGE4_TFLAGS)"; \
29338 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29339 $(HOST_EXPORTS) \
29340 $(POSTSTAGE1_HOST_EXPORTS) \
29341 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29342 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29343 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29344 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
29345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29346 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29347 case $(srcdir) in \
29348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29349 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29351 esac; \
29352 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29353 libsrcdir="$$s/libiberty"; \
29354 $(SHELL) $${libsrcdir}/configure \
29355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29356 --target=${target_alias} $${srcdiroption} \
29357 --with-build-libsubdir=$(HOST_SUBDIR) \
29358 $(STAGE4_CONFIGURE_FLAGS) \
29359 @extra_host_libiberty_configure_flags@
29360 @endif libiberty-bootstrap
29362 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
29363 maybe-configure-stageprofile-libiberty:
29364 @if libiberty-bootstrap
29365 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
29366 configure-stageprofile-libiberty:
29367 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29368 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29369 @r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29372 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29373 $(HOST_EXPORTS) \
29374 $(POSTSTAGE1_HOST_EXPORTS) \
29375 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29376 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29377 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29378 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
29379 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29380 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29381 case $(srcdir) in \
29382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29383 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29385 esac; \
29386 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29387 libsrcdir="$$s/libiberty"; \
29388 $(SHELL) $${libsrcdir}/configure \
29389 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29390 --target=${target_alias} $${srcdiroption} \
29391 --with-build-libsubdir=$(HOST_SUBDIR) \
29392 $(STAGEprofile_CONFIGURE_FLAGS) \
29393 @extra_host_libiberty_configure_flags@
29394 @endif libiberty-bootstrap
29396 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
29397 maybe-configure-stagefeedback-libiberty:
29398 @if libiberty-bootstrap
29399 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
29400 configure-stagefeedback-libiberty:
29401 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
29403 @r=`${PWD_COMMAND}`; export r; \
29404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29405 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29406 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
29407 $(HOST_EXPORTS) \
29408 $(POSTSTAGE1_HOST_EXPORTS) \
29409 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29410 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29411 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29412 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
29413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
29414 cd $(HOST_SUBDIR)/libiberty || exit 1; \
29415 case $(srcdir) in \
29416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29417 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
29418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29419 esac; \
29420 srcdiroption="--srcdir=$${topdir}/libiberty"; \
29421 libsrcdir="$$s/libiberty"; \
29422 $(SHELL) $${libsrcdir}/configure \
29423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29424 --target=${target_alias} $${srcdiroption} \
29425 --with-build-libsubdir=$(HOST_SUBDIR) \
29426 $(STAGEfeedback_CONFIGURE_FLAGS) \
29427 @extra_host_libiberty_configure_flags@
29428 @endif libiberty-bootstrap
29434 .PHONY: all-libiberty maybe-all-libiberty
29435 maybe-all-libiberty:
29436 @if gcc-bootstrap
29437 all-libiberty: stage_current
29438 @endif gcc-bootstrap
29439 @if libiberty
29440 TARGET-libiberty=all
29441 maybe-all-libiberty: all-libiberty
29442 all-libiberty: configure-libiberty
29443 @r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 $(HOST_EXPORTS) \
29446 (cd $(HOST_SUBDIR)/libiberty && \
29447 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29448 $(TARGET-libiberty))
29449 @endif libiberty
29453 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
29454 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
29455 maybe-all-stage1-libiberty:
29456 maybe-clean-stage1-libiberty:
29457 @if libiberty-bootstrap
29458 maybe-all-stage1-libiberty: all-stage1-libiberty
29459 all-stage1: all-stage1-libiberty
29460 TARGET-stage1-libiberty = $(TARGET-libiberty)
29461 all-stage1-libiberty: configure-stage1-libiberty
29462 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29463 @r=`${PWD_COMMAND}`; export r; \
29464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29465 TFLAGS="$(STAGE1_TFLAGS)"; \
29466 $(HOST_EXPORTS) \
29467 cd $(HOST_SUBDIR)/libiberty && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29469 CFLAGS="$(STAGE1_CFLAGS)" \
29470 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
29471 LIBCFLAGS="$(LIBCFLAGS)" \
29472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29475 $(EXTRA_HOST_FLAGS) \
29476 TFLAGS="$(STAGE1_TFLAGS)" \
29477 $(TARGET-stage1-libiberty)
29479 maybe-clean-stage1-libiberty: clean-stage1-libiberty
29480 clean-stage1: clean-stage1-libiberty
29481 clean-stage1-libiberty:
29482 @if [ $(current_stage) = stage1 ]; then \
29483 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29484 else \
29485 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
29486 $(MAKE) stage1-start; \
29487 fi; \
29488 cd $(HOST_SUBDIR)/libiberty && \
29489 $(MAKE) $(EXTRA_HOST_FLAGS) \
29490 clean
29491 @endif libiberty-bootstrap
29494 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29495 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29496 maybe-all-stage2-libiberty:
29497 maybe-clean-stage2-libiberty:
29498 @if libiberty-bootstrap
29499 maybe-all-stage2-libiberty: all-stage2-libiberty
29500 all-stage2: all-stage2-libiberty
29501 TARGET-stage2-libiberty = $(TARGET-libiberty)
29502 all-stage2-libiberty: configure-stage2-libiberty
29503 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29504 @r=`${PWD_COMMAND}`; export r; \
29505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29506 TFLAGS="$(STAGE2_TFLAGS)"; \
29507 $(HOST_EXPORTS) \
29508 $(POSTSTAGE1_HOST_EXPORTS) \
29509 cd $(HOST_SUBDIR)/libiberty && \
29510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29511 CFLAGS="$(STAGE2_CFLAGS)" \
29512 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29513 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29518 TFLAGS="$(STAGE2_TFLAGS)" \
29519 $(TARGET-stage2-libiberty)
29521 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29522 clean-stage2: clean-stage2-libiberty
29523 clean-stage2-libiberty:
29524 @if [ $(current_stage) = stage2 ]; then \
29525 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29526 else \
29527 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
29528 $(MAKE) stage2-start; \
29529 fi; \
29530 cd $(HOST_SUBDIR)/libiberty && \
29531 $(MAKE) $(EXTRA_HOST_FLAGS) \
29532 $(POSTSTAGE1_FLAGS_TO_PASS) \
29533 clean
29534 @endif libiberty-bootstrap
29537 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
29538 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
29539 maybe-all-stage3-libiberty:
29540 maybe-clean-stage3-libiberty:
29541 @if libiberty-bootstrap
29542 maybe-all-stage3-libiberty: all-stage3-libiberty
29543 all-stage3: all-stage3-libiberty
29544 TARGET-stage3-libiberty = $(TARGET-libiberty)
29545 all-stage3-libiberty: configure-stage3-libiberty
29546 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29547 @r=`${PWD_COMMAND}`; export r; \
29548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29549 TFLAGS="$(STAGE3_TFLAGS)"; \
29550 $(HOST_EXPORTS) \
29551 $(POSTSTAGE1_HOST_EXPORTS) \
29552 cd $(HOST_SUBDIR)/libiberty && \
29553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29554 CFLAGS="$(STAGE3_CFLAGS)" \
29555 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29556 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29561 TFLAGS="$(STAGE3_TFLAGS)" \
29562 $(TARGET-stage3-libiberty)
29564 maybe-clean-stage3-libiberty: clean-stage3-libiberty
29565 clean-stage3: clean-stage3-libiberty
29566 clean-stage3-libiberty:
29567 @if [ $(current_stage) = stage3 ]; then \
29568 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29569 else \
29570 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
29571 $(MAKE) stage3-start; \
29572 fi; \
29573 cd $(HOST_SUBDIR)/libiberty && \
29574 $(MAKE) $(EXTRA_HOST_FLAGS) \
29575 $(POSTSTAGE1_FLAGS_TO_PASS) \
29576 clean
29577 @endif libiberty-bootstrap
29580 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
29581 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
29582 maybe-all-stage4-libiberty:
29583 maybe-clean-stage4-libiberty:
29584 @if libiberty-bootstrap
29585 maybe-all-stage4-libiberty: all-stage4-libiberty
29586 all-stage4: all-stage4-libiberty
29587 TARGET-stage4-libiberty = $(TARGET-libiberty)
29588 all-stage4-libiberty: configure-stage4-libiberty
29589 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29590 @r=`${PWD_COMMAND}`; export r; \
29591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 TFLAGS="$(STAGE4_TFLAGS)"; \
29593 $(HOST_EXPORTS) \
29594 $(POSTSTAGE1_HOST_EXPORTS) \
29595 cd $(HOST_SUBDIR)/libiberty && \
29596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29597 CFLAGS="$(STAGE4_CFLAGS)" \
29598 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29599 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29604 TFLAGS="$(STAGE4_TFLAGS)" \
29605 $(TARGET-stage4-libiberty)
29607 maybe-clean-stage4-libiberty: clean-stage4-libiberty
29608 clean-stage4: clean-stage4-libiberty
29609 clean-stage4-libiberty:
29610 @if [ $(current_stage) = stage4 ]; then \
29611 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29612 else \
29613 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
29614 $(MAKE) stage4-start; \
29615 fi; \
29616 cd $(HOST_SUBDIR)/libiberty && \
29617 $(MAKE) $(EXTRA_HOST_FLAGS) \
29618 $(POSTSTAGE1_FLAGS_TO_PASS) \
29619 clean
29620 @endif libiberty-bootstrap
29623 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
29624 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
29625 maybe-all-stageprofile-libiberty:
29626 maybe-clean-stageprofile-libiberty:
29627 @if libiberty-bootstrap
29628 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
29629 all-stageprofile: all-stageprofile-libiberty
29630 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
29631 all-stageprofile-libiberty: configure-stageprofile-libiberty
29632 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29633 @r=`${PWD_COMMAND}`; export r; \
29634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29635 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29636 $(HOST_EXPORTS) \
29637 $(POSTSTAGE1_HOST_EXPORTS) \
29638 cd $(HOST_SUBDIR)/libiberty && \
29639 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29640 CFLAGS="$(STAGEprofile_CFLAGS)" \
29641 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29642 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29646 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29647 TFLAGS="$(STAGEprofile_TFLAGS)" \
29648 $(TARGET-stageprofile-libiberty)
29650 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
29651 clean-stageprofile: clean-stageprofile-libiberty
29652 clean-stageprofile-libiberty:
29653 @if [ $(current_stage) = stageprofile ]; then \
29654 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29655 else \
29656 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
29657 $(MAKE) stageprofile-start; \
29658 fi; \
29659 cd $(HOST_SUBDIR)/libiberty && \
29660 $(MAKE) $(EXTRA_HOST_FLAGS) \
29661 $(POSTSTAGE1_FLAGS_TO_PASS) \
29662 clean
29663 @endif libiberty-bootstrap
29666 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
29667 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
29668 maybe-all-stagefeedback-libiberty:
29669 maybe-clean-stagefeedback-libiberty:
29670 @if libiberty-bootstrap
29671 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
29672 all-stagefeedback: all-stagefeedback-libiberty
29673 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
29674 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
29675 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29676 @r=`${PWD_COMMAND}`; export r; \
29677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29678 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29679 $(HOST_EXPORTS) \
29680 $(POSTSTAGE1_HOST_EXPORTS) \
29681 cd $(HOST_SUBDIR)/libiberty && \
29682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29683 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29684 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29685 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29690 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29691 $(TARGET-stagefeedback-libiberty)
29693 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
29694 clean-stagefeedback: clean-stagefeedback-libiberty
29695 clean-stagefeedback-libiberty:
29696 @if [ $(current_stage) = stagefeedback ]; then \
29697 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29698 else \
29699 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
29700 $(MAKE) stagefeedback-start; \
29701 fi; \
29702 cd $(HOST_SUBDIR)/libiberty && \
29703 $(MAKE) $(EXTRA_HOST_FLAGS) \
29704 $(POSTSTAGE1_FLAGS_TO_PASS) \
29705 clean
29706 @endif libiberty-bootstrap
29712 .PHONY: check-libiberty maybe-check-libiberty
29713 maybe-check-libiberty:
29714 @if libiberty
29715 maybe-check-libiberty: check-libiberty
29717 check-libiberty:
29718 @: $(MAKE); $(unstage)
29719 @r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(HOST_EXPORTS) \
29722 (cd $(HOST_SUBDIR)/libiberty && \
29723 $(MAKE) $(FLAGS_TO_PASS) check)
29725 @endif libiberty
29727 .PHONY: install-libiberty maybe-install-libiberty
29728 maybe-install-libiberty:
29729 @if libiberty
29730 maybe-install-libiberty: install-libiberty
29732 install-libiberty: installdirs
29733 @: $(MAKE); $(unstage)
29734 @r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(HOST_EXPORTS) \
29737 (cd $(HOST_SUBDIR)/libiberty && \
29738 $(MAKE) $(FLAGS_TO_PASS) install)
29740 @endif libiberty
29742 # Other targets (info, dvi, pdf, etc.)
29744 .PHONY: maybe-info-libiberty info-libiberty
29745 maybe-info-libiberty:
29746 @if libiberty
29747 maybe-info-libiberty: info-libiberty
29749 info-libiberty: \
29750 configure-libiberty
29751 @[ -f ./libiberty/Makefile ] || exit 0; \
29752 r=`${PWD_COMMAND}`; export r; \
29753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29754 $(HOST_EXPORTS) \
29755 for flag in $(EXTRA_HOST_FLAGS) ; do \
29756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29757 done; \
29758 echo "Doing info in libiberty" ; \
29759 (cd $(HOST_SUBDIR)/libiberty && \
29760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29762 "RANLIB=$${RANLIB}" \
29763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29764 info) \
29765 || exit 1
29767 @endif libiberty
29769 .PHONY: maybe-dvi-libiberty dvi-libiberty
29770 maybe-dvi-libiberty:
29771 @if libiberty
29772 maybe-dvi-libiberty: dvi-libiberty
29774 dvi-libiberty: \
29775 configure-libiberty
29776 @[ -f ./libiberty/Makefile ] || exit 0; \
29777 r=`${PWD_COMMAND}`; export r; \
29778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29779 $(HOST_EXPORTS) \
29780 for flag in $(EXTRA_HOST_FLAGS) ; do \
29781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29782 done; \
29783 echo "Doing dvi in libiberty" ; \
29784 (cd $(HOST_SUBDIR)/libiberty && \
29785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29787 "RANLIB=$${RANLIB}" \
29788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29789 dvi) \
29790 || exit 1
29792 @endif libiberty
29794 .PHONY: maybe-pdf-libiberty pdf-libiberty
29795 maybe-pdf-libiberty:
29796 @if libiberty
29797 maybe-pdf-libiberty: pdf-libiberty
29799 pdf-libiberty: \
29800 configure-libiberty
29801 @[ -f ./libiberty/Makefile ] || exit 0; \
29802 r=`${PWD_COMMAND}`; export r; \
29803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29804 $(HOST_EXPORTS) \
29805 for flag in $(EXTRA_HOST_FLAGS) ; do \
29806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29807 done; \
29808 echo "Doing pdf in libiberty" ; \
29809 (cd $(HOST_SUBDIR)/libiberty && \
29810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29812 "RANLIB=$${RANLIB}" \
29813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29814 pdf) \
29815 || exit 1
29817 @endif libiberty
29819 .PHONY: maybe-html-libiberty html-libiberty
29820 maybe-html-libiberty:
29821 @if libiberty
29822 maybe-html-libiberty: html-libiberty
29824 html-libiberty: \
29825 configure-libiberty
29826 @[ -f ./libiberty/Makefile ] || exit 0; \
29827 r=`${PWD_COMMAND}`; export r; \
29828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29829 $(HOST_EXPORTS) \
29830 for flag in $(EXTRA_HOST_FLAGS) ; do \
29831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29832 done; \
29833 echo "Doing html in libiberty" ; \
29834 (cd $(HOST_SUBDIR)/libiberty && \
29835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29837 "RANLIB=$${RANLIB}" \
29838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29839 html) \
29840 || exit 1
29842 @endif libiberty
29844 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
29845 maybe-TAGS-libiberty:
29846 @if libiberty
29847 maybe-TAGS-libiberty: TAGS-libiberty
29849 TAGS-libiberty: \
29850 configure-libiberty
29851 @[ -f ./libiberty/Makefile ] || exit 0; \
29852 r=`${PWD_COMMAND}`; export r; \
29853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29854 $(HOST_EXPORTS) \
29855 for flag in $(EXTRA_HOST_FLAGS) ; do \
29856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29857 done; \
29858 echo "Doing TAGS in libiberty" ; \
29859 (cd $(HOST_SUBDIR)/libiberty && \
29860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29862 "RANLIB=$${RANLIB}" \
29863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29864 TAGS) \
29865 || exit 1
29867 @endif libiberty
29869 .PHONY: maybe-install-info-libiberty install-info-libiberty
29870 maybe-install-info-libiberty:
29871 @if libiberty
29872 maybe-install-info-libiberty: install-info-libiberty
29874 install-info-libiberty: \
29875 configure-libiberty \
29876 info-libiberty
29877 @[ -f ./libiberty/Makefile ] || exit 0; \
29878 r=`${PWD_COMMAND}`; export r; \
29879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 $(HOST_EXPORTS) \
29881 for flag in $(EXTRA_HOST_FLAGS) ; do \
29882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29883 done; \
29884 echo "Doing install-info in libiberty" ; \
29885 (cd $(HOST_SUBDIR)/libiberty && \
29886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29888 "RANLIB=$${RANLIB}" \
29889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29890 install-info) \
29891 || exit 1
29893 @endif libiberty
29895 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
29896 maybe-install-pdf-libiberty:
29897 @if libiberty
29898 maybe-install-pdf-libiberty: install-pdf-libiberty
29900 install-pdf-libiberty: \
29901 configure-libiberty \
29902 pdf-libiberty
29903 @[ -f ./libiberty/Makefile ] || exit 0; \
29904 r=`${PWD_COMMAND}`; export r; \
29905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29906 $(HOST_EXPORTS) \
29907 for flag in $(EXTRA_HOST_FLAGS) ; do \
29908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29909 done; \
29910 echo "Doing install-pdf in libiberty" ; \
29911 (cd $(HOST_SUBDIR)/libiberty && \
29912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29914 "RANLIB=$${RANLIB}" \
29915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29916 install-pdf) \
29917 || exit 1
29919 @endif libiberty
29921 .PHONY: maybe-install-html-libiberty install-html-libiberty
29922 maybe-install-html-libiberty:
29923 @if libiberty
29924 maybe-install-html-libiberty: install-html-libiberty
29926 install-html-libiberty: \
29927 configure-libiberty \
29928 html-libiberty
29929 @[ -f ./libiberty/Makefile ] || exit 0; \
29930 r=`${PWD_COMMAND}`; export r; \
29931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29932 $(HOST_EXPORTS) \
29933 for flag in $(EXTRA_HOST_FLAGS) ; do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 done; \
29936 echo "Doing install-html in libiberty" ; \
29937 (cd $(HOST_SUBDIR)/libiberty && \
29938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29940 "RANLIB=$${RANLIB}" \
29941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29942 install-html) \
29943 || exit 1
29945 @endif libiberty
29947 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
29948 maybe-installcheck-libiberty:
29949 @if libiberty
29950 maybe-installcheck-libiberty: installcheck-libiberty
29952 installcheck-libiberty: \
29953 configure-libiberty
29954 @[ -f ./libiberty/Makefile ] || exit 0; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(HOST_EXPORTS) \
29958 for flag in $(EXTRA_HOST_FLAGS) ; do \
29959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29960 done; \
29961 echo "Doing installcheck in libiberty" ; \
29962 (cd $(HOST_SUBDIR)/libiberty && \
29963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29965 "RANLIB=$${RANLIB}" \
29966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29967 installcheck) \
29968 || exit 1
29970 @endif libiberty
29972 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
29973 maybe-mostlyclean-libiberty:
29974 @if libiberty
29975 maybe-mostlyclean-libiberty: mostlyclean-libiberty
29977 mostlyclean-libiberty:
29978 @[ -f ./libiberty/Makefile ] || exit 0; \
29979 r=`${PWD_COMMAND}`; export r; \
29980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29981 $(HOST_EXPORTS) \
29982 for flag in $(EXTRA_HOST_FLAGS) ; do \
29983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29984 done; \
29985 echo "Doing mostlyclean in libiberty" ; \
29986 (cd $(HOST_SUBDIR)/libiberty && \
29987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29989 "RANLIB=$${RANLIB}" \
29990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29991 mostlyclean) \
29992 || exit 1
29994 @endif libiberty
29996 .PHONY: maybe-clean-libiberty clean-libiberty
29997 maybe-clean-libiberty:
29998 @if libiberty
29999 maybe-clean-libiberty: clean-libiberty
30001 clean-libiberty:
30002 @[ -f ./libiberty/Makefile ] || exit 0; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(HOST_EXPORTS) \
30006 for flag in $(EXTRA_HOST_FLAGS) ; do \
30007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30008 done; \
30009 echo "Doing clean in libiberty" ; \
30010 (cd $(HOST_SUBDIR)/libiberty && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30015 clean) \
30016 || exit 1
30018 @endif libiberty
30020 .PHONY: maybe-distclean-libiberty distclean-libiberty
30021 maybe-distclean-libiberty:
30022 @if libiberty
30023 maybe-distclean-libiberty: distclean-libiberty
30025 distclean-libiberty:
30026 @[ -f ./libiberty/Makefile ] || exit 0; \
30027 r=`${PWD_COMMAND}`; export r; \
30028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30029 $(HOST_EXPORTS) \
30030 for flag in $(EXTRA_HOST_FLAGS) ; do \
30031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30032 done; \
30033 echo "Doing distclean in libiberty" ; \
30034 (cd $(HOST_SUBDIR)/libiberty && \
30035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30037 "RANLIB=$${RANLIB}" \
30038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30039 distclean) \
30040 || exit 1
30042 @endif libiberty
30044 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
30045 maybe-maintainer-clean-libiberty:
30046 @if libiberty
30047 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
30049 maintainer-clean-libiberty:
30050 @[ -f ./libiberty/Makefile ] || exit 0; \
30051 r=`${PWD_COMMAND}`; export r; \
30052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30053 $(HOST_EXPORTS) \
30054 for flag in $(EXTRA_HOST_FLAGS) ; do \
30055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30056 done; \
30057 echo "Doing maintainer-clean in libiberty" ; \
30058 (cd $(HOST_SUBDIR)/libiberty && \
30059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30061 "RANLIB=$${RANLIB}" \
30062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30063 maintainer-clean) \
30064 || exit 1
30066 @endif libiberty
30070 .PHONY: configure-libiconv maybe-configure-libiconv
30071 maybe-configure-libiconv:
30072 @if gcc-bootstrap
30073 configure-libiconv: stage_current
30074 @endif gcc-bootstrap
30075 @if libiconv
30076 maybe-configure-libiconv: configure-libiconv
30077 configure-libiconv:
30078 @: $(MAKE); $(unstage)
30079 @r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
30083 $(HOST_EXPORTS) \
30084 echo Configuring in $(HOST_SUBDIR)/libiconv; \
30085 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
30086 case $(srcdir) in \
30087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30088 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30090 esac; \
30091 srcdiroption="--srcdir=$${topdir}/libiconv"; \
30092 libsrcdir="$$s/libiconv"; \
30093 $(SHELL) $${libsrcdir}/configure \
30094 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30095 --target=${target_alias} $${srcdiroption} --disable-shared \
30096 || exit 1
30097 @endif libiconv
30103 .PHONY: all-libiconv maybe-all-libiconv
30104 maybe-all-libiconv:
30105 @if gcc-bootstrap
30106 all-libiconv: stage_current
30107 @endif gcc-bootstrap
30108 @if libiconv
30109 TARGET-libiconv=all
30110 maybe-all-libiconv: all-libiconv
30111 all-libiconv: configure-libiconv
30112 @: $(MAKE); $(unstage)
30113 @r=`${PWD_COMMAND}`; export r; \
30114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30115 $(HOST_EXPORTS) \
30116 (cd $(HOST_SUBDIR)/libiconv && \
30117 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30118 $(TARGET-libiconv))
30119 @endif libiconv
30124 .PHONY: check-libiconv maybe-check-libiconv
30125 maybe-check-libiconv:
30126 @if libiconv
30127 maybe-check-libiconv: check-libiconv
30129 check-libiconv:
30130 @: $(MAKE); $(unstage)
30131 @r=`${PWD_COMMAND}`; export r; \
30132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30133 $(HOST_EXPORTS) \
30134 (cd $(HOST_SUBDIR)/libiconv && \
30135 $(MAKE) $(FLAGS_TO_PASS) check)
30137 @endif libiconv
30139 .PHONY: install-libiconv maybe-install-libiconv
30140 maybe-install-libiconv:
30141 @if libiconv
30142 maybe-install-libiconv: install-libiconv
30144 install-libiconv:
30146 @endif libiconv
30148 # Other targets (info, dvi, pdf, etc.)
30150 .PHONY: maybe-info-libiconv info-libiconv
30151 maybe-info-libiconv:
30152 @if libiconv
30153 maybe-info-libiconv: info-libiconv
30155 info-libiconv: \
30156 configure-libiconv
30157 @: $(MAKE); $(unstage)
30158 @[ -f ./libiconv/Makefile ] || exit 0; \
30159 r=`${PWD_COMMAND}`; export r; \
30160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30161 $(HOST_EXPORTS) \
30162 for flag in $(EXTRA_HOST_FLAGS) ; do \
30163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30164 done; \
30165 echo "Doing info in libiconv" ; \
30166 (cd $(HOST_SUBDIR)/libiconv && \
30167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30169 "RANLIB=$${RANLIB}" \
30170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30171 info) \
30172 || exit 1
30174 @endif libiconv
30176 .PHONY: maybe-dvi-libiconv dvi-libiconv
30177 maybe-dvi-libiconv:
30178 @if libiconv
30179 maybe-dvi-libiconv: dvi-libiconv
30181 dvi-libiconv: \
30182 configure-libiconv
30183 @: $(MAKE); $(unstage)
30184 @[ -f ./libiconv/Makefile ] || exit 0; \
30185 r=`${PWD_COMMAND}`; export r; \
30186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30187 $(HOST_EXPORTS) \
30188 for flag in $(EXTRA_HOST_FLAGS) ; do \
30189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30190 done; \
30191 echo "Doing dvi in libiconv" ; \
30192 (cd $(HOST_SUBDIR)/libiconv && \
30193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30195 "RANLIB=$${RANLIB}" \
30196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30197 dvi) \
30198 || exit 1
30200 @endif libiconv
30202 .PHONY: maybe-pdf-libiconv pdf-libiconv
30203 maybe-pdf-libiconv:
30204 @if libiconv
30205 maybe-pdf-libiconv: pdf-libiconv
30207 pdf-libiconv: \
30208 configure-libiconv
30209 @: $(MAKE); $(unstage)
30210 @[ -f ./libiconv/Makefile ] || exit 0; \
30211 r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 $(HOST_EXPORTS) \
30214 for flag in $(EXTRA_HOST_FLAGS) ; do \
30215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30216 done; \
30217 echo "Doing pdf in libiconv" ; \
30218 (cd $(HOST_SUBDIR)/libiconv && \
30219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30221 "RANLIB=$${RANLIB}" \
30222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30223 pdf) \
30224 || exit 1
30226 @endif libiconv
30228 .PHONY: maybe-html-libiconv html-libiconv
30229 maybe-html-libiconv:
30230 @if libiconv
30231 maybe-html-libiconv: html-libiconv
30233 html-libiconv: \
30234 configure-libiconv
30235 @: $(MAKE); $(unstage)
30236 @[ -f ./libiconv/Makefile ] || exit 0; \
30237 r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 $(HOST_EXPORTS) \
30240 for flag in $(EXTRA_HOST_FLAGS) ; do \
30241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30242 done; \
30243 echo "Doing html in libiconv" ; \
30244 (cd $(HOST_SUBDIR)/libiconv && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30247 "RANLIB=$${RANLIB}" \
30248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30249 html) \
30250 || exit 1
30252 @endif libiconv
30254 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
30255 maybe-TAGS-libiconv:
30256 @if libiconv
30257 maybe-TAGS-libiconv: TAGS-libiconv
30259 TAGS-libiconv: \
30260 configure-libiconv
30261 @: $(MAKE); $(unstage)
30262 @[ -f ./libiconv/Makefile ] || exit 0; \
30263 r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 $(HOST_EXPORTS) \
30266 for flag in $(EXTRA_HOST_FLAGS) ; do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 echo "Doing TAGS in libiconv" ; \
30270 (cd $(HOST_SUBDIR)/libiconv && \
30271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30273 "RANLIB=$${RANLIB}" \
30274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30275 TAGS) \
30276 || exit 1
30278 @endif libiconv
30280 .PHONY: maybe-install-info-libiconv install-info-libiconv
30281 maybe-install-info-libiconv:
30282 @if libiconv
30283 maybe-install-info-libiconv: install-info-libiconv
30285 # libiconv doesn't support install-info.
30286 install-info-libiconv:
30288 @endif libiconv
30290 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
30291 maybe-install-pdf-libiconv:
30292 @if libiconv
30293 maybe-install-pdf-libiconv: install-pdf-libiconv
30295 # libiconv doesn't support install-pdf.
30296 install-pdf-libiconv:
30298 @endif libiconv
30300 .PHONY: maybe-install-html-libiconv install-html-libiconv
30301 maybe-install-html-libiconv:
30302 @if libiconv
30303 maybe-install-html-libiconv: install-html-libiconv
30305 # libiconv doesn't support install-html.
30306 install-html-libiconv:
30308 @endif libiconv
30310 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
30311 maybe-installcheck-libiconv:
30312 @if libiconv
30313 maybe-installcheck-libiconv: installcheck-libiconv
30315 installcheck-libiconv: \
30316 configure-libiconv
30317 @: $(MAKE); $(unstage)
30318 @[ -f ./libiconv/Makefile ] || exit 0; \
30319 r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 $(HOST_EXPORTS) \
30322 for flag in $(EXTRA_HOST_FLAGS) ; do \
30323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30324 done; \
30325 echo "Doing installcheck in libiconv" ; \
30326 (cd $(HOST_SUBDIR)/libiconv && \
30327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30329 "RANLIB=$${RANLIB}" \
30330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30331 installcheck) \
30332 || exit 1
30334 @endif libiconv
30336 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
30337 maybe-mostlyclean-libiconv:
30338 @if libiconv
30339 maybe-mostlyclean-libiconv: mostlyclean-libiconv
30341 mostlyclean-libiconv:
30342 @: $(MAKE); $(unstage)
30343 @[ -f ./libiconv/Makefile ] || exit 0; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30346 $(HOST_EXPORTS) \
30347 for flag in $(EXTRA_HOST_FLAGS) ; do \
30348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30349 done; \
30350 echo "Doing mostlyclean in libiconv" ; \
30351 (cd $(HOST_SUBDIR)/libiconv && \
30352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30354 "RANLIB=$${RANLIB}" \
30355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30356 mostlyclean) \
30357 || exit 1
30359 @endif libiconv
30361 .PHONY: maybe-clean-libiconv clean-libiconv
30362 maybe-clean-libiconv:
30363 @if libiconv
30364 maybe-clean-libiconv: clean-libiconv
30366 clean-libiconv:
30367 @: $(MAKE); $(unstage)
30368 @[ -f ./libiconv/Makefile ] || exit 0; \
30369 r=`${PWD_COMMAND}`; export r; \
30370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30371 $(HOST_EXPORTS) \
30372 for flag in $(EXTRA_HOST_FLAGS) ; do \
30373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30374 done; \
30375 echo "Doing clean in libiconv" ; \
30376 (cd $(HOST_SUBDIR)/libiconv && \
30377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30379 "RANLIB=$${RANLIB}" \
30380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30381 clean) \
30382 || exit 1
30384 @endif libiconv
30386 .PHONY: maybe-distclean-libiconv distclean-libiconv
30387 maybe-distclean-libiconv:
30388 @if libiconv
30389 maybe-distclean-libiconv: distclean-libiconv
30391 distclean-libiconv:
30392 @: $(MAKE); $(unstage)
30393 @[ -f ./libiconv/Makefile ] || exit 0; \
30394 r=`${PWD_COMMAND}`; export r; \
30395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30396 $(HOST_EXPORTS) \
30397 for flag in $(EXTRA_HOST_FLAGS) ; do \
30398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30399 done; \
30400 echo "Doing distclean in libiconv" ; \
30401 (cd $(HOST_SUBDIR)/libiconv && \
30402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30404 "RANLIB=$${RANLIB}" \
30405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30406 distclean) \
30407 || exit 1
30409 @endif libiconv
30411 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
30412 maybe-maintainer-clean-libiconv:
30413 @if libiconv
30414 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
30416 maintainer-clean-libiconv:
30417 @: $(MAKE); $(unstage)
30418 @[ -f ./libiconv/Makefile ] || exit 0; \
30419 r=`${PWD_COMMAND}`; export r; \
30420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30421 $(HOST_EXPORTS) \
30422 for flag in $(EXTRA_HOST_FLAGS) ; do \
30423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30424 done; \
30425 echo "Doing maintainer-clean in libiconv" ; \
30426 (cd $(HOST_SUBDIR)/libiconv && \
30427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30429 "RANLIB=$${RANLIB}" \
30430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30431 maintainer-clean) \
30432 || exit 1
30434 @endif libiconv
30438 .PHONY: configure-libtool maybe-configure-libtool
30439 maybe-configure-libtool:
30440 @if gcc-bootstrap
30441 configure-libtool: stage_current
30442 @endif gcc-bootstrap
30443 @if libtool
30444 maybe-configure-libtool: configure-libtool
30445 configure-libtool:
30446 @: $(MAKE); $(unstage)
30447 @r=`${PWD_COMMAND}`; export r; \
30448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30449 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
30450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
30451 $(HOST_EXPORTS) \
30452 echo Configuring in $(HOST_SUBDIR)/libtool; \
30453 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
30454 case $(srcdir) in \
30455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30456 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
30457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30458 esac; \
30459 srcdiroption="--srcdir=$${topdir}/libtool"; \
30460 libsrcdir="$$s/libtool"; \
30461 $(SHELL) $${libsrcdir}/configure \
30462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30463 --target=${target_alias} $${srcdiroption} \
30464 || exit 1
30465 @endif libtool
30471 .PHONY: all-libtool maybe-all-libtool
30472 maybe-all-libtool:
30473 @if gcc-bootstrap
30474 all-libtool: stage_current
30475 @endif gcc-bootstrap
30476 @if libtool
30477 TARGET-libtool=all
30478 maybe-all-libtool: all-libtool
30479 all-libtool: configure-libtool
30480 @: $(MAKE); $(unstage)
30481 @r=`${PWD_COMMAND}`; export r; \
30482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30483 $(HOST_EXPORTS) \
30484 (cd $(HOST_SUBDIR)/libtool && \
30485 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30486 $(TARGET-libtool))
30487 @endif libtool
30492 .PHONY: check-libtool maybe-check-libtool
30493 maybe-check-libtool:
30494 @if libtool
30495 maybe-check-libtool: check-libtool
30497 check-libtool:
30498 @: $(MAKE); $(unstage)
30499 @r=`${PWD_COMMAND}`; export r; \
30500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30501 $(HOST_EXPORTS) \
30502 (cd $(HOST_SUBDIR)/libtool && \
30503 $(MAKE) $(FLAGS_TO_PASS) check)
30505 @endif libtool
30507 .PHONY: install-libtool maybe-install-libtool
30508 maybe-install-libtool:
30509 @if libtool
30510 maybe-install-libtool: install-libtool
30512 install-libtool: installdirs
30513 @: $(MAKE); $(unstage)
30514 @r=`${PWD_COMMAND}`; export r; \
30515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30516 $(HOST_EXPORTS) \
30517 (cd $(HOST_SUBDIR)/libtool && \
30518 $(MAKE) $(FLAGS_TO_PASS) install)
30520 @endif libtool
30522 # Other targets (info, dvi, pdf, etc.)
30524 .PHONY: maybe-info-libtool info-libtool
30525 maybe-info-libtool:
30526 @if libtool
30527 maybe-info-libtool: info-libtool
30529 info-libtool: \
30530 configure-libtool
30531 @: $(MAKE); $(unstage)
30532 @[ -f ./libtool/Makefile ] || exit 0; \
30533 r=`${PWD_COMMAND}`; export r; \
30534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30535 $(HOST_EXPORTS) \
30536 for flag in $(EXTRA_HOST_FLAGS) ; do \
30537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30538 done; \
30539 echo "Doing info in libtool" ; \
30540 (cd $(HOST_SUBDIR)/libtool && \
30541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30543 "RANLIB=$${RANLIB}" \
30544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30545 info) \
30546 || exit 1
30548 @endif libtool
30550 .PHONY: maybe-dvi-libtool dvi-libtool
30551 maybe-dvi-libtool:
30552 @if libtool
30553 maybe-dvi-libtool: dvi-libtool
30555 dvi-libtool: \
30556 configure-libtool
30557 @: $(MAKE); $(unstage)
30558 @[ -f ./libtool/Makefile ] || exit 0; \
30559 r=`${PWD_COMMAND}`; export r; \
30560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30561 $(HOST_EXPORTS) \
30562 for flag in $(EXTRA_HOST_FLAGS) ; do \
30563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30564 done; \
30565 echo "Doing dvi in libtool" ; \
30566 (cd $(HOST_SUBDIR)/libtool && \
30567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30569 "RANLIB=$${RANLIB}" \
30570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30571 dvi) \
30572 || exit 1
30574 @endif libtool
30576 .PHONY: maybe-pdf-libtool pdf-libtool
30577 maybe-pdf-libtool:
30578 @if libtool
30579 maybe-pdf-libtool: pdf-libtool
30581 pdf-libtool: \
30582 configure-libtool
30583 @: $(MAKE); $(unstage)
30584 @[ -f ./libtool/Makefile ] || exit 0; \
30585 r=`${PWD_COMMAND}`; export r; \
30586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30587 $(HOST_EXPORTS) \
30588 for flag in $(EXTRA_HOST_FLAGS) ; do \
30589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30590 done; \
30591 echo "Doing pdf in libtool" ; \
30592 (cd $(HOST_SUBDIR)/libtool && \
30593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30595 "RANLIB=$${RANLIB}" \
30596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30597 pdf) \
30598 || exit 1
30600 @endif libtool
30602 .PHONY: maybe-html-libtool html-libtool
30603 maybe-html-libtool:
30604 @if libtool
30605 maybe-html-libtool: html-libtool
30607 html-libtool: \
30608 configure-libtool
30609 @: $(MAKE); $(unstage)
30610 @[ -f ./libtool/Makefile ] || exit 0; \
30611 r=`${PWD_COMMAND}`; export r; \
30612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30613 $(HOST_EXPORTS) \
30614 for flag in $(EXTRA_HOST_FLAGS) ; do \
30615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30616 done; \
30617 echo "Doing html in libtool" ; \
30618 (cd $(HOST_SUBDIR)/libtool && \
30619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30621 "RANLIB=$${RANLIB}" \
30622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30623 html) \
30624 || exit 1
30626 @endif libtool
30628 .PHONY: maybe-TAGS-libtool TAGS-libtool
30629 maybe-TAGS-libtool:
30630 @if libtool
30631 maybe-TAGS-libtool: TAGS-libtool
30633 TAGS-libtool: \
30634 configure-libtool
30635 @: $(MAKE); $(unstage)
30636 @[ -f ./libtool/Makefile ] || exit 0; \
30637 r=`${PWD_COMMAND}`; export r; \
30638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30639 $(HOST_EXPORTS) \
30640 for flag in $(EXTRA_HOST_FLAGS) ; do \
30641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30642 done; \
30643 echo "Doing TAGS in libtool" ; \
30644 (cd $(HOST_SUBDIR)/libtool && \
30645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30647 "RANLIB=$${RANLIB}" \
30648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30649 TAGS) \
30650 || exit 1
30652 @endif libtool
30654 .PHONY: maybe-install-info-libtool install-info-libtool
30655 maybe-install-info-libtool:
30656 @if libtool
30657 maybe-install-info-libtool: install-info-libtool
30659 install-info-libtool: \
30660 configure-libtool \
30661 info-libtool
30662 @: $(MAKE); $(unstage)
30663 @[ -f ./libtool/Makefile ] || exit 0; \
30664 r=`${PWD_COMMAND}`; export r; \
30665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30666 $(HOST_EXPORTS) \
30667 for flag in $(EXTRA_HOST_FLAGS) ; do \
30668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30669 done; \
30670 echo "Doing install-info in libtool" ; \
30671 (cd $(HOST_SUBDIR)/libtool && \
30672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30674 "RANLIB=$${RANLIB}" \
30675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30676 install-info) \
30677 || exit 1
30679 @endif libtool
30681 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
30682 maybe-install-pdf-libtool:
30683 @if libtool
30684 maybe-install-pdf-libtool: install-pdf-libtool
30686 install-pdf-libtool: \
30687 configure-libtool \
30688 pdf-libtool
30689 @: $(MAKE); $(unstage)
30690 @[ -f ./libtool/Makefile ] || exit 0; \
30691 r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(HOST_EXPORTS) \
30694 for flag in $(EXTRA_HOST_FLAGS) ; do \
30695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30696 done; \
30697 echo "Doing install-pdf in libtool" ; \
30698 (cd $(HOST_SUBDIR)/libtool && \
30699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30701 "RANLIB=$${RANLIB}" \
30702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30703 install-pdf) \
30704 || exit 1
30706 @endif libtool
30708 .PHONY: maybe-install-html-libtool install-html-libtool
30709 maybe-install-html-libtool:
30710 @if libtool
30711 maybe-install-html-libtool: install-html-libtool
30713 install-html-libtool: \
30714 configure-libtool \
30715 html-libtool
30716 @: $(MAKE); $(unstage)
30717 @[ -f ./libtool/Makefile ] || exit 0; \
30718 r=`${PWD_COMMAND}`; export r; \
30719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30720 $(HOST_EXPORTS) \
30721 for flag in $(EXTRA_HOST_FLAGS) ; do \
30722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30723 done; \
30724 echo "Doing install-html in libtool" ; \
30725 (cd $(HOST_SUBDIR)/libtool && \
30726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30728 "RANLIB=$${RANLIB}" \
30729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30730 install-html) \
30731 || exit 1
30733 @endif libtool
30735 .PHONY: maybe-installcheck-libtool installcheck-libtool
30736 maybe-installcheck-libtool:
30737 @if libtool
30738 maybe-installcheck-libtool: installcheck-libtool
30740 installcheck-libtool: \
30741 configure-libtool
30742 @: $(MAKE); $(unstage)
30743 @[ -f ./libtool/Makefile ] || exit 0; \
30744 r=`${PWD_COMMAND}`; export r; \
30745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30746 $(HOST_EXPORTS) \
30747 for flag in $(EXTRA_HOST_FLAGS) ; do \
30748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30749 done; \
30750 echo "Doing installcheck in libtool" ; \
30751 (cd $(HOST_SUBDIR)/libtool && \
30752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30754 "RANLIB=$${RANLIB}" \
30755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30756 installcheck) \
30757 || exit 1
30759 @endif libtool
30761 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
30762 maybe-mostlyclean-libtool:
30763 @if libtool
30764 maybe-mostlyclean-libtool: mostlyclean-libtool
30766 mostlyclean-libtool:
30767 @: $(MAKE); $(unstage)
30768 @[ -f ./libtool/Makefile ] || exit 0; \
30769 r=`${PWD_COMMAND}`; export r; \
30770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30771 $(HOST_EXPORTS) \
30772 for flag in $(EXTRA_HOST_FLAGS) ; do \
30773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30774 done; \
30775 echo "Doing mostlyclean in libtool" ; \
30776 (cd $(HOST_SUBDIR)/libtool && \
30777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30779 "RANLIB=$${RANLIB}" \
30780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30781 mostlyclean) \
30782 || exit 1
30784 @endif libtool
30786 .PHONY: maybe-clean-libtool clean-libtool
30787 maybe-clean-libtool:
30788 @if libtool
30789 maybe-clean-libtool: clean-libtool
30791 clean-libtool:
30792 @: $(MAKE); $(unstage)
30793 @[ -f ./libtool/Makefile ] || exit 0; \
30794 r=`${PWD_COMMAND}`; export r; \
30795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30796 $(HOST_EXPORTS) \
30797 for flag in $(EXTRA_HOST_FLAGS) ; do \
30798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30799 done; \
30800 echo "Doing clean in libtool" ; \
30801 (cd $(HOST_SUBDIR)/libtool && \
30802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30804 "RANLIB=$${RANLIB}" \
30805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30806 clean) \
30807 || exit 1
30809 @endif libtool
30811 .PHONY: maybe-distclean-libtool distclean-libtool
30812 maybe-distclean-libtool:
30813 @if libtool
30814 maybe-distclean-libtool: distclean-libtool
30816 distclean-libtool:
30817 @: $(MAKE); $(unstage)
30818 @[ -f ./libtool/Makefile ] || exit 0; \
30819 r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(HOST_EXPORTS) \
30822 for flag in $(EXTRA_HOST_FLAGS) ; do \
30823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30824 done; \
30825 echo "Doing distclean in libtool" ; \
30826 (cd $(HOST_SUBDIR)/libtool && \
30827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30829 "RANLIB=$${RANLIB}" \
30830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30831 distclean) \
30832 || exit 1
30834 @endif libtool
30836 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
30837 maybe-maintainer-clean-libtool:
30838 @if libtool
30839 maybe-maintainer-clean-libtool: maintainer-clean-libtool
30841 maintainer-clean-libtool:
30842 @: $(MAKE); $(unstage)
30843 @[ -f ./libtool/Makefile ] || exit 0; \
30844 r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 $(HOST_EXPORTS) \
30847 for flag in $(EXTRA_HOST_FLAGS) ; do \
30848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30849 done; \
30850 echo "Doing maintainer-clean in libtool" ; \
30851 (cd $(HOST_SUBDIR)/libtool && \
30852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30854 "RANLIB=$${RANLIB}" \
30855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30856 maintainer-clean) \
30857 || exit 1
30859 @endif libtool
30863 .PHONY: configure-m4 maybe-configure-m4
30864 maybe-configure-m4:
30865 @if gcc-bootstrap
30866 configure-m4: stage_current
30867 @endif gcc-bootstrap
30868 @if m4
30869 maybe-configure-m4: configure-m4
30870 configure-m4:
30871 @: $(MAKE); $(unstage)
30872 @r=`${PWD_COMMAND}`; export r; \
30873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30874 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
30875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
30876 $(HOST_EXPORTS) \
30877 echo Configuring in $(HOST_SUBDIR)/m4; \
30878 cd "$(HOST_SUBDIR)/m4" || exit 1; \
30879 case $(srcdir) in \
30880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30881 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
30882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30883 esac; \
30884 srcdiroption="--srcdir=$${topdir}/m4"; \
30885 libsrcdir="$$s/m4"; \
30886 $(SHELL) $${libsrcdir}/configure \
30887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30888 --target=${target_alias} $${srcdiroption} \
30889 || exit 1
30890 @endif m4
30896 .PHONY: all-m4 maybe-all-m4
30897 maybe-all-m4:
30898 @if gcc-bootstrap
30899 all-m4: stage_current
30900 @endif gcc-bootstrap
30901 @if m4
30902 TARGET-m4=all
30903 maybe-all-m4: all-m4
30904 all-m4: configure-m4
30905 @: $(MAKE); $(unstage)
30906 @r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(HOST_EXPORTS) \
30909 (cd $(HOST_SUBDIR)/m4 && \
30910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30911 $(TARGET-m4))
30912 @endif m4
30917 .PHONY: check-m4 maybe-check-m4
30918 maybe-check-m4:
30919 @if m4
30920 maybe-check-m4: check-m4
30922 check-m4:
30923 @: $(MAKE); $(unstage)
30924 @r=`${PWD_COMMAND}`; export r; \
30925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30926 $(HOST_EXPORTS) \
30927 (cd $(HOST_SUBDIR)/m4 && \
30928 $(MAKE) $(FLAGS_TO_PASS) check)
30930 @endif m4
30932 .PHONY: install-m4 maybe-install-m4
30933 maybe-install-m4:
30934 @if m4
30935 maybe-install-m4: install-m4
30937 install-m4: installdirs
30938 @: $(MAKE); $(unstage)
30939 @r=`${PWD_COMMAND}`; export r; \
30940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30941 $(HOST_EXPORTS) \
30942 (cd $(HOST_SUBDIR)/m4 && \
30943 $(MAKE) $(FLAGS_TO_PASS) install)
30945 @endif m4
30947 # Other targets (info, dvi, pdf, etc.)
30949 .PHONY: maybe-info-m4 info-m4
30950 maybe-info-m4:
30951 @if m4
30952 maybe-info-m4: info-m4
30954 info-m4: \
30955 configure-m4
30956 @: $(MAKE); $(unstage)
30957 @[ -f ./m4/Makefile ] || exit 0; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30960 $(HOST_EXPORTS) \
30961 for flag in $(EXTRA_HOST_FLAGS) ; do \
30962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30963 done; \
30964 echo "Doing info in m4" ; \
30965 (cd $(HOST_SUBDIR)/m4 && \
30966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30968 "RANLIB=$${RANLIB}" \
30969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30970 info) \
30971 || exit 1
30973 @endif m4
30975 .PHONY: maybe-dvi-m4 dvi-m4
30976 maybe-dvi-m4:
30977 @if m4
30978 maybe-dvi-m4: dvi-m4
30980 dvi-m4: \
30981 configure-m4
30982 @: $(MAKE); $(unstage)
30983 @[ -f ./m4/Makefile ] || exit 0; \
30984 r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 $(HOST_EXPORTS) \
30987 for flag in $(EXTRA_HOST_FLAGS) ; do \
30988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30989 done; \
30990 echo "Doing dvi in m4" ; \
30991 (cd $(HOST_SUBDIR)/m4 && \
30992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30994 "RANLIB=$${RANLIB}" \
30995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30996 dvi) \
30997 || exit 1
30999 @endif m4
31001 .PHONY: maybe-pdf-m4 pdf-m4
31002 maybe-pdf-m4:
31003 @if m4
31004 maybe-pdf-m4: pdf-m4
31006 pdf-m4: \
31007 configure-m4
31008 @: $(MAKE); $(unstage)
31009 @[ -f ./m4/Makefile ] || exit 0; \
31010 r=`${PWD_COMMAND}`; export r; \
31011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31012 $(HOST_EXPORTS) \
31013 for flag in $(EXTRA_HOST_FLAGS) ; do \
31014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31015 done; \
31016 echo "Doing pdf in m4" ; \
31017 (cd $(HOST_SUBDIR)/m4 && \
31018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31020 "RANLIB=$${RANLIB}" \
31021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31022 pdf) \
31023 || exit 1
31025 @endif m4
31027 .PHONY: maybe-html-m4 html-m4
31028 maybe-html-m4:
31029 @if m4
31030 maybe-html-m4: html-m4
31032 html-m4: \
31033 configure-m4
31034 @: $(MAKE); $(unstage)
31035 @[ -f ./m4/Makefile ] || exit 0; \
31036 r=`${PWD_COMMAND}`; export r; \
31037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31038 $(HOST_EXPORTS) \
31039 for flag in $(EXTRA_HOST_FLAGS) ; do \
31040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31041 done; \
31042 echo "Doing html in m4" ; \
31043 (cd $(HOST_SUBDIR)/m4 && \
31044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31046 "RANLIB=$${RANLIB}" \
31047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31048 html) \
31049 || exit 1
31051 @endif m4
31053 .PHONY: maybe-TAGS-m4 TAGS-m4
31054 maybe-TAGS-m4:
31055 @if m4
31056 maybe-TAGS-m4: TAGS-m4
31058 TAGS-m4: \
31059 configure-m4
31060 @: $(MAKE); $(unstage)
31061 @[ -f ./m4/Makefile ] || exit 0; \
31062 r=`${PWD_COMMAND}`; export r; \
31063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31064 $(HOST_EXPORTS) \
31065 for flag in $(EXTRA_HOST_FLAGS) ; do \
31066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31067 done; \
31068 echo "Doing TAGS in m4" ; \
31069 (cd $(HOST_SUBDIR)/m4 && \
31070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31072 "RANLIB=$${RANLIB}" \
31073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31074 TAGS) \
31075 || exit 1
31077 @endif m4
31079 .PHONY: maybe-install-info-m4 install-info-m4
31080 maybe-install-info-m4:
31081 @if m4
31082 maybe-install-info-m4: install-info-m4
31084 install-info-m4: \
31085 configure-m4 \
31086 info-m4
31087 @: $(MAKE); $(unstage)
31088 @[ -f ./m4/Makefile ] || exit 0; \
31089 r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(HOST_EXPORTS) \
31092 for flag in $(EXTRA_HOST_FLAGS) ; do \
31093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31094 done; \
31095 echo "Doing install-info in m4" ; \
31096 (cd $(HOST_SUBDIR)/m4 && \
31097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31099 "RANLIB=$${RANLIB}" \
31100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31101 install-info) \
31102 || exit 1
31104 @endif m4
31106 .PHONY: maybe-install-pdf-m4 install-pdf-m4
31107 maybe-install-pdf-m4:
31108 @if m4
31109 maybe-install-pdf-m4: install-pdf-m4
31111 install-pdf-m4: \
31112 configure-m4 \
31113 pdf-m4
31114 @: $(MAKE); $(unstage)
31115 @[ -f ./m4/Makefile ] || exit 0; \
31116 r=`${PWD_COMMAND}`; export r; \
31117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31118 $(HOST_EXPORTS) \
31119 for flag in $(EXTRA_HOST_FLAGS) ; do \
31120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31121 done; \
31122 echo "Doing install-pdf in m4" ; \
31123 (cd $(HOST_SUBDIR)/m4 && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31126 "RANLIB=$${RANLIB}" \
31127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31128 install-pdf) \
31129 || exit 1
31131 @endif m4
31133 .PHONY: maybe-install-html-m4 install-html-m4
31134 maybe-install-html-m4:
31135 @if m4
31136 maybe-install-html-m4: install-html-m4
31138 install-html-m4: \
31139 configure-m4 \
31140 html-m4
31141 @: $(MAKE); $(unstage)
31142 @[ -f ./m4/Makefile ] || exit 0; \
31143 r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(HOST_EXPORTS) \
31146 for flag in $(EXTRA_HOST_FLAGS) ; do \
31147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31148 done; \
31149 echo "Doing install-html in m4" ; \
31150 (cd $(HOST_SUBDIR)/m4 && \
31151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31153 "RANLIB=$${RANLIB}" \
31154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31155 install-html) \
31156 || exit 1
31158 @endif m4
31160 .PHONY: maybe-installcheck-m4 installcheck-m4
31161 maybe-installcheck-m4:
31162 @if m4
31163 maybe-installcheck-m4: installcheck-m4
31165 installcheck-m4: \
31166 configure-m4
31167 @: $(MAKE); $(unstage)
31168 @[ -f ./m4/Makefile ] || exit 0; \
31169 r=`${PWD_COMMAND}`; export r; \
31170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31171 $(HOST_EXPORTS) \
31172 for flag in $(EXTRA_HOST_FLAGS) ; do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 echo "Doing installcheck in m4" ; \
31176 (cd $(HOST_SUBDIR)/m4 && \
31177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31179 "RANLIB=$${RANLIB}" \
31180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31181 installcheck) \
31182 || exit 1
31184 @endif m4
31186 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
31187 maybe-mostlyclean-m4:
31188 @if m4
31189 maybe-mostlyclean-m4: mostlyclean-m4
31191 mostlyclean-m4:
31192 @: $(MAKE); $(unstage)
31193 @[ -f ./m4/Makefile ] || exit 0; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(HOST_EXPORTS) \
31197 for flag in $(EXTRA_HOST_FLAGS) ; do \
31198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31199 done; \
31200 echo "Doing mostlyclean in m4" ; \
31201 (cd $(HOST_SUBDIR)/m4 && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31206 mostlyclean) \
31207 || exit 1
31209 @endif m4
31211 .PHONY: maybe-clean-m4 clean-m4
31212 maybe-clean-m4:
31213 @if m4
31214 maybe-clean-m4: clean-m4
31216 clean-m4:
31217 @: $(MAKE); $(unstage)
31218 @[ -f ./m4/Makefile ] || exit 0; \
31219 r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(HOST_EXPORTS) \
31222 for flag in $(EXTRA_HOST_FLAGS) ; do \
31223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31224 done; \
31225 echo "Doing clean in m4" ; \
31226 (cd $(HOST_SUBDIR)/m4 && \
31227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31229 "RANLIB=$${RANLIB}" \
31230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31231 clean) \
31232 || exit 1
31234 @endif m4
31236 .PHONY: maybe-distclean-m4 distclean-m4
31237 maybe-distclean-m4:
31238 @if m4
31239 maybe-distclean-m4: distclean-m4
31241 distclean-m4:
31242 @: $(MAKE); $(unstage)
31243 @[ -f ./m4/Makefile ] || exit 0; \
31244 r=`${PWD_COMMAND}`; export r; \
31245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31246 $(HOST_EXPORTS) \
31247 for flag in $(EXTRA_HOST_FLAGS) ; do \
31248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31249 done; \
31250 echo "Doing distclean in m4" ; \
31251 (cd $(HOST_SUBDIR)/m4 && \
31252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31254 "RANLIB=$${RANLIB}" \
31255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31256 distclean) \
31257 || exit 1
31259 @endif m4
31261 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
31262 maybe-maintainer-clean-m4:
31263 @if m4
31264 maybe-maintainer-clean-m4: maintainer-clean-m4
31266 maintainer-clean-m4:
31267 @: $(MAKE); $(unstage)
31268 @[ -f ./m4/Makefile ] || exit 0; \
31269 r=`${PWD_COMMAND}`; export r; \
31270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31271 $(HOST_EXPORTS) \
31272 for flag in $(EXTRA_HOST_FLAGS) ; do \
31273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31274 done; \
31275 echo "Doing maintainer-clean in m4" ; \
31276 (cd $(HOST_SUBDIR)/m4 && \
31277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31279 "RANLIB=$${RANLIB}" \
31280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31281 maintainer-clean) \
31282 || exit 1
31284 @endif m4
31288 .PHONY: configure-make maybe-configure-make
31289 maybe-configure-make:
31290 @if gcc-bootstrap
31291 configure-make: stage_current
31292 @endif gcc-bootstrap
31293 @if make
31294 maybe-configure-make: configure-make
31295 configure-make:
31296 @: $(MAKE); $(unstage)
31297 @r=`${PWD_COMMAND}`; export r; \
31298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31299 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
31300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
31301 $(HOST_EXPORTS) \
31302 echo Configuring in $(HOST_SUBDIR)/make; \
31303 cd "$(HOST_SUBDIR)/make" || exit 1; \
31304 case $(srcdir) in \
31305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31306 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
31307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31308 esac; \
31309 srcdiroption="--srcdir=$${topdir}/make"; \
31310 libsrcdir="$$s/make"; \
31311 $(SHELL) $${libsrcdir}/configure \
31312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31313 --target=${target_alias} $${srcdiroption} \
31314 || exit 1
31315 @endif make
31321 .PHONY: all-make maybe-all-make
31322 maybe-all-make:
31323 @if gcc-bootstrap
31324 all-make: stage_current
31325 @endif gcc-bootstrap
31326 @if make
31327 TARGET-make=all
31328 maybe-all-make: all-make
31329 all-make: configure-make
31330 @: $(MAKE); $(unstage)
31331 @r=`${PWD_COMMAND}`; export r; \
31332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31333 $(HOST_EXPORTS) \
31334 (cd $(HOST_SUBDIR)/make && \
31335 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31336 $(TARGET-make))
31337 @endif make
31342 .PHONY: check-make maybe-check-make
31343 maybe-check-make:
31344 @if make
31345 maybe-check-make: check-make
31347 check-make:
31348 @: $(MAKE); $(unstage)
31349 @r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(HOST_EXPORTS) \
31352 (cd $(HOST_SUBDIR)/make && \
31353 $(MAKE) $(FLAGS_TO_PASS) check)
31355 @endif make
31357 .PHONY: install-make maybe-install-make
31358 maybe-install-make:
31359 @if make
31360 maybe-install-make: install-make
31362 install-make: installdirs
31363 @: $(MAKE); $(unstage)
31364 @r=`${PWD_COMMAND}`; export r; \
31365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31366 $(HOST_EXPORTS) \
31367 (cd $(HOST_SUBDIR)/make && \
31368 $(MAKE) $(FLAGS_TO_PASS) install)
31370 @endif make
31372 # Other targets (info, dvi, pdf, etc.)
31374 .PHONY: maybe-info-make info-make
31375 maybe-info-make:
31376 @if make
31377 maybe-info-make: info-make
31379 info-make: \
31380 configure-make
31381 @: $(MAKE); $(unstage)
31382 @[ -f ./make/Makefile ] || exit 0; \
31383 r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(HOST_EXPORTS) \
31386 for flag in $(EXTRA_HOST_FLAGS) ; do \
31387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31388 done; \
31389 echo "Doing info in make" ; \
31390 (cd $(HOST_SUBDIR)/make && \
31391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31393 "RANLIB=$${RANLIB}" \
31394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31395 info) \
31396 || exit 1
31398 @endif make
31400 .PHONY: maybe-dvi-make dvi-make
31401 maybe-dvi-make:
31402 @if make
31403 maybe-dvi-make: dvi-make
31405 dvi-make: \
31406 configure-make
31407 @: $(MAKE); $(unstage)
31408 @[ -f ./make/Makefile ] || exit 0; \
31409 r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(HOST_EXPORTS) \
31412 for flag in $(EXTRA_HOST_FLAGS) ; do \
31413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31414 done; \
31415 echo "Doing dvi in make" ; \
31416 (cd $(HOST_SUBDIR)/make && \
31417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31419 "RANLIB=$${RANLIB}" \
31420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31421 dvi) \
31422 || exit 1
31424 @endif make
31426 .PHONY: maybe-pdf-make pdf-make
31427 maybe-pdf-make:
31428 @if make
31429 maybe-pdf-make: pdf-make
31431 pdf-make: \
31432 configure-make
31433 @: $(MAKE); $(unstage)
31434 @[ -f ./make/Makefile ] || exit 0; \
31435 r=`${PWD_COMMAND}`; export r; \
31436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31437 $(HOST_EXPORTS) \
31438 for flag in $(EXTRA_HOST_FLAGS) ; do \
31439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31440 done; \
31441 echo "Doing pdf in make" ; \
31442 (cd $(HOST_SUBDIR)/make && \
31443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31445 "RANLIB=$${RANLIB}" \
31446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31447 pdf) \
31448 || exit 1
31450 @endif make
31452 .PHONY: maybe-html-make html-make
31453 maybe-html-make:
31454 @if make
31455 maybe-html-make: html-make
31457 html-make: \
31458 configure-make
31459 @: $(MAKE); $(unstage)
31460 @[ -f ./make/Makefile ] || exit 0; \
31461 r=`${PWD_COMMAND}`; export r; \
31462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31463 $(HOST_EXPORTS) \
31464 for flag in $(EXTRA_HOST_FLAGS) ; do \
31465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31466 done; \
31467 echo "Doing html in make" ; \
31468 (cd $(HOST_SUBDIR)/make && \
31469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31471 "RANLIB=$${RANLIB}" \
31472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31473 html) \
31474 || exit 1
31476 @endif make
31478 .PHONY: maybe-TAGS-make TAGS-make
31479 maybe-TAGS-make:
31480 @if make
31481 maybe-TAGS-make: TAGS-make
31483 TAGS-make: \
31484 configure-make
31485 @: $(MAKE); $(unstage)
31486 @[ -f ./make/Makefile ] || exit 0; \
31487 r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(HOST_EXPORTS) \
31490 for flag in $(EXTRA_HOST_FLAGS) ; do \
31491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31492 done; \
31493 echo "Doing TAGS in make" ; \
31494 (cd $(HOST_SUBDIR)/make && \
31495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31497 "RANLIB=$${RANLIB}" \
31498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31499 TAGS) \
31500 || exit 1
31502 @endif make
31504 .PHONY: maybe-install-info-make install-info-make
31505 maybe-install-info-make:
31506 @if make
31507 maybe-install-info-make: install-info-make
31509 install-info-make: \
31510 configure-make \
31511 info-make
31512 @: $(MAKE); $(unstage)
31513 @[ -f ./make/Makefile ] || exit 0; \
31514 r=`${PWD_COMMAND}`; export r; \
31515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31516 $(HOST_EXPORTS) \
31517 for flag in $(EXTRA_HOST_FLAGS) ; do \
31518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31519 done; \
31520 echo "Doing install-info in make" ; \
31521 (cd $(HOST_SUBDIR)/make && \
31522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31524 "RANLIB=$${RANLIB}" \
31525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31526 install-info) \
31527 || exit 1
31529 @endif make
31531 .PHONY: maybe-install-pdf-make install-pdf-make
31532 maybe-install-pdf-make:
31533 @if make
31534 maybe-install-pdf-make: install-pdf-make
31536 install-pdf-make: \
31537 configure-make \
31538 pdf-make
31539 @: $(MAKE); $(unstage)
31540 @[ -f ./make/Makefile ] || exit 0; \
31541 r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(HOST_EXPORTS) \
31544 for flag in $(EXTRA_HOST_FLAGS) ; do \
31545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31546 done; \
31547 echo "Doing install-pdf in make" ; \
31548 (cd $(HOST_SUBDIR)/make && \
31549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31551 "RANLIB=$${RANLIB}" \
31552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31553 install-pdf) \
31554 || exit 1
31556 @endif make
31558 .PHONY: maybe-install-html-make install-html-make
31559 maybe-install-html-make:
31560 @if make
31561 maybe-install-html-make: install-html-make
31563 install-html-make: \
31564 configure-make \
31565 html-make
31566 @: $(MAKE); $(unstage)
31567 @[ -f ./make/Makefile ] || exit 0; \
31568 r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(HOST_EXPORTS) \
31571 for flag in $(EXTRA_HOST_FLAGS) ; do \
31572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31573 done; \
31574 echo "Doing install-html in make" ; \
31575 (cd $(HOST_SUBDIR)/make && \
31576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31578 "RANLIB=$${RANLIB}" \
31579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31580 install-html) \
31581 || exit 1
31583 @endif make
31585 .PHONY: maybe-installcheck-make installcheck-make
31586 maybe-installcheck-make:
31587 @if make
31588 maybe-installcheck-make: installcheck-make
31590 installcheck-make: \
31591 configure-make
31592 @: $(MAKE); $(unstage)
31593 @[ -f ./make/Makefile ] || exit 0; \
31594 r=`${PWD_COMMAND}`; export r; \
31595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31596 $(HOST_EXPORTS) \
31597 for flag in $(EXTRA_HOST_FLAGS) ; do \
31598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31599 done; \
31600 echo "Doing installcheck in make" ; \
31601 (cd $(HOST_SUBDIR)/make && \
31602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31604 "RANLIB=$${RANLIB}" \
31605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31606 installcheck) \
31607 || exit 1
31609 @endif make
31611 .PHONY: maybe-mostlyclean-make mostlyclean-make
31612 maybe-mostlyclean-make:
31613 @if make
31614 maybe-mostlyclean-make: mostlyclean-make
31616 mostlyclean-make:
31617 @: $(MAKE); $(unstage)
31618 @[ -f ./make/Makefile ] || exit 0; \
31619 r=`${PWD_COMMAND}`; export r; \
31620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31621 $(HOST_EXPORTS) \
31622 for flag in $(EXTRA_HOST_FLAGS) ; do \
31623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31624 done; \
31625 echo "Doing mostlyclean in make" ; \
31626 (cd $(HOST_SUBDIR)/make && \
31627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31629 "RANLIB=$${RANLIB}" \
31630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31631 mostlyclean) \
31632 || exit 1
31634 @endif make
31636 .PHONY: maybe-clean-make clean-make
31637 maybe-clean-make:
31638 @if make
31639 maybe-clean-make: clean-make
31641 clean-make:
31642 @: $(MAKE); $(unstage)
31643 @[ -f ./make/Makefile ] || exit 0; \
31644 r=`${PWD_COMMAND}`; export r; \
31645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31646 $(HOST_EXPORTS) \
31647 for flag in $(EXTRA_HOST_FLAGS) ; do \
31648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31649 done; \
31650 echo "Doing clean in make" ; \
31651 (cd $(HOST_SUBDIR)/make && \
31652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31654 "RANLIB=$${RANLIB}" \
31655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31656 clean) \
31657 || exit 1
31659 @endif make
31661 .PHONY: maybe-distclean-make distclean-make
31662 maybe-distclean-make:
31663 @if make
31664 maybe-distclean-make: distclean-make
31666 distclean-make:
31667 @: $(MAKE); $(unstage)
31668 @[ -f ./make/Makefile ] || exit 0; \
31669 r=`${PWD_COMMAND}`; export r; \
31670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31671 $(HOST_EXPORTS) \
31672 for flag in $(EXTRA_HOST_FLAGS) ; do \
31673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31674 done; \
31675 echo "Doing distclean in make" ; \
31676 (cd $(HOST_SUBDIR)/make && \
31677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31679 "RANLIB=$${RANLIB}" \
31680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31681 distclean) \
31682 || exit 1
31684 @endif make
31686 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
31687 maybe-maintainer-clean-make:
31688 @if make
31689 maybe-maintainer-clean-make: maintainer-clean-make
31691 maintainer-clean-make:
31692 @: $(MAKE); $(unstage)
31693 @[ -f ./make/Makefile ] || exit 0; \
31694 r=`${PWD_COMMAND}`; export r; \
31695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31696 $(HOST_EXPORTS) \
31697 for flag in $(EXTRA_HOST_FLAGS) ; do \
31698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31699 done; \
31700 echo "Doing maintainer-clean in make" ; \
31701 (cd $(HOST_SUBDIR)/make && \
31702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31704 "RANLIB=$${RANLIB}" \
31705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31706 maintainer-clean) \
31707 || exit 1
31709 @endif make
31713 .PHONY: configure-mmalloc maybe-configure-mmalloc
31714 maybe-configure-mmalloc:
31715 @if gcc-bootstrap
31716 configure-mmalloc: stage_current
31717 @endif gcc-bootstrap
31718 @if mmalloc
31719 maybe-configure-mmalloc: configure-mmalloc
31720 configure-mmalloc:
31721 @: $(MAKE); $(unstage)
31722 @r=`${PWD_COMMAND}`; export r; \
31723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31724 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
31725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
31726 $(HOST_EXPORTS) \
31727 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
31728 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
31729 case $(srcdir) in \
31730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31731 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
31732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31733 esac; \
31734 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
31735 libsrcdir="$$s/mmalloc"; \
31736 $(SHELL) $${libsrcdir}/configure \
31737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31738 --target=${target_alias} $${srcdiroption} \
31739 || exit 1
31740 @endif mmalloc
31746 .PHONY: all-mmalloc maybe-all-mmalloc
31747 maybe-all-mmalloc:
31748 @if gcc-bootstrap
31749 all-mmalloc: stage_current
31750 @endif gcc-bootstrap
31751 @if mmalloc
31752 TARGET-mmalloc=all
31753 maybe-all-mmalloc: all-mmalloc
31754 all-mmalloc: configure-mmalloc
31755 @: $(MAKE); $(unstage)
31756 @r=`${PWD_COMMAND}`; export r; \
31757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31758 $(HOST_EXPORTS) \
31759 (cd $(HOST_SUBDIR)/mmalloc && \
31760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31761 $(TARGET-mmalloc))
31762 @endif mmalloc
31767 .PHONY: check-mmalloc maybe-check-mmalloc
31768 maybe-check-mmalloc:
31769 @if mmalloc
31770 maybe-check-mmalloc: check-mmalloc
31772 check-mmalloc:
31774 @endif mmalloc
31776 .PHONY: install-mmalloc maybe-install-mmalloc
31777 maybe-install-mmalloc:
31778 @if mmalloc
31779 maybe-install-mmalloc: install-mmalloc
31781 install-mmalloc: installdirs
31782 @: $(MAKE); $(unstage)
31783 @r=`${PWD_COMMAND}`; export r; \
31784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31785 $(HOST_EXPORTS) \
31786 (cd $(HOST_SUBDIR)/mmalloc && \
31787 $(MAKE) $(FLAGS_TO_PASS) install)
31789 @endif mmalloc
31791 # Other targets (info, dvi, pdf, etc.)
31793 .PHONY: maybe-info-mmalloc info-mmalloc
31794 maybe-info-mmalloc:
31795 @if mmalloc
31796 maybe-info-mmalloc: info-mmalloc
31798 info-mmalloc: \
31799 configure-mmalloc
31800 @: $(MAKE); $(unstage)
31801 @[ -f ./mmalloc/Makefile ] || exit 0; \
31802 r=`${PWD_COMMAND}`; export r; \
31803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31804 $(HOST_EXPORTS) \
31805 for flag in $(EXTRA_HOST_FLAGS) ; do \
31806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31807 done; \
31808 echo "Doing info in mmalloc" ; \
31809 (cd $(HOST_SUBDIR)/mmalloc && \
31810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31812 "RANLIB=$${RANLIB}" \
31813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31814 info) \
31815 || exit 1
31817 @endif mmalloc
31819 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
31820 maybe-dvi-mmalloc:
31821 @if mmalloc
31822 maybe-dvi-mmalloc: dvi-mmalloc
31824 dvi-mmalloc: \
31825 configure-mmalloc
31826 @: $(MAKE); $(unstage)
31827 @[ -f ./mmalloc/Makefile ] || exit 0; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(HOST_EXPORTS) \
31831 for flag in $(EXTRA_HOST_FLAGS) ; do \
31832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31833 done; \
31834 echo "Doing dvi in mmalloc" ; \
31835 (cd $(HOST_SUBDIR)/mmalloc && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31840 dvi) \
31841 || exit 1
31843 @endif mmalloc
31845 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
31846 maybe-pdf-mmalloc:
31847 @if mmalloc
31848 maybe-pdf-mmalloc: pdf-mmalloc
31850 pdf-mmalloc: \
31851 configure-mmalloc
31852 @: $(MAKE); $(unstage)
31853 @[ -f ./mmalloc/Makefile ] || exit 0; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(HOST_EXPORTS) \
31857 for flag in $(EXTRA_HOST_FLAGS) ; do \
31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31859 done; \
31860 echo "Doing pdf in mmalloc" ; \
31861 (cd $(HOST_SUBDIR)/mmalloc && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31866 pdf) \
31867 || exit 1
31869 @endif mmalloc
31871 .PHONY: maybe-html-mmalloc html-mmalloc
31872 maybe-html-mmalloc:
31873 @if mmalloc
31874 maybe-html-mmalloc: html-mmalloc
31876 html-mmalloc: \
31877 configure-mmalloc
31878 @: $(MAKE); $(unstage)
31879 @[ -f ./mmalloc/Makefile ] || exit 0; \
31880 r=`${PWD_COMMAND}`; export r; \
31881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31882 $(HOST_EXPORTS) \
31883 for flag in $(EXTRA_HOST_FLAGS) ; do \
31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31885 done; \
31886 echo "Doing html in mmalloc" ; \
31887 (cd $(HOST_SUBDIR)/mmalloc && \
31888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31890 "RANLIB=$${RANLIB}" \
31891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31892 html) \
31893 || exit 1
31895 @endif mmalloc
31897 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
31898 maybe-TAGS-mmalloc:
31899 @if mmalloc
31900 maybe-TAGS-mmalloc: TAGS-mmalloc
31902 TAGS-mmalloc: \
31903 configure-mmalloc
31904 @: $(MAKE); $(unstage)
31905 @[ -f ./mmalloc/Makefile ] || exit 0; \
31906 r=`${PWD_COMMAND}`; export r; \
31907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31908 $(HOST_EXPORTS) \
31909 for flag in $(EXTRA_HOST_FLAGS) ; do \
31910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31911 done; \
31912 echo "Doing TAGS in mmalloc" ; \
31913 (cd $(HOST_SUBDIR)/mmalloc && \
31914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31916 "RANLIB=$${RANLIB}" \
31917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31918 TAGS) \
31919 || exit 1
31921 @endif mmalloc
31923 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
31924 maybe-install-info-mmalloc:
31925 @if mmalloc
31926 maybe-install-info-mmalloc: install-info-mmalloc
31928 install-info-mmalloc: \
31929 configure-mmalloc \
31930 info-mmalloc
31931 @: $(MAKE); $(unstage)
31932 @[ -f ./mmalloc/Makefile ] || exit 0; \
31933 r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(HOST_EXPORTS) \
31936 for flag in $(EXTRA_HOST_FLAGS) ; do \
31937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31938 done; \
31939 echo "Doing install-info in mmalloc" ; \
31940 (cd $(HOST_SUBDIR)/mmalloc && \
31941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31943 "RANLIB=$${RANLIB}" \
31944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31945 install-info) \
31946 || exit 1
31948 @endif mmalloc
31950 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
31951 maybe-install-pdf-mmalloc:
31952 @if mmalloc
31953 maybe-install-pdf-mmalloc: install-pdf-mmalloc
31955 install-pdf-mmalloc: \
31956 configure-mmalloc \
31957 pdf-mmalloc
31958 @: $(MAKE); $(unstage)
31959 @[ -f ./mmalloc/Makefile ] || exit 0; \
31960 r=`${PWD_COMMAND}`; export r; \
31961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31962 $(HOST_EXPORTS) \
31963 for flag in $(EXTRA_HOST_FLAGS) ; do \
31964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31965 done; \
31966 echo "Doing install-pdf in mmalloc" ; \
31967 (cd $(HOST_SUBDIR)/mmalloc && \
31968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31970 "RANLIB=$${RANLIB}" \
31971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31972 install-pdf) \
31973 || exit 1
31975 @endif mmalloc
31977 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
31978 maybe-install-html-mmalloc:
31979 @if mmalloc
31980 maybe-install-html-mmalloc: install-html-mmalloc
31982 install-html-mmalloc: \
31983 configure-mmalloc \
31984 html-mmalloc
31985 @: $(MAKE); $(unstage)
31986 @[ -f ./mmalloc/Makefile ] || exit 0; \
31987 r=`${PWD_COMMAND}`; export r; \
31988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31989 $(HOST_EXPORTS) \
31990 for flag in $(EXTRA_HOST_FLAGS) ; do \
31991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31992 done; \
31993 echo "Doing install-html in mmalloc" ; \
31994 (cd $(HOST_SUBDIR)/mmalloc && \
31995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31997 "RANLIB=$${RANLIB}" \
31998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31999 install-html) \
32000 || exit 1
32002 @endif mmalloc
32004 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
32005 maybe-installcheck-mmalloc:
32006 @if mmalloc
32007 maybe-installcheck-mmalloc: installcheck-mmalloc
32009 installcheck-mmalloc: \
32010 configure-mmalloc
32011 @: $(MAKE); $(unstage)
32012 @[ -f ./mmalloc/Makefile ] || exit 0; \
32013 r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 $(HOST_EXPORTS) \
32016 for flag in $(EXTRA_HOST_FLAGS) ; do \
32017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32018 done; \
32019 echo "Doing installcheck in mmalloc" ; \
32020 (cd $(HOST_SUBDIR)/mmalloc && \
32021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32023 "RANLIB=$${RANLIB}" \
32024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32025 installcheck) \
32026 || exit 1
32028 @endif mmalloc
32030 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
32031 maybe-mostlyclean-mmalloc:
32032 @if mmalloc
32033 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
32035 mostlyclean-mmalloc:
32036 @: $(MAKE); $(unstage)
32037 @[ -f ./mmalloc/Makefile ] || exit 0; \
32038 r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(HOST_EXPORTS) \
32041 for flag in $(EXTRA_HOST_FLAGS) ; do \
32042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32043 done; \
32044 echo "Doing mostlyclean in mmalloc" ; \
32045 (cd $(HOST_SUBDIR)/mmalloc && \
32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32048 "RANLIB=$${RANLIB}" \
32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32050 mostlyclean) \
32051 || exit 1
32053 @endif mmalloc
32055 .PHONY: maybe-clean-mmalloc clean-mmalloc
32056 maybe-clean-mmalloc:
32057 @if mmalloc
32058 maybe-clean-mmalloc: clean-mmalloc
32060 clean-mmalloc:
32061 @: $(MAKE); $(unstage)
32062 @[ -f ./mmalloc/Makefile ] || exit 0; \
32063 r=`${PWD_COMMAND}`; export r; \
32064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32065 $(HOST_EXPORTS) \
32066 for flag in $(EXTRA_HOST_FLAGS) ; do \
32067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32068 done; \
32069 echo "Doing clean in mmalloc" ; \
32070 (cd $(HOST_SUBDIR)/mmalloc && \
32071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32073 "RANLIB=$${RANLIB}" \
32074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32075 clean) \
32076 || exit 1
32078 @endif mmalloc
32080 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
32081 maybe-distclean-mmalloc:
32082 @if mmalloc
32083 maybe-distclean-mmalloc: distclean-mmalloc
32085 distclean-mmalloc:
32086 @: $(MAKE); $(unstage)
32087 @[ -f ./mmalloc/Makefile ] || exit 0; \
32088 r=`${PWD_COMMAND}`; export r; \
32089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32090 $(HOST_EXPORTS) \
32091 for flag in $(EXTRA_HOST_FLAGS) ; do \
32092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32093 done; \
32094 echo "Doing distclean in mmalloc" ; \
32095 (cd $(HOST_SUBDIR)/mmalloc && \
32096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32098 "RANLIB=$${RANLIB}" \
32099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32100 distclean) \
32101 || exit 1
32103 @endif mmalloc
32105 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
32106 maybe-maintainer-clean-mmalloc:
32107 @if mmalloc
32108 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
32110 maintainer-clean-mmalloc:
32111 @: $(MAKE); $(unstage)
32112 @[ -f ./mmalloc/Makefile ] || exit 0; \
32113 r=`${PWD_COMMAND}`; export r; \
32114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32115 $(HOST_EXPORTS) \
32116 for flag in $(EXTRA_HOST_FLAGS) ; do \
32117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32118 done; \
32119 echo "Doing maintainer-clean in mmalloc" ; \
32120 (cd $(HOST_SUBDIR)/mmalloc && \
32121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32123 "RANLIB=$${RANLIB}" \
32124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32125 maintainer-clean) \
32126 || exit 1
32128 @endif mmalloc
32132 .PHONY: configure-patch maybe-configure-patch
32133 maybe-configure-patch:
32134 @if gcc-bootstrap
32135 configure-patch: stage_current
32136 @endif gcc-bootstrap
32137 @if patch
32138 maybe-configure-patch: configure-patch
32139 configure-patch:
32140 @: $(MAKE); $(unstage)
32141 @r=`${PWD_COMMAND}`; export r; \
32142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32143 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
32144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
32145 $(HOST_EXPORTS) \
32146 echo Configuring in $(HOST_SUBDIR)/patch; \
32147 cd "$(HOST_SUBDIR)/patch" || exit 1; \
32148 case $(srcdir) in \
32149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32150 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
32151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32152 esac; \
32153 srcdiroption="--srcdir=$${topdir}/patch"; \
32154 libsrcdir="$$s/patch"; \
32155 $(SHELL) $${libsrcdir}/configure \
32156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32157 --target=${target_alias} $${srcdiroption} \
32158 || exit 1
32159 @endif patch
32165 .PHONY: all-patch maybe-all-patch
32166 maybe-all-patch:
32167 @if gcc-bootstrap
32168 all-patch: stage_current
32169 @endif gcc-bootstrap
32170 @if patch
32171 TARGET-patch=all
32172 maybe-all-patch: all-patch
32173 all-patch: configure-patch
32174 @: $(MAKE); $(unstage)
32175 @r=`${PWD_COMMAND}`; export r; \
32176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32177 $(HOST_EXPORTS) \
32178 (cd $(HOST_SUBDIR)/patch && \
32179 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32180 $(TARGET-patch))
32181 @endif patch
32186 .PHONY: check-patch maybe-check-patch
32187 maybe-check-patch:
32188 @if patch
32189 maybe-check-patch: check-patch
32191 check-patch:
32192 @: $(MAKE); $(unstage)
32193 @r=`${PWD_COMMAND}`; export r; \
32194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32195 $(HOST_EXPORTS) \
32196 (cd $(HOST_SUBDIR)/patch && \
32197 $(MAKE) $(FLAGS_TO_PASS) check)
32199 @endif patch
32201 .PHONY: install-patch maybe-install-patch
32202 maybe-install-patch:
32203 @if patch
32204 maybe-install-patch: install-patch
32206 install-patch: installdirs
32207 @: $(MAKE); $(unstage)
32208 @r=`${PWD_COMMAND}`; export r; \
32209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32210 $(HOST_EXPORTS) \
32211 (cd $(HOST_SUBDIR)/patch && \
32212 $(MAKE) $(FLAGS_TO_PASS) install)
32214 @endif patch
32216 # Other targets (info, dvi, pdf, etc.)
32218 .PHONY: maybe-info-patch info-patch
32219 maybe-info-patch:
32220 @if patch
32221 maybe-info-patch: info-patch
32223 info-patch: \
32224 configure-patch
32225 @: $(MAKE); $(unstage)
32226 @[ -f ./patch/Makefile ] || exit 0; \
32227 r=`${PWD_COMMAND}`; export r; \
32228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32229 $(HOST_EXPORTS) \
32230 for flag in $(EXTRA_HOST_FLAGS) ; do \
32231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32232 done; \
32233 echo "Doing info in patch" ; \
32234 (cd $(HOST_SUBDIR)/patch && \
32235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32237 "RANLIB=$${RANLIB}" \
32238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32239 info) \
32240 || exit 1
32242 @endif patch
32244 .PHONY: maybe-dvi-patch dvi-patch
32245 maybe-dvi-patch:
32246 @if patch
32247 maybe-dvi-patch: dvi-patch
32249 dvi-patch: \
32250 configure-patch
32251 @: $(MAKE); $(unstage)
32252 @[ -f ./patch/Makefile ] || exit 0; \
32253 r=`${PWD_COMMAND}`; export r; \
32254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32255 $(HOST_EXPORTS) \
32256 for flag in $(EXTRA_HOST_FLAGS) ; do \
32257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32258 done; \
32259 echo "Doing dvi in patch" ; \
32260 (cd $(HOST_SUBDIR)/patch && \
32261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32263 "RANLIB=$${RANLIB}" \
32264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32265 dvi) \
32266 || exit 1
32268 @endif patch
32270 .PHONY: maybe-pdf-patch pdf-patch
32271 maybe-pdf-patch:
32272 @if patch
32273 maybe-pdf-patch: pdf-patch
32275 pdf-patch: \
32276 configure-patch
32277 @: $(MAKE); $(unstage)
32278 @[ -f ./patch/Makefile ] || exit 0; \
32279 r=`${PWD_COMMAND}`; export r; \
32280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32281 $(HOST_EXPORTS) \
32282 for flag in $(EXTRA_HOST_FLAGS) ; do \
32283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32284 done; \
32285 echo "Doing pdf in patch" ; \
32286 (cd $(HOST_SUBDIR)/patch && \
32287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32289 "RANLIB=$${RANLIB}" \
32290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32291 pdf) \
32292 || exit 1
32294 @endif patch
32296 .PHONY: maybe-html-patch html-patch
32297 maybe-html-patch:
32298 @if patch
32299 maybe-html-patch: html-patch
32301 html-patch: \
32302 configure-patch
32303 @: $(MAKE); $(unstage)
32304 @[ -f ./patch/Makefile ] || exit 0; \
32305 r=`${PWD_COMMAND}`; export r; \
32306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32307 $(HOST_EXPORTS) \
32308 for flag in $(EXTRA_HOST_FLAGS) ; do \
32309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32310 done; \
32311 echo "Doing html in patch" ; \
32312 (cd $(HOST_SUBDIR)/patch && \
32313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32315 "RANLIB=$${RANLIB}" \
32316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32317 html) \
32318 || exit 1
32320 @endif patch
32322 .PHONY: maybe-TAGS-patch TAGS-patch
32323 maybe-TAGS-patch:
32324 @if patch
32325 maybe-TAGS-patch: TAGS-patch
32327 TAGS-patch: \
32328 configure-patch
32329 @: $(MAKE); $(unstage)
32330 @[ -f ./patch/Makefile ] || exit 0; \
32331 r=`${PWD_COMMAND}`; export r; \
32332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32333 $(HOST_EXPORTS) \
32334 for flag in $(EXTRA_HOST_FLAGS) ; do \
32335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32336 done; \
32337 echo "Doing TAGS in patch" ; \
32338 (cd $(HOST_SUBDIR)/patch && \
32339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32341 "RANLIB=$${RANLIB}" \
32342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32343 TAGS) \
32344 || exit 1
32346 @endif patch
32348 .PHONY: maybe-install-info-patch install-info-patch
32349 maybe-install-info-patch:
32350 @if patch
32351 maybe-install-info-patch: install-info-patch
32353 install-info-patch: \
32354 configure-patch \
32355 info-patch
32356 @: $(MAKE); $(unstage)
32357 @[ -f ./patch/Makefile ] || exit 0; \
32358 r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(HOST_EXPORTS) \
32361 for flag in $(EXTRA_HOST_FLAGS) ; do \
32362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32363 done; \
32364 echo "Doing install-info in patch" ; \
32365 (cd $(HOST_SUBDIR)/patch && \
32366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32368 "RANLIB=$${RANLIB}" \
32369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32370 install-info) \
32371 || exit 1
32373 @endif patch
32375 .PHONY: maybe-install-pdf-patch install-pdf-patch
32376 maybe-install-pdf-patch:
32377 @if patch
32378 maybe-install-pdf-patch: install-pdf-patch
32380 install-pdf-patch: \
32381 configure-patch \
32382 pdf-patch
32383 @: $(MAKE); $(unstage)
32384 @[ -f ./patch/Makefile ] || exit 0; \
32385 r=`${PWD_COMMAND}`; export r; \
32386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32387 $(HOST_EXPORTS) \
32388 for flag in $(EXTRA_HOST_FLAGS) ; do \
32389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32390 done; \
32391 echo "Doing install-pdf in patch" ; \
32392 (cd $(HOST_SUBDIR)/patch && \
32393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32395 "RANLIB=$${RANLIB}" \
32396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32397 install-pdf) \
32398 || exit 1
32400 @endif patch
32402 .PHONY: maybe-install-html-patch install-html-patch
32403 maybe-install-html-patch:
32404 @if patch
32405 maybe-install-html-patch: install-html-patch
32407 install-html-patch: \
32408 configure-patch \
32409 html-patch
32410 @: $(MAKE); $(unstage)
32411 @[ -f ./patch/Makefile ] || exit 0; \
32412 r=`${PWD_COMMAND}`; export r; \
32413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32414 $(HOST_EXPORTS) \
32415 for flag in $(EXTRA_HOST_FLAGS) ; do \
32416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32417 done; \
32418 echo "Doing install-html in patch" ; \
32419 (cd $(HOST_SUBDIR)/patch && \
32420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32422 "RANLIB=$${RANLIB}" \
32423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32424 install-html) \
32425 || exit 1
32427 @endif patch
32429 .PHONY: maybe-installcheck-patch installcheck-patch
32430 maybe-installcheck-patch:
32431 @if patch
32432 maybe-installcheck-patch: installcheck-patch
32434 installcheck-patch: \
32435 configure-patch
32436 @: $(MAKE); $(unstage)
32437 @[ -f ./patch/Makefile ] || exit 0; \
32438 r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 $(HOST_EXPORTS) \
32441 for flag in $(EXTRA_HOST_FLAGS) ; do \
32442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32443 done; \
32444 echo "Doing installcheck in patch" ; \
32445 (cd $(HOST_SUBDIR)/patch && \
32446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32448 "RANLIB=$${RANLIB}" \
32449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32450 installcheck) \
32451 || exit 1
32453 @endif patch
32455 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
32456 maybe-mostlyclean-patch:
32457 @if patch
32458 maybe-mostlyclean-patch: mostlyclean-patch
32460 mostlyclean-patch:
32461 @: $(MAKE); $(unstage)
32462 @[ -f ./patch/Makefile ] || exit 0; \
32463 r=`${PWD_COMMAND}`; export r; \
32464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32465 $(HOST_EXPORTS) \
32466 for flag in $(EXTRA_HOST_FLAGS) ; do \
32467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32468 done; \
32469 echo "Doing mostlyclean in patch" ; \
32470 (cd $(HOST_SUBDIR)/patch && \
32471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32473 "RANLIB=$${RANLIB}" \
32474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32475 mostlyclean) \
32476 || exit 1
32478 @endif patch
32480 .PHONY: maybe-clean-patch clean-patch
32481 maybe-clean-patch:
32482 @if patch
32483 maybe-clean-patch: clean-patch
32485 clean-patch:
32486 @: $(MAKE); $(unstage)
32487 @[ -f ./patch/Makefile ] || exit 0; \
32488 r=`${PWD_COMMAND}`; export r; \
32489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32490 $(HOST_EXPORTS) \
32491 for flag in $(EXTRA_HOST_FLAGS) ; do \
32492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32493 done; \
32494 echo "Doing clean in patch" ; \
32495 (cd $(HOST_SUBDIR)/patch && \
32496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32498 "RANLIB=$${RANLIB}" \
32499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32500 clean) \
32501 || exit 1
32503 @endif patch
32505 .PHONY: maybe-distclean-patch distclean-patch
32506 maybe-distclean-patch:
32507 @if patch
32508 maybe-distclean-patch: distclean-patch
32510 distclean-patch:
32511 @: $(MAKE); $(unstage)
32512 @[ -f ./patch/Makefile ] || exit 0; \
32513 r=`${PWD_COMMAND}`; export r; \
32514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32515 $(HOST_EXPORTS) \
32516 for flag in $(EXTRA_HOST_FLAGS) ; do \
32517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32518 done; \
32519 echo "Doing distclean in patch" ; \
32520 (cd $(HOST_SUBDIR)/patch && \
32521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32523 "RANLIB=$${RANLIB}" \
32524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32525 distclean) \
32526 || exit 1
32528 @endif patch
32530 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
32531 maybe-maintainer-clean-patch:
32532 @if patch
32533 maybe-maintainer-clean-patch: maintainer-clean-patch
32535 maintainer-clean-patch:
32536 @: $(MAKE); $(unstage)
32537 @[ -f ./patch/Makefile ] || exit 0; \
32538 r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(HOST_EXPORTS) \
32541 for flag in $(EXTRA_HOST_FLAGS) ; do \
32542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32543 done; \
32544 echo "Doing maintainer-clean in patch" ; \
32545 (cd $(HOST_SUBDIR)/patch && \
32546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32548 "RANLIB=$${RANLIB}" \
32549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32550 maintainer-clean) \
32551 || exit 1
32553 @endif patch
32557 .PHONY: configure-perl maybe-configure-perl
32558 maybe-configure-perl:
32559 @if gcc-bootstrap
32560 configure-perl: stage_current
32561 @endif gcc-bootstrap
32562 @if perl
32563 maybe-configure-perl: configure-perl
32564 configure-perl:
32565 @: $(MAKE); $(unstage)
32566 @r=`${PWD_COMMAND}`; export r; \
32567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32568 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
32569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
32570 $(HOST_EXPORTS) \
32571 echo Configuring in $(HOST_SUBDIR)/perl; \
32572 cd "$(HOST_SUBDIR)/perl" || exit 1; \
32573 case $(srcdir) in \
32574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32575 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
32576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32577 esac; \
32578 srcdiroption="--srcdir=$${topdir}/perl"; \
32579 libsrcdir="$$s/perl"; \
32580 $(SHELL) $${libsrcdir}/configure \
32581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32582 --target=${target_alias} $${srcdiroption} \
32583 || exit 1
32584 @endif perl
32590 .PHONY: all-perl maybe-all-perl
32591 maybe-all-perl:
32592 @if gcc-bootstrap
32593 all-perl: stage_current
32594 @endif gcc-bootstrap
32595 @if perl
32596 TARGET-perl=all
32597 maybe-all-perl: all-perl
32598 all-perl: configure-perl
32599 @: $(MAKE); $(unstage)
32600 @r=`${PWD_COMMAND}`; export r; \
32601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32602 $(HOST_EXPORTS) \
32603 (cd $(HOST_SUBDIR)/perl && \
32604 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32605 $(TARGET-perl))
32606 @endif perl
32611 .PHONY: check-perl maybe-check-perl
32612 maybe-check-perl:
32613 @if perl
32614 maybe-check-perl: check-perl
32616 check-perl:
32617 @: $(MAKE); $(unstage)
32618 @r=`${PWD_COMMAND}`; export r; \
32619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32620 $(HOST_EXPORTS) \
32621 (cd $(HOST_SUBDIR)/perl && \
32622 $(MAKE) $(FLAGS_TO_PASS) check)
32624 @endif perl
32626 .PHONY: install-perl maybe-install-perl
32627 maybe-install-perl:
32628 @if perl
32629 maybe-install-perl: install-perl
32631 install-perl: installdirs
32632 @: $(MAKE); $(unstage)
32633 @r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(HOST_EXPORTS) \
32636 (cd $(HOST_SUBDIR)/perl && \
32637 $(MAKE) $(FLAGS_TO_PASS) install)
32639 @endif perl
32641 # Other targets (info, dvi, pdf, etc.)
32643 .PHONY: maybe-info-perl info-perl
32644 maybe-info-perl:
32645 @if perl
32646 maybe-info-perl: info-perl
32648 info-perl: \
32649 configure-perl
32650 @: $(MAKE); $(unstage)
32651 @[ -f ./perl/Makefile ] || exit 0; \
32652 r=`${PWD_COMMAND}`; export r; \
32653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32654 $(HOST_EXPORTS) \
32655 for flag in $(EXTRA_HOST_FLAGS) ; do \
32656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32657 done; \
32658 echo "Doing info in perl" ; \
32659 (cd $(HOST_SUBDIR)/perl && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32662 "RANLIB=$${RANLIB}" \
32663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32664 info) \
32665 || exit 1
32667 @endif perl
32669 .PHONY: maybe-dvi-perl dvi-perl
32670 maybe-dvi-perl:
32671 @if perl
32672 maybe-dvi-perl: dvi-perl
32674 dvi-perl: \
32675 configure-perl
32676 @: $(MAKE); $(unstage)
32677 @[ -f ./perl/Makefile ] || exit 0; \
32678 r=`${PWD_COMMAND}`; export r; \
32679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32680 $(HOST_EXPORTS) \
32681 for flag in $(EXTRA_HOST_FLAGS) ; do \
32682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32683 done; \
32684 echo "Doing dvi in perl" ; \
32685 (cd $(HOST_SUBDIR)/perl && \
32686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32688 "RANLIB=$${RANLIB}" \
32689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32690 dvi) \
32691 || exit 1
32693 @endif perl
32695 .PHONY: maybe-pdf-perl pdf-perl
32696 maybe-pdf-perl:
32697 @if perl
32698 maybe-pdf-perl: pdf-perl
32700 pdf-perl: \
32701 configure-perl
32702 @: $(MAKE); $(unstage)
32703 @[ -f ./perl/Makefile ] || exit 0; \
32704 r=`${PWD_COMMAND}`; export r; \
32705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32706 $(HOST_EXPORTS) \
32707 for flag in $(EXTRA_HOST_FLAGS) ; do \
32708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32709 done; \
32710 echo "Doing pdf in perl" ; \
32711 (cd $(HOST_SUBDIR)/perl && \
32712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32714 "RANLIB=$${RANLIB}" \
32715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32716 pdf) \
32717 || exit 1
32719 @endif perl
32721 .PHONY: maybe-html-perl html-perl
32722 maybe-html-perl:
32723 @if perl
32724 maybe-html-perl: html-perl
32726 html-perl: \
32727 configure-perl
32728 @: $(MAKE); $(unstage)
32729 @[ -f ./perl/Makefile ] || exit 0; \
32730 r=`${PWD_COMMAND}`; export r; \
32731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32732 $(HOST_EXPORTS) \
32733 for flag in $(EXTRA_HOST_FLAGS) ; do \
32734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32735 done; \
32736 echo "Doing html in perl" ; \
32737 (cd $(HOST_SUBDIR)/perl && \
32738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32740 "RANLIB=$${RANLIB}" \
32741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32742 html) \
32743 || exit 1
32745 @endif perl
32747 .PHONY: maybe-TAGS-perl TAGS-perl
32748 maybe-TAGS-perl:
32749 @if perl
32750 maybe-TAGS-perl: TAGS-perl
32752 TAGS-perl: \
32753 configure-perl
32754 @: $(MAKE); $(unstage)
32755 @[ -f ./perl/Makefile ] || exit 0; \
32756 r=`${PWD_COMMAND}`; export r; \
32757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32758 $(HOST_EXPORTS) \
32759 for flag in $(EXTRA_HOST_FLAGS) ; do \
32760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32761 done; \
32762 echo "Doing TAGS in perl" ; \
32763 (cd $(HOST_SUBDIR)/perl && \
32764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32766 "RANLIB=$${RANLIB}" \
32767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32768 TAGS) \
32769 || exit 1
32771 @endif perl
32773 .PHONY: maybe-install-info-perl install-info-perl
32774 maybe-install-info-perl:
32775 @if perl
32776 maybe-install-info-perl: install-info-perl
32778 install-info-perl: \
32779 configure-perl \
32780 info-perl
32781 @: $(MAKE); $(unstage)
32782 @[ -f ./perl/Makefile ] || exit 0; \
32783 r=`${PWD_COMMAND}`; export r; \
32784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32785 $(HOST_EXPORTS) \
32786 for flag in $(EXTRA_HOST_FLAGS) ; do \
32787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32788 done; \
32789 echo "Doing install-info in perl" ; \
32790 (cd $(HOST_SUBDIR)/perl && \
32791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32793 "RANLIB=$${RANLIB}" \
32794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32795 install-info) \
32796 || exit 1
32798 @endif perl
32800 .PHONY: maybe-install-pdf-perl install-pdf-perl
32801 maybe-install-pdf-perl:
32802 @if perl
32803 maybe-install-pdf-perl: install-pdf-perl
32805 install-pdf-perl: \
32806 configure-perl \
32807 pdf-perl
32808 @: $(MAKE); $(unstage)
32809 @[ -f ./perl/Makefile ] || exit 0; \
32810 r=`${PWD_COMMAND}`; export r; \
32811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32812 $(HOST_EXPORTS) \
32813 for flag in $(EXTRA_HOST_FLAGS) ; do \
32814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32815 done; \
32816 echo "Doing install-pdf in perl" ; \
32817 (cd $(HOST_SUBDIR)/perl && \
32818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32820 "RANLIB=$${RANLIB}" \
32821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32822 install-pdf) \
32823 || exit 1
32825 @endif perl
32827 .PHONY: maybe-install-html-perl install-html-perl
32828 maybe-install-html-perl:
32829 @if perl
32830 maybe-install-html-perl: install-html-perl
32832 install-html-perl: \
32833 configure-perl \
32834 html-perl
32835 @: $(MAKE); $(unstage)
32836 @[ -f ./perl/Makefile ] || exit 0; \
32837 r=`${PWD_COMMAND}`; export r; \
32838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32839 $(HOST_EXPORTS) \
32840 for flag in $(EXTRA_HOST_FLAGS) ; do \
32841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32842 done; \
32843 echo "Doing install-html in perl" ; \
32844 (cd $(HOST_SUBDIR)/perl && \
32845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32847 "RANLIB=$${RANLIB}" \
32848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32849 install-html) \
32850 || exit 1
32852 @endif perl
32854 .PHONY: maybe-installcheck-perl installcheck-perl
32855 maybe-installcheck-perl:
32856 @if perl
32857 maybe-installcheck-perl: installcheck-perl
32859 installcheck-perl: \
32860 configure-perl
32861 @: $(MAKE); $(unstage)
32862 @[ -f ./perl/Makefile ] || exit 0; \
32863 r=`${PWD_COMMAND}`; export r; \
32864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32865 $(HOST_EXPORTS) \
32866 for flag in $(EXTRA_HOST_FLAGS) ; do \
32867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32868 done; \
32869 echo "Doing installcheck in perl" ; \
32870 (cd $(HOST_SUBDIR)/perl && \
32871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32873 "RANLIB=$${RANLIB}" \
32874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32875 installcheck) \
32876 || exit 1
32878 @endif perl
32880 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
32881 maybe-mostlyclean-perl:
32882 @if perl
32883 maybe-mostlyclean-perl: mostlyclean-perl
32885 mostlyclean-perl:
32886 @: $(MAKE); $(unstage)
32887 @[ -f ./perl/Makefile ] || exit 0; \
32888 r=`${PWD_COMMAND}`; export r; \
32889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32890 $(HOST_EXPORTS) \
32891 for flag in $(EXTRA_HOST_FLAGS) ; do \
32892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32893 done; \
32894 echo "Doing mostlyclean in perl" ; \
32895 (cd $(HOST_SUBDIR)/perl && \
32896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32898 "RANLIB=$${RANLIB}" \
32899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32900 mostlyclean) \
32901 || exit 1
32903 @endif perl
32905 .PHONY: maybe-clean-perl clean-perl
32906 maybe-clean-perl:
32907 @if perl
32908 maybe-clean-perl: clean-perl
32910 clean-perl:
32911 @: $(MAKE); $(unstage)
32912 @[ -f ./perl/Makefile ] || exit 0; \
32913 r=`${PWD_COMMAND}`; export r; \
32914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32915 $(HOST_EXPORTS) \
32916 for flag in $(EXTRA_HOST_FLAGS) ; do \
32917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32918 done; \
32919 echo "Doing clean in perl" ; \
32920 (cd $(HOST_SUBDIR)/perl && \
32921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32923 "RANLIB=$${RANLIB}" \
32924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32925 clean) \
32926 || exit 1
32928 @endif perl
32930 .PHONY: maybe-distclean-perl distclean-perl
32931 maybe-distclean-perl:
32932 @if perl
32933 maybe-distclean-perl: distclean-perl
32935 distclean-perl:
32936 @: $(MAKE); $(unstage)
32937 @[ -f ./perl/Makefile ] || exit 0; \
32938 r=`${PWD_COMMAND}`; export r; \
32939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32940 $(HOST_EXPORTS) \
32941 for flag in $(EXTRA_HOST_FLAGS) ; do \
32942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32943 done; \
32944 echo "Doing distclean in perl" ; \
32945 (cd $(HOST_SUBDIR)/perl && \
32946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32948 "RANLIB=$${RANLIB}" \
32949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32950 distclean) \
32951 || exit 1
32953 @endif perl
32955 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
32956 maybe-maintainer-clean-perl:
32957 @if perl
32958 maybe-maintainer-clean-perl: maintainer-clean-perl
32960 maintainer-clean-perl:
32961 @: $(MAKE); $(unstage)
32962 @[ -f ./perl/Makefile ] || exit 0; \
32963 r=`${PWD_COMMAND}`; export r; \
32964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32965 $(HOST_EXPORTS) \
32966 for flag in $(EXTRA_HOST_FLAGS) ; do \
32967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32968 done; \
32969 echo "Doing maintainer-clean in perl" ; \
32970 (cd $(HOST_SUBDIR)/perl && \
32971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32973 "RANLIB=$${RANLIB}" \
32974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32975 maintainer-clean) \
32976 || exit 1
32978 @endif perl
32982 .PHONY: configure-prms maybe-configure-prms
32983 maybe-configure-prms:
32984 @if gcc-bootstrap
32985 configure-prms: stage_current
32986 @endif gcc-bootstrap
32987 @if prms
32988 maybe-configure-prms: configure-prms
32989 configure-prms:
32990 @: $(MAKE); $(unstage)
32991 @r=`${PWD_COMMAND}`; export r; \
32992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32993 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
32994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
32995 $(HOST_EXPORTS) \
32996 echo Configuring in $(HOST_SUBDIR)/prms; \
32997 cd "$(HOST_SUBDIR)/prms" || exit 1; \
32998 case $(srcdir) in \
32999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33000 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
33001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33002 esac; \
33003 srcdiroption="--srcdir=$${topdir}/prms"; \
33004 libsrcdir="$$s/prms"; \
33005 $(SHELL) $${libsrcdir}/configure \
33006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33007 --target=${target_alias} $${srcdiroption} \
33008 || exit 1
33009 @endif prms
33015 .PHONY: all-prms maybe-all-prms
33016 maybe-all-prms:
33017 @if gcc-bootstrap
33018 all-prms: stage_current
33019 @endif gcc-bootstrap
33020 @if prms
33021 TARGET-prms=all
33022 maybe-all-prms: all-prms
33023 all-prms: configure-prms
33024 @: $(MAKE); $(unstage)
33025 @r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(HOST_EXPORTS) \
33028 (cd $(HOST_SUBDIR)/prms && \
33029 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33030 $(TARGET-prms))
33031 @endif prms
33036 .PHONY: check-prms maybe-check-prms
33037 maybe-check-prms:
33038 @if prms
33039 maybe-check-prms: check-prms
33041 check-prms:
33042 @: $(MAKE); $(unstage)
33043 @r=`${PWD_COMMAND}`; export r; \
33044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33045 $(HOST_EXPORTS) \
33046 (cd $(HOST_SUBDIR)/prms && \
33047 $(MAKE) $(FLAGS_TO_PASS) check)
33049 @endif prms
33051 .PHONY: install-prms maybe-install-prms
33052 maybe-install-prms:
33053 @if prms
33054 maybe-install-prms: install-prms
33056 install-prms: installdirs
33057 @: $(MAKE); $(unstage)
33058 @r=`${PWD_COMMAND}`; export r; \
33059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33060 $(HOST_EXPORTS) \
33061 (cd $(HOST_SUBDIR)/prms && \
33062 $(MAKE) $(FLAGS_TO_PASS) install)
33064 @endif prms
33066 # Other targets (info, dvi, pdf, etc.)
33068 .PHONY: maybe-info-prms info-prms
33069 maybe-info-prms:
33070 @if prms
33071 maybe-info-prms: info-prms
33073 info-prms: \
33074 configure-prms
33075 @: $(MAKE); $(unstage)
33076 @[ -f ./prms/Makefile ] || exit 0; \
33077 r=`${PWD_COMMAND}`; export r; \
33078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33079 $(HOST_EXPORTS) \
33080 for flag in $(EXTRA_HOST_FLAGS) ; do \
33081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33082 done; \
33083 echo "Doing info in prms" ; \
33084 (cd $(HOST_SUBDIR)/prms && \
33085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33087 "RANLIB=$${RANLIB}" \
33088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33089 info) \
33090 || exit 1
33092 @endif prms
33094 .PHONY: maybe-dvi-prms dvi-prms
33095 maybe-dvi-prms:
33096 @if prms
33097 maybe-dvi-prms: dvi-prms
33099 dvi-prms: \
33100 configure-prms
33101 @: $(MAKE); $(unstage)
33102 @[ -f ./prms/Makefile ] || exit 0; \
33103 r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(HOST_EXPORTS) \
33106 for flag in $(EXTRA_HOST_FLAGS) ; do \
33107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33108 done; \
33109 echo "Doing dvi in prms" ; \
33110 (cd $(HOST_SUBDIR)/prms && \
33111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33113 "RANLIB=$${RANLIB}" \
33114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33115 dvi) \
33116 || exit 1
33118 @endif prms
33120 .PHONY: maybe-pdf-prms pdf-prms
33121 maybe-pdf-prms:
33122 @if prms
33123 maybe-pdf-prms: pdf-prms
33125 pdf-prms: \
33126 configure-prms
33127 @: $(MAKE); $(unstage)
33128 @[ -f ./prms/Makefile ] || exit 0; \
33129 r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 $(HOST_EXPORTS) \
33132 for flag in $(EXTRA_HOST_FLAGS) ; do \
33133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33134 done; \
33135 echo "Doing pdf in prms" ; \
33136 (cd $(HOST_SUBDIR)/prms && \
33137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33139 "RANLIB=$${RANLIB}" \
33140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33141 pdf) \
33142 || exit 1
33144 @endif prms
33146 .PHONY: maybe-html-prms html-prms
33147 maybe-html-prms:
33148 @if prms
33149 maybe-html-prms: html-prms
33151 html-prms: \
33152 configure-prms
33153 @: $(MAKE); $(unstage)
33154 @[ -f ./prms/Makefile ] || exit 0; \
33155 r=`${PWD_COMMAND}`; export r; \
33156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33157 $(HOST_EXPORTS) \
33158 for flag in $(EXTRA_HOST_FLAGS) ; do \
33159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33160 done; \
33161 echo "Doing html in prms" ; \
33162 (cd $(HOST_SUBDIR)/prms && \
33163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33165 "RANLIB=$${RANLIB}" \
33166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33167 html) \
33168 || exit 1
33170 @endif prms
33172 .PHONY: maybe-TAGS-prms TAGS-prms
33173 maybe-TAGS-prms:
33174 @if prms
33175 maybe-TAGS-prms: TAGS-prms
33177 TAGS-prms: \
33178 configure-prms
33179 @: $(MAKE); $(unstage)
33180 @[ -f ./prms/Makefile ] || exit 0; \
33181 r=`${PWD_COMMAND}`; export r; \
33182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33183 $(HOST_EXPORTS) \
33184 for flag in $(EXTRA_HOST_FLAGS) ; do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 echo "Doing TAGS in prms" ; \
33188 (cd $(HOST_SUBDIR)/prms && \
33189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33191 "RANLIB=$${RANLIB}" \
33192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33193 TAGS) \
33194 || exit 1
33196 @endif prms
33198 .PHONY: maybe-install-info-prms install-info-prms
33199 maybe-install-info-prms:
33200 @if prms
33201 maybe-install-info-prms: install-info-prms
33203 install-info-prms: \
33204 configure-prms \
33205 info-prms
33206 @: $(MAKE); $(unstage)
33207 @[ -f ./prms/Makefile ] || exit 0; \
33208 r=`${PWD_COMMAND}`; export r; \
33209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33210 $(HOST_EXPORTS) \
33211 for flag in $(EXTRA_HOST_FLAGS) ; do \
33212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33213 done; \
33214 echo "Doing install-info in prms" ; \
33215 (cd $(HOST_SUBDIR)/prms && \
33216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33218 "RANLIB=$${RANLIB}" \
33219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33220 install-info) \
33221 || exit 1
33223 @endif prms
33225 .PHONY: maybe-install-pdf-prms install-pdf-prms
33226 maybe-install-pdf-prms:
33227 @if prms
33228 maybe-install-pdf-prms: install-pdf-prms
33230 install-pdf-prms: \
33231 configure-prms \
33232 pdf-prms
33233 @: $(MAKE); $(unstage)
33234 @[ -f ./prms/Makefile ] || exit 0; \
33235 r=`${PWD_COMMAND}`; export r; \
33236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33237 $(HOST_EXPORTS) \
33238 for flag in $(EXTRA_HOST_FLAGS) ; do \
33239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33240 done; \
33241 echo "Doing install-pdf in prms" ; \
33242 (cd $(HOST_SUBDIR)/prms && \
33243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33245 "RANLIB=$${RANLIB}" \
33246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33247 install-pdf) \
33248 || exit 1
33250 @endif prms
33252 .PHONY: maybe-install-html-prms install-html-prms
33253 maybe-install-html-prms:
33254 @if prms
33255 maybe-install-html-prms: install-html-prms
33257 install-html-prms: \
33258 configure-prms \
33259 html-prms
33260 @: $(MAKE); $(unstage)
33261 @[ -f ./prms/Makefile ] || exit 0; \
33262 r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 $(HOST_EXPORTS) \
33265 for flag in $(EXTRA_HOST_FLAGS) ; do \
33266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33267 done; \
33268 echo "Doing install-html in prms" ; \
33269 (cd $(HOST_SUBDIR)/prms && \
33270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33272 "RANLIB=$${RANLIB}" \
33273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33274 install-html) \
33275 || exit 1
33277 @endif prms
33279 .PHONY: maybe-installcheck-prms installcheck-prms
33280 maybe-installcheck-prms:
33281 @if prms
33282 maybe-installcheck-prms: installcheck-prms
33284 installcheck-prms: \
33285 configure-prms
33286 @: $(MAKE); $(unstage)
33287 @[ -f ./prms/Makefile ] || exit 0; \
33288 r=`${PWD_COMMAND}`; export r; \
33289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33290 $(HOST_EXPORTS) \
33291 for flag in $(EXTRA_HOST_FLAGS) ; do \
33292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33293 done; \
33294 echo "Doing installcheck in prms" ; \
33295 (cd $(HOST_SUBDIR)/prms && \
33296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33298 "RANLIB=$${RANLIB}" \
33299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33300 installcheck) \
33301 || exit 1
33303 @endif prms
33305 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
33306 maybe-mostlyclean-prms:
33307 @if prms
33308 maybe-mostlyclean-prms: mostlyclean-prms
33310 mostlyclean-prms:
33311 @: $(MAKE); $(unstage)
33312 @[ -f ./prms/Makefile ] || exit 0; \
33313 r=`${PWD_COMMAND}`; export r; \
33314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33315 $(HOST_EXPORTS) \
33316 for flag in $(EXTRA_HOST_FLAGS) ; do \
33317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33318 done; \
33319 echo "Doing mostlyclean in prms" ; \
33320 (cd $(HOST_SUBDIR)/prms && \
33321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33323 "RANLIB=$${RANLIB}" \
33324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33325 mostlyclean) \
33326 || exit 1
33328 @endif prms
33330 .PHONY: maybe-clean-prms clean-prms
33331 maybe-clean-prms:
33332 @if prms
33333 maybe-clean-prms: clean-prms
33335 clean-prms:
33336 @: $(MAKE); $(unstage)
33337 @[ -f ./prms/Makefile ] || exit 0; \
33338 r=`${PWD_COMMAND}`; export r; \
33339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33340 $(HOST_EXPORTS) \
33341 for flag in $(EXTRA_HOST_FLAGS) ; do \
33342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33343 done; \
33344 echo "Doing clean in prms" ; \
33345 (cd $(HOST_SUBDIR)/prms && \
33346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33348 "RANLIB=$${RANLIB}" \
33349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33350 clean) \
33351 || exit 1
33353 @endif prms
33355 .PHONY: maybe-distclean-prms distclean-prms
33356 maybe-distclean-prms:
33357 @if prms
33358 maybe-distclean-prms: distclean-prms
33360 distclean-prms:
33361 @: $(MAKE); $(unstage)
33362 @[ -f ./prms/Makefile ] || exit 0; \
33363 r=`${PWD_COMMAND}`; export r; \
33364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33365 $(HOST_EXPORTS) \
33366 for flag in $(EXTRA_HOST_FLAGS) ; do \
33367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33368 done; \
33369 echo "Doing distclean in prms" ; \
33370 (cd $(HOST_SUBDIR)/prms && \
33371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33373 "RANLIB=$${RANLIB}" \
33374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33375 distclean) \
33376 || exit 1
33378 @endif prms
33380 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
33381 maybe-maintainer-clean-prms:
33382 @if prms
33383 maybe-maintainer-clean-prms: maintainer-clean-prms
33385 maintainer-clean-prms:
33386 @: $(MAKE); $(unstage)
33387 @[ -f ./prms/Makefile ] || exit 0; \
33388 r=`${PWD_COMMAND}`; export r; \
33389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33390 $(HOST_EXPORTS) \
33391 for flag in $(EXTRA_HOST_FLAGS) ; do \
33392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33393 done; \
33394 echo "Doing maintainer-clean in prms" ; \
33395 (cd $(HOST_SUBDIR)/prms && \
33396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33398 "RANLIB=$${RANLIB}" \
33399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33400 maintainer-clean) \
33401 || exit 1
33403 @endif prms
33407 .PHONY: configure-rcs maybe-configure-rcs
33408 maybe-configure-rcs:
33409 @if gcc-bootstrap
33410 configure-rcs: stage_current
33411 @endif gcc-bootstrap
33412 @if rcs
33413 maybe-configure-rcs: configure-rcs
33414 configure-rcs:
33415 @: $(MAKE); $(unstage)
33416 @r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
33419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
33420 $(HOST_EXPORTS) \
33421 echo Configuring in $(HOST_SUBDIR)/rcs; \
33422 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
33423 case $(srcdir) in \
33424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33425 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
33426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33427 esac; \
33428 srcdiroption="--srcdir=$${topdir}/rcs"; \
33429 libsrcdir="$$s/rcs"; \
33430 $(SHELL) $${libsrcdir}/configure \
33431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33432 --target=${target_alias} $${srcdiroption} \
33433 || exit 1
33434 @endif rcs
33440 .PHONY: all-rcs maybe-all-rcs
33441 maybe-all-rcs:
33442 @if gcc-bootstrap
33443 all-rcs: stage_current
33444 @endif gcc-bootstrap
33445 @if rcs
33446 TARGET-rcs=all
33447 maybe-all-rcs: all-rcs
33448 all-rcs: configure-rcs
33449 @: $(MAKE); $(unstage)
33450 @r=`${PWD_COMMAND}`; export r; \
33451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33452 $(HOST_EXPORTS) \
33453 (cd $(HOST_SUBDIR)/rcs && \
33454 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33455 $(TARGET-rcs))
33456 @endif rcs
33461 .PHONY: check-rcs maybe-check-rcs
33462 maybe-check-rcs:
33463 @if rcs
33464 maybe-check-rcs: check-rcs
33466 check-rcs:
33467 @: $(MAKE); $(unstage)
33468 @r=`${PWD_COMMAND}`; export r; \
33469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33470 $(HOST_EXPORTS) \
33471 (cd $(HOST_SUBDIR)/rcs && \
33472 $(MAKE) $(FLAGS_TO_PASS) check)
33474 @endif rcs
33476 .PHONY: install-rcs maybe-install-rcs
33477 maybe-install-rcs:
33478 @if rcs
33479 maybe-install-rcs: install-rcs
33481 install-rcs: installdirs
33482 @: $(MAKE); $(unstage)
33483 @r=`${PWD_COMMAND}`; export r; \
33484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33485 $(HOST_EXPORTS) \
33486 (cd $(HOST_SUBDIR)/rcs && \
33487 $(MAKE) $(FLAGS_TO_PASS) install)
33489 @endif rcs
33491 # Other targets (info, dvi, pdf, etc.)
33493 .PHONY: maybe-info-rcs info-rcs
33494 maybe-info-rcs:
33495 @if rcs
33496 maybe-info-rcs: info-rcs
33498 info-rcs: \
33499 configure-rcs
33500 @: $(MAKE); $(unstage)
33501 @[ -f ./rcs/Makefile ] || exit 0; \
33502 r=`${PWD_COMMAND}`; export r; \
33503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33504 $(HOST_EXPORTS) \
33505 for flag in $(EXTRA_HOST_FLAGS) ; do \
33506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33507 done; \
33508 echo "Doing info in rcs" ; \
33509 (cd $(HOST_SUBDIR)/rcs && \
33510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33512 "RANLIB=$${RANLIB}" \
33513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33514 info) \
33515 || exit 1
33517 @endif rcs
33519 .PHONY: maybe-dvi-rcs dvi-rcs
33520 maybe-dvi-rcs:
33521 @if rcs
33522 maybe-dvi-rcs: dvi-rcs
33524 dvi-rcs: \
33525 configure-rcs
33526 @: $(MAKE); $(unstage)
33527 @[ -f ./rcs/Makefile ] || exit 0; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(HOST_EXPORTS) \
33531 for flag in $(EXTRA_HOST_FLAGS) ; do \
33532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33533 done; \
33534 echo "Doing dvi in rcs" ; \
33535 (cd $(HOST_SUBDIR)/rcs && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33540 dvi) \
33541 || exit 1
33543 @endif rcs
33545 .PHONY: maybe-pdf-rcs pdf-rcs
33546 maybe-pdf-rcs:
33547 @if rcs
33548 maybe-pdf-rcs: pdf-rcs
33550 pdf-rcs: \
33551 configure-rcs
33552 @: $(MAKE); $(unstage)
33553 @[ -f ./rcs/Makefile ] || exit 0; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(HOST_EXPORTS) \
33557 for flag in $(EXTRA_HOST_FLAGS) ; do \
33558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33559 done; \
33560 echo "Doing pdf in rcs" ; \
33561 (cd $(HOST_SUBDIR)/rcs && \
33562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33564 "RANLIB=$${RANLIB}" \
33565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33566 pdf) \
33567 || exit 1
33569 @endif rcs
33571 .PHONY: maybe-html-rcs html-rcs
33572 maybe-html-rcs:
33573 @if rcs
33574 maybe-html-rcs: html-rcs
33576 html-rcs: \
33577 configure-rcs
33578 @: $(MAKE); $(unstage)
33579 @[ -f ./rcs/Makefile ] || exit 0; \
33580 r=`${PWD_COMMAND}`; export r; \
33581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33582 $(HOST_EXPORTS) \
33583 for flag in $(EXTRA_HOST_FLAGS) ; do \
33584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33585 done; \
33586 echo "Doing html in rcs" ; \
33587 (cd $(HOST_SUBDIR)/rcs && \
33588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33590 "RANLIB=$${RANLIB}" \
33591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33592 html) \
33593 || exit 1
33595 @endif rcs
33597 .PHONY: maybe-TAGS-rcs TAGS-rcs
33598 maybe-TAGS-rcs:
33599 @if rcs
33600 maybe-TAGS-rcs: TAGS-rcs
33602 TAGS-rcs: \
33603 configure-rcs
33604 @: $(MAKE); $(unstage)
33605 @[ -f ./rcs/Makefile ] || exit 0; \
33606 r=`${PWD_COMMAND}`; export r; \
33607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33608 $(HOST_EXPORTS) \
33609 for flag in $(EXTRA_HOST_FLAGS) ; do \
33610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33611 done; \
33612 echo "Doing TAGS in rcs" ; \
33613 (cd $(HOST_SUBDIR)/rcs && \
33614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33616 "RANLIB=$${RANLIB}" \
33617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33618 TAGS) \
33619 || exit 1
33621 @endif rcs
33623 .PHONY: maybe-install-info-rcs install-info-rcs
33624 maybe-install-info-rcs:
33625 @if rcs
33626 maybe-install-info-rcs: install-info-rcs
33628 install-info-rcs: \
33629 configure-rcs \
33630 info-rcs
33631 @: $(MAKE); $(unstage)
33632 @[ -f ./rcs/Makefile ] || exit 0; \
33633 r=`${PWD_COMMAND}`; export r; \
33634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33635 $(HOST_EXPORTS) \
33636 for flag in $(EXTRA_HOST_FLAGS) ; do \
33637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33638 done; \
33639 echo "Doing install-info in rcs" ; \
33640 (cd $(HOST_SUBDIR)/rcs && \
33641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33643 "RANLIB=$${RANLIB}" \
33644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33645 install-info) \
33646 || exit 1
33648 @endif rcs
33650 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
33651 maybe-install-pdf-rcs:
33652 @if rcs
33653 maybe-install-pdf-rcs: install-pdf-rcs
33655 install-pdf-rcs: \
33656 configure-rcs \
33657 pdf-rcs
33658 @: $(MAKE); $(unstage)
33659 @[ -f ./rcs/Makefile ] || exit 0; \
33660 r=`${PWD_COMMAND}`; export r; \
33661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33662 $(HOST_EXPORTS) \
33663 for flag in $(EXTRA_HOST_FLAGS) ; do \
33664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33665 done; \
33666 echo "Doing install-pdf in rcs" ; \
33667 (cd $(HOST_SUBDIR)/rcs && \
33668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33670 "RANLIB=$${RANLIB}" \
33671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33672 install-pdf) \
33673 || exit 1
33675 @endif rcs
33677 .PHONY: maybe-install-html-rcs install-html-rcs
33678 maybe-install-html-rcs:
33679 @if rcs
33680 maybe-install-html-rcs: install-html-rcs
33682 install-html-rcs: \
33683 configure-rcs \
33684 html-rcs
33685 @: $(MAKE); $(unstage)
33686 @[ -f ./rcs/Makefile ] || exit 0; \
33687 r=`${PWD_COMMAND}`; export r; \
33688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33689 $(HOST_EXPORTS) \
33690 for flag in $(EXTRA_HOST_FLAGS) ; do \
33691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33692 done; \
33693 echo "Doing install-html in rcs" ; \
33694 (cd $(HOST_SUBDIR)/rcs && \
33695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33697 "RANLIB=$${RANLIB}" \
33698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33699 install-html) \
33700 || exit 1
33702 @endif rcs
33704 .PHONY: maybe-installcheck-rcs installcheck-rcs
33705 maybe-installcheck-rcs:
33706 @if rcs
33707 maybe-installcheck-rcs: installcheck-rcs
33709 installcheck-rcs: \
33710 configure-rcs
33711 @: $(MAKE); $(unstage)
33712 @[ -f ./rcs/Makefile ] || exit 0; \
33713 r=`${PWD_COMMAND}`; export r; \
33714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33715 $(HOST_EXPORTS) \
33716 for flag in $(EXTRA_HOST_FLAGS) ; do \
33717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33718 done; \
33719 echo "Doing installcheck in rcs" ; \
33720 (cd $(HOST_SUBDIR)/rcs && \
33721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33723 "RANLIB=$${RANLIB}" \
33724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33725 installcheck) \
33726 || exit 1
33728 @endif rcs
33730 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
33731 maybe-mostlyclean-rcs:
33732 @if rcs
33733 maybe-mostlyclean-rcs: mostlyclean-rcs
33735 mostlyclean-rcs:
33736 @: $(MAKE); $(unstage)
33737 @[ -f ./rcs/Makefile ] || exit 0; \
33738 r=`${PWD_COMMAND}`; export r; \
33739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33740 $(HOST_EXPORTS) \
33741 for flag in $(EXTRA_HOST_FLAGS) ; do \
33742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33743 done; \
33744 echo "Doing mostlyclean in rcs" ; \
33745 (cd $(HOST_SUBDIR)/rcs && \
33746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33748 "RANLIB=$${RANLIB}" \
33749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33750 mostlyclean) \
33751 || exit 1
33753 @endif rcs
33755 .PHONY: maybe-clean-rcs clean-rcs
33756 maybe-clean-rcs:
33757 @if rcs
33758 maybe-clean-rcs: clean-rcs
33760 clean-rcs:
33761 @: $(MAKE); $(unstage)
33762 @[ -f ./rcs/Makefile ] || exit 0; \
33763 r=`${PWD_COMMAND}`; export r; \
33764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33765 $(HOST_EXPORTS) \
33766 for flag in $(EXTRA_HOST_FLAGS) ; do \
33767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33768 done; \
33769 echo "Doing clean in rcs" ; \
33770 (cd $(HOST_SUBDIR)/rcs && \
33771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33773 "RANLIB=$${RANLIB}" \
33774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33775 clean) \
33776 || exit 1
33778 @endif rcs
33780 .PHONY: maybe-distclean-rcs distclean-rcs
33781 maybe-distclean-rcs:
33782 @if rcs
33783 maybe-distclean-rcs: distclean-rcs
33785 distclean-rcs:
33786 @: $(MAKE); $(unstage)
33787 @[ -f ./rcs/Makefile ] || exit 0; \
33788 r=`${PWD_COMMAND}`; export r; \
33789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33790 $(HOST_EXPORTS) \
33791 for flag in $(EXTRA_HOST_FLAGS) ; do \
33792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33793 done; \
33794 echo "Doing distclean in rcs" ; \
33795 (cd $(HOST_SUBDIR)/rcs && \
33796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33798 "RANLIB=$${RANLIB}" \
33799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33800 distclean) \
33801 || exit 1
33803 @endif rcs
33805 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
33806 maybe-maintainer-clean-rcs:
33807 @if rcs
33808 maybe-maintainer-clean-rcs: maintainer-clean-rcs
33810 maintainer-clean-rcs:
33811 @: $(MAKE); $(unstage)
33812 @[ -f ./rcs/Makefile ] || exit 0; \
33813 r=`${PWD_COMMAND}`; export r; \
33814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33815 $(HOST_EXPORTS) \
33816 for flag in $(EXTRA_HOST_FLAGS) ; do \
33817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33818 done; \
33819 echo "Doing maintainer-clean in rcs" ; \
33820 (cd $(HOST_SUBDIR)/rcs && \
33821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33823 "RANLIB=$${RANLIB}" \
33824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33825 maintainer-clean) \
33826 || exit 1
33828 @endif rcs
33832 .PHONY: configure-readline maybe-configure-readline
33833 maybe-configure-readline:
33834 @if gcc-bootstrap
33835 configure-readline: stage_current
33836 @endif gcc-bootstrap
33837 @if readline
33838 maybe-configure-readline: configure-readline
33839 configure-readline:
33840 @: $(MAKE); $(unstage)
33841 @r=`${PWD_COMMAND}`; export r; \
33842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33843 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
33844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
33845 $(HOST_EXPORTS) \
33846 echo Configuring in $(HOST_SUBDIR)/readline; \
33847 cd "$(HOST_SUBDIR)/readline" || exit 1; \
33848 case $(srcdir) in \
33849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33850 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
33851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33852 esac; \
33853 srcdiroption="--srcdir=$${topdir}/readline"; \
33854 libsrcdir="$$s/readline"; \
33855 $(SHELL) $${libsrcdir}/configure \
33856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33857 --target=${target_alias} $${srcdiroption} \
33858 || exit 1
33859 @endif readline
33865 .PHONY: all-readline maybe-all-readline
33866 maybe-all-readline:
33867 @if gcc-bootstrap
33868 all-readline: stage_current
33869 @endif gcc-bootstrap
33870 @if readline
33871 TARGET-readline=all
33872 maybe-all-readline: all-readline
33873 all-readline: configure-readline
33874 @: $(MAKE); $(unstage)
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(HOST_EXPORTS) \
33878 (cd $(HOST_SUBDIR)/readline && \
33879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33880 $(TARGET-readline))
33881 @endif readline
33886 .PHONY: check-readline maybe-check-readline
33887 maybe-check-readline:
33888 @if readline
33889 maybe-check-readline: check-readline
33891 check-readline:
33892 @: $(MAKE); $(unstage)
33893 @r=`${PWD_COMMAND}`; export r; \
33894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33895 $(HOST_EXPORTS) \
33896 (cd $(HOST_SUBDIR)/readline && \
33897 $(MAKE) $(FLAGS_TO_PASS) check)
33899 @endif readline
33901 .PHONY: install-readline maybe-install-readline
33902 maybe-install-readline:
33903 @if readline
33904 maybe-install-readline: install-readline
33906 install-readline: installdirs
33907 @: $(MAKE); $(unstage)
33908 @r=`${PWD_COMMAND}`; export r; \
33909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33910 $(HOST_EXPORTS) \
33911 (cd $(HOST_SUBDIR)/readline && \
33912 $(MAKE) $(FLAGS_TO_PASS) install)
33914 @endif readline
33916 # Other targets (info, dvi, pdf, etc.)
33918 .PHONY: maybe-info-readline info-readline
33919 maybe-info-readline:
33920 @if readline
33921 maybe-info-readline: info-readline
33923 info-readline: \
33924 configure-readline
33925 @: $(MAKE); $(unstage)
33926 @[ -f ./readline/Makefile ] || exit 0; \
33927 r=`${PWD_COMMAND}`; export r; \
33928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33929 $(HOST_EXPORTS) \
33930 for flag in $(EXTRA_HOST_FLAGS) ; do \
33931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33932 done; \
33933 echo "Doing info in readline" ; \
33934 (cd $(HOST_SUBDIR)/readline && \
33935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33937 "RANLIB=$${RANLIB}" \
33938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33939 info) \
33940 || exit 1
33942 @endif readline
33944 .PHONY: maybe-dvi-readline dvi-readline
33945 maybe-dvi-readline:
33946 @if readline
33947 maybe-dvi-readline: dvi-readline
33949 dvi-readline: \
33950 configure-readline
33951 @: $(MAKE); $(unstage)
33952 @[ -f ./readline/Makefile ] || exit 0; \
33953 r=`${PWD_COMMAND}`; export r; \
33954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33955 $(HOST_EXPORTS) \
33956 for flag in $(EXTRA_HOST_FLAGS) ; do \
33957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33958 done; \
33959 echo "Doing dvi in readline" ; \
33960 (cd $(HOST_SUBDIR)/readline && \
33961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33963 "RANLIB=$${RANLIB}" \
33964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33965 dvi) \
33966 || exit 1
33968 @endif readline
33970 .PHONY: maybe-pdf-readline pdf-readline
33971 maybe-pdf-readline:
33972 @if readline
33973 maybe-pdf-readline: pdf-readline
33975 pdf-readline: \
33976 configure-readline
33977 @: $(MAKE); $(unstage)
33978 @[ -f ./readline/Makefile ] || exit 0; \
33979 r=`${PWD_COMMAND}`; export r; \
33980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33981 $(HOST_EXPORTS) \
33982 for flag in $(EXTRA_HOST_FLAGS) ; do \
33983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33984 done; \
33985 echo "Doing pdf in readline" ; \
33986 (cd $(HOST_SUBDIR)/readline && \
33987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33989 "RANLIB=$${RANLIB}" \
33990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33991 pdf) \
33992 || exit 1
33994 @endif readline
33996 .PHONY: maybe-html-readline html-readline
33997 maybe-html-readline:
33998 @if readline
33999 maybe-html-readline: html-readline
34001 html-readline: \
34002 configure-readline
34003 @: $(MAKE); $(unstage)
34004 @[ -f ./readline/Makefile ] || exit 0; \
34005 r=`${PWD_COMMAND}`; export r; \
34006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34007 $(HOST_EXPORTS) \
34008 for flag in $(EXTRA_HOST_FLAGS) ; do \
34009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34010 done; \
34011 echo "Doing html in readline" ; \
34012 (cd $(HOST_SUBDIR)/readline && \
34013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34015 "RANLIB=$${RANLIB}" \
34016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34017 html) \
34018 || exit 1
34020 @endif readline
34022 .PHONY: maybe-TAGS-readline TAGS-readline
34023 maybe-TAGS-readline:
34024 @if readline
34025 maybe-TAGS-readline: TAGS-readline
34027 TAGS-readline: \
34028 configure-readline
34029 @: $(MAKE); $(unstage)
34030 @[ -f ./readline/Makefile ] || exit 0; \
34031 r=`${PWD_COMMAND}`; export r; \
34032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34033 $(HOST_EXPORTS) \
34034 for flag in $(EXTRA_HOST_FLAGS) ; do \
34035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34036 done; \
34037 echo "Doing TAGS in readline" ; \
34038 (cd $(HOST_SUBDIR)/readline && \
34039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34041 "RANLIB=$${RANLIB}" \
34042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34043 TAGS) \
34044 || exit 1
34046 @endif readline
34048 .PHONY: maybe-install-info-readline install-info-readline
34049 maybe-install-info-readline:
34050 @if readline
34051 maybe-install-info-readline: install-info-readline
34053 install-info-readline: \
34054 configure-readline \
34055 info-readline
34056 @: $(MAKE); $(unstage)
34057 @[ -f ./readline/Makefile ] || exit 0; \
34058 r=`${PWD_COMMAND}`; export r; \
34059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34060 $(HOST_EXPORTS) \
34061 for flag in $(EXTRA_HOST_FLAGS) ; do \
34062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34063 done; \
34064 echo "Doing install-info in readline" ; \
34065 (cd $(HOST_SUBDIR)/readline && \
34066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34068 "RANLIB=$${RANLIB}" \
34069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34070 install-info) \
34071 || exit 1
34073 @endif readline
34075 .PHONY: maybe-install-pdf-readline install-pdf-readline
34076 maybe-install-pdf-readline:
34077 @if readline
34078 maybe-install-pdf-readline: install-pdf-readline
34080 install-pdf-readline: \
34081 configure-readline \
34082 pdf-readline
34083 @: $(MAKE); $(unstage)
34084 @[ -f ./readline/Makefile ] || exit 0; \
34085 r=`${PWD_COMMAND}`; export r; \
34086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34087 $(HOST_EXPORTS) \
34088 for flag in $(EXTRA_HOST_FLAGS) ; do \
34089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34090 done; \
34091 echo "Doing install-pdf in readline" ; \
34092 (cd $(HOST_SUBDIR)/readline && \
34093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34095 "RANLIB=$${RANLIB}" \
34096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34097 install-pdf) \
34098 || exit 1
34100 @endif readline
34102 .PHONY: maybe-install-html-readline install-html-readline
34103 maybe-install-html-readline:
34104 @if readline
34105 maybe-install-html-readline: install-html-readline
34107 install-html-readline: \
34108 configure-readline \
34109 html-readline
34110 @: $(MAKE); $(unstage)
34111 @[ -f ./readline/Makefile ] || exit 0; \
34112 r=`${PWD_COMMAND}`; export r; \
34113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34114 $(HOST_EXPORTS) \
34115 for flag in $(EXTRA_HOST_FLAGS) ; do \
34116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34117 done; \
34118 echo "Doing install-html in readline" ; \
34119 (cd $(HOST_SUBDIR)/readline && \
34120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34122 "RANLIB=$${RANLIB}" \
34123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34124 install-html) \
34125 || exit 1
34127 @endif readline
34129 .PHONY: maybe-installcheck-readline installcheck-readline
34130 maybe-installcheck-readline:
34131 @if readline
34132 maybe-installcheck-readline: installcheck-readline
34134 installcheck-readline: \
34135 configure-readline
34136 @: $(MAKE); $(unstage)
34137 @[ -f ./readline/Makefile ] || exit 0; \
34138 r=`${PWD_COMMAND}`; export r; \
34139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34140 $(HOST_EXPORTS) \
34141 for flag in $(EXTRA_HOST_FLAGS) ; do \
34142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34143 done; \
34144 echo "Doing installcheck in readline" ; \
34145 (cd $(HOST_SUBDIR)/readline && \
34146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34148 "RANLIB=$${RANLIB}" \
34149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34150 installcheck) \
34151 || exit 1
34153 @endif readline
34155 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
34156 maybe-mostlyclean-readline:
34157 @if readline
34158 maybe-mostlyclean-readline: mostlyclean-readline
34160 mostlyclean-readline:
34161 @: $(MAKE); $(unstage)
34162 @[ -f ./readline/Makefile ] || exit 0; \
34163 r=`${PWD_COMMAND}`; export r; \
34164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34165 $(HOST_EXPORTS) \
34166 for flag in $(EXTRA_HOST_FLAGS) ; do \
34167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34168 done; \
34169 echo "Doing mostlyclean in readline" ; \
34170 (cd $(HOST_SUBDIR)/readline && \
34171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34173 "RANLIB=$${RANLIB}" \
34174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34175 mostlyclean) \
34176 || exit 1
34178 @endif readline
34180 .PHONY: maybe-clean-readline clean-readline
34181 maybe-clean-readline:
34182 @if readline
34183 maybe-clean-readline: clean-readline
34185 clean-readline:
34186 @: $(MAKE); $(unstage)
34187 @[ -f ./readline/Makefile ] || exit 0; \
34188 r=`${PWD_COMMAND}`; export r; \
34189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34190 $(HOST_EXPORTS) \
34191 for flag in $(EXTRA_HOST_FLAGS) ; do \
34192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34193 done; \
34194 echo "Doing clean in readline" ; \
34195 (cd $(HOST_SUBDIR)/readline && \
34196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34198 "RANLIB=$${RANLIB}" \
34199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34200 clean) \
34201 || exit 1
34203 @endif readline
34205 .PHONY: maybe-distclean-readline distclean-readline
34206 maybe-distclean-readline:
34207 @if readline
34208 maybe-distclean-readline: distclean-readline
34210 distclean-readline:
34211 @: $(MAKE); $(unstage)
34212 @[ -f ./readline/Makefile ] || exit 0; \
34213 r=`${PWD_COMMAND}`; export r; \
34214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34215 $(HOST_EXPORTS) \
34216 for flag in $(EXTRA_HOST_FLAGS) ; do \
34217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34218 done; \
34219 echo "Doing distclean in readline" ; \
34220 (cd $(HOST_SUBDIR)/readline && \
34221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34223 "RANLIB=$${RANLIB}" \
34224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34225 distclean) \
34226 || exit 1
34228 @endif readline
34230 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
34231 maybe-maintainer-clean-readline:
34232 @if readline
34233 maybe-maintainer-clean-readline: maintainer-clean-readline
34235 maintainer-clean-readline:
34236 @: $(MAKE); $(unstage)
34237 @[ -f ./readline/Makefile ] || exit 0; \
34238 r=`${PWD_COMMAND}`; export r; \
34239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34240 $(HOST_EXPORTS) \
34241 for flag in $(EXTRA_HOST_FLAGS) ; do \
34242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34243 done; \
34244 echo "Doing maintainer-clean in readline" ; \
34245 (cd $(HOST_SUBDIR)/readline && \
34246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34248 "RANLIB=$${RANLIB}" \
34249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34250 maintainer-clean) \
34251 || exit 1
34253 @endif readline
34257 .PHONY: configure-release maybe-configure-release
34258 maybe-configure-release:
34259 @if gcc-bootstrap
34260 configure-release: stage_current
34261 @endif gcc-bootstrap
34262 @if release
34263 maybe-configure-release: configure-release
34264 configure-release:
34265 @: $(MAKE); $(unstage)
34266 @r=`${PWD_COMMAND}`; export r; \
34267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34268 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
34269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
34270 $(HOST_EXPORTS) \
34271 echo Configuring in $(HOST_SUBDIR)/release; \
34272 cd "$(HOST_SUBDIR)/release" || exit 1; \
34273 case $(srcdir) in \
34274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34275 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
34276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34277 esac; \
34278 srcdiroption="--srcdir=$${topdir}/release"; \
34279 libsrcdir="$$s/release"; \
34280 $(SHELL) $${libsrcdir}/configure \
34281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34282 --target=${target_alias} $${srcdiroption} \
34283 || exit 1
34284 @endif release
34290 .PHONY: all-release maybe-all-release
34291 maybe-all-release:
34292 @if gcc-bootstrap
34293 all-release: stage_current
34294 @endif gcc-bootstrap
34295 @if release
34296 TARGET-release=all
34297 maybe-all-release: all-release
34298 all-release: configure-release
34299 @: $(MAKE); $(unstage)
34300 @r=`${PWD_COMMAND}`; export r; \
34301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34302 $(HOST_EXPORTS) \
34303 (cd $(HOST_SUBDIR)/release && \
34304 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34305 $(TARGET-release))
34306 @endif release
34311 .PHONY: check-release maybe-check-release
34312 maybe-check-release:
34313 @if release
34314 maybe-check-release: check-release
34316 check-release:
34318 @endif release
34320 .PHONY: install-release maybe-install-release
34321 maybe-install-release:
34322 @if release
34323 maybe-install-release: install-release
34325 install-release:
34327 @endif release
34329 # Other targets (info, dvi, pdf, etc.)
34331 .PHONY: maybe-info-release info-release
34332 maybe-info-release:
34333 @if release
34334 maybe-info-release: info-release
34336 info-release: \
34337 configure-release
34338 @: $(MAKE); $(unstage)
34339 @[ -f ./release/Makefile ] || exit 0; \
34340 r=`${PWD_COMMAND}`; export r; \
34341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34342 $(HOST_EXPORTS) \
34343 for flag in $(EXTRA_HOST_FLAGS) ; do \
34344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34345 done; \
34346 echo "Doing info in release" ; \
34347 (cd $(HOST_SUBDIR)/release && \
34348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34350 "RANLIB=$${RANLIB}" \
34351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34352 info) \
34353 || exit 1
34355 @endif release
34357 .PHONY: maybe-dvi-release dvi-release
34358 maybe-dvi-release:
34359 @if release
34360 maybe-dvi-release: dvi-release
34362 dvi-release: \
34363 configure-release
34364 @: $(MAKE); $(unstage)
34365 @[ -f ./release/Makefile ] || exit 0; \
34366 r=`${PWD_COMMAND}`; export r; \
34367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34368 $(HOST_EXPORTS) \
34369 for flag in $(EXTRA_HOST_FLAGS) ; do \
34370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34371 done; \
34372 echo "Doing dvi in release" ; \
34373 (cd $(HOST_SUBDIR)/release && \
34374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34376 "RANLIB=$${RANLIB}" \
34377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34378 dvi) \
34379 || exit 1
34381 @endif release
34383 .PHONY: maybe-pdf-release pdf-release
34384 maybe-pdf-release:
34385 @if release
34386 maybe-pdf-release: pdf-release
34388 pdf-release: \
34389 configure-release
34390 @: $(MAKE); $(unstage)
34391 @[ -f ./release/Makefile ] || exit 0; \
34392 r=`${PWD_COMMAND}`; export r; \
34393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34394 $(HOST_EXPORTS) \
34395 for flag in $(EXTRA_HOST_FLAGS) ; do \
34396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34397 done; \
34398 echo "Doing pdf in release" ; \
34399 (cd $(HOST_SUBDIR)/release && \
34400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34402 "RANLIB=$${RANLIB}" \
34403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34404 pdf) \
34405 || exit 1
34407 @endif release
34409 .PHONY: maybe-html-release html-release
34410 maybe-html-release:
34411 @if release
34412 maybe-html-release: html-release
34414 html-release: \
34415 configure-release
34416 @: $(MAKE); $(unstage)
34417 @[ -f ./release/Makefile ] || exit 0; \
34418 r=`${PWD_COMMAND}`; export r; \
34419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34420 $(HOST_EXPORTS) \
34421 for flag in $(EXTRA_HOST_FLAGS) ; do \
34422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34423 done; \
34424 echo "Doing html in release" ; \
34425 (cd $(HOST_SUBDIR)/release && \
34426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34428 "RANLIB=$${RANLIB}" \
34429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34430 html) \
34431 || exit 1
34433 @endif release
34435 .PHONY: maybe-TAGS-release TAGS-release
34436 maybe-TAGS-release:
34437 @if release
34438 maybe-TAGS-release: TAGS-release
34440 TAGS-release: \
34441 configure-release
34442 @: $(MAKE); $(unstage)
34443 @[ -f ./release/Makefile ] || exit 0; \
34444 r=`${PWD_COMMAND}`; export r; \
34445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34446 $(HOST_EXPORTS) \
34447 for flag in $(EXTRA_HOST_FLAGS) ; do \
34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34449 done; \
34450 echo "Doing TAGS in release" ; \
34451 (cd $(HOST_SUBDIR)/release && \
34452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34454 "RANLIB=$${RANLIB}" \
34455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34456 TAGS) \
34457 || exit 1
34459 @endif release
34461 .PHONY: maybe-install-info-release install-info-release
34462 maybe-install-info-release:
34463 @if release
34464 maybe-install-info-release: install-info-release
34466 install-info-release: \
34467 configure-release \
34468 info-release
34469 @: $(MAKE); $(unstage)
34470 @[ -f ./release/Makefile ] || exit 0; \
34471 r=`${PWD_COMMAND}`; export r; \
34472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34473 $(HOST_EXPORTS) \
34474 for flag in $(EXTRA_HOST_FLAGS) ; do \
34475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34476 done; \
34477 echo "Doing install-info in release" ; \
34478 (cd $(HOST_SUBDIR)/release && \
34479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34481 "RANLIB=$${RANLIB}" \
34482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34483 install-info) \
34484 || exit 1
34486 @endif release
34488 .PHONY: maybe-install-pdf-release install-pdf-release
34489 maybe-install-pdf-release:
34490 @if release
34491 maybe-install-pdf-release: install-pdf-release
34493 install-pdf-release: \
34494 configure-release \
34495 pdf-release
34496 @: $(MAKE); $(unstage)
34497 @[ -f ./release/Makefile ] || exit 0; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(HOST_EXPORTS) \
34501 for flag in $(EXTRA_HOST_FLAGS) ; do \
34502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34503 done; \
34504 echo "Doing install-pdf in release" ; \
34505 (cd $(HOST_SUBDIR)/release && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34510 install-pdf) \
34511 || exit 1
34513 @endif release
34515 .PHONY: maybe-install-html-release install-html-release
34516 maybe-install-html-release:
34517 @if release
34518 maybe-install-html-release: install-html-release
34520 install-html-release: \
34521 configure-release \
34522 html-release
34523 @: $(MAKE); $(unstage)
34524 @[ -f ./release/Makefile ] || exit 0; \
34525 r=`${PWD_COMMAND}`; export r; \
34526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34527 $(HOST_EXPORTS) \
34528 for flag in $(EXTRA_HOST_FLAGS) ; do \
34529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34530 done; \
34531 echo "Doing install-html in release" ; \
34532 (cd $(HOST_SUBDIR)/release && \
34533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34535 "RANLIB=$${RANLIB}" \
34536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34537 install-html) \
34538 || exit 1
34540 @endif release
34542 .PHONY: maybe-installcheck-release installcheck-release
34543 maybe-installcheck-release:
34544 @if release
34545 maybe-installcheck-release: installcheck-release
34547 installcheck-release: \
34548 configure-release
34549 @: $(MAKE); $(unstage)
34550 @[ -f ./release/Makefile ] || exit 0; \
34551 r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(HOST_EXPORTS) \
34554 for flag in $(EXTRA_HOST_FLAGS) ; do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 echo "Doing installcheck in release" ; \
34558 (cd $(HOST_SUBDIR)/release && \
34559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34561 "RANLIB=$${RANLIB}" \
34562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34563 installcheck) \
34564 || exit 1
34566 @endif release
34568 .PHONY: maybe-mostlyclean-release mostlyclean-release
34569 maybe-mostlyclean-release:
34570 @if release
34571 maybe-mostlyclean-release: mostlyclean-release
34573 mostlyclean-release:
34574 @: $(MAKE); $(unstage)
34575 @[ -f ./release/Makefile ] || exit 0; \
34576 r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 $(HOST_EXPORTS) \
34579 for flag in $(EXTRA_HOST_FLAGS) ; do \
34580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34581 done; \
34582 echo "Doing mostlyclean in release" ; \
34583 (cd $(HOST_SUBDIR)/release && \
34584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34586 "RANLIB=$${RANLIB}" \
34587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34588 mostlyclean) \
34589 || exit 1
34591 @endif release
34593 .PHONY: maybe-clean-release clean-release
34594 maybe-clean-release:
34595 @if release
34596 maybe-clean-release: clean-release
34598 clean-release:
34599 @: $(MAKE); $(unstage)
34600 @[ -f ./release/Makefile ] || exit 0; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(HOST_EXPORTS) \
34604 for flag in $(EXTRA_HOST_FLAGS) ; do \
34605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34606 done; \
34607 echo "Doing clean in release" ; \
34608 (cd $(HOST_SUBDIR)/release && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34611 "RANLIB=$${RANLIB}" \
34612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34613 clean) \
34614 || exit 1
34616 @endif release
34618 .PHONY: maybe-distclean-release distclean-release
34619 maybe-distclean-release:
34620 @if release
34621 maybe-distclean-release: distclean-release
34623 distclean-release:
34624 @: $(MAKE); $(unstage)
34625 @[ -f ./release/Makefile ] || exit 0; \
34626 r=`${PWD_COMMAND}`; export r; \
34627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34628 $(HOST_EXPORTS) \
34629 for flag in $(EXTRA_HOST_FLAGS) ; do \
34630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34631 done; \
34632 echo "Doing distclean in release" ; \
34633 (cd $(HOST_SUBDIR)/release && \
34634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34636 "RANLIB=$${RANLIB}" \
34637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34638 distclean) \
34639 || exit 1
34641 @endif release
34643 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
34644 maybe-maintainer-clean-release:
34645 @if release
34646 maybe-maintainer-clean-release: maintainer-clean-release
34648 maintainer-clean-release:
34649 @: $(MAKE); $(unstage)
34650 @[ -f ./release/Makefile ] || exit 0; \
34651 r=`${PWD_COMMAND}`; export r; \
34652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34653 $(HOST_EXPORTS) \
34654 for flag in $(EXTRA_HOST_FLAGS) ; do \
34655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34656 done; \
34657 echo "Doing maintainer-clean in release" ; \
34658 (cd $(HOST_SUBDIR)/release && \
34659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34661 "RANLIB=$${RANLIB}" \
34662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34663 maintainer-clean) \
34664 || exit 1
34666 @endif release
34670 .PHONY: configure-recode maybe-configure-recode
34671 maybe-configure-recode:
34672 @if gcc-bootstrap
34673 configure-recode: stage_current
34674 @endif gcc-bootstrap
34675 @if recode
34676 maybe-configure-recode: configure-recode
34677 configure-recode:
34678 @: $(MAKE); $(unstage)
34679 @r=`${PWD_COMMAND}`; export r; \
34680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34681 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
34682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
34683 $(HOST_EXPORTS) \
34684 echo Configuring in $(HOST_SUBDIR)/recode; \
34685 cd "$(HOST_SUBDIR)/recode" || exit 1; \
34686 case $(srcdir) in \
34687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34688 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
34689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34690 esac; \
34691 srcdiroption="--srcdir=$${topdir}/recode"; \
34692 libsrcdir="$$s/recode"; \
34693 $(SHELL) $${libsrcdir}/configure \
34694 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34695 --target=${target_alias} $${srcdiroption} \
34696 || exit 1
34697 @endif recode
34703 .PHONY: all-recode maybe-all-recode
34704 maybe-all-recode:
34705 @if gcc-bootstrap
34706 all-recode: stage_current
34707 @endif gcc-bootstrap
34708 @if recode
34709 TARGET-recode=all
34710 maybe-all-recode: all-recode
34711 all-recode: configure-recode
34712 @: $(MAKE); $(unstage)
34713 @r=`${PWD_COMMAND}`; export r; \
34714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34715 $(HOST_EXPORTS) \
34716 (cd $(HOST_SUBDIR)/recode && \
34717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34718 $(TARGET-recode))
34719 @endif recode
34724 .PHONY: check-recode maybe-check-recode
34725 maybe-check-recode:
34726 @if recode
34727 maybe-check-recode: check-recode
34729 check-recode:
34730 @: $(MAKE); $(unstage)
34731 @r=`${PWD_COMMAND}`; export r; \
34732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34733 $(HOST_EXPORTS) \
34734 (cd $(HOST_SUBDIR)/recode && \
34735 $(MAKE) $(FLAGS_TO_PASS) check)
34737 @endif recode
34739 .PHONY: install-recode maybe-install-recode
34740 maybe-install-recode:
34741 @if recode
34742 maybe-install-recode: install-recode
34744 install-recode: installdirs
34745 @: $(MAKE); $(unstage)
34746 @r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(HOST_EXPORTS) \
34749 (cd $(HOST_SUBDIR)/recode && \
34750 $(MAKE) $(FLAGS_TO_PASS) install)
34752 @endif recode
34754 # Other targets (info, dvi, pdf, etc.)
34756 .PHONY: maybe-info-recode info-recode
34757 maybe-info-recode:
34758 @if recode
34759 maybe-info-recode: info-recode
34761 info-recode: \
34762 configure-recode
34763 @: $(MAKE); $(unstage)
34764 @[ -f ./recode/Makefile ] || exit 0; \
34765 r=`${PWD_COMMAND}`; export r; \
34766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34767 $(HOST_EXPORTS) \
34768 for flag in $(EXTRA_HOST_FLAGS) ; do \
34769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34770 done; \
34771 echo "Doing info in recode" ; \
34772 (cd $(HOST_SUBDIR)/recode && \
34773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34775 "RANLIB=$${RANLIB}" \
34776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34777 info) \
34778 || exit 1
34780 @endif recode
34782 .PHONY: maybe-dvi-recode dvi-recode
34783 maybe-dvi-recode:
34784 @if recode
34785 maybe-dvi-recode: dvi-recode
34787 dvi-recode: \
34788 configure-recode
34789 @: $(MAKE); $(unstage)
34790 @[ -f ./recode/Makefile ] || exit 0; \
34791 r=`${PWD_COMMAND}`; export r; \
34792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34793 $(HOST_EXPORTS) \
34794 for flag in $(EXTRA_HOST_FLAGS) ; do \
34795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34796 done; \
34797 echo "Doing dvi in recode" ; \
34798 (cd $(HOST_SUBDIR)/recode && \
34799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34801 "RANLIB=$${RANLIB}" \
34802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34803 dvi) \
34804 || exit 1
34806 @endif recode
34808 .PHONY: maybe-pdf-recode pdf-recode
34809 maybe-pdf-recode:
34810 @if recode
34811 maybe-pdf-recode: pdf-recode
34813 pdf-recode: \
34814 configure-recode
34815 @: $(MAKE); $(unstage)
34816 @[ -f ./recode/Makefile ] || exit 0; \
34817 r=`${PWD_COMMAND}`; export r; \
34818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34819 $(HOST_EXPORTS) \
34820 for flag in $(EXTRA_HOST_FLAGS) ; do \
34821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34822 done; \
34823 echo "Doing pdf in recode" ; \
34824 (cd $(HOST_SUBDIR)/recode && \
34825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34827 "RANLIB=$${RANLIB}" \
34828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34829 pdf) \
34830 || exit 1
34832 @endif recode
34834 .PHONY: maybe-html-recode html-recode
34835 maybe-html-recode:
34836 @if recode
34837 maybe-html-recode: html-recode
34839 html-recode: \
34840 configure-recode
34841 @: $(MAKE); $(unstage)
34842 @[ -f ./recode/Makefile ] || exit 0; \
34843 r=`${PWD_COMMAND}`; export r; \
34844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34845 $(HOST_EXPORTS) \
34846 for flag in $(EXTRA_HOST_FLAGS) ; do \
34847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34848 done; \
34849 echo "Doing html in recode" ; \
34850 (cd $(HOST_SUBDIR)/recode && \
34851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34853 "RANLIB=$${RANLIB}" \
34854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34855 html) \
34856 || exit 1
34858 @endif recode
34860 .PHONY: maybe-TAGS-recode TAGS-recode
34861 maybe-TAGS-recode:
34862 @if recode
34863 maybe-TAGS-recode: TAGS-recode
34865 TAGS-recode: \
34866 configure-recode
34867 @: $(MAKE); $(unstage)
34868 @[ -f ./recode/Makefile ] || exit 0; \
34869 r=`${PWD_COMMAND}`; export r; \
34870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34871 $(HOST_EXPORTS) \
34872 for flag in $(EXTRA_HOST_FLAGS) ; do \
34873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34874 done; \
34875 echo "Doing TAGS in recode" ; \
34876 (cd $(HOST_SUBDIR)/recode && \
34877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34879 "RANLIB=$${RANLIB}" \
34880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34881 TAGS) \
34882 || exit 1
34884 @endif recode
34886 .PHONY: maybe-install-info-recode install-info-recode
34887 maybe-install-info-recode:
34888 @if recode
34889 maybe-install-info-recode: install-info-recode
34891 install-info-recode: \
34892 configure-recode \
34893 info-recode
34894 @: $(MAKE); $(unstage)
34895 @[ -f ./recode/Makefile ] || exit 0; \
34896 r=`${PWD_COMMAND}`; export r; \
34897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34898 $(HOST_EXPORTS) \
34899 for flag in $(EXTRA_HOST_FLAGS) ; do \
34900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34901 done; \
34902 echo "Doing install-info in recode" ; \
34903 (cd $(HOST_SUBDIR)/recode && \
34904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34906 "RANLIB=$${RANLIB}" \
34907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34908 install-info) \
34909 || exit 1
34911 @endif recode
34913 .PHONY: maybe-install-pdf-recode install-pdf-recode
34914 maybe-install-pdf-recode:
34915 @if recode
34916 maybe-install-pdf-recode: install-pdf-recode
34918 install-pdf-recode: \
34919 configure-recode \
34920 pdf-recode
34921 @: $(MAKE); $(unstage)
34922 @[ -f ./recode/Makefile ] || exit 0; \
34923 r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(HOST_EXPORTS) \
34926 for flag in $(EXTRA_HOST_FLAGS) ; do \
34927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34928 done; \
34929 echo "Doing install-pdf in recode" ; \
34930 (cd $(HOST_SUBDIR)/recode && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34933 "RANLIB=$${RANLIB}" \
34934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34935 install-pdf) \
34936 || exit 1
34938 @endif recode
34940 .PHONY: maybe-install-html-recode install-html-recode
34941 maybe-install-html-recode:
34942 @if recode
34943 maybe-install-html-recode: install-html-recode
34945 install-html-recode: \
34946 configure-recode \
34947 html-recode
34948 @: $(MAKE); $(unstage)
34949 @[ -f ./recode/Makefile ] || exit 0; \
34950 r=`${PWD_COMMAND}`; export r; \
34951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34952 $(HOST_EXPORTS) \
34953 for flag in $(EXTRA_HOST_FLAGS) ; do \
34954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34955 done; \
34956 echo "Doing install-html in recode" ; \
34957 (cd $(HOST_SUBDIR)/recode && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34960 "RANLIB=$${RANLIB}" \
34961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34962 install-html) \
34963 || exit 1
34965 @endif recode
34967 .PHONY: maybe-installcheck-recode installcheck-recode
34968 maybe-installcheck-recode:
34969 @if recode
34970 maybe-installcheck-recode: installcheck-recode
34972 installcheck-recode: \
34973 configure-recode
34974 @: $(MAKE); $(unstage)
34975 @[ -f ./recode/Makefile ] || exit 0; \
34976 r=`${PWD_COMMAND}`; export r; \
34977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34978 $(HOST_EXPORTS) \
34979 for flag in $(EXTRA_HOST_FLAGS) ; do \
34980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34981 done; \
34982 echo "Doing installcheck in recode" ; \
34983 (cd $(HOST_SUBDIR)/recode && \
34984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34986 "RANLIB=$${RANLIB}" \
34987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34988 installcheck) \
34989 || exit 1
34991 @endif recode
34993 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
34994 maybe-mostlyclean-recode:
34995 @if recode
34996 maybe-mostlyclean-recode: mostlyclean-recode
34998 mostlyclean-recode:
34999 @: $(MAKE); $(unstage)
35000 @[ -f ./recode/Makefile ] || exit 0; \
35001 r=`${PWD_COMMAND}`; export r; \
35002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35003 $(HOST_EXPORTS) \
35004 for flag in $(EXTRA_HOST_FLAGS) ; do \
35005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35006 done; \
35007 echo "Doing mostlyclean in recode" ; \
35008 (cd $(HOST_SUBDIR)/recode && \
35009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35011 "RANLIB=$${RANLIB}" \
35012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35013 mostlyclean) \
35014 || exit 1
35016 @endif recode
35018 .PHONY: maybe-clean-recode clean-recode
35019 maybe-clean-recode:
35020 @if recode
35021 maybe-clean-recode: clean-recode
35023 clean-recode:
35024 @: $(MAKE); $(unstage)
35025 @[ -f ./recode/Makefile ] || exit 0; \
35026 r=`${PWD_COMMAND}`; export r; \
35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35028 $(HOST_EXPORTS) \
35029 for flag in $(EXTRA_HOST_FLAGS) ; do \
35030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35031 done; \
35032 echo "Doing clean in recode" ; \
35033 (cd $(HOST_SUBDIR)/recode && \
35034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35036 "RANLIB=$${RANLIB}" \
35037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35038 clean) \
35039 || exit 1
35041 @endif recode
35043 .PHONY: maybe-distclean-recode distclean-recode
35044 maybe-distclean-recode:
35045 @if recode
35046 maybe-distclean-recode: distclean-recode
35048 distclean-recode:
35049 @: $(MAKE); $(unstage)
35050 @[ -f ./recode/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 distclean in recode" ; \
35058 (cd $(HOST_SUBDIR)/recode && \
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 distclean) \
35064 || exit 1
35066 @endif recode
35068 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
35069 maybe-maintainer-clean-recode:
35070 @if recode
35071 maybe-maintainer-clean-recode: maintainer-clean-recode
35073 maintainer-clean-recode:
35074 @: $(MAKE); $(unstage)
35075 @[ -f ./recode/Makefile ] || exit 0; \
35076 r=`${PWD_COMMAND}`; export r; \
35077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35078 $(HOST_EXPORTS) \
35079 for flag in $(EXTRA_HOST_FLAGS) ; do \
35080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35081 done; \
35082 echo "Doing maintainer-clean in recode" ; \
35083 (cd $(HOST_SUBDIR)/recode && \
35084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35086 "RANLIB=$${RANLIB}" \
35087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35088 maintainer-clean) \
35089 || exit 1
35091 @endif recode
35095 .PHONY: configure-sed maybe-configure-sed
35096 maybe-configure-sed:
35097 @if gcc-bootstrap
35098 configure-sed: stage_current
35099 @endif gcc-bootstrap
35100 @if sed
35101 maybe-configure-sed: configure-sed
35102 configure-sed:
35103 @: $(MAKE); $(unstage)
35104 @r=`${PWD_COMMAND}`; export r; \
35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35106 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
35107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
35108 $(HOST_EXPORTS) \
35109 echo Configuring in $(HOST_SUBDIR)/sed; \
35110 cd "$(HOST_SUBDIR)/sed" || exit 1; \
35111 case $(srcdir) in \
35112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35113 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
35114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35115 esac; \
35116 srcdiroption="--srcdir=$${topdir}/sed"; \
35117 libsrcdir="$$s/sed"; \
35118 $(SHELL) $${libsrcdir}/configure \
35119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35120 --target=${target_alias} $${srcdiroption} \
35121 || exit 1
35122 @endif sed
35128 .PHONY: all-sed maybe-all-sed
35129 maybe-all-sed:
35130 @if gcc-bootstrap
35131 all-sed: stage_current
35132 @endif gcc-bootstrap
35133 @if sed
35134 TARGET-sed=all
35135 maybe-all-sed: all-sed
35136 all-sed: configure-sed
35137 @: $(MAKE); $(unstage)
35138 @r=`${PWD_COMMAND}`; export r; \
35139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35140 $(HOST_EXPORTS) \
35141 (cd $(HOST_SUBDIR)/sed && \
35142 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35143 $(TARGET-sed))
35144 @endif sed
35149 .PHONY: check-sed maybe-check-sed
35150 maybe-check-sed:
35151 @if sed
35152 maybe-check-sed: check-sed
35154 check-sed:
35155 @: $(MAKE); $(unstage)
35156 @r=`${PWD_COMMAND}`; export r; \
35157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35158 $(HOST_EXPORTS) \
35159 (cd $(HOST_SUBDIR)/sed && \
35160 $(MAKE) $(FLAGS_TO_PASS) check)
35162 @endif sed
35164 .PHONY: install-sed maybe-install-sed
35165 maybe-install-sed:
35166 @if sed
35167 maybe-install-sed: install-sed
35169 install-sed: installdirs
35170 @: $(MAKE); $(unstage)
35171 @r=`${PWD_COMMAND}`; export r; \
35172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35173 $(HOST_EXPORTS) \
35174 (cd $(HOST_SUBDIR)/sed && \
35175 $(MAKE) $(FLAGS_TO_PASS) install)
35177 @endif sed
35179 # Other targets (info, dvi, pdf, etc.)
35181 .PHONY: maybe-info-sed info-sed
35182 maybe-info-sed:
35183 @if sed
35184 maybe-info-sed: info-sed
35186 info-sed: \
35187 configure-sed
35188 @: $(MAKE); $(unstage)
35189 @[ -f ./sed/Makefile ] || exit 0; \
35190 r=`${PWD_COMMAND}`; export r; \
35191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35192 $(HOST_EXPORTS) \
35193 for flag in $(EXTRA_HOST_FLAGS) ; do \
35194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35195 done; \
35196 echo "Doing info in sed" ; \
35197 (cd $(HOST_SUBDIR)/sed && \
35198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35200 "RANLIB=$${RANLIB}" \
35201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35202 info) \
35203 || exit 1
35205 @endif sed
35207 .PHONY: maybe-dvi-sed dvi-sed
35208 maybe-dvi-sed:
35209 @if sed
35210 maybe-dvi-sed: dvi-sed
35212 dvi-sed: \
35213 configure-sed
35214 @: $(MAKE); $(unstage)
35215 @[ -f ./sed/Makefile ] || exit 0; \
35216 r=`${PWD_COMMAND}`; export r; \
35217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35218 $(HOST_EXPORTS) \
35219 for flag in $(EXTRA_HOST_FLAGS) ; do \
35220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35221 done; \
35222 echo "Doing dvi in sed" ; \
35223 (cd $(HOST_SUBDIR)/sed && \
35224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35226 "RANLIB=$${RANLIB}" \
35227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35228 dvi) \
35229 || exit 1
35231 @endif sed
35233 .PHONY: maybe-pdf-sed pdf-sed
35234 maybe-pdf-sed:
35235 @if sed
35236 maybe-pdf-sed: pdf-sed
35238 pdf-sed: \
35239 configure-sed
35240 @: $(MAKE); $(unstage)
35241 @[ -f ./sed/Makefile ] || exit 0; \
35242 r=`${PWD_COMMAND}`; export r; \
35243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35244 $(HOST_EXPORTS) \
35245 for flag in $(EXTRA_HOST_FLAGS) ; do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35247 done; \
35248 echo "Doing pdf in sed" ; \
35249 (cd $(HOST_SUBDIR)/sed && \
35250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35252 "RANLIB=$${RANLIB}" \
35253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35254 pdf) \
35255 || exit 1
35257 @endif sed
35259 .PHONY: maybe-html-sed html-sed
35260 maybe-html-sed:
35261 @if sed
35262 maybe-html-sed: html-sed
35264 html-sed: \
35265 configure-sed
35266 @: $(MAKE); $(unstage)
35267 @[ -f ./sed/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) ; do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing html in sed" ; \
35275 (cd $(HOST_SUBDIR)/sed && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35280 html) \
35281 || exit 1
35283 @endif sed
35285 .PHONY: maybe-TAGS-sed TAGS-sed
35286 maybe-TAGS-sed:
35287 @if sed
35288 maybe-TAGS-sed: TAGS-sed
35290 TAGS-sed: \
35291 configure-sed
35292 @: $(MAKE); $(unstage)
35293 @[ -f ./sed/Makefile ] || exit 0; \
35294 r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(HOST_EXPORTS) \
35297 for flag in $(EXTRA_HOST_FLAGS) ; do \
35298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35299 done; \
35300 echo "Doing TAGS in sed" ; \
35301 (cd $(HOST_SUBDIR)/sed && \
35302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35304 "RANLIB=$${RANLIB}" \
35305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35306 TAGS) \
35307 || exit 1
35309 @endif sed
35311 .PHONY: maybe-install-info-sed install-info-sed
35312 maybe-install-info-sed:
35313 @if sed
35314 maybe-install-info-sed: install-info-sed
35316 install-info-sed: \
35317 configure-sed \
35318 info-sed
35319 @: $(MAKE); $(unstage)
35320 @[ -f ./sed/Makefile ] || exit 0; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(HOST_EXPORTS) \
35324 for flag in $(EXTRA_HOST_FLAGS) ; do \
35325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35326 done; \
35327 echo "Doing install-info in sed" ; \
35328 (cd $(HOST_SUBDIR)/sed && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35333 install-info) \
35334 || exit 1
35336 @endif sed
35338 .PHONY: maybe-install-pdf-sed install-pdf-sed
35339 maybe-install-pdf-sed:
35340 @if sed
35341 maybe-install-pdf-sed: install-pdf-sed
35343 install-pdf-sed: \
35344 configure-sed \
35345 pdf-sed
35346 @: $(MAKE); $(unstage)
35347 @[ -f ./sed/Makefile ] || exit 0; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(HOST_EXPORTS) \
35351 for flag in $(EXTRA_HOST_FLAGS) ; do \
35352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35353 done; \
35354 echo "Doing install-pdf in sed" ; \
35355 (cd $(HOST_SUBDIR)/sed && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35360 install-pdf) \
35361 || exit 1
35363 @endif sed
35365 .PHONY: maybe-install-html-sed install-html-sed
35366 maybe-install-html-sed:
35367 @if sed
35368 maybe-install-html-sed: install-html-sed
35370 install-html-sed: \
35371 configure-sed \
35372 html-sed
35373 @: $(MAKE); $(unstage)
35374 @[ -f ./sed/Makefile ] || exit 0; \
35375 r=`${PWD_COMMAND}`; export r; \
35376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35377 $(HOST_EXPORTS) \
35378 for flag in $(EXTRA_HOST_FLAGS) ; do \
35379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35380 done; \
35381 echo "Doing install-html in sed" ; \
35382 (cd $(HOST_SUBDIR)/sed && \
35383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35385 "RANLIB=$${RANLIB}" \
35386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35387 install-html) \
35388 || exit 1
35390 @endif sed
35392 .PHONY: maybe-installcheck-sed installcheck-sed
35393 maybe-installcheck-sed:
35394 @if sed
35395 maybe-installcheck-sed: installcheck-sed
35397 installcheck-sed: \
35398 configure-sed
35399 @: $(MAKE); $(unstage)
35400 @[ -f ./sed/Makefile ] || exit 0; \
35401 r=`${PWD_COMMAND}`; export r; \
35402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35403 $(HOST_EXPORTS) \
35404 for flag in $(EXTRA_HOST_FLAGS) ; do \
35405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35406 done; \
35407 echo "Doing installcheck in sed" ; \
35408 (cd $(HOST_SUBDIR)/sed && \
35409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35411 "RANLIB=$${RANLIB}" \
35412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35413 installcheck) \
35414 || exit 1
35416 @endif sed
35418 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
35419 maybe-mostlyclean-sed:
35420 @if sed
35421 maybe-mostlyclean-sed: mostlyclean-sed
35423 mostlyclean-sed:
35424 @: $(MAKE); $(unstage)
35425 @[ -f ./sed/Makefile ] || exit 0; \
35426 r=`${PWD_COMMAND}`; export r; \
35427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35428 $(HOST_EXPORTS) \
35429 for flag in $(EXTRA_HOST_FLAGS) ; do \
35430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35431 done; \
35432 echo "Doing mostlyclean in sed" ; \
35433 (cd $(HOST_SUBDIR)/sed && \
35434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35436 "RANLIB=$${RANLIB}" \
35437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35438 mostlyclean) \
35439 || exit 1
35441 @endif sed
35443 .PHONY: maybe-clean-sed clean-sed
35444 maybe-clean-sed:
35445 @if sed
35446 maybe-clean-sed: clean-sed
35448 clean-sed:
35449 @: $(MAKE); $(unstage)
35450 @[ -f ./sed/Makefile ] || exit 0; \
35451 r=`${PWD_COMMAND}`; export r; \
35452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35453 $(HOST_EXPORTS) \
35454 for flag in $(EXTRA_HOST_FLAGS) ; do \
35455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 done; \
35457 echo "Doing clean in sed" ; \
35458 (cd $(HOST_SUBDIR)/sed && \
35459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35461 "RANLIB=$${RANLIB}" \
35462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35463 clean) \
35464 || exit 1
35466 @endif sed
35468 .PHONY: maybe-distclean-sed distclean-sed
35469 maybe-distclean-sed:
35470 @if sed
35471 maybe-distclean-sed: distclean-sed
35473 distclean-sed:
35474 @: $(MAKE); $(unstage)
35475 @[ -f ./sed/Makefile ] || exit 0; \
35476 r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(HOST_EXPORTS) \
35479 for flag in $(EXTRA_HOST_FLAGS) ; do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 echo "Doing distclean in sed" ; \
35483 (cd $(HOST_SUBDIR)/sed && \
35484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35486 "RANLIB=$${RANLIB}" \
35487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35488 distclean) \
35489 || exit 1
35491 @endif sed
35493 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
35494 maybe-maintainer-clean-sed:
35495 @if sed
35496 maybe-maintainer-clean-sed: maintainer-clean-sed
35498 maintainer-clean-sed:
35499 @: $(MAKE); $(unstage)
35500 @[ -f ./sed/Makefile ] || exit 0; \
35501 r=`${PWD_COMMAND}`; export r; \
35502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35503 $(HOST_EXPORTS) \
35504 for flag in $(EXTRA_HOST_FLAGS) ; do \
35505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35506 done; \
35507 echo "Doing maintainer-clean in sed" ; \
35508 (cd $(HOST_SUBDIR)/sed && \
35509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35511 "RANLIB=$${RANLIB}" \
35512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35513 maintainer-clean) \
35514 || exit 1
35516 @endif sed
35520 .PHONY: configure-send-pr maybe-configure-send-pr
35521 maybe-configure-send-pr:
35522 @if gcc-bootstrap
35523 configure-send-pr: stage_current
35524 @endif gcc-bootstrap
35525 @if send-pr
35526 maybe-configure-send-pr: configure-send-pr
35527 configure-send-pr:
35528 @: $(MAKE); $(unstage)
35529 @r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
35532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
35533 $(HOST_EXPORTS) \
35534 echo Configuring in $(HOST_SUBDIR)/send-pr; \
35535 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
35536 case $(srcdir) in \
35537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35538 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
35539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35540 esac; \
35541 srcdiroption="--srcdir=$${topdir}/send-pr"; \
35542 libsrcdir="$$s/send-pr"; \
35543 $(SHELL) $${libsrcdir}/configure \
35544 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35545 --target=${target_alias} $${srcdiroption} \
35546 || exit 1
35547 @endif send-pr
35553 .PHONY: all-send-pr maybe-all-send-pr
35554 maybe-all-send-pr:
35555 @if gcc-bootstrap
35556 all-send-pr: stage_current
35557 @endif gcc-bootstrap
35558 @if send-pr
35559 TARGET-send-pr=all
35560 maybe-all-send-pr: all-send-pr
35561 all-send-pr: configure-send-pr
35562 @: $(MAKE); $(unstage)
35563 @r=`${PWD_COMMAND}`; export r; \
35564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35565 $(HOST_EXPORTS) \
35566 (cd $(HOST_SUBDIR)/send-pr && \
35567 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35568 $(TARGET-send-pr))
35569 @endif send-pr
35574 .PHONY: check-send-pr maybe-check-send-pr
35575 maybe-check-send-pr:
35576 @if send-pr
35577 maybe-check-send-pr: check-send-pr
35579 check-send-pr:
35580 @: $(MAKE); $(unstage)
35581 @r=`${PWD_COMMAND}`; export r; \
35582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35583 $(HOST_EXPORTS) \
35584 (cd $(HOST_SUBDIR)/send-pr && \
35585 $(MAKE) $(FLAGS_TO_PASS) check)
35587 @endif send-pr
35589 .PHONY: install-send-pr maybe-install-send-pr
35590 maybe-install-send-pr:
35591 @if send-pr
35592 maybe-install-send-pr: install-send-pr
35594 install-send-pr: installdirs
35595 @: $(MAKE); $(unstage)
35596 @r=`${PWD_COMMAND}`; export r; \
35597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35598 $(HOST_EXPORTS) \
35599 (cd $(HOST_SUBDIR)/send-pr && \
35600 $(MAKE) $(FLAGS_TO_PASS) install)
35602 @endif send-pr
35604 # Other targets (info, dvi, pdf, etc.)
35606 .PHONY: maybe-info-send-pr info-send-pr
35607 maybe-info-send-pr:
35608 @if send-pr
35609 maybe-info-send-pr: info-send-pr
35611 info-send-pr: \
35612 configure-send-pr
35613 @: $(MAKE); $(unstage)
35614 @[ -f ./send-pr/Makefile ] || exit 0; \
35615 r=`${PWD_COMMAND}`; export r; \
35616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35617 $(HOST_EXPORTS) \
35618 for flag in $(EXTRA_HOST_FLAGS) ; do \
35619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35620 done; \
35621 echo "Doing info in send-pr" ; \
35622 (cd $(HOST_SUBDIR)/send-pr && \
35623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35625 "RANLIB=$${RANLIB}" \
35626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35627 info) \
35628 || exit 1
35630 @endif send-pr
35632 .PHONY: maybe-dvi-send-pr dvi-send-pr
35633 maybe-dvi-send-pr:
35634 @if send-pr
35635 maybe-dvi-send-pr: dvi-send-pr
35637 dvi-send-pr: \
35638 configure-send-pr
35639 @: $(MAKE); $(unstage)
35640 @[ -f ./send-pr/Makefile ] || exit 0; \
35641 r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(HOST_EXPORTS) \
35644 for flag in $(EXTRA_HOST_FLAGS) ; do \
35645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35646 done; \
35647 echo "Doing dvi in send-pr" ; \
35648 (cd $(HOST_SUBDIR)/send-pr && \
35649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35651 "RANLIB=$${RANLIB}" \
35652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35653 dvi) \
35654 || exit 1
35656 @endif send-pr
35658 .PHONY: maybe-pdf-send-pr pdf-send-pr
35659 maybe-pdf-send-pr:
35660 @if send-pr
35661 maybe-pdf-send-pr: pdf-send-pr
35663 pdf-send-pr: \
35664 configure-send-pr
35665 @: $(MAKE); $(unstage)
35666 @[ -f ./send-pr/Makefile ] || exit 0; \
35667 r=`${PWD_COMMAND}`; export r; \
35668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35669 $(HOST_EXPORTS) \
35670 for flag in $(EXTRA_HOST_FLAGS) ; do \
35671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35672 done; \
35673 echo "Doing pdf in send-pr" ; \
35674 (cd $(HOST_SUBDIR)/send-pr && \
35675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35677 "RANLIB=$${RANLIB}" \
35678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35679 pdf) \
35680 || exit 1
35682 @endif send-pr
35684 .PHONY: maybe-html-send-pr html-send-pr
35685 maybe-html-send-pr:
35686 @if send-pr
35687 maybe-html-send-pr: html-send-pr
35689 html-send-pr: \
35690 configure-send-pr
35691 @: $(MAKE); $(unstage)
35692 @[ -f ./send-pr/Makefile ] || exit 0; \
35693 r=`${PWD_COMMAND}`; export r; \
35694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35695 $(HOST_EXPORTS) \
35696 for flag in $(EXTRA_HOST_FLAGS) ; do \
35697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35698 done; \
35699 echo "Doing html in send-pr" ; \
35700 (cd $(HOST_SUBDIR)/send-pr && \
35701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35703 "RANLIB=$${RANLIB}" \
35704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35705 html) \
35706 || exit 1
35708 @endif send-pr
35710 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
35711 maybe-TAGS-send-pr:
35712 @if send-pr
35713 maybe-TAGS-send-pr: TAGS-send-pr
35715 TAGS-send-pr: \
35716 configure-send-pr
35717 @: $(MAKE); $(unstage)
35718 @[ -f ./send-pr/Makefile ] || exit 0; \
35719 r=`${PWD_COMMAND}`; export r; \
35720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35721 $(HOST_EXPORTS) \
35722 for flag in $(EXTRA_HOST_FLAGS) ; do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 echo "Doing TAGS in send-pr" ; \
35726 (cd $(HOST_SUBDIR)/send-pr && \
35727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35729 "RANLIB=$${RANLIB}" \
35730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35731 TAGS) \
35732 || exit 1
35734 @endif send-pr
35736 .PHONY: maybe-install-info-send-pr install-info-send-pr
35737 maybe-install-info-send-pr:
35738 @if send-pr
35739 maybe-install-info-send-pr: install-info-send-pr
35741 install-info-send-pr: \
35742 configure-send-pr \
35743 info-send-pr
35744 @: $(MAKE); $(unstage)
35745 @[ -f ./send-pr/Makefile ] || exit 0; \
35746 r=`${PWD_COMMAND}`; export r; \
35747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35748 $(HOST_EXPORTS) \
35749 for flag in $(EXTRA_HOST_FLAGS) ; do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 echo "Doing install-info in send-pr" ; \
35753 (cd $(HOST_SUBDIR)/send-pr && \
35754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35756 "RANLIB=$${RANLIB}" \
35757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35758 install-info) \
35759 || exit 1
35761 @endif send-pr
35763 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
35764 maybe-install-pdf-send-pr:
35765 @if send-pr
35766 maybe-install-pdf-send-pr: install-pdf-send-pr
35768 install-pdf-send-pr: \
35769 configure-send-pr \
35770 pdf-send-pr
35771 @: $(MAKE); $(unstage)
35772 @[ -f ./send-pr/Makefile ] || exit 0; \
35773 r=`${PWD_COMMAND}`; export r; \
35774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35775 $(HOST_EXPORTS) \
35776 for flag in $(EXTRA_HOST_FLAGS) ; do \
35777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35778 done; \
35779 echo "Doing install-pdf in send-pr" ; \
35780 (cd $(HOST_SUBDIR)/send-pr && \
35781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35783 "RANLIB=$${RANLIB}" \
35784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35785 install-pdf) \
35786 || exit 1
35788 @endif send-pr
35790 .PHONY: maybe-install-html-send-pr install-html-send-pr
35791 maybe-install-html-send-pr:
35792 @if send-pr
35793 maybe-install-html-send-pr: install-html-send-pr
35795 install-html-send-pr: \
35796 configure-send-pr \
35797 html-send-pr
35798 @: $(MAKE); $(unstage)
35799 @[ -f ./send-pr/Makefile ] || exit 0; \
35800 r=`${PWD_COMMAND}`; export r; \
35801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35802 $(HOST_EXPORTS) \
35803 for flag in $(EXTRA_HOST_FLAGS) ; do \
35804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35805 done; \
35806 echo "Doing install-html in send-pr" ; \
35807 (cd $(HOST_SUBDIR)/send-pr && \
35808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35810 "RANLIB=$${RANLIB}" \
35811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35812 install-html) \
35813 || exit 1
35815 @endif send-pr
35817 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
35818 maybe-installcheck-send-pr:
35819 @if send-pr
35820 maybe-installcheck-send-pr: installcheck-send-pr
35822 installcheck-send-pr: \
35823 configure-send-pr
35824 @: $(MAKE); $(unstage)
35825 @[ -f ./send-pr/Makefile ] || exit 0; \
35826 r=`${PWD_COMMAND}`; export r; \
35827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35828 $(HOST_EXPORTS) \
35829 for flag in $(EXTRA_HOST_FLAGS) ; do \
35830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35831 done; \
35832 echo "Doing installcheck in send-pr" ; \
35833 (cd $(HOST_SUBDIR)/send-pr && \
35834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35836 "RANLIB=$${RANLIB}" \
35837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35838 installcheck) \
35839 || exit 1
35841 @endif send-pr
35843 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
35844 maybe-mostlyclean-send-pr:
35845 @if send-pr
35846 maybe-mostlyclean-send-pr: mostlyclean-send-pr
35848 mostlyclean-send-pr:
35849 @: $(MAKE); $(unstage)
35850 @[ -f ./send-pr/Makefile ] || exit 0; \
35851 r=`${PWD_COMMAND}`; export r; \
35852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35853 $(HOST_EXPORTS) \
35854 for flag in $(EXTRA_HOST_FLAGS) ; do \
35855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35856 done; \
35857 echo "Doing mostlyclean in send-pr" ; \
35858 (cd $(HOST_SUBDIR)/send-pr && \
35859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35861 "RANLIB=$${RANLIB}" \
35862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35863 mostlyclean) \
35864 || exit 1
35866 @endif send-pr
35868 .PHONY: maybe-clean-send-pr clean-send-pr
35869 maybe-clean-send-pr:
35870 @if send-pr
35871 maybe-clean-send-pr: clean-send-pr
35873 clean-send-pr:
35874 @: $(MAKE); $(unstage)
35875 @[ -f ./send-pr/Makefile ] || exit 0; \
35876 r=`${PWD_COMMAND}`; export r; \
35877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35878 $(HOST_EXPORTS) \
35879 for flag in $(EXTRA_HOST_FLAGS) ; do \
35880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35881 done; \
35882 echo "Doing clean in send-pr" ; \
35883 (cd $(HOST_SUBDIR)/send-pr && \
35884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35886 "RANLIB=$${RANLIB}" \
35887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35888 clean) \
35889 || exit 1
35891 @endif send-pr
35893 .PHONY: maybe-distclean-send-pr distclean-send-pr
35894 maybe-distclean-send-pr:
35895 @if send-pr
35896 maybe-distclean-send-pr: distclean-send-pr
35898 distclean-send-pr:
35899 @: $(MAKE); $(unstage)
35900 @[ -f ./send-pr/Makefile ] || exit 0; \
35901 r=`${PWD_COMMAND}`; export r; \
35902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35903 $(HOST_EXPORTS) \
35904 for flag in $(EXTRA_HOST_FLAGS) ; do \
35905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35906 done; \
35907 echo "Doing distclean in send-pr" ; \
35908 (cd $(HOST_SUBDIR)/send-pr && \
35909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35911 "RANLIB=$${RANLIB}" \
35912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35913 distclean) \
35914 || exit 1
35916 @endif send-pr
35918 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
35919 maybe-maintainer-clean-send-pr:
35920 @if send-pr
35921 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
35923 maintainer-clean-send-pr:
35924 @: $(MAKE); $(unstage)
35925 @[ -f ./send-pr/Makefile ] || exit 0; \
35926 r=`${PWD_COMMAND}`; export r; \
35927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35928 $(HOST_EXPORTS) \
35929 for flag in $(EXTRA_HOST_FLAGS) ; do \
35930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35931 done; \
35932 echo "Doing maintainer-clean in send-pr" ; \
35933 (cd $(HOST_SUBDIR)/send-pr && \
35934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35936 "RANLIB=$${RANLIB}" \
35937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35938 maintainer-clean) \
35939 || exit 1
35941 @endif send-pr
35945 .PHONY: configure-shellutils maybe-configure-shellutils
35946 maybe-configure-shellutils:
35947 @if gcc-bootstrap
35948 configure-shellutils: stage_current
35949 @endif gcc-bootstrap
35950 @if shellutils
35951 maybe-configure-shellutils: configure-shellutils
35952 configure-shellutils:
35953 @: $(MAKE); $(unstage)
35954 @r=`${PWD_COMMAND}`; export r; \
35955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35956 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
35957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
35958 $(HOST_EXPORTS) \
35959 echo Configuring in $(HOST_SUBDIR)/shellutils; \
35960 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
35961 case $(srcdir) in \
35962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35963 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
35964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35965 esac; \
35966 srcdiroption="--srcdir=$${topdir}/shellutils"; \
35967 libsrcdir="$$s/shellutils"; \
35968 $(SHELL) $${libsrcdir}/configure \
35969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35970 --target=${target_alias} $${srcdiroption} \
35971 || exit 1
35972 @endif shellutils
35978 .PHONY: all-shellutils maybe-all-shellutils
35979 maybe-all-shellutils:
35980 @if gcc-bootstrap
35981 all-shellutils: stage_current
35982 @endif gcc-bootstrap
35983 @if shellutils
35984 TARGET-shellutils=all
35985 maybe-all-shellutils: all-shellutils
35986 all-shellutils: configure-shellutils
35987 @: $(MAKE); $(unstage)
35988 @r=`${PWD_COMMAND}`; export r; \
35989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35990 $(HOST_EXPORTS) \
35991 (cd $(HOST_SUBDIR)/shellutils && \
35992 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35993 $(TARGET-shellutils))
35994 @endif shellutils
35999 .PHONY: check-shellutils maybe-check-shellutils
36000 maybe-check-shellutils:
36001 @if shellutils
36002 maybe-check-shellutils: check-shellutils
36004 check-shellutils:
36005 @: $(MAKE); $(unstage)
36006 @r=`${PWD_COMMAND}`; export r; \
36007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36008 $(HOST_EXPORTS) \
36009 (cd $(HOST_SUBDIR)/shellutils && \
36010 $(MAKE) $(FLAGS_TO_PASS) check)
36012 @endif shellutils
36014 .PHONY: install-shellutils maybe-install-shellutils
36015 maybe-install-shellutils:
36016 @if shellutils
36017 maybe-install-shellutils: install-shellutils
36019 install-shellutils: installdirs
36020 @: $(MAKE); $(unstage)
36021 @r=`${PWD_COMMAND}`; export r; \
36022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36023 $(HOST_EXPORTS) \
36024 (cd $(HOST_SUBDIR)/shellutils && \
36025 $(MAKE) $(FLAGS_TO_PASS) install)
36027 @endif shellutils
36029 # Other targets (info, dvi, pdf, etc.)
36031 .PHONY: maybe-info-shellutils info-shellutils
36032 maybe-info-shellutils:
36033 @if shellutils
36034 maybe-info-shellutils: info-shellutils
36036 info-shellutils: \
36037 configure-shellutils
36038 @: $(MAKE); $(unstage)
36039 @[ -f ./shellutils/Makefile ] || exit 0; \
36040 r=`${PWD_COMMAND}`; export r; \
36041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36042 $(HOST_EXPORTS) \
36043 for flag in $(EXTRA_HOST_FLAGS) ; do \
36044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36045 done; \
36046 echo "Doing info in shellutils" ; \
36047 (cd $(HOST_SUBDIR)/shellutils && \
36048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36050 "RANLIB=$${RANLIB}" \
36051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36052 info) \
36053 || exit 1
36055 @endif shellutils
36057 .PHONY: maybe-dvi-shellutils dvi-shellutils
36058 maybe-dvi-shellutils:
36059 @if shellutils
36060 maybe-dvi-shellutils: dvi-shellutils
36062 dvi-shellutils: \
36063 configure-shellutils
36064 @: $(MAKE); $(unstage)
36065 @[ -f ./shellutils/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 dvi in shellutils" ; \
36073 (cd $(HOST_SUBDIR)/shellutils && \
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 dvi) \
36079 || exit 1
36081 @endif shellutils
36083 .PHONY: maybe-pdf-shellutils pdf-shellutils
36084 maybe-pdf-shellutils:
36085 @if shellutils
36086 maybe-pdf-shellutils: pdf-shellutils
36088 pdf-shellutils: \
36089 configure-shellutils
36090 @: $(MAKE); $(unstage)
36091 @[ -f ./shellutils/Makefile ] || exit 0; \
36092 r=`${PWD_COMMAND}`; export r; \
36093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36094 $(HOST_EXPORTS) \
36095 for flag in $(EXTRA_HOST_FLAGS) ; do \
36096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36097 done; \
36098 echo "Doing pdf in shellutils" ; \
36099 (cd $(HOST_SUBDIR)/shellutils && \
36100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36102 "RANLIB=$${RANLIB}" \
36103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36104 pdf) \
36105 || exit 1
36107 @endif shellutils
36109 .PHONY: maybe-html-shellutils html-shellutils
36110 maybe-html-shellutils:
36111 @if shellutils
36112 maybe-html-shellutils: html-shellutils
36114 html-shellutils: \
36115 configure-shellutils
36116 @: $(MAKE); $(unstage)
36117 @[ -f ./shellutils/Makefile ] || exit 0; \
36118 r=`${PWD_COMMAND}`; export r; \
36119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36120 $(HOST_EXPORTS) \
36121 for flag in $(EXTRA_HOST_FLAGS) ; do \
36122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36123 done; \
36124 echo "Doing html in shellutils" ; \
36125 (cd $(HOST_SUBDIR)/shellutils && \
36126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36128 "RANLIB=$${RANLIB}" \
36129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36130 html) \
36131 || exit 1
36133 @endif shellutils
36135 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
36136 maybe-TAGS-shellutils:
36137 @if shellutils
36138 maybe-TAGS-shellutils: TAGS-shellutils
36140 TAGS-shellutils: \
36141 configure-shellutils
36142 @: $(MAKE); $(unstage)
36143 @[ -f ./shellutils/Makefile ] || exit 0; \
36144 r=`${PWD_COMMAND}`; export r; \
36145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36146 $(HOST_EXPORTS) \
36147 for flag in $(EXTRA_HOST_FLAGS) ; do \
36148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36149 done; \
36150 echo "Doing TAGS in shellutils" ; \
36151 (cd $(HOST_SUBDIR)/shellutils && \
36152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36154 "RANLIB=$${RANLIB}" \
36155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36156 TAGS) \
36157 || exit 1
36159 @endif shellutils
36161 .PHONY: maybe-install-info-shellutils install-info-shellutils
36162 maybe-install-info-shellutils:
36163 @if shellutils
36164 maybe-install-info-shellutils: install-info-shellutils
36166 install-info-shellutils: \
36167 configure-shellutils \
36168 info-shellutils
36169 @: $(MAKE); $(unstage)
36170 @[ -f ./shellutils/Makefile ] || exit 0; \
36171 r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 $(HOST_EXPORTS) \
36174 for flag in $(EXTRA_HOST_FLAGS) ; do \
36175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36176 done; \
36177 echo "Doing install-info in shellutils" ; \
36178 (cd $(HOST_SUBDIR)/shellutils && \
36179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36181 "RANLIB=$${RANLIB}" \
36182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36183 install-info) \
36184 || exit 1
36186 @endif shellutils
36188 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
36189 maybe-install-pdf-shellutils:
36190 @if shellutils
36191 maybe-install-pdf-shellutils: install-pdf-shellutils
36193 install-pdf-shellutils: \
36194 configure-shellutils \
36195 pdf-shellutils
36196 @: $(MAKE); $(unstage)
36197 @[ -f ./shellutils/Makefile ] || exit 0; \
36198 r=`${PWD_COMMAND}`; export r; \
36199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36200 $(HOST_EXPORTS) \
36201 for flag in $(EXTRA_HOST_FLAGS) ; do \
36202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36203 done; \
36204 echo "Doing install-pdf in shellutils" ; \
36205 (cd $(HOST_SUBDIR)/shellutils && \
36206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36208 "RANLIB=$${RANLIB}" \
36209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36210 install-pdf) \
36211 || exit 1
36213 @endif shellutils
36215 .PHONY: maybe-install-html-shellutils install-html-shellutils
36216 maybe-install-html-shellutils:
36217 @if shellutils
36218 maybe-install-html-shellutils: install-html-shellutils
36220 install-html-shellutils: \
36221 configure-shellutils \
36222 html-shellutils
36223 @: $(MAKE); $(unstage)
36224 @[ -f ./shellutils/Makefile ] || exit 0; \
36225 r=`${PWD_COMMAND}`; export r; \
36226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36227 $(HOST_EXPORTS) \
36228 for flag in $(EXTRA_HOST_FLAGS) ; do \
36229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36230 done; \
36231 echo "Doing install-html in shellutils" ; \
36232 (cd $(HOST_SUBDIR)/shellutils && \
36233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36235 "RANLIB=$${RANLIB}" \
36236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36237 install-html) \
36238 || exit 1
36240 @endif shellutils
36242 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
36243 maybe-installcheck-shellutils:
36244 @if shellutils
36245 maybe-installcheck-shellutils: installcheck-shellutils
36247 installcheck-shellutils: \
36248 configure-shellutils
36249 @: $(MAKE); $(unstage)
36250 @[ -f ./shellutils/Makefile ] || exit 0; \
36251 r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(HOST_EXPORTS) \
36254 for flag in $(EXTRA_HOST_FLAGS) ; do \
36255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36256 done; \
36257 echo "Doing installcheck in shellutils" ; \
36258 (cd $(HOST_SUBDIR)/shellutils && \
36259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36261 "RANLIB=$${RANLIB}" \
36262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36263 installcheck) \
36264 || exit 1
36266 @endif shellutils
36268 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
36269 maybe-mostlyclean-shellutils:
36270 @if shellutils
36271 maybe-mostlyclean-shellutils: mostlyclean-shellutils
36273 mostlyclean-shellutils:
36274 @: $(MAKE); $(unstage)
36275 @[ -f ./shellutils/Makefile ] || exit 0; \
36276 r=`${PWD_COMMAND}`; export r; \
36277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36278 $(HOST_EXPORTS) \
36279 for flag in $(EXTRA_HOST_FLAGS) ; do \
36280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36281 done; \
36282 echo "Doing mostlyclean in shellutils" ; \
36283 (cd $(HOST_SUBDIR)/shellutils && \
36284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36286 "RANLIB=$${RANLIB}" \
36287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36288 mostlyclean) \
36289 || exit 1
36291 @endif shellutils
36293 .PHONY: maybe-clean-shellutils clean-shellutils
36294 maybe-clean-shellutils:
36295 @if shellutils
36296 maybe-clean-shellutils: clean-shellutils
36298 clean-shellutils:
36299 @: $(MAKE); $(unstage)
36300 @[ -f ./shellutils/Makefile ] || exit 0; \
36301 r=`${PWD_COMMAND}`; export r; \
36302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36303 $(HOST_EXPORTS) \
36304 for flag in $(EXTRA_HOST_FLAGS) ; do \
36305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36306 done; \
36307 echo "Doing clean in shellutils" ; \
36308 (cd $(HOST_SUBDIR)/shellutils && \
36309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36311 "RANLIB=$${RANLIB}" \
36312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36313 clean) \
36314 || exit 1
36316 @endif shellutils
36318 .PHONY: maybe-distclean-shellutils distclean-shellutils
36319 maybe-distclean-shellutils:
36320 @if shellutils
36321 maybe-distclean-shellutils: distclean-shellutils
36323 distclean-shellutils:
36324 @: $(MAKE); $(unstage)
36325 @[ -f ./shellutils/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 distclean in shellutils" ; \
36333 (cd $(HOST_SUBDIR)/shellutils && \
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 distclean) \
36339 || exit 1
36341 @endif shellutils
36343 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
36344 maybe-maintainer-clean-shellutils:
36345 @if shellutils
36346 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
36348 maintainer-clean-shellutils:
36349 @: $(MAKE); $(unstage)
36350 @[ -f ./shellutils/Makefile ] || exit 0; \
36351 r=`${PWD_COMMAND}`; export r; \
36352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36353 $(HOST_EXPORTS) \
36354 for flag in $(EXTRA_HOST_FLAGS) ; do \
36355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36356 done; \
36357 echo "Doing maintainer-clean in shellutils" ; \
36358 (cd $(HOST_SUBDIR)/shellutils && \
36359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36361 "RANLIB=$${RANLIB}" \
36362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36363 maintainer-clean) \
36364 || exit 1
36366 @endif shellutils
36370 .PHONY: configure-sid maybe-configure-sid
36371 maybe-configure-sid:
36372 @if gcc-bootstrap
36373 configure-sid: stage_current
36374 @endif gcc-bootstrap
36375 @if sid
36376 maybe-configure-sid: configure-sid
36377 configure-sid:
36378 @: $(MAKE); $(unstage)
36379 @r=`${PWD_COMMAND}`; export r; \
36380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36381 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
36382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
36383 $(HOST_EXPORTS) \
36384 echo Configuring in $(HOST_SUBDIR)/sid; \
36385 cd "$(HOST_SUBDIR)/sid" || exit 1; \
36386 case $(srcdir) in \
36387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36388 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
36389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36390 esac; \
36391 srcdiroption="--srcdir=$${topdir}/sid"; \
36392 libsrcdir="$$s/sid"; \
36393 $(SHELL) $${libsrcdir}/configure \
36394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36395 --target=${target_alias} $${srcdiroption} \
36396 || exit 1
36397 @endif sid
36403 .PHONY: all-sid maybe-all-sid
36404 maybe-all-sid:
36405 @if gcc-bootstrap
36406 all-sid: stage_current
36407 @endif gcc-bootstrap
36408 @if sid
36409 TARGET-sid=all
36410 maybe-all-sid: all-sid
36411 all-sid: configure-sid
36412 @: $(MAKE); $(unstage)
36413 @r=`${PWD_COMMAND}`; export r; \
36414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36415 $(HOST_EXPORTS) \
36416 (cd $(HOST_SUBDIR)/sid && \
36417 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36418 $(TARGET-sid))
36419 @endif sid
36424 .PHONY: check-sid maybe-check-sid
36425 maybe-check-sid:
36426 @if sid
36427 maybe-check-sid: check-sid
36429 check-sid:
36430 @: $(MAKE); $(unstage)
36431 @r=`${PWD_COMMAND}`; export r; \
36432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36433 $(HOST_EXPORTS) \
36434 (cd $(HOST_SUBDIR)/sid && \
36435 $(MAKE) $(FLAGS_TO_PASS) check)
36437 @endif sid
36439 .PHONY: install-sid maybe-install-sid
36440 maybe-install-sid:
36441 @if sid
36442 maybe-install-sid: install-sid
36444 install-sid: installdirs
36445 @: $(MAKE); $(unstage)
36446 @r=`${PWD_COMMAND}`; export r; \
36447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36448 $(HOST_EXPORTS) \
36449 (cd $(HOST_SUBDIR)/sid && \
36450 $(MAKE) $(FLAGS_TO_PASS) install)
36452 @endif sid
36454 # Other targets (info, dvi, pdf, etc.)
36456 .PHONY: maybe-info-sid info-sid
36457 maybe-info-sid:
36458 @if sid
36459 maybe-info-sid: info-sid
36461 info-sid: \
36462 configure-sid
36463 @: $(MAKE); $(unstage)
36464 @[ -f ./sid/Makefile ] || exit 0; \
36465 r=`${PWD_COMMAND}`; export r; \
36466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36467 $(HOST_EXPORTS) \
36468 for flag in $(EXTRA_HOST_FLAGS) ; do \
36469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36470 done; \
36471 echo "Doing info in sid" ; \
36472 (cd $(HOST_SUBDIR)/sid && \
36473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36475 "RANLIB=$${RANLIB}" \
36476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36477 info) \
36478 || exit 1
36480 @endif sid
36482 .PHONY: maybe-dvi-sid dvi-sid
36483 maybe-dvi-sid:
36484 @if sid
36485 maybe-dvi-sid: dvi-sid
36487 dvi-sid: \
36488 configure-sid
36489 @: $(MAKE); $(unstage)
36490 @[ -f ./sid/Makefile ] || exit 0; \
36491 r=`${PWD_COMMAND}`; export r; \
36492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36493 $(HOST_EXPORTS) \
36494 for flag in $(EXTRA_HOST_FLAGS) ; do \
36495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36496 done; \
36497 echo "Doing dvi in sid" ; \
36498 (cd $(HOST_SUBDIR)/sid && \
36499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36501 "RANLIB=$${RANLIB}" \
36502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36503 dvi) \
36504 || exit 1
36506 @endif sid
36508 .PHONY: maybe-pdf-sid pdf-sid
36509 maybe-pdf-sid:
36510 @if sid
36511 maybe-pdf-sid: pdf-sid
36513 pdf-sid: \
36514 configure-sid
36515 @: $(MAKE); $(unstage)
36516 @[ -f ./sid/Makefile ] || exit 0; \
36517 r=`${PWD_COMMAND}`; export r; \
36518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36519 $(HOST_EXPORTS) \
36520 for flag in $(EXTRA_HOST_FLAGS) ; do \
36521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36522 done; \
36523 echo "Doing pdf in sid" ; \
36524 (cd $(HOST_SUBDIR)/sid && \
36525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36527 "RANLIB=$${RANLIB}" \
36528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36529 pdf) \
36530 || exit 1
36532 @endif sid
36534 .PHONY: maybe-html-sid html-sid
36535 maybe-html-sid:
36536 @if sid
36537 maybe-html-sid: html-sid
36539 html-sid: \
36540 configure-sid
36541 @: $(MAKE); $(unstage)
36542 @[ -f ./sid/Makefile ] || exit 0; \
36543 r=`${PWD_COMMAND}`; export r; \
36544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36545 $(HOST_EXPORTS) \
36546 for flag in $(EXTRA_HOST_FLAGS) ; do \
36547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36548 done; \
36549 echo "Doing html in sid" ; \
36550 (cd $(HOST_SUBDIR)/sid && \
36551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36553 "RANLIB=$${RANLIB}" \
36554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36555 html) \
36556 || exit 1
36558 @endif sid
36560 .PHONY: maybe-TAGS-sid TAGS-sid
36561 maybe-TAGS-sid:
36562 @if sid
36563 maybe-TAGS-sid: TAGS-sid
36565 TAGS-sid: \
36566 configure-sid
36567 @: $(MAKE); $(unstage)
36568 @[ -f ./sid/Makefile ] || exit 0; \
36569 r=`${PWD_COMMAND}`; export r; \
36570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36571 $(HOST_EXPORTS) \
36572 for flag in $(EXTRA_HOST_FLAGS) ; do \
36573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36574 done; \
36575 echo "Doing TAGS in sid" ; \
36576 (cd $(HOST_SUBDIR)/sid && \
36577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36579 "RANLIB=$${RANLIB}" \
36580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36581 TAGS) \
36582 || exit 1
36584 @endif sid
36586 .PHONY: maybe-install-info-sid install-info-sid
36587 maybe-install-info-sid:
36588 @if sid
36589 maybe-install-info-sid: install-info-sid
36591 install-info-sid: \
36592 configure-sid \
36593 info-sid
36594 @: $(MAKE); $(unstage)
36595 @[ -f ./sid/Makefile ] || exit 0; \
36596 r=`${PWD_COMMAND}`; export r; \
36597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36598 $(HOST_EXPORTS) \
36599 for flag in $(EXTRA_HOST_FLAGS) ; do \
36600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36601 done; \
36602 echo "Doing install-info in sid" ; \
36603 (cd $(HOST_SUBDIR)/sid && \
36604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36606 "RANLIB=$${RANLIB}" \
36607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36608 install-info) \
36609 || exit 1
36611 @endif sid
36613 .PHONY: maybe-install-pdf-sid install-pdf-sid
36614 maybe-install-pdf-sid:
36615 @if sid
36616 maybe-install-pdf-sid: install-pdf-sid
36618 install-pdf-sid: \
36619 configure-sid \
36620 pdf-sid
36621 @: $(MAKE); $(unstage)
36622 @[ -f ./sid/Makefile ] || exit 0; \
36623 r=`${PWD_COMMAND}`; export r; \
36624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36625 $(HOST_EXPORTS) \
36626 for flag in $(EXTRA_HOST_FLAGS) ; do \
36627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36628 done; \
36629 echo "Doing install-pdf in sid" ; \
36630 (cd $(HOST_SUBDIR)/sid && \
36631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36633 "RANLIB=$${RANLIB}" \
36634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36635 install-pdf) \
36636 || exit 1
36638 @endif sid
36640 .PHONY: maybe-install-html-sid install-html-sid
36641 maybe-install-html-sid:
36642 @if sid
36643 maybe-install-html-sid: install-html-sid
36645 install-html-sid: \
36646 configure-sid \
36647 html-sid
36648 @: $(MAKE); $(unstage)
36649 @[ -f ./sid/Makefile ] || exit 0; \
36650 r=`${PWD_COMMAND}`; export r; \
36651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36652 $(HOST_EXPORTS) \
36653 for flag in $(EXTRA_HOST_FLAGS) ; do \
36654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36655 done; \
36656 echo "Doing install-html in sid" ; \
36657 (cd $(HOST_SUBDIR)/sid && \
36658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36660 "RANLIB=$${RANLIB}" \
36661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36662 install-html) \
36663 || exit 1
36665 @endif sid
36667 .PHONY: maybe-installcheck-sid installcheck-sid
36668 maybe-installcheck-sid:
36669 @if sid
36670 maybe-installcheck-sid: installcheck-sid
36672 installcheck-sid: \
36673 configure-sid
36674 @: $(MAKE); $(unstage)
36675 @[ -f ./sid/Makefile ] || exit 0; \
36676 r=`${PWD_COMMAND}`; export r; \
36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36678 $(HOST_EXPORTS) \
36679 for flag in $(EXTRA_HOST_FLAGS) ; do \
36680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36681 done; \
36682 echo "Doing installcheck in sid" ; \
36683 (cd $(HOST_SUBDIR)/sid && \
36684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36686 "RANLIB=$${RANLIB}" \
36687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36688 installcheck) \
36689 || exit 1
36691 @endif sid
36693 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
36694 maybe-mostlyclean-sid:
36695 @if sid
36696 maybe-mostlyclean-sid: mostlyclean-sid
36698 mostlyclean-sid:
36699 @: $(MAKE); $(unstage)
36700 @[ -f ./sid/Makefile ] || exit 0; \
36701 r=`${PWD_COMMAND}`; export r; \
36702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36703 $(HOST_EXPORTS) \
36704 for flag in $(EXTRA_HOST_FLAGS) ; do \
36705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36706 done; \
36707 echo "Doing mostlyclean in sid" ; \
36708 (cd $(HOST_SUBDIR)/sid && \
36709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36711 "RANLIB=$${RANLIB}" \
36712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36713 mostlyclean) \
36714 || exit 1
36716 @endif sid
36718 .PHONY: maybe-clean-sid clean-sid
36719 maybe-clean-sid:
36720 @if sid
36721 maybe-clean-sid: clean-sid
36723 clean-sid:
36724 @: $(MAKE); $(unstage)
36725 @[ -f ./sid/Makefile ] || exit 0; \
36726 r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 $(HOST_EXPORTS) \
36729 for flag in $(EXTRA_HOST_FLAGS) ; do \
36730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36731 done; \
36732 echo "Doing clean in sid" ; \
36733 (cd $(HOST_SUBDIR)/sid && \
36734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36736 "RANLIB=$${RANLIB}" \
36737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36738 clean) \
36739 || exit 1
36741 @endif sid
36743 .PHONY: maybe-distclean-sid distclean-sid
36744 maybe-distclean-sid:
36745 @if sid
36746 maybe-distclean-sid: distclean-sid
36748 distclean-sid:
36749 @: $(MAKE); $(unstage)
36750 @[ -f ./sid/Makefile ] || exit 0; \
36751 r=`${PWD_COMMAND}`; export r; \
36752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36753 $(HOST_EXPORTS) \
36754 for flag in $(EXTRA_HOST_FLAGS) ; do \
36755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36756 done; \
36757 echo "Doing distclean in sid" ; \
36758 (cd $(HOST_SUBDIR)/sid && \
36759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36761 "RANLIB=$${RANLIB}" \
36762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36763 distclean) \
36764 || exit 1
36766 @endif sid
36768 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
36769 maybe-maintainer-clean-sid:
36770 @if sid
36771 maybe-maintainer-clean-sid: maintainer-clean-sid
36773 maintainer-clean-sid:
36774 @: $(MAKE); $(unstage)
36775 @[ -f ./sid/Makefile ] || exit 0; \
36776 r=`${PWD_COMMAND}`; export r; \
36777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36778 $(HOST_EXPORTS) \
36779 for flag in $(EXTRA_HOST_FLAGS) ; do \
36780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36781 done; \
36782 echo "Doing maintainer-clean in sid" ; \
36783 (cd $(HOST_SUBDIR)/sid && \
36784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36786 "RANLIB=$${RANLIB}" \
36787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36788 maintainer-clean) \
36789 || exit 1
36791 @endif sid
36795 .PHONY: configure-sim maybe-configure-sim
36796 maybe-configure-sim:
36797 @if gcc-bootstrap
36798 configure-sim: stage_current
36799 @endif gcc-bootstrap
36800 @if sim
36801 maybe-configure-sim: configure-sim
36802 configure-sim:
36803 @: $(MAKE); $(unstage)
36804 @r=`${PWD_COMMAND}`; export r; \
36805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36806 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
36807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
36808 $(HOST_EXPORTS) \
36809 echo Configuring in $(HOST_SUBDIR)/sim; \
36810 cd "$(HOST_SUBDIR)/sim" || exit 1; \
36811 case $(srcdir) in \
36812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36813 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
36814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36815 esac; \
36816 srcdiroption="--srcdir=$${topdir}/sim"; \
36817 libsrcdir="$$s/sim"; \
36818 $(SHELL) $${libsrcdir}/configure \
36819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36820 --target=${target_alias} $${srcdiroption} \
36821 || exit 1
36822 @endif sim
36828 .PHONY: all-sim maybe-all-sim
36829 maybe-all-sim:
36830 @if gcc-bootstrap
36831 all-sim: stage_current
36832 @endif gcc-bootstrap
36833 @if sim
36834 TARGET-sim=all
36835 maybe-all-sim: all-sim
36836 all-sim: configure-sim
36837 @: $(MAKE); $(unstage)
36838 @r=`${PWD_COMMAND}`; export r; \
36839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36840 $(HOST_EXPORTS) \
36841 (cd $(HOST_SUBDIR)/sim && \
36842 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36843 $(TARGET-sim))
36844 @endif sim
36849 .PHONY: check-sim maybe-check-sim
36850 maybe-check-sim:
36851 @if sim
36852 maybe-check-sim: check-sim
36854 check-sim:
36855 @: $(MAKE); $(unstage)
36856 @r=`${PWD_COMMAND}`; export r; \
36857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36858 $(HOST_EXPORTS) \
36859 (cd $(HOST_SUBDIR)/sim && \
36860 $(MAKE) $(FLAGS_TO_PASS) check)
36862 @endif sim
36864 .PHONY: install-sim maybe-install-sim
36865 maybe-install-sim:
36866 @if sim
36867 maybe-install-sim: install-sim
36869 install-sim: installdirs
36870 @: $(MAKE); $(unstage)
36871 @r=`${PWD_COMMAND}`; export r; \
36872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36873 $(HOST_EXPORTS) \
36874 (cd $(HOST_SUBDIR)/sim && \
36875 $(MAKE) $(FLAGS_TO_PASS) install)
36877 @endif sim
36879 # Other targets (info, dvi, pdf, etc.)
36881 .PHONY: maybe-info-sim info-sim
36882 maybe-info-sim:
36883 @if sim
36884 maybe-info-sim: info-sim
36886 info-sim: \
36887 configure-sim
36888 @: $(MAKE); $(unstage)
36889 @[ -f ./sim/Makefile ] || exit 0; \
36890 r=`${PWD_COMMAND}`; export r; \
36891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36892 $(HOST_EXPORTS) \
36893 for flag in $(EXTRA_HOST_FLAGS) ; do \
36894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36895 done; \
36896 echo "Doing info in sim" ; \
36897 (cd $(HOST_SUBDIR)/sim && \
36898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36900 "RANLIB=$${RANLIB}" \
36901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36902 info) \
36903 || exit 1
36905 @endif sim
36907 .PHONY: maybe-dvi-sim dvi-sim
36908 maybe-dvi-sim:
36909 @if sim
36910 maybe-dvi-sim: dvi-sim
36912 dvi-sim: \
36913 configure-sim
36914 @: $(MAKE); $(unstage)
36915 @[ -f ./sim/Makefile ] || exit 0; \
36916 r=`${PWD_COMMAND}`; export r; \
36917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36918 $(HOST_EXPORTS) \
36919 for flag in $(EXTRA_HOST_FLAGS) ; do \
36920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36921 done; \
36922 echo "Doing dvi in sim" ; \
36923 (cd $(HOST_SUBDIR)/sim && \
36924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36926 "RANLIB=$${RANLIB}" \
36927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36928 dvi) \
36929 || exit 1
36931 @endif sim
36933 .PHONY: maybe-pdf-sim pdf-sim
36934 maybe-pdf-sim:
36935 @if sim
36936 maybe-pdf-sim: pdf-sim
36938 pdf-sim: \
36939 configure-sim
36940 @: $(MAKE); $(unstage)
36941 @[ -f ./sim/Makefile ] || exit 0; \
36942 r=`${PWD_COMMAND}`; export r; \
36943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36944 $(HOST_EXPORTS) \
36945 for flag in $(EXTRA_HOST_FLAGS) ; do \
36946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36947 done; \
36948 echo "Doing pdf in sim" ; \
36949 (cd $(HOST_SUBDIR)/sim && \
36950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36952 "RANLIB=$${RANLIB}" \
36953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36954 pdf) \
36955 || exit 1
36957 @endif sim
36959 .PHONY: maybe-html-sim html-sim
36960 maybe-html-sim:
36961 @if sim
36962 maybe-html-sim: html-sim
36964 html-sim: \
36965 configure-sim
36966 @: $(MAKE); $(unstage)
36967 @[ -f ./sim/Makefile ] || exit 0; \
36968 r=`${PWD_COMMAND}`; export r; \
36969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36970 $(HOST_EXPORTS) \
36971 for flag in $(EXTRA_HOST_FLAGS) ; do \
36972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36973 done; \
36974 echo "Doing html in sim" ; \
36975 (cd $(HOST_SUBDIR)/sim && \
36976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36978 "RANLIB=$${RANLIB}" \
36979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36980 html) \
36981 || exit 1
36983 @endif sim
36985 .PHONY: maybe-TAGS-sim TAGS-sim
36986 maybe-TAGS-sim:
36987 @if sim
36988 maybe-TAGS-sim: TAGS-sim
36990 TAGS-sim: \
36991 configure-sim
36992 @: $(MAKE); $(unstage)
36993 @[ -f ./sim/Makefile ] || exit 0; \
36994 r=`${PWD_COMMAND}`; export r; \
36995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36996 $(HOST_EXPORTS) \
36997 for flag in $(EXTRA_HOST_FLAGS) ; do \
36998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36999 done; \
37000 echo "Doing TAGS in sim" ; \
37001 (cd $(HOST_SUBDIR)/sim && \
37002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37004 "RANLIB=$${RANLIB}" \
37005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37006 TAGS) \
37007 || exit 1
37009 @endif sim
37011 .PHONY: maybe-install-info-sim install-info-sim
37012 maybe-install-info-sim:
37013 @if sim
37014 maybe-install-info-sim: install-info-sim
37016 install-info-sim: \
37017 configure-sim \
37018 info-sim
37019 @: $(MAKE); $(unstage)
37020 @[ -f ./sim/Makefile ] || exit 0; \
37021 r=`${PWD_COMMAND}`; export r; \
37022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37023 $(HOST_EXPORTS) \
37024 for flag in $(EXTRA_HOST_FLAGS) ; do \
37025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37026 done; \
37027 echo "Doing install-info in sim" ; \
37028 (cd $(HOST_SUBDIR)/sim && \
37029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37031 "RANLIB=$${RANLIB}" \
37032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37033 install-info) \
37034 || exit 1
37036 @endif sim
37038 .PHONY: maybe-install-pdf-sim install-pdf-sim
37039 maybe-install-pdf-sim:
37040 @if sim
37041 maybe-install-pdf-sim: install-pdf-sim
37043 install-pdf-sim: \
37044 configure-sim \
37045 pdf-sim
37046 @: $(MAKE); $(unstage)
37047 @[ -f ./sim/Makefile ] || exit 0; \
37048 r=`${PWD_COMMAND}`; export r; \
37049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37050 $(HOST_EXPORTS) \
37051 for flag in $(EXTRA_HOST_FLAGS) ; do \
37052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37053 done; \
37054 echo "Doing install-pdf in sim" ; \
37055 (cd $(HOST_SUBDIR)/sim && \
37056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37058 "RANLIB=$${RANLIB}" \
37059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37060 install-pdf) \
37061 || exit 1
37063 @endif sim
37065 .PHONY: maybe-install-html-sim install-html-sim
37066 maybe-install-html-sim:
37067 @if sim
37068 maybe-install-html-sim: install-html-sim
37070 install-html-sim: \
37071 configure-sim \
37072 html-sim
37073 @: $(MAKE); $(unstage)
37074 @[ -f ./sim/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 install-html in sim" ; \
37082 (cd $(HOST_SUBDIR)/sim && \
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 install-html) \
37088 || exit 1
37090 @endif sim
37092 .PHONY: maybe-installcheck-sim installcheck-sim
37093 maybe-installcheck-sim:
37094 @if sim
37095 maybe-installcheck-sim: installcheck-sim
37097 installcheck-sim: \
37098 configure-sim
37099 @: $(MAKE); $(unstage)
37100 @[ -f ./sim/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 installcheck in sim" ; \
37108 (cd $(HOST_SUBDIR)/sim && \
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 installcheck) \
37114 || exit 1
37116 @endif sim
37118 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
37119 maybe-mostlyclean-sim:
37120 @if sim
37121 maybe-mostlyclean-sim: mostlyclean-sim
37123 mostlyclean-sim:
37124 @: $(MAKE); $(unstage)
37125 @[ -f ./sim/Makefile ] || exit 0; \
37126 r=`${PWD_COMMAND}`; export r; \
37127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37128 $(HOST_EXPORTS) \
37129 for flag in $(EXTRA_HOST_FLAGS) ; do \
37130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37131 done; \
37132 echo "Doing mostlyclean in sim" ; \
37133 (cd $(HOST_SUBDIR)/sim && \
37134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37136 "RANLIB=$${RANLIB}" \
37137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37138 mostlyclean) \
37139 || exit 1
37141 @endif sim
37143 .PHONY: maybe-clean-sim clean-sim
37144 maybe-clean-sim:
37145 @if sim
37146 maybe-clean-sim: clean-sim
37148 clean-sim:
37149 @: $(MAKE); $(unstage)
37150 @[ -f ./sim/Makefile ] || exit 0; \
37151 r=`${PWD_COMMAND}`; export r; \
37152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37153 $(HOST_EXPORTS) \
37154 for flag in $(EXTRA_HOST_FLAGS) ; do \
37155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37156 done; \
37157 echo "Doing clean in sim" ; \
37158 (cd $(HOST_SUBDIR)/sim && \
37159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37161 "RANLIB=$${RANLIB}" \
37162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37163 clean) \
37164 || exit 1
37166 @endif sim
37168 .PHONY: maybe-distclean-sim distclean-sim
37169 maybe-distclean-sim:
37170 @if sim
37171 maybe-distclean-sim: distclean-sim
37173 distclean-sim:
37174 @: $(MAKE); $(unstage)
37175 @[ -f ./sim/Makefile ] || exit 0; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(HOST_EXPORTS) \
37179 for flag in $(EXTRA_HOST_FLAGS) ; do \
37180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37181 done; \
37182 echo "Doing distclean in sim" ; \
37183 (cd $(HOST_SUBDIR)/sim && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37188 distclean) \
37189 || exit 1
37191 @endif sim
37193 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
37194 maybe-maintainer-clean-sim:
37195 @if sim
37196 maybe-maintainer-clean-sim: maintainer-clean-sim
37198 maintainer-clean-sim:
37199 @: $(MAKE); $(unstage)
37200 @[ -f ./sim/Makefile ] || exit 0; \
37201 r=`${PWD_COMMAND}`; export r; \
37202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37203 $(HOST_EXPORTS) \
37204 for flag in $(EXTRA_HOST_FLAGS) ; do \
37205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37206 done; \
37207 echo "Doing maintainer-clean in sim" ; \
37208 (cd $(HOST_SUBDIR)/sim && \
37209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37211 "RANLIB=$${RANLIB}" \
37212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37213 maintainer-clean) \
37214 || exit 1
37216 @endif sim
37220 .PHONY: configure-tar maybe-configure-tar
37221 maybe-configure-tar:
37222 @if gcc-bootstrap
37223 configure-tar: stage_current
37224 @endif gcc-bootstrap
37225 @if tar
37226 maybe-configure-tar: configure-tar
37227 configure-tar:
37228 @: $(MAKE); $(unstage)
37229 @r=`${PWD_COMMAND}`; export r; \
37230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37231 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
37232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
37233 $(HOST_EXPORTS) \
37234 echo Configuring in $(HOST_SUBDIR)/tar; \
37235 cd "$(HOST_SUBDIR)/tar" || exit 1; \
37236 case $(srcdir) in \
37237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37238 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
37239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37240 esac; \
37241 srcdiroption="--srcdir=$${topdir}/tar"; \
37242 libsrcdir="$$s/tar"; \
37243 $(SHELL) $${libsrcdir}/configure \
37244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37245 --target=${target_alias} $${srcdiroption} \
37246 || exit 1
37247 @endif tar
37253 .PHONY: all-tar maybe-all-tar
37254 maybe-all-tar:
37255 @if gcc-bootstrap
37256 all-tar: stage_current
37257 @endif gcc-bootstrap
37258 @if tar
37259 TARGET-tar=all
37260 maybe-all-tar: all-tar
37261 all-tar: configure-tar
37262 @: $(MAKE); $(unstage)
37263 @r=`${PWD_COMMAND}`; export r; \
37264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37265 $(HOST_EXPORTS) \
37266 (cd $(HOST_SUBDIR)/tar && \
37267 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37268 $(TARGET-tar))
37269 @endif tar
37274 .PHONY: check-tar maybe-check-tar
37275 maybe-check-tar:
37276 @if tar
37277 maybe-check-tar: check-tar
37279 check-tar:
37280 @: $(MAKE); $(unstage)
37281 @r=`${PWD_COMMAND}`; export r; \
37282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37283 $(HOST_EXPORTS) \
37284 (cd $(HOST_SUBDIR)/tar && \
37285 $(MAKE) $(FLAGS_TO_PASS) check)
37287 @endif tar
37289 .PHONY: install-tar maybe-install-tar
37290 maybe-install-tar:
37291 @if tar
37292 maybe-install-tar: install-tar
37294 install-tar: installdirs
37295 @: $(MAKE); $(unstage)
37296 @r=`${PWD_COMMAND}`; export r; \
37297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37298 $(HOST_EXPORTS) \
37299 (cd $(HOST_SUBDIR)/tar && \
37300 $(MAKE) $(FLAGS_TO_PASS) install)
37302 @endif tar
37304 # Other targets (info, dvi, pdf, etc.)
37306 .PHONY: maybe-info-tar info-tar
37307 maybe-info-tar:
37308 @if tar
37309 maybe-info-tar: info-tar
37311 info-tar: \
37312 configure-tar
37313 @: $(MAKE); $(unstage)
37314 @[ -f ./tar/Makefile ] || exit 0; \
37315 r=`${PWD_COMMAND}`; export r; \
37316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37317 $(HOST_EXPORTS) \
37318 for flag in $(EXTRA_HOST_FLAGS) ; do \
37319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37320 done; \
37321 echo "Doing info in tar" ; \
37322 (cd $(HOST_SUBDIR)/tar && \
37323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37325 "RANLIB=$${RANLIB}" \
37326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37327 info) \
37328 || exit 1
37330 @endif tar
37332 .PHONY: maybe-dvi-tar dvi-tar
37333 maybe-dvi-tar:
37334 @if tar
37335 maybe-dvi-tar: dvi-tar
37337 dvi-tar: \
37338 configure-tar
37339 @: $(MAKE); $(unstage)
37340 @[ -f ./tar/Makefile ] || exit 0; \
37341 r=`${PWD_COMMAND}`; export r; \
37342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37343 $(HOST_EXPORTS) \
37344 for flag in $(EXTRA_HOST_FLAGS) ; do \
37345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37346 done; \
37347 echo "Doing dvi in tar" ; \
37348 (cd $(HOST_SUBDIR)/tar && \
37349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37351 "RANLIB=$${RANLIB}" \
37352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37353 dvi) \
37354 || exit 1
37356 @endif tar
37358 .PHONY: maybe-pdf-tar pdf-tar
37359 maybe-pdf-tar:
37360 @if tar
37361 maybe-pdf-tar: pdf-tar
37363 pdf-tar: \
37364 configure-tar
37365 @: $(MAKE); $(unstage)
37366 @[ -f ./tar/Makefile ] || exit 0; \
37367 r=`${PWD_COMMAND}`; export r; \
37368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37369 $(HOST_EXPORTS) \
37370 for flag in $(EXTRA_HOST_FLAGS) ; do \
37371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37372 done; \
37373 echo "Doing pdf in tar" ; \
37374 (cd $(HOST_SUBDIR)/tar && \
37375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37377 "RANLIB=$${RANLIB}" \
37378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37379 pdf) \
37380 || exit 1
37382 @endif tar
37384 .PHONY: maybe-html-tar html-tar
37385 maybe-html-tar:
37386 @if tar
37387 maybe-html-tar: html-tar
37389 html-tar: \
37390 configure-tar
37391 @: $(MAKE); $(unstage)
37392 @[ -f ./tar/Makefile ] || exit 0; \
37393 r=`${PWD_COMMAND}`; export r; \
37394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37395 $(HOST_EXPORTS) \
37396 for flag in $(EXTRA_HOST_FLAGS) ; do \
37397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37398 done; \
37399 echo "Doing html in tar" ; \
37400 (cd $(HOST_SUBDIR)/tar && \
37401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37403 "RANLIB=$${RANLIB}" \
37404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37405 html) \
37406 || exit 1
37408 @endif tar
37410 .PHONY: maybe-TAGS-tar TAGS-tar
37411 maybe-TAGS-tar:
37412 @if tar
37413 maybe-TAGS-tar: TAGS-tar
37415 TAGS-tar: \
37416 configure-tar
37417 @: $(MAKE); $(unstage)
37418 @[ -f ./tar/Makefile ] || exit 0; \
37419 r=`${PWD_COMMAND}`; export r; \
37420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37421 $(HOST_EXPORTS) \
37422 for flag in $(EXTRA_HOST_FLAGS) ; do \
37423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37424 done; \
37425 echo "Doing TAGS in tar" ; \
37426 (cd $(HOST_SUBDIR)/tar && \
37427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37429 "RANLIB=$${RANLIB}" \
37430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37431 TAGS) \
37432 || exit 1
37434 @endif tar
37436 .PHONY: maybe-install-info-tar install-info-tar
37437 maybe-install-info-tar:
37438 @if tar
37439 maybe-install-info-tar: install-info-tar
37441 install-info-tar: \
37442 configure-tar \
37443 info-tar
37444 @: $(MAKE); $(unstage)
37445 @[ -f ./tar/Makefile ] || exit 0; \
37446 r=`${PWD_COMMAND}`; export r; \
37447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37448 $(HOST_EXPORTS) \
37449 for flag in $(EXTRA_HOST_FLAGS) ; do \
37450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37451 done; \
37452 echo "Doing install-info in tar" ; \
37453 (cd $(HOST_SUBDIR)/tar && \
37454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37456 "RANLIB=$${RANLIB}" \
37457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37458 install-info) \
37459 || exit 1
37461 @endif tar
37463 .PHONY: maybe-install-pdf-tar install-pdf-tar
37464 maybe-install-pdf-tar:
37465 @if tar
37466 maybe-install-pdf-tar: install-pdf-tar
37468 install-pdf-tar: \
37469 configure-tar \
37470 pdf-tar
37471 @: $(MAKE); $(unstage)
37472 @[ -f ./tar/Makefile ] || exit 0; \
37473 r=`${PWD_COMMAND}`; export r; \
37474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37475 $(HOST_EXPORTS) \
37476 for flag in $(EXTRA_HOST_FLAGS) ; do \
37477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37478 done; \
37479 echo "Doing install-pdf in tar" ; \
37480 (cd $(HOST_SUBDIR)/tar && \
37481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37483 "RANLIB=$${RANLIB}" \
37484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37485 install-pdf) \
37486 || exit 1
37488 @endif tar
37490 .PHONY: maybe-install-html-tar install-html-tar
37491 maybe-install-html-tar:
37492 @if tar
37493 maybe-install-html-tar: install-html-tar
37495 install-html-tar: \
37496 configure-tar \
37497 html-tar
37498 @: $(MAKE); $(unstage)
37499 @[ -f ./tar/Makefile ] || exit 0; \
37500 r=`${PWD_COMMAND}`; export r; \
37501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37502 $(HOST_EXPORTS) \
37503 for flag in $(EXTRA_HOST_FLAGS) ; do \
37504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37505 done; \
37506 echo "Doing install-html in tar" ; \
37507 (cd $(HOST_SUBDIR)/tar && \
37508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37510 "RANLIB=$${RANLIB}" \
37511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37512 install-html) \
37513 || exit 1
37515 @endif tar
37517 .PHONY: maybe-installcheck-tar installcheck-tar
37518 maybe-installcheck-tar:
37519 @if tar
37520 maybe-installcheck-tar: installcheck-tar
37522 installcheck-tar: \
37523 configure-tar
37524 @: $(MAKE); $(unstage)
37525 @[ -f ./tar/Makefile ] || exit 0; \
37526 r=`${PWD_COMMAND}`; export r; \
37527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37528 $(HOST_EXPORTS) \
37529 for flag in $(EXTRA_HOST_FLAGS) ; do \
37530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37531 done; \
37532 echo "Doing installcheck in tar" ; \
37533 (cd $(HOST_SUBDIR)/tar && \
37534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37536 "RANLIB=$${RANLIB}" \
37537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37538 installcheck) \
37539 || exit 1
37541 @endif tar
37543 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
37544 maybe-mostlyclean-tar:
37545 @if tar
37546 maybe-mostlyclean-tar: mostlyclean-tar
37548 mostlyclean-tar:
37549 @: $(MAKE); $(unstage)
37550 @[ -f ./tar/Makefile ] || exit 0; \
37551 r=`${PWD_COMMAND}`; export r; \
37552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37553 $(HOST_EXPORTS) \
37554 for flag in $(EXTRA_HOST_FLAGS) ; do \
37555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37556 done; \
37557 echo "Doing mostlyclean in tar" ; \
37558 (cd $(HOST_SUBDIR)/tar && \
37559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37561 "RANLIB=$${RANLIB}" \
37562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37563 mostlyclean) \
37564 || exit 1
37566 @endif tar
37568 .PHONY: maybe-clean-tar clean-tar
37569 maybe-clean-tar:
37570 @if tar
37571 maybe-clean-tar: clean-tar
37573 clean-tar:
37574 @: $(MAKE); $(unstage)
37575 @[ -f ./tar/Makefile ] || exit 0; \
37576 r=`${PWD_COMMAND}`; export r; \
37577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37578 $(HOST_EXPORTS) \
37579 for flag in $(EXTRA_HOST_FLAGS) ; do \
37580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37581 done; \
37582 echo "Doing clean in tar" ; \
37583 (cd $(HOST_SUBDIR)/tar && \
37584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37586 "RANLIB=$${RANLIB}" \
37587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37588 clean) \
37589 || exit 1
37591 @endif tar
37593 .PHONY: maybe-distclean-tar distclean-tar
37594 maybe-distclean-tar:
37595 @if tar
37596 maybe-distclean-tar: distclean-tar
37598 distclean-tar:
37599 @: $(MAKE); $(unstage)
37600 @[ -f ./tar/Makefile ] || exit 0; \
37601 r=`${PWD_COMMAND}`; export r; \
37602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37603 $(HOST_EXPORTS) \
37604 for flag in $(EXTRA_HOST_FLAGS) ; do \
37605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37606 done; \
37607 echo "Doing distclean in tar" ; \
37608 (cd $(HOST_SUBDIR)/tar && \
37609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37611 "RANLIB=$${RANLIB}" \
37612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37613 distclean) \
37614 || exit 1
37616 @endif tar
37618 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
37619 maybe-maintainer-clean-tar:
37620 @if tar
37621 maybe-maintainer-clean-tar: maintainer-clean-tar
37623 maintainer-clean-tar:
37624 @: $(MAKE); $(unstage)
37625 @[ -f ./tar/Makefile ] || exit 0; \
37626 r=`${PWD_COMMAND}`; export r; \
37627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37628 $(HOST_EXPORTS) \
37629 for flag in $(EXTRA_HOST_FLAGS) ; do \
37630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37631 done; \
37632 echo "Doing maintainer-clean in tar" ; \
37633 (cd $(HOST_SUBDIR)/tar && \
37634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37636 "RANLIB=$${RANLIB}" \
37637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37638 maintainer-clean) \
37639 || exit 1
37641 @endif tar
37645 .PHONY: configure-texinfo maybe-configure-texinfo
37646 maybe-configure-texinfo:
37647 @if gcc-bootstrap
37648 configure-texinfo: stage_current
37649 @endif gcc-bootstrap
37650 @if texinfo
37651 maybe-configure-texinfo: configure-texinfo
37652 configure-texinfo:
37653 @: $(MAKE); $(unstage)
37654 @r=`${PWD_COMMAND}`; export r; \
37655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37656 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
37657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
37658 $(HOST_EXPORTS) \
37659 echo Configuring in $(HOST_SUBDIR)/texinfo; \
37660 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
37661 case $(srcdir) in \
37662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37663 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
37664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37665 esac; \
37666 srcdiroption="--srcdir=$${topdir}/texinfo"; \
37667 libsrcdir="$$s/texinfo"; \
37668 $(SHELL) $${libsrcdir}/configure \
37669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37670 --target=${target_alias} $${srcdiroption} \
37671 || exit 1
37672 @endif texinfo
37678 .PHONY: all-texinfo maybe-all-texinfo
37679 maybe-all-texinfo:
37680 @if gcc-bootstrap
37681 all-texinfo: stage_current
37682 @endif gcc-bootstrap
37683 @if texinfo
37684 TARGET-texinfo=all
37685 maybe-all-texinfo: all-texinfo
37686 all-texinfo: configure-texinfo
37687 @: $(MAKE); $(unstage)
37688 @r=`${PWD_COMMAND}`; export r; \
37689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37690 $(HOST_EXPORTS) \
37691 (cd $(HOST_SUBDIR)/texinfo && \
37692 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37693 $(TARGET-texinfo))
37694 @endif texinfo
37699 .PHONY: check-texinfo maybe-check-texinfo
37700 maybe-check-texinfo:
37701 @if texinfo
37702 maybe-check-texinfo: check-texinfo
37704 check-texinfo:
37705 @: $(MAKE); $(unstage)
37706 @r=`${PWD_COMMAND}`; export r; \
37707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37708 $(HOST_EXPORTS) \
37709 (cd $(HOST_SUBDIR)/texinfo && \
37710 $(MAKE) $(FLAGS_TO_PASS) check)
37712 @endif texinfo
37714 .PHONY: install-texinfo maybe-install-texinfo
37715 maybe-install-texinfo:
37716 @if texinfo
37717 maybe-install-texinfo: install-texinfo
37719 install-texinfo:
37721 @endif texinfo
37723 # Other targets (info, dvi, pdf, etc.)
37725 .PHONY: maybe-info-texinfo info-texinfo
37726 maybe-info-texinfo:
37727 @if texinfo
37728 maybe-info-texinfo: info-texinfo
37730 info-texinfo: \
37731 configure-texinfo
37732 @: $(MAKE); $(unstage)
37733 @[ -f ./texinfo/Makefile ] || exit 0; \
37734 r=`${PWD_COMMAND}`; export r; \
37735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37736 $(HOST_EXPORTS) \
37737 for flag in $(EXTRA_HOST_FLAGS) ; do \
37738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37739 done; \
37740 echo "Doing info in texinfo" ; \
37741 (cd $(HOST_SUBDIR)/texinfo && \
37742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37744 "RANLIB=$${RANLIB}" \
37745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37746 info) \
37747 || exit 1
37749 @endif texinfo
37751 .PHONY: maybe-dvi-texinfo dvi-texinfo
37752 maybe-dvi-texinfo:
37753 @if texinfo
37754 maybe-dvi-texinfo: dvi-texinfo
37756 dvi-texinfo: \
37757 configure-texinfo
37758 @: $(MAKE); $(unstage)
37759 @[ -f ./texinfo/Makefile ] || exit 0; \
37760 r=`${PWD_COMMAND}`; export r; \
37761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37762 $(HOST_EXPORTS) \
37763 for flag in $(EXTRA_HOST_FLAGS) ; do \
37764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37765 done; \
37766 echo "Doing dvi in texinfo" ; \
37767 (cd $(HOST_SUBDIR)/texinfo && \
37768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37770 "RANLIB=$${RANLIB}" \
37771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37772 dvi) \
37773 || exit 1
37775 @endif texinfo
37777 .PHONY: maybe-pdf-texinfo pdf-texinfo
37778 maybe-pdf-texinfo:
37779 @if texinfo
37780 maybe-pdf-texinfo: pdf-texinfo
37782 pdf-texinfo: \
37783 configure-texinfo
37784 @: $(MAKE); $(unstage)
37785 @[ -f ./texinfo/Makefile ] || exit 0; \
37786 r=`${PWD_COMMAND}`; export r; \
37787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37788 $(HOST_EXPORTS) \
37789 for flag in $(EXTRA_HOST_FLAGS) ; do \
37790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37791 done; \
37792 echo "Doing pdf in texinfo" ; \
37793 (cd $(HOST_SUBDIR)/texinfo && \
37794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37796 "RANLIB=$${RANLIB}" \
37797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37798 pdf) \
37799 || exit 1
37801 @endif texinfo
37803 .PHONY: maybe-html-texinfo html-texinfo
37804 maybe-html-texinfo:
37805 @if texinfo
37806 maybe-html-texinfo: html-texinfo
37808 html-texinfo: \
37809 configure-texinfo
37810 @: $(MAKE); $(unstage)
37811 @[ -f ./texinfo/Makefile ] || exit 0; \
37812 r=`${PWD_COMMAND}`; export r; \
37813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37814 $(HOST_EXPORTS) \
37815 for flag in $(EXTRA_HOST_FLAGS) ; do \
37816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37817 done; \
37818 echo "Doing html in texinfo" ; \
37819 (cd $(HOST_SUBDIR)/texinfo && \
37820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37822 "RANLIB=$${RANLIB}" \
37823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37824 html) \
37825 || exit 1
37827 @endif texinfo
37829 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
37830 maybe-TAGS-texinfo:
37831 @if texinfo
37832 maybe-TAGS-texinfo: TAGS-texinfo
37834 TAGS-texinfo: \
37835 configure-texinfo
37836 @: $(MAKE); $(unstage)
37837 @[ -f ./texinfo/Makefile ] || exit 0; \
37838 r=`${PWD_COMMAND}`; export r; \
37839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37840 $(HOST_EXPORTS) \
37841 for flag in $(EXTRA_HOST_FLAGS) ; do \
37842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37843 done; \
37844 echo "Doing TAGS in texinfo" ; \
37845 (cd $(HOST_SUBDIR)/texinfo && \
37846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37848 "RANLIB=$${RANLIB}" \
37849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37850 TAGS) \
37851 || exit 1
37853 @endif texinfo
37855 .PHONY: maybe-install-info-texinfo install-info-texinfo
37856 maybe-install-info-texinfo:
37857 @if texinfo
37858 maybe-install-info-texinfo: install-info-texinfo
37860 install-info-texinfo: \
37861 configure-texinfo \
37862 info-texinfo
37863 @: $(MAKE); $(unstage)
37864 @[ -f ./texinfo/Makefile ] || exit 0; \
37865 r=`${PWD_COMMAND}`; export r; \
37866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37867 $(HOST_EXPORTS) \
37868 for flag in $(EXTRA_HOST_FLAGS) ; do \
37869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37870 done; \
37871 echo "Doing install-info in texinfo" ; \
37872 (cd $(HOST_SUBDIR)/texinfo && \
37873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37875 "RANLIB=$${RANLIB}" \
37876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37877 install-info) \
37878 || exit 1
37880 @endif texinfo
37882 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
37883 maybe-install-pdf-texinfo:
37884 @if texinfo
37885 maybe-install-pdf-texinfo: install-pdf-texinfo
37887 install-pdf-texinfo: \
37888 configure-texinfo \
37889 pdf-texinfo
37890 @: $(MAKE); $(unstage)
37891 @[ -f ./texinfo/Makefile ] || exit 0; \
37892 r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(HOST_EXPORTS) \
37895 for flag in $(EXTRA_HOST_FLAGS) ; do \
37896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37897 done; \
37898 echo "Doing install-pdf in texinfo" ; \
37899 (cd $(HOST_SUBDIR)/texinfo && \
37900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37902 "RANLIB=$${RANLIB}" \
37903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37904 install-pdf) \
37905 || exit 1
37907 @endif texinfo
37909 .PHONY: maybe-install-html-texinfo install-html-texinfo
37910 maybe-install-html-texinfo:
37911 @if texinfo
37912 maybe-install-html-texinfo: install-html-texinfo
37914 install-html-texinfo: \
37915 configure-texinfo \
37916 html-texinfo
37917 @: $(MAKE); $(unstage)
37918 @[ -f ./texinfo/Makefile ] || exit 0; \
37919 r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 $(HOST_EXPORTS) \
37922 for flag in $(EXTRA_HOST_FLAGS) ; do \
37923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37924 done; \
37925 echo "Doing install-html in texinfo" ; \
37926 (cd $(HOST_SUBDIR)/texinfo && \
37927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37929 "RANLIB=$${RANLIB}" \
37930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37931 install-html) \
37932 || exit 1
37934 @endif texinfo
37936 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
37937 maybe-installcheck-texinfo:
37938 @if texinfo
37939 maybe-installcheck-texinfo: installcheck-texinfo
37941 installcheck-texinfo: \
37942 configure-texinfo
37943 @: $(MAKE); $(unstage)
37944 @[ -f ./texinfo/Makefile ] || exit 0; \
37945 r=`${PWD_COMMAND}`; export r; \
37946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37947 $(HOST_EXPORTS) \
37948 for flag in $(EXTRA_HOST_FLAGS) ; do \
37949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37950 done; \
37951 echo "Doing installcheck in texinfo" ; \
37952 (cd $(HOST_SUBDIR)/texinfo && \
37953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37955 "RANLIB=$${RANLIB}" \
37956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37957 installcheck) \
37958 || exit 1
37960 @endif texinfo
37962 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
37963 maybe-mostlyclean-texinfo:
37964 @if texinfo
37965 maybe-mostlyclean-texinfo: mostlyclean-texinfo
37967 mostlyclean-texinfo:
37968 @: $(MAKE); $(unstage)
37969 @[ -f ./texinfo/Makefile ] || exit 0; \
37970 r=`${PWD_COMMAND}`; export r; \
37971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37972 $(HOST_EXPORTS) \
37973 for flag in $(EXTRA_HOST_FLAGS) ; do \
37974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37975 done; \
37976 echo "Doing mostlyclean in texinfo" ; \
37977 (cd $(HOST_SUBDIR)/texinfo && \
37978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37980 "RANLIB=$${RANLIB}" \
37981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37982 mostlyclean) \
37983 || exit 1
37985 @endif texinfo
37987 .PHONY: maybe-clean-texinfo clean-texinfo
37988 maybe-clean-texinfo:
37989 @if texinfo
37990 maybe-clean-texinfo: clean-texinfo
37992 clean-texinfo:
37993 @: $(MAKE); $(unstage)
37994 @[ -f ./texinfo/Makefile ] || exit 0; \
37995 r=`${PWD_COMMAND}`; export r; \
37996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37997 $(HOST_EXPORTS) \
37998 for flag in $(EXTRA_HOST_FLAGS) ; do \
37999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38000 done; \
38001 echo "Doing clean in texinfo" ; \
38002 (cd $(HOST_SUBDIR)/texinfo && \
38003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38005 "RANLIB=$${RANLIB}" \
38006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38007 clean) \
38008 || exit 1
38010 @endif texinfo
38012 .PHONY: maybe-distclean-texinfo distclean-texinfo
38013 maybe-distclean-texinfo:
38014 @if texinfo
38015 maybe-distclean-texinfo: distclean-texinfo
38017 distclean-texinfo:
38018 @: $(MAKE); $(unstage)
38019 @[ -f ./texinfo/Makefile ] || exit 0; \
38020 r=`${PWD_COMMAND}`; export r; \
38021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38022 $(HOST_EXPORTS) \
38023 for flag in $(EXTRA_HOST_FLAGS) ; do \
38024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38025 done; \
38026 echo "Doing distclean in texinfo" ; \
38027 (cd $(HOST_SUBDIR)/texinfo && \
38028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38030 "RANLIB=$${RANLIB}" \
38031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38032 distclean) \
38033 || exit 1
38035 @endif texinfo
38037 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
38038 maybe-maintainer-clean-texinfo:
38039 @if texinfo
38040 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
38042 maintainer-clean-texinfo:
38043 @: $(MAKE); $(unstage)
38044 @[ -f ./texinfo/Makefile ] || exit 0; \
38045 r=`${PWD_COMMAND}`; export r; \
38046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38047 $(HOST_EXPORTS) \
38048 for flag in $(EXTRA_HOST_FLAGS) ; do \
38049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38050 done; \
38051 echo "Doing maintainer-clean in texinfo" ; \
38052 (cd $(HOST_SUBDIR)/texinfo && \
38053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38055 "RANLIB=$${RANLIB}" \
38056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38057 maintainer-clean) \
38058 || exit 1
38060 @endif texinfo
38064 .PHONY: configure-textutils maybe-configure-textutils
38065 maybe-configure-textutils:
38066 @if gcc-bootstrap
38067 configure-textutils: stage_current
38068 @endif gcc-bootstrap
38069 @if textutils
38070 maybe-configure-textutils: configure-textutils
38071 configure-textutils:
38072 @: $(MAKE); $(unstage)
38073 @r=`${PWD_COMMAND}`; export r; \
38074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38075 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
38076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
38077 $(HOST_EXPORTS) \
38078 echo Configuring in $(HOST_SUBDIR)/textutils; \
38079 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
38080 case $(srcdir) in \
38081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38082 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
38083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38084 esac; \
38085 srcdiroption="--srcdir=$${topdir}/textutils"; \
38086 libsrcdir="$$s/textutils"; \
38087 $(SHELL) $${libsrcdir}/configure \
38088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38089 --target=${target_alias} $${srcdiroption} \
38090 || exit 1
38091 @endif textutils
38097 .PHONY: all-textutils maybe-all-textutils
38098 maybe-all-textutils:
38099 @if gcc-bootstrap
38100 all-textutils: stage_current
38101 @endif gcc-bootstrap
38102 @if textutils
38103 TARGET-textutils=all
38104 maybe-all-textutils: all-textutils
38105 all-textutils: configure-textutils
38106 @: $(MAKE); $(unstage)
38107 @r=`${PWD_COMMAND}`; export r; \
38108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38109 $(HOST_EXPORTS) \
38110 (cd $(HOST_SUBDIR)/textutils && \
38111 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38112 $(TARGET-textutils))
38113 @endif textutils
38118 .PHONY: check-textutils maybe-check-textutils
38119 maybe-check-textutils:
38120 @if textutils
38121 maybe-check-textutils: check-textutils
38123 check-textutils:
38124 @: $(MAKE); $(unstage)
38125 @r=`${PWD_COMMAND}`; export r; \
38126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38127 $(HOST_EXPORTS) \
38128 (cd $(HOST_SUBDIR)/textutils && \
38129 $(MAKE) $(FLAGS_TO_PASS) check)
38131 @endif textutils
38133 .PHONY: install-textutils maybe-install-textutils
38134 maybe-install-textutils:
38135 @if textutils
38136 maybe-install-textutils: install-textutils
38138 install-textutils: installdirs
38139 @: $(MAKE); $(unstage)
38140 @r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 $(HOST_EXPORTS) \
38143 (cd $(HOST_SUBDIR)/textutils && \
38144 $(MAKE) $(FLAGS_TO_PASS) install)
38146 @endif textutils
38148 # Other targets (info, dvi, pdf, etc.)
38150 .PHONY: maybe-info-textutils info-textutils
38151 maybe-info-textutils:
38152 @if textutils
38153 maybe-info-textutils: info-textutils
38155 info-textutils: \
38156 configure-textutils
38157 @: $(MAKE); $(unstage)
38158 @[ -f ./textutils/Makefile ] || exit 0; \
38159 r=`${PWD_COMMAND}`; export r; \
38160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38161 $(HOST_EXPORTS) \
38162 for flag in $(EXTRA_HOST_FLAGS) ; do \
38163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38164 done; \
38165 echo "Doing info in textutils" ; \
38166 (cd $(HOST_SUBDIR)/textutils && \
38167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38169 "RANLIB=$${RANLIB}" \
38170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38171 info) \
38172 || exit 1
38174 @endif textutils
38176 .PHONY: maybe-dvi-textutils dvi-textutils
38177 maybe-dvi-textutils:
38178 @if textutils
38179 maybe-dvi-textutils: dvi-textutils
38181 dvi-textutils: \
38182 configure-textutils
38183 @: $(MAKE); $(unstage)
38184 @[ -f ./textutils/Makefile ] || exit 0; \
38185 r=`${PWD_COMMAND}`; export r; \
38186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38187 $(HOST_EXPORTS) \
38188 for flag in $(EXTRA_HOST_FLAGS) ; do \
38189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38190 done; \
38191 echo "Doing dvi in textutils" ; \
38192 (cd $(HOST_SUBDIR)/textutils && \
38193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38195 "RANLIB=$${RANLIB}" \
38196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38197 dvi) \
38198 || exit 1
38200 @endif textutils
38202 .PHONY: maybe-pdf-textutils pdf-textutils
38203 maybe-pdf-textutils:
38204 @if textutils
38205 maybe-pdf-textutils: pdf-textutils
38207 pdf-textutils: \
38208 configure-textutils
38209 @: $(MAKE); $(unstage)
38210 @[ -f ./textutils/Makefile ] || exit 0; \
38211 r=`${PWD_COMMAND}`; export r; \
38212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38213 $(HOST_EXPORTS) \
38214 for flag in $(EXTRA_HOST_FLAGS) ; do \
38215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38216 done; \
38217 echo "Doing pdf in textutils" ; \
38218 (cd $(HOST_SUBDIR)/textutils && \
38219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38221 "RANLIB=$${RANLIB}" \
38222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38223 pdf) \
38224 || exit 1
38226 @endif textutils
38228 .PHONY: maybe-html-textutils html-textutils
38229 maybe-html-textutils:
38230 @if textutils
38231 maybe-html-textutils: html-textutils
38233 html-textutils: \
38234 configure-textutils
38235 @: $(MAKE); $(unstage)
38236 @[ -f ./textutils/Makefile ] || exit 0; \
38237 r=`${PWD_COMMAND}`; export r; \
38238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38239 $(HOST_EXPORTS) \
38240 for flag in $(EXTRA_HOST_FLAGS) ; do \
38241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38242 done; \
38243 echo "Doing html in textutils" ; \
38244 (cd $(HOST_SUBDIR)/textutils && \
38245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38247 "RANLIB=$${RANLIB}" \
38248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38249 html) \
38250 || exit 1
38252 @endif textutils
38254 .PHONY: maybe-TAGS-textutils TAGS-textutils
38255 maybe-TAGS-textutils:
38256 @if textutils
38257 maybe-TAGS-textutils: TAGS-textutils
38259 TAGS-textutils: \
38260 configure-textutils
38261 @: $(MAKE); $(unstage)
38262 @[ -f ./textutils/Makefile ] || exit 0; \
38263 r=`${PWD_COMMAND}`; export r; \
38264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38265 $(HOST_EXPORTS) \
38266 for flag in $(EXTRA_HOST_FLAGS) ; do \
38267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38268 done; \
38269 echo "Doing TAGS in textutils" ; \
38270 (cd $(HOST_SUBDIR)/textutils && \
38271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38273 "RANLIB=$${RANLIB}" \
38274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38275 TAGS) \
38276 || exit 1
38278 @endif textutils
38280 .PHONY: maybe-install-info-textutils install-info-textutils
38281 maybe-install-info-textutils:
38282 @if textutils
38283 maybe-install-info-textutils: install-info-textutils
38285 install-info-textutils: \
38286 configure-textutils \
38287 info-textutils
38288 @: $(MAKE); $(unstage)
38289 @[ -f ./textutils/Makefile ] || exit 0; \
38290 r=`${PWD_COMMAND}`; export r; \
38291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38292 $(HOST_EXPORTS) \
38293 for flag in $(EXTRA_HOST_FLAGS) ; do \
38294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38295 done; \
38296 echo "Doing install-info in textutils" ; \
38297 (cd $(HOST_SUBDIR)/textutils && \
38298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38300 "RANLIB=$${RANLIB}" \
38301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38302 install-info) \
38303 || exit 1
38305 @endif textutils
38307 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
38308 maybe-install-pdf-textutils:
38309 @if textutils
38310 maybe-install-pdf-textutils: install-pdf-textutils
38312 install-pdf-textutils: \
38313 configure-textutils \
38314 pdf-textutils
38315 @: $(MAKE); $(unstage)
38316 @[ -f ./textutils/Makefile ] || exit 0; \
38317 r=`${PWD_COMMAND}`; export r; \
38318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38319 $(HOST_EXPORTS) \
38320 for flag in $(EXTRA_HOST_FLAGS) ; do \
38321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38322 done; \
38323 echo "Doing install-pdf in textutils" ; \
38324 (cd $(HOST_SUBDIR)/textutils && \
38325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38327 "RANLIB=$${RANLIB}" \
38328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38329 install-pdf) \
38330 || exit 1
38332 @endif textutils
38334 .PHONY: maybe-install-html-textutils install-html-textutils
38335 maybe-install-html-textutils:
38336 @if textutils
38337 maybe-install-html-textutils: install-html-textutils
38339 install-html-textutils: \
38340 configure-textutils \
38341 html-textutils
38342 @: $(MAKE); $(unstage)
38343 @[ -f ./textutils/Makefile ] || exit 0; \
38344 r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(HOST_EXPORTS) \
38347 for flag in $(EXTRA_HOST_FLAGS) ; do \
38348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38349 done; \
38350 echo "Doing install-html in textutils" ; \
38351 (cd $(HOST_SUBDIR)/textutils && \
38352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38354 "RANLIB=$${RANLIB}" \
38355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38356 install-html) \
38357 || exit 1
38359 @endif textutils
38361 .PHONY: maybe-installcheck-textutils installcheck-textutils
38362 maybe-installcheck-textutils:
38363 @if textutils
38364 maybe-installcheck-textutils: installcheck-textutils
38366 installcheck-textutils: \
38367 configure-textutils
38368 @: $(MAKE); $(unstage)
38369 @[ -f ./textutils/Makefile ] || exit 0; \
38370 r=`${PWD_COMMAND}`; export r; \
38371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38372 $(HOST_EXPORTS) \
38373 for flag in $(EXTRA_HOST_FLAGS) ; do \
38374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38375 done; \
38376 echo "Doing installcheck in textutils" ; \
38377 (cd $(HOST_SUBDIR)/textutils && \
38378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38380 "RANLIB=$${RANLIB}" \
38381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38382 installcheck) \
38383 || exit 1
38385 @endif textutils
38387 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
38388 maybe-mostlyclean-textutils:
38389 @if textutils
38390 maybe-mostlyclean-textutils: mostlyclean-textutils
38392 mostlyclean-textutils:
38393 @: $(MAKE); $(unstage)
38394 @[ -f ./textutils/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 mostlyclean in textutils" ; \
38402 (cd $(HOST_SUBDIR)/textutils && \
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 mostlyclean) \
38408 || exit 1
38410 @endif textutils
38412 .PHONY: maybe-clean-textutils clean-textutils
38413 maybe-clean-textutils:
38414 @if textutils
38415 maybe-clean-textutils: clean-textutils
38417 clean-textutils:
38418 @: $(MAKE); $(unstage)
38419 @[ -f ./textutils/Makefile ] || exit 0; \
38420 r=`${PWD_COMMAND}`; export r; \
38421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38422 $(HOST_EXPORTS) \
38423 for flag in $(EXTRA_HOST_FLAGS) ; do \
38424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38425 done; \
38426 echo "Doing clean in textutils" ; \
38427 (cd $(HOST_SUBDIR)/textutils && \
38428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38430 "RANLIB=$${RANLIB}" \
38431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38432 clean) \
38433 || exit 1
38435 @endif textutils
38437 .PHONY: maybe-distclean-textutils distclean-textutils
38438 maybe-distclean-textutils:
38439 @if textutils
38440 maybe-distclean-textutils: distclean-textutils
38442 distclean-textutils:
38443 @: $(MAKE); $(unstage)
38444 @[ -f ./textutils/Makefile ] || exit 0; \
38445 r=`${PWD_COMMAND}`; export r; \
38446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38447 $(HOST_EXPORTS) \
38448 for flag in $(EXTRA_HOST_FLAGS) ; do \
38449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38450 done; \
38451 echo "Doing distclean in textutils" ; \
38452 (cd $(HOST_SUBDIR)/textutils && \
38453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38455 "RANLIB=$${RANLIB}" \
38456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38457 distclean) \
38458 || exit 1
38460 @endif textutils
38462 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
38463 maybe-maintainer-clean-textutils:
38464 @if textutils
38465 maybe-maintainer-clean-textutils: maintainer-clean-textutils
38467 maintainer-clean-textutils:
38468 @: $(MAKE); $(unstage)
38469 @[ -f ./textutils/Makefile ] || exit 0; \
38470 r=`${PWD_COMMAND}`; export r; \
38471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38472 $(HOST_EXPORTS) \
38473 for flag in $(EXTRA_HOST_FLAGS) ; do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38475 done; \
38476 echo "Doing maintainer-clean in textutils" ; \
38477 (cd $(HOST_SUBDIR)/textutils && \
38478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38480 "RANLIB=$${RANLIB}" \
38481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38482 maintainer-clean) \
38483 || exit 1
38485 @endif textutils
38489 .PHONY: configure-time maybe-configure-time
38490 maybe-configure-time:
38491 @if gcc-bootstrap
38492 configure-time: stage_current
38493 @endif gcc-bootstrap
38494 @if time
38495 maybe-configure-time: configure-time
38496 configure-time:
38497 @: $(MAKE); $(unstage)
38498 @r=`${PWD_COMMAND}`; export r; \
38499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38500 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
38501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
38502 $(HOST_EXPORTS) \
38503 echo Configuring in $(HOST_SUBDIR)/time; \
38504 cd "$(HOST_SUBDIR)/time" || exit 1; \
38505 case $(srcdir) in \
38506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38507 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
38508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38509 esac; \
38510 srcdiroption="--srcdir=$${topdir}/time"; \
38511 libsrcdir="$$s/time"; \
38512 $(SHELL) $${libsrcdir}/configure \
38513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38514 --target=${target_alias} $${srcdiroption} \
38515 || exit 1
38516 @endif time
38522 .PHONY: all-time maybe-all-time
38523 maybe-all-time:
38524 @if gcc-bootstrap
38525 all-time: stage_current
38526 @endif gcc-bootstrap
38527 @if time
38528 TARGET-time=all
38529 maybe-all-time: all-time
38530 all-time: configure-time
38531 @: $(MAKE); $(unstage)
38532 @r=`${PWD_COMMAND}`; export r; \
38533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38534 $(HOST_EXPORTS) \
38535 (cd $(HOST_SUBDIR)/time && \
38536 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38537 $(TARGET-time))
38538 @endif time
38543 .PHONY: check-time maybe-check-time
38544 maybe-check-time:
38545 @if time
38546 maybe-check-time: check-time
38548 check-time:
38549 @: $(MAKE); $(unstage)
38550 @r=`${PWD_COMMAND}`; export r; \
38551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38552 $(HOST_EXPORTS) \
38553 (cd $(HOST_SUBDIR)/time && \
38554 $(MAKE) $(FLAGS_TO_PASS) check)
38556 @endif time
38558 .PHONY: install-time maybe-install-time
38559 maybe-install-time:
38560 @if time
38561 maybe-install-time: install-time
38563 install-time: installdirs
38564 @: $(MAKE); $(unstage)
38565 @r=`${PWD_COMMAND}`; export r; \
38566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38567 $(HOST_EXPORTS) \
38568 (cd $(HOST_SUBDIR)/time && \
38569 $(MAKE) $(FLAGS_TO_PASS) install)
38571 @endif time
38573 # Other targets (info, dvi, pdf, etc.)
38575 .PHONY: maybe-info-time info-time
38576 maybe-info-time:
38577 @if time
38578 maybe-info-time: info-time
38580 info-time: \
38581 configure-time
38582 @: $(MAKE); $(unstage)
38583 @[ -f ./time/Makefile ] || exit 0; \
38584 r=`${PWD_COMMAND}`; export r; \
38585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38586 $(HOST_EXPORTS) \
38587 for flag in $(EXTRA_HOST_FLAGS) ; do \
38588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38589 done; \
38590 echo "Doing info in time" ; \
38591 (cd $(HOST_SUBDIR)/time && \
38592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38594 "RANLIB=$${RANLIB}" \
38595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38596 info) \
38597 || exit 1
38599 @endif time
38601 .PHONY: maybe-dvi-time dvi-time
38602 maybe-dvi-time:
38603 @if time
38604 maybe-dvi-time: dvi-time
38606 dvi-time: \
38607 configure-time
38608 @: $(MAKE); $(unstage)
38609 @[ -f ./time/Makefile ] || exit 0; \
38610 r=`${PWD_COMMAND}`; export r; \
38611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38612 $(HOST_EXPORTS) \
38613 for flag in $(EXTRA_HOST_FLAGS) ; do \
38614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38615 done; \
38616 echo "Doing dvi in time" ; \
38617 (cd $(HOST_SUBDIR)/time && \
38618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38620 "RANLIB=$${RANLIB}" \
38621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38622 dvi) \
38623 || exit 1
38625 @endif time
38627 .PHONY: maybe-pdf-time pdf-time
38628 maybe-pdf-time:
38629 @if time
38630 maybe-pdf-time: pdf-time
38632 pdf-time: \
38633 configure-time
38634 @: $(MAKE); $(unstage)
38635 @[ -f ./time/Makefile ] || exit 0; \
38636 r=`${PWD_COMMAND}`; export r; \
38637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38638 $(HOST_EXPORTS) \
38639 for flag in $(EXTRA_HOST_FLAGS) ; do \
38640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38641 done; \
38642 echo "Doing pdf in time" ; \
38643 (cd $(HOST_SUBDIR)/time && \
38644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38646 "RANLIB=$${RANLIB}" \
38647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38648 pdf) \
38649 || exit 1
38651 @endif time
38653 .PHONY: maybe-html-time html-time
38654 maybe-html-time:
38655 @if time
38656 maybe-html-time: html-time
38658 html-time: \
38659 configure-time
38660 @: $(MAKE); $(unstage)
38661 @[ -f ./time/Makefile ] || exit 0; \
38662 r=`${PWD_COMMAND}`; export r; \
38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38664 $(HOST_EXPORTS) \
38665 for flag in $(EXTRA_HOST_FLAGS) ; do \
38666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38667 done; \
38668 echo "Doing html in time" ; \
38669 (cd $(HOST_SUBDIR)/time && \
38670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38672 "RANLIB=$${RANLIB}" \
38673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38674 html) \
38675 || exit 1
38677 @endif time
38679 .PHONY: maybe-TAGS-time TAGS-time
38680 maybe-TAGS-time:
38681 @if time
38682 maybe-TAGS-time: TAGS-time
38684 TAGS-time: \
38685 configure-time
38686 @: $(MAKE); $(unstage)
38687 @[ -f ./time/Makefile ] || exit 0; \
38688 r=`${PWD_COMMAND}`; export r; \
38689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38690 $(HOST_EXPORTS) \
38691 for flag in $(EXTRA_HOST_FLAGS) ; do \
38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38693 done; \
38694 echo "Doing TAGS in time" ; \
38695 (cd $(HOST_SUBDIR)/time && \
38696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38698 "RANLIB=$${RANLIB}" \
38699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38700 TAGS) \
38701 || exit 1
38703 @endif time
38705 .PHONY: maybe-install-info-time install-info-time
38706 maybe-install-info-time:
38707 @if time
38708 maybe-install-info-time: install-info-time
38710 install-info-time: \
38711 configure-time \
38712 info-time
38713 @: $(MAKE); $(unstage)
38714 @[ -f ./time/Makefile ] || exit 0; \
38715 r=`${PWD_COMMAND}`; export r; \
38716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38717 $(HOST_EXPORTS) \
38718 for flag in $(EXTRA_HOST_FLAGS) ; do \
38719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38720 done; \
38721 echo "Doing install-info in time" ; \
38722 (cd $(HOST_SUBDIR)/time && \
38723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38725 "RANLIB=$${RANLIB}" \
38726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38727 install-info) \
38728 || exit 1
38730 @endif time
38732 .PHONY: maybe-install-pdf-time install-pdf-time
38733 maybe-install-pdf-time:
38734 @if time
38735 maybe-install-pdf-time: install-pdf-time
38737 install-pdf-time: \
38738 configure-time \
38739 pdf-time
38740 @: $(MAKE); $(unstage)
38741 @[ -f ./time/Makefile ] || exit 0; \
38742 r=`${PWD_COMMAND}`; export r; \
38743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38744 $(HOST_EXPORTS) \
38745 for flag in $(EXTRA_HOST_FLAGS) ; do \
38746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38747 done; \
38748 echo "Doing install-pdf in time" ; \
38749 (cd $(HOST_SUBDIR)/time && \
38750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38752 "RANLIB=$${RANLIB}" \
38753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38754 install-pdf) \
38755 || exit 1
38757 @endif time
38759 .PHONY: maybe-install-html-time install-html-time
38760 maybe-install-html-time:
38761 @if time
38762 maybe-install-html-time: install-html-time
38764 install-html-time: \
38765 configure-time \
38766 html-time
38767 @: $(MAKE); $(unstage)
38768 @[ -f ./time/Makefile ] || exit 0; \
38769 r=`${PWD_COMMAND}`; export r; \
38770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38771 $(HOST_EXPORTS) \
38772 for flag in $(EXTRA_HOST_FLAGS) ; do \
38773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38774 done; \
38775 echo "Doing install-html in time" ; \
38776 (cd $(HOST_SUBDIR)/time && \
38777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38779 "RANLIB=$${RANLIB}" \
38780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38781 install-html) \
38782 || exit 1
38784 @endif time
38786 .PHONY: maybe-installcheck-time installcheck-time
38787 maybe-installcheck-time:
38788 @if time
38789 maybe-installcheck-time: installcheck-time
38791 installcheck-time: \
38792 configure-time
38793 @: $(MAKE); $(unstage)
38794 @[ -f ./time/Makefile ] || exit 0; \
38795 r=`${PWD_COMMAND}`; export r; \
38796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38797 $(HOST_EXPORTS) \
38798 for flag in $(EXTRA_HOST_FLAGS) ; do \
38799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38800 done; \
38801 echo "Doing installcheck in time" ; \
38802 (cd $(HOST_SUBDIR)/time && \
38803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38805 "RANLIB=$${RANLIB}" \
38806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38807 installcheck) \
38808 || exit 1
38810 @endif time
38812 .PHONY: maybe-mostlyclean-time mostlyclean-time
38813 maybe-mostlyclean-time:
38814 @if time
38815 maybe-mostlyclean-time: mostlyclean-time
38817 mostlyclean-time:
38818 @: $(MAKE); $(unstage)
38819 @[ -f ./time/Makefile ] || exit 0; \
38820 r=`${PWD_COMMAND}`; export r; \
38821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38822 $(HOST_EXPORTS) \
38823 for flag in $(EXTRA_HOST_FLAGS) ; do \
38824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38825 done; \
38826 echo "Doing mostlyclean in time" ; \
38827 (cd $(HOST_SUBDIR)/time && \
38828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38830 "RANLIB=$${RANLIB}" \
38831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38832 mostlyclean) \
38833 || exit 1
38835 @endif time
38837 .PHONY: maybe-clean-time clean-time
38838 maybe-clean-time:
38839 @if time
38840 maybe-clean-time: clean-time
38842 clean-time:
38843 @: $(MAKE); $(unstage)
38844 @[ -f ./time/Makefile ] || exit 0; \
38845 r=`${PWD_COMMAND}`; export r; \
38846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38847 $(HOST_EXPORTS) \
38848 for flag in $(EXTRA_HOST_FLAGS) ; do \
38849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38850 done; \
38851 echo "Doing clean in time" ; \
38852 (cd $(HOST_SUBDIR)/time && \
38853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38855 "RANLIB=$${RANLIB}" \
38856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38857 clean) \
38858 || exit 1
38860 @endif time
38862 .PHONY: maybe-distclean-time distclean-time
38863 maybe-distclean-time:
38864 @if time
38865 maybe-distclean-time: distclean-time
38867 distclean-time:
38868 @: $(MAKE); $(unstage)
38869 @[ -f ./time/Makefile ] || exit 0; \
38870 r=`${PWD_COMMAND}`; export r; \
38871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38872 $(HOST_EXPORTS) \
38873 for flag in $(EXTRA_HOST_FLAGS) ; do \
38874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38875 done; \
38876 echo "Doing distclean in time" ; \
38877 (cd $(HOST_SUBDIR)/time && \
38878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38880 "RANLIB=$${RANLIB}" \
38881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38882 distclean) \
38883 || exit 1
38885 @endif time
38887 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
38888 maybe-maintainer-clean-time:
38889 @if time
38890 maybe-maintainer-clean-time: maintainer-clean-time
38892 maintainer-clean-time:
38893 @: $(MAKE); $(unstage)
38894 @[ -f ./time/Makefile ] || exit 0; \
38895 r=`${PWD_COMMAND}`; export r; \
38896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38897 $(HOST_EXPORTS) \
38898 for flag in $(EXTRA_HOST_FLAGS) ; do \
38899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38900 done; \
38901 echo "Doing maintainer-clean in time" ; \
38902 (cd $(HOST_SUBDIR)/time && \
38903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38905 "RANLIB=$${RANLIB}" \
38906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38907 maintainer-clean) \
38908 || exit 1
38910 @endif time
38914 .PHONY: configure-uudecode maybe-configure-uudecode
38915 maybe-configure-uudecode:
38916 @if gcc-bootstrap
38917 configure-uudecode: stage_current
38918 @endif gcc-bootstrap
38919 @if uudecode
38920 maybe-configure-uudecode: configure-uudecode
38921 configure-uudecode:
38922 @: $(MAKE); $(unstage)
38923 @r=`${PWD_COMMAND}`; export r; \
38924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38925 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
38926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
38927 $(HOST_EXPORTS) \
38928 echo Configuring in $(HOST_SUBDIR)/uudecode; \
38929 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
38930 case $(srcdir) in \
38931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38932 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
38933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38934 esac; \
38935 srcdiroption="--srcdir=$${topdir}/uudecode"; \
38936 libsrcdir="$$s/uudecode"; \
38937 $(SHELL) $${libsrcdir}/configure \
38938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38939 --target=${target_alias} $${srcdiroption} \
38940 || exit 1
38941 @endif uudecode
38947 .PHONY: all-uudecode maybe-all-uudecode
38948 maybe-all-uudecode:
38949 @if gcc-bootstrap
38950 all-uudecode: stage_current
38951 @endif gcc-bootstrap
38952 @if uudecode
38953 TARGET-uudecode=all
38954 maybe-all-uudecode: all-uudecode
38955 all-uudecode: configure-uudecode
38956 @: $(MAKE); $(unstage)
38957 @r=`${PWD_COMMAND}`; export r; \
38958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38959 $(HOST_EXPORTS) \
38960 (cd $(HOST_SUBDIR)/uudecode && \
38961 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
38962 $(TARGET-uudecode))
38963 @endif uudecode
38968 .PHONY: check-uudecode maybe-check-uudecode
38969 maybe-check-uudecode:
38970 @if uudecode
38971 maybe-check-uudecode: check-uudecode
38973 check-uudecode:
38974 @: $(MAKE); $(unstage)
38975 @r=`${PWD_COMMAND}`; export r; \
38976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38977 $(HOST_EXPORTS) \
38978 (cd $(HOST_SUBDIR)/uudecode && \
38979 $(MAKE) $(FLAGS_TO_PASS) check)
38981 @endif uudecode
38983 .PHONY: install-uudecode maybe-install-uudecode
38984 maybe-install-uudecode:
38985 @if uudecode
38986 maybe-install-uudecode: install-uudecode
38988 install-uudecode: installdirs
38989 @: $(MAKE); $(unstage)
38990 @r=`${PWD_COMMAND}`; export r; \
38991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38992 $(HOST_EXPORTS) \
38993 (cd $(HOST_SUBDIR)/uudecode && \
38994 $(MAKE) $(FLAGS_TO_PASS) install)
38996 @endif uudecode
38998 # Other targets (info, dvi, pdf, etc.)
39000 .PHONY: maybe-info-uudecode info-uudecode
39001 maybe-info-uudecode:
39002 @if uudecode
39003 maybe-info-uudecode: info-uudecode
39005 info-uudecode: \
39006 configure-uudecode
39007 @: $(MAKE); $(unstage)
39008 @[ -f ./uudecode/Makefile ] || exit 0; \
39009 r=`${PWD_COMMAND}`; export r; \
39010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39011 $(HOST_EXPORTS) \
39012 for flag in $(EXTRA_HOST_FLAGS) ; do \
39013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39014 done; \
39015 echo "Doing info in uudecode" ; \
39016 (cd $(HOST_SUBDIR)/uudecode && \
39017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39019 "RANLIB=$${RANLIB}" \
39020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39021 info) \
39022 || exit 1
39024 @endif uudecode
39026 .PHONY: maybe-dvi-uudecode dvi-uudecode
39027 maybe-dvi-uudecode:
39028 @if uudecode
39029 maybe-dvi-uudecode: dvi-uudecode
39031 dvi-uudecode: \
39032 configure-uudecode
39033 @: $(MAKE); $(unstage)
39034 @[ -f ./uudecode/Makefile ] || exit 0; \
39035 r=`${PWD_COMMAND}`; export r; \
39036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39037 $(HOST_EXPORTS) \
39038 for flag in $(EXTRA_HOST_FLAGS) ; do \
39039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39040 done; \
39041 echo "Doing dvi in uudecode" ; \
39042 (cd $(HOST_SUBDIR)/uudecode && \
39043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39045 "RANLIB=$${RANLIB}" \
39046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39047 dvi) \
39048 || exit 1
39050 @endif uudecode
39052 .PHONY: maybe-pdf-uudecode pdf-uudecode
39053 maybe-pdf-uudecode:
39054 @if uudecode
39055 maybe-pdf-uudecode: pdf-uudecode
39057 pdf-uudecode: \
39058 configure-uudecode
39059 @: $(MAKE); $(unstage)
39060 @[ -f ./uudecode/Makefile ] || exit 0; \
39061 r=`${PWD_COMMAND}`; export r; \
39062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39063 $(HOST_EXPORTS) \
39064 for flag in $(EXTRA_HOST_FLAGS) ; do \
39065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39066 done; \
39067 echo "Doing pdf in uudecode" ; \
39068 (cd $(HOST_SUBDIR)/uudecode && \
39069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39071 "RANLIB=$${RANLIB}" \
39072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39073 pdf) \
39074 || exit 1
39076 @endif uudecode
39078 .PHONY: maybe-html-uudecode html-uudecode
39079 maybe-html-uudecode:
39080 @if uudecode
39081 maybe-html-uudecode: html-uudecode
39083 html-uudecode: \
39084 configure-uudecode
39085 @: $(MAKE); $(unstage)
39086 @[ -f ./uudecode/Makefile ] || exit 0; \
39087 r=`${PWD_COMMAND}`; export r; \
39088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39089 $(HOST_EXPORTS) \
39090 for flag in $(EXTRA_HOST_FLAGS) ; do \
39091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39092 done; \
39093 echo "Doing html in uudecode" ; \
39094 (cd $(HOST_SUBDIR)/uudecode && \
39095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39097 "RANLIB=$${RANLIB}" \
39098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39099 html) \
39100 || exit 1
39102 @endif uudecode
39104 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
39105 maybe-TAGS-uudecode:
39106 @if uudecode
39107 maybe-TAGS-uudecode: TAGS-uudecode
39109 TAGS-uudecode: \
39110 configure-uudecode
39111 @: $(MAKE); $(unstage)
39112 @[ -f ./uudecode/Makefile ] || exit 0; \
39113 r=`${PWD_COMMAND}`; export r; \
39114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39115 $(HOST_EXPORTS) \
39116 for flag in $(EXTRA_HOST_FLAGS) ; do \
39117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39118 done; \
39119 echo "Doing TAGS in uudecode" ; \
39120 (cd $(HOST_SUBDIR)/uudecode && \
39121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39123 "RANLIB=$${RANLIB}" \
39124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39125 TAGS) \
39126 || exit 1
39128 @endif uudecode
39130 .PHONY: maybe-install-info-uudecode install-info-uudecode
39131 maybe-install-info-uudecode:
39132 @if uudecode
39133 maybe-install-info-uudecode: install-info-uudecode
39135 install-info-uudecode: \
39136 configure-uudecode \
39137 info-uudecode
39138 @: $(MAKE); $(unstage)
39139 @[ -f ./uudecode/Makefile ] || exit 0; \
39140 r=`${PWD_COMMAND}`; export r; \
39141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39142 $(HOST_EXPORTS) \
39143 for flag in $(EXTRA_HOST_FLAGS) ; do \
39144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39145 done; \
39146 echo "Doing install-info in uudecode" ; \
39147 (cd $(HOST_SUBDIR)/uudecode && \
39148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39150 "RANLIB=$${RANLIB}" \
39151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39152 install-info) \
39153 || exit 1
39155 @endif uudecode
39157 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
39158 maybe-install-pdf-uudecode:
39159 @if uudecode
39160 maybe-install-pdf-uudecode: install-pdf-uudecode
39162 install-pdf-uudecode: \
39163 configure-uudecode \
39164 pdf-uudecode
39165 @: $(MAKE); $(unstage)
39166 @[ -f ./uudecode/Makefile ] || exit 0; \
39167 r=`${PWD_COMMAND}`; export r; \
39168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39169 $(HOST_EXPORTS) \
39170 for flag in $(EXTRA_HOST_FLAGS) ; do \
39171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39172 done; \
39173 echo "Doing install-pdf in uudecode" ; \
39174 (cd $(HOST_SUBDIR)/uudecode && \
39175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39177 "RANLIB=$${RANLIB}" \
39178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39179 install-pdf) \
39180 || exit 1
39182 @endif uudecode
39184 .PHONY: maybe-install-html-uudecode install-html-uudecode
39185 maybe-install-html-uudecode:
39186 @if uudecode
39187 maybe-install-html-uudecode: install-html-uudecode
39189 install-html-uudecode: \
39190 configure-uudecode \
39191 html-uudecode
39192 @: $(MAKE); $(unstage)
39193 @[ -f ./uudecode/Makefile ] || exit 0; \
39194 r=`${PWD_COMMAND}`; export r; \
39195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39196 $(HOST_EXPORTS) \
39197 for flag in $(EXTRA_HOST_FLAGS) ; do \
39198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39199 done; \
39200 echo "Doing install-html in uudecode" ; \
39201 (cd $(HOST_SUBDIR)/uudecode && \
39202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39204 "RANLIB=$${RANLIB}" \
39205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39206 install-html) \
39207 || exit 1
39209 @endif uudecode
39211 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
39212 maybe-installcheck-uudecode:
39213 @if uudecode
39214 maybe-installcheck-uudecode: installcheck-uudecode
39216 installcheck-uudecode: \
39217 configure-uudecode
39218 @: $(MAKE); $(unstage)
39219 @[ -f ./uudecode/Makefile ] || exit 0; \
39220 r=`${PWD_COMMAND}`; export r; \
39221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39222 $(HOST_EXPORTS) \
39223 for flag in $(EXTRA_HOST_FLAGS) ; do \
39224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39225 done; \
39226 echo "Doing installcheck in uudecode" ; \
39227 (cd $(HOST_SUBDIR)/uudecode && \
39228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39230 "RANLIB=$${RANLIB}" \
39231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39232 installcheck) \
39233 || exit 1
39235 @endif uudecode
39237 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
39238 maybe-mostlyclean-uudecode:
39239 @if uudecode
39240 maybe-mostlyclean-uudecode: mostlyclean-uudecode
39242 mostlyclean-uudecode:
39243 @: $(MAKE); $(unstage)
39244 @[ -f ./uudecode/Makefile ] || exit 0; \
39245 r=`${PWD_COMMAND}`; export r; \
39246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39247 $(HOST_EXPORTS) \
39248 for flag in $(EXTRA_HOST_FLAGS) ; do \
39249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39250 done; \
39251 echo "Doing mostlyclean in uudecode" ; \
39252 (cd $(HOST_SUBDIR)/uudecode && \
39253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39255 "RANLIB=$${RANLIB}" \
39256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39257 mostlyclean) \
39258 || exit 1
39260 @endif uudecode
39262 .PHONY: maybe-clean-uudecode clean-uudecode
39263 maybe-clean-uudecode:
39264 @if uudecode
39265 maybe-clean-uudecode: clean-uudecode
39267 clean-uudecode:
39268 @: $(MAKE); $(unstage)
39269 @[ -f ./uudecode/Makefile ] || exit 0; \
39270 r=`${PWD_COMMAND}`; export r; \
39271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39272 $(HOST_EXPORTS) \
39273 for flag in $(EXTRA_HOST_FLAGS) ; do \
39274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39275 done; \
39276 echo "Doing clean in uudecode" ; \
39277 (cd $(HOST_SUBDIR)/uudecode && \
39278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39280 "RANLIB=$${RANLIB}" \
39281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39282 clean) \
39283 || exit 1
39285 @endif uudecode
39287 .PHONY: maybe-distclean-uudecode distclean-uudecode
39288 maybe-distclean-uudecode:
39289 @if uudecode
39290 maybe-distclean-uudecode: distclean-uudecode
39292 distclean-uudecode:
39293 @: $(MAKE); $(unstage)
39294 @[ -f ./uudecode/Makefile ] || exit 0; \
39295 r=`${PWD_COMMAND}`; export r; \
39296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39297 $(HOST_EXPORTS) \
39298 for flag in $(EXTRA_HOST_FLAGS) ; do \
39299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39300 done; \
39301 echo "Doing distclean in uudecode" ; \
39302 (cd $(HOST_SUBDIR)/uudecode && \
39303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39305 "RANLIB=$${RANLIB}" \
39306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39307 distclean) \
39308 || exit 1
39310 @endif uudecode
39312 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
39313 maybe-maintainer-clean-uudecode:
39314 @if uudecode
39315 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
39317 maintainer-clean-uudecode:
39318 @: $(MAKE); $(unstage)
39319 @[ -f ./uudecode/Makefile ] || exit 0; \
39320 r=`${PWD_COMMAND}`; export r; \
39321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39322 $(HOST_EXPORTS) \
39323 for flag in $(EXTRA_HOST_FLAGS) ; do \
39324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39325 done; \
39326 echo "Doing maintainer-clean in uudecode" ; \
39327 (cd $(HOST_SUBDIR)/uudecode && \
39328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39330 "RANLIB=$${RANLIB}" \
39331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39332 maintainer-clean) \
39333 || exit 1
39335 @endif uudecode
39339 .PHONY: configure-wdiff maybe-configure-wdiff
39340 maybe-configure-wdiff:
39341 @if gcc-bootstrap
39342 configure-wdiff: stage_current
39343 @endif gcc-bootstrap
39344 @if wdiff
39345 maybe-configure-wdiff: configure-wdiff
39346 configure-wdiff:
39347 @: $(MAKE); $(unstage)
39348 @r=`${PWD_COMMAND}`; export r; \
39349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39350 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
39351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
39352 $(HOST_EXPORTS) \
39353 echo Configuring in $(HOST_SUBDIR)/wdiff; \
39354 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
39355 case $(srcdir) in \
39356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39357 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
39358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39359 esac; \
39360 srcdiroption="--srcdir=$${topdir}/wdiff"; \
39361 libsrcdir="$$s/wdiff"; \
39362 $(SHELL) $${libsrcdir}/configure \
39363 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39364 --target=${target_alias} $${srcdiroption} \
39365 || exit 1
39366 @endif wdiff
39372 .PHONY: all-wdiff maybe-all-wdiff
39373 maybe-all-wdiff:
39374 @if gcc-bootstrap
39375 all-wdiff: stage_current
39376 @endif gcc-bootstrap
39377 @if wdiff
39378 TARGET-wdiff=all
39379 maybe-all-wdiff: all-wdiff
39380 all-wdiff: configure-wdiff
39381 @: $(MAKE); $(unstage)
39382 @r=`${PWD_COMMAND}`; export r; \
39383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39384 $(HOST_EXPORTS) \
39385 (cd $(HOST_SUBDIR)/wdiff && \
39386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39387 $(TARGET-wdiff))
39388 @endif wdiff
39393 .PHONY: check-wdiff maybe-check-wdiff
39394 maybe-check-wdiff:
39395 @if wdiff
39396 maybe-check-wdiff: check-wdiff
39398 check-wdiff:
39399 @: $(MAKE); $(unstage)
39400 @r=`${PWD_COMMAND}`; export r; \
39401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39402 $(HOST_EXPORTS) \
39403 (cd $(HOST_SUBDIR)/wdiff && \
39404 $(MAKE) $(FLAGS_TO_PASS) check)
39406 @endif wdiff
39408 .PHONY: install-wdiff maybe-install-wdiff
39409 maybe-install-wdiff:
39410 @if wdiff
39411 maybe-install-wdiff: install-wdiff
39413 install-wdiff: installdirs
39414 @: $(MAKE); $(unstage)
39415 @r=`${PWD_COMMAND}`; export r; \
39416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39417 $(HOST_EXPORTS) \
39418 (cd $(HOST_SUBDIR)/wdiff && \
39419 $(MAKE) $(FLAGS_TO_PASS) install)
39421 @endif wdiff
39423 # Other targets (info, dvi, pdf, etc.)
39425 .PHONY: maybe-info-wdiff info-wdiff
39426 maybe-info-wdiff:
39427 @if wdiff
39428 maybe-info-wdiff: info-wdiff
39430 info-wdiff: \
39431 configure-wdiff
39432 @: $(MAKE); $(unstage)
39433 @[ -f ./wdiff/Makefile ] || exit 0; \
39434 r=`${PWD_COMMAND}`; export r; \
39435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39436 $(HOST_EXPORTS) \
39437 for flag in $(EXTRA_HOST_FLAGS) ; do \
39438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39439 done; \
39440 echo "Doing info in wdiff" ; \
39441 (cd $(HOST_SUBDIR)/wdiff && \
39442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39444 "RANLIB=$${RANLIB}" \
39445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39446 info) \
39447 || exit 1
39449 @endif wdiff
39451 .PHONY: maybe-dvi-wdiff dvi-wdiff
39452 maybe-dvi-wdiff:
39453 @if wdiff
39454 maybe-dvi-wdiff: dvi-wdiff
39456 dvi-wdiff: \
39457 configure-wdiff
39458 @: $(MAKE); $(unstage)
39459 @[ -f ./wdiff/Makefile ] || exit 0; \
39460 r=`${PWD_COMMAND}`; export r; \
39461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39462 $(HOST_EXPORTS) \
39463 for flag in $(EXTRA_HOST_FLAGS) ; do \
39464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39465 done; \
39466 echo "Doing dvi in wdiff" ; \
39467 (cd $(HOST_SUBDIR)/wdiff && \
39468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39470 "RANLIB=$${RANLIB}" \
39471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39472 dvi) \
39473 || exit 1
39475 @endif wdiff
39477 .PHONY: maybe-pdf-wdiff pdf-wdiff
39478 maybe-pdf-wdiff:
39479 @if wdiff
39480 maybe-pdf-wdiff: pdf-wdiff
39482 pdf-wdiff: \
39483 configure-wdiff
39484 @: $(MAKE); $(unstage)
39485 @[ -f ./wdiff/Makefile ] || exit 0; \
39486 r=`${PWD_COMMAND}`; export r; \
39487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39488 $(HOST_EXPORTS) \
39489 for flag in $(EXTRA_HOST_FLAGS) ; do \
39490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39491 done; \
39492 echo "Doing pdf in wdiff" ; \
39493 (cd $(HOST_SUBDIR)/wdiff && \
39494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39496 "RANLIB=$${RANLIB}" \
39497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39498 pdf) \
39499 || exit 1
39501 @endif wdiff
39503 .PHONY: maybe-html-wdiff html-wdiff
39504 maybe-html-wdiff:
39505 @if wdiff
39506 maybe-html-wdiff: html-wdiff
39508 html-wdiff: \
39509 configure-wdiff
39510 @: $(MAKE); $(unstage)
39511 @[ -f ./wdiff/Makefile ] || exit 0; \
39512 r=`${PWD_COMMAND}`; export r; \
39513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39514 $(HOST_EXPORTS) \
39515 for flag in $(EXTRA_HOST_FLAGS) ; do \
39516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39517 done; \
39518 echo "Doing html in wdiff" ; \
39519 (cd $(HOST_SUBDIR)/wdiff && \
39520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39522 "RANLIB=$${RANLIB}" \
39523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39524 html) \
39525 || exit 1
39527 @endif wdiff
39529 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
39530 maybe-TAGS-wdiff:
39531 @if wdiff
39532 maybe-TAGS-wdiff: TAGS-wdiff
39534 TAGS-wdiff: \
39535 configure-wdiff
39536 @: $(MAKE); $(unstage)
39537 @[ -f ./wdiff/Makefile ] || exit 0; \
39538 r=`${PWD_COMMAND}`; export r; \
39539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39540 $(HOST_EXPORTS) \
39541 for flag in $(EXTRA_HOST_FLAGS) ; do \
39542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39543 done; \
39544 echo "Doing TAGS in wdiff" ; \
39545 (cd $(HOST_SUBDIR)/wdiff && \
39546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39548 "RANLIB=$${RANLIB}" \
39549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39550 TAGS) \
39551 || exit 1
39553 @endif wdiff
39555 .PHONY: maybe-install-info-wdiff install-info-wdiff
39556 maybe-install-info-wdiff:
39557 @if wdiff
39558 maybe-install-info-wdiff: install-info-wdiff
39560 install-info-wdiff: \
39561 configure-wdiff \
39562 info-wdiff
39563 @: $(MAKE); $(unstage)
39564 @[ -f ./wdiff/Makefile ] || exit 0; \
39565 r=`${PWD_COMMAND}`; export r; \
39566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39567 $(HOST_EXPORTS) \
39568 for flag in $(EXTRA_HOST_FLAGS) ; do \
39569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39570 done; \
39571 echo "Doing install-info in wdiff" ; \
39572 (cd $(HOST_SUBDIR)/wdiff && \
39573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39575 "RANLIB=$${RANLIB}" \
39576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39577 install-info) \
39578 || exit 1
39580 @endif wdiff
39582 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
39583 maybe-install-pdf-wdiff:
39584 @if wdiff
39585 maybe-install-pdf-wdiff: install-pdf-wdiff
39587 install-pdf-wdiff: \
39588 configure-wdiff \
39589 pdf-wdiff
39590 @: $(MAKE); $(unstage)
39591 @[ -f ./wdiff/Makefile ] || exit 0; \
39592 r=`${PWD_COMMAND}`; export r; \
39593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39594 $(HOST_EXPORTS) \
39595 for flag in $(EXTRA_HOST_FLAGS) ; do \
39596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39597 done; \
39598 echo "Doing install-pdf in wdiff" ; \
39599 (cd $(HOST_SUBDIR)/wdiff && \
39600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39602 "RANLIB=$${RANLIB}" \
39603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39604 install-pdf) \
39605 || exit 1
39607 @endif wdiff
39609 .PHONY: maybe-install-html-wdiff install-html-wdiff
39610 maybe-install-html-wdiff:
39611 @if wdiff
39612 maybe-install-html-wdiff: install-html-wdiff
39614 install-html-wdiff: \
39615 configure-wdiff \
39616 html-wdiff
39617 @: $(MAKE); $(unstage)
39618 @[ -f ./wdiff/Makefile ] || exit 0; \
39619 r=`${PWD_COMMAND}`; export r; \
39620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39621 $(HOST_EXPORTS) \
39622 for flag in $(EXTRA_HOST_FLAGS) ; do \
39623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39624 done; \
39625 echo "Doing install-html in wdiff" ; \
39626 (cd $(HOST_SUBDIR)/wdiff && \
39627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39629 "RANLIB=$${RANLIB}" \
39630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39631 install-html) \
39632 || exit 1
39634 @endif wdiff
39636 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
39637 maybe-installcheck-wdiff:
39638 @if wdiff
39639 maybe-installcheck-wdiff: installcheck-wdiff
39641 installcheck-wdiff: \
39642 configure-wdiff
39643 @: $(MAKE); $(unstage)
39644 @[ -f ./wdiff/Makefile ] || exit 0; \
39645 r=`${PWD_COMMAND}`; export r; \
39646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39647 $(HOST_EXPORTS) \
39648 for flag in $(EXTRA_HOST_FLAGS) ; do \
39649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39650 done; \
39651 echo "Doing installcheck in wdiff" ; \
39652 (cd $(HOST_SUBDIR)/wdiff && \
39653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39655 "RANLIB=$${RANLIB}" \
39656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39657 installcheck) \
39658 || exit 1
39660 @endif wdiff
39662 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
39663 maybe-mostlyclean-wdiff:
39664 @if wdiff
39665 maybe-mostlyclean-wdiff: mostlyclean-wdiff
39667 mostlyclean-wdiff:
39668 @: $(MAKE); $(unstage)
39669 @[ -f ./wdiff/Makefile ] || exit 0; \
39670 r=`${PWD_COMMAND}`; export r; \
39671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39672 $(HOST_EXPORTS) \
39673 for flag in $(EXTRA_HOST_FLAGS) ; do \
39674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39675 done; \
39676 echo "Doing mostlyclean in wdiff" ; \
39677 (cd $(HOST_SUBDIR)/wdiff && \
39678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39680 "RANLIB=$${RANLIB}" \
39681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39682 mostlyclean) \
39683 || exit 1
39685 @endif wdiff
39687 .PHONY: maybe-clean-wdiff clean-wdiff
39688 maybe-clean-wdiff:
39689 @if wdiff
39690 maybe-clean-wdiff: clean-wdiff
39692 clean-wdiff:
39693 @: $(MAKE); $(unstage)
39694 @[ -f ./wdiff/Makefile ] || exit 0; \
39695 r=`${PWD_COMMAND}`; export r; \
39696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39697 $(HOST_EXPORTS) \
39698 for flag in $(EXTRA_HOST_FLAGS) ; do \
39699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39700 done; \
39701 echo "Doing clean in wdiff" ; \
39702 (cd $(HOST_SUBDIR)/wdiff && \
39703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39705 "RANLIB=$${RANLIB}" \
39706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39707 clean) \
39708 || exit 1
39710 @endif wdiff
39712 .PHONY: maybe-distclean-wdiff distclean-wdiff
39713 maybe-distclean-wdiff:
39714 @if wdiff
39715 maybe-distclean-wdiff: distclean-wdiff
39717 distclean-wdiff:
39718 @: $(MAKE); $(unstage)
39719 @[ -f ./wdiff/Makefile ] || exit 0; \
39720 r=`${PWD_COMMAND}`; export r; \
39721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39722 $(HOST_EXPORTS) \
39723 for flag in $(EXTRA_HOST_FLAGS) ; do \
39724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39725 done; \
39726 echo "Doing distclean in wdiff" ; \
39727 (cd $(HOST_SUBDIR)/wdiff && \
39728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39730 "RANLIB=$${RANLIB}" \
39731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39732 distclean) \
39733 || exit 1
39735 @endif wdiff
39737 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
39738 maybe-maintainer-clean-wdiff:
39739 @if wdiff
39740 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
39742 maintainer-clean-wdiff:
39743 @: $(MAKE); $(unstage)
39744 @[ -f ./wdiff/Makefile ] || exit 0; \
39745 r=`${PWD_COMMAND}`; export r; \
39746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39747 $(HOST_EXPORTS) \
39748 for flag in $(EXTRA_HOST_FLAGS) ; do \
39749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39750 done; \
39751 echo "Doing maintainer-clean in wdiff" ; \
39752 (cd $(HOST_SUBDIR)/wdiff && \
39753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39755 "RANLIB=$${RANLIB}" \
39756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39757 maintainer-clean) \
39758 || exit 1
39760 @endif wdiff
39764 .PHONY: configure-zip maybe-configure-zip
39765 maybe-configure-zip:
39766 @if gcc-bootstrap
39767 configure-zip: stage_current
39768 @endif gcc-bootstrap
39769 @if zip
39770 maybe-configure-zip: configure-zip
39771 configure-zip:
39772 @: $(MAKE); $(unstage)
39773 @r=`${PWD_COMMAND}`; export r; \
39774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39775 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
39776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
39777 $(HOST_EXPORTS) \
39778 echo Configuring in $(HOST_SUBDIR)/zip; \
39779 cd "$(HOST_SUBDIR)/zip" || exit 1; \
39780 case $(srcdir) in \
39781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39782 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
39783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39784 esac; \
39785 srcdiroption="--srcdir=$${topdir}/zip"; \
39786 libsrcdir="$$s/zip"; \
39787 $(SHELL) $${libsrcdir}/configure \
39788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39789 --target=${target_alias} $${srcdiroption} \
39790 || exit 1
39791 @endif zip
39797 .PHONY: all-zip maybe-all-zip
39798 maybe-all-zip:
39799 @if gcc-bootstrap
39800 all-zip: stage_current
39801 @endif gcc-bootstrap
39802 @if zip
39803 TARGET-zip=all
39804 maybe-all-zip: all-zip
39805 all-zip: configure-zip
39806 @: $(MAKE); $(unstage)
39807 @r=`${PWD_COMMAND}`; export r; \
39808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39809 $(HOST_EXPORTS) \
39810 (cd $(HOST_SUBDIR)/zip && \
39811 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39812 $(TARGET-zip))
39813 @endif zip
39818 .PHONY: check-zip maybe-check-zip
39819 maybe-check-zip:
39820 @if zip
39821 maybe-check-zip: check-zip
39823 # This module is only tested in a native toolchain.
39824 check-zip:
39825 @: $(MAKE); $(unstage)
39826 @if [ '$(host)' = '$(target)' ] ; then \
39827 r=`${PWD_COMMAND}`; export r; \
39828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39829 $(HOST_EXPORTS) \
39830 (cd $(HOST_SUBDIR)/zip && \
39831 $(MAKE) $(FLAGS_TO_PASS) check); \
39834 @endif zip
39836 .PHONY: install-zip maybe-install-zip
39837 maybe-install-zip:
39838 @if zip
39839 maybe-install-zip: install-zip
39841 install-zip: installdirs
39842 @: $(MAKE); $(unstage)
39843 @r=`${PWD_COMMAND}`; export r; \
39844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39845 $(HOST_EXPORTS) \
39846 (cd $(HOST_SUBDIR)/zip && \
39847 $(MAKE) $(FLAGS_TO_PASS) install)
39849 @endif zip
39851 # Other targets (info, dvi, pdf, etc.)
39853 .PHONY: maybe-info-zip info-zip
39854 maybe-info-zip:
39855 @if zip
39856 maybe-info-zip: info-zip
39858 info-zip: \
39859 configure-zip
39860 @: $(MAKE); $(unstage)
39861 @[ -f ./zip/Makefile ] || exit 0; \
39862 r=`${PWD_COMMAND}`; export r; \
39863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39864 $(HOST_EXPORTS) \
39865 for flag in $(EXTRA_HOST_FLAGS) ; do \
39866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39867 done; \
39868 echo "Doing info in zip" ; \
39869 (cd $(HOST_SUBDIR)/zip && \
39870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39872 "RANLIB=$${RANLIB}" \
39873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39874 info) \
39875 || exit 1
39877 @endif zip
39879 .PHONY: maybe-dvi-zip dvi-zip
39880 maybe-dvi-zip:
39881 @if zip
39882 maybe-dvi-zip: dvi-zip
39884 dvi-zip: \
39885 configure-zip
39886 @: $(MAKE); $(unstage)
39887 @[ -f ./zip/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 dvi in zip" ; \
39895 (cd $(HOST_SUBDIR)/zip && \
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 dvi) \
39901 || exit 1
39903 @endif zip
39905 .PHONY: maybe-pdf-zip pdf-zip
39906 maybe-pdf-zip:
39907 @if zip
39908 maybe-pdf-zip: pdf-zip
39910 pdf-zip: \
39911 configure-zip
39912 @: $(MAKE); $(unstage)
39913 @[ -f ./zip/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 pdf in zip" ; \
39921 (cd $(HOST_SUBDIR)/zip && \
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 pdf) \
39927 || exit 1
39929 @endif zip
39931 .PHONY: maybe-html-zip html-zip
39932 maybe-html-zip:
39933 @if zip
39934 maybe-html-zip: html-zip
39936 html-zip: \
39937 configure-zip
39938 @: $(MAKE); $(unstage)
39939 @[ -f ./zip/Makefile ] || exit 0; \
39940 r=`${PWD_COMMAND}`; export r; \
39941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39942 $(HOST_EXPORTS) \
39943 for flag in $(EXTRA_HOST_FLAGS) ; do \
39944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39945 done; \
39946 echo "Doing html in zip" ; \
39947 (cd $(HOST_SUBDIR)/zip && \
39948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39950 "RANLIB=$${RANLIB}" \
39951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39952 html) \
39953 || exit 1
39955 @endif zip
39957 .PHONY: maybe-TAGS-zip TAGS-zip
39958 maybe-TAGS-zip:
39959 @if zip
39960 maybe-TAGS-zip: TAGS-zip
39962 TAGS-zip: \
39963 configure-zip
39964 @: $(MAKE); $(unstage)
39965 @[ -f ./zip/Makefile ] || exit 0; \
39966 r=`${PWD_COMMAND}`; export r; \
39967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39968 $(HOST_EXPORTS) \
39969 for flag in $(EXTRA_HOST_FLAGS) ; do \
39970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39971 done; \
39972 echo "Doing TAGS in zip" ; \
39973 (cd $(HOST_SUBDIR)/zip && \
39974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39976 "RANLIB=$${RANLIB}" \
39977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39978 TAGS) \
39979 || exit 1
39981 @endif zip
39983 .PHONY: maybe-install-info-zip install-info-zip
39984 maybe-install-info-zip:
39985 @if zip
39986 maybe-install-info-zip: install-info-zip
39988 install-info-zip: \
39989 configure-zip \
39990 info-zip
39991 @: $(MAKE); $(unstage)
39992 @[ -f ./zip/Makefile ] || exit 0; \
39993 r=`${PWD_COMMAND}`; export r; \
39994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39995 $(HOST_EXPORTS) \
39996 for flag in $(EXTRA_HOST_FLAGS) ; do \
39997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39998 done; \
39999 echo "Doing install-info in zip" ; \
40000 (cd $(HOST_SUBDIR)/zip && \
40001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40003 "RANLIB=$${RANLIB}" \
40004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40005 install-info) \
40006 || exit 1
40008 @endif zip
40010 .PHONY: maybe-install-pdf-zip install-pdf-zip
40011 maybe-install-pdf-zip:
40012 @if zip
40013 maybe-install-pdf-zip: install-pdf-zip
40015 install-pdf-zip: \
40016 configure-zip \
40017 pdf-zip
40018 @: $(MAKE); $(unstage)
40019 @[ -f ./zip/Makefile ] || exit 0; \
40020 r=`${PWD_COMMAND}`; export r; \
40021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40022 $(HOST_EXPORTS) \
40023 for flag in $(EXTRA_HOST_FLAGS) ; do \
40024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40025 done; \
40026 echo "Doing install-pdf in zip" ; \
40027 (cd $(HOST_SUBDIR)/zip && \
40028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40030 "RANLIB=$${RANLIB}" \
40031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40032 install-pdf) \
40033 || exit 1
40035 @endif zip
40037 .PHONY: maybe-install-html-zip install-html-zip
40038 maybe-install-html-zip:
40039 @if zip
40040 maybe-install-html-zip: install-html-zip
40042 install-html-zip: \
40043 configure-zip \
40044 html-zip
40045 @: $(MAKE); $(unstage)
40046 @[ -f ./zip/Makefile ] || exit 0; \
40047 r=`${PWD_COMMAND}`; export r; \
40048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40049 $(HOST_EXPORTS) \
40050 for flag in $(EXTRA_HOST_FLAGS) ; do \
40051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40052 done; \
40053 echo "Doing install-html in zip" ; \
40054 (cd $(HOST_SUBDIR)/zip && \
40055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40057 "RANLIB=$${RANLIB}" \
40058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40059 install-html) \
40060 || exit 1
40062 @endif zip
40064 .PHONY: maybe-installcheck-zip installcheck-zip
40065 maybe-installcheck-zip:
40066 @if zip
40067 maybe-installcheck-zip: installcheck-zip
40069 installcheck-zip: \
40070 configure-zip
40071 @: $(MAKE); $(unstage)
40072 @[ -f ./zip/Makefile ] || exit 0; \
40073 r=`${PWD_COMMAND}`; export r; \
40074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40075 $(HOST_EXPORTS) \
40076 for flag in $(EXTRA_HOST_FLAGS) ; do \
40077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40078 done; \
40079 echo "Doing installcheck in zip" ; \
40080 (cd $(HOST_SUBDIR)/zip && \
40081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40083 "RANLIB=$${RANLIB}" \
40084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40085 installcheck) \
40086 || exit 1
40088 @endif zip
40090 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
40091 maybe-mostlyclean-zip:
40092 @if zip
40093 maybe-mostlyclean-zip: mostlyclean-zip
40095 mostlyclean-zip:
40096 @: $(MAKE); $(unstage)
40097 @[ -f ./zip/Makefile ] || exit 0; \
40098 r=`${PWD_COMMAND}`; export r; \
40099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40100 $(HOST_EXPORTS) \
40101 for flag in $(EXTRA_HOST_FLAGS) ; do \
40102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40103 done; \
40104 echo "Doing mostlyclean in zip" ; \
40105 (cd $(HOST_SUBDIR)/zip && \
40106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40108 "RANLIB=$${RANLIB}" \
40109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40110 mostlyclean) \
40111 || exit 1
40113 @endif zip
40115 .PHONY: maybe-clean-zip clean-zip
40116 maybe-clean-zip:
40117 @if zip
40118 maybe-clean-zip: clean-zip
40120 clean-zip:
40121 @: $(MAKE); $(unstage)
40122 @[ -f ./zip/Makefile ] || exit 0; \
40123 r=`${PWD_COMMAND}`; export r; \
40124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40125 $(HOST_EXPORTS) \
40126 for flag in $(EXTRA_HOST_FLAGS) ; do \
40127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40128 done; \
40129 echo "Doing clean in zip" ; \
40130 (cd $(HOST_SUBDIR)/zip && \
40131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40133 "RANLIB=$${RANLIB}" \
40134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40135 clean) \
40136 || exit 1
40138 @endif zip
40140 .PHONY: maybe-distclean-zip distclean-zip
40141 maybe-distclean-zip:
40142 @if zip
40143 maybe-distclean-zip: distclean-zip
40145 distclean-zip:
40146 @: $(MAKE); $(unstage)
40147 @[ -f ./zip/Makefile ] || exit 0; \
40148 r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 $(HOST_EXPORTS) \
40151 for flag in $(EXTRA_HOST_FLAGS) ; do \
40152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40153 done; \
40154 echo "Doing distclean in zip" ; \
40155 (cd $(HOST_SUBDIR)/zip && \
40156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40158 "RANLIB=$${RANLIB}" \
40159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40160 distclean) \
40161 || exit 1
40163 @endif zip
40165 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
40166 maybe-maintainer-clean-zip:
40167 @if zip
40168 maybe-maintainer-clean-zip: maintainer-clean-zip
40170 maintainer-clean-zip:
40171 @: $(MAKE); $(unstage)
40172 @[ -f ./zip/Makefile ] || exit 0; \
40173 r=`${PWD_COMMAND}`; export r; \
40174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40175 $(HOST_EXPORTS) \
40176 for flag in $(EXTRA_HOST_FLAGS) ; do \
40177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40178 done; \
40179 echo "Doing maintainer-clean in zip" ; \
40180 (cd $(HOST_SUBDIR)/zip && \
40181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40183 "RANLIB=$${RANLIB}" \
40184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40185 maintainer-clean) \
40186 || exit 1
40188 @endif zip
40192 .PHONY: configure-zlib maybe-configure-zlib
40193 maybe-configure-zlib:
40194 @if gcc-bootstrap
40195 configure-zlib: stage_current
40196 @endif gcc-bootstrap
40197 @if zlib
40198 maybe-configure-zlib: configure-zlib
40199 configure-zlib:
40200 @r=`${PWD_COMMAND}`; export r; \
40201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40202 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40204 $(HOST_EXPORTS) \
40205 echo Configuring in $(HOST_SUBDIR)/zlib; \
40206 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
40207 case $(srcdir) in \
40208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40209 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40211 esac; \
40212 srcdiroption="--srcdir=$${topdir}/zlib"; \
40213 libsrcdir="$$s/zlib"; \
40214 $(SHELL) $${libsrcdir}/configure \
40215 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40216 --target=${target_alias} $${srcdiroption} \
40217 || exit 1
40218 @endif zlib
40222 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
40223 maybe-configure-stage1-zlib:
40224 @if zlib-bootstrap
40225 maybe-configure-stage1-zlib: configure-stage1-zlib
40226 configure-stage1-zlib:
40227 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40228 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40229 @r=`${PWD_COMMAND}`; export r; \
40230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40231 TFLAGS="$(STAGE1_TFLAGS)"; \
40232 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40233 $(HOST_EXPORTS) \
40234 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
40235 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
40236 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
40237 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
40238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40239 cd $(HOST_SUBDIR)/zlib || exit 1; \
40240 case $(srcdir) in \
40241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40242 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40244 esac; \
40245 srcdiroption="--srcdir=$${topdir}/zlib"; \
40246 libsrcdir="$$s/zlib"; \
40247 $(SHELL) $${libsrcdir}/configure \
40248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40249 --target=${target_alias} $${srcdiroption} \
40250 $(STAGE1_CONFIGURE_FLAGS)
40251 @endif zlib-bootstrap
40253 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
40254 maybe-configure-stage2-zlib:
40255 @if zlib-bootstrap
40256 maybe-configure-stage2-zlib: configure-stage2-zlib
40257 configure-stage2-zlib:
40258 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40260 @r=`${PWD_COMMAND}`; export r; \
40261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40262 TFLAGS="$(STAGE2_TFLAGS)"; \
40263 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40264 $(HOST_EXPORTS) \
40265 $(POSTSTAGE1_HOST_EXPORTS) \
40266 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
40267 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
40268 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
40269 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
40270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40271 cd $(HOST_SUBDIR)/zlib || exit 1; \
40272 case $(srcdir) in \
40273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40274 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40276 esac; \
40277 srcdiroption="--srcdir=$${topdir}/zlib"; \
40278 libsrcdir="$$s/zlib"; \
40279 $(SHELL) $${libsrcdir}/configure \
40280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40281 --target=${target_alias} $${srcdiroption} \
40282 --with-build-libsubdir=$(HOST_SUBDIR) \
40283 $(STAGE2_CONFIGURE_FLAGS)
40284 @endif zlib-bootstrap
40286 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
40287 maybe-configure-stage3-zlib:
40288 @if zlib-bootstrap
40289 maybe-configure-stage3-zlib: configure-stage3-zlib
40290 configure-stage3-zlib:
40291 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40293 @r=`${PWD_COMMAND}`; export r; \
40294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40295 TFLAGS="$(STAGE3_TFLAGS)"; \
40296 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40297 $(HOST_EXPORTS) \
40298 $(POSTSTAGE1_HOST_EXPORTS) \
40299 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
40300 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
40301 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
40302 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
40303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40304 cd $(HOST_SUBDIR)/zlib || exit 1; \
40305 case $(srcdir) in \
40306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40307 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40309 esac; \
40310 srcdiroption="--srcdir=$${topdir}/zlib"; \
40311 libsrcdir="$$s/zlib"; \
40312 $(SHELL) $${libsrcdir}/configure \
40313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40314 --target=${target_alias} $${srcdiroption} \
40315 --with-build-libsubdir=$(HOST_SUBDIR) \
40316 $(STAGE3_CONFIGURE_FLAGS)
40317 @endif zlib-bootstrap
40319 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
40320 maybe-configure-stage4-zlib:
40321 @if zlib-bootstrap
40322 maybe-configure-stage4-zlib: configure-stage4-zlib
40323 configure-stage4-zlib:
40324 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40326 @r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 TFLAGS="$(STAGE4_TFLAGS)"; \
40329 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40330 $(HOST_EXPORTS) \
40331 $(POSTSTAGE1_HOST_EXPORTS) \
40332 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
40333 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
40334 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
40335 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
40336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40337 cd $(HOST_SUBDIR)/zlib || exit 1; \
40338 case $(srcdir) in \
40339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40340 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40342 esac; \
40343 srcdiroption="--srcdir=$${topdir}/zlib"; \
40344 libsrcdir="$$s/zlib"; \
40345 $(SHELL) $${libsrcdir}/configure \
40346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40347 --target=${target_alias} $${srcdiroption} \
40348 --with-build-libsubdir=$(HOST_SUBDIR) \
40349 $(STAGE4_CONFIGURE_FLAGS)
40350 @endif zlib-bootstrap
40352 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
40353 maybe-configure-stageprofile-zlib:
40354 @if zlib-bootstrap
40355 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
40356 configure-stageprofile-zlib:
40357 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40359 @r=`${PWD_COMMAND}`; export r; \
40360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40361 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40362 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40363 $(HOST_EXPORTS) \
40364 $(POSTSTAGE1_HOST_EXPORTS) \
40365 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
40366 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
40367 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
40368 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
40369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40370 cd $(HOST_SUBDIR)/zlib || exit 1; \
40371 case $(srcdir) in \
40372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40373 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40375 esac; \
40376 srcdiroption="--srcdir=$${topdir}/zlib"; \
40377 libsrcdir="$$s/zlib"; \
40378 $(SHELL) $${libsrcdir}/configure \
40379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40380 --target=${target_alias} $${srcdiroption} \
40381 --with-build-libsubdir=$(HOST_SUBDIR) \
40382 $(STAGEprofile_CONFIGURE_FLAGS)
40383 @endif zlib-bootstrap
40385 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
40386 maybe-configure-stagefeedback-zlib:
40387 @if zlib-bootstrap
40388 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
40389 configure-stagefeedback-zlib:
40390 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
40392 @r=`${PWD_COMMAND}`; export r; \
40393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40394 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40395 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
40396 $(HOST_EXPORTS) \
40397 $(POSTSTAGE1_HOST_EXPORTS) \
40398 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
40399 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
40400 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
40401 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
40402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
40403 cd $(HOST_SUBDIR)/zlib || exit 1; \
40404 case $(srcdir) in \
40405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40406 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
40407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40408 esac; \
40409 srcdiroption="--srcdir=$${topdir}/zlib"; \
40410 libsrcdir="$$s/zlib"; \
40411 $(SHELL) $${libsrcdir}/configure \
40412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40413 --target=${target_alias} $${srcdiroption} \
40414 --with-build-libsubdir=$(HOST_SUBDIR) \
40415 $(STAGEfeedback_CONFIGURE_FLAGS)
40416 @endif zlib-bootstrap
40422 .PHONY: all-zlib maybe-all-zlib
40423 maybe-all-zlib:
40424 @if gcc-bootstrap
40425 all-zlib: stage_current
40426 @endif gcc-bootstrap
40427 @if zlib
40428 TARGET-zlib=all
40429 maybe-all-zlib: all-zlib
40430 all-zlib: configure-zlib
40431 @r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 $(HOST_EXPORTS) \
40434 (cd $(HOST_SUBDIR)/zlib && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40436 $(TARGET-zlib))
40437 @endif zlib
40441 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
40442 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
40443 maybe-all-stage1-zlib:
40444 maybe-clean-stage1-zlib:
40445 @if zlib-bootstrap
40446 maybe-all-stage1-zlib: all-stage1-zlib
40447 all-stage1: all-stage1-zlib
40448 TARGET-stage1-zlib = $(TARGET-zlib)
40449 all-stage1-zlib: configure-stage1-zlib
40450 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40451 @r=`${PWD_COMMAND}`; export r; \
40452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40453 TFLAGS="$(STAGE1_TFLAGS)"; \
40454 $(HOST_EXPORTS) \
40455 cd $(HOST_SUBDIR)/zlib && \
40456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40457 CFLAGS="$(STAGE1_CFLAGS)" \
40458 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
40459 LIBCFLAGS="$(LIBCFLAGS)" \
40460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40463 $(EXTRA_HOST_FLAGS) \
40464 TFLAGS="$(STAGE1_TFLAGS)" \
40465 $(TARGET-stage1-zlib)
40467 maybe-clean-stage1-zlib: clean-stage1-zlib
40468 clean-stage1: clean-stage1-zlib
40469 clean-stage1-zlib:
40470 @if [ $(current_stage) = stage1 ]; then \
40471 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40472 else \
40473 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
40474 $(MAKE) stage1-start; \
40475 fi; \
40476 cd $(HOST_SUBDIR)/zlib && \
40477 $(MAKE) $(EXTRA_HOST_FLAGS) \
40478 clean
40479 @endif zlib-bootstrap
40482 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
40483 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
40484 maybe-all-stage2-zlib:
40485 maybe-clean-stage2-zlib:
40486 @if zlib-bootstrap
40487 maybe-all-stage2-zlib: all-stage2-zlib
40488 all-stage2: all-stage2-zlib
40489 TARGET-stage2-zlib = $(TARGET-zlib)
40490 all-stage2-zlib: configure-stage2-zlib
40491 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40492 @r=`${PWD_COMMAND}`; export r; \
40493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40494 TFLAGS="$(STAGE2_TFLAGS)"; \
40495 $(HOST_EXPORTS) \
40496 $(POSTSTAGE1_HOST_EXPORTS) \
40497 cd $(HOST_SUBDIR)/zlib && \
40498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40499 CFLAGS="$(STAGE2_CFLAGS)" \
40500 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
40501 LIBCFLAGS="$(STAGE2_CFLAGS)" \
40502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40506 TFLAGS="$(STAGE2_TFLAGS)" \
40507 $(TARGET-stage2-zlib)
40509 maybe-clean-stage2-zlib: clean-stage2-zlib
40510 clean-stage2: clean-stage2-zlib
40511 clean-stage2-zlib:
40512 @if [ $(current_stage) = stage2 ]; then \
40513 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40514 else \
40515 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
40516 $(MAKE) stage2-start; \
40517 fi; \
40518 cd $(HOST_SUBDIR)/zlib && \
40519 $(MAKE) $(EXTRA_HOST_FLAGS) \
40520 $(POSTSTAGE1_FLAGS_TO_PASS) \
40521 clean
40522 @endif zlib-bootstrap
40525 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
40526 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
40527 maybe-all-stage3-zlib:
40528 maybe-clean-stage3-zlib:
40529 @if zlib-bootstrap
40530 maybe-all-stage3-zlib: all-stage3-zlib
40531 all-stage3: all-stage3-zlib
40532 TARGET-stage3-zlib = $(TARGET-zlib)
40533 all-stage3-zlib: configure-stage3-zlib
40534 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40535 @r=`${PWD_COMMAND}`; export r; \
40536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40537 TFLAGS="$(STAGE3_TFLAGS)"; \
40538 $(HOST_EXPORTS) \
40539 $(POSTSTAGE1_HOST_EXPORTS) \
40540 cd $(HOST_SUBDIR)/zlib && \
40541 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40542 CFLAGS="$(STAGE3_CFLAGS)" \
40543 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
40544 LIBCFLAGS="$(STAGE3_CFLAGS)" \
40545 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40546 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40547 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40548 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40549 TFLAGS="$(STAGE3_TFLAGS)" \
40550 $(TARGET-stage3-zlib)
40552 maybe-clean-stage3-zlib: clean-stage3-zlib
40553 clean-stage3: clean-stage3-zlib
40554 clean-stage3-zlib:
40555 @if [ $(current_stage) = stage3 ]; then \
40556 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40557 else \
40558 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
40559 $(MAKE) stage3-start; \
40560 fi; \
40561 cd $(HOST_SUBDIR)/zlib && \
40562 $(MAKE) $(EXTRA_HOST_FLAGS) \
40563 $(POSTSTAGE1_FLAGS_TO_PASS) \
40564 clean
40565 @endif zlib-bootstrap
40568 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
40569 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
40570 maybe-all-stage4-zlib:
40571 maybe-clean-stage4-zlib:
40572 @if zlib-bootstrap
40573 maybe-all-stage4-zlib: all-stage4-zlib
40574 all-stage4: all-stage4-zlib
40575 TARGET-stage4-zlib = $(TARGET-zlib)
40576 all-stage4-zlib: configure-stage4-zlib
40577 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40578 @r=`${PWD_COMMAND}`; export r; \
40579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40580 TFLAGS="$(STAGE4_TFLAGS)"; \
40581 $(HOST_EXPORTS) \
40582 $(POSTSTAGE1_HOST_EXPORTS) \
40583 cd $(HOST_SUBDIR)/zlib && \
40584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40585 CFLAGS="$(STAGE4_CFLAGS)" \
40586 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
40587 LIBCFLAGS="$(STAGE4_CFLAGS)" \
40588 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40589 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40590 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40591 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40592 TFLAGS="$(STAGE4_TFLAGS)" \
40593 $(TARGET-stage4-zlib)
40595 maybe-clean-stage4-zlib: clean-stage4-zlib
40596 clean-stage4: clean-stage4-zlib
40597 clean-stage4-zlib:
40598 @if [ $(current_stage) = stage4 ]; then \
40599 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40600 else \
40601 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
40602 $(MAKE) stage4-start; \
40603 fi; \
40604 cd $(HOST_SUBDIR)/zlib && \
40605 $(MAKE) $(EXTRA_HOST_FLAGS) \
40606 $(POSTSTAGE1_FLAGS_TO_PASS) \
40607 clean
40608 @endif zlib-bootstrap
40611 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
40612 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
40613 maybe-all-stageprofile-zlib:
40614 maybe-clean-stageprofile-zlib:
40615 @if zlib-bootstrap
40616 maybe-all-stageprofile-zlib: all-stageprofile-zlib
40617 all-stageprofile: all-stageprofile-zlib
40618 TARGET-stageprofile-zlib = $(TARGET-zlib)
40619 all-stageprofile-zlib: configure-stageprofile-zlib
40620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40621 @r=`${PWD_COMMAND}`; export r; \
40622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40623 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40624 $(HOST_EXPORTS) \
40625 $(POSTSTAGE1_HOST_EXPORTS) \
40626 cd $(HOST_SUBDIR)/zlib && \
40627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40628 CFLAGS="$(STAGEprofile_CFLAGS)" \
40629 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
40630 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
40631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40634 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40635 TFLAGS="$(STAGEprofile_TFLAGS)" \
40636 $(TARGET-stageprofile-zlib)
40638 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
40639 clean-stageprofile: clean-stageprofile-zlib
40640 clean-stageprofile-zlib:
40641 @if [ $(current_stage) = stageprofile ]; then \
40642 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40643 else \
40644 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
40645 $(MAKE) stageprofile-start; \
40646 fi; \
40647 cd $(HOST_SUBDIR)/zlib && \
40648 $(MAKE) $(EXTRA_HOST_FLAGS) \
40649 $(POSTSTAGE1_FLAGS_TO_PASS) \
40650 clean
40651 @endif zlib-bootstrap
40654 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
40655 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
40656 maybe-all-stagefeedback-zlib:
40657 maybe-clean-stagefeedback-zlib:
40658 @if zlib-bootstrap
40659 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
40660 all-stagefeedback: all-stagefeedback-zlib
40661 TARGET-stagefeedback-zlib = $(TARGET-zlib)
40662 all-stagefeedback-zlib: configure-stagefeedback-zlib
40663 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40664 @r=`${PWD_COMMAND}`; export r; \
40665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40666 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40667 $(HOST_EXPORTS) \
40668 $(POSTSTAGE1_HOST_EXPORTS) \
40669 cd $(HOST_SUBDIR)/zlib && \
40670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40671 CFLAGS="$(STAGEfeedback_CFLAGS)" \
40672 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
40673 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
40674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
40678 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40679 $(TARGET-stagefeedback-zlib)
40681 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
40682 clean-stagefeedback: clean-stagefeedback-zlib
40683 clean-stagefeedback-zlib:
40684 @if [ $(current_stage) = stagefeedback ]; then \
40685 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
40686 else \
40687 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
40688 $(MAKE) stagefeedback-start; \
40689 fi; \
40690 cd $(HOST_SUBDIR)/zlib && \
40691 $(MAKE) $(EXTRA_HOST_FLAGS) \
40692 $(POSTSTAGE1_FLAGS_TO_PASS) \
40693 clean
40694 @endif zlib-bootstrap
40700 .PHONY: check-zlib maybe-check-zlib
40701 maybe-check-zlib:
40702 @if zlib
40703 maybe-check-zlib: check-zlib
40705 check-zlib:
40707 @endif zlib
40709 .PHONY: install-zlib maybe-install-zlib
40710 maybe-install-zlib:
40711 @if zlib
40712 maybe-install-zlib: install-zlib
40714 install-zlib:
40716 @endif zlib
40718 # Other targets (info, dvi, pdf, etc.)
40720 .PHONY: maybe-info-zlib info-zlib
40721 maybe-info-zlib:
40722 @if zlib
40723 maybe-info-zlib: info-zlib
40725 info-zlib: \
40726 configure-zlib
40727 @[ -f ./zlib/Makefile ] || exit 0; \
40728 r=`${PWD_COMMAND}`; export r; \
40729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40730 $(HOST_EXPORTS) \
40731 for flag in $(EXTRA_HOST_FLAGS) ; do \
40732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40733 done; \
40734 echo "Doing info in zlib" ; \
40735 (cd $(HOST_SUBDIR)/zlib && \
40736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40738 "RANLIB=$${RANLIB}" \
40739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40740 info) \
40741 || exit 1
40743 @endif zlib
40745 .PHONY: maybe-dvi-zlib dvi-zlib
40746 maybe-dvi-zlib:
40747 @if zlib
40748 maybe-dvi-zlib: dvi-zlib
40750 dvi-zlib: \
40751 configure-zlib
40752 @[ -f ./zlib/Makefile ] || exit 0; \
40753 r=`${PWD_COMMAND}`; export r; \
40754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40755 $(HOST_EXPORTS) \
40756 for flag in $(EXTRA_HOST_FLAGS) ; do \
40757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40758 done; \
40759 echo "Doing dvi in zlib" ; \
40760 (cd $(HOST_SUBDIR)/zlib && \
40761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40763 "RANLIB=$${RANLIB}" \
40764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40765 dvi) \
40766 || exit 1
40768 @endif zlib
40770 .PHONY: maybe-pdf-zlib pdf-zlib
40771 maybe-pdf-zlib:
40772 @if zlib
40773 maybe-pdf-zlib: pdf-zlib
40775 pdf-zlib: \
40776 configure-zlib
40777 @[ -f ./zlib/Makefile ] || exit 0; \
40778 r=`${PWD_COMMAND}`; export r; \
40779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40780 $(HOST_EXPORTS) \
40781 for flag in $(EXTRA_HOST_FLAGS) ; do \
40782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40783 done; \
40784 echo "Doing pdf in zlib" ; \
40785 (cd $(HOST_SUBDIR)/zlib && \
40786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40788 "RANLIB=$${RANLIB}" \
40789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40790 pdf) \
40791 || exit 1
40793 @endif zlib
40795 .PHONY: maybe-html-zlib html-zlib
40796 maybe-html-zlib:
40797 @if zlib
40798 maybe-html-zlib: html-zlib
40800 html-zlib: \
40801 configure-zlib
40802 @[ -f ./zlib/Makefile ] || exit 0; \
40803 r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 $(HOST_EXPORTS) \
40806 for flag in $(EXTRA_HOST_FLAGS) ; do \
40807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40808 done; \
40809 echo "Doing html in zlib" ; \
40810 (cd $(HOST_SUBDIR)/zlib && \
40811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40813 "RANLIB=$${RANLIB}" \
40814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40815 html) \
40816 || exit 1
40818 @endif zlib
40820 .PHONY: maybe-TAGS-zlib TAGS-zlib
40821 maybe-TAGS-zlib:
40822 @if zlib
40823 maybe-TAGS-zlib: TAGS-zlib
40825 TAGS-zlib: \
40826 configure-zlib
40827 @[ -f ./zlib/Makefile ] || exit 0; \
40828 r=`${PWD_COMMAND}`; export r; \
40829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40830 $(HOST_EXPORTS) \
40831 for flag in $(EXTRA_HOST_FLAGS) ; do \
40832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40833 done; \
40834 echo "Doing TAGS in zlib" ; \
40835 (cd $(HOST_SUBDIR)/zlib && \
40836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40838 "RANLIB=$${RANLIB}" \
40839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40840 TAGS) \
40841 || exit 1
40843 @endif zlib
40845 .PHONY: maybe-install-info-zlib install-info-zlib
40846 maybe-install-info-zlib:
40847 @if zlib
40848 maybe-install-info-zlib: install-info-zlib
40850 install-info-zlib: \
40851 configure-zlib \
40852 info-zlib
40853 @[ -f ./zlib/Makefile ] || exit 0; \
40854 r=`${PWD_COMMAND}`; export r; \
40855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40856 $(HOST_EXPORTS) \
40857 for flag in $(EXTRA_HOST_FLAGS) ; do \
40858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40859 done; \
40860 echo "Doing install-info in zlib" ; \
40861 (cd $(HOST_SUBDIR)/zlib && \
40862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40864 "RANLIB=$${RANLIB}" \
40865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40866 install-info) \
40867 || exit 1
40869 @endif zlib
40871 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
40872 maybe-install-pdf-zlib:
40873 @if zlib
40874 maybe-install-pdf-zlib: install-pdf-zlib
40876 install-pdf-zlib: \
40877 configure-zlib \
40878 pdf-zlib
40879 @[ -f ./zlib/Makefile ] || exit 0; \
40880 r=`${PWD_COMMAND}`; export r; \
40881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40882 $(HOST_EXPORTS) \
40883 for flag in $(EXTRA_HOST_FLAGS) ; do \
40884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40885 done; \
40886 echo "Doing install-pdf in zlib" ; \
40887 (cd $(HOST_SUBDIR)/zlib && \
40888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40890 "RANLIB=$${RANLIB}" \
40891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40892 install-pdf) \
40893 || exit 1
40895 @endif zlib
40897 .PHONY: maybe-install-html-zlib install-html-zlib
40898 maybe-install-html-zlib:
40899 @if zlib
40900 maybe-install-html-zlib: install-html-zlib
40902 install-html-zlib: \
40903 configure-zlib \
40904 html-zlib
40905 @[ -f ./zlib/Makefile ] || exit 0; \
40906 r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 $(HOST_EXPORTS) \
40909 for flag in $(EXTRA_HOST_FLAGS) ; do \
40910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40911 done; \
40912 echo "Doing install-html in zlib" ; \
40913 (cd $(HOST_SUBDIR)/zlib && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40916 "RANLIB=$${RANLIB}" \
40917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40918 install-html) \
40919 || exit 1
40921 @endif zlib
40923 .PHONY: maybe-installcheck-zlib installcheck-zlib
40924 maybe-installcheck-zlib:
40925 @if zlib
40926 maybe-installcheck-zlib: installcheck-zlib
40928 installcheck-zlib: \
40929 configure-zlib
40930 @[ -f ./zlib/Makefile ] || exit 0; \
40931 r=`${PWD_COMMAND}`; export r; \
40932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40933 $(HOST_EXPORTS) \
40934 for flag in $(EXTRA_HOST_FLAGS) ; do \
40935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40936 done; \
40937 echo "Doing installcheck in zlib" ; \
40938 (cd $(HOST_SUBDIR)/zlib && \
40939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40941 "RANLIB=$${RANLIB}" \
40942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40943 installcheck) \
40944 || exit 1
40946 @endif zlib
40948 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
40949 maybe-mostlyclean-zlib:
40950 @if zlib
40951 maybe-mostlyclean-zlib: mostlyclean-zlib
40953 mostlyclean-zlib:
40954 @[ -f ./zlib/Makefile ] || exit 0; \
40955 r=`${PWD_COMMAND}`; export r; \
40956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40957 $(HOST_EXPORTS) \
40958 for flag in $(EXTRA_HOST_FLAGS) ; do \
40959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40960 done; \
40961 echo "Doing mostlyclean in zlib" ; \
40962 (cd $(HOST_SUBDIR)/zlib && \
40963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40965 "RANLIB=$${RANLIB}" \
40966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40967 mostlyclean) \
40968 || exit 1
40970 @endif zlib
40972 .PHONY: maybe-clean-zlib clean-zlib
40973 maybe-clean-zlib:
40974 @if zlib
40975 maybe-clean-zlib: clean-zlib
40977 clean-zlib:
40978 @[ -f ./zlib/Makefile ] || exit 0; \
40979 r=`${PWD_COMMAND}`; export r; \
40980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40981 $(HOST_EXPORTS) \
40982 for flag in $(EXTRA_HOST_FLAGS) ; do \
40983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40984 done; \
40985 echo "Doing clean in zlib" ; \
40986 (cd $(HOST_SUBDIR)/zlib && \
40987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40989 "RANLIB=$${RANLIB}" \
40990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40991 clean) \
40992 || exit 1
40994 @endif zlib
40996 .PHONY: maybe-distclean-zlib distclean-zlib
40997 maybe-distclean-zlib:
40998 @if zlib
40999 maybe-distclean-zlib: distclean-zlib
41001 distclean-zlib:
41002 @[ -f ./zlib/Makefile ] || exit 0; \
41003 r=`${PWD_COMMAND}`; export r; \
41004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41005 $(HOST_EXPORTS) \
41006 for flag in $(EXTRA_HOST_FLAGS) ; do \
41007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41008 done; \
41009 echo "Doing distclean in zlib" ; \
41010 (cd $(HOST_SUBDIR)/zlib && \
41011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41013 "RANLIB=$${RANLIB}" \
41014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41015 distclean) \
41016 || exit 1
41018 @endif zlib
41020 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
41021 maybe-maintainer-clean-zlib:
41022 @if zlib
41023 maybe-maintainer-clean-zlib: maintainer-clean-zlib
41025 maintainer-clean-zlib:
41026 @[ -f ./zlib/Makefile ] || exit 0; \
41027 r=`${PWD_COMMAND}`; export r; \
41028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41029 $(HOST_EXPORTS) \
41030 for flag in $(EXTRA_HOST_FLAGS) ; do \
41031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41032 done; \
41033 echo "Doing maintainer-clean in zlib" ; \
41034 (cd $(HOST_SUBDIR)/zlib && \
41035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41037 "RANLIB=$${RANLIB}" \
41038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41039 maintainer-clean) \
41040 || exit 1
41042 @endif zlib
41046 .PHONY: configure-gdb maybe-configure-gdb
41047 maybe-configure-gdb:
41048 @if gcc-bootstrap
41049 configure-gdb: stage_current
41050 @endif gcc-bootstrap
41051 @if gdb
41052 maybe-configure-gdb: configure-gdb
41053 configure-gdb:
41054 @: $(MAKE); $(unstage)
41055 @r=`${PWD_COMMAND}`; export r; \
41056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41057 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
41058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
41059 $(HOST_EXPORTS) \
41060 echo Configuring in $(HOST_SUBDIR)/gdb; \
41061 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
41062 case $(srcdir) in \
41063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41064 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
41065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41066 esac; \
41067 srcdiroption="--srcdir=$${topdir}/gdb"; \
41068 libsrcdir="$$s/gdb"; \
41069 $(SHELL) $${libsrcdir}/configure \
41070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41071 --target=${target_alias} $${srcdiroption} \
41072 || exit 1
41073 @endif gdb
41079 .PHONY: all-gdb maybe-all-gdb
41080 maybe-all-gdb:
41081 @if gcc-bootstrap
41082 all-gdb: stage_current
41083 @endif gcc-bootstrap
41084 @if gdb
41085 TARGET-gdb=all
41086 maybe-all-gdb: all-gdb
41087 all-gdb: configure-gdb
41088 @: $(MAKE); $(unstage)
41089 @r=`${PWD_COMMAND}`; export r; \
41090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41091 $(HOST_EXPORTS) \
41092 (cd $(HOST_SUBDIR)/gdb && \
41093 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41094 $(TARGET-gdb))
41095 @endif gdb
41100 .PHONY: check-gdb maybe-check-gdb
41101 maybe-check-gdb:
41102 @if gdb
41103 maybe-check-gdb: check-gdb
41105 check-gdb:
41106 @: $(MAKE); $(unstage)
41107 @r=`${PWD_COMMAND}`; export r; \
41108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41109 $(HOST_EXPORTS) \
41110 (cd $(HOST_SUBDIR)/gdb && \
41111 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41113 @endif gdb
41115 .PHONY: install-gdb maybe-install-gdb
41116 maybe-install-gdb:
41117 @if gdb
41118 maybe-install-gdb: install-gdb
41120 install-gdb: installdirs
41121 @: $(MAKE); $(unstage)
41122 @r=`${PWD_COMMAND}`; export r; \
41123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41124 $(HOST_EXPORTS) \
41125 (cd $(HOST_SUBDIR)/gdb && \
41126 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41128 @endif gdb
41130 # Other targets (info, dvi, pdf, etc.)
41132 .PHONY: maybe-info-gdb info-gdb
41133 maybe-info-gdb:
41134 @if gdb
41135 maybe-info-gdb: info-gdb
41137 info-gdb: \
41138 configure-gdb
41139 @: $(MAKE); $(unstage)
41140 @[ -f ./gdb/Makefile ] || exit 0; \
41141 r=`${PWD_COMMAND}`; export r; \
41142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41143 $(HOST_EXPORTS) \
41144 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41146 done; \
41147 echo "Doing info in gdb" ; \
41148 (cd $(HOST_SUBDIR)/gdb && \
41149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41151 "RANLIB=$${RANLIB}" \
41152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41153 info) \
41154 || exit 1
41156 @endif gdb
41158 .PHONY: maybe-dvi-gdb dvi-gdb
41159 maybe-dvi-gdb:
41160 @if gdb
41161 maybe-dvi-gdb: dvi-gdb
41163 dvi-gdb: \
41164 configure-gdb
41165 @: $(MAKE); $(unstage)
41166 @[ -f ./gdb/Makefile ] || exit 0; \
41167 r=`${PWD_COMMAND}`; export r; \
41168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41169 $(HOST_EXPORTS) \
41170 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41172 done; \
41173 echo "Doing dvi in gdb" ; \
41174 (cd $(HOST_SUBDIR)/gdb && \
41175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41177 "RANLIB=$${RANLIB}" \
41178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41179 dvi) \
41180 || exit 1
41182 @endif gdb
41184 .PHONY: maybe-pdf-gdb pdf-gdb
41185 maybe-pdf-gdb:
41186 @if gdb
41187 maybe-pdf-gdb: pdf-gdb
41189 pdf-gdb: \
41190 configure-gdb
41191 @: $(MAKE); $(unstage)
41192 @[ -f ./gdb/Makefile ] || exit 0; \
41193 r=`${PWD_COMMAND}`; export r; \
41194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41195 $(HOST_EXPORTS) \
41196 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41198 done; \
41199 echo "Doing pdf in gdb" ; \
41200 (cd $(HOST_SUBDIR)/gdb && \
41201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41203 "RANLIB=$${RANLIB}" \
41204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41205 pdf) \
41206 || exit 1
41208 @endif gdb
41210 .PHONY: maybe-html-gdb html-gdb
41211 maybe-html-gdb:
41212 @if gdb
41213 maybe-html-gdb: html-gdb
41215 html-gdb: \
41216 configure-gdb
41217 @: $(MAKE); $(unstage)
41218 @[ -f ./gdb/Makefile ] || exit 0; \
41219 r=`${PWD_COMMAND}`; export r; \
41220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41221 $(HOST_EXPORTS) \
41222 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41224 done; \
41225 echo "Doing html in gdb" ; \
41226 (cd $(HOST_SUBDIR)/gdb && \
41227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41229 "RANLIB=$${RANLIB}" \
41230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41231 html) \
41232 || exit 1
41234 @endif gdb
41236 .PHONY: maybe-TAGS-gdb TAGS-gdb
41237 maybe-TAGS-gdb:
41238 @if gdb
41239 maybe-TAGS-gdb: TAGS-gdb
41241 TAGS-gdb: \
41242 configure-gdb
41243 @: $(MAKE); $(unstage)
41244 @[ -f ./gdb/Makefile ] || exit 0; \
41245 r=`${PWD_COMMAND}`; export r; \
41246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41247 $(HOST_EXPORTS) \
41248 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41250 done; \
41251 echo "Doing TAGS in gdb" ; \
41252 (cd $(HOST_SUBDIR)/gdb && \
41253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41255 "RANLIB=$${RANLIB}" \
41256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41257 TAGS) \
41258 || exit 1
41260 @endif gdb
41262 .PHONY: maybe-install-info-gdb install-info-gdb
41263 maybe-install-info-gdb:
41264 @if gdb
41265 maybe-install-info-gdb: install-info-gdb
41267 install-info-gdb: \
41268 configure-gdb \
41269 info-gdb
41270 @: $(MAKE); $(unstage)
41271 @[ -f ./gdb/Makefile ] || exit 0; \
41272 r=`${PWD_COMMAND}`; export r; \
41273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41274 $(HOST_EXPORTS) \
41275 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41277 done; \
41278 echo "Doing install-info in gdb" ; \
41279 (cd $(HOST_SUBDIR)/gdb && \
41280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41282 "RANLIB=$${RANLIB}" \
41283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41284 install-info) \
41285 || exit 1
41287 @endif gdb
41289 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
41290 maybe-install-pdf-gdb:
41291 @if gdb
41292 maybe-install-pdf-gdb: install-pdf-gdb
41294 install-pdf-gdb: \
41295 configure-gdb \
41296 pdf-gdb
41297 @: $(MAKE); $(unstage)
41298 @[ -f ./gdb/Makefile ] || exit 0; \
41299 r=`${PWD_COMMAND}`; export r; \
41300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41301 $(HOST_EXPORTS) \
41302 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41304 done; \
41305 echo "Doing install-pdf in gdb" ; \
41306 (cd $(HOST_SUBDIR)/gdb && \
41307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41309 "RANLIB=$${RANLIB}" \
41310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41311 install-pdf) \
41312 || exit 1
41314 @endif gdb
41316 .PHONY: maybe-install-html-gdb install-html-gdb
41317 maybe-install-html-gdb:
41318 @if gdb
41319 maybe-install-html-gdb: install-html-gdb
41321 install-html-gdb: \
41322 configure-gdb \
41323 html-gdb
41324 @: $(MAKE); $(unstage)
41325 @[ -f ./gdb/Makefile ] || exit 0; \
41326 r=`${PWD_COMMAND}`; export r; \
41327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41328 $(HOST_EXPORTS) \
41329 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41331 done; \
41332 echo "Doing install-html in gdb" ; \
41333 (cd $(HOST_SUBDIR)/gdb && \
41334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41336 "RANLIB=$${RANLIB}" \
41337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41338 install-html) \
41339 || exit 1
41341 @endif gdb
41343 .PHONY: maybe-installcheck-gdb installcheck-gdb
41344 maybe-installcheck-gdb:
41345 @if gdb
41346 maybe-installcheck-gdb: installcheck-gdb
41348 installcheck-gdb: \
41349 configure-gdb
41350 @: $(MAKE); $(unstage)
41351 @[ -f ./gdb/Makefile ] || exit 0; \
41352 r=`${PWD_COMMAND}`; export r; \
41353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41354 $(HOST_EXPORTS) \
41355 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41357 done; \
41358 echo "Doing installcheck in gdb" ; \
41359 (cd $(HOST_SUBDIR)/gdb && \
41360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41362 "RANLIB=$${RANLIB}" \
41363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41364 installcheck) \
41365 || exit 1
41367 @endif gdb
41369 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
41370 maybe-mostlyclean-gdb:
41371 @if gdb
41372 maybe-mostlyclean-gdb: mostlyclean-gdb
41374 mostlyclean-gdb:
41375 @: $(MAKE); $(unstage)
41376 @[ -f ./gdb/Makefile ] || exit 0; \
41377 r=`${PWD_COMMAND}`; export r; \
41378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41379 $(HOST_EXPORTS) \
41380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41382 done; \
41383 echo "Doing mostlyclean in gdb" ; \
41384 (cd $(HOST_SUBDIR)/gdb && \
41385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41387 "RANLIB=$${RANLIB}" \
41388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41389 mostlyclean) \
41390 || exit 1
41392 @endif gdb
41394 .PHONY: maybe-clean-gdb clean-gdb
41395 maybe-clean-gdb:
41396 @if gdb
41397 maybe-clean-gdb: clean-gdb
41399 clean-gdb:
41400 @: $(MAKE); $(unstage)
41401 @[ -f ./gdb/Makefile ] || exit 0; \
41402 r=`${PWD_COMMAND}`; export r; \
41403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41404 $(HOST_EXPORTS) \
41405 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41407 done; \
41408 echo "Doing clean in gdb" ; \
41409 (cd $(HOST_SUBDIR)/gdb && \
41410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41412 "RANLIB=$${RANLIB}" \
41413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41414 clean) \
41415 || exit 1
41417 @endif gdb
41419 .PHONY: maybe-distclean-gdb distclean-gdb
41420 maybe-distclean-gdb:
41421 @if gdb
41422 maybe-distclean-gdb: distclean-gdb
41424 distclean-gdb:
41425 @: $(MAKE); $(unstage)
41426 @[ -f ./gdb/Makefile ] || exit 0; \
41427 r=`${PWD_COMMAND}`; export r; \
41428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41429 $(HOST_EXPORTS) \
41430 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41432 done; \
41433 echo "Doing distclean in gdb" ; \
41434 (cd $(HOST_SUBDIR)/gdb && \
41435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41437 "RANLIB=$${RANLIB}" \
41438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41439 distclean) \
41440 || exit 1
41442 @endif gdb
41444 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
41445 maybe-maintainer-clean-gdb:
41446 @if gdb
41447 maybe-maintainer-clean-gdb: maintainer-clean-gdb
41449 maintainer-clean-gdb:
41450 @: $(MAKE); $(unstage)
41451 @[ -f ./gdb/Makefile ] || exit 0; \
41452 r=`${PWD_COMMAND}`; export r; \
41453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41454 $(HOST_EXPORTS) \
41455 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41457 done; \
41458 echo "Doing maintainer-clean in gdb" ; \
41459 (cd $(HOST_SUBDIR)/gdb && \
41460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41462 "RANLIB=$${RANLIB}" \
41463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41464 maintainer-clean) \
41465 || exit 1
41467 @endif gdb
41471 .PHONY: configure-expect maybe-configure-expect
41472 maybe-configure-expect:
41473 @if gcc-bootstrap
41474 configure-expect: stage_current
41475 @endif gcc-bootstrap
41476 @if expect
41477 maybe-configure-expect: configure-expect
41478 configure-expect:
41479 @: $(MAKE); $(unstage)
41480 @r=`${PWD_COMMAND}`; export r; \
41481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41482 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
41483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
41484 $(HOST_EXPORTS) \
41485 echo Configuring in $(HOST_SUBDIR)/expect; \
41486 cd "$(HOST_SUBDIR)/expect" || exit 1; \
41487 case $(srcdir) in \
41488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41489 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
41490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41491 esac; \
41492 srcdiroption="--srcdir=$${topdir}/expect"; \
41493 libsrcdir="$$s/expect"; \
41494 $(SHELL) $${libsrcdir}/configure \
41495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41496 --target=${target_alias} $${srcdiroption} \
41497 || exit 1
41498 @endif expect
41504 .PHONY: all-expect maybe-all-expect
41505 maybe-all-expect:
41506 @if gcc-bootstrap
41507 all-expect: stage_current
41508 @endif gcc-bootstrap
41509 @if expect
41510 TARGET-expect=all
41511 maybe-all-expect: all-expect
41512 all-expect: configure-expect
41513 @: $(MAKE); $(unstage)
41514 @r=`${PWD_COMMAND}`; export r; \
41515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41516 $(HOST_EXPORTS) \
41517 (cd $(HOST_SUBDIR)/expect && \
41518 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41519 $(TARGET-expect))
41520 @endif expect
41525 .PHONY: check-expect maybe-check-expect
41526 maybe-check-expect:
41527 @if expect
41528 maybe-check-expect: check-expect
41530 check-expect:
41531 @: $(MAKE); $(unstage)
41532 @r=`${PWD_COMMAND}`; export r; \
41533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41534 $(HOST_EXPORTS) \
41535 (cd $(HOST_SUBDIR)/expect && \
41536 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41538 @endif expect
41540 .PHONY: install-expect maybe-install-expect
41541 maybe-install-expect:
41542 @if expect
41543 maybe-install-expect: install-expect
41545 install-expect: installdirs
41546 @: $(MAKE); $(unstage)
41547 @r=`${PWD_COMMAND}`; export r; \
41548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41549 $(HOST_EXPORTS) \
41550 (cd $(HOST_SUBDIR)/expect && \
41551 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41553 @endif expect
41555 # Other targets (info, dvi, pdf, etc.)
41557 .PHONY: maybe-info-expect info-expect
41558 maybe-info-expect:
41559 @if expect
41560 maybe-info-expect: info-expect
41562 info-expect: \
41563 configure-expect
41564 @: $(MAKE); $(unstage)
41565 @[ -f ./expect/Makefile ] || exit 0; \
41566 r=`${PWD_COMMAND}`; export r; \
41567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41568 $(HOST_EXPORTS) \
41569 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41571 done; \
41572 echo "Doing info in expect" ; \
41573 (cd $(HOST_SUBDIR)/expect && \
41574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41576 "RANLIB=$${RANLIB}" \
41577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41578 info) \
41579 || exit 1
41581 @endif expect
41583 .PHONY: maybe-dvi-expect dvi-expect
41584 maybe-dvi-expect:
41585 @if expect
41586 maybe-dvi-expect: dvi-expect
41588 dvi-expect: \
41589 configure-expect
41590 @: $(MAKE); $(unstage)
41591 @[ -f ./expect/Makefile ] || exit 0; \
41592 r=`${PWD_COMMAND}`; export r; \
41593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41594 $(HOST_EXPORTS) \
41595 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41597 done; \
41598 echo "Doing dvi in expect" ; \
41599 (cd $(HOST_SUBDIR)/expect && \
41600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41602 "RANLIB=$${RANLIB}" \
41603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41604 dvi) \
41605 || exit 1
41607 @endif expect
41609 .PHONY: maybe-pdf-expect pdf-expect
41610 maybe-pdf-expect:
41611 @if expect
41612 maybe-pdf-expect: pdf-expect
41614 pdf-expect: \
41615 configure-expect
41616 @: $(MAKE); $(unstage)
41617 @[ -f ./expect/Makefile ] || exit 0; \
41618 r=`${PWD_COMMAND}`; export r; \
41619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41620 $(HOST_EXPORTS) \
41621 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41623 done; \
41624 echo "Doing pdf in expect" ; \
41625 (cd $(HOST_SUBDIR)/expect && \
41626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41628 "RANLIB=$${RANLIB}" \
41629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41630 pdf) \
41631 || exit 1
41633 @endif expect
41635 .PHONY: maybe-html-expect html-expect
41636 maybe-html-expect:
41637 @if expect
41638 maybe-html-expect: html-expect
41640 html-expect: \
41641 configure-expect
41642 @: $(MAKE); $(unstage)
41643 @[ -f ./expect/Makefile ] || exit 0; \
41644 r=`${PWD_COMMAND}`; export r; \
41645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41646 $(HOST_EXPORTS) \
41647 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41649 done; \
41650 echo "Doing html in expect" ; \
41651 (cd $(HOST_SUBDIR)/expect && \
41652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41654 "RANLIB=$${RANLIB}" \
41655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41656 html) \
41657 || exit 1
41659 @endif expect
41661 .PHONY: maybe-TAGS-expect TAGS-expect
41662 maybe-TAGS-expect:
41663 @if expect
41664 maybe-TAGS-expect: TAGS-expect
41666 TAGS-expect: \
41667 configure-expect
41668 @: $(MAKE); $(unstage)
41669 @[ -f ./expect/Makefile ] || exit 0; \
41670 r=`${PWD_COMMAND}`; export r; \
41671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41672 $(HOST_EXPORTS) \
41673 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41675 done; \
41676 echo "Doing TAGS in expect" ; \
41677 (cd $(HOST_SUBDIR)/expect && \
41678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41680 "RANLIB=$${RANLIB}" \
41681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41682 TAGS) \
41683 || exit 1
41685 @endif expect
41687 .PHONY: maybe-install-info-expect install-info-expect
41688 maybe-install-info-expect:
41689 @if expect
41690 maybe-install-info-expect: install-info-expect
41692 install-info-expect: \
41693 configure-expect \
41694 info-expect
41695 @: $(MAKE); $(unstage)
41696 @[ -f ./expect/Makefile ] || exit 0; \
41697 r=`${PWD_COMMAND}`; export r; \
41698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41699 $(HOST_EXPORTS) \
41700 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41702 done; \
41703 echo "Doing install-info in expect" ; \
41704 (cd $(HOST_SUBDIR)/expect && \
41705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41707 "RANLIB=$${RANLIB}" \
41708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41709 install-info) \
41710 || exit 1
41712 @endif expect
41714 .PHONY: maybe-install-pdf-expect install-pdf-expect
41715 maybe-install-pdf-expect:
41716 @if expect
41717 maybe-install-pdf-expect: install-pdf-expect
41719 install-pdf-expect: \
41720 configure-expect \
41721 pdf-expect
41722 @: $(MAKE); $(unstage)
41723 @[ -f ./expect/Makefile ] || exit 0; \
41724 r=`${PWD_COMMAND}`; export r; \
41725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41726 $(HOST_EXPORTS) \
41727 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41729 done; \
41730 echo "Doing install-pdf in expect" ; \
41731 (cd $(HOST_SUBDIR)/expect && \
41732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41734 "RANLIB=$${RANLIB}" \
41735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41736 install-pdf) \
41737 || exit 1
41739 @endif expect
41741 .PHONY: maybe-install-html-expect install-html-expect
41742 maybe-install-html-expect:
41743 @if expect
41744 maybe-install-html-expect: install-html-expect
41746 install-html-expect: \
41747 configure-expect \
41748 html-expect
41749 @: $(MAKE); $(unstage)
41750 @[ -f ./expect/Makefile ] || exit 0; \
41751 r=`${PWD_COMMAND}`; export r; \
41752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41753 $(HOST_EXPORTS) \
41754 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41756 done; \
41757 echo "Doing install-html in expect" ; \
41758 (cd $(HOST_SUBDIR)/expect && \
41759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41761 "RANLIB=$${RANLIB}" \
41762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41763 install-html) \
41764 || exit 1
41766 @endif expect
41768 .PHONY: maybe-installcheck-expect installcheck-expect
41769 maybe-installcheck-expect:
41770 @if expect
41771 maybe-installcheck-expect: installcheck-expect
41773 installcheck-expect: \
41774 configure-expect
41775 @: $(MAKE); $(unstage)
41776 @[ -f ./expect/Makefile ] || exit 0; \
41777 r=`${PWD_COMMAND}`; export r; \
41778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41779 $(HOST_EXPORTS) \
41780 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41782 done; \
41783 echo "Doing installcheck in expect" ; \
41784 (cd $(HOST_SUBDIR)/expect && \
41785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41787 "RANLIB=$${RANLIB}" \
41788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41789 installcheck) \
41790 || exit 1
41792 @endif expect
41794 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
41795 maybe-mostlyclean-expect:
41796 @if expect
41797 maybe-mostlyclean-expect: mostlyclean-expect
41799 mostlyclean-expect:
41800 @: $(MAKE); $(unstage)
41801 @[ -f ./expect/Makefile ] || exit 0; \
41802 r=`${PWD_COMMAND}`; export r; \
41803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41804 $(HOST_EXPORTS) \
41805 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41807 done; \
41808 echo "Doing mostlyclean in expect" ; \
41809 (cd $(HOST_SUBDIR)/expect && \
41810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41812 "RANLIB=$${RANLIB}" \
41813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41814 mostlyclean) \
41815 || exit 1
41817 @endif expect
41819 .PHONY: maybe-clean-expect clean-expect
41820 maybe-clean-expect:
41821 @if expect
41822 maybe-clean-expect: clean-expect
41824 clean-expect:
41825 @: $(MAKE); $(unstage)
41826 @[ -f ./expect/Makefile ] || exit 0; \
41827 r=`${PWD_COMMAND}`; export r; \
41828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41829 $(HOST_EXPORTS) \
41830 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41832 done; \
41833 echo "Doing clean in expect" ; \
41834 (cd $(HOST_SUBDIR)/expect && \
41835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41837 "RANLIB=$${RANLIB}" \
41838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41839 clean) \
41840 || exit 1
41842 @endif expect
41844 .PHONY: maybe-distclean-expect distclean-expect
41845 maybe-distclean-expect:
41846 @if expect
41847 maybe-distclean-expect: distclean-expect
41849 distclean-expect:
41850 @: $(MAKE); $(unstage)
41851 @[ -f ./expect/Makefile ] || exit 0; \
41852 r=`${PWD_COMMAND}`; export r; \
41853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41854 $(HOST_EXPORTS) \
41855 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41857 done; \
41858 echo "Doing distclean in expect" ; \
41859 (cd $(HOST_SUBDIR)/expect && \
41860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41862 "RANLIB=$${RANLIB}" \
41863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41864 distclean) \
41865 || exit 1
41867 @endif expect
41869 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
41870 maybe-maintainer-clean-expect:
41871 @if expect
41872 maybe-maintainer-clean-expect: maintainer-clean-expect
41874 maintainer-clean-expect:
41875 @: $(MAKE); $(unstage)
41876 @[ -f ./expect/Makefile ] || exit 0; \
41877 r=`${PWD_COMMAND}`; export r; \
41878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41879 $(HOST_EXPORTS) \
41880 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41882 done; \
41883 echo "Doing maintainer-clean in expect" ; \
41884 (cd $(HOST_SUBDIR)/expect && \
41885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41887 "RANLIB=$${RANLIB}" \
41888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41889 maintainer-clean) \
41890 || exit 1
41892 @endif expect
41896 .PHONY: configure-guile maybe-configure-guile
41897 maybe-configure-guile:
41898 @if gcc-bootstrap
41899 configure-guile: stage_current
41900 @endif gcc-bootstrap
41901 @if guile
41902 maybe-configure-guile: configure-guile
41903 configure-guile:
41904 @: $(MAKE); $(unstage)
41905 @r=`${PWD_COMMAND}`; export r; \
41906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41907 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
41908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
41909 $(HOST_EXPORTS) \
41910 echo Configuring in $(HOST_SUBDIR)/guile; \
41911 cd "$(HOST_SUBDIR)/guile" || exit 1; \
41912 case $(srcdir) in \
41913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41914 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
41915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41916 esac; \
41917 srcdiroption="--srcdir=$${topdir}/guile"; \
41918 libsrcdir="$$s/guile"; \
41919 $(SHELL) $${libsrcdir}/configure \
41920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41921 --target=${target_alias} $${srcdiroption} \
41922 || exit 1
41923 @endif guile
41929 .PHONY: all-guile maybe-all-guile
41930 maybe-all-guile:
41931 @if gcc-bootstrap
41932 all-guile: stage_current
41933 @endif gcc-bootstrap
41934 @if guile
41935 TARGET-guile=all
41936 maybe-all-guile: all-guile
41937 all-guile: configure-guile
41938 @: $(MAKE); $(unstage)
41939 @r=`${PWD_COMMAND}`; export r; \
41940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41941 $(HOST_EXPORTS) \
41942 (cd $(HOST_SUBDIR)/guile && \
41943 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
41944 $(TARGET-guile))
41945 @endif guile
41950 .PHONY: check-guile maybe-check-guile
41951 maybe-check-guile:
41952 @if guile
41953 maybe-check-guile: check-guile
41955 check-guile:
41956 @: $(MAKE); $(unstage)
41957 @r=`${PWD_COMMAND}`; export r; \
41958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41959 $(HOST_EXPORTS) \
41960 (cd $(HOST_SUBDIR)/guile && \
41961 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
41963 @endif guile
41965 .PHONY: install-guile maybe-install-guile
41966 maybe-install-guile:
41967 @if guile
41968 maybe-install-guile: install-guile
41970 install-guile: installdirs
41971 @: $(MAKE); $(unstage)
41972 @r=`${PWD_COMMAND}`; export r; \
41973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41974 $(HOST_EXPORTS) \
41975 (cd $(HOST_SUBDIR)/guile && \
41976 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
41978 @endif guile
41980 # Other targets (info, dvi, pdf, etc.)
41982 .PHONY: maybe-info-guile info-guile
41983 maybe-info-guile:
41984 @if guile
41985 maybe-info-guile: info-guile
41987 info-guile: \
41988 configure-guile
41989 @: $(MAKE); $(unstage)
41990 @[ -f ./guile/Makefile ] || exit 0; \
41991 r=`${PWD_COMMAND}`; export r; \
41992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41993 $(HOST_EXPORTS) \
41994 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
41995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41996 done; \
41997 echo "Doing info in guile" ; \
41998 (cd $(HOST_SUBDIR)/guile && \
41999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42001 "RANLIB=$${RANLIB}" \
42002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42003 info) \
42004 || exit 1
42006 @endif guile
42008 .PHONY: maybe-dvi-guile dvi-guile
42009 maybe-dvi-guile:
42010 @if guile
42011 maybe-dvi-guile: dvi-guile
42013 dvi-guile: \
42014 configure-guile
42015 @: $(MAKE); $(unstage)
42016 @[ -f ./guile/Makefile ] || exit 0; \
42017 r=`${PWD_COMMAND}`; export r; \
42018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42019 $(HOST_EXPORTS) \
42020 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42022 done; \
42023 echo "Doing dvi in guile" ; \
42024 (cd $(HOST_SUBDIR)/guile && \
42025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42027 "RANLIB=$${RANLIB}" \
42028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42029 dvi) \
42030 || exit 1
42032 @endif guile
42034 .PHONY: maybe-pdf-guile pdf-guile
42035 maybe-pdf-guile:
42036 @if guile
42037 maybe-pdf-guile: pdf-guile
42039 pdf-guile: \
42040 configure-guile
42041 @: $(MAKE); $(unstage)
42042 @[ -f ./guile/Makefile ] || exit 0; \
42043 r=`${PWD_COMMAND}`; export r; \
42044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42045 $(HOST_EXPORTS) \
42046 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42048 done; \
42049 echo "Doing pdf in guile" ; \
42050 (cd $(HOST_SUBDIR)/guile && \
42051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42053 "RANLIB=$${RANLIB}" \
42054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42055 pdf) \
42056 || exit 1
42058 @endif guile
42060 .PHONY: maybe-html-guile html-guile
42061 maybe-html-guile:
42062 @if guile
42063 maybe-html-guile: html-guile
42065 html-guile: \
42066 configure-guile
42067 @: $(MAKE); $(unstage)
42068 @[ -f ./guile/Makefile ] || exit 0; \
42069 r=`${PWD_COMMAND}`; export r; \
42070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42071 $(HOST_EXPORTS) \
42072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42074 done; \
42075 echo "Doing html in guile" ; \
42076 (cd $(HOST_SUBDIR)/guile && \
42077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42079 "RANLIB=$${RANLIB}" \
42080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42081 html) \
42082 || exit 1
42084 @endif guile
42086 .PHONY: maybe-TAGS-guile TAGS-guile
42087 maybe-TAGS-guile:
42088 @if guile
42089 maybe-TAGS-guile: TAGS-guile
42091 TAGS-guile: \
42092 configure-guile
42093 @: $(MAKE); $(unstage)
42094 @[ -f ./guile/Makefile ] || exit 0; \
42095 r=`${PWD_COMMAND}`; export r; \
42096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42097 $(HOST_EXPORTS) \
42098 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42100 done; \
42101 echo "Doing TAGS in guile" ; \
42102 (cd $(HOST_SUBDIR)/guile && \
42103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42105 "RANLIB=$${RANLIB}" \
42106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42107 TAGS) \
42108 || exit 1
42110 @endif guile
42112 .PHONY: maybe-install-info-guile install-info-guile
42113 maybe-install-info-guile:
42114 @if guile
42115 maybe-install-info-guile: install-info-guile
42117 install-info-guile: \
42118 configure-guile \
42119 info-guile
42120 @: $(MAKE); $(unstage)
42121 @[ -f ./guile/Makefile ] || exit 0; \
42122 r=`${PWD_COMMAND}`; export r; \
42123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42124 $(HOST_EXPORTS) \
42125 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42127 done; \
42128 echo "Doing install-info in guile" ; \
42129 (cd $(HOST_SUBDIR)/guile && \
42130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42132 "RANLIB=$${RANLIB}" \
42133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42134 install-info) \
42135 || exit 1
42137 @endif guile
42139 .PHONY: maybe-install-pdf-guile install-pdf-guile
42140 maybe-install-pdf-guile:
42141 @if guile
42142 maybe-install-pdf-guile: install-pdf-guile
42144 install-pdf-guile: \
42145 configure-guile \
42146 pdf-guile
42147 @: $(MAKE); $(unstage)
42148 @[ -f ./guile/Makefile ] || exit 0; \
42149 r=`${PWD_COMMAND}`; export r; \
42150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42151 $(HOST_EXPORTS) \
42152 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42154 done; \
42155 echo "Doing install-pdf in guile" ; \
42156 (cd $(HOST_SUBDIR)/guile && \
42157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42159 "RANLIB=$${RANLIB}" \
42160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42161 install-pdf) \
42162 || exit 1
42164 @endif guile
42166 .PHONY: maybe-install-html-guile install-html-guile
42167 maybe-install-html-guile:
42168 @if guile
42169 maybe-install-html-guile: install-html-guile
42171 install-html-guile: \
42172 configure-guile \
42173 html-guile
42174 @: $(MAKE); $(unstage)
42175 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
42180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42181 done; \
42182 echo "Doing install-html in guile" ; \
42183 (cd $(HOST_SUBDIR)/guile && \
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 install-html) \
42189 || exit 1
42191 @endif guile
42193 .PHONY: maybe-installcheck-guile installcheck-guile
42194 maybe-installcheck-guile:
42195 @if guile
42196 maybe-installcheck-guile: installcheck-guile
42198 installcheck-guile: \
42199 configure-guile
42200 @: $(MAKE); $(unstage)
42201 @[ -f ./guile/Makefile ] || exit 0; \
42202 r=`${PWD_COMMAND}`; export r; \
42203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42204 $(HOST_EXPORTS) \
42205 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42207 done; \
42208 echo "Doing installcheck in guile" ; \
42209 (cd $(HOST_SUBDIR)/guile && \
42210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42212 "RANLIB=$${RANLIB}" \
42213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42214 installcheck) \
42215 || exit 1
42217 @endif guile
42219 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
42220 maybe-mostlyclean-guile:
42221 @if guile
42222 maybe-mostlyclean-guile: mostlyclean-guile
42224 mostlyclean-guile:
42225 @: $(MAKE); $(unstage)
42226 @[ -f ./guile/Makefile ] || exit 0; \
42227 r=`${PWD_COMMAND}`; export r; \
42228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42229 $(HOST_EXPORTS) \
42230 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42232 done; \
42233 echo "Doing mostlyclean in guile" ; \
42234 (cd $(HOST_SUBDIR)/guile && \
42235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42237 "RANLIB=$${RANLIB}" \
42238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42239 mostlyclean) \
42240 || exit 1
42242 @endif guile
42244 .PHONY: maybe-clean-guile clean-guile
42245 maybe-clean-guile:
42246 @if guile
42247 maybe-clean-guile: clean-guile
42249 clean-guile:
42250 @: $(MAKE); $(unstage)
42251 @[ -f ./guile/Makefile ] || exit 0; \
42252 r=`${PWD_COMMAND}`; export r; \
42253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42254 $(HOST_EXPORTS) \
42255 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42257 done; \
42258 echo "Doing clean in guile" ; \
42259 (cd $(HOST_SUBDIR)/guile && \
42260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42262 "RANLIB=$${RANLIB}" \
42263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42264 clean) \
42265 || exit 1
42267 @endif guile
42269 .PHONY: maybe-distclean-guile distclean-guile
42270 maybe-distclean-guile:
42271 @if guile
42272 maybe-distclean-guile: distclean-guile
42274 distclean-guile:
42275 @: $(MAKE); $(unstage)
42276 @[ -f ./guile/Makefile ] || exit 0; \
42277 r=`${PWD_COMMAND}`; export r; \
42278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42279 $(HOST_EXPORTS) \
42280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42282 done; \
42283 echo "Doing distclean in guile" ; \
42284 (cd $(HOST_SUBDIR)/guile && \
42285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42287 "RANLIB=$${RANLIB}" \
42288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42289 distclean) \
42290 || exit 1
42292 @endif guile
42294 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
42295 maybe-maintainer-clean-guile:
42296 @if guile
42297 maybe-maintainer-clean-guile: maintainer-clean-guile
42299 maintainer-clean-guile:
42300 @: $(MAKE); $(unstage)
42301 @[ -f ./guile/Makefile ] || exit 0; \
42302 r=`${PWD_COMMAND}`; export r; \
42303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42304 $(HOST_EXPORTS) \
42305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42307 done; \
42308 echo "Doing maintainer-clean in guile" ; \
42309 (cd $(HOST_SUBDIR)/guile && \
42310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42312 "RANLIB=$${RANLIB}" \
42313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42314 maintainer-clean) \
42315 || exit 1
42317 @endif guile
42321 .PHONY: configure-tk maybe-configure-tk
42322 maybe-configure-tk:
42323 @if gcc-bootstrap
42324 configure-tk: stage_current
42325 @endif gcc-bootstrap
42326 @if tk
42327 maybe-configure-tk: configure-tk
42328 configure-tk:
42329 @: $(MAKE); $(unstage)
42330 @r=`${PWD_COMMAND}`; export r; \
42331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42332 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
42333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
42334 $(HOST_EXPORTS) \
42335 echo Configuring in $(HOST_SUBDIR)/tk; \
42336 cd "$(HOST_SUBDIR)/tk" || exit 1; \
42337 case $(srcdir) in \
42338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42339 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
42340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42341 esac; \
42342 srcdiroption="--srcdir=$${topdir}/tk"; \
42343 libsrcdir="$$s/tk"; \
42344 $(SHELL) $${libsrcdir}/configure \
42345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42346 --target=${target_alias} $${srcdiroption} \
42347 || exit 1
42348 @endif tk
42354 .PHONY: all-tk maybe-all-tk
42355 maybe-all-tk:
42356 @if gcc-bootstrap
42357 all-tk: stage_current
42358 @endif gcc-bootstrap
42359 @if tk
42360 TARGET-tk=all
42361 maybe-all-tk: all-tk
42362 all-tk: configure-tk
42363 @: $(MAKE); $(unstage)
42364 @r=`${PWD_COMMAND}`; export r; \
42365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42366 $(HOST_EXPORTS) \
42367 (cd $(HOST_SUBDIR)/tk && \
42368 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
42369 $(TARGET-tk))
42370 @endif tk
42375 .PHONY: check-tk maybe-check-tk
42376 maybe-check-tk:
42377 @if tk
42378 maybe-check-tk: check-tk
42380 check-tk:
42381 @: $(MAKE); $(unstage)
42382 @r=`${PWD_COMMAND}`; export r; \
42383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42384 $(HOST_EXPORTS) \
42385 (cd $(HOST_SUBDIR)/tk && \
42386 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
42388 @endif tk
42390 .PHONY: install-tk maybe-install-tk
42391 maybe-install-tk:
42392 @if tk
42393 maybe-install-tk: install-tk
42395 install-tk: installdirs
42396 @: $(MAKE); $(unstage)
42397 @r=`${PWD_COMMAND}`; export r; \
42398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42399 $(HOST_EXPORTS) \
42400 (cd $(HOST_SUBDIR)/tk && \
42401 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
42403 @endif tk
42405 # Other targets (info, dvi, pdf, etc.)
42407 .PHONY: maybe-info-tk info-tk
42408 maybe-info-tk:
42409 @if tk
42410 maybe-info-tk: info-tk
42412 info-tk: \
42413 configure-tk
42414 @: $(MAKE); $(unstage)
42415 @[ -f ./tk/Makefile ] || exit 0; \
42416 r=`${PWD_COMMAND}`; export r; \
42417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42418 $(HOST_EXPORTS) \
42419 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42421 done; \
42422 echo "Doing info in tk" ; \
42423 (cd $(HOST_SUBDIR)/tk && \
42424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42426 "RANLIB=$${RANLIB}" \
42427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42428 info) \
42429 || exit 1
42431 @endif tk
42433 .PHONY: maybe-dvi-tk dvi-tk
42434 maybe-dvi-tk:
42435 @if tk
42436 maybe-dvi-tk: dvi-tk
42438 dvi-tk: \
42439 configure-tk
42440 @: $(MAKE); $(unstage)
42441 @[ -f ./tk/Makefile ] || exit 0; \
42442 r=`${PWD_COMMAND}`; export r; \
42443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42444 $(HOST_EXPORTS) \
42445 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42447 done; \
42448 echo "Doing dvi in tk" ; \
42449 (cd $(HOST_SUBDIR)/tk && \
42450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42452 "RANLIB=$${RANLIB}" \
42453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42454 dvi) \
42455 || exit 1
42457 @endif tk
42459 .PHONY: maybe-pdf-tk pdf-tk
42460 maybe-pdf-tk:
42461 @if tk
42462 maybe-pdf-tk: pdf-tk
42464 pdf-tk: \
42465 configure-tk
42466 @: $(MAKE); $(unstage)
42467 @[ -f ./tk/Makefile ] || exit 0; \
42468 r=`${PWD_COMMAND}`; export r; \
42469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42470 $(HOST_EXPORTS) \
42471 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42473 done; \
42474 echo "Doing pdf in tk" ; \
42475 (cd $(HOST_SUBDIR)/tk && \
42476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42478 "RANLIB=$${RANLIB}" \
42479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42480 pdf) \
42481 || exit 1
42483 @endif tk
42485 .PHONY: maybe-html-tk html-tk
42486 maybe-html-tk:
42487 @if tk
42488 maybe-html-tk: html-tk
42490 html-tk: \
42491 configure-tk
42492 @: $(MAKE); $(unstage)
42493 @[ -f ./tk/Makefile ] || exit 0; \
42494 r=`${PWD_COMMAND}`; export r; \
42495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42496 $(HOST_EXPORTS) \
42497 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42499 done; \
42500 echo "Doing html in tk" ; \
42501 (cd $(HOST_SUBDIR)/tk && \
42502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42504 "RANLIB=$${RANLIB}" \
42505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42506 html) \
42507 || exit 1
42509 @endif tk
42511 .PHONY: maybe-TAGS-tk TAGS-tk
42512 maybe-TAGS-tk:
42513 @if tk
42514 maybe-TAGS-tk: TAGS-tk
42516 TAGS-tk: \
42517 configure-tk
42518 @: $(MAKE); $(unstage)
42519 @[ -f ./tk/Makefile ] || exit 0; \
42520 r=`${PWD_COMMAND}`; export r; \
42521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42522 $(HOST_EXPORTS) \
42523 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42525 done; \
42526 echo "Doing TAGS in tk" ; \
42527 (cd $(HOST_SUBDIR)/tk && \
42528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42530 "RANLIB=$${RANLIB}" \
42531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42532 TAGS) \
42533 || exit 1
42535 @endif tk
42537 .PHONY: maybe-install-info-tk install-info-tk
42538 maybe-install-info-tk:
42539 @if tk
42540 maybe-install-info-tk: install-info-tk
42542 install-info-tk: \
42543 configure-tk \
42544 info-tk
42545 @: $(MAKE); $(unstage)
42546 @[ -f ./tk/Makefile ] || exit 0; \
42547 r=`${PWD_COMMAND}`; export r; \
42548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42549 $(HOST_EXPORTS) \
42550 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42552 done; \
42553 echo "Doing install-info in tk" ; \
42554 (cd $(HOST_SUBDIR)/tk && \
42555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42557 "RANLIB=$${RANLIB}" \
42558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42559 install-info) \
42560 || exit 1
42562 @endif tk
42564 .PHONY: maybe-install-pdf-tk install-pdf-tk
42565 maybe-install-pdf-tk:
42566 @if tk
42567 maybe-install-pdf-tk: install-pdf-tk
42569 install-pdf-tk: \
42570 configure-tk \
42571 pdf-tk
42572 @: $(MAKE); $(unstage)
42573 @[ -f ./tk/Makefile ] || exit 0; \
42574 r=`${PWD_COMMAND}`; export r; \
42575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42576 $(HOST_EXPORTS) \
42577 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42579 done; \
42580 echo "Doing install-pdf in tk" ; \
42581 (cd $(HOST_SUBDIR)/tk && \
42582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42584 "RANLIB=$${RANLIB}" \
42585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42586 install-pdf) \
42587 || exit 1
42589 @endif tk
42591 .PHONY: maybe-install-html-tk install-html-tk
42592 maybe-install-html-tk:
42593 @if tk
42594 maybe-install-html-tk: install-html-tk
42596 install-html-tk: \
42597 configure-tk \
42598 html-tk
42599 @: $(MAKE); $(unstage)
42600 @[ -f ./tk/Makefile ] || exit 0; \
42601 r=`${PWD_COMMAND}`; export r; \
42602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42603 $(HOST_EXPORTS) \
42604 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42606 done; \
42607 echo "Doing install-html in tk" ; \
42608 (cd $(HOST_SUBDIR)/tk && \
42609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42611 "RANLIB=$${RANLIB}" \
42612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42613 install-html) \
42614 || exit 1
42616 @endif tk
42618 .PHONY: maybe-installcheck-tk installcheck-tk
42619 maybe-installcheck-tk:
42620 @if tk
42621 maybe-installcheck-tk: installcheck-tk
42623 installcheck-tk: \
42624 configure-tk
42625 @: $(MAKE); $(unstage)
42626 @[ -f ./tk/Makefile ] || exit 0; \
42627 r=`${PWD_COMMAND}`; export r; \
42628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42629 $(HOST_EXPORTS) \
42630 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42632 done; \
42633 echo "Doing installcheck in tk" ; \
42634 (cd $(HOST_SUBDIR)/tk && \
42635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42637 "RANLIB=$${RANLIB}" \
42638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42639 installcheck) \
42640 || exit 1
42642 @endif tk
42644 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
42645 maybe-mostlyclean-tk:
42646 @if tk
42647 maybe-mostlyclean-tk: mostlyclean-tk
42649 mostlyclean-tk:
42650 @: $(MAKE); $(unstage)
42651 @[ -f ./tk/Makefile ] || exit 0; \
42652 r=`${PWD_COMMAND}`; export r; \
42653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42654 $(HOST_EXPORTS) \
42655 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42657 done; \
42658 echo "Doing mostlyclean in tk" ; \
42659 (cd $(HOST_SUBDIR)/tk && \
42660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42662 "RANLIB=$${RANLIB}" \
42663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42664 mostlyclean) \
42665 || exit 1
42667 @endif tk
42669 .PHONY: maybe-clean-tk clean-tk
42670 maybe-clean-tk:
42671 @if tk
42672 maybe-clean-tk: clean-tk
42674 clean-tk:
42675 @: $(MAKE); $(unstage)
42676 @[ -f ./tk/Makefile ] || exit 0; \
42677 r=`${PWD_COMMAND}`; export r; \
42678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42679 $(HOST_EXPORTS) \
42680 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42682 done; \
42683 echo "Doing clean in tk" ; \
42684 (cd $(HOST_SUBDIR)/tk && \
42685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42687 "RANLIB=$${RANLIB}" \
42688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42689 clean) \
42690 || exit 1
42692 @endif tk
42694 .PHONY: maybe-distclean-tk distclean-tk
42695 maybe-distclean-tk:
42696 @if tk
42697 maybe-distclean-tk: distclean-tk
42699 distclean-tk:
42700 @: $(MAKE); $(unstage)
42701 @[ -f ./tk/Makefile ] || exit 0; \
42702 r=`${PWD_COMMAND}`; export r; \
42703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42704 $(HOST_EXPORTS) \
42705 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42707 done; \
42708 echo "Doing distclean in tk" ; \
42709 (cd $(HOST_SUBDIR)/tk && \
42710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42712 "RANLIB=$${RANLIB}" \
42713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42714 distclean) \
42715 || exit 1
42717 @endif tk
42719 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
42720 maybe-maintainer-clean-tk:
42721 @if tk
42722 maybe-maintainer-clean-tk: maintainer-clean-tk
42724 maintainer-clean-tk:
42725 @: $(MAKE); $(unstage)
42726 @[ -f ./tk/Makefile ] || exit 0; \
42727 r=`${PWD_COMMAND}`; export r; \
42728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42729 $(HOST_EXPORTS) \
42730 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
42731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42732 done; \
42733 echo "Doing maintainer-clean in tk" ; \
42734 (cd $(HOST_SUBDIR)/tk && \
42735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42737 "RANLIB=$${RANLIB}" \
42738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42739 maintainer-clean) \
42740 || exit 1
42742 @endif tk
42746 .PHONY: configure-libtermcap maybe-configure-libtermcap
42747 maybe-configure-libtermcap:
42748 @if gcc-bootstrap
42749 configure-libtermcap: stage_current
42750 @endif gcc-bootstrap
42751 @if libtermcap
42752 maybe-configure-libtermcap: configure-libtermcap
42753 configure-libtermcap:
42754 @: $(MAKE); $(unstage)
42755 @r=`${PWD_COMMAND}`; export r; \
42756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42757 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
42758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
42759 $(HOST_EXPORTS) \
42760 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
42761 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
42762 case $(srcdir) in \
42763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42764 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
42765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42766 esac; \
42767 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
42768 libsrcdir="$$s/libtermcap"; \
42769 $(SHELL) $${libsrcdir}/configure \
42770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42771 --target=${target_alias} $${srcdiroption} \
42772 || exit 1
42773 @endif libtermcap
42779 .PHONY: all-libtermcap maybe-all-libtermcap
42780 maybe-all-libtermcap:
42781 @if gcc-bootstrap
42782 all-libtermcap: stage_current
42783 @endif gcc-bootstrap
42784 @if libtermcap
42785 TARGET-libtermcap=all
42786 maybe-all-libtermcap: all-libtermcap
42787 all-libtermcap: configure-libtermcap
42788 @: $(MAKE); $(unstage)
42789 @r=`${PWD_COMMAND}`; export r; \
42790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42791 $(HOST_EXPORTS) \
42792 (cd $(HOST_SUBDIR)/libtermcap && \
42793 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
42794 $(TARGET-libtermcap))
42795 @endif libtermcap
42800 .PHONY: check-libtermcap maybe-check-libtermcap
42801 maybe-check-libtermcap:
42802 @if libtermcap
42803 maybe-check-libtermcap: check-libtermcap
42805 check-libtermcap:
42807 @endif libtermcap
42809 .PHONY: install-libtermcap maybe-install-libtermcap
42810 maybe-install-libtermcap:
42811 @if libtermcap
42812 maybe-install-libtermcap: install-libtermcap
42814 install-libtermcap: installdirs
42815 @: $(MAKE); $(unstage)
42816 @r=`${PWD_COMMAND}`; export r; \
42817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42818 $(HOST_EXPORTS) \
42819 (cd $(HOST_SUBDIR)/libtermcap && \
42820 $(MAKE) $(FLAGS_TO_PASS) install)
42822 @endif libtermcap
42824 # Other targets (info, dvi, pdf, etc.)
42826 .PHONY: maybe-info-libtermcap info-libtermcap
42827 maybe-info-libtermcap:
42828 @if libtermcap
42829 maybe-info-libtermcap: info-libtermcap
42831 info-libtermcap: \
42832 configure-libtermcap
42833 @: $(MAKE); $(unstage)
42834 @[ -f ./libtermcap/Makefile ] || exit 0; \
42835 r=`${PWD_COMMAND}`; export r; \
42836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42837 $(HOST_EXPORTS) \
42838 for flag in $(EXTRA_HOST_FLAGS) ; do \
42839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42840 done; \
42841 echo "Doing info in libtermcap" ; \
42842 (cd $(HOST_SUBDIR)/libtermcap && \
42843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42845 "RANLIB=$${RANLIB}" \
42846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42847 info) \
42848 || exit 1
42850 @endif libtermcap
42852 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
42853 maybe-dvi-libtermcap:
42854 @if libtermcap
42855 maybe-dvi-libtermcap: dvi-libtermcap
42857 dvi-libtermcap: \
42858 configure-libtermcap
42859 @: $(MAKE); $(unstage)
42860 @[ -f ./libtermcap/Makefile ] || exit 0; \
42861 r=`${PWD_COMMAND}`; export r; \
42862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42863 $(HOST_EXPORTS) \
42864 for flag in $(EXTRA_HOST_FLAGS) ; do \
42865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42866 done; \
42867 echo "Doing dvi in libtermcap" ; \
42868 (cd $(HOST_SUBDIR)/libtermcap && \
42869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42871 "RANLIB=$${RANLIB}" \
42872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42873 dvi) \
42874 || exit 1
42876 @endif libtermcap
42878 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
42879 maybe-pdf-libtermcap:
42880 @if libtermcap
42881 maybe-pdf-libtermcap: pdf-libtermcap
42883 pdf-libtermcap: \
42884 configure-libtermcap
42885 @: $(MAKE); $(unstage)
42886 @[ -f ./libtermcap/Makefile ] || exit 0; \
42887 r=`${PWD_COMMAND}`; export r; \
42888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42889 $(HOST_EXPORTS) \
42890 for flag in $(EXTRA_HOST_FLAGS) ; do \
42891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42892 done; \
42893 echo "Doing pdf in libtermcap" ; \
42894 (cd $(HOST_SUBDIR)/libtermcap && \
42895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42897 "RANLIB=$${RANLIB}" \
42898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42899 pdf) \
42900 || exit 1
42902 @endif libtermcap
42904 .PHONY: maybe-html-libtermcap html-libtermcap
42905 maybe-html-libtermcap:
42906 @if libtermcap
42907 maybe-html-libtermcap: html-libtermcap
42909 html-libtermcap: \
42910 configure-libtermcap
42911 @: $(MAKE); $(unstage)
42912 @[ -f ./libtermcap/Makefile ] || exit 0; \
42913 r=`${PWD_COMMAND}`; export r; \
42914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42915 $(HOST_EXPORTS) \
42916 for flag in $(EXTRA_HOST_FLAGS) ; do \
42917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42918 done; \
42919 echo "Doing html in libtermcap" ; \
42920 (cd $(HOST_SUBDIR)/libtermcap && \
42921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42923 "RANLIB=$${RANLIB}" \
42924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42925 html) \
42926 || exit 1
42928 @endif libtermcap
42930 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
42931 maybe-TAGS-libtermcap:
42932 @if libtermcap
42933 maybe-TAGS-libtermcap: TAGS-libtermcap
42935 TAGS-libtermcap: \
42936 configure-libtermcap
42937 @: $(MAKE); $(unstage)
42938 @[ -f ./libtermcap/Makefile ] || exit 0; \
42939 r=`${PWD_COMMAND}`; export r; \
42940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42941 $(HOST_EXPORTS) \
42942 for flag in $(EXTRA_HOST_FLAGS) ; do \
42943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42944 done; \
42945 echo "Doing TAGS in libtermcap" ; \
42946 (cd $(HOST_SUBDIR)/libtermcap && \
42947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42949 "RANLIB=$${RANLIB}" \
42950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42951 TAGS) \
42952 || exit 1
42954 @endif libtermcap
42956 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
42957 maybe-install-info-libtermcap:
42958 @if libtermcap
42959 maybe-install-info-libtermcap: install-info-libtermcap
42961 install-info-libtermcap: \
42962 configure-libtermcap \
42963 info-libtermcap
42964 @: $(MAKE); $(unstage)
42965 @[ -f ./libtermcap/Makefile ] || exit 0; \
42966 r=`${PWD_COMMAND}`; export r; \
42967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42968 $(HOST_EXPORTS) \
42969 for flag in $(EXTRA_HOST_FLAGS) ; do \
42970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42971 done; \
42972 echo "Doing install-info in libtermcap" ; \
42973 (cd $(HOST_SUBDIR)/libtermcap && \
42974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42976 "RANLIB=$${RANLIB}" \
42977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42978 install-info) \
42979 || exit 1
42981 @endif libtermcap
42983 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
42984 maybe-install-pdf-libtermcap:
42985 @if libtermcap
42986 maybe-install-pdf-libtermcap: install-pdf-libtermcap
42988 install-pdf-libtermcap: \
42989 configure-libtermcap \
42990 pdf-libtermcap
42991 @: $(MAKE); $(unstage)
42992 @[ -f ./libtermcap/Makefile ] || exit 0; \
42993 r=`${PWD_COMMAND}`; export r; \
42994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42995 $(HOST_EXPORTS) \
42996 for flag in $(EXTRA_HOST_FLAGS) ; do \
42997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42998 done; \
42999 echo "Doing install-pdf in libtermcap" ; \
43000 (cd $(HOST_SUBDIR)/libtermcap && \
43001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43003 "RANLIB=$${RANLIB}" \
43004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43005 install-pdf) \
43006 || exit 1
43008 @endif libtermcap
43010 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
43011 maybe-install-html-libtermcap:
43012 @if libtermcap
43013 maybe-install-html-libtermcap: install-html-libtermcap
43015 install-html-libtermcap: \
43016 configure-libtermcap \
43017 html-libtermcap
43018 @: $(MAKE); $(unstage)
43019 @[ -f ./libtermcap/Makefile ] || exit 0; \
43020 r=`${PWD_COMMAND}`; export r; \
43021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43022 $(HOST_EXPORTS) \
43023 for flag in $(EXTRA_HOST_FLAGS) ; do \
43024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43025 done; \
43026 echo "Doing install-html in libtermcap" ; \
43027 (cd $(HOST_SUBDIR)/libtermcap && \
43028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43030 "RANLIB=$${RANLIB}" \
43031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43032 install-html) \
43033 || exit 1
43035 @endif libtermcap
43037 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
43038 maybe-installcheck-libtermcap:
43039 @if libtermcap
43040 maybe-installcheck-libtermcap: installcheck-libtermcap
43042 installcheck-libtermcap: \
43043 configure-libtermcap
43044 @: $(MAKE); $(unstage)
43045 @[ -f ./libtermcap/Makefile ] || exit 0; \
43046 r=`${PWD_COMMAND}`; export r; \
43047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43048 $(HOST_EXPORTS) \
43049 for flag in $(EXTRA_HOST_FLAGS) ; do \
43050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43051 done; \
43052 echo "Doing installcheck in libtermcap" ; \
43053 (cd $(HOST_SUBDIR)/libtermcap && \
43054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43056 "RANLIB=$${RANLIB}" \
43057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43058 installcheck) \
43059 || exit 1
43061 @endif libtermcap
43063 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
43064 maybe-mostlyclean-libtermcap:
43065 @if libtermcap
43066 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
43068 # libtermcap doesn't support mostlyclean.
43069 mostlyclean-libtermcap:
43071 @endif libtermcap
43073 .PHONY: maybe-clean-libtermcap clean-libtermcap
43074 maybe-clean-libtermcap:
43075 @if libtermcap
43076 maybe-clean-libtermcap: clean-libtermcap
43078 # libtermcap doesn't support clean.
43079 clean-libtermcap:
43081 @endif libtermcap
43083 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
43084 maybe-distclean-libtermcap:
43085 @if libtermcap
43086 maybe-distclean-libtermcap: distclean-libtermcap
43088 # libtermcap doesn't support distclean.
43089 distclean-libtermcap:
43091 @endif libtermcap
43093 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
43094 maybe-maintainer-clean-libtermcap:
43095 @if libtermcap
43096 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
43098 # libtermcap doesn't support maintainer-clean.
43099 maintainer-clean-libtermcap:
43101 @endif libtermcap
43105 .PHONY: configure-utils maybe-configure-utils
43106 maybe-configure-utils:
43107 @if gcc-bootstrap
43108 configure-utils: stage_current
43109 @endif gcc-bootstrap
43110 @if utils
43111 maybe-configure-utils: configure-utils
43112 configure-utils:
43113 @: $(MAKE); $(unstage)
43114 @r=`${PWD_COMMAND}`; export r; \
43115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43116 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
43117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
43118 $(HOST_EXPORTS) \
43119 echo Configuring in $(HOST_SUBDIR)/utils; \
43120 cd "$(HOST_SUBDIR)/utils" || exit 1; \
43121 case $(srcdir) in \
43122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43123 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
43124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43125 esac; \
43126 srcdiroption="--srcdir=$${topdir}/utils"; \
43127 libsrcdir="$$s/utils"; \
43128 $(SHELL) $${libsrcdir}/configure \
43129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43130 --target=${target_alias} $${srcdiroption} \
43131 || exit 1
43132 @endif utils
43138 .PHONY: all-utils maybe-all-utils
43139 maybe-all-utils:
43140 @if gcc-bootstrap
43141 all-utils: stage_current
43142 @endif gcc-bootstrap
43143 @if utils
43144 TARGET-utils=all
43145 maybe-all-utils: all-utils
43146 all-utils: configure-utils
43147 @: $(MAKE); $(unstage)
43148 @r=`${PWD_COMMAND}`; export r; \
43149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43150 $(HOST_EXPORTS) \
43151 (cd $(HOST_SUBDIR)/utils && \
43152 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
43153 $(TARGET-utils))
43154 @endif utils
43159 .PHONY: check-utils maybe-check-utils
43160 maybe-check-utils:
43161 @if utils
43162 maybe-check-utils: check-utils
43164 check-utils:
43166 @endif utils
43168 .PHONY: install-utils maybe-install-utils
43169 maybe-install-utils:
43170 @if utils
43171 maybe-install-utils: install-utils
43173 install-utils: 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)/utils && \
43179 $(MAKE) $(FLAGS_TO_PASS) install)
43181 @endif utils
43183 # Other targets (info, dvi, pdf, etc.)
43185 .PHONY: maybe-info-utils info-utils
43186 maybe-info-utils:
43187 @if utils
43188 maybe-info-utils: info-utils
43190 info-utils: \
43191 configure-utils
43192 @: $(MAKE); $(unstage)
43193 @[ -f ./utils/Makefile ] || exit 0; \
43194 r=`${PWD_COMMAND}`; export r; \
43195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43196 $(HOST_EXPORTS) \
43197 for flag in $(EXTRA_HOST_FLAGS) ; do \
43198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43199 done; \
43200 echo "Doing info in utils" ; \
43201 (cd $(HOST_SUBDIR)/utils && \
43202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43204 "RANLIB=$${RANLIB}" \
43205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43206 info) \
43207 || exit 1
43209 @endif utils
43211 .PHONY: maybe-dvi-utils dvi-utils
43212 maybe-dvi-utils:
43213 @if utils
43214 maybe-dvi-utils: dvi-utils
43216 dvi-utils: \
43217 configure-utils
43218 @: $(MAKE); $(unstage)
43219 @[ -f ./utils/Makefile ] || exit 0; \
43220 r=`${PWD_COMMAND}`; export r; \
43221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43222 $(HOST_EXPORTS) \
43223 for flag in $(EXTRA_HOST_FLAGS) ; do \
43224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43225 done; \
43226 echo "Doing dvi in utils" ; \
43227 (cd $(HOST_SUBDIR)/utils && \
43228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43230 "RANLIB=$${RANLIB}" \
43231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43232 dvi) \
43233 || exit 1
43235 @endif utils
43237 .PHONY: maybe-pdf-utils pdf-utils
43238 maybe-pdf-utils:
43239 @if utils
43240 maybe-pdf-utils: pdf-utils
43242 pdf-utils: \
43243 configure-utils
43244 @: $(MAKE); $(unstage)
43245 @[ -f ./utils/Makefile ] || exit 0; \
43246 r=`${PWD_COMMAND}`; export r; \
43247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43248 $(HOST_EXPORTS) \
43249 for flag in $(EXTRA_HOST_FLAGS) ; do \
43250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43251 done; \
43252 echo "Doing pdf in utils" ; \
43253 (cd $(HOST_SUBDIR)/utils && \
43254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43256 "RANLIB=$${RANLIB}" \
43257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43258 pdf) \
43259 || exit 1
43261 @endif utils
43263 .PHONY: maybe-html-utils html-utils
43264 maybe-html-utils:
43265 @if utils
43266 maybe-html-utils: html-utils
43268 html-utils: \
43269 configure-utils
43270 @: $(MAKE); $(unstage)
43271 @[ -f ./utils/Makefile ] || exit 0; \
43272 r=`${PWD_COMMAND}`; export r; \
43273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43274 $(HOST_EXPORTS) \
43275 for flag in $(EXTRA_HOST_FLAGS) ; do \
43276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43277 done; \
43278 echo "Doing html in utils" ; \
43279 (cd $(HOST_SUBDIR)/utils && \
43280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43282 "RANLIB=$${RANLIB}" \
43283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43284 html) \
43285 || exit 1
43287 @endif utils
43289 .PHONY: maybe-TAGS-utils TAGS-utils
43290 maybe-TAGS-utils:
43291 @if utils
43292 maybe-TAGS-utils: TAGS-utils
43294 TAGS-utils: \
43295 configure-utils
43296 @: $(MAKE); $(unstage)
43297 @[ -f ./utils/Makefile ] || exit 0; \
43298 r=`${PWD_COMMAND}`; export r; \
43299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43300 $(HOST_EXPORTS) \
43301 for flag in $(EXTRA_HOST_FLAGS) ; do \
43302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43303 done; \
43304 echo "Doing TAGS in utils" ; \
43305 (cd $(HOST_SUBDIR)/utils && \
43306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43308 "RANLIB=$${RANLIB}" \
43309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43310 TAGS) \
43311 || exit 1
43313 @endif utils
43315 .PHONY: maybe-install-info-utils install-info-utils
43316 maybe-install-info-utils:
43317 @if utils
43318 maybe-install-info-utils: install-info-utils
43320 install-info-utils: \
43321 configure-utils \
43322 info-utils
43323 @: $(MAKE); $(unstage)
43324 @[ -f ./utils/Makefile ] || exit 0; \
43325 r=`${PWD_COMMAND}`; export r; \
43326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43327 $(HOST_EXPORTS) \
43328 for flag in $(EXTRA_HOST_FLAGS) ; do \
43329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43330 done; \
43331 echo "Doing install-info in utils" ; \
43332 (cd $(HOST_SUBDIR)/utils && \
43333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43335 "RANLIB=$${RANLIB}" \
43336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43337 install-info) \
43338 || exit 1
43340 @endif utils
43342 .PHONY: maybe-install-pdf-utils install-pdf-utils
43343 maybe-install-pdf-utils:
43344 @if utils
43345 maybe-install-pdf-utils: install-pdf-utils
43347 install-pdf-utils: \
43348 configure-utils \
43349 pdf-utils
43350 @: $(MAKE); $(unstage)
43351 @[ -f ./utils/Makefile ] || exit 0; \
43352 r=`${PWD_COMMAND}`; export r; \
43353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43354 $(HOST_EXPORTS) \
43355 for flag in $(EXTRA_HOST_FLAGS) ; do \
43356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43357 done; \
43358 echo "Doing install-pdf in utils" ; \
43359 (cd $(HOST_SUBDIR)/utils && \
43360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43362 "RANLIB=$${RANLIB}" \
43363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43364 install-pdf) \
43365 || exit 1
43367 @endif utils
43369 .PHONY: maybe-install-html-utils install-html-utils
43370 maybe-install-html-utils:
43371 @if utils
43372 maybe-install-html-utils: install-html-utils
43374 install-html-utils: \
43375 configure-utils \
43376 html-utils
43377 @: $(MAKE); $(unstage)
43378 @[ -f ./utils/Makefile ] || exit 0; \
43379 r=`${PWD_COMMAND}`; export r; \
43380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43381 $(HOST_EXPORTS) \
43382 for flag in $(EXTRA_HOST_FLAGS) ; do \
43383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43384 done; \
43385 echo "Doing install-html in utils" ; \
43386 (cd $(HOST_SUBDIR)/utils && \
43387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43389 "RANLIB=$${RANLIB}" \
43390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43391 install-html) \
43392 || exit 1
43394 @endif utils
43396 .PHONY: maybe-installcheck-utils installcheck-utils
43397 maybe-installcheck-utils:
43398 @if utils
43399 maybe-installcheck-utils: installcheck-utils
43401 installcheck-utils: \
43402 configure-utils
43403 @: $(MAKE); $(unstage)
43404 @[ -f ./utils/Makefile ] || exit 0; \
43405 r=`${PWD_COMMAND}`; export r; \
43406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43407 $(HOST_EXPORTS) \
43408 for flag in $(EXTRA_HOST_FLAGS) ; do \
43409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43410 done; \
43411 echo "Doing installcheck in utils" ; \
43412 (cd $(HOST_SUBDIR)/utils && \
43413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43415 "RANLIB=$${RANLIB}" \
43416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43417 installcheck) \
43418 || exit 1
43420 @endif utils
43422 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
43423 maybe-mostlyclean-utils:
43424 @if utils
43425 maybe-mostlyclean-utils: mostlyclean-utils
43427 mostlyclean-utils:
43428 @: $(MAKE); $(unstage)
43429 @[ -f ./utils/Makefile ] || exit 0; \
43430 r=`${PWD_COMMAND}`; export r; \
43431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43432 $(HOST_EXPORTS) \
43433 for flag in $(EXTRA_HOST_FLAGS) ; do \
43434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43435 done; \
43436 echo "Doing mostlyclean in utils" ; \
43437 (cd $(HOST_SUBDIR)/utils && \
43438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43440 "RANLIB=$${RANLIB}" \
43441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43442 mostlyclean) \
43443 || exit 1
43445 @endif utils
43447 .PHONY: maybe-clean-utils clean-utils
43448 maybe-clean-utils:
43449 @if utils
43450 maybe-clean-utils: clean-utils
43452 clean-utils:
43453 @: $(MAKE); $(unstage)
43454 @[ -f ./utils/Makefile ] || exit 0; \
43455 r=`${PWD_COMMAND}`; export r; \
43456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43457 $(HOST_EXPORTS) \
43458 for flag in $(EXTRA_HOST_FLAGS) ; do \
43459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43460 done; \
43461 echo "Doing clean in utils" ; \
43462 (cd $(HOST_SUBDIR)/utils && \
43463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43465 "RANLIB=$${RANLIB}" \
43466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43467 clean) \
43468 || exit 1
43470 @endif utils
43472 .PHONY: maybe-distclean-utils distclean-utils
43473 maybe-distclean-utils:
43474 @if utils
43475 maybe-distclean-utils: distclean-utils
43477 distclean-utils:
43478 @: $(MAKE); $(unstage)
43479 @[ -f ./utils/Makefile ] || exit 0; \
43480 r=`${PWD_COMMAND}`; export r; \
43481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43482 $(HOST_EXPORTS) \
43483 for flag in $(EXTRA_HOST_FLAGS) ; do \
43484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43485 done; \
43486 echo "Doing distclean in utils" ; \
43487 (cd $(HOST_SUBDIR)/utils && \
43488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43490 "RANLIB=$${RANLIB}" \
43491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43492 distclean) \
43493 || exit 1
43495 @endif utils
43497 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
43498 maybe-maintainer-clean-utils:
43499 @if utils
43500 maybe-maintainer-clean-utils: maintainer-clean-utils
43502 maintainer-clean-utils:
43503 @: $(MAKE); $(unstage)
43504 @[ -f ./utils/Makefile ] || exit 0; \
43505 r=`${PWD_COMMAND}`; export r; \
43506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43507 $(HOST_EXPORTS) \
43508 for flag in $(EXTRA_HOST_FLAGS) ; do \
43509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43510 done; \
43511 echo "Doing maintainer-clean in utils" ; \
43512 (cd $(HOST_SUBDIR)/utils && \
43513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43515 "RANLIB=$${RANLIB}" \
43516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43517 maintainer-clean) \
43518 || exit 1
43520 @endif utils
43524 .PHONY: configure-gnattools maybe-configure-gnattools
43525 maybe-configure-gnattools:
43526 @if gcc-bootstrap
43527 configure-gnattools: stage_current
43528 @endif gcc-bootstrap
43529 @if gnattools
43530 maybe-configure-gnattools: configure-gnattools
43531 configure-gnattools:
43532 @: $(MAKE); $(unstage)
43533 @r=`${PWD_COMMAND}`; export r; \
43534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43535 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
43536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
43537 $(HOST_EXPORTS) \
43538 echo Configuring in $(HOST_SUBDIR)/gnattools; \
43539 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
43540 case $(srcdir) in \
43541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43542 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
43543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43544 esac; \
43545 srcdiroption="--srcdir=$${topdir}/gnattools"; \
43546 libsrcdir="$$s/gnattools"; \
43547 $(SHELL) $${libsrcdir}/configure \
43548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43549 --target=${target_alias} $${srcdiroption} \
43550 || exit 1
43551 @endif gnattools
43557 .PHONY: all-gnattools maybe-all-gnattools
43558 maybe-all-gnattools:
43559 @if gcc-bootstrap
43560 all-gnattools: stage_current
43561 @endif gcc-bootstrap
43562 @if gnattools
43563 TARGET-gnattools=all
43564 maybe-all-gnattools: all-gnattools
43565 all-gnattools: configure-gnattools
43566 @: $(MAKE); $(unstage)
43567 @r=`${PWD_COMMAND}`; export r; \
43568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43569 $(HOST_EXPORTS) \
43570 (cd $(HOST_SUBDIR)/gnattools && \
43571 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
43572 $(TARGET-gnattools))
43573 @endif gnattools
43578 .PHONY: check-gnattools maybe-check-gnattools
43579 maybe-check-gnattools:
43580 @if gnattools
43581 maybe-check-gnattools: check-gnattools
43583 check-gnattools:
43584 @: $(MAKE); $(unstage)
43585 @r=`${PWD_COMMAND}`; export r; \
43586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43587 $(HOST_EXPORTS) \
43588 (cd $(HOST_SUBDIR)/gnattools && \
43589 $(MAKE) $(FLAGS_TO_PASS) check)
43591 @endif gnattools
43593 .PHONY: install-gnattools maybe-install-gnattools
43594 maybe-install-gnattools:
43595 @if gnattools
43596 maybe-install-gnattools: install-gnattools
43598 install-gnattools: installdirs
43599 @: $(MAKE); $(unstage)
43600 @r=`${PWD_COMMAND}`; export r; \
43601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43602 $(HOST_EXPORTS) \
43603 (cd $(HOST_SUBDIR)/gnattools && \
43604 $(MAKE) $(FLAGS_TO_PASS) install)
43606 @endif gnattools
43608 # Other targets (info, dvi, pdf, etc.)
43610 .PHONY: maybe-info-gnattools info-gnattools
43611 maybe-info-gnattools:
43612 @if gnattools
43613 maybe-info-gnattools: info-gnattools
43615 info-gnattools: \
43616 configure-gnattools
43617 @: $(MAKE); $(unstage)
43618 @[ -f ./gnattools/Makefile ] || exit 0; \
43619 r=`${PWD_COMMAND}`; export r; \
43620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43621 $(HOST_EXPORTS) \
43622 for flag in $(EXTRA_HOST_FLAGS) ; do \
43623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43624 done; \
43625 echo "Doing info in gnattools" ; \
43626 (cd $(HOST_SUBDIR)/gnattools && \
43627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43629 "RANLIB=$${RANLIB}" \
43630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43631 info) \
43632 || exit 1
43634 @endif gnattools
43636 .PHONY: maybe-dvi-gnattools dvi-gnattools
43637 maybe-dvi-gnattools:
43638 @if gnattools
43639 maybe-dvi-gnattools: dvi-gnattools
43641 dvi-gnattools: \
43642 configure-gnattools
43643 @: $(MAKE); $(unstage)
43644 @[ -f ./gnattools/Makefile ] || exit 0; \
43645 r=`${PWD_COMMAND}`; export r; \
43646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43647 $(HOST_EXPORTS) \
43648 for flag in $(EXTRA_HOST_FLAGS) ; do \
43649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43650 done; \
43651 echo "Doing dvi in gnattools" ; \
43652 (cd $(HOST_SUBDIR)/gnattools && \
43653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43655 "RANLIB=$${RANLIB}" \
43656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43657 dvi) \
43658 || exit 1
43660 @endif gnattools
43662 .PHONY: maybe-pdf-gnattools pdf-gnattools
43663 maybe-pdf-gnattools:
43664 @if gnattools
43665 maybe-pdf-gnattools: pdf-gnattools
43667 pdf-gnattools: \
43668 configure-gnattools
43669 @: $(MAKE); $(unstage)
43670 @[ -f ./gnattools/Makefile ] || exit 0; \
43671 r=`${PWD_COMMAND}`; export r; \
43672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43673 $(HOST_EXPORTS) \
43674 for flag in $(EXTRA_HOST_FLAGS) ; do \
43675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43676 done; \
43677 echo "Doing pdf in gnattools" ; \
43678 (cd $(HOST_SUBDIR)/gnattools && \
43679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43681 "RANLIB=$${RANLIB}" \
43682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43683 pdf) \
43684 || exit 1
43686 @endif gnattools
43688 .PHONY: maybe-html-gnattools html-gnattools
43689 maybe-html-gnattools:
43690 @if gnattools
43691 maybe-html-gnattools: html-gnattools
43693 html-gnattools: \
43694 configure-gnattools
43695 @: $(MAKE); $(unstage)
43696 @[ -f ./gnattools/Makefile ] || exit 0; \
43697 r=`${PWD_COMMAND}`; export r; \
43698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43699 $(HOST_EXPORTS) \
43700 for flag in $(EXTRA_HOST_FLAGS) ; do \
43701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43702 done; \
43703 echo "Doing html in gnattools" ; \
43704 (cd $(HOST_SUBDIR)/gnattools && \
43705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43707 "RANLIB=$${RANLIB}" \
43708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43709 html) \
43710 || exit 1
43712 @endif gnattools
43714 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
43715 maybe-TAGS-gnattools:
43716 @if gnattools
43717 maybe-TAGS-gnattools: TAGS-gnattools
43719 TAGS-gnattools: \
43720 configure-gnattools
43721 @: $(MAKE); $(unstage)
43722 @[ -f ./gnattools/Makefile ] || exit 0; \
43723 r=`${PWD_COMMAND}`; export r; \
43724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43725 $(HOST_EXPORTS) \
43726 for flag in $(EXTRA_HOST_FLAGS) ; do \
43727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43728 done; \
43729 echo "Doing TAGS in gnattools" ; \
43730 (cd $(HOST_SUBDIR)/gnattools && \
43731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43733 "RANLIB=$${RANLIB}" \
43734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43735 TAGS) \
43736 || exit 1
43738 @endif gnattools
43740 .PHONY: maybe-install-info-gnattools install-info-gnattools
43741 maybe-install-info-gnattools:
43742 @if gnattools
43743 maybe-install-info-gnattools: install-info-gnattools
43745 install-info-gnattools: \
43746 configure-gnattools \
43747 info-gnattools
43748 @: $(MAKE); $(unstage)
43749 @[ -f ./gnattools/Makefile ] || exit 0; \
43750 r=`${PWD_COMMAND}`; export r; \
43751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43752 $(HOST_EXPORTS) \
43753 for flag in $(EXTRA_HOST_FLAGS) ; do \
43754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43755 done; \
43756 echo "Doing install-info in gnattools" ; \
43757 (cd $(HOST_SUBDIR)/gnattools && \
43758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43760 "RANLIB=$${RANLIB}" \
43761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43762 install-info) \
43763 || exit 1
43765 @endif gnattools
43767 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
43768 maybe-install-pdf-gnattools:
43769 @if gnattools
43770 maybe-install-pdf-gnattools: install-pdf-gnattools
43772 install-pdf-gnattools: \
43773 configure-gnattools \
43774 pdf-gnattools
43775 @: $(MAKE); $(unstage)
43776 @[ -f ./gnattools/Makefile ] || exit 0; \
43777 r=`${PWD_COMMAND}`; export r; \
43778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43779 $(HOST_EXPORTS) \
43780 for flag in $(EXTRA_HOST_FLAGS) ; do \
43781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43782 done; \
43783 echo "Doing install-pdf in gnattools" ; \
43784 (cd $(HOST_SUBDIR)/gnattools && \
43785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43787 "RANLIB=$${RANLIB}" \
43788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43789 install-pdf) \
43790 || exit 1
43792 @endif gnattools
43794 .PHONY: maybe-install-html-gnattools install-html-gnattools
43795 maybe-install-html-gnattools:
43796 @if gnattools
43797 maybe-install-html-gnattools: install-html-gnattools
43799 install-html-gnattools: \
43800 configure-gnattools \
43801 html-gnattools
43802 @: $(MAKE); $(unstage)
43803 @[ -f ./gnattools/Makefile ] || exit 0; \
43804 r=`${PWD_COMMAND}`; export r; \
43805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43806 $(HOST_EXPORTS) \
43807 for flag in $(EXTRA_HOST_FLAGS) ; do \
43808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43809 done; \
43810 echo "Doing install-html in gnattools" ; \
43811 (cd $(HOST_SUBDIR)/gnattools && \
43812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43814 "RANLIB=$${RANLIB}" \
43815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43816 install-html) \
43817 || exit 1
43819 @endif gnattools
43821 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
43822 maybe-installcheck-gnattools:
43823 @if gnattools
43824 maybe-installcheck-gnattools: installcheck-gnattools
43826 installcheck-gnattools: \
43827 configure-gnattools
43828 @: $(MAKE); $(unstage)
43829 @[ -f ./gnattools/Makefile ] || exit 0; \
43830 r=`${PWD_COMMAND}`; export r; \
43831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43832 $(HOST_EXPORTS) \
43833 for flag in $(EXTRA_HOST_FLAGS) ; do \
43834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43835 done; \
43836 echo "Doing installcheck in gnattools" ; \
43837 (cd $(HOST_SUBDIR)/gnattools && \
43838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43840 "RANLIB=$${RANLIB}" \
43841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43842 installcheck) \
43843 || exit 1
43845 @endif gnattools
43847 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
43848 maybe-mostlyclean-gnattools:
43849 @if gnattools
43850 maybe-mostlyclean-gnattools: mostlyclean-gnattools
43852 mostlyclean-gnattools:
43853 @: $(MAKE); $(unstage)
43854 @[ -f ./gnattools/Makefile ] || exit 0; \
43855 r=`${PWD_COMMAND}`; export r; \
43856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43857 $(HOST_EXPORTS) \
43858 for flag in $(EXTRA_HOST_FLAGS) ; do \
43859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43860 done; \
43861 echo "Doing mostlyclean in gnattools" ; \
43862 (cd $(HOST_SUBDIR)/gnattools && \
43863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43865 "RANLIB=$${RANLIB}" \
43866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43867 mostlyclean) \
43868 || exit 1
43870 @endif gnattools
43872 .PHONY: maybe-clean-gnattools clean-gnattools
43873 maybe-clean-gnattools:
43874 @if gnattools
43875 maybe-clean-gnattools: clean-gnattools
43877 clean-gnattools:
43878 @: $(MAKE); $(unstage)
43879 @[ -f ./gnattools/Makefile ] || exit 0; \
43880 r=`${PWD_COMMAND}`; export r; \
43881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43882 $(HOST_EXPORTS) \
43883 for flag in $(EXTRA_HOST_FLAGS) ; do \
43884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43885 done; \
43886 echo "Doing clean in gnattools" ; \
43887 (cd $(HOST_SUBDIR)/gnattools && \
43888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43890 "RANLIB=$${RANLIB}" \
43891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43892 clean) \
43893 || exit 1
43895 @endif gnattools
43897 .PHONY: maybe-distclean-gnattools distclean-gnattools
43898 maybe-distclean-gnattools:
43899 @if gnattools
43900 maybe-distclean-gnattools: distclean-gnattools
43902 distclean-gnattools:
43903 @: $(MAKE); $(unstage)
43904 @[ -f ./gnattools/Makefile ] || exit 0; \
43905 r=`${PWD_COMMAND}`; export r; \
43906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43907 $(HOST_EXPORTS) \
43908 for flag in $(EXTRA_HOST_FLAGS) ; do \
43909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43910 done; \
43911 echo "Doing distclean in gnattools" ; \
43912 (cd $(HOST_SUBDIR)/gnattools && \
43913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43915 "RANLIB=$${RANLIB}" \
43916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43917 distclean) \
43918 || exit 1
43920 @endif gnattools
43922 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
43923 maybe-maintainer-clean-gnattools:
43924 @if gnattools
43925 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
43927 maintainer-clean-gnattools:
43928 @: $(MAKE); $(unstage)
43929 @[ -f ./gnattools/Makefile ] || exit 0; \
43930 r=`${PWD_COMMAND}`; export r; \
43931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43932 $(HOST_EXPORTS) \
43933 for flag in $(EXTRA_HOST_FLAGS) ; do \
43934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43935 done; \
43936 echo "Doing maintainer-clean in gnattools" ; \
43937 (cd $(HOST_SUBDIR)/gnattools && \
43938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43940 "RANLIB=$${RANLIB}" \
43941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43942 maintainer-clean) \
43943 || exit 1
43945 @endif gnattools
43949 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
43950 maybe-configure-lto-plugin:
43951 @if gcc-bootstrap
43952 configure-lto-plugin: stage_current
43953 @endif gcc-bootstrap
43954 @if lto-plugin
43955 maybe-configure-lto-plugin: configure-lto-plugin
43956 configure-lto-plugin:
43957 @r=`${PWD_COMMAND}`; export r; \
43958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43959 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
43960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
43961 $(HOST_EXPORTS) \
43962 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
43963 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
43964 case $(srcdir) in \
43965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43966 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
43967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43968 esac; \
43969 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
43970 libsrcdir="$$s/lto-plugin"; \
43971 $(SHELL) $${libsrcdir}/configure \
43972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
43973 --target=${target_alias} $${srcdiroption} \
43974 || exit 1
43975 @endif lto-plugin
43979 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
43980 maybe-configure-stage1-lto-plugin:
43981 @if lto-plugin-bootstrap
43982 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
43983 configure-stage1-lto-plugin:
43984 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
43986 @r=`${PWD_COMMAND}`; export r; \
43987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43988 TFLAGS="$(STAGE1_TFLAGS)"; \
43989 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
43990 $(HOST_EXPORTS) \
43991 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
43992 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
43993 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
43994 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
43995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
43996 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
43997 case $(srcdir) in \
43998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43999 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44001 esac; \
44002 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44003 libsrcdir="$$s/lto-plugin"; \
44004 $(SHELL) $${libsrcdir}/configure \
44005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44006 --target=${target_alias} $${srcdiroption} \
44007 $(STAGE1_CONFIGURE_FLAGS)
44008 @endif lto-plugin-bootstrap
44010 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
44011 maybe-configure-stage2-lto-plugin:
44012 @if lto-plugin-bootstrap
44013 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
44014 configure-stage2-lto-plugin:
44015 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
44017 @r=`${PWD_COMMAND}`; export r; \
44018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44019 TFLAGS="$(STAGE2_TFLAGS)"; \
44020 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
44021 $(HOST_EXPORTS) \
44022 $(POSTSTAGE1_HOST_EXPORTS) \
44023 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
44024 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
44025 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
44026 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
44027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
44028 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
44029 case $(srcdir) in \
44030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44031 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44033 esac; \
44034 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44035 libsrcdir="$$s/lto-plugin"; \
44036 $(SHELL) $${libsrcdir}/configure \
44037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44038 --target=${target_alias} $${srcdiroption} \
44039 --with-build-libsubdir=$(HOST_SUBDIR) \
44040 $(STAGE2_CONFIGURE_FLAGS)
44041 @endif lto-plugin-bootstrap
44043 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
44044 maybe-configure-stage3-lto-plugin:
44045 @if lto-plugin-bootstrap
44046 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
44047 configure-stage3-lto-plugin:
44048 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
44050 @r=`${PWD_COMMAND}`; export r; \
44051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44052 TFLAGS="$(STAGE3_TFLAGS)"; \
44053 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
44054 $(HOST_EXPORTS) \
44055 $(POSTSTAGE1_HOST_EXPORTS) \
44056 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
44057 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
44058 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
44059 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
44060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
44061 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
44062 case $(srcdir) in \
44063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44064 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44066 esac; \
44067 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44068 libsrcdir="$$s/lto-plugin"; \
44069 $(SHELL) $${libsrcdir}/configure \
44070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44071 --target=${target_alias} $${srcdiroption} \
44072 --with-build-libsubdir=$(HOST_SUBDIR) \
44073 $(STAGE3_CONFIGURE_FLAGS)
44074 @endif lto-plugin-bootstrap
44076 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
44077 maybe-configure-stage4-lto-plugin:
44078 @if lto-plugin-bootstrap
44079 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
44080 configure-stage4-lto-plugin:
44081 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
44083 @r=`${PWD_COMMAND}`; export r; \
44084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44085 TFLAGS="$(STAGE4_TFLAGS)"; \
44086 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
44087 $(HOST_EXPORTS) \
44088 $(POSTSTAGE1_HOST_EXPORTS) \
44089 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
44090 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
44091 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
44092 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
44093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
44094 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
44095 case $(srcdir) in \
44096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44097 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44099 esac; \
44100 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44101 libsrcdir="$$s/lto-plugin"; \
44102 $(SHELL) $${libsrcdir}/configure \
44103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44104 --target=${target_alias} $${srcdiroption} \
44105 --with-build-libsubdir=$(HOST_SUBDIR) \
44106 $(STAGE4_CONFIGURE_FLAGS)
44107 @endif lto-plugin-bootstrap
44109 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
44110 maybe-configure-stageprofile-lto-plugin:
44111 @if lto-plugin-bootstrap
44112 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
44113 configure-stageprofile-lto-plugin:
44114 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
44116 @r=`${PWD_COMMAND}`; export r; \
44117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44118 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44119 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
44120 $(HOST_EXPORTS) \
44121 $(POSTSTAGE1_HOST_EXPORTS) \
44122 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
44123 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
44124 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
44125 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
44126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
44127 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
44128 case $(srcdir) in \
44129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44130 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44132 esac; \
44133 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44134 libsrcdir="$$s/lto-plugin"; \
44135 $(SHELL) $${libsrcdir}/configure \
44136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44137 --target=${target_alias} $${srcdiroption} \
44138 --with-build-libsubdir=$(HOST_SUBDIR) \
44139 $(STAGEprofile_CONFIGURE_FLAGS)
44140 @endif lto-plugin-bootstrap
44142 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
44143 maybe-configure-stagefeedback-lto-plugin:
44144 @if lto-plugin-bootstrap
44145 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
44146 configure-stagefeedback-lto-plugin:
44147 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
44149 @r=`${PWD_COMMAND}`; export r; \
44150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44151 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44152 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
44153 $(HOST_EXPORTS) \
44154 $(POSTSTAGE1_HOST_EXPORTS) \
44155 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
44156 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
44157 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
44158 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
44159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
44160 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
44161 case $(srcdir) in \
44162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44163 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
44164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44165 esac; \
44166 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
44167 libsrcdir="$$s/lto-plugin"; \
44168 $(SHELL) $${libsrcdir}/configure \
44169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
44170 --target=${target_alias} $${srcdiroption} \
44171 --with-build-libsubdir=$(HOST_SUBDIR) \
44172 $(STAGEfeedback_CONFIGURE_FLAGS)
44173 @endif lto-plugin-bootstrap
44179 .PHONY: all-lto-plugin maybe-all-lto-plugin
44180 maybe-all-lto-plugin:
44181 @if gcc-bootstrap
44182 all-lto-plugin: stage_current
44183 @endif gcc-bootstrap
44184 @if lto-plugin
44185 TARGET-lto-plugin=all
44186 maybe-all-lto-plugin: all-lto-plugin
44187 all-lto-plugin: configure-lto-plugin
44188 @r=`${PWD_COMMAND}`; export r; \
44189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44190 $(HOST_EXPORTS) \
44191 (cd $(HOST_SUBDIR)/lto-plugin && \
44192 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
44193 $(TARGET-lto-plugin))
44194 @endif lto-plugin
44198 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
44199 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
44200 maybe-all-stage1-lto-plugin:
44201 maybe-clean-stage1-lto-plugin:
44202 @if lto-plugin-bootstrap
44203 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
44204 all-stage1: all-stage1-lto-plugin
44205 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
44206 all-stage1-lto-plugin: configure-stage1-lto-plugin
44207 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44208 @r=`${PWD_COMMAND}`; export r; \
44209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44210 TFLAGS="$(STAGE1_TFLAGS)"; \
44211 $(HOST_EXPORTS) \
44212 cd $(HOST_SUBDIR)/lto-plugin && \
44213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44214 CFLAGS="$(STAGE1_CFLAGS)" \
44215 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
44216 LIBCFLAGS="$(LIBCFLAGS)" \
44217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44220 $(EXTRA_HOST_FLAGS) \
44221 TFLAGS="$(STAGE1_TFLAGS)" \
44222 $(TARGET-stage1-lto-plugin)
44224 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
44225 clean-stage1: clean-stage1-lto-plugin
44226 clean-stage1-lto-plugin:
44227 @if [ $(current_stage) = stage1 ]; then \
44228 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44229 else \
44230 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
44231 $(MAKE) stage1-start; \
44232 fi; \
44233 cd $(HOST_SUBDIR)/lto-plugin && \
44234 $(MAKE) $(EXTRA_HOST_FLAGS) \
44235 clean
44236 @endif lto-plugin-bootstrap
44239 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
44240 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
44241 maybe-all-stage2-lto-plugin:
44242 maybe-clean-stage2-lto-plugin:
44243 @if lto-plugin-bootstrap
44244 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
44245 all-stage2: all-stage2-lto-plugin
44246 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
44247 all-stage2-lto-plugin: configure-stage2-lto-plugin
44248 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44249 @r=`${PWD_COMMAND}`; export r; \
44250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44251 TFLAGS="$(STAGE2_TFLAGS)"; \
44252 $(HOST_EXPORTS) \
44253 $(POSTSTAGE1_HOST_EXPORTS) \
44254 cd $(HOST_SUBDIR)/lto-plugin && \
44255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44256 CFLAGS="$(STAGE2_CFLAGS)" \
44257 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
44258 LIBCFLAGS="$(STAGE2_CFLAGS)" \
44259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
44263 TFLAGS="$(STAGE2_TFLAGS)" \
44264 $(TARGET-stage2-lto-plugin)
44266 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
44267 clean-stage2: clean-stage2-lto-plugin
44268 clean-stage2-lto-plugin:
44269 @if [ $(current_stage) = stage2 ]; then \
44270 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44271 else \
44272 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
44273 $(MAKE) stage2-start; \
44274 fi; \
44275 cd $(HOST_SUBDIR)/lto-plugin && \
44276 $(MAKE) $(EXTRA_HOST_FLAGS) \
44277 $(POSTSTAGE1_FLAGS_TO_PASS) \
44278 clean
44279 @endif lto-plugin-bootstrap
44282 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
44283 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
44284 maybe-all-stage3-lto-plugin:
44285 maybe-clean-stage3-lto-plugin:
44286 @if lto-plugin-bootstrap
44287 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
44288 all-stage3: all-stage3-lto-plugin
44289 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
44290 all-stage3-lto-plugin: configure-stage3-lto-plugin
44291 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44292 @r=`${PWD_COMMAND}`; export r; \
44293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44294 TFLAGS="$(STAGE3_TFLAGS)"; \
44295 $(HOST_EXPORTS) \
44296 $(POSTSTAGE1_HOST_EXPORTS) \
44297 cd $(HOST_SUBDIR)/lto-plugin && \
44298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44299 CFLAGS="$(STAGE3_CFLAGS)" \
44300 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
44301 LIBCFLAGS="$(STAGE3_CFLAGS)" \
44302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
44306 TFLAGS="$(STAGE3_TFLAGS)" \
44307 $(TARGET-stage3-lto-plugin)
44309 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
44310 clean-stage3: clean-stage3-lto-plugin
44311 clean-stage3-lto-plugin:
44312 @if [ $(current_stage) = stage3 ]; then \
44313 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44314 else \
44315 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
44316 $(MAKE) stage3-start; \
44317 fi; \
44318 cd $(HOST_SUBDIR)/lto-plugin && \
44319 $(MAKE) $(EXTRA_HOST_FLAGS) \
44320 $(POSTSTAGE1_FLAGS_TO_PASS) \
44321 clean
44322 @endif lto-plugin-bootstrap
44325 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
44326 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
44327 maybe-all-stage4-lto-plugin:
44328 maybe-clean-stage4-lto-plugin:
44329 @if lto-plugin-bootstrap
44330 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
44331 all-stage4: all-stage4-lto-plugin
44332 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
44333 all-stage4-lto-plugin: configure-stage4-lto-plugin
44334 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44335 @r=`${PWD_COMMAND}`; export r; \
44336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44337 TFLAGS="$(STAGE4_TFLAGS)"; \
44338 $(HOST_EXPORTS) \
44339 $(POSTSTAGE1_HOST_EXPORTS) \
44340 cd $(HOST_SUBDIR)/lto-plugin && \
44341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44342 CFLAGS="$(STAGE4_CFLAGS)" \
44343 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
44344 LIBCFLAGS="$(STAGE4_CFLAGS)" \
44345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
44349 TFLAGS="$(STAGE4_TFLAGS)" \
44350 $(TARGET-stage4-lto-plugin)
44352 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
44353 clean-stage4: clean-stage4-lto-plugin
44354 clean-stage4-lto-plugin:
44355 @if [ $(current_stage) = stage4 ]; then \
44356 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44357 else \
44358 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
44359 $(MAKE) stage4-start; \
44360 fi; \
44361 cd $(HOST_SUBDIR)/lto-plugin && \
44362 $(MAKE) $(EXTRA_HOST_FLAGS) \
44363 $(POSTSTAGE1_FLAGS_TO_PASS) \
44364 clean
44365 @endif lto-plugin-bootstrap
44368 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
44369 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
44370 maybe-all-stageprofile-lto-plugin:
44371 maybe-clean-stageprofile-lto-plugin:
44372 @if lto-plugin-bootstrap
44373 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
44374 all-stageprofile: all-stageprofile-lto-plugin
44375 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
44376 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
44377 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44378 @r=`${PWD_COMMAND}`; export r; \
44379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44380 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44381 $(HOST_EXPORTS) \
44382 $(POSTSTAGE1_HOST_EXPORTS) \
44383 cd $(HOST_SUBDIR)/lto-plugin && \
44384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44385 CFLAGS="$(STAGEprofile_CFLAGS)" \
44386 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
44387 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
44388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
44392 TFLAGS="$(STAGEprofile_TFLAGS)" \
44393 $(TARGET-stageprofile-lto-plugin)
44395 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
44396 clean-stageprofile: clean-stageprofile-lto-plugin
44397 clean-stageprofile-lto-plugin:
44398 @if [ $(current_stage) = stageprofile ]; then \
44399 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44400 else \
44401 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
44402 $(MAKE) stageprofile-start; \
44403 fi; \
44404 cd $(HOST_SUBDIR)/lto-plugin && \
44405 $(MAKE) $(EXTRA_HOST_FLAGS) \
44406 $(POSTSTAGE1_FLAGS_TO_PASS) \
44407 clean
44408 @endif lto-plugin-bootstrap
44411 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
44412 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
44413 maybe-all-stagefeedback-lto-plugin:
44414 maybe-clean-stagefeedback-lto-plugin:
44415 @if lto-plugin-bootstrap
44416 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
44417 all-stagefeedback: all-stagefeedback-lto-plugin
44418 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
44419 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
44420 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44421 @r=`${PWD_COMMAND}`; export r; \
44422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44423 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44424 $(HOST_EXPORTS) \
44425 $(POSTSTAGE1_HOST_EXPORTS) \
44426 cd $(HOST_SUBDIR)/lto-plugin && \
44427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44428 CFLAGS="$(STAGEfeedback_CFLAGS)" \
44429 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
44430 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
44431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
44435 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44436 $(TARGET-stagefeedback-lto-plugin)
44438 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
44439 clean-stagefeedback: clean-stagefeedback-lto-plugin
44440 clean-stagefeedback-lto-plugin:
44441 @if [ $(current_stage) = stagefeedback ]; then \
44442 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
44443 else \
44444 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
44445 $(MAKE) stagefeedback-start; \
44446 fi; \
44447 cd $(HOST_SUBDIR)/lto-plugin && \
44448 $(MAKE) $(EXTRA_HOST_FLAGS) \
44449 $(POSTSTAGE1_FLAGS_TO_PASS) \
44450 clean
44451 @endif lto-plugin-bootstrap
44457 .PHONY: check-lto-plugin maybe-check-lto-plugin
44458 maybe-check-lto-plugin:
44459 @if lto-plugin
44460 maybe-check-lto-plugin: check-lto-plugin
44462 check-lto-plugin:
44463 @: $(MAKE); $(unstage)
44464 @r=`${PWD_COMMAND}`; export r; \
44465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44466 $(HOST_EXPORTS) \
44467 (cd $(HOST_SUBDIR)/lto-plugin && \
44468 $(MAKE) $(FLAGS_TO_PASS) check)
44470 @endif lto-plugin
44472 .PHONY: install-lto-plugin maybe-install-lto-plugin
44473 maybe-install-lto-plugin:
44474 @if lto-plugin
44475 maybe-install-lto-plugin: install-lto-plugin
44477 install-lto-plugin: installdirs
44478 @: $(MAKE); $(unstage)
44479 @r=`${PWD_COMMAND}`; export r; \
44480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44481 $(HOST_EXPORTS) \
44482 (cd $(HOST_SUBDIR)/lto-plugin && \
44483 $(MAKE) $(FLAGS_TO_PASS) install)
44485 @endif lto-plugin
44487 # Other targets (info, dvi, pdf, etc.)
44489 .PHONY: maybe-info-lto-plugin info-lto-plugin
44490 maybe-info-lto-plugin:
44491 @if lto-plugin
44492 maybe-info-lto-plugin: info-lto-plugin
44494 info-lto-plugin: \
44495 configure-lto-plugin
44496 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44497 r=`${PWD_COMMAND}`; export r; \
44498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44499 $(HOST_EXPORTS) \
44500 for flag in $(EXTRA_HOST_FLAGS) ; do \
44501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44502 done; \
44503 echo "Doing info in lto-plugin" ; \
44504 (cd $(HOST_SUBDIR)/lto-plugin && \
44505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44507 "RANLIB=$${RANLIB}" \
44508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44509 info) \
44510 || exit 1
44512 @endif lto-plugin
44514 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
44515 maybe-dvi-lto-plugin:
44516 @if lto-plugin
44517 maybe-dvi-lto-plugin: dvi-lto-plugin
44519 dvi-lto-plugin: \
44520 configure-lto-plugin
44521 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44522 r=`${PWD_COMMAND}`; export r; \
44523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44524 $(HOST_EXPORTS) \
44525 for flag in $(EXTRA_HOST_FLAGS) ; do \
44526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44527 done; \
44528 echo "Doing dvi in lto-plugin" ; \
44529 (cd $(HOST_SUBDIR)/lto-plugin && \
44530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44532 "RANLIB=$${RANLIB}" \
44533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44534 dvi) \
44535 || exit 1
44537 @endif lto-plugin
44539 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
44540 maybe-pdf-lto-plugin:
44541 @if lto-plugin
44542 maybe-pdf-lto-plugin: pdf-lto-plugin
44544 pdf-lto-plugin: \
44545 configure-lto-plugin
44546 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44547 r=`${PWD_COMMAND}`; export r; \
44548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44549 $(HOST_EXPORTS) \
44550 for flag in $(EXTRA_HOST_FLAGS) ; do \
44551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44552 done; \
44553 echo "Doing pdf in lto-plugin" ; \
44554 (cd $(HOST_SUBDIR)/lto-plugin && \
44555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44557 "RANLIB=$${RANLIB}" \
44558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44559 pdf) \
44560 || exit 1
44562 @endif lto-plugin
44564 .PHONY: maybe-html-lto-plugin html-lto-plugin
44565 maybe-html-lto-plugin:
44566 @if lto-plugin
44567 maybe-html-lto-plugin: html-lto-plugin
44569 html-lto-plugin: \
44570 configure-lto-plugin
44571 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44572 r=`${PWD_COMMAND}`; export r; \
44573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44574 $(HOST_EXPORTS) \
44575 for flag in $(EXTRA_HOST_FLAGS) ; do \
44576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44577 done; \
44578 echo "Doing html in lto-plugin" ; \
44579 (cd $(HOST_SUBDIR)/lto-plugin && \
44580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44582 "RANLIB=$${RANLIB}" \
44583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44584 html) \
44585 || exit 1
44587 @endif lto-plugin
44589 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
44590 maybe-TAGS-lto-plugin:
44591 @if lto-plugin
44592 maybe-TAGS-lto-plugin: TAGS-lto-plugin
44594 TAGS-lto-plugin: \
44595 configure-lto-plugin
44596 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44597 r=`${PWD_COMMAND}`; export r; \
44598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44599 $(HOST_EXPORTS) \
44600 for flag in $(EXTRA_HOST_FLAGS) ; do \
44601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44602 done; \
44603 echo "Doing TAGS in lto-plugin" ; \
44604 (cd $(HOST_SUBDIR)/lto-plugin && \
44605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44607 "RANLIB=$${RANLIB}" \
44608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44609 TAGS) \
44610 || exit 1
44612 @endif lto-plugin
44614 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
44615 maybe-install-info-lto-plugin:
44616 @if lto-plugin
44617 maybe-install-info-lto-plugin: install-info-lto-plugin
44619 install-info-lto-plugin: \
44620 configure-lto-plugin \
44621 info-lto-plugin
44622 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44623 r=`${PWD_COMMAND}`; export r; \
44624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44625 $(HOST_EXPORTS) \
44626 for flag in $(EXTRA_HOST_FLAGS) ; do \
44627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44628 done; \
44629 echo "Doing install-info in lto-plugin" ; \
44630 (cd $(HOST_SUBDIR)/lto-plugin && \
44631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44633 "RANLIB=$${RANLIB}" \
44634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44635 install-info) \
44636 || exit 1
44638 @endif lto-plugin
44640 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
44641 maybe-install-pdf-lto-plugin:
44642 @if lto-plugin
44643 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
44645 install-pdf-lto-plugin: \
44646 configure-lto-plugin \
44647 pdf-lto-plugin
44648 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44649 r=`${PWD_COMMAND}`; export r; \
44650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44651 $(HOST_EXPORTS) \
44652 for flag in $(EXTRA_HOST_FLAGS) ; do \
44653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44654 done; \
44655 echo "Doing install-pdf in lto-plugin" ; \
44656 (cd $(HOST_SUBDIR)/lto-plugin && \
44657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44659 "RANLIB=$${RANLIB}" \
44660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44661 install-pdf) \
44662 || exit 1
44664 @endif lto-plugin
44666 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
44667 maybe-install-html-lto-plugin:
44668 @if lto-plugin
44669 maybe-install-html-lto-plugin: install-html-lto-plugin
44671 install-html-lto-plugin: \
44672 configure-lto-plugin \
44673 html-lto-plugin
44674 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44675 r=`${PWD_COMMAND}`; export r; \
44676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44677 $(HOST_EXPORTS) \
44678 for flag in $(EXTRA_HOST_FLAGS) ; do \
44679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44680 done; \
44681 echo "Doing install-html in lto-plugin" ; \
44682 (cd $(HOST_SUBDIR)/lto-plugin && \
44683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44685 "RANLIB=$${RANLIB}" \
44686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44687 install-html) \
44688 || exit 1
44690 @endif lto-plugin
44692 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
44693 maybe-installcheck-lto-plugin:
44694 @if lto-plugin
44695 maybe-installcheck-lto-plugin: installcheck-lto-plugin
44697 installcheck-lto-plugin: \
44698 configure-lto-plugin
44699 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44700 r=`${PWD_COMMAND}`; export r; \
44701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44702 $(HOST_EXPORTS) \
44703 for flag in $(EXTRA_HOST_FLAGS) ; do \
44704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44705 done; \
44706 echo "Doing installcheck in lto-plugin" ; \
44707 (cd $(HOST_SUBDIR)/lto-plugin && \
44708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44710 "RANLIB=$${RANLIB}" \
44711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44712 installcheck) \
44713 || exit 1
44715 @endif lto-plugin
44717 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
44718 maybe-mostlyclean-lto-plugin:
44719 @if lto-plugin
44720 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
44722 mostlyclean-lto-plugin:
44723 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44724 r=`${PWD_COMMAND}`; export r; \
44725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44726 $(HOST_EXPORTS) \
44727 for flag in $(EXTRA_HOST_FLAGS) ; do \
44728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44729 done; \
44730 echo "Doing mostlyclean in lto-plugin" ; \
44731 (cd $(HOST_SUBDIR)/lto-plugin && \
44732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44734 "RANLIB=$${RANLIB}" \
44735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44736 mostlyclean) \
44737 || exit 1
44739 @endif lto-plugin
44741 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
44742 maybe-clean-lto-plugin:
44743 @if lto-plugin
44744 maybe-clean-lto-plugin: clean-lto-plugin
44746 clean-lto-plugin:
44747 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44748 r=`${PWD_COMMAND}`; export r; \
44749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44750 $(HOST_EXPORTS) \
44751 for flag in $(EXTRA_HOST_FLAGS) ; do \
44752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44753 done; \
44754 echo "Doing clean in lto-plugin" ; \
44755 (cd $(HOST_SUBDIR)/lto-plugin && \
44756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44758 "RANLIB=$${RANLIB}" \
44759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44760 clean) \
44761 || exit 1
44763 @endif lto-plugin
44765 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
44766 maybe-distclean-lto-plugin:
44767 @if lto-plugin
44768 maybe-distclean-lto-plugin: distclean-lto-plugin
44770 distclean-lto-plugin:
44771 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44772 r=`${PWD_COMMAND}`; export r; \
44773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44774 $(HOST_EXPORTS) \
44775 for flag in $(EXTRA_HOST_FLAGS) ; do \
44776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44777 done; \
44778 echo "Doing distclean in lto-plugin" ; \
44779 (cd $(HOST_SUBDIR)/lto-plugin && \
44780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44782 "RANLIB=$${RANLIB}" \
44783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44784 distclean) \
44785 || exit 1
44787 @endif lto-plugin
44789 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
44790 maybe-maintainer-clean-lto-plugin:
44791 @if lto-plugin
44792 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
44794 maintainer-clean-lto-plugin:
44795 @[ -f ./lto-plugin/Makefile ] || exit 0; \
44796 r=`${PWD_COMMAND}`; export r; \
44797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44798 $(HOST_EXPORTS) \
44799 for flag in $(EXTRA_HOST_FLAGS) ; do \
44800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44801 done; \
44802 echo "Doing maintainer-clean in lto-plugin" ; \
44803 (cd $(HOST_SUBDIR)/lto-plugin && \
44804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44806 "RANLIB=$${RANLIB}" \
44807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44808 maintainer-clean) \
44809 || exit 1
44811 @endif lto-plugin
44815 # ---------------------------------------
44816 # Modules which run on the target machine
44817 # ---------------------------------------
44822 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
44823 maybe-configure-target-libstdc++-v3:
44824 @if gcc-bootstrap
44825 configure-target-libstdc++-v3: stage_current
44826 @endif gcc-bootstrap
44827 @if target-libstdc++-v3
44828 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
44829 configure-target-libstdc++-v3:
44830 @r=`${PWD_COMMAND}`; export r; \
44831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44832 echo "Checking multilib configuration for libstdc++-v3..."; \
44833 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
44834 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
44835 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44836 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44837 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44838 else \
44839 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44840 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44841 fi; \
44842 else \
44843 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44844 fi; \
44845 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
44847 $(RAW_CXX_TARGET_EXPORTS) \
44848 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
44849 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
44850 case $(srcdir) in \
44851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44852 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44854 esac; \
44855 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
44856 libsrcdir="$$s/libstdc++-v3"; \
44857 rm -f no-such-file || : ; \
44858 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44859 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44860 --target=${target_alias} $${srcdiroption} \
44861 || exit 1
44862 @endif target-libstdc++-v3
44866 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
44867 maybe-configure-stage1-target-libstdc++-v3:
44868 @if target-libstdc++-v3-bootstrap
44869 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
44870 configure-stage1-target-libstdc++-v3:
44871 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44872 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44873 @r=`${PWD_COMMAND}`; export r; \
44874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44875 TFLAGS="$(STAGE1_TFLAGS)"; \
44876 echo "Checking multilib configuration for libstdc++-v3..."; \
44877 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
44878 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44879 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44880 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44881 else \
44882 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44883 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44884 fi; \
44885 else \
44886 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44887 fi; \
44888 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44889 $(RAW_CXX_TARGET_EXPORTS) \
44890 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44891 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44892 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44893 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
44894 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
44895 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44896 case $(srcdir) in \
44897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44898 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44900 esac; \
44901 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
44902 libsrcdir="$$s/libstdc++-v3"; \
44903 $(SHELL) $${libsrcdir}/configure \
44904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44905 --target=${target_alias} $${srcdiroption} \
44906 $(STAGE1_CONFIGURE_FLAGS)
44907 @endif target-libstdc++-v3-bootstrap
44909 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
44910 maybe-configure-stage2-target-libstdc++-v3:
44911 @if target-libstdc++-v3-bootstrap
44912 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44913 configure-stage2-target-libstdc++-v3:
44914 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44915 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44916 @r=`${PWD_COMMAND}`; export r; \
44917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44918 TFLAGS="$(STAGE2_TFLAGS)"; \
44919 echo "Checking multilib configuration for libstdc++-v3..."; \
44920 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
44921 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44922 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44923 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44924 else \
44925 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44926 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44927 fi; \
44928 else \
44929 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44930 fi; \
44931 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44932 $(RAW_CXX_TARGET_EXPORTS) \
44934 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44935 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44936 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44937 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
44938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
44939 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44940 case $(srcdir) in \
44941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44942 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44944 esac; \
44945 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
44946 libsrcdir="$$s/libstdc++-v3"; \
44947 $(SHELL) $${libsrcdir}/configure \
44948 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44949 --target=${target_alias} $${srcdiroption} \
44950 --with-build-libsubdir=$(HOST_SUBDIR) \
44951 $(STAGE2_CONFIGURE_FLAGS)
44952 @endif target-libstdc++-v3-bootstrap
44954 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
44955 maybe-configure-stage3-target-libstdc++-v3:
44956 @if target-libstdc++-v3-bootstrap
44957 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44958 configure-stage3-target-libstdc++-v3:
44959 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44960 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
44961 @r=`${PWD_COMMAND}`; export r; \
44962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44963 TFLAGS="$(STAGE3_TFLAGS)"; \
44964 echo "Checking multilib configuration for libstdc++-v3..."; \
44965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
44966 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44967 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
44968 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
44969 else \
44970 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44971 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44972 fi; \
44973 else \
44974 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44975 fi; \
44976 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44977 $(RAW_CXX_TARGET_EXPORTS) \
44979 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44980 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44981 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44982 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
44983 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
44984 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44985 case $(srcdir) in \
44986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44987 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44989 esac; \
44990 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
44991 libsrcdir="$$s/libstdc++-v3"; \
44992 $(SHELL) $${libsrcdir}/configure \
44993 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44994 --target=${target_alias} $${srcdiroption} \
44995 --with-build-libsubdir=$(HOST_SUBDIR) \
44996 $(STAGE3_CONFIGURE_FLAGS)
44997 @endif target-libstdc++-v3-bootstrap
44999 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
45000 maybe-configure-stage4-target-libstdc++-v3:
45001 @if target-libstdc++-v3-bootstrap
45002 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
45003 configure-stage4-target-libstdc++-v3:
45004 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45005 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
45006 @r=`${PWD_COMMAND}`; export r; \
45007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45008 TFLAGS="$(STAGE4_TFLAGS)"; \
45009 echo "Checking multilib configuration for libstdc++-v3..."; \
45010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
45011 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45012 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45013 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
45014 else \
45015 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
45016 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45017 fi; \
45018 else \
45019 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45020 fi; \
45021 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
45022 $(RAW_CXX_TARGET_EXPORTS) \
45024 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45025 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45026 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45027 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
45028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
45029 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
45030 case $(srcdir) in \
45031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45032 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
45033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45034 esac; \
45035 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
45036 libsrcdir="$$s/libstdc++-v3"; \
45037 $(SHELL) $${libsrcdir}/configure \
45038 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45039 --target=${target_alias} $${srcdiroption} \
45040 --with-build-libsubdir=$(HOST_SUBDIR) \
45041 $(STAGE4_CONFIGURE_FLAGS)
45042 @endif target-libstdc++-v3-bootstrap
45044 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
45045 maybe-configure-stageprofile-target-libstdc++-v3:
45046 @if target-libstdc++-v3-bootstrap
45047 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
45048 configure-stageprofile-target-libstdc++-v3:
45049 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45050 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
45051 @r=`${PWD_COMMAND}`; export r; \
45052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45053 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45054 echo "Checking multilib configuration for libstdc++-v3..."; \
45055 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
45056 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45057 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45058 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
45059 else \
45060 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
45061 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45062 fi; \
45063 else \
45064 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45065 fi; \
45066 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
45067 $(RAW_CXX_TARGET_EXPORTS) \
45069 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45070 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45071 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45072 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
45073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
45074 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
45075 case $(srcdir) in \
45076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45077 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
45078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45079 esac; \
45080 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
45081 libsrcdir="$$s/libstdc++-v3"; \
45082 $(SHELL) $${libsrcdir}/configure \
45083 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45084 --target=${target_alias} $${srcdiroption} \
45085 --with-build-libsubdir=$(HOST_SUBDIR) \
45086 $(STAGEprofile_CONFIGURE_FLAGS)
45087 @endif target-libstdc++-v3-bootstrap
45089 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
45090 maybe-configure-stagefeedback-target-libstdc++-v3:
45091 @if target-libstdc++-v3-bootstrap
45092 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
45093 configure-stagefeedback-target-libstdc++-v3:
45094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45095 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
45096 @r=`${PWD_COMMAND}`; export r; \
45097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45098 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45099 echo "Checking multilib configuration for libstdc++-v3..."; \
45100 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
45101 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45102 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
45103 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
45104 else \
45105 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
45106 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45107 fi; \
45108 else \
45109 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
45110 fi; \
45111 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
45112 $(RAW_CXX_TARGET_EXPORTS) \
45114 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45115 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45116 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45117 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
45118 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
45119 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
45120 case $(srcdir) in \
45121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45122 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
45123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45124 esac; \
45125 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
45126 libsrcdir="$$s/libstdc++-v3"; \
45127 $(SHELL) $${libsrcdir}/configure \
45128 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45129 --target=${target_alias} $${srcdiroption} \
45130 --with-build-libsubdir=$(HOST_SUBDIR) \
45131 $(STAGEfeedback_CONFIGURE_FLAGS)
45132 @endif target-libstdc++-v3-bootstrap
45138 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
45139 maybe-all-target-libstdc++-v3:
45140 @if gcc-bootstrap
45141 all-target-libstdc++-v3: stage_current
45142 @endif gcc-bootstrap
45143 @if target-libstdc++-v3
45144 TARGET-target-libstdc++-v3=all
45145 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
45146 all-target-libstdc++-v3: configure-target-libstdc++-v3
45147 @r=`${PWD_COMMAND}`; export r; \
45148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45149 $(RAW_CXX_TARGET_EXPORTS) \
45150 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45151 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45152 $(TARGET-target-libstdc++-v3))
45153 @endif target-libstdc++-v3
45157 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
45158 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
45159 maybe-all-stage1-target-libstdc++-v3:
45160 maybe-clean-stage1-target-libstdc++-v3:
45161 @if target-libstdc++-v3-bootstrap
45162 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
45163 all-stage1: all-stage1-target-libstdc++-v3
45164 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45165 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
45166 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45167 @r=`${PWD_COMMAND}`; export r; \
45168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45169 TFLAGS="$(STAGE1_TFLAGS)"; \
45170 $(RAW_CXX_TARGET_EXPORTS) \
45171 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45172 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45173 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45174 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45175 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45176 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45177 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45178 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45179 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45180 TFLAGS="$(STAGE1_TFLAGS)" \
45181 $(TARGET-stage1-target-libstdc++-v3)
45183 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
45184 clean-stage1: clean-stage1-target-libstdc++-v3
45185 clean-stage1-target-libstdc++-v3:
45186 @if [ $(current_stage) = stage1 ]; then \
45187 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45188 else \
45189 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
45190 $(MAKE) stage1-start; \
45191 fi; \
45192 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45193 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45194 clean
45195 @endif target-libstdc++-v3-bootstrap
45198 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
45199 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
45200 maybe-all-stage2-target-libstdc++-v3:
45201 maybe-clean-stage2-target-libstdc++-v3:
45202 @if target-libstdc++-v3-bootstrap
45203 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
45204 all-stage2: all-stage2-target-libstdc++-v3
45205 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45206 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
45207 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45208 @r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 TFLAGS="$(STAGE2_TFLAGS)"; \
45211 $(RAW_CXX_TARGET_EXPORTS) \
45213 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45215 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45216 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45217 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45218 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45219 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45220 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45221 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45222 TFLAGS="$(STAGE2_TFLAGS)" \
45223 $(TARGET-stage2-target-libstdc++-v3)
45225 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
45226 clean-stage2: clean-stage2-target-libstdc++-v3
45227 clean-stage2-target-libstdc++-v3:
45228 @if [ $(current_stage) = stage2 ]; then \
45229 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45230 else \
45231 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
45232 $(MAKE) stage2-start; \
45233 fi; \
45234 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45235 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45237 clean
45238 @endif target-libstdc++-v3-bootstrap
45241 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
45242 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
45243 maybe-all-stage3-target-libstdc++-v3:
45244 maybe-clean-stage3-target-libstdc++-v3:
45245 @if target-libstdc++-v3-bootstrap
45246 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
45247 all-stage3: all-stage3-target-libstdc++-v3
45248 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45249 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
45250 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45251 @r=`${PWD_COMMAND}`; export r; \
45252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45253 TFLAGS="$(STAGE3_TFLAGS)"; \
45254 $(RAW_CXX_TARGET_EXPORTS) \
45256 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45258 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45259 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45260 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45264 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45265 TFLAGS="$(STAGE3_TFLAGS)" \
45266 $(TARGET-stage3-target-libstdc++-v3)
45268 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
45269 clean-stage3: clean-stage3-target-libstdc++-v3
45270 clean-stage3-target-libstdc++-v3:
45271 @if [ $(current_stage) = stage3 ]; then \
45272 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45273 else \
45274 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
45275 $(MAKE) stage3-start; \
45276 fi; \
45277 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45278 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45280 clean
45281 @endif target-libstdc++-v3-bootstrap
45284 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
45285 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
45286 maybe-all-stage4-target-libstdc++-v3:
45287 maybe-clean-stage4-target-libstdc++-v3:
45288 @if target-libstdc++-v3-bootstrap
45289 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
45290 all-stage4: all-stage4-target-libstdc++-v3
45291 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45292 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
45293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45294 @r=`${PWD_COMMAND}`; export r; \
45295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45296 TFLAGS="$(STAGE4_TFLAGS)"; \
45297 $(RAW_CXX_TARGET_EXPORTS) \
45299 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45301 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45302 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45303 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45307 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45308 TFLAGS="$(STAGE4_TFLAGS)" \
45309 $(TARGET-stage4-target-libstdc++-v3)
45311 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
45312 clean-stage4: clean-stage4-target-libstdc++-v3
45313 clean-stage4-target-libstdc++-v3:
45314 @if [ $(current_stage) = stage4 ]; then \
45315 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45316 else \
45317 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
45318 $(MAKE) stage4-start; \
45319 fi; \
45320 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45321 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45323 clean
45324 @endif target-libstdc++-v3-bootstrap
45327 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
45328 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
45329 maybe-all-stageprofile-target-libstdc++-v3:
45330 maybe-clean-stageprofile-target-libstdc++-v3:
45331 @if target-libstdc++-v3-bootstrap
45332 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
45333 all-stageprofile: all-stageprofile-target-libstdc++-v3
45334 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45335 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
45336 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45337 @r=`${PWD_COMMAND}`; export r; \
45338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45339 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45340 $(RAW_CXX_TARGET_EXPORTS) \
45342 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45344 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45346 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45350 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45351 TFLAGS="$(STAGEprofile_TFLAGS)" \
45352 $(TARGET-stageprofile-target-libstdc++-v3)
45354 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
45355 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
45356 clean-stageprofile-target-libstdc++-v3:
45357 @if [ $(current_stage) = stageprofile ]; then \
45358 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45359 else \
45360 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
45361 $(MAKE) stageprofile-start; \
45362 fi; \
45363 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45364 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45366 clean
45367 @endif target-libstdc++-v3-bootstrap
45370 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
45371 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
45372 maybe-all-stagefeedback-target-libstdc++-v3:
45373 maybe-clean-stagefeedback-target-libstdc++-v3:
45374 @if target-libstdc++-v3-bootstrap
45375 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
45376 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
45377 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
45378 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
45379 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45380 @r=`${PWD_COMMAND}`; export r; \
45381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45382 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45383 $(RAW_CXX_TARGET_EXPORTS) \
45385 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45387 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45393 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45394 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45395 $(TARGET-stagefeedback-target-libstdc++-v3)
45397 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
45398 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
45399 clean-stagefeedback-target-libstdc++-v3:
45400 @if [ $(current_stage) = stagefeedback ]; then \
45401 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
45402 else \
45403 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
45404 $(MAKE) stagefeedback-start; \
45405 fi; \
45406 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45407 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45409 clean
45410 @endif target-libstdc++-v3-bootstrap
45417 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
45418 maybe-check-target-libstdc++-v3:
45419 @if target-libstdc++-v3
45420 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
45422 check-target-libstdc++-v3:
45423 @: $(MAKE); $(unstage)
45424 @r=`${PWD_COMMAND}`; export r; \
45425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45426 $(RAW_CXX_TARGET_EXPORTS) \
45427 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45428 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
45430 @endif target-libstdc++-v3
45432 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
45433 maybe-install-target-libstdc++-v3:
45434 @if target-libstdc++-v3
45435 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
45437 install-target-libstdc++-v3: installdirs
45438 @: $(MAKE); $(unstage)
45439 @r=`${PWD_COMMAND}`; export r; \
45440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45441 $(RAW_CXX_TARGET_EXPORTS) \
45442 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45443 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45445 @endif target-libstdc++-v3
45447 # Other targets (info, dvi, pdf, etc.)
45449 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
45450 maybe-info-target-libstdc++-v3:
45451 @if target-libstdc++-v3
45452 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
45454 info-target-libstdc++-v3: \
45455 configure-target-libstdc++-v3
45456 @: $(MAKE); $(unstage)
45457 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45458 r=`${PWD_COMMAND}`; export r; \
45459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45460 $(RAW_CXX_TARGET_EXPORTS) \
45461 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45462 for flag in $(EXTRA_TARGET_FLAGS); do \
45463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45464 done; \
45465 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45468 "RANLIB=$${RANLIB}" \
45469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45470 info) \
45471 || exit 1
45473 @endif target-libstdc++-v3
45475 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
45476 maybe-dvi-target-libstdc++-v3:
45477 @if target-libstdc++-v3
45478 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
45480 dvi-target-libstdc++-v3: \
45481 configure-target-libstdc++-v3
45482 @: $(MAKE); $(unstage)
45483 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45484 r=`${PWD_COMMAND}`; export r; \
45485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45486 $(RAW_CXX_TARGET_EXPORTS) \
45487 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45488 for flag in $(EXTRA_TARGET_FLAGS); do \
45489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45490 done; \
45491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45494 "RANLIB=$${RANLIB}" \
45495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45496 dvi) \
45497 || exit 1
45499 @endif target-libstdc++-v3
45501 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
45502 maybe-pdf-target-libstdc++-v3:
45503 @if target-libstdc++-v3
45504 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
45506 pdf-target-libstdc++-v3: \
45507 configure-target-libstdc++-v3
45508 @: $(MAKE); $(unstage)
45509 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45510 r=`${PWD_COMMAND}`; export r; \
45511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45512 $(RAW_CXX_TARGET_EXPORTS) \
45513 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45514 for flag in $(EXTRA_TARGET_FLAGS); do \
45515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45516 done; \
45517 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45520 "RANLIB=$${RANLIB}" \
45521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45522 pdf) \
45523 || exit 1
45525 @endif target-libstdc++-v3
45527 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
45528 maybe-html-target-libstdc++-v3:
45529 @if target-libstdc++-v3
45530 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
45532 html-target-libstdc++-v3: \
45533 configure-target-libstdc++-v3
45534 @: $(MAKE); $(unstage)
45535 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45536 r=`${PWD_COMMAND}`; export r; \
45537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45538 $(RAW_CXX_TARGET_EXPORTS) \
45539 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45540 for flag in $(EXTRA_TARGET_FLAGS); do \
45541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45542 done; \
45543 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45546 "RANLIB=$${RANLIB}" \
45547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45548 html) \
45549 || exit 1
45551 @endif target-libstdc++-v3
45553 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
45554 maybe-TAGS-target-libstdc++-v3:
45555 @if target-libstdc++-v3
45556 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
45558 TAGS-target-libstdc++-v3: \
45559 configure-target-libstdc++-v3
45560 @: $(MAKE); $(unstage)
45561 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45562 r=`${PWD_COMMAND}`; export r; \
45563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45564 $(RAW_CXX_TARGET_EXPORTS) \
45565 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45566 for flag in $(EXTRA_TARGET_FLAGS); do \
45567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45568 done; \
45569 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45572 "RANLIB=$${RANLIB}" \
45573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45574 TAGS) \
45575 || exit 1
45577 @endif target-libstdc++-v3
45579 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
45580 maybe-install-info-target-libstdc++-v3:
45581 @if target-libstdc++-v3
45582 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
45584 install-info-target-libstdc++-v3: \
45585 configure-target-libstdc++-v3 \
45586 info-target-libstdc++-v3
45587 @: $(MAKE); $(unstage)
45588 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45589 r=`${PWD_COMMAND}`; export r; \
45590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45591 $(RAW_CXX_TARGET_EXPORTS) \
45592 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45593 for flag in $(EXTRA_TARGET_FLAGS); do \
45594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45595 done; \
45596 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45599 "RANLIB=$${RANLIB}" \
45600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45601 install-info) \
45602 || exit 1
45604 @endif target-libstdc++-v3
45606 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
45607 maybe-install-pdf-target-libstdc++-v3:
45608 @if target-libstdc++-v3
45609 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
45611 install-pdf-target-libstdc++-v3: \
45612 configure-target-libstdc++-v3 \
45613 pdf-target-libstdc++-v3
45614 @: $(MAKE); $(unstage)
45615 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45616 r=`${PWD_COMMAND}`; export r; \
45617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45618 $(RAW_CXX_TARGET_EXPORTS) \
45619 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45620 for flag in $(EXTRA_TARGET_FLAGS); do \
45621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45622 done; \
45623 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45626 "RANLIB=$${RANLIB}" \
45627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45628 install-pdf) \
45629 || exit 1
45631 @endif target-libstdc++-v3
45633 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
45634 maybe-install-html-target-libstdc++-v3:
45635 @if target-libstdc++-v3
45636 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
45638 install-html-target-libstdc++-v3: \
45639 configure-target-libstdc++-v3 \
45640 html-target-libstdc++-v3
45641 @: $(MAKE); $(unstage)
45642 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45643 r=`${PWD_COMMAND}`; export r; \
45644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45645 $(RAW_CXX_TARGET_EXPORTS) \
45646 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45647 for flag in $(EXTRA_TARGET_FLAGS); do \
45648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45649 done; \
45650 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45653 "RANLIB=$${RANLIB}" \
45654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45655 install-html) \
45656 || exit 1
45658 @endif target-libstdc++-v3
45660 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
45661 maybe-installcheck-target-libstdc++-v3:
45662 @if target-libstdc++-v3
45663 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
45665 installcheck-target-libstdc++-v3: \
45666 configure-target-libstdc++-v3
45667 @: $(MAKE); $(unstage)
45668 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45669 r=`${PWD_COMMAND}`; export r; \
45670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45671 $(RAW_CXX_TARGET_EXPORTS) \
45672 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45673 for flag in $(EXTRA_TARGET_FLAGS); do \
45674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45675 done; \
45676 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45679 "RANLIB=$${RANLIB}" \
45680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45681 installcheck) \
45682 || exit 1
45684 @endif target-libstdc++-v3
45686 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
45687 maybe-mostlyclean-target-libstdc++-v3:
45688 @if target-libstdc++-v3
45689 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
45691 mostlyclean-target-libstdc++-v3:
45692 @: $(MAKE); $(unstage)
45693 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45694 r=`${PWD_COMMAND}`; export r; \
45695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45696 $(RAW_CXX_TARGET_EXPORTS) \
45697 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45698 for flag in $(EXTRA_TARGET_FLAGS); do \
45699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45700 done; \
45701 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45704 "RANLIB=$${RANLIB}" \
45705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45706 mostlyclean) \
45707 || exit 1
45709 @endif target-libstdc++-v3
45711 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
45712 maybe-clean-target-libstdc++-v3:
45713 @if target-libstdc++-v3
45714 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
45716 clean-target-libstdc++-v3:
45717 @: $(MAKE); $(unstage)
45718 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45719 r=`${PWD_COMMAND}`; export r; \
45720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45721 $(RAW_CXX_TARGET_EXPORTS) \
45722 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45723 for flag in $(EXTRA_TARGET_FLAGS); do \
45724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45725 done; \
45726 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45729 "RANLIB=$${RANLIB}" \
45730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45731 clean) \
45732 || exit 1
45734 @endif target-libstdc++-v3
45736 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
45737 maybe-distclean-target-libstdc++-v3:
45738 @if target-libstdc++-v3
45739 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
45741 distclean-target-libstdc++-v3:
45742 @: $(MAKE); $(unstage)
45743 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45744 r=`${PWD_COMMAND}`; export r; \
45745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45746 $(RAW_CXX_TARGET_EXPORTS) \
45747 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45748 for flag in $(EXTRA_TARGET_FLAGS); do \
45749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45750 done; \
45751 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45754 "RANLIB=$${RANLIB}" \
45755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45756 distclean) \
45757 || exit 1
45759 @endif target-libstdc++-v3
45761 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
45762 maybe-maintainer-clean-target-libstdc++-v3:
45763 @if target-libstdc++-v3
45764 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
45766 maintainer-clean-target-libstdc++-v3:
45767 @: $(MAKE); $(unstage)
45768 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
45769 r=`${PWD_COMMAND}`; export r; \
45770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45771 $(RAW_CXX_TARGET_EXPORTS) \
45772 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
45773 for flag in $(EXTRA_TARGET_FLAGS); do \
45774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45775 done; \
45776 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
45777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45779 "RANLIB=$${RANLIB}" \
45780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45781 maintainer-clean) \
45782 || exit 1
45784 @endif target-libstdc++-v3
45790 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
45791 maybe-configure-target-libmudflap:
45792 @if gcc-bootstrap
45793 configure-target-libmudflap: stage_current
45794 @endif gcc-bootstrap
45795 @if target-libmudflap
45796 maybe-configure-target-libmudflap: configure-target-libmudflap
45797 configure-target-libmudflap:
45798 @: $(MAKE); $(unstage)
45799 @r=`${PWD_COMMAND}`; export r; \
45800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45801 echo "Checking multilib configuration for libmudflap..."; \
45802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
45803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
45804 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
45805 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
45806 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
45807 else \
45808 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
45809 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
45810 fi; \
45811 else \
45812 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
45813 fi; \
45814 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
45815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
45816 $(NORMAL_TARGET_EXPORTS) \
45817 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
45818 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
45819 case $(srcdir) in \
45820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45821 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
45822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45823 esac; \
45824 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
45825 libsrcdir="$$s/libmudflap"; \
45826 rm -f no-such-file || : ; \
45827 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45828 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45829 --target=${target_alias} $${srcdiroption} \
45830 || exit 1
45831 @endif target-libmudflap
45837 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
45838 maybe-all-target-libmudflap:
45839 @if gcc-bootstrap
45840 all-target-libmudflap: stage_current
45841 @endif gcc-bootstrap
45842 @if target-libmudflap
45843 TARGET-target-libmudflap=all
45844 maybe-all-target-libmudflap: all-target-libmudflap
45845 all-target-libmudflap: configure-target-libmudflap
45846 @: $(MAKE); $(unstage)
45847 @r=`${PWD_COMMAND}`; export r; \
45848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45849 $(NORMAL_TARGET_EXPORTS) \
45850 (cd $(TARGET_SUBDIR)/libmudflap && \
45851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45852 $(TARGET-target-libmudflap))
45853 @endif target-libmudflap
45859 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
45860 maybe-check-target-libmudflap:
45861 @if target-libmudflap
45862 maybe-check-target-libmudflap: check-target-libmudflap
45864 check-target-libmudflap:
45865 @: $(MAKE); $(unstage)
45866 @r=`${PWD_COMMAND}`; export r; \
45867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45868 $(NORMAL_TARGET_EXPORTS) \
45869 (cd $(TARGET_SUBDIR)/libmudflap && \
45870 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45872 @endif target-libmudflap
45874 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
45875 maybe-install-target-libmudflap:
45876 @if target-libmudflap
45877 maybe-install-target-libmudflap: install-target-libmudflap
45879 install-target-libmudflap: installdirs
45880 @: $(MAKE); $(unstage)
45881 @r=`${PWD_COMMAND}`; export r; \
45882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45883 $(NORMAL_TARGET_EXPORTS) \
45884 (cd $(TARGET_SUBDIR)/libmudflap && \
45885 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45887 @endif target-libmudflap
45889 # Other targets (info, dvi, pdf, etc.)
45891 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
45892 maybe-info-target-libmudflap:
45893 @if target-libmudflap
45894 maybe-info-target-libmudflap: info-target-libmudflap
45896 info-target-libmudflap: \
45897 configure-target-libmudflap
45898 @: $(MAKE); $(unstage)
45899 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
45900 r=`${PWD_COMMAND}`; export r; \
45901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45902 $(NORMAL_TARGET_EXPORTS) \
45903 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
45904 for flag in $(EXTRA_TARGET_FLAGS); do \
45905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45906 done; \
45907 (cd $(TARGET_SUBDIR)/libmudflap && \
45908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45910 "RANLIB=$${RANLIB}" \
45911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45912 info) \
45913 || exit 1
45915 @endif target-libmudflap
45917 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
45918 maybe-dvi-target-libmudflap:
45919 @if target-libmudflap
45920 maybe-dvi-target-libmudflap: dvi-target-libmudflap
45922 dvi-target-libmudflap: \
45923 configure-target-libmudflap
45924 @: $(MAKE); $(unstage)
45925 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
45926 r=`${PWD_COMMAND}`; export r; \
45927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45928 $(NORMAL_TARGET_EXPORTS) \
45929 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
45930 for flag in $(EXTRA_TARGET_FLAGS); do \
45931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45932 done; \
45933 (cd $(TARGET_SUBDIR)/libmudflap && \
45934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45936 "RANLIB=$${RANLIB}" \
45937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45938 dvi) \
45939 || exit 1
45941 @endif target-libmudflap
45943 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
45944 maybe-pdf-target-libmudflap:
45945 @if target-libmudflap
45946 maybe-pdf-target-libmudflap: pdf-target-libmudflap
45948 pdf-target-libmudflap: \
45949 configure-target-libmudflap
45950 @: $(MAKE); $(unstage)
45951 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
45952 r=`${PWD_COMMAND}`; export r; \
45953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45954 $(NORMAL_TARGET_EXPORTS) \
45955 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
45956 for flag in $(EXTRA_TARGET_FLAGS); do \
45957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45958 done; \
45959 (cd $(TARGET_SUBDIR)/libmudflap && \
45960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45962 "RANLIB=$${RANLIB}" \
45963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45964 pdf) \
45965 || exit 1
45967 @endif target-libmudflap
45969 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
45970 maybe-html-target-libmudflap:
45971 @if target-libmudflap
45972 maybe-html-target-libmudflap: html-target-libmudflap
45974 html-target-libmudflap: \
45975 configure-target-libmudflap
45976 @: $(MAKE); $(unstage)
45977 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
45978 r=`${PWD_COMMAND}`; export r; \
45979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45980 $(NORMAL_TARGET_EXPORTS) \
45981 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
45982 for flag in $(EXTRA_TARGET_FLAGS); do \
45983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45984 done; \
45985 (cd $(TARGET_SUBDIR)/libmudflap && \
45986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45988 "RANLIB=$${RANLIB}" \
45989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45990 html) \
45991 || exit 1
45993 @endif target-libmudflap
45995 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
45996 maybe-TAGS-target-libmudflap:
45997 @if target-libmudflap
45998 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
46000 TAGS-target-libmudflap: \
46001 configure-target-libmudflap
46002 @: $(MAKE); $(unstage)
46003 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46004 r=`${PWD_COMMAND}`; export r; \
46005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46006 $(NORMAL_TARGET_EXPORTS) \
46007 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
46008 for flag in $(EXTRA_TARGET_FLAGS); do \
46009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46010 done; \
46011 (cd $(TARGET_SUBDIR)/libmudflap && \
46012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46014 "RANLIB=$${RANLIB}" \
46015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46016 TAGS) \
46017 || exit 1
46019 @endif target-libmudflap
46021 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
46022 maybe-install-info-target-libmudflap:
46023 @if target-libmudflap
46024 maybe-install-info-target-libmudflap: install-info-target-libmudflap
46026 install-info-target-libmudflap: \
46027 configure-target-libmudflap \
46028 info-target-libmudflap
46029 @: $(MAKE); $(unstage)
46030 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46031 r=`${PWD_COMMAND}`; export r; \
46032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46033 $(NORMAL_TARGET_EXPORTS) \
46034 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
46035 for flag in $(EXTRA_TARGET_FLAGS); do \
46036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46037 done; \
46038 (cd $(TARGET_SUBDIR)/libmudflap && \
46039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46041 "RANLIB=$${RANLIB}" \
46042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46043 install-info) \
46044 || exit 1
46046 @endif target-libmudflap
46048 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
46049 maybe-install-pdf-target-libmudflap:
46050 @if target-libmudflap
46051 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
46053 install-pdf-target-libmudflap: \
46054 configure-target-libmudflap \
46055 pdf-target-libmudflap
46056 @: $(MAKE); $(unstage)
46057 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46058 r=`${PWD_COMMAND}`; export r; \
46059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46060 $(NORMAL_TARGET_EXPORTS) \
46061 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
46062 for flag in $(EXTRA_TARGET_FLAGS); do \
46063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46064 done; \
46065 (cd $(TARGET_SUBDIR)/libmudflap && \
46066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46068 "RANLIB=$${RANLIB}" \
46069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46070 install-pdf) \
46071 || exit 1
46073 @endif target-libmudflap
46075 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
46076 maybe-install-html-target-libmudflap:
46077 @if target-libmudflap
46078 maybe-install-html-target-libmudflap: install-html-target-libmudflap
46080 install-html-target-libmudflap: \
46081 configure-target-libmudflap \
46082 html-target-libmudflap
46083 @: $(MAKE); $(unstage)
46084 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46085 r=`${PWD_COMMAND}`; export r; \
46086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46087 $(NORMAL_TARGET_EXPORTS) \
46088 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
46089 for flag in $(EXTRA_TARGET_FLAGS); do \
46090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46091 done; \
46092 (cd $(TARGET_SUBDIR)/libmudflap && \
46093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46095 "RANLIB=$${RANLIB}" \
46096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46097 install-html) \
46098 || exit 1
46100 @endif target-libmudflap
46102 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
46103 maybe-installcheck-target-libmudflap:
46104 @if target-libmudflap
46105 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
46107 installcheck-target-libmudflap: \
46108 configure-target-libmudflap
46109 @: $(MAKE); $(unstage)
46110 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46111 r=`${PWD_COMMAND}`; export r; \
46112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46113 $(NORMAL_TARGET_EXPORTS) \
46114 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
46115 for flag in $(EXTRA_TARGET_FLAGS); do \
46116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46117 done; \
46118 (cd $(TARGET_SUBDIR)/libmudflap && \
46119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46121 "RANLIB=$${RANLIB}" \
46122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46123 installcheck) \
46124 || exit 1
46126 @endif target-libmudflap
46128 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
46129 maybe-mostlyclean-target-libmudflap:
46130 @if target-libmudflap
46131 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
46133 mostlyclean-target-libmudflap:
46134 @: $(MAKE); $(unstage)
46135 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46136 r=`${PWD_COMMAND}`; export r; \
46137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46138 $(NORMAL_TARGET_EXPORTS) \
46139 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
46140 for flag in $(EXTRA_TARGET_FLAGS); do \
46141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46142 done; \
46143 (cd $(TARGET_SUBDIR)/libmudflap && \
46144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46146 "RANLIB=$${RANLIB}" \
46147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46148 mostlyclean) \
46149 || exit 1
46151 @endif target-libmudflap
46153 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
46154 maybe-clean-target-libmudflap:
46155 @if target-libmudflap
46156 maybe-clean-target-libmudflap: clean-target-libmudflap
46158 clean-target-libmudflap:
46159 @: $(MAKE); $(unstage)
46160 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46161 r=`${PWD_COMMAND}`; export r; \
46162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46163 $(NORMAL_TARGET_EXPORTS) \
46164 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
46165 for flag in $(EXTRA_TARGET_FLAGS); do \
46166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46167 done; \
46168 (cd $(TARGET_SUBDIR)/libmudflap && \
46169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46171 "RANLIB=$${RANLIB}" \
46172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46173 clean) \
46174 || exit 1
46176 @endif target-libmudflap
46178 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
46179 maybe-distclean-target-libmudflap:
46180 @if target-libmudflap
46181 maybe-distclean-target-libmudflap: distclean-target-libmudflap
46183 distclean-target-libmudflap:
46184 @: $(MAKE); $(unstage)
46185 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46186 r=`${PWD_COMMAND}`; export r; \
46187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46188 $(NORMAL_TARGET_EXPORTS) \
46189 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
46190 for flag in $(EXTRA_TARGET_FLAGS); do \
46191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46192 done; \
46193 (cd $(TARGET_SUBDIR)/libmudflap && \
46194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46196 "RANLIB=$${RANLIB}" \
46197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46198 distclean) \
46199 || exit 1
46201 @endif target-libmudflap
46203 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
46204 maybe-maintainer-clean-target-libmudflap:
46205 @if target-libmudflap
46206 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
46208 maintainer-clean-target-libmudflap:
46209 @: $(MAKE); $(unstage)
46210 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
46211 r=`${PWD_COMMAND}`; export r; \
46212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46213 $(NORMAL_TARGET_EXPORTS) \
46214 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
46215 for flag in $(EXTRA_TARGET_FLAGS); do \
46216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46217 done; \
46218 (cd $(TARGET_SUBDIR)/libmudflap && \
46219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46221 "RANLIB=$${RANLIB}" \
46222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46223 maintainer-clean) \
46224 || exit 1
46226 @endif target-libmudflap
46232 .PHONY: configure-target-libssp maybe-configure-target-libssp
46233 maybe-configure-target-libssp:
46234 @if gcc-bootstrap
46235 configure-target-libssp: stage_current
46236 @endif gcc-bootstrap
46237 @if target-libssp
46238 maybe-configure-target-libssp: configure-target-libssp
46239 configure-target-libssp:
46240 @: $(MAKE); $(unstage)
46241 @r=`${PWD_COMMAND}`; export r; \
46242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46243 echo "Checking multilib configuration for libssp..."; \
46244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
46245 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
46246 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
46247 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
46248 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
46249 else \
46250 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
46251 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
46252 fi; \
46253 else \
46254 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
46255 fi; \
46256 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
46257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
46258 $(NORMAL_TARGET_EXPORTS) \
46259 echo Configuring in $(TARGET_SUBDIR)/libssp; \
46260 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
46261 case $(srcdir) in \
46262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46263 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
46264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46265 esac; \
46266 srcdiroption="--srcdir=$${topdir}/libssp"; \
46267 libsrcdir="$$s/libssp"; \
46268 rm -f no-such-file || : ; \
46269 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46270 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46271 --target=${target_alias} $${srcdiroption} \
46272 || exit 1
46273 @endif target-libssp
46279 .PHONY: all-target-libssp maybe-all-target-libssp
46280 maybe-all-target-libssp:
46281 @if gcc-bootstrap
46282 all-target-libssp: stage_current
46283 @endif gcc-bootstrap
46284 @if target-libssp
46285 TARGET-target-libssp=all
46286 maybe-all-target-libssp: all-target-libssp
46287 all-target-libssp: configure-target-libssp
46288 @: $(MAKE); $(unstage)
46289 @r=`${PWD_COMMAND}`; export r; \
46290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46291 $(NORMAL_TARGET_EXPORTS) \
46292 (cd $(TARGET_SUBDIR)/libssp && \
46293 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46294 $(TARGET-target-libssp))
46295 @endif target-libssp
46301 .PHONY: check-target-libssp maybe-check-target-libssp
46302 maybe-check-target-libssp:
46303 @if target-libssp
46304 maybe-check-target-libssp: check-target-libssp
46306 check-target-libssp:
46307 @: $(MAKE); $(unstage)
46308 @r=`${PWD_COMMAND}`; export r; \
46309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46310 $(NORMAL_TARGET_EXPORTS) \
46311 (cd $(TARGET_SUBDIR)/libssp && \
46312 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46314 @endif target-libssp
46316 .PHONY: install-target-libssp maybe-install-target-libssp
46317 maybe-install-target-libssp:
46318 @if target-libssp
46319 maybe-install-target-libssp: install-target-libssp
46321 install-target-libssp: installdirs
46322 @: $(MAKE); $(unstage)
46323 @r=`${PWD_COMMAND}`; export r; \
46324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46325 $(NORMAL_TARGET_EXPORTS) \
46326 (cd $(TARGET_SUBDIR)/libssp && \
46327 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46329 @endif target-libssp
46331 # Other targets (info, dvi, pdf, etc.)
46333 .PHONY: maybe-info-target-libssp info-target-libssp
46334 maybe-info-target-libssp:
46335 @if target-libssp
46336 maybe-info-target-libssp: info-target-libssp
46338 info-target-libssp: \
46339 configure-target-libssp
46340 @: $(MAKE); $(unstage)
46341 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46342 r=`${PWD_COMMAND}`; export r; \
46343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46344 $(NORMAL_TARGET_EXPORTS) \
46345 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
46346 for flag in $(EXTRA_TARGET_FLAGS); do \
46347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46348 done; \
46349 (cd $(TARGET_SUBDIR)/libssp && \
46350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46352 "RANLIB=$${RANLIB}" \
46353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46354 info) \
46355 || exit 1
46357 @endif target-libssp
46359 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
46360 maybe-dvi-target-libssp:
46361 @if target-libssp
46362 maybe-dvi-target-libssp: dvi-target-libssp
46364 dvi-target-libssp: \
46365 configure-target-libssp
46366 @: $(MAKE); $(unstage)
46367 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46368 r=`${PWD_COMMAND}`; export r; \
46369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46370 $(NORMAL_TARGET_EXPORTS) \
46371 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
46372 for flag in $(EXTRA_TARGET_FLAGS); do \
46373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46374 done; \
46375 (cd $(TARGET_SUBDIR)/libssp && \
46376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46378 "RANLIB=$${RANLIB}" \
46379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46380 dvi) \
46381 || exit 1
46383 @endif target-libssp
46385 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
46386 maybe-pdf-target-libssp:
46387 @if target-libssp
46388 maybe-pdf-target-libssp: pdf-target-libssp
46390 pdf-target-libssp: \
46391 configure-target-libssp
46392 @: $(MAKE); $(unstage)
46393 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46394 r=`${PWD_COMMAND}`; export r; \
46395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46396 $(NORMAL_TARGET_EXPORTS) \
46397 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
46398 for flag in $(EXTRA_TARGET_FLAGS); do \
46399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46400 done; \
46401 (cd $(TARGET_SUBDIR)/libssp && \
46402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46404 "RANLIB=$${RANLIB}" \
46405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46406 pdf) \
46407 || exit 1
46409 @endif target-libssp
46411 .PHONY: maybe-html-target-libssp html-target-libssp
46412 maybe-html-target-libssp:
46413 @if target-libssp
46414 maybe-html-target-libssp: html-target-libssp
46416 html-target-libssp: \
46417 configure-target-libssp
46418 @: $(MAKE); $(unstage)
46419 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46420 r=`${PWD_COMMAND}`; export r; \
46421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46422 $(NORMAL_TARGET_EXPORTS) \
46423 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
46424 for flag in $(EXTRA_TARGET_FLAGS); do \
46425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46426 done; \
46427 (cd $(TARGET_SUBDIR)/libssp && \
46428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46430 "RANLIB=$${RANLIB}" \
46431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46432 html) \
46433 || exit 1
46435 @endif target-libssp
46437 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
46438 maybe-TAGS-target-libssp:
46439 @if target-libssp
46440 maybe-TAGS-target-libssp: TAGS-target-libssp
46442 TAGS-target-libssp: \
46443 configure-target-libssp
46444 @: $(MAKE); $(unstage)
46445 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46446 r=`${PWD_COMMAND}`; export r; \
46447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46448 $(NORMAL_TARGET_EXPORTS) \
46449 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
46450 for flag in $(EXTRA_TARGET_FLAGS); do \
46451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46452 done; \
46453 (cd $(TARGET_SUBDIR)/libssp && \
46454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46456 "RANLIB=$${RANLIB}" \
46457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46458 TAGS) \
46459 || exit 1
46461 @endif target-libssp
46463 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
46464 maybe-install-info-target-libssp:
46465 @if target-libssp
46466 maybe-install-info-target-libssp: install-info-target-libssp
46468 install-info-target-libssp: \
46469 configure-target-libssp \
46470 info-target-libssp
46471 @: $(MAKE); $(unstage)
46472 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46473 r=`${PWD_COMMAND}`; export r; \
46474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46475 $(NORMAL_TARGET_EXPORTS) \
46476 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
46477 for flag in $(EXTRA_TARGET_FLAGS); do \
46478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46479 done; \
46480 (cd $(TARGET_SUBDIR)/libssp && \
46481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46483 "RANLIB=$${RANLIB}" \
46484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46485 install-info) \
46486 || exit 1
46488 @endif target-libssp
46490 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
46491 maybe-install-pdf-target-libssp:
46492 @if target-libssp
46493 maybe-install-pdf-target-libssp: install-pdf-target-libssp
46495 install-pdf-target-libssp: \
46496 configure-target-libssp \
46497 pdf-target-libssp
46498 @: $(MAKE); $(unstage)
46499 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46500 r=`${PWD_COMMAND}`; export r; \
46501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46502 $(NORMAL_TARGET_EXPORTS) \
46503 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
46504 for flag in $(EXTRA_TARGET_FLAGS); do \
46505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46506 done; \
46507 (cd $(TARGET_SUBDIR)/libssp && \
46508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46510 "RANLIB=$${RANLIB}" \
46511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46512 install-pdf) \
46513 || exit 1
46515 @endif target-libssp
46517 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
46518 maybe-install-html-target-libssp:
46519 @if target-libssp
46520 maybe-install-html-target-libssp: install-html-target-libssp
46522 install-html-target-libssp: \
46523 configure-target-libssp \
46524 html-target-libssp
46525 @: $(MAKE); $(unstage)
46526 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46527 r=`${PWD_COMMAND}`; export r; \
46528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46529 $(NORMAL_TARGET_EXPORTS) \
46530 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
46531 for flag in $(EXTRA_TARGET_FLAGS); do \
46532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46533 done; \
46534 (cd $(TARGET_SUBDIR)/libssp && \
46535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46537 "RANLIB=$${RANLIB}" \
46538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46539 install-html) \
46540 || exit 1
46542 @endif target-libssp
46544 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
46545 maybe-installcheck-target-libssp:
46546 @if target-libssp
46547 maybe-installcheck-target-libssp: installcheck-target-libssp
46549 installcheck-target-libssp: \
46550 configure-target-libssp
46551 @: $(MAKE); $(unstage)
46552 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46553 r=`${PWD_COMMAND}`; export r; \
46554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46555 $(NORMAL_TARGET_EXPORTS) \
46556 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
46557 for flag in $(EXTRA_TARGET_FLAGS); do \
46558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46559 done; \
46560 (cd $(TARGET_SUBDIR)/libssp && \
46561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46563 "RANLIB=$${RANLIB}" \
46564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46565 installcheck) \
46566 || exit 1
46568 @endif target-libssp
46570 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
46571 maybe-mostlyclean-target-libssp:
46572 @if target-libssp
46573 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
46575 mostlyclean-target-libssp:
46576 @: $(MAKE); $(unstage)
46577 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46578 r=`${PWD_COMMAND}`; export r; \
46579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46580 $(NORMAL_TARGET_EXPORTS) \
46581 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
46582 for flag in $(EXTRA_TARGET_FLAGS); do \
46583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46584 done; \
46585 (cd $(TARGET_SUBDIR)/libssp && \
46586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46588 "RANLIB=$${RANLIB}" \
46589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46590 mostlyclean) \
46591 || exit 1
46593 @endif target-libssp
46595 .PHONY: maybe-clean-target-libssp clean-target-libssp
46596 maybe-clean-target-libssp:
46597 @if target-libssp
46598 maybe-clean-target-libssp: clean-target-libssp
46600 clean-target-libssp:
46601 @: $(MAKE); $(unstage)
46602 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46603 r=`${PWD_COMMAND}`; export r; \
46604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46605 $(NORMAL_TARGET_EXPORTS) \
46606 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
46607 for flag in $(EXTRA_TARGET_FLAGS); do \
46608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46609 done; \
46610 (cd $(TARGET_SUBDIR)/libssp && \
46611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46613 "RANLIB=$${RANLIB}" \
46614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46615 clean) \
46616 || exit 1
46618 @endif target-libssp
46620 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
46621 maybe-distclean-target-libssp:
46622 @if target-libssp
46623 maybe-distclean-target-libssp: distclean-target-libssp
46625 distclean-target-libssp:
46626 @: $(MAKE); $(unstage)
46627 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46628 r=`${PWD_COMMAND}`; export r; \
46629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46630 $(NORMAL_TARGET_EXPORTS) \
46631 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
46632 for flag in $(EXTRA_TARGET_FLAGS); do \
46633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46634 done; \
46635 (cd $(TARGET_SUBDIR)/libssp && \
46636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46638 "RANLIB=$${RANLIB}" \
46639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46640 distclean) \
46641 || exit 1
46643 @endif target-libssp
46645 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
46646 maybe-maintainer-clean-target-libssp:
46647 @if target-libssp
46648 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
46650 maintainer-clean-target-libssp:
46651 @: $(MAKE); $(unstage)
46652 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
46653 r=`${PWD_COMMAND}`; export r; \
46654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46655 $(NORMAL_TARGET_EXPORTS) \
46656 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
46657 for flag in $(EXTRA_TARGET_FLAGS); do \
46658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46659 done; \
46660 (cd $(TARGET_SUBDIR)/libssp && \
46661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46663 "RANLIB=$${RANLIB}" \
46664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46665 maintainer-clean) \
46666 || exit 1
46668 @endif target-libssp
46674 .PHONY: configure-target-newlib maybe-configure-target-newlib
46675 maybe-configure-target-newlib:
46676 @if gcc-bootstrap
46677 configure-target-newlib: stage_current
46678 @endif gcc-bootstrap
46679 @if target-newlib
46680 maybe-configure-target-newlib: configure-target-newlib
46681 configure-target-newlib:
46682 @: $(MAKE); $(unstage)
46683 @r=`${PWD_COMMAND}`; export r; \
46684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46685 echo "Checking multilib configuration for newlib..."; \
46686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
46687 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
46688 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
46689 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
46690 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
46691 else \
46692 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
46693 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
46694 fi; \
46695 else \
46696 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
46697 fi; \
46698 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
46699 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
46700 $(NORMAL_TARGET_EXPORTS) \
46701 echo Configuring in $(TARGET_SUBDIR)/newlib; \
46702 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
46703 case $(srcdir) in \
46704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46705 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
46706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46707 esac; \
46708 srcdiroption="--srcdir=$${topdir}/newlib"; \
46709 libsrcdir="$$s/newlib"; \
46710 rm -f no-such-file || : ; \
46711 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46712 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46713 --target=${target_alias} $${srcdiroption} \
46714 || exit 1
46715 @endif target-newlib
46721 .PHONY: all-target-newlib maybe-all-target-newlib
46722 maybe-all-target-newlib:
46723 @if gcc-bootstrap
46724 all-target-newlib: stage_current
46725 @endif gcc-bootstrap
46726 @if target-newlib
46727 TARGET-target-newlib=all
46728 maybe-all-target-newlib: all-target-newlib
46729 all-target-newlib: configure-target-newlib
46730 @: $(MAKE); $(unstage)
46731 @r=`${PWD_COMMAND}`; export r; \
46732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46733 $(NORMAL_TARGET_EXPORTS) \
46734 (cd $(TARGET_SUBDIR)/newlib && \
46735 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46736 $(TARGET-target-newlib))
46737 @endif target-newlib
46743 .PHONY: check-target-newlib maybe-check-target-newlib
46744 maybe-check-target-newlib:
46745 @if target-newlib
46746 maybe-check-target-newlib: check-target-newlib
46748 check-target-newlib:
46749 @: $(MAKE); $(unstage)
46750 @r=`${PWD_COMMAND}`; export r; \
46751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46752 $(NORMAL_TARGET_EXPORTS) \
46753 (cd $(TARGET_SUBDIR)/newlib && \
46754 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46756 @endif target-newlib
46758 .PHONY: install-target-newlib maybe-install-target-newlib
46759 maybe-install-target-newlib:
46760 @if target-newlib
46761 maybe-install-target-newlib: install-target-newlib
46763 install-target-newlib: installdirs
46764 @: $(MAKE); $(unstage)
46765 @r=`${PWD_COMMAND}`; export r; \
46766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46767 $(NORMAL_TARGET_EXPORTS) \
46768 (cd $(TARGET_SUBDIR)/newlib && \
46769 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46771 @endif target-newlib
46773 # Other targets (info, dvi, pdf, etc.)
46775 .PHONY: maybe-info-target-newlib info-target-newlib
46776 maybe-info-target-newlib:
46777 @if target-newlib
46778 maybe-info-target-newlib: info-target-newlib
46780 info-target-newlib: \
46781 configure-target-newlib
46782 @: $(MAKE); $(unstage)
46783 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46784 r=`${PWD_COMMAND}`; export r; \
46785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46786 $(NORMAL_TARGET_EXPORTS) \
46787 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
46788 for flag in $(EXTRA_TARGET_FLAGS); do \
46789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46790 done; \
46791 (cd $(TARGET_SUBDIR)/newlib && \
46792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46794 "RANLIB=$${RANLIB}" \
46795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46796 info) \
46797 || exit 1
46799 @endif target-newlib
46801 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
46802 maybe-dvi-target-newlib:
46803 @if target-newlib
46804 maybe-dvi-target-newlib: dvi-target-newlib
46806 dvi-target-newlib: \
46807 configure-target-newlib
46808 @: $(MAKE); $(unstage)
46809 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46810 r=`${PWD_COMMAND}`; export r; \
46811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46812 $(NORMAL_TARGET_EXPORTS) \
46813 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
46814 for flag in $(EXTRA_TARGET_FLAGS); do \
46815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46816 done; \
46817 (cd $(TARGET_SUBDIR)/newlib && \
46818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46820 "RANLIB=$${RANLIB}" \
46821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46822 dvi) \
46823 || exit 1
46825 @endif target-newlib
46827 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
46828 maybe-pdf-target-newlib:
46829 @if target-newlib
46830 maybe-pdf-target-newlib: pdf-target-newlib
46832 pdf-target-newlib: \
46833 configure-target-newlib
46834 @: $(MAKE); $(unstage)
46835 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46836 r=`${PWD_COMMAND}`; export r; \
46837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46838 $(NORMAL_TARGET_EXPORTS) \
46839 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
46840 for flag in $(EXTRA_TARGET_FLAGS); do \
46841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46842 done; \
46843 (cd $(TARGET_SUBDIR)/newlib && \
46844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46846 "RANLIB=$${RANLIB}" \
46847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46848 pdf) \
46849 || exit 1
46851 @endif target-newlib
46853 .PHONY: maybe-html-target-newlib html-target-newlib
46854 maybe-html-target-newlib:
46855 @if target-newlib
46856 maybe-html-target-newlib: html-target-newlib
46858 html-target-newlib: \
46859 configure-target-newlib
46860 @: $(MAKE); $(unstage)
46861 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46862 r=`${PWD_COMMAND}`; export r; \
46863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46864 $(NORMAL_TARGET_EXPORTS) \
46865 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
46866 for flag in $(EXTRA_TARGET_FLAGS); do \
46867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46868 done; \
46869 (cd $(TARGET_SUBDIR)/newlib && \
46870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46872 "RANLIB=$${RANLIB}" \
46873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46874 html) \
46875 || exit 1
46877 @endif target-newlib
46879 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
46880 maybe-TAGS-target-newlib:
46881 @if target-newlib
46882 maybe-TAGS-target-newlib: TAGS-target-newlib
46884 TAGS-target-newlib: \
46885 configure-target-newlib
46886 @: $(MAKE); $(unstage)
46887 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46888 r=`${PWD_COMMAND}`; export r; \
46889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46890 $(NORMAL_TARGET_EXPORTS) \
46891 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
46892 for flag in $(EXTRA_TARGET_FLAGS); do \
46893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46894 done; \
46895 (cd $(TARGET_SUBDIR)/newlib && \
46896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46898 "RANLIB=$${RANLIB}" \
46899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46900 TAGS) \
46901 || exit 1
46903 @endif target-newlib
46905 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
46906 maybe-install-info-target-newlib:
46907 @if target-newlib
46908 maybe-install-info-target-newlib: install-info-target-newlib
46910 install-info-target-newlib: \
46911 configure-target-newlib \
46912 info-target-newlib
46913 @: $(MAKE); $(unstage)
46914 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46915 r=`${PWD_COMMAND}`; export r; \
46916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46917 $(NORMAL_TARGET_EXPORTS) \
46918 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
46919 for flag in $(EXTRA_TARGET_FLAGS); do \
46920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46921 done; \
46922 (cd $(TARGET_SUBDIR)/newlib && \
46923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46925 "RANLIB=$${RANLIB}" \
46926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46927 install-info) \
46928 || exit 1
46930 @endif target-newlib
46932 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
46933 maybe-install-pdf-target-newlib:
46934 @if target-newlib
46935 maybe-install-pdf-target-newlib: install-pdf-target-newlib
46937 install-pdf-target-newlib: \
46938 configure-target-newlib \
46939 pdf-target-newlib
46940 @: $(MAKE); $(unstage)
46941 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46942 r=`${PWD_COMMAND}`; export r; \
46943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46944 $(NORMAL_TARGET_EXPORTS) \
46945 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
46946 for flag in $(EXTRA_TARGET_FLAGS); do \
46947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46948 done; \
46949 (cd $(TARGET_SUBDIR)/newlib && \
46950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46952 "RANLIB=$${RANLIB}" \
46953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46954 install-pdf) \
46955 || exit 1
46957 @endif target-newlib
46959 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
46960 maybe-install-html-target-newlib:
46961 @if target-newlib
46962 maybe-install-html-target-newlib: install-html-target-newlib
46964 install-html-target-newlib: \
46965 configure-target-newlib \
46966 html-target-newlib
46967 @: $(MAKE); $(unstage)
46968 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46969 r=`${PWD_COMMAND}`; export r; \
46970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46971 $(NORMAL_TARGET_EXPORTS) \
46972 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
46973 for flag in $(EXTRA_TARGET_FLAGS); do \
46974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46975 done; \
46976 (cd $(TARGET_SUBDIR)/newlib && \
46977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46979 "RANLIB=$${RANLIB}" \
46980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46981 install-html) \
46982 || exit 1
46984 @endif target-newlib
46986 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
46987 maybe-installcheck-target-newlib:
46988 @if target-newlib
46989 maybe-installcheck-target-newlib: installcheck-target-newlib
46991 installcheck-target-newlib: \
46992 configure-target-newlib
46993 @: $(MAKE); $(unstage)
46994 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
46995 r=`${PWD_COMMAND}`; export r; \
46996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46997 $(NORMAL_TARGET_EXPORTS) \
46998 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
46999 for flag in $(EXTRA_TARGET_FLAGS); do \
47000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47001 done; \
47002 (cd $(TARGET_SUBDIR)/newlib && \
47003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47005 "RANLIB=$${RANLIB}" \
47006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47007 installcheck) \
47008 || exit 1
47010 @endif target-newlib
47012 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
47013 maybe-mostlyclean-target-newlib:
47014 @if target-newlib
47015 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
47017 mostlyclean-target-newlib:
47018 @: $(MAKE); $(unstage)
47019 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
47020 r=`${PWD_COMMAND}`; export r; \
47021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47022 $(NORMAL_TARGET_EXPORTS) \
47023 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
47024 for flag in $(EXTRA_TARGET_FLAGS); do \
47025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47026 done; \
47027 (cd $(TARGET_SUBDIR)/newlib && \
47028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47030 "RANLIB=$${RANLIB}" \
47031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47032 mostlyclean) \
47033 || exit 1
47035 @endif target-newlib
47037 .PHONY: maybe-clean-target-newlib clean-target-newlib
47038 maybe-clean-target-newlib:
47039 @if target-newlib
47040 maybe-clean-target-newlib: clean-target-newlib
47042 clean-target-newlib:
47043 @: $(MAKE); $(unstage)
47044 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
47045 r=`${PWD_COMMAND}`; export r; \
47046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47047 $(NORMAL_TARGET_EXPORTS) \
47048 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
47049 for flag in $(EXTRA_TARGET_FLAGS); do \
47050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47051 done; \
47052 (cd $(TARGET_SUBDIR)/newlib && \
47053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47055 "RANLIB=$${RANLIB}" \
47056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47057 clean) \
47058 || exit 1
47060 @endif target-newlib
47062 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
47063 maybe-distclean-target-newlib:
47064 @if target-newlib
47065 maybe-distclean-target-newlib: distclean-target-newlib
47067 distclean-target-newlib:
47068 @: $(MAKE); $(unstage)
47069 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
47070 r=`${PWD_COMMAND}`; export r; \
47071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47072 $(NORMAL_TARGET_EXPORTS) \
47073 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
47074 for flag in $(EXTRA_TARGET_FLAGS); do \
47075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47076 done; \
47077 (cd $(TARGET_SUBDIR)/newlib && \
47078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47080 "RANLIB=$${RANLIB}" \
47081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47082 distclean) \
47083 || exit 1
47085 @endif target-newlib
47087 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
47088 maybe-maintainer-clean-target-newlib:
47089 @if target-newlib
47090 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
47092 maintainer-clean-target-newlib:
47093 @: $(MAKE); $(unstage)
47094 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
47095 r=`${PWD_COMMAND}`; export r; \
47096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47097 $(NORMAL_TARGET_EXPORTS) \
47098 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
47099 for flag in $(EXTRA_TARGET_FLAGS); do \
47100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47101 done; \
47102 (cd $(TARGET_SUBDIR)/newlib && \
47103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47105 "RANLIB=$${RANLIB}" \
47106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47107 maintainer-clean) \
47108 || exit 1
47110 @endif target-newlib
47116 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
47117 maybe-configure-target-libgcc:
47118 @if gcc-bootstrap
47119 configure-target-libgcc: stage_current
47120 @endif gcc-bootstrap
47121 @if target-libgcc
47122 maybe-configure-target-libgcc: configure-target-libgcc
47123 configure-target-libgcc:
47124 @r=`${PWD_COMMAND}`; export r; \
47125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47126 echo "Checking multilib configuration for libgcc..."; \
47127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47129 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47130 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47131 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47132 else \
47133 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47134 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47135 fi; \
47136 else \
47137 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47138 fi; \
47139 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47141 $(NORMAL_TARGET_EXPORTS) \
47142 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
47143 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
47144 case $(srcdir) in \
47145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47146 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47148 esac; \
47149 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47150 libsrcdir="$$s/libgcc"; \
47151 rm -f no-such-file || : ; \
47152 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47154 --target=${target_alias} $${srcdiroption} \
47155 || exit 1
47156 @endif target-libgcc
47160 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
47161 maybe-configure-stage1-target-libgcc:
47162 @if target-libgcc-bootstrap
47163 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
47164 configure-stage1-target-libgcc:
47165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
47166 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47167 @r=`${PWD_COMMAND}`; export r; \
47168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47169 TFLAGS="$(STAGE1_TFLAGS)"; \
47170 echo "Checking multilib configuration for libgcc..."; \
47171 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47172 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47173 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47174 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47175 else \
47176 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47177 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47178 fi; \
47179 else \
47180 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47181 fi; \
47182 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47183 $(NORMAL_TARGET_EXPORTS) \
47184 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47185 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47186 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47187 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
47188 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47189 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47190 case $(srcdir) in \
47191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47192 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47194 esac; \
47195 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47196 libsrcdir="$$s/libgcc"; \
47197 $(SHELL) $${libsrcdir}/configure \
47198 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47199 --target=${target_alias} $${srcdiroption} \
47200 $(STAGE1_CONFIGURE_FLAGS)
47201 @endif target-libgcc-bootstrap
47203 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
47204 maybe-configure-stage2-target-libgcc:
47205 @if target-libgcc-bootstrap
47206 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
47207 configure-stage2-target-libgcc:
47208 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
47209 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47210 @r=`${PWD_COMMAND}`; export r; \
47211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47212 TFLAGS="$(STAGE2_TFLAGS)"; \
47213 echo "Checking multilib configuration for libgcc..."; \
47214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47215 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47216 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47217 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47218 else \
47219 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47220 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47221 fi; \
47222 else \
47223 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47224 fi; \
47225 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47226 $(NORMAL_TARGET_EXPORTS) \
47228 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47231 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
47232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47233 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47234 case $(srcdir) in \
47235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47236 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47238 esac; \
47239 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47240 libsrcdir="$$s/libgcc"; \
47241 $(SHELL) $${libsrcdir}/configure \
47242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47243 --target=${target_alias} $${srcdiroption} \
47244 --with-build-libsubdir=$(HOST_SUBDIR) \
47245 $(STAGE2_CONFIGURE_FLAGS)
47246 @endif target-libgcc-bootstrap
47248 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
47249 maybe-configure-stage3-target-libgcc:
47250 @if target-libgcc-bootstrap
47251 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
47252 configure-stage3-target-libgcc:
47253 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
47254 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47255 @r=`${PWD_COMMAND}`; export r; \
47256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47257 TFLAGS="$(STAGE3_TFLAGS)"; \
47258 echo "Checking multilib configuration for libgcc..."; \
47259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47260 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47261 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47262 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47263 else \
47264 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47265 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47266 fi; \
47267 else \
47268 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47269 fi; \
47270 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47271 $(NORMAL_TARGET_EXPORTS) \
47273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47276 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
47277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47278 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47279 case $(srcdir) in \
47280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47281 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47283 esac; \
47284 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47285 libsrcdir="$$s/libgcc"; \
47286 $(SHELL) $${libsrcdir}/configure \
47287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47288 --target=${target_alias} $${srcdiroption} \
47289 --with-build-libsubdir=$(HOST_SUBDIR) \
47290 $(STAGE3_CONFIGURE_FLAGS)
47291 @endif target-libgcc-bootstrap
47293 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
47294 maybe-configure-stage4-target-libgcc:
47295 @if target-libgcc-bootstrap
47296 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
47297 configure-stage4-target-libgcc:
47298 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
47299 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47300 @r=`${PWD_COMMAND}`; export r; \
47301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47302 TFLAGS="$(STAGE4_TFLAGS)"; \
47303 echo "Checking multilib configuration for libgcc..."; \
47304 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47305 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47306 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47307 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47308 else \
47309 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47310 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47311 fi; \
47312 else \
47313 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47314 fi; \
47315 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47316 $(NORMAL_TARGET_EXPORTS) \
47318 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47319 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47320 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47321 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
47322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47323 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47324 case $(srcdir) in \
47325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47326 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47328 esac; \
47329 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47330 libsrcdir="$$s/libgcc"; \
47331 $(SHELL) $${libsrcdir}/configure \
47332 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47333 --target=${target_alias} $${srcdiroption} \
47334 --with-build-libsubdir=$(HOST_SUBDIR) \
47335 $(STAGE4_CONFIGURE_FLAGS)
47336 @endif target-libgcc-bootstrap
47338 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
47339 maybe-configure-stageprofile-target-libgcc:
47340 @if target-libgcc-bootstrap
47341 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
47342 configure-stageprofile-target-libgcc:
47343 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
47344 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47345 @r=`${PWD_COMMAND}`; export r; \
47346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47347 TFLAGS="$(STAGEprofile_TFLAGS)"; \
47348 echo "Checking multilib configuration for libgcc..."; \
47349 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47350 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47351 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47352 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47353 else \
47354 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47355 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47356 fi; \
47357 else \
47358 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47359 fi; \
47360 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47361 $(NORMAL_TARGET_EXPORTS) \
47363 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47366 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
47367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47368 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47369 case $(srcdir) in \
47370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47371 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47373 esac; \
47374 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47375 libsrcdir="$$s/libgcc"; \
47376 $(SHELL) $${libsrcdir}/configure \
47377 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47378 --target=${target_alias} $${srcdiroption} \
47379 --with-build-libsubdir=$(HOST_SUBDIR) \
47380 $(STAGEprofile_CONFIGURE_FLAGS)
47381 @endif target-libgcc-bootstrap
47383 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
47384 maybe-configure-stagefeedback-target-libgcc:
47385 @if target-libgcc-bootstrap
47386 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
47387 configure-stagefeedback-target-libgcc:
47388 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
47389 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
47390 @r=`${PWD_COMMAND}`; export r; \
47391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47392 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47393 echo "Checking multilib configuration for libgcc..."; \
47394 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
47395 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47396 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
47397 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
47398 else \
47399 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
47400 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47401 fi; \
47402 else \
47403 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
47404 fi; \
47405 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
47406 $(NORMAL_TARGET_EXPORTS) \
47408 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
47409 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
47410 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
47411 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
47412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
47413 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
47414 case $(srcdir) in \
47415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47416 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
47417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47418 esac; \
47419 srcdiroption="--srcdir=$${topdir}/libgcc"; \
47420 libsrcdir="$$s/libgcc"; \
47421 $(SHELL) $${libsrcdir}/configure \
47422 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47423 --target=${target_alias} $${srcdiroption} \
47424 --with-build-libsubdir=$(HOST_SUBDIR) \
47425 $(STAGEfeedback_CONFIGURE_FLAGS)
47426 @endif target-libgcc-bootstrap
47432 .PHONY: all-target-libgcc maybe-all-target-libgcc
47433 maybe-all-target-libgcc:
47434 @if gcc-bootstrap
47435 all-target-libgcc: stage_current
47436 @endif gcc-bootstrap
47437 @if target-libgcc
47438 TARGET-target-libgcc=all
47439 maybe-all-target-libgcc: all-target-libgcc
47440 all-target-libgcc: configure-target-libgcc
47441 @r=`${PWD_COMMAND}`; export r; \
47442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47443 $(NORMAL_TARGET_EXPORTS) \
47444 (cd $(TARGET_SUBDIR)/libgcc && \
47445 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47446 $(TARGET-target-libgcc))
47447 @endif target-libgcc
47451 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
47452 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
47453 maybe-all-stage1-target-libgcc:
47454 maybe-clean-stage1-target-libgcc:
47455 @if target-libgcc-bootstrap
47456 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
47457 all-stage1: all-stage1-target-libgcc
47458 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
47459 all-stage1-target-libgcc: configure-stage1-target-libgcc
47460 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
47461 @r=`${PWD_COMMAND}`; export r; \
47462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47463 TFLAGS="$(STAGE1_TFLAGS)"; \
47464 $(NORMAL_TARGET_EXPORTS) \
47465 cd $(TARGET_SUBDIR)/libgcc && \
47466 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47467 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47468 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47469 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47470 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47471 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47472 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47473 $(EXTRA_TARGET_FLAGS) \
47474 TFLAGS="$(STAGE1_TFLAGS)" \
47475 $(TARGET-stage1-target-libgcc)
47477 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
47478 clean-stage1: clean-stage1-target-libgcc
47479 clean-stage1-target-libgcc:
47480 @if [ $(current_stage) = stage1 ]; then \
47481 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47482 else \
47483 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
47484 $(MAKE) stage1-start; \
47485 fi; \
47486 cd $(TARGET_SUBDIR)/libgcc && \
47487 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47488 clean
47489 @endif target-libgcc-bootstrap
47492 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
47493 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
47494 maybe-all-stage2-target-libgcc:
47495 maybe-clean-stage2-target-libgcc:
47496 @if target-libgcc-bootstrap
47497 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
47498 all-stage2: all-stage2-target-libgcc
47499 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
47500 all-stage2-target-libgcc: configure-stage2-target-libgcc
47501 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
47502 @r=`${PWD_COMMAND}`; export r; \
47503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47504 TFLAGS="$(STAGE2_TFLAGS)"; \
47505 $(NORMAL_TARGET_EXPORTS) \
47507 cd $(TARGET_SUBDIR)/libgcc && \
47508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47509 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47510 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47511 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47515 $(EXTRA_TARGET_FLAGS) \
47516 TFLAGS="$(STAGE2_TFLAGS)" \
47517 $(TARGET-stage2-target-libgcc)
47519 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
47520 clean-stage2: clean-stage2-target-libgcc
47521 clean-stage2-target-libgcc:
47522 @if [ $(current_stage) = stage2 ]; then \
47523 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47524 else \
47525 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
47526 $(MAKE) stage2-start; \
47527 fi; \
47528 cd $(TARGET_SUBDIR)/libgcc && \
47529 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47531 clean
47532 @endif target-libgcc-bootstrap
47535 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
47536 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
47537 maybe-all-stage3-target-libgcc:
47538 maybe-clean-stage3-target-libgcc:
47539 @if target-libgcc-bootstrap
47540 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
47541 all-stage3: all-stage3-target-libgcc
47542 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
47543 all-stage3-target-libgcc: configure-stage3-target-libgcc
47544 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
47545 @r=`${PWD_COMMAND}`; export r; \
47546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47547 TFLAGS="$(STAGE3_TFLAGS)"; \
47548 $(NORMAL_TARGET_EXPORTS) \
47550 cd $(TARGET_SUBDIR)/libgcc && \
47551 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47552 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47553 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47554 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47558 $(EXTRA_TARGET_FLAGS) \
47559 TFLAGS="$(STAGE3_TFLAGS)" \
47560 $(TARGET-stage3-target-libgcc)
47562 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
47563 clean-stage3: clean-stage3-target-libgcc
47564 clean-stage3-target-libgcc:
47565 @if [ $(current_stage) = stage3 ]; then \
47566 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47567 else \
47568 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
47569 $(MAKE) stage3-start; \
47570 fi; \
47571 cd $(TARGET_SUBDIR)/libgcc && \
47572 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47574 clean
47575 @endif target-libgcc-bootstrap
47578 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
47579 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
47580 maybe-all-stage4-target-libgcc:
47581 maybe-clean-stage4-target-libgcc:
47582 @if target-libgcc-bootstrap
47583 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
47584 all-stage4: all-stage4-target-libgcc
47585 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
47586 all-stage4-target-libgcc: configure-stage4-target-libgcc
47587 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
47588 @r=`${PWD_COMMAND}`; export r; \
47589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47590 TFLAGS="$(STAGE4_TFLAGS)"; \
47591 $(NORMAL_TARGET_EXPORTS) \
47593 cd $(TARGET_SUBDIR)/libgcc && \
47594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47595 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47601 $(EXTRA_TARGET_FLAGS) \
47602 TFLAGS="$(STAGE4_TFLAGS)" \
47603 $(TARGET-stage4-target-libgcc)
47605 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
47606 clean-stage4: clean-stage4-target-libgcc
47607 clean-stage4-target-libgcc:
47608 @if [ $(current_stage) = stage4 ]; then \
47609 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47610 else \
47611 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
47612 $(MAKE) stage4-start; \
47613 fi; \
47614 cd $(TARGET_SUBDIR)/libgcc && \
47615 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47617 clean
47618 @endif target-libgcc-bootstrap
47621 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
47622 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
47623 maybe-all-stageprofile-target-libgcc:
47624 maybe-clean-stageprofile-target-libgcc:
47625 @if target-libgcc-bootstrap
47626 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
47627 all-stageprofile: all-stageprofile-target-libgcc
47628 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
47629 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
47630 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
47631 @r=`${PWD_COMMAND}`; export r; \
47632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47633 TFLAGS="$(STAGEprofile_TFLAGS)"; \
47634 $(NORMAL_TARGET_EXPORTS) \
47636 cd $(TARGET_SUBDIR)/libgcc && \
47637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47638 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47639 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47640 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47644 $(EXTRA_TARGET_FLAGS) \
47645 TFLAGS="$(STAGEprofile_TFLAGS)" \
47646 $(TARGET-stageprofile-target-libgcc)
47648 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
47649 clean-stageprofile: clean-stageprofile-target-libgcc
47650 clean-stageprofile-target-libgcc:
47651 @if [ $(current_stage) = stageprofile ]; then \
47652 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47653 else \
47654 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
47655 $(MAKE) stageprofile-start; \
47656 fi; \
47657 cd $(TARGET_SUBDIR)/libgcc && \
47658 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47660 clean
47661 @endif target-libgcc-bootstrap
47664 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
47665 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
47666 maybe-all-stagefeedback-target-libgcc:
47667 maybe-clean-stagefeedback-target-libgcc:
47668 @if target-libgcc-bootstrap
47669 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
47670 all-stagefeedback: all-stagefeedback-target-libgcc
47671 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
47672 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
47673 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
47674 @r=`${PWD_COMMAND}`; export r; \
47675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47676 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47677 $(NORMAL_TARGET_EXPORTS) \
47679 cd $(TARGET_SUBDIR)/libgcc && \
47680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
47681 CFLAGS="$(CFLAGS_FOR_TARGET)" \
47682 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
47683 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
47684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
47685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
47686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
47687 $(EXTRA_TARGET_FLAGS) \
47688 TFLAGS="$(STAGEfeedback_TFLAGS)" \
47689 $(TARGET-stagefeedback-target-libgcc)
47691 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
47692 clean-stagefeedback: clean-stagefeedback-target-libgcc
47693 clean-stagefeedback-target-libgcc:
47694 @if [ $(current_stage) = stagefeedback ]; then \
47695 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
47696 else \
47697 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
47698 $(MAKE) stagefeedback-start; \
47699 fi; \
47700 cd $(TARGET_SUBDIR)/libgcc && \
47701 $(MAKE) $(EXTRA_TARGET_FLAGS) \
47703 clean
47704 @endif target-libgcc-bootstrap
47711 .PHONY: check-target-libgcc maybe-check-target-libgcc
47712 maybe-check-target-libgcc:
47713 @if target-libgcc
47714 maybe-check-target-libgcc: check-target-libgcc
47716 # Dummy target for uncheckable module.
47717 check-target-libgcc:
47719 @endif target-libgcc
47721 .PHONY: install-target-libgcc maybe-install-target-libgcc
47722 maybe-install-target-libgcc:
47723 @if target-libgcc
47724 maybe-install-target-libgcc: install-target-libgcc
47726 install-target-libgcc: installdirs
47727 @: $(MAKE); $(unstage)
47728 @r=`${PWD_COMMAND}`; export r; \
47729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47730 $(NORMAL_TARGET_EXPORTS) \
47731 (cd $(TARGET_SUBDIR)/libgcc && \
47732 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47734 @endif target-libgcc
47736 # Other targets (info, dvi, pdf, etc.)
47738 .PHONY: maybe-info-target-libgcc info-target-libgcc
47739 maybe-info-target-libgcc:
47740 @if target-libgcc
47741 maybe-info-target-libgcc: info-target-libgcc
47743 info-target-libgcc: \
47744 configure-target-libgcc
47745 @: $(MAKE); $(unstage)
47746 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47747 r=`${PWD_COMMAND}`; export r; \
47748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47749 $(NORMAL_TARGET_EXPORTS) \
47750 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
47751 for flag in $(EXTRA_TARGET_FLAGS); do \
47752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47753 done; \
47754 (cd $(TARGET_SUBDIR)/libgcc && \
47755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47757 "RANLIB=$${RANLIB}" \
47758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47759 info) \
47760 || exit 1
47762 @endif target-libgcc
47764 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
47765 maybe-dvi-target-libgcc:
47766 @if target-libgcc
47767 maybe-dvi-target-libgcc: dvi-target-libgcc
47769 dvi-target-libgcc: \
47770 configure-target-libgcc
47771 @: $(MAKE); $(unstage)
47772 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47773 r=`${PWD_COMMAND}`; export r; \
47774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47775 $(NORMAL_TARGET_EXPORTS) \
47776 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
47777 for flag in $(EXTRA_TARGET_FLAGS); do \
47778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47779 done; \
47780 (cd $(TARGET_SUBDIR)/libgcc && \
47781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47783 "RANLIB=$${RANLIB}" \
47784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47785 dvi) \
47786 || exit 1
47788 @endif target-libgcc
47790 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
47791 maybe-pdf-target-libgcc:
47792 @if target-libgcc
47793 maybe-pdf-target-libgcc: pdf-target-libgcc
47795 pdf-target-libgcc: \
47796 configure-target-libgcc
47797 @: $(MAKE); $(unstage)
47798 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47799 r=`${PWD_COMMAND}`; export r; \
47800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47801 $(NORMAL_TARGET_EXPORTS) \
47802 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
47803 for flag in $(EXTRA_TARGET_FLAGS); do \
47804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47805 done; \
47806 (cd $(TARGET_SUBDIR)/libgcc && \
47807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47809 "RANLIB=$${RANLIB}" \
47810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47811 pdf) \
47812 || exit 1
47814 @endif target-libgcc
47816 .PHONY: maybe-html-target-libgcc html-target-libgcc
47817 maybe-html-target-libgcc:
47818 @if target-libgcc
47819 maybe-html-target-libgcc: html-target-libgcc
47821 html-target-libgcc: \
47822 configure-target-libgcc
47823 @: $(MAKE); $(unstage)
47824 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47825 r=`${PWD_COMMAND}`; export r; \
47826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47827 $(NORMAL_TARGET_EXPORTS) \
47828 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
47829 for flag in $(EXTRA_TARGET_FLAGS); do \
47830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47831 done; \
47832 (cd $(TARGET_SUBDIR)/libgcc && \
47833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47835 "RANLIB=$${RANLIB}" \
47836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47837 html) \
47838 || exit 1
47840 @endif target-libgcc
47842 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
47843 maybe-TAGS-target-libgcc:
47844 @if target-libgcc
47845 maybe-TAGS-target-libgcc: TAGS-target-libgcc
47847 TAGS-target-libgcc: \
47848 configure-target-libgcc
47849 @: $(MAKE); $(unstage)
47850 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47851 r=`${PWD_COMMAND}`; export r; \
47852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47853 $(NORMAL_TARGET_EXPORTS) \
47854 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
47855 for flag in $(EXTRA_TARGET_FLAGS); do \
47856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47857 done; \
47858 (cd $(TARGET_SUBDIR)/libgcc && \
47859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47861 "RANLIB=$${RANLIB}" \
47862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47863 TAGS) \
47864 || exit 1
47866 @endif target-libgcc
47868 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
47869 maybe-install-info-target-libgcc:
47870 @if target-libgcc
47871 maybe-install-info-target-libgcc: install-info-target-libgcc
47873 install-info-target-libgcc: \
47874 configure-target-libgcc \
47875 info-target-libgcc
47876 @: $(MAKE); $(unstage)
47877 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47878 r=`${PWD_COMMAND}`; export r; \
47879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47880 $(NORMAL_TARGET_EXPORTS) \
47881 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
47882 for flag in $(EXTRA_TARGET_FLAGS); do \
47883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47884 done; \
47885 (cd $(TARGET_SUBDIR)/libgcc && \
47886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47888 "RANLIB=$${RANLIB}" \
47889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47890 install-info) \
47891 || exit 1
47893 @endif target-libgcc
47895 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
47896 maybe-install-pdf-target-libgcc:
47897 @if target-libgcc
47898 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
47900 install-pdf-target-libgcc: \
47901 configure-target-libgcc \
47902 pdf-target-libgcc
47903 @: $(MAKE); $(unstage)
47904 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47905 r=`${PWD_COMMAND}`; export r; \
47906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47907 $(NORMAL_TARGET_EXPORTS) \
47908 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
47909 for flag in $(EXTRA_TARGET_FLAGS); do \
47910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47911 done; \
47912 (cd $(TARGET_SUBDIR)/libgcc && \
47913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47915 "RANLIB=$${RANLIB}" \
47916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47917 install-pdf) \
47918 || exit 1
47920 @endif target-libgcc
47922 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
47923 maybe-install-html-target-libgcc:
47924 @if target-libgcc
47925 maybe-install-html-target-libgcc: install-html-target-libgcc
47927 install-html-target-libgcc: \
47928 configure-target-libgcc \
47929 html-target-libgcc
47930 @: $(MAKE); $(unstage)
47931 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47932 r=`${PWD_COMMAND}`; export r; \
47933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47934 $(NORMAL_TARGET_EXPORTS) \
47935 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
47936 for flag in $(EXTRA_TARGET_FLAGS); do \
47937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47938 done; \
47939 (cd $(TARGET_SUBDIR)/libgcc && \
47940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47942 "RANLIB=$${RANLIB}" \
47943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47944 install-html) \
47945 || exit 1
47947 @endif target-libgcc
47949 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
47950 maybe-installcheck-target-libgcc:
47951 @if target-libgcc
47952 maybe-installcheck-target-libgcc: installcheck-target-libgcc
47954 installcheck-target-libgcc: \
47955 configure-target-libgcc
47956 @: $(MAKE); $(unstage)
47957 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47958 r=`${PWD_COMMAND}`; export r; \
47959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47960 $(NORMAL_TARGET_EXPORTS) \
47961 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
47962 for flag in $(EXTRA_TARGET_FLAGS); do \
47963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47964 done; \
47965 (cd $(TARGET_SUBDIR)/libgcc && \
47966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47968 "RANLIB=$${RANLIB}" \
47969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47970 installcheck) \
47971 || exit 1
47973 @endif target-libgcc
47975 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
47976 maybe-mostlyclean-target-libgcc:
47977 @if target-libgcc
47978 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
47980 mostlyclean-target-libgcc:
47981 @: $(MAKE); $(unstage)
47982 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
47983 r=`${PWD_COMMAND}`; export r; \
47984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47985 $(NORMAL_TARGET_EXPORTS) \
47986 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
47987 for flag in $(EXTRA_TARGET_FLAGS); do \
47988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47989 done; \
47990 (cd $(TARGET_SUBDIR)/libgcc && \
47991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47993 "RANLIB=$${RANLIB}" \
47994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47995 mostlyclean) \
47996 || exit 1
47998 @endif target-libgcc
48000 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
48001 maybe-clean-target-libgcc:
48002 @if target-libgcc
48003 maybe-clean-target-libgcc: clean-target-libgcc
48005 clean-target-libgcc:
48006 @: $(MAKE); $(unstage)
48007 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
48008 r=`${PWD_COMMAND}`; export r; \
48009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48010 $(NORMAL_TARGET_EXPORTS) \
48011 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
48012 for flag in $(EXTRA_TARGET_FLAGS); do \
48013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48014 done; \
48015 (cd $(TARGET_SUBDIR)/libgcc && \
48016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48018 "RANLIB=$${RANLIB}" \
48019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48020 clean) \
48021 || exit 1
48023 @endif target-libgcc
48025 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
48026 maybe-distclean-target-libgcc:
48027 @if target-libgcc
48028 maybe-distclean-target-libgcc: distclean-target-libgcc
48030 distclean-target-libgcc:
48031 @: $(MAKE); $(unstage)
48032 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
48033 r=`${PWD_COMMAND}`; export r; \
48034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48035 $(NORMAL_TARGET_EXPORTS) \
48036 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
48037 for flag in $(EXTRA_TARGET_FLAGS); do \
48038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48039 done; \
48040 (cd $(TARGET_SUBDIR)/libgcc && \
48041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48043 "RANLIB=$${RANLIB}" \
48044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48045 distclean) \
48046 || exit 1
48048 @endif target-libgcc
48050 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
48051 maybe-maintainer-clean-target-libgcc:
48052 @if target-libgcc
48053 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
48055 maintainer-clean-target-libgcc:
48056 @: $(MAKE); $(unstage)
48057 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
48058 r=`${PWD_COMMAND}`; export r; \
48059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48060 $(NORMAL_TARGET_EXPORTS) \
48061 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
48062 for flag in $(EXTRA_TARGET_FLAGS); do \
48063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48064 done; \
48065 (cd $(TARGET_SUBDIR)/libgcc && \
48066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48068 "RANLIB=$${RANLIB}" \
48069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48070 maintainer-clean) \
48071 || exit 1
48073 @endif target-libgcc
48079 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
48080 maybe-configure-target-libgfortran:
48081 @if gcc-bootstrap
48082 configure-target-libgfortran: stage_current
48083 @endif gcc-bootstrap
48084 @if target-libgfortran
48085 maybe-configure-target-libgfortran: configure-target-libgfortran
48086 configure-target-libgfortran:
48087 @: $(MAKE); $(unstage)
48088 @r=`${PWD_COMMAND}`; export r; \
48089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48090 echo "Checking multilib configuration for libgfortran..."; \
48091 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
48092 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
48093 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
48094 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
48095 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
48096 else \
48097 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
48098 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
48099 fi; \
48100 else \
48101 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
48102 fi; \
48103 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
48104 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
48105 $(NORMAL_TARGET_EXPORTS) \
48106 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
48107 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
48108 case $(srcdir) in \
48109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48110 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
48111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48112 esac; \
48113 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
48114 libsrcdir="$$s/libgfortran"; \
48115 rm -f no-such-file || : ; \
48116 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48117 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48118 --target=${target_alias} $${srcdiroption} \
48119 || exit 1
48120 @endif target-libgfortran
48126 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
48127 maybe-all-target-libgfortran:
48128 @if gcc-bootstrap
48129 all-target-libgfortran: stage_current
48130 @endif gcc-bootstrap
48131 @if target-libgfortran
48132 TARGET-target-libgfortran=all
48133 maybe-all-target-libgfortran: all-target-libgfortran
48134 all-target-libgfortran: configure-target-libgfortran
48135 @: $(MAKE); $(unstage)
48136 @r=`${PWD_COMMAND}`; export r; \
48137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48138 $(NORMAL_TARGET_EXPORTS) \
48139 (cd $(TARGET_SUBDIR)/libgfortran && \
48140 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48141 $(TARGET-target-libgfortran))
48142 @endif target-libgfortran
48148 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
48149 maybe-check-target-libgfortran:
48150 @if target-libgfortran
48151 maybe-check-target-libgfortran: check-target-libgfortran
48153 check-target-libgfortran:
48154 @: $(MAKE); $(unstage)
48155 @r=`${PWD_COMMAND}`; export r; \
48156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48157 $(NORMAL_TARGET_EXPORTS) \
48158 (cd $(TARGET_SUBDIR)/libgfortran && \
48159 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48161 @endif target-libgfortran
48163 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
48164 maybe-install-target-libgfortran:
48165 @if target-libgfortran
48166 maybe-install-target-libgfortran: install-target-libgfortran
48168 install-target-libgfortran: installdirs
48169 @: $(MAKE); $(unstage)
48170 @r=`${PWD_COMMAND}`; export r; \
48171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48172 $(NORMAL_TARGET_EXPORTS) \
48173 (cd $(TARGET_SUBDIR)/libgfortran && \
48174 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48176 @endif target-libgfortran
48178 # Other targets (info, dvi, pdf, etc.)
48180 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
48181 maybe-info-target-libgfortran:
48182 @if target-libgfortran
48183 maybe-info-target-libgfortran: info-target-libgfortran
48185 info-target-libgfortran: \
48186 configure-target-libgfortran
48187 @: $(MAKE); $(unstage)
48188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48189 r=`${PWD_COMMAND}`; export r; \
48190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48191 $(NORMAL_TARGET_EXPORTS) \
48192 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
48193 for flag in $(EXTRA_TARGET_FLAGS); do \
48194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48195 done; \
48196 (cd $(TARGET_SUBDIR)/libgfortran && \
48197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48199 "RANLIB=$${RANLIB}" \
48200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48201 info) \
48202 || exit 1
48204 @endif target-libgfortran
48206 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
48207 maybe-dvi-target-libgfortran:
48208 @if target-libgfortran
48209 maybe-dvi-target-libgfortran: dvi-target-libgfortran
48211 dvi-target-libgfortran: \
48212 configure-target-libgfortran
48213 @: $(MAKE); $(unstage)
48214 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48215 r=`${PWD_COMMAND}`; export r; \
48216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48217 $(NORMAL_TARGET_EXPORTS) \
48218 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
48219 for flag in $(EXTRA_TARGET_FLAGS); do \
48220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48221 done; \
48222 (cd $(TARGET_SUBDIR)/libgfortran && \
48223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48225 "RANLIB=$${RANLIB}" \
48226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48227 dvi) \
48228 || exit 1
48230 @endif target-libgfortran
48232 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
48233 maybe-pdf-target-libgfortran:
48234 @if target-libgfortran
48235 maybe-pdf-target-libgfortran: pdf-target-libgfortran
48237 pdf-target-libgfortran: \
48238 configure-target-libgfortran
48239 @: $(MAKE); $(unstage)
48240 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48241 r=`${PWD_COMMAND}`; export r; \
48242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48243 $(NORMAL_TARGET_EXPORTS) \
48244 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
48245 for flag in $(EXTRA_TARGET_FLAGS); do \
48246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48247 done; \
48248 (cd $(TARGET_SUBDIR)/libgfortran && \
48249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48251 "RANLIB=$${RANLIB}" \
48252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48253 pdf) \
48254 || exit 1
48256 @endif target-libgfortran
48258 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
48259 maybe-html-target-libgfortran:
48260 @if target-libgfortran
48261 maybe-html-target-libgfortran: html-target-libgfortran
48263 html-target-libgfortran: \
48264 configure-target-libgfortran
48265 @: $(MAKE); $(unstage)
48266 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48267 r=`${PWD_COMMAND}`; export r; \
48268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48269 $(NORMAL_TARGET_EXPORTS) \
48270 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
48271 for flag in $(EXTRA_TARGET_FLAGS); do \
48272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48273 done; \
48274 (cd $(TARGET_SUBDIR)/libgfortran && \
48275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48277 "RANLIB=$${RANLIB}" \
48278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48279 html) \
48280 || exit 1
48282 @endif target-libgfortran
48284 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
48285 maybe-TAGS-target-libgfortran:
48286 @if target-libgfortran
48287 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
48289 TAGS-target-libgfortran: \
48290 configure-target-libgfortran
48291 @: $(MAKE); $(unstage)
48292 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48293 r=`${PWD_COMMAND}`; export r; \
48294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48295 $(NORMAL_TARGET_EXPORTS) \
48296 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
48297 for flag in $(EXTRA_TARGET_FLAGS); do \
48298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48299 done; \
48300 (cd $(TARGET_SUBDIR)/libgfortran && \
48301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48303 "RANLIB=$${RANLIB}" \
48304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48305 TAGS) \
48306 || exit 1
48308 @endif target-libgfortran
48310 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
48311 maybe-install-info-target-libgfortran:
48312 @if target-libgfortran
48313 maybe-install-info-target-libgfortran: install-info-target-libgfortran
48315 install-info-target-libgfortran: \
48316 configure-target-libgfortran \
48317 info-target-libgfortran
48318 @: $(MAKE); $(unstage)
48319 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48320 r=`${PWD_COMMAND}`; export r; \
48321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48322 $(NORMAL_TARGET_EXPORTS) \
48323 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
48324 for flag in $(EXTRA_TARGET_FLAGS); do \
48325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48326 done; \
48327 (cd $(TARGET_SUBDIR)/libgfortran && \
48328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48330 "RANLIB=$${RANLIB}" \
48331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48332 install-info) \
48333 || exit 1
48335 @endif target-libgfortran
48337 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
48338 maybe-install-pdf-target-libgfortran:
48339 @if target-libgfortran
48340 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
48342 install-pdf-target-libgfortran: \
48343 configure-target-libgfortran \
48344 pdf-target-libgfortran
48345 @: $(MAKE); $(unstage)
48346 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48347 r=`${PWD_COMMAND}`; export r; \
48348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48349 $(NORMAL_TARGET_EXPORTS) \
48350 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
48351 for flag in $(EXTRA_TARGET_FLAGS); do \
48352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48353 done; \
48354 (cd $(TARGET_SUBDIR)/libgfortran && \
48355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48357 "RANLIB=$${RANLIB}" \
48358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48359 install-pdf) \
48360 || exit 1
48362 @endif target-libgfortran
48364 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
48365 maybe-install-html-target-libgfortran:
48366 @if target-libgfortran
48367 maybe-install-html-target-libgfortran: install-html-target-libgfortran
48369 install-html-target-libgfortran: \
48370 configure-target-libgfortran \
48371 html-target-libgfortran
48372 @: $(MAKE); $(unstage)
48373 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48374 r=`${PWD_COMMAND}`; export r; \
48375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48376 $(NORMAL_TARGET_EXPORTS) \
48377 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
48378 for flag in $(EXTRA_TARGET_FLAGS); do \
48379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48380 done; \
48381 (cd $(TARGET_SUBDIR)/libgfortran && \
48382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48384 "RANLIB=$${RANLIB}" \
48385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48386 install-html) \
48387 || exit 1
48389 @endif target-libgfortran
48391 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
48392 maybe-installcheck-target-libgfortran:
48393 @if target-libgfortran
48394 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
48396 installcheck-target-libgfortran: \
48397 configure-target-libgfortran
48398 @: $(MAKE); $(unstage)
48399 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48400 r=`${PWD_COMMAND}`; export r; \
48401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48402 $(NORMAL_TARGET_EXPORTS) \
48403 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
48404 for flag in $(EXTRA_TARGET_FLAGS); do \
48405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48406 done; \
48407 (cd $(TARGET_SUBDIR)/libgfortran && \
48408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48410 "RANLIB=$${RANLIB}" \
48411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48412 installcheck) \
48413 || exit 1
48415 @endif target-libgfortran
48417 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
48418 maybe-mostlyclean-target-libgfortran:
48419 @if target-libgfortran
48420 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
48422 mostlyclean-target-libgfortran:
48423 @: $(MAKE); $(unstage)
48424 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48425 r=`${PWD_COMMAND}`; export r; \
48426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48427 $(NORMAL_TARGET_EXPORTS) \
48428 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
48429 for flag in $(EXTRA_TARGET_FLAGS); do \
48430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48431 done; \
48432 (cd $(TARGET_SUBDIR)/libgfortran && \
48433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48435 "RANLIB=$${RANLIB}" \
48436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48437 mostlyclean) \
48438 || exit 1
48440 @endif target-libgfortran
48442 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
48443 maybe-clean-target-libgfortran:
48444 @if target-libgfortran
48445 maybe-clean-target-libgfortran: clean-target-libgfortran
48447 clean-target-libgfortran:
48448 @: $(MAKE); $(unstage)
48449 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48450 r=`${PWD_COMMAND}`; export r; \
48451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48452 $(NORMAL_TARGET_EXPORTS) \
48453 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
48454 for flag in $(EXTRA_TARGET_FLAGS); do \
48455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48456 done; \
48457 (cd $(TARGET_SUBDIR)/libgfortran && \
48458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48460 "RANLIB=$${RANLIB}" \
48461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48462 clean) \
48463 || exit 1
48465 @endif target-libgfortran
48467 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
48468 maybe-distclean-target-libgfortran:
48469 @if target-libgfortran
48470 maybe-distclean-target-libgfortran: distclean-target-libgfortran
48472 distclean-target-libgfortran:
48473 @: $(MAKE); $(unstage)
48474 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48475 r=`${PWD_COMMAND}`; export r; \
48476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48477 $(NORMAL_TARGET_EXPORTS) \
48478 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
48479 for flag in $(EXTRA_TARGET_FLAGS); do \
48480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48481 done; \
48482 (cd $(TARGET_SUBDIR)/libgfortran && \
48483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48485 "RANLIB=$${RANLIB}" \
48486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48487 distclean) \
48488 || exit 1
48490 @endif target-libgfortran
48492 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
48493 maybe-maintainer-clean-target-libgfortran:
48494 @if target-libgfortran
48495 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
48497 maintainer-clean-target-libgfortran:
48498 @: $(MAKE); $(unstage)
48499 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
48500 r=`${PWD_COMMAND}`; export r; \
48501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48502 $(NORMAL_TARGET_EXPORTS) \
48503 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
48504 for flag in $(EXTRA_TARGET_FLAGS); do \
48505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48506 done; \
48507 (cd $(TARGET_SUBDIR)/libgfortran && \
48508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48510 "RANLIB=$${RANLIB}" \
48511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48512 maintainer-clean) \
48513 || exit 1
48515 @endif target-libgfortran
48521 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
48522 maybe-configure-target-libobjc:
48523 @if gcc-bootstrap
48524 configure-target-libobjc: stage_current
48525 @endif gcc-bootstrap
48526 @if target-libobjc
48527 maybe-configure-target-libobjc: configure-target-libobjc
48528 configure-target-libobjc:
48529 @: $(MAKE); $(unstage)
48530 @r=`${PWD_COMMAND}`; export r; \
48531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48532 echo "Checking multilib configuration for libobjc..."; \
48533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
48534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
48535 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
48536 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
48537 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
48538 else \
48539 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
48540 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
48541 fi; \
48542 else \
48543 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
48544 fi; \
48545 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
48546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
48547 $(NORMAL_TARGET_EXPORTS) \
48548 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
48549 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
48550 case $(srcdir) in \
48551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48552 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
48553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48554 esac; \
48555 srcdiroption="--srcdir=$${topdir}/libobjc"; \
48556 libsrcdir="$$s/libobjc"; \
48557 rm -f no-such-file || : ; \
48558 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48559 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48560 --target=${target_alias} $${srcdiroption} \
48561 || exit 1
48562 @endif target-libobjc
48568 .PHONY: all-target-libobjc maybe-all-target-libobjc
48569 maybe-all-target-libobjc:
48570 @if gcc-bootstrap
48571 all-target-libobjc: stage_current
48572 @endif gcc-bootstrap
48573 @if target-libobjc
48574 TARGET-target-libobjc=all
48575 maybe-all-target-libobjc: all-target-libobjc
48576 all-target-libobjc: configure-target-libobjc
48577 @: $(MAKE); $(unstage)
48578 @r=`${PWD_COMMAND}`; export r; \
48579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48580 $(NORMAL_TARGET_EXPORTS) \
48581 (cd $(TARGET_SUBDIR)/libobjc && \
48582 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48583 $(TARGET-target-libobjc))
48584 @endif target-libobjc
48590 .PHONY: check-target-libobjc maybe-check-target-libobjc
48591 maybe-check-target-libobjc:
48592 @if target-libobjc
48593 maybe-check-target-libobjc: check-target-libobjc
48595 check-target-libobjc:
48596 @: $(MAKE); $(unstage)
48597 @r=`${PWD_COMMAND}`; export r; \
48598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48599 $(NORMAL_TARGET_EXPORTS) \
48600 (cd $(TARGET_SUBDIR)/libobjc && \
48601 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48603 @endif target-libobjc
48605 .PHONY: install-target-libobjc maybe-install-target-libobjc
48606 maybe-install-target-libobjc:
48607 @if target-libobjc
48608 maybe-install-target-libobjc: install-target-libobjc
48610 install-target-libobjc: installdirs
48611 @: $(MAKE); $(unstage)
48612 @r=`${PWD_COMMAND}`; export r; \
48613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48614 $(NORMAL_TARGET_EXPORTS) \
48615 (cd $(TARGET_SUBDIR)/libobjc && \
48616 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48618 @endif target-libobjc
48620 # Other targets (info, dvi, pdf, etc.)
48622 .PHONY: maybe-info-target-libobjc info-target-libobjc
48623 maybe-info-target-libobjc:
48624 @if target-libobjc
48625 maybe-info-target-libobjc: info-target-libobjc
48627 info-target-libobjc: \
48628 configure-target-libobjc
48629 @: $(MAKE); $(unstage)
48630 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48631 r=`${PWD_COMMAND}`; export r; \
48632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48633 $(NORMAL_TARGET_EXPORTS) \
48634 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
48635 for flag in $(EXTRA_TARGET_FLAGS); do \
48636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48637 done; \
48638 (cd $(TARGET_SUBDIR)/libobjc && \
48639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48641 "RANLIB=$${RANLIB}" \
48642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48643 info) \
48644 || exit 1
48646 @endif target-libobjc
48648 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
48649 maybe-dvi-target-libobjc:
48650 @if target-libobjc
48651 maybe-dvi-target-libobjc: dvi-target-libobjc
48653 dvi-target-libobjc: \
48654 configure-target-libobjc
48655 @: $(MAKE); $(unstage)
48656 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48657 r=`${PWD_COMMAND}`; export r; \
48658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48659 $(NORMAL_TARGET_EXPORTS) \
48660 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
48661 for flag in $(EXTRA_TARGET_FLAGS); do \
48662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48663 done; \
48664 (cd $(TARGET_SUBDIR)/libobjc && \
48665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48667 "RANLIB=$${RANLIB}" \
48668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48669 dvi) \
48670 || exit 1
48672 @endif target-libobjc
48674 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
48675 maybe-pdf-target-libobjc:
48676 @if target-libobjc
48677 maybe-pdf-target-libobjc: pdf-target-libobjc
48679 pdf-target-libobjc: \
48680 configure-target-libobjc
48681 @: $(MAKE); $(unstage)
48682 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48683 r=`${PWD_COMMAND}`; export r; \
48684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48685 $(NORMAL_TARGET_EXPORTS) \
48686 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
48687 for flag in $(EXTRA_TARGET_FLAGS); do \
48688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48689 done; \
48690 (cd $(TARGET_SUBDIR)/libobjc && \
48691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48693 "RANLIB=$${RANLIB}" \
48694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48695 pdf) \
48696 || exit 1
48698 @endif target-libobjc
48700 .PHONY: maybe-html-target-libobjc html-target-libobjc
48701 maybe-html-target-libobjc:
48702 @if target-libobjc
48703 maybe-html-target-libobjc: html-target-libobjc
48705 html-target-libobjc: \
48706 configure-target-libobjc
48707 @: $(MAKE); $(unstage)
48708 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48709 r=`${PWD_COMMAND}`; export r; \
48710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48711 $(NORMAL_TARGET_EXPORTS) \
48712 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
48713 for flag in $(EXTRA_TARGET_FLAGS); do \
48714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48715 done; \
48716 (cd $(TARGET_SUBDIR)/libobjc && \
48717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48719 "RANLIB=$${RANLIB}" \
48720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48721 html) \
48722 || exit 1
48724 @endif target-libobjc
48726 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
48727 maybe-TAGS-target-libobjc:
48728 @if target-libobjc
48729 maybe-TAGS-target-libobjc: TAGS-target-libobjc
48731 TAGS-target-libobjc: \
48732 configure-target-libobjc
48733 @: $(MAKE); $(unstage)
48734 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48735 r=`${PWD_COMMAND}`; export r; \
48736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48737 $(NORMAL_TARGET_EXPORTS) \
48738 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
48739 for flag in $(EXTRA_TARGET_FLAGS); do \
48740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48741 done; \
48742 (cd $(TARGET_SUBDIR)/libobjc && \
48743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48745 "RANLIB=$${RANLIB}" \
48746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48747 TAGS) \
48748 || exit 1
48750 @endif target-libobjc
48752 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
48753 maybe-install-info-target-libobjc:
48754 @if target-libobjc
48755 maybe-install-info-target-libobjc: install-info-target-libobjc
48757 install-info-target-libobjc: \
48758 configure-target-libobjc \
48759 info-target-libobjc
48760 @: $(MAKE); $(unstage)
48761 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48762 r=`${PWD_COMMAND}`; export r; \
48763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48764 $(NORMAL_TARGET_EXPORTS) \
48765 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
48766 for flag in $(EXTRA_TARGET_FLAGS); do \
48767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48768 done; \
48769 (cd $(TARGET_SUBDIR)/libobjc && \
48770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48772 "RANLIB=$${RANLIB}" \
48773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48774 install-info) \
48775 || exit 1
48777 @endif target-libobjc
48779 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
48780 maybe-install-pdf-target-libobjc:
48781 @if target-libobjc
48782 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
48784 install-pdf-target-libobjc: \
48785 configure-target-libobjc \
48786 pdf-target-libobjc
48787 @: $(MAKE); $(unstage)
48788 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48789 r=`${PWD_COMMAND}`; export r; \
48790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48791 $(NORMAL_TARGET_EXPORTS) \
48792 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
48793 for flag in $(EXTRA_TARGET_FLAGS); do \
48794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48795 done; \
48796 (cd $(TARGET_SUBDIR)/libobjc && \
48797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48799 "RANLIB=$${RANLIB}" \
48800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48801 install-pdf) \
48802 || exit 1
48804 @endif target-libobjc
48806 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
48807 maybe-install-html-target-libobjc:
48808 @if target-libobjc
48809 maybe-install-html-target-libobjc: install-html-target-libobjc
48811 install-html-target-libobjc: \
48812 configure-target-libobjc \
48813 html-target-libobjc
48814 @: $(MAKE); $(unstage)
48815 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48816 r=`${PWD_COMMAND}`; export r; \
48817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48818 $(NORMAL_TARGET_EXPORTS) \
48819 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
48820 for flag in $(EXTRA_TARGET_FLAGS); do \
48821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48822 done; \
48823 (cd $(TARGET_SUBDIR)/libobjc && \
48824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48826 "RANLIB=$${RANLIB}" \
48827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48828 install-html) \
48829 || exit 1
48831 @endif target-libobjc
48833 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
48834 maybe-installcheck-target-libobjc:
48835 @if target-libobjc
48836 maybe-installcheck-target-libobjc: installcheck-target-libobjc
48838 installcheck-target-libobjc: \
48839 configure-target-libobjc
48840 @: $(MAKE); $(unstage)
48841 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48842 r=`${PWD_COMMAND}`; export r; \
48843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48844 $(NORMAL_TARGET_EXPORTS) \
48845 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
48846 for flag in $(EXTRA_TARGET_FLAGS); do \
48847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48848 done; \
48849 (cd $(TARGET_SUBDIR)/libobjc && \
48850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48852 "RANLIB=$${RANLIB}" \
48853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48854 installcheck) \
48855 || exit 1
48857 @endif target-libobjc
48859 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
48860 maybe-mostlyclean-target-libobjc:
48861 @if target-libobjc
48862 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
48864 mostlyclean-target-libobjc:
48865 @: $(MAKE); $(unstage)
48866 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48867 r=`${PWD_COMMAND}`; export r; \
48868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48869 $(NORMAL_TARGET_EXPORTS) \
48870 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
48871 for flag in $(EXTRA_TARGET_FLAGS); do \
48872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48873 done; \
48874 (cd $(TARGET_SUBDIR)/libobjc && \
48875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48877 "RANLIB=$${RANLIB}" \
48878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48879 mostlyclean) \
48880 || exit 1
48882 @endif target-libobjc
48884 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
48885 maybe-clean-target-libobjc:
48886 @if target-libobjc
48887 maybe-clean-target-libobjc: clean-target-libobjc
48889 clean-target-libobjc:
48890 @: $(MAKE); $(unstage)
48891 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48892 r=`${PWD_COMMAND}`; export r; \
48893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48894 $(NORMAL_TARGET_EXPORTS) \
48895 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
48896 for flag in $(EXTRA_TARGET_FLAGS); do \
48897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48898 done; \
48899 (cd $(TARGET_SUBDIR)/libobjc && \
48900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48902 "RANLIB=$${RANLIB}" \
48903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48904 clean) \
48905 || exit 1
48907 @endif target-libobjc
48909 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
48910 maybe-distclean-target-libobjc:
48911 @if target-libobjc
48912 maybe-distclean-target-libobjc: distclean-target-libobjc
48914 distclean-target-libobjc:
48915 @: $(MAKE); $(unstage)
48916 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48917 r=`${PWD_COMMAND}`; export r; \
48918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48919 $(NORMAL_TARGET_EXPORTS) \
48920 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
48921 for flag in $(EXTRA_TARGET_FLAGS); do \
48922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48923 done; \
48924 (cd $(TARGET_SUBDIR)/libobjc && \
48925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48927 "RANLIB=$${RANLIB}" \
48928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48929 distclean) \
48930 || exit 1
48932 @endif target-libobjc
48934 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
48935 maybe-maintainer-clean-target-libobjc:
48936 @if target-libobjc
48937 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
48939 maintainer-clean-target-libobjc:
48940 @: $(MAKE); $(unstage)
48941 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
48942 r=`${PWD_COMMAND}`; export r; \
48943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48944 $(NORMAL_TARGET_EXPORTS) \
48945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
48946 for flag in $(EXTRA_TARGET_FLAGS); do \
48947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48948 done; \
48949 (cd $(TARGET_SUBDIR)/libobjc && \
48950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48952 "RANLIB=$${RANLIB}" \
48953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48954 maintainer-clean) \
48955 || exit 1
48957 @endif target-libobjc
48963 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
48964 maybe-configure-target-libtermcap:
48965 @if gcc-bootstrap
48966 configure-target-libtermcap: stage_current
48967 @endif gcc-bootstrap
48968 @if target-libtermcap
48969 maybe-configure-target-libtermcap: configure-target-libtermcap
48970 configure-target-libtermcap:
48971 @: $(MAKE); $(unstage)
48972 @r=`${PWD_COMMAND}`; export r; \
48973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48974 echo "Checking multilib configuration for libtermcap..."; \
48975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
48976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
48977 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48978 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
48979 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
48980 else \
48981 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
48982 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48983 fi; \
48984 else \
48985 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
48986 fi; \
48987 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
48988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
48989 $(NORMAL_TARGET_EXPORTS) \
48990 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
48991 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
48992 case $(srcdir) in \
48993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48994 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
48995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48996 esac; \
48997 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
48998 libsrcdir="$$s/libtermcap"; \
48999 rm -f no-such-file || : ; \
49000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49001 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49002 --target=${target_alias} $${srcdiroption} \
49003 || exit 1
49004 @endif target-libtermcap
49010 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
49011 maybe-all-target-libtermcap:
49012 @if gcc-bootstrap
49013 all-target-libtermcap: stage_current
49014 @endif gcc-bootstrap
49015 @if target-libtermcap
49016 TARGET-target-libtermcap=all
49017 maybe-all-target-libtermcap: all-target-libtermcap
49018 all-target-libtermcap: configure-target-libtermcap
49019 @: $(MAKE); $(unstage)
49020 @r=`${PWD_COMMAND}`; export r; \
49021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49022 $(NORMAL_TARGET_EXPORTS) \
49023 (cd $(TARGET_SUBDIR)/libtermcap && \
49024 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49025 $(TARGET-target-libtermcap))
49026 @endif target-libtermcap
49032 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
49033 maybe-check-target-libtermcap:
49034 @if target-libtermcap
49035 maybe-check-target-libtermcap: check-target-libtermcap
49037 # Dummy target for uncheckable module.
49038 check-target-libtermcap:
49040 @endif target-libtermcap
49042 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
49043 maybe-install-target-libtermcap:
49044 @if target-libtermcap
49045 maybe-install-target-libtermcap: install-target-libtermcap
49047 install-target-libtermcap: installdirs
49048 @: $(MAKE); $(unstage)
49049 @r=`${PWD_COMMAND}`; export r; \
49050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49051 $(NORMAL_TARGET_EXPORTS) \
49052 (cd $(TARGET_SUBDIR)/libtermcap && \
49053 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49055 @endif target-libtermcap
49057 # Other targets (info, dvi, pdf, etc.)
49059 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
49060 maybe-info-target-libtermcap:
49061 @if target-libtermcap
49062 maybe-info-target-libtermcap: info-target-libtermcap
49064 info-target-libtermcap: \
49065 configure-target-libtermcap
49066 @: $(MAKE); $(unstage)
49067 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49068 r=`${PWD_COMMAND}`; export r; \
49069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49070 $(NORMAL_TARGET_EXPORTS) \
49071 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
49072 for flag in $(EXTRA_TARGET_FLAGS); do \
49073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49074 done; \
49075 (cd $(TARGET_SUBDIR)/libtermcap && \
49076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49078 "RANLIB=$${RANLIB}" \
49079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49080 info) \
49081 || exit 1
49083 @endif target-libtermcap
49085 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
49086 maybe-dvi-target-libtermcap:
49087 @if target-libtermcap
49088 maybe-dvi-target-libtermcap: dvi-target-libtermcap
49090 dvi-target-libtermcap: \
49091 configure-target-libtermcap
49092 @: $(MAKE); $(unstage)
49093 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49094 r=`${PWD_COMMAND}`; export r; \
49095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49096 $(NORMAL_TARGET_EXPORTS) \
49097 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
49098 for flag in $(EXTRA_TARGET_FLAGS); do \
49099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49100 done; \
49101 (cd $(TARGET_SUBDIR)/libtermcap && \
49102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49104 "RANLIB=$${RANLIB}" \
49105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49106 dvi) \
49107 || exit 1
49109 @endif target-libtermcap
49111 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
49112 maybe-pdf-target-libtermcap:
49113 @if target-libtermcap
49114 maybe-pdf-target-libtermcap: pdf-target-libtermcap
49116 pdf-target-libtermcap: \
49117 configure-target-libtermcap
49118 @: $(MAKE); $(unstage)
49119 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49120 r=`${PWD_COMMAND}`; export r; \
49121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49122 $(NORMAL_TARGET_EXPORTS) \
49123 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
49124 for flag in $(EXTRA_TARGET_FLAGS); do \
49125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49126 done; \
49127 (cd $(TARGET_SUBDIR)/libtermcap && \
49128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49130 "RANLIB=$${RANLIB}" \
49131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49132 pdf) \
49133 || exit 1
49135 @endif target-libtermcap
49137 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
49138 maybe-html-target-libtermcap:
49139 @if target-libtermcap
49140 maybe-html-target-libtermcap: html-target-libtermcap
49142 html-target-libtermcap: \
49143 configure-target-libtermcap
49144 @: $(MAKE); $(unstage)
49145 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49146 r=`${PWD_COMMAND}`; export r; \
49147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49148 $(NORMAL_TARGET_EXPORTS) \
49149 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
49150 for flag in $(EXTRA_TARGET_FLAGS); do \
49151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49152 done; \
49153 (cd $(TARGET_SUBDIR)/libtermcap && \
49154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49156 "RANLIB=$${RANLIB}" \
49157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49158 html) \
49159 || exit 1
49161 @endif target-libtermcap
49163 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
49164 maybe-TAGS-target-libtermcap:
49165 @if target-libtermcap
49166 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
49168 TAGS-target-libtermcap: \
49169 configure-target-libtermcap
49170 @: $(MAKE); $(unstage)
49171 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49172 r=`${PWD_COMMAND}`; export r; \
49173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49174 $(NORMAL_TARGET_EXPORTS) \
49175 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
49176 for flag in $(EXTRA_TARGET_FLAGS); do \
49177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49178 done; \
49179 (cd $(TARGET_SUBDIR)/libtermcap && \
49180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49182 "RANLIB=$${RANLIB}" \
49183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49184 TAGS) \
49185 || exit 1
49187 @endif target-libtermcap
49189 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
49190 maybe-install-info-target-libtermcap:
49191 @if target-libtermcap
49192 maybe-install-info-target-libtermcap: install-info-target-libtermcap
49194 install-info-target-libtermcap: \
49195 configure-target-libtermcap \
49196 info-target-libtermcap
49197 @: $(MAKE); $(unstage)
49198 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49199 r=`${PWD_COMMAND}`; export r; \
49200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49201 $(NORMAL_TARGET_EXPORTS) \
49202 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 install-info) \
49212 || exit 1
49214 @endif target-libtermcap
49216 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
49217 maybe-install-pdf-target-libtermcap:
49218 @if target-libtermcap
49219 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
49221 install-pdf-target-libtermcap: \
49222 configure-target-libtermcap \
49223 pdf-target-libtermcap
49224 @: $(MAKE); $(unstage)
49225 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49226 r=`${PWD_COMMAND}`; export r; \
49227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49228 $(NORMAL_TARGET_EXPORTS) \
49229 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
49230 for flag in $(EXTRA_TARGET_FLAGS); do \
49231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49232 done; \
49233 (cd $(TARGET_SUBDIR)/libtermcap && \
49234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49236 "RANLIB=$${RANLIB}" \
49237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49238 install-pdf) \
49239 || exit 1
49241 @endif target-libtermcap
49243 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
49244 maybe-install-html-target-libtermcap:
49245 @if target-libtermcap
49246 maybe-install-html-target-libtermcap: install-html-target-libtermcap
49248 install-html-target-libtermcap: \
49249 configure-target-libtermcap \
49250 html-target-libtermcap
49251 @: $(MAKE); $(unstage)
49252 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49253 r=`${PWD_COMMAND}`; export r; \
49254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49255 $(NORMAL_TARGET_EXPORTS) \
49256 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
49257 for flag in $(EXTRA_TARGET_FLAGS); do \
49258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49259 done; \
49260 (cd $(TARGET_SUBDIR)/libtermcap && \
49261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49263 "RANLIB=$${RANLIB}" \
49264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49265 install-html) \
49266 || exit 1
49268 @endif target-libtermcap
49270 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
49271 maybe-installcheck-target-libtermcap:
49272 @if target-libtermcap
49273 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
49275 installcheck-target-libtermcap: \
49276 configure-target-libtermcap
49277 @: $(MAKE); $(unstage)
49278 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
49279 r=`${PWD_COMMAND}`; export r; \
49280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49281 $(NORMAL_TARGET_EXPORTS) \
49282 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 installcheck) \
49292 || exit 1
49294 @endif target-libtermcap
49296 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
49297 maybe-mostlyclean-target-libtermcap:
49298 @if target-libtermcap
49299 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
49301 # libtermcap doesn't support mostlyclean.
49302 mostlyclean-target-libtermcap:
49304 @endif target-libtermcap
49306 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
49307 maybe-clean-target-libtermcap:
49308 @if target-libtermcap
49309 maybe-clean-target-libtermcap: clean-target-libtermcap
49311 # libtermcap doesn't support clean.
49312 clean-target-libtermcap:
49314 @endif target-libtermcap
49316 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
49317 maybe-distclean-target-libtermcap:
49318 @if target-libtermcap
49319 maybe-distclean-target-libtermcap: distclean-target-libtermcap
49321 # libtermcap doesn't support distclean.
49322 distclean-target-libtermcap:
49324 @endif target-libtermcap
49326 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
49327 maybe-maintainer-clean-target-libtermcap:
49328 @if target-libtermcap
49329 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
49331 # libtermcap doesn't support maintainer-clean.
49332 maintainer-clean-target-libtermcap:
49334 @endif target-libtermcap
49340 .PHONY: configure-target-winsup maybe-configure-target-winsup
49341 maybe-configure-target-winsup:
49342 @if gcc-bootstrap
49343 configure-target-winsup: stage_current
49344 @endif gcc-bootstrap
49345 @if target-winsup
49346 maybe-configure-target-winsup: configure-target-winsup
49347 configure-target-winsup:
49348 @: $(MAKE); $(unstage)
49349 @r=`${PWD_COMMAND}`; export r; \
49350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49351 echo "Checking multilib configuration for winsup..."; \
49352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
49353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
49354 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
49355 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
49356 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
49357 else \
49358 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
49359 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49360 fi; \
49361 else \
49362 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
49363 fi; \
49364 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
49365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
49366 $(NORMAL_TARGET_EXPORTS) \
49367 echo Configuring in $(TARGET_SUBDIR)/winsup; \
49368 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
49369 case $(srcdir) in \
49370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49371 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
49372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49373 esac; \
49374 srcdiroption="--srcdir=$${topdir}/winsup"; \
49375 libsrcdir="$$s/winsup"; \
49376 rm -f no-such-file || : ; \
49377 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49378 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49379 --target=${target_alias} $${srcdiroption} \
49380 || exit 1
49381 @endif target-winsup
49387 .PHONY: all-target-winsup maybe-all-target-winsup
49388 maybe-all-target-winsup:
49389 @if gcc-bootstrap
49390 all-target-winsup: stage_current
49391 @endif gcc-bootstrap
49392 @if target-winsup
49393 TARGET-target-winsup=all
49394 maybe-all-target-winsup: all-target-winsup
49395 all-target-winsup: configure-target-winsup
49396 @: $(MAKE); $(unstage)
49397 @r=`${PWD_COMMAND}`; export r; \
49398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49399 $(NORMAL_TARGET_EXPORTS) \
49400 (cd $(TARGET_SUBDIR)/winsup && \
49401 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49402 $(TARGET-target-winsup))
49403 @endif target-winsup
49409 .PHONY: check-target-winsup maybe-check-target-winsup
49410 maybe-check-target-winsup:
49411 @if target-winsup
49412 maybe-check-target-winsup: check-target-winsup
49414 check-target-winsup:
49415 @: $(MAKE); $(unstage)
49416 @r=`${PWD_COMMAND}`; export r; \
49417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49418 $(NORMAL_TARGET_EXPORTS) \
49419 (cd $(TARGET_SUBDIR)/winsup && \
49420 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49422 @endif target-winsup
49424 .PHONY: install-target-winsup maybe-install-target-winsup
49425 maybe-install-target-winsup:
49426 @if target-winsup
49427 maybe-install-target-winsup: install-target-winsup
49429 install-target-winsup: installdirs
49430 @: $(MAKE); $(unstage)
49431 @r=`${PWD_COMMAND}`; export r; \
49432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49433 $(NORMAL_TARGET_EXPORTS) \
49434 (cd $(TARGET_SUBDIR)/winsup && \
49435 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49437 @endif target-winsup
49439 # Other targets (info, dvi, pdf, etc.)
49441 .PHONY: maybe-info-target-winsup info-target-winsup
49442 maybe-info-target-winsup:
49443 @if target-winsup
49444 maybe-info-target-winsup: info-target-winsup
49446 info-target-winsup: \
49447 configure-target-winsup
49448 @: $(MAKE); $(unstage)
49449 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49450 r=`${PWD_COMMAND}`; export r; \
49451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49452 $(NORMAL_TARGET_EXPORTS) \
49453 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
49454 for flag in $(EXTRA_TARGET_FLAGS); do \
49455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49456 done; \
49457 (cd $(TARGET_SUBDIR)/winsup && \
49458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49460 "RANLIB=$${RANLIB}" \
49461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49462 info) \
49463 || exit 1
49465 @endif target-winsup
49467 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
49468 maybe-dvi-target-winsup:
49469 @if target-winsup
49470 maybe-dvi-target-winsup: dvi-target-winsup
49472 dvi-target-winsup: \
49473 configure-target-winsup
49474 @: $(MAKE); $(unstage)
49475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49476 r=`${PWD_COMMAND}`; export r; \
49477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49478 $(NORMAL_TARGET_EXPORTS) \
49479 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
49480 for flag in $(EXTRA_TARGET_FLAGS); do \
49481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49482 done; \
49483 (cd $(TARGET_SUBDIR)/winsup && \
49484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49486 "RANLIB=$${RANLIB}" \
49487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49488 dvi) \
49489 || exit 1
49491 @endif target-winsup
49493 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
49494 maybe-pdf-target-winsup:
49495 @if target-winsup
49496 maybe-pdf-target-winsup: pdf-target-winsup
49498 pdf-target-winsup: \
49499 configure-target-winsup
49500 @: $(MAKE); $(unstage)
49501 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49502 r=`${PWD_COMMAND}`; export r; \
49503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49504 $(NORMAL_TARGET_EXPORTS) \
49505 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
49506 for flag in $(EXTRA_TARGET_FLAGS); do \
49507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49508 done; \
49509 (cd $(TARGET_SUBDIR)/winsup && \
49510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49512 "RANLIB=$${RANLIB}" \
49513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49514 pdf) \
49515 || exit 1
49517 @endif target-winsup
49519 .PHONY: maybe-html-target-winsup html-target-winsup
49520 maybe-html-target-winsup:
49521 @if target-winsup
49522 maybe-html-target-winsup: html-target-winsup
49524 html-target-winsup: \
49525 configure-target-winsup
49526 @: $(MAKE); $(unstage)
49527 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49528 r=`${PWD_COMMAND}`; export r; \
49529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49530 $(NORMAL_TARGET_EXPORTS) \
49531 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
49532 for flag in $(EXTRA_TARGET_FLAGS); do \
49533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49534 done; \
49535 (cd $(TARGET_SUBDIR)/winsup && \
49536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49538 "RANLIB=$${RANLIB}" \
49539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49540 html) \
49541 || exit 1
49543 @endif target-winsup
49545 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
49546 maybe-TAGS-target-winsup:
49547 @if target-winsup
49548 maybe-TAGS-target-winsup: TAGS-target-winsup
49550 TAGS-target-winsup: \
49551 configure-target-winsup
49552 @: $(MAKE); $(unstage)
49553 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49554 r=`${PWD_COMMAND}`; export r; \
49555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49556 $(NORMAL_TARGET_EXPORTS) \
49557 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
49558 for flag in $(EXTRA_TARGET_FLAGS); do \
49559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49560 done; \
49561 (cd $(TARGET_SUBDIR)/winsup && \
49562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49564 "RANLIB=$${RANLIB}" \
49565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49566 TAGS) \
49567 || exit 1
49569 @endif target-winsup
49571 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
49572 maybe-install-info-target-winsup:
49573 @if target-winsup
49574 maybe-install-info-target-winsup: install-info-target-winsup
49576 install-info-target-winsup: \
49577 configure-target-winsup \
49578 info-target-winsup
49579 @: $(MAKE); $(unstage)
49580 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49581 r=`${PWD_COMMAND}`; export r; \
49582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49583 $(NORMAL_TARGET_EXPORTS) \
49584 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
49585 for flag in $(EXTRA_TARGET_FLAGS); do \
49586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49587 done; \
49588 (cd $(TARGET_SUBDIR)/winsup && \
49589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49591 "RANLIB=$${RANLIB}" \
49592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49593 install-info) \
49594 || exit 1
49596 @endif target-winsup
49598 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
49599 maybe-install-pdf-target-winsup:
49600 @if target-winsup
49601 maybe-install-pdf-target-winsup: install-pdf-target-winsup
49603 install-pdf-target-winsup: \
49604 configure-target-winsup \
49605 pdf-target-winsup
49606 @: $(MAKE); $(unstage)
49607 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49608 r=`${PWD_COMMAND}`; export r; \
49609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49610 $(NORMAL_TARGET_EXPORTS) \
49611 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
49612 for flag in $(EXTRA_TARGET_FLAGS); do \
49613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49614 done; \
49615 (cd $(TARGET_SUBDIR)/winsup && \
49616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49618 "RANLIB=$${RANLIB}" \
49619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49620 install-pdf) \
49621 || exit 1
49623 @endif target-winsup
49625 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
49626 maybe-install-html-target-winsup:
49627 @if target-winsup
49628 maybe-install-html-target-winsup: install-html-target-winsup
49630 install-html-target-winsup: \
49631 configure-target-winsup \
49632 html-target-winsup
49633 @: $(MAKE); $(unstage)
49634 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49635 r=`${PWD_COMMAND}`; export r; \
49636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49637 $(NORMAL_TARGET_EXPORTS) \
49638 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
49639 for flag in $(EXTRA_TARGET_FLAGS); do \
49640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49641 done; \
49642 (cd $(TARGET_SUBDIR)/winsup && \
49643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49645 "RANLIB=$${RANLIB}" \
49646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49647 install-html) \
49648 || exit 1
49650 @endif target-winsup
49652 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
49653 maybe-installcheck-target-winsup:
49654 @if target-winsup
49655 maybe-installcheck-target-winsup: installcheck-target-winsup
49657 installcheck-target-winsup: \
49658 configure-target-winsup
49659 @: $(MAKE); $(unstage)
49660 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49661 r=`${PWD_COMMAND}`; export r; \
49662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49663 $(NORMAL_TARGET_EXPORTS) \
49664 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
49665 for flag in $(EXTRA_TARGET_FLAGS); do \
49666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49667 done; \
49668 (cd $(TARGET_SUBDIR)/winsup && \
49669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49671 "RANLIB=$${RANLIB}" \
49672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49673 installcheck) \
49674 || exit 1
49676 @endif target-winsup
49678 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
49679 maybe-mostlyclean-target-winsup:
49680 @if target-winsup
49681 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
49683 mostlyclean-target-winsup:
49684 @: $(MAKE); $(unstage)
49685 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49686 r=`${PWD_COMMAND}`; export r; \
49687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49688 $(NORMAL_TARGET_EXPORTS) \
49689 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
49690 for flag in $(EXTRA_TARGET_FLAGS); do \
49691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49692 done; \
49693 (cd $(TARGET_SUBDIR)/winsup && \
49694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49696 "RANLIB=$${RANLIB}" \
49697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49698 mostlyclean) \
49699 || exit 1
49701 @endif target-winsup
49703 .PHONY: maybe-clean-target-winsup clean-target-winsup
49704 maybe-clean-target-winsup:
49705 @if target-winsup
49706 maybe-clean-target-winsup: clean-target-winsup
49708 clean-target-winsup:
49709 @: $(MAKE); $(unstage)
49710 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49711 r=`${PWD_COMMAND}`; export r; \
49712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49713 $(NORMAL_TARGET_EXPORTS) \
49714 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
49715 for flag in $(EXTRA_TARGET_FLAGS); do \
49716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49717 done; \
49718 (cd $(TARGET_SUBDIR)/winsup && \
49719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49721 "RANLIB=$${RANLIB}" \
49722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49723 clean) \
49724 || exit 1
49726 @endif target-winsup
49728 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
49729 maybe-distclean-target-winsup:
49730 @if target-winsup
49731 maybe-distclean-target-winsup: distclean-target-winsup
49733 distclean-target-winsup:
49734 @: $(MAKE); $(unstage)
49735 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49736 r=`${PWD_COMMAND}`; export r; \
49737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49738 $(NORMAL_TARGET_EXPORTS) \
49739 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
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)/winsup && \
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 distclean) \
49749 || exit 1
49751 @endif target-winsup
49753 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
49754 maybe-maintainer-clean-target-winsup:
49755 @if target-winsup
49756 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
49758 maintainer-clean-target-winsup:
49759 @: $(MAKE); $(unstage)
49760 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
49761 r=`${PWD_COMMAND}`; export r; \
49762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49763 $(NORMAL_TARGET_EXPORTS) \
49764 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
49765 for flag in $(EXTRA_TARGET_FLAGS); do \
49766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49767 done; \
49768 (cd $(TARGET_SUBDIR)/winsup && \
49769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49771 "RANLIB=$${RANLIB}" \
49772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49773 maintainer-clean) \
49774 || exit 1
49776 @endif target-winsup
49782 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
49783 maybe-configure-target-libgloss:
49784 @if gcc-bootstrap
49785 configure-target-libgloss: stage_current
49786 @endif gcc-bootstrap
49787 @if target-libgloss
49788 maybe-configure-target-libgloss: configure-target-libgloss
49789 configure-target-libgloss:
49790 @: $(MAKE); $(unstage)
49791 @r=`${PWD_COMMAND}`; export r; \
49792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49793 echo "Checking multilib configuration for libgloss..."; \
49794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
49795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
49796 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49797 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
49798 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
49799 else \
49800 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
49801 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49802 fi; \
49803 else \
49804 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
49805 fi; \
49806 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
49807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
49808 $(NORMAL_TARGET_EXPORTS) \
49809 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
49810 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
49811 case $(srcdir) in \
49812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49813 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
49814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49815 esac; \
49816 srcdiroption="--srcdir=$${topdir}/libgloss"; \
49817 libsrcdir="$$s/libgloss"; \
49818 rm -f no-such-file || : ; \
49819 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49820 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49821 --target=${target_alias} $${srcdiroption} \
49822 || exit 1
49823 @endif target-libgloss
49829 .PHONY: all-target-libgloss maybe-all-target-libgloss
49830 maybe-all-target-libgloss:
49831 @if gcc-bootstrap
49832 all-target-libgloss: stage_current
49833 @endif gcc-bootstrap
49834 @if target-libgloss
49835 TARGET-target-libgloss=all
49836 maybe-all-target-libgloss: all-target-libgloss
49837 all-target-libgloss: configure-target-libgloss
49838 @: $(MAKE); $(unstage)
49839 @r=`${PWD_COMMAND}`; export r; \
49840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49841 $(NORMAL_TARGET_EXPORTS) \
49842 (cd $(TARGET_SUBDIR)/libgloss && \
49843 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49844 $(TARGET-target-libgloss))
49845 @endif target-libgloss
49851 .PHONY: check-target-libgloss maybe-check-target-libgloss
49852 maybe-check-target-libgloss:
49853 @if target-libgloss
49854 maybe-check-target-libgloss: check-target-libgloss
49856 # Dummy target for uncheckable module.
49857 check-target-libgloss:
49859 @endif target-libgloss
49861 .PHONY: install-target-libgloss maybe-install-target-libgloss
49862 maybe-install-target-libgloss:
49863 @if target-libgloss
49864 maybe-install-target-libgloss: install-target-libgloss
49866 install-target-libgloss: installdirs
49867 @: $(MAKE); $(unstage)
49868 @r=`${PWD_COMMAND}`; export r; \
49869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49870 $(NORMAL_TARGET_EXPORTS) \
49871 (cd $(TARGET_SUBDIR)/libgloss && \
49872 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49874 @endif target-libgloss
49876 # Other targets (info, dvi, pdf, etc.)
49878 .PHONY: maybe-info-target-libgloss info-target-libgloss
49879 maybe-info-target-libgloss:
49880 @if target-libgloss
49881 maybe-info-target-libgloss: info-target-libgloss
49883 info-target-libgloss: \
49884 configure-target-libgloss
49885 @: $(MAKE); $(unstage)
49886 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
49887 r=`${PWD_COMMAND}`; export r; \
49888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49889 $(NORMAL_TARGET_EXPORTS) \
49890 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
49891 for flag in $(EXTRA_TARGET_FLAGS); do \
49892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49893 done; \
49894 (cd $(TARGET_SUBDIR)/libgloss && \
49895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49897 "RANLIB=$${RANLIB}" \
49898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49899 info) \
49900 || exit 1
49902 @endif target-libgloss
49904 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
49905 maybe-dvi-target-libgloss:
49906 @if target-libgloss
49907 maybe-dvi-target-libgloss: dvi-target-libgloss
49909 dvi-target-libgloss: \
49910 configure-target-libgloss
49911 @: $(MAKE); $(unstage)
49912 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
49913 r=`${PWD_COMMAND}`; export r; \
49914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49915 $(NORMAL_TARGET_EXPORTS) \
49916 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
49917 for flag in $(EXTRA_TARGET_FLAGS); do \
49918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49919 done; \
49920 (cd $(TARGET_SUBDIR)/libgloss && \
49921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49923 "RANLIB=$${RANLIB}" \
49924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49925 dvi) \
49926 || exit 1
49928 @endif target-libgloss
49930 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
49931 maybe-pdf-target-libgloss:
49932 @if target-libgloss
49933 maybe-pdf-target-libgloss: pdf-target-libgloss
49935 pdf-target-libgloss: \
49936 configure-target-libgloss
49937 @: $(MAKE); $(unstage)
49938 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
49939 r=`${PWD_COMMAND}`; export r; \
49940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49941 $(NORMAL_TARGET_EXPORTS) \
49942 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
49943 for flag in $(EXTRA_TARGET_FLAGS); do \
49944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49945 done; \
49946 (cd $(TARGET_SUBDIR)/libgloss && \
49947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49949 "RANLIB=$${RANLIB}" \
49950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49951 pdf) \
49952 || exit 1
49954 @endif target-libgloss
49956 .PHONY: maybe-html-target-libgloss html-target-libgloss
49957 maybe-html-target-libgloss:
49958 @if target-libgloss
49959 maybe-html-target-libgloss: html-target-libgloss
49961 html-target-libgloss: \
49962 configure-target-libgloss
49963 @: $(MAKE); $(unstage)
49964 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
49965 r=`${PWD_COMMAND}`; export r; \
49966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49967 $(NORMAL_TARGET_EXPORTS) \
49968 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
49969 for flag in $(EXTRA_TARGET_FLAGS); do \
49970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49971 done; \
49972 (cd $(TARGET_SUBDIR)/libgloss && \
49973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49975 "RANLIB=$${RANLIB}" \
49976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49977 html) \
49978 || exit 1
49980 @endif target-libgloss
49982 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
49983 maybe-TAGS-target-libgloss:
49984 @if target-libgloss
49985 maybe-TAGS-target-libgloss: TAGS-target-libgloss
49987 TAGS-target-libgloss: \
49988 configure-target-libgloss
49989 @: $(MAKE); $(unstage)
49990 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
49991 r=`${PWD_COMMAND}`; export r; \
49992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49993 $(NORMAL_TARGET_EXPORTS) \
49994 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
49995 for flag in $(EXTRA_TARGET_FLAGS); do \
49996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49997 done; \
49998 (cd $(TARGET_SUBDIR)/libgloss && \
49999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50001 "RANLIB=$${RANLIB}" \
50002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50003 TAGS) \
50004 || exit 1
50006 @endif target-libgloss
50008 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
50009 maybe-install-info-target-libgloss:
50010 @if target-libgloss
50011 maybe-install-info-target-libgloss: install-info-target-libgloss
50013 install-info-target-libgloss: \
50014 configure-target-libgloss \
50015 info-target-libgloss
50016 @: $(MAKE); $(unstage)
50017 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50018 r=`${PWD_COMMAND}`; export r; \
50019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50020 $(NORMAL_TARGET_EXPORTS) \
50021 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
50022 for flag in $(EXTRA_TARGET_FLAGS); do \
50023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50024 done; \
50025 (cd $(TARGET_SUBDIR)/libgloss && \
50026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50028 "RANLIB=$${RANLIB}" \
50029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50030 install-info) \
50031 || exit 1
50033 @endif target-libgloss
50035 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
50036 maybe-install-pdf-target-libgloss:
50037 @if target-libgloss
50038 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
50040 install-pdf-target-libgloss: \
50041 configure-target-libgloss \
50042 pdf-target-libgloss
50043 @: $(MAKE); $(unstage)
50044 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50045 r=`${PWD_COMMAND}`; export r; \
50046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50047 $(NORMAL_TARGET_EXPORTS) \
50048 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
50049 for flag in $(EXTRA_TARGET_FLAGS); do \
50050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50051 done; \
50052 (cd $(TARGET_SUBDIR)/libgloss && \
50053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50055 "RANLIB=$${RANLIB}" \
50056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50057 install-pdf) \
50058 || exit 1
50060 @endif target-libgloss
50062 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
50063 maybe-install-html-target-libgloss:
50064 @if target-libgloss
50065 maybe-install-html-target-libgloss: install-html-target-libgloss
50067 install-html-target-libgloss: \
50068 configure-target-libgloss \
50069 html-target-libgloss
50070 @: $(MAKE); $(unstage)
50071 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50072 r=`${PWD_COMMAND}`; export r; \
50073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50074 $(NORMAL_TARGET_EXPORTS) \
50075 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
50076 for flag in $(EXTRA_TARGET_FLAGS); do \
50077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50078 done; \
50079 (cd $(TARGET_SUBDIR)/libgloss && \
50080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50082 "RANLIB=$${RANLIB}" \
50083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50084 install-html) \
50085 || exit 1
50087 @endif target-libgloss
50089 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
50090 maybe-installcheck-target-libgloss:
50091 @if target-libgloss
50092 maybe-installcheck-target-libgloss: installcheck-target-libgloss
50094 installcheck-target-libgloss: \
50095 configure-target-libgloss
50096 @: $(MAKE); $(unstage)
50097 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50098 r=`${PWD_COMMAND}`; export r; \
50099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50100 $(NORMAL_TARGET_EXPORTS) \
50101 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
50102 for flag in $(EXTRA_TARGET_FLAGS); do \
50103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50104 done; \
50105 (cd $(TARGET_SUBDIR)/libgloss && \
50106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50108 "RANLIB=$${RANLIB}" \
50109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50110 installcheck) \
50111 || exit 1
50113 @endif target-libgloss
50115 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
50116 maybe-mostlyclean-target-libgloss:
50117 @if target-libgloss
50118 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
50120 mostlyclean-target-libgloss:
50121 @: $(MAKE); $(unstage)
50122 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50123 r=`${PWD_COMMAND}`; export r; \
50124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50125 $(NORMAL_TARGET_EXPORTS) \
50126 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
50127 for flag in $(EXTRA_TARGET_FLAGS); do \
50128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50129 done; \
50130 (cd $(TARGET_SUBDIR)/libgloss && \
50131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50133 "RANLIB=$${RANLIB}" \
50134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50135 mostlyclean) \
50136 || exit 1
50138 @endif target-libgloss
50140 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
50141 maybe-clean-target-libgloss:
50142 @if target-libgloss
50143 maybe-clean-target-libgloss: clean-target-libgloss
50145 clean-target-libgloss:
50146 @: $(MAKE); $(unstage)
50147 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50148 r=`${PWD_COMMAND}`; export r; \
50149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50150 $(NORMAL_TARGET_EXPORTS) \
50151 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
50152 for flag in $(EXTRA_TARGET_FLAGS); do \
50153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50154 done; \
50155 (cd $(TARGET_SUBDIR)/libgloss && \
50156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50158 "RANLIB=$${RANLIB}" \
50159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50160 clean) \
50161 || exit 1
50163 @endif target-libgloss
50165 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
50166 maybe-distclean-target-libgloss:
50167 @if target-libgloss
50168 maybe-distclean-target-libgloss: distclean-target-libgloss
50170 distclean-target-libgloss:
50171 @: $(MAKE); $(unstage)
50172 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50173 r=`${PWD_COMMAND}`; export r; \
50174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50175 $(NORMAL_TARGET_EXPORTS) \
50176 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
50177 for flag in $(EXTRA_TARGET_FLAGS); do \
50178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50179 done; \
50180 (cd $(TARGET_SUBDIR)/libgloss && \
50181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50183 "RANLIB=$${RANLIB}" \
50184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50185 distclean) \
50186 || exit 1
50188 @endif target-libgloss
50190 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
50191 maybe-maintainer-clean-target-libgloss:
50192 @if target-libgloss
50193 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
50195 maintainer-clean-target-libgloss:
50196 @: $(MAKE); $(unstage)
50197 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
50198 r=`${PWD_COMMAND}`; export r; \
50199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50200 $(NORMAL_TARGET_EXPORTS) \
50201 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
50202 for flag in $(EXTRA_TARGET_FLAGS); do \
50203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50204 done; \
50205 (cd $(TARGET_SUBDIR)/libgloss && \
50206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50208 "RANLIB=$${RANLIB}" \
50209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50210 maintainer-clean) \
50211 || exit 1
50213 @endif target-libgloss
50219 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
50220 maybe-configure-target-libiberty:
50221 @if gcc-bootstrap
50222 configure-target-libiberty: stage_current
50223 @endif gcc-bootstrap
50224 @if target-libiberty
50225 maybe-configure-target-libiberty: configure-target-libiberty
50226 configure-target-libiberty:
50227 @: $(MAKE); $(unstage)
50228 @r=`${PWD_COMMAND}`; export r; \
50229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50230 echo "Checking multilib configuration for libiberty..."; \
50231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
50232 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
50233 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
50234 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
50235 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
50236 else \
50237 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
50238 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
50239 fi; \
50240 else \
50241 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
50242 fi; \
50243 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
50244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
50245 $(NORMAL_TARGET_EXPORTS) \
50246 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
50247 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
50248 case $(srcdir) in \
50249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50250 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
50251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50252 esac; \
50253 srcdiroption="--srcdir=$${topdir}/libiberty"; \
50254 libsrcdir="$$s/libiberty"; \
50255 rm -f no-such-file || : ; \
50256 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50258 --target=${target_alias} $${srcdiroption} \
50259 || exit 1
50260 @endif target-libiberty
50266 .PHONY: all-target-libiberty maybe-all-target-libiberty
50267 maybe-all-target-libiberty:
50268 @if gcc-bootstrap
50269 all-target-libiberty: stage_current
50270 @endif gcc-bootstrap
50271 @if target-libiberty
50272 TARGET-target-libiberty=all
50273 maybe-all-target-libiberty: all-target-libiberty
50274 all-target-libiberty: configure-target-libiberty
50275 @: $(MAKE); $(unstage)
50276 @r=`${PWD_COMMAND}`; export r; \
50277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50278 $(NORMAL_TARGET_EXPORTS) \
50279 (cd $(TARGET_SUBDIR)/libiberty && \
50280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50281 $(TARGET-target-libiberty))
50282 @endif target-libiberty
50288 .PHONY: check-target-libiberty maybe-check-target-libiberty
50289 maybe-check-target-libiberty:
50290 @if target-libiberty
50291 maybe-check-target-libiberty: check-target-libiberty
50293 check-target-libiberty:
50294 @: $(MAKE); $(unstage)
50295 @r=`${PWD_COMMAND}`; export r; \
50296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50297 $(NORMAL_TARGET_EXPORTS) \
50298 (cd $(TARGET_SUBDIR)/libiberty && \
50299 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50301 @endif target-libiberty
50303 .PHONY: install-target-libiberty maybe-install-target-libiberty
50304 maybe-install-target-libiberty:
50305 @if target-libiberty
50306 maybe-install-target-libiberty: install-target-libiberty
50308 install-target-libiberty: installdirs
50309 @: $(MAKE); $(unstage)
50310 @r=`${PWD_COMMAND}`; export r; \
50311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50312 $(NORMAL_TARGET_EXPORTS) \
50313 (cd $(TARGET_SUBDIR)/libiberty && \
50314 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50316 @endif target-libiberty
50318 # Other targets (info, dvi, pdf, etc.)
50320 .PHONY: maybe-info-target-libiberty info-target-libiberty
50321 maybe-info-target-libiberty:
50322 @if target-libiberty
50323 maybe-info-target-libiberty: info-target-libiberty
50325 info-target-libiberty: \
50326 configure-target-libiberty
50327 @: $(MAKE); $(unstage)
50328 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50329 r=`${PWD_COMMAND}`; export r; \
50330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50331 $(NORMAL_TARGET_EXPORTS) \
50332 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
50333 for flag in $(EXTRA_TARGET_FLAGS); do \
50334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50335 done; \
50336 (cd $(TARGET_SUBDIR)/libiberty && \
50337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50339 "RANLIB=$${RANLIB}" \
50340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50341 info) \
50342 || exit 1
50344 @endif target-libiberty
50346 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
50347 maybe-dvi-target-libiberty:
50348 @if target-libiberty
50349 maybe-dvi-target-libiberty: dvi-target-libiberty
50351 dvi-target-libiberty: \
50352 configure-target-libiberty
50353 @: $(MAKE); $(unstage)
50354 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50355 r=`${PWD_COMMAND}`; export r; \
50356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50357 $(NORMAL_TARGET_EXPORTS) \
50358 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
50359 for flag in $(EXTRA_TARGET_FLAGS); do \
50360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50361 done; \
50362 (cd $(TARGET_SUBDIR)/libiberty && \
50363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50365 "RANLIB=$${RANLIB}" \
50366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50367 dvi) \
50368 || exit 1
50370 @endif target-libiberty
50372 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
50373 maybe-pdf-target-libiberty:
50374 @if target-libiberty
50375 maybe-pdf-target-libiberty: pdf-target-libiberty
50377 pdf-target-libiberty: \
50378 configure-target-libiberty
50379 @: $(MAKE); $(unstage)
50380 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50381 r=`${PWD_COMMAND}`; export r; \
50382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50383 $(NORMAL_TARGET_EXPORTS) \
50384 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
50385 for flag in $(EXTRA_TARGET_FLAGS); do \
50386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50387 done; \
50388 (cd $(TARGET_SUBDIR)/libiberty && \
50389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50391 "RANLIB=$${RANLIB}" \
50392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50393 pdf) \
50394 || exit 1
50396 @endif target-libiberty
50398 .PHONY: maybe-html-target-libiberty html-target-libiberty
50399 maybe-html-target-libiberty:
50400 @if target-libiberty
50401 maybe-html-target-libiberty: html-target-libiberty
50403 html-target-libiberty: \
50404 configure-target-libiberty
50405 @: $(MAKE); $(unstage)
50406 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50407 r=`${PWD_COMMAND}`; export r; \
50408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50409 $(NORMAL_TARGET_EXPORTS) \
50410 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
50411 for flag in $(EXTRA_TARGET_FLAGS); do \
50412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50413 done; \
50414 (cd $(TARGET_SUBDIR)/libiberty && \
50415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50417 "RANLIB=$${RANLIB}" \
50418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50419 html) \
50420 || exit 1
50422 @endif target-libiberty
50424 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
50425 maybe-TAGS-target-libiberty:
50426 @if target-libiberty
50427 maybe-TAGS-target-libiberty: TAGS-target-libiberty
50429 TAGS-target-libiberty: \
50430 configure-target-libiberty
50431 @: $(MAKE); $(unstage)
50432 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50433 r=`${PWD_COMMAND}`; export r; \
50434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50435 $(NORMAL_TARGET_EXPORTS) \
50436 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
50437 for flag in $(EXTRA_TARGET_FLAGS); do \
50438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50439 done; \
50440 (cd $(TARGET_SUBDIR)/libiberty && \
50441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50443 "RANLIB=$${RANLIB}" \
50444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50445 TAGS) \
50446 || exit 1
50448 @endif target-libiberty
50450 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
50451 maybe-install-info-target-libiberty:
50452 @if target-libiberty
50453 maybe-install-info-target-libiberty: install-info-target-libiberty
50455 install-info-target-libiberty: \
50456 configure-target-libiberty \
50457 info-target-libiberty
50458 @: $(MAKE); $(unstage)
50459 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50460 r=`${PWD_COMMAND}`; export r; \
50461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50462 $(NORMAL_TARGET_EXPORTS) \
50463 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
50464 for flag in $(EXTRA_TARGET_FLAGS); do \
50465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50466 done; \
50467 (cd $(TARGET_SUBDIR)/libiberty && \
50468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50470 "RANLIB=$${RANLIB}" \
50471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50472 install-info) \
50473 || exit 1
50475 @endif target-libiberty
50477 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
50478 maybe-install-pdf-target-libiberty:
50479 @if target-libiberty
50480 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
50482 install-pdf-target-libiberty: \
50483 configure-target-libiberty \
50484 pdf-target-libiberty
50485 @: $(MAKE); $(unstage)
50486 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50487 r=`${PWD_COMMAND}`; export r; \
50488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50489 $(NORMAL_TARGET_EXPORTS) \
50490 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
50491 for flag in $(EXTRA_TARGET_FLAGS); do \
50492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50493 done; \
50494 (cd $(TARGET_SUBDIR)/libiberty && \
50495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50497 "RANLIB=$${RANLIB}" \
50498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50499 install-pdf) \
50500 || exit 1
50502 @endif target-libiberty
50504 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
50505 maybe-install-html-target-libiberty:
50506 @if target-libiberty
50507 maybe-install-html-target-libiberty: install-html-target-libiberty
50509 install-html-target-libiberty: \
50510 configure-target-libiberty \
50511 html-target-libiberty
50512 @: $(MAKE); $(unstage)
50513 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50514 r=`${PWD_COMMAND}`; export r; \
50515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50516 $(NORMAL_TARGET_EXPORTS) \
50517 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
50518 for flag in $(EXTRA_TARGET_FLAGS); do \
50519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50520 done; \
50521 (cd $(TARGET_SUBDIR)/libiberty && \
50522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50524 "RANLIB=$${RANLIB}" \
50525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50526 install-html) \
50527 || exit 1
50529 @endif target-libiberty
50531 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
50532 maybe-installcheck-target-libiberty:
50533 @if target-libiberty
50534 maybe-installcheck-target-libiberty: installcheck-target-libiberty
50536 installcheck-target-libiberty: \
50537 configure-target-libiberty
50538 @: $(MAKE); $(unstage)
50539 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50540 r=`${PWD_COMMAND}`; export r; \
50541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50542 $(NORMAL_TARGET_EXPORTS) \
50543 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
50544 for flag in $(EXTRA_TARGET_FLAGS); do \
50545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50546 done; \
50547 (cd $(TARGET_SUBDIR)/libiberty && \
50548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50550 "RANLIB=$${RANLIB}" \
50551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50552 installcheck) \
50553 || exit 1
50555 @endif target-libiberty
50557 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
50558 maybe-mostlyclean-target-libiberty:
50559 @if target-libiberty
50560 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
50562 mostlyclean-target-libiberty:
50563 @: $(MAKE); $(unstage)
50564 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50565 r=`${PWD_COMMAND}`; export r; \
50566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50567 $(NORMAL_TARGET_EXPORTS) \
50568 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
50569 for flag in $(EXTRA_TARGET_FLAGS); do \
50570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50571 done; \
50572 (cd $(TARGET_SUBDIR)/libiberty && \
50573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50575 "RANLIB=$${RANLIB}" \
50576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50577 mostlyclean) \
50578 || exit 1
50580 @endif target-libiberty
50582 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
50583 maybe-clean-target-libiberty:
50584 @if target-libiberty
50585 maybe-clean-target-libiberty: clean-target-libiberty
50587 clean-target-libiberty:
50588 @: $(MAKE); $(unstage)
50589 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50590 r=`${PWD_COMMAND}`; export r; \
50591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50592 $(NORMAL_TARGET_EXPORTS) \
50593 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
50594 for flag in $(EXTRA_TARGET_FLAGS); do \
50595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50596 done; \
50597 (cd $(TARGET_SUBDIR)/libiberty && \
50598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50600 "RANLIB=$${RANLIB}" \
50601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50602 clean) \
50603 || exit 1
50605 @endif target-libiberty
50607 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
50608 maybe-distclean-target-libiberty:
50609 @if target-libiberty
50610 maybe-distclean-target-libiberty: distclean-target-libiberty
50612 distclean-target-libiberty:
50613 @: $(MAKE); $(unstage)
50614 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50615 r=`${PWD_COMMAND}`; export r; \
50616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50617 $(NORMAL_TARGET_EXPORTS) \
50618 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
50619 for flag in $(EXTRA_TARGET_FLAGS); do \
50620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50621 done; \
50622 (cd $(TARGET_SUBDIR)/libiberty && \
50623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50625 "RANLIB=$${RANLIB}" \
50626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50627 distclean) \
50628 || exit 1
50630 @endif target-libiberty
50632 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
50633 maybe-maintainer-clean-target-libiberty:
50634 @if target-libiberty
50635 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
50637 maintainer-clean-target-libiberty:
50638 @: $(MAKE); $(unstage)
50639 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
50640 r=`${PWD_COMMAND}`; export r; \
50641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50642 $(NORMAL_TARGET_EXPORTS) \
50643 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
50644 for flag in $(EXTRA_TARGET_FLAGS); do \
50645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50646 done; \
50647 (cd $(TARGET_SUBDIR)/libiberty && \
50648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50650 "RANLIB=$${RANLIB}" \
50651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50652 maintainer-clean) \
50653 || exit 1
50655 @endif target-libiberty
50661 .PHONY: configure-target-gperf maybe-configure-target-gperf
50662 maybe-configure-target-gperf:
50663 @if gcc-bootstrap
50664 configure-target-gperf: stage_current
50665 @endif gcc-bootstrap
50666 @if target-gperf
50667 maybe-configure-target-gperf: configure-target-gperf
50668 configure-target-gperf:
50669 @: $(MAKE); $(unstage)
50670 @r=`${PWD_COMMAND}`; export r; \
50671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50672 echo "Checking multilib configuration for gperf..."; \
50673 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
50674 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
50675 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
50676 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
50677 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
50678 else \
50679 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
50680 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
50681 fi; \
50682 else \
50683 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
50684 fi; \
50685 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
50686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
50687 $(NORMAL_TARGET_EXPORTS) \
50688 echo Configuring in $(TARGET_SUBDIR)/gperf; \
50689 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
50690 case $(srcdir) in \
50691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50692 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
50693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50694 esac; \
50695 srcdiroption="--srcdir=$${topdir}/gperf"; \
50696 libsrcdir="$$s/gperf"; \
50697 rm -f no-such-file || : ; \
50698 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50699 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50700 --target=${target_alias} $${srcdiroption} \
50701 || exit 1
50702 @endif target-gperf
50708 .PHONY: all-target-gperf maybe-all-target-gperf
50709 maybe-all-target-gperf:
50710 @if gcc-bootstrap
50711 all-target-gperf: stage_current
50712 @endif gcc-bootstrap
50713 @if target-gperf
50714 TARGET-target-gperf=all
50715 maybe-all-target-gperf: all-target-gperf
50716 all-target-gperf: configure-target-gperf
50717 @: $(MAKE); $(unstage)
50718 @r=`${PWD_COMMAND}`; export r; \
50719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50720 $(NORMAL_TARGET_EXPORTS) \
50721 (cd $(TARGET_SUBDIR)/gperf && \
50722 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50723 $(TARGET-target-gperf))
50724 @endif target-gperf
50730 .PHONY: check-target-gperf maybe-check-target-gperf
50731 maybe-check-target-gperf:
50732 @if target-gperf
50733 maybe-check-target-gperf: check-target-gperf
50735 check-target-gperf:
50736 @: $(MAKE); $(unstage)
50737 @r=`${PWD_COMMAND}`; export r; \
50738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50739 $(NORMAL_TARGET_EXPORTS) \
50740 (cd $(TARGET_SUBDIR)/gperf && \
50741 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50743 @endif target-gperf
50745 .PHONY: install-target-gperf maybe-install-target-gperf
50746 maybe-install-target-gperf:
50747 @if target-gperf
50748 maybe-install-target-gperf: install-target-gperf
50750 install-target-gperf: installdirs
50751 @: $(MAKE); $(unstage)
50752 @r=`${PWD_COMMAND}`; export r; \
50753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50754 $(NORMAL_TARGET_EXPORTS) \
50755 (cd $(TARGET_SUBDIR)/gperf && \
50756 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50758 @endif target-gperf
50760 # Other targets (info, dvi, pdf, etc.)
50762 .PHONY: maybe-info-target-gperf info-target-gperf
50763 maybe-info-target-gperf:
50764 @if target-gperf
50765 maybe-info-target-gperf: info-target-gperf
50767 info-target-gperf: \
50768 configure-target-gperf
50769 @: $(MAKE); $(unstage)
50770 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50771 r=`${PWD_COMMAND}`; export r; \
50772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50773 $(NORMAL_TARGET_EXPORTS) \
50774 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
50775 for flag in $(EXTRA_TARGET_FLAGS); do \
50776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50777 done; \
50778 (cd $(TARGET_SUBDIR)/gperf && \
50779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50781 "RANLIB=$${RANLIB}" \
50782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50783 info) \
50784 || exit 1
50786 @endif target-gperf
50788 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
50789 maybe-dvi-target-gperf:
50790 @if target-gperf
50791 maybe-dvi-target-gperf: dvi-target-gperf
50793 dvi-target-gperf: \
50794 configure-target-gperf
50795 @: $(MAKE); $(unstage)
50796 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50797 r=`${PWD_COMMAND}`; export r; \
50798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50799 $(NORMAL_TARGET_EXPORTS) \
50800 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
50801 for flag in $(EXTRA_TARGET_FLAGS); do \
50802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50803 done; \
50804 (cd $(TARGET_SUBDIR)/gperf && \
50805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50807 "RANLIB=$${RANLIB}" \
50808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50809 dvi) \
50810 || exit 1
50812 @endif target-gperf
50814 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
50815 maybe-pdf-target-gperf:
50816 @if target-gperf
50817 maybe-pdf-target-gperf: pdf-target-gperf
50819 pdf-target-gperf: \
50820 configure-target-gperf
50821 @: $(MAKE); $(unstage)
50822 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50823 r=`${PWD_COMMAND}`; export r; \
50824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50825 $(NORMAL_TARGET_EXPORTS) \
50826 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
50827 for flag in $(EXTRA_TARGET_FLAGS); do \
50828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50829 done; \
50830 (cd $(TARGET_SUBDIR)/gperf && \
50831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50833 "RANLIB=$${RANLIB}" \
50834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50835 pdf) \
50836 || exit 1
50838 @endif target-gperf
50840 .PHONY: maybe-html-target-gperf html-target-gperf
50841 maybe-html-target-gperf:
50842 @if target-gperf
50843 maybe-html-target-gperf: html-target-gperf
50845 html-target-gperf: \
50846 configure-target-gperf
50847 @: $(MAKE); $(unstage)
50848 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50849 r=`${PWD_COMMAND}`; export r; \
50850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50851 $(NORMAL_TARGET_EXPORTS) \
50852 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
50853 for flag in $(EXTRA_TARGET_FLAGS); do \
50854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50855 done; \
50856 (cd $(TARGET_SUBDIR)/gperf && \
50857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50859 "RANLIB=$${RANLIB}" \
50860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50861 html) \
50862 || exit 1
50864 @endif target-gperf
50866 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
50867 maybe-TAGS-target-gperf:
50868 @if target-gperf
50869 maybe-TAGS-target-gperf: TAGS-target-gperf
50871 TAGS-target-gperf: \
50872 configure-target-gperf
50873 @: $(MAKE); $(unstage)
50874 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50875 r=`${PWD_COMMAND}`; export r; \
50876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50877 $(NORMAL_TARGET_EXPORTS) \
50878 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
50879 for flag in $(EXTRA_TARGET_FLAGS); do \
50880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50881 done; \
50882 (cd $(TARGET_SUBDIR)/gperf && \
50883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50885 "RANLIB=$${RANLIB}" \
50886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50887 TAGS) \
50888 || exit 1
50890 @endif target-gperf
50892 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
50893 maybe-install-info-target-gperf:
50894 @if target-gperf
50895 maybe-install-info-target-gperf: install-info-target-gperf
50897 install-info-target-gperf: \
50898 configure-target-gperf \
50899 info-target-gperf
50900 @: $(MAKE); $(unstage)
50901 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50902 r=`${PWD_COMMAND}`; export r; \
50903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50904 $(NORMAL_TARGET_EXPORTS) \
50905 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
50906 for flag in $(EXTRA_TARGET_FLAGS); do \
50907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50908 done; \
50909 (cd $(TARGET_SUBDIR)/gperf && \
50910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50912 "RANLIB=$${RANLIB}" \
50913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50914 install-info) \
50915 || exit 1
50917 @endif target-gperf
50919 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
50920 maybe-install-pdf-target-gperf:
50921 @if target-gperf
50922 maybe-install-pdf-target-gperf: install-pdf-target-gperf
50924 install-pdf-target-gperf: \
50925 configure-target-gperf \
50926 pdf-target-gperf
50927 @: $(MAKE); $(unstage)
50928 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50929 r=`${PWD_COMMAND}`; export r; \
50930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50931 $(NORMAL_TARGET_EXPORTS) \
50932 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
50933 for flag in $(EXTRA_TARGET_FLAGS); do \
50934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50935 done; \
50936 (cd $(TARGET_SUBDIR)/gperf && \
50937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50939 "RANLIB=$${RANLIB}" \
50940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50941 install-pdf) \
50942 || exit 1
50944 @endif target-gperf
50946 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
50947 maybe-install-html-target-gperf:
50948 @if target-gperf
50949 maybe-install-html-target-gperf: install-html-target-gperf
50951 install-html-target-gperf: \
50952 configure-target-gperf \
50953 html-target-gperf
50954 @: $(MAKE); $(unstage)
50955 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50956 r=`${PWD_COMMAND}`; export r; \
50957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50958 $(NORMAL_TARGET_EXPORTS) \
50959 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
50960 for flag in $(EXTRA_TARGET_FLAGS); do \
50961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50962 done; \
50963 (cd $(TARGET_SUBDIR)/gperf && \
50964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50966 "RANLIB=$${RANLIB}" \
50967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50968 install-html) \
50969 || exit 1
50971 @endif target-gperf
50973 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
50974 maybe-installcheck-target-gperf:
50975 @if target-gperf
50976 maybe-installcheck-target-gperf: installcheck-target-gperf
50978 installcheck-target-gperf: \
50979 configure-target-gperf
50980 @: $(MAKE); $(unstage)
50981 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
50982 r=`${PWD_COMMAND}`; export r; \
50983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50984 $(NORMAL_TARGET_EXPORTS) \
50985 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
50986 for flag in $(EXTRA_TARGET_FLAGS); do \
50987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50988 done; \
50989 (cd $(TARGET_SUBDIR)/gperf && \
50990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50992 "RANLIB=$${RANLIB}" \
50993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50994 installcheck) \
50995 || exit 1
50997 @endif target-gperf
50999 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
51000 maybe-mostlyclean-target-gperf:
51001 @if target-gperf
51002 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
51004 mostlyclean-target-gperf:
51005 @: $(MAKE); $(unstage)
51006 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
51007 r=`${PWD_COMMAND}`; export r; \
51008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51009 $(NORMAL_TARGET_EXPORTS) \
51010 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
51011 for flag in $(EXTRA_TARGET_FLAGS); do \
51012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51013 done; \
51014 (cd $(TARGET_SUBDIR)/gperf && \
51015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51017 "RANLIB=$${RANLIB}" \
51018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51019 mostlyclean) \
51020 || exit 1
51022 @endif target-gperf
51024 .PHONY: maybe-clean-target-gperf clean-target-gperf
51025 maybe-clean-target-gperf:
51026 @if target-gperf
51027 maybe-clean-target-gperf: clean-target-gperf
51029 clean-target-gperf:
51030 @: $(MAKE); $(unstage)
51031 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
51032 r=`${PWD_COMMAND}`; export r; \
51033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51034 $(NORMAL_TARGET_EXPORTS) \
51035 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
51036 for flag in $(EXTRA_TARGET_FLAGS); do \
51037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51038 done; \
51039 (cd $(TARGET_SUBDIR)/gperf && \
51040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51042 "RANLIB=$${RANLIB}" \
51043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51044 clean) \
51045 || exit 1
51047 @endif target-gperf
51049 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
51050 maybe-distclean-target-gperf:
51051 @if target-gperf
51052 maybe-distclean-target-gperf: distclean-target-gperf
51054 distclean-target-gperf:
51055 @: $(MAKE); $(unstage)
51056 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
51057 r=`${PWD_COMMAND}`; export r; \
51058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51059 $(NORMAL_TARGET_EXPORTS) \
51060 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
51061 for flag in $(EXTRA_TARGET_FLAGS); do \
51062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51063 done; \
51064 (cd $(TARGET_SUBDIR)/gperf && \
51065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51067 "RANLIB=$${RANLIB}" \
51068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51069 distclean) \
51070 || exit 1
51072 @endif target-gperf
51074 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
51075 maybe-maintainer-clean-target-gperf:
51076 @if target-gperf
51077 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
51079 maintainer-clean-target-gperf:
51080 @: $(MAKE); $(unstage)
51081 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
51082 r=`${PWD_COMMAND}`; export r; \
51083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51084 $(NORMAL_TARGET_EXPORTS) \
51085 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
51086 for flag in $(EXTRA_TARGET_FLAGS); do \
51087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51088 done; \
51089 (cd $(TARGET_SUBDIR)/gperf && \
51090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51092 "RANLIB=$${RANLIB}" \
51093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51094 maintainer-clean) \
51095 || exit 1
51097 @endif target-gperf
51103 .PHONY: configure-target-examples maybe-configure-target-examples
51104 maybe-configure-target-examples:
51105 @if gcc-bootstrap
51106 configure-target-examples: stage_current
51107 @endif gcc-bootstrap
51108 @if target-examples
51109 maybe-configure-target-examples: configure-target-examples
51110 configure-target-examples:
51111 @: $(MAKE); $(unstage)
51112 @r=`${PWD_COMMAND}`; export r; \
51113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51114 echo "Checking multilib configuration for examples..."; \
51115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
51116 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
51117 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
51118 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
51119 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
51120 else \
51121 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
51122 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
51123 fi; \
51124 else \
51125 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
51126 fi; \
51127 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
51128 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
51129 $(NORMAL_TARGET_EXPORTS) \
51130 echo Configuring in $(TARGET_SUBDIR)/examples; \
51131 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
51132 case $(srcdir) in \
51133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51134 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
51135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51136 esac; \
51137 srcdiroption="--srcdir=$${topdir}/examples"; \
51138 libsrcdir="$$s/examples"; \
51139 rm -f no-such-file || : ; \
51140 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51141 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51142 --target=${target_alias} $${srcdiroption} \
51143 || exit 1
51144 @endif target-examples
51150 .PHONY: all-target-examples maybe-all-target-examples
51151 maybe-all-target-examples:
51152 @if gcc-bootstrap
51153 all-target-examples: stage_current
51154 @endif gcc-bootstrap
51155 @if target-examples
51156 TARGET-target-examples=all
51157 maybe-all-target-examples: all-target-examples
51158 all-target-examples: configure-target-examples
51159 @: $(MAKE); $(unstage)
51160 @r=`${PWD_COMMAND}`; export r; \
51161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51162 $(NORMAL_TARGET_EXPORTS) \
51163 (cd $(TARGET_SUBDIR)/examples && \
51164 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51165 $(TARGET-target-examples))
51166 @endif target-examples
51172 .PHONY: check-target-examples maybe-check-target-examples
51173 maybe-check-target-examples:
51174 @if target-examples
51175 maybe-check-target-examples: check-target-examples
51177 # Dummy target for uncheckable module.
51178 check-target-examples:
51180 @endif target-examples
51182 .PHONY: install-target-examples maybe-install-target-examples
51183 maybe-install-target-examples:
51184 @if target-examples
51185 maybe-install-target-examples: install-target-examples
51187 # Dummy target for uninstallable.
51188 install-target-examples:
51190 @endif target-examples
51192 # Other targets (info, dvi, pdf, etc.)
51194 .PHONY: maybe-info-target-examples info-target-examples
51195 maybe-info-target-examples:
51196 @if target-examples
51197 maybe-info-target-examples: info-target-examples
51199 info-target-examples: \
51200 configure-target-examples
51201 @: $(MAKE); $(unstage)
51202 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51203 r=`${PWD_COMMAND}`; export r; \
51204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51205 $(NORMAL_TARGET_EXPORTS) \
51206 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
51207 for flag in $(EXTRA_TARGET_FLAGS); do \
51208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51209 done; \
51210 (cd $(TARGET_SUBDIR)/examples && \
51211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51213 "RANLIB=$${RANLIB}" \
51214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51215 info) \
51216 || exit 1
51218 @endif target-examples
51220 .PHONY: maybe-dvi-target-examples dvi-target-examples
51221 maybe-dvi-target-examples:
51222 @if target-examples
51223 maybe-dvi-target-examples: dvi-target-examples
51225 dvi-target-examples: \
51226 configure-target-examples
51227 @: $(MAKE); $(unstage)
51228 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51229 r=`${PWD_COMMAND}`; export r; \
51230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51231 $(NORMAL_TARGET_EXPORTS) \
51232 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
51233 for flag in $(EXTRA_TARGET_FLAGS); do \
51234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51235 done; \
51236 (cd $(TARGET_SUBDIR)/examples && \
51237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51239 "RANLIB=$${RANLIB}" \
51240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51241 dvi) \
51242 || exit 1
51244 @endif target-examples
51246 .PHONY: maybe-pdf-target-examples pdf-target-examples
51247 maybe-pdf-target-examples:
51248 @if target-examples
51249 maybe-pdf-target-examples: pdf-target-examples
51251 pdf-target-examples: \
51252 configure-target-examples
51253 @: $(MAKE); $(unstage)
51254 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51255 r=`${PWD_COMMAND}`; export r; \
51256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51257 $(NORMAL_TARGET_EXPORTS) \
51258 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
51259 for flag in $(EXTRA_TARGET_FLAGS); do \
51260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51261 done; \
51262 (cd $(TARGET_SUBDIR)/examples && \
51263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51265 "RANLIB=$${RANLIB}" \
51266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51267 pdf) \
51268 || exit 1
51270 @endif target-examples
51272 .PHONY: maybe-html-target-examples html-target-examples
51273 maybe-html-target-examples:
51274 @if target-examples
51275 maybe-html-target-examples: html-target-examples
51277 html-target-examples: \
51278 configure-target-examples
51279 @: $(MAKE); $(unstage)
51280 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51281 r=`${PWD_COMMAND}`; export r; \
51282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51283 $(NORMAL_TARGET_EXPORTS) \
51284 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
51285 for flag in $(EXTRA_TARGET_FLAGS); do \
51286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51287 done; \
51288 (cd $(TARGET_SUBDIR)/examples && \
51289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51291 "RANLIB=$${RANLIB}" \
51292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51293 html) \
51294 || exit 1
51296 @endif target-examples
51298 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
51299 maybe-TAGS-target-examples:
51300 @if target-examples
51301 maybe-TAGS-target-examples: TAGS-target-examples
51303 TAGS-target-examples: \
51304 configure-target-examples
51305 @: $(MAKE); $(unstage)
51306 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51307 r=`${PWD_COMMAND}`; export r; \
51308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51309 $(NORMAL_TARGET_EXPORTS) \
51310 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
51311 for flag in $(EXTRA_TARGET_FLAGS); do \
51312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51313 done; \
51314 (cd $(TARGET_SUBDIR)/examples && \
51315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51317 "RANLIB=$${RANLIB}" \
51318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51319 TAGS) \
51320 || exit 1
51322 @endif target-examples
51324 .PHONY: maybe-install-info-target-examples install-info-target-examples
51325 maybe-install-info-target-examples:
51326 @if target-examples
51327 maybe-install-info-target-examples: install-info-target-examples
51329 install-info-target-examples: \
51330 configure-target-examples \
51331 info-target-examples
51332 @: $(MAKE); $(unstage)
51333 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51334 r=`${PWD_COMMAND}`; export r; \
51335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51336 $(NORMAL_TARGET_EXPORTS) \
51337 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
51338 for flag in $(EXTRA_TARGET_FLAGS); do \
51339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51340 done; \
51341 (cd $(TARGET_SUBDIR)/examples && \
51342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51344 "RANLIB=$${RANLIB}" \
51345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51346 install-info) \
51347 || exit 1
51349 @endif target-examples
51351 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
51352 maybe-install-pdf-target-examples:
51353 @if target-examples
51354 maybe-install-pdf-target-examples: install-pdf-target-examples
51356 install-pdf-target-examples: \
51357 configure-target-examples \
51358 pdf-target-examples
51359 @: $(MAKE); $(unstage)
51360 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51361 r=`${PWD_COMMAND}`; export r; \
51362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51363 $(NORMAL_TARGET_EXPORTS) \
51364 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
51365 for flag in $(EXTRA_TARGET_FLAGS); do \
51366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51367 done; \
51368 (cd $(TARGET_SUBDIR)/examples && \
51369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51371 "RANLIB=$${RANLIB}" \
51372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51373 install-pdf) \
51374 || exit 1
51376 @endif target-examples
51378 .PHONY: maybe-install-html-target-examples install-html-target-examples
51379 maybe-install-html-target-examples:
51380 @if target-examples
51381 maybe-install-html-target-examples: install-html-target-examples
51383 install-html-target-examples: \
51384 configure-target-examples \
51385 html-target-examples
51386 @: $(MAKE); $(unstage)
51387 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51388 r=`${PWD_COMMAND}`; export r; \
51389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51390 $(NORMAL_TARGET_EXPORTS) \
51391 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
51392 for flag in $(EXTRA_TARGET_FLAGS); do \
51393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51394 done; \
51395 (cd $(TARGET_SUBDIR)/examples && \
51396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51398 "RANLIB=$${RANLIB}" \
51399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51400 install-html) \
51401 || exit 1
51403 @endif target-examples
51405 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
51406 maybe-installcheck-target-examples:
51407 @if target-examples
51408 maybe-installcheck-target-examples: installcheck-target-examples
51410 installcheck-target-examples: \
51411 configure-target-examples
51412 @: $(MAKE); $(unstage)
51413 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51414 r=`${PWD_COMMAND}`; export r; \
51415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51416 $(NORMAL_TARGET_EXPORTS) \
51417 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
51418 for flag in $(EXTRA_TARGET_FLAGS); do \
51419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51420 done; \
51421 (cd $(TARGET_SUBDIR)/examples && \
51422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51424 "RANLIB=$${RANLIB}" \
51425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51426 installcheck) \
51427 || exit 1
51429 @endif target-examples
51431 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
51432 maybe-mostlyclean-target-examples:
51433 @if target-examples
51434 maybe-mostlyclean-target-examples: mostlyclean-target-examples
51436 mostlyclean-target-examples:
51437 @: $(MAKE); $(unstage)
51438 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51439 r=`${PWD_COMMAND}`; export r; \
51440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51441 $(NORMAL_TARGET_EXPORTS) \
51442 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
51443 for flag in $(EXTRA_TARGET_FLAGS); do \
51444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51445 done; \
51446 (cd $(TARGET_SUBDIR)/examples && \
51447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51449 "RANLIB=$${RANLIB}" \
51450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51451 mostlyclean) \
51452 || exit 1
51454 @endif target-examples
51456 .PHONY: maybe-clean-target-examples clean-target-examples
51457 maybe-clean-target-examples:
51458 @if target-examples
51459 maybe-clean-target-examples: clean-target-examples
51461 clean-target-examples:
51462 @: $(MAKE); $(unstage)
51463 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51464 r=`${PWD_COMMAND}`; export r; \
51465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51466 $(NORMAL_TARGET_EXPORTS) \
51467 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
51468 for flag in $(EXTRA_TARGET_FLAGS); do \
51469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51470 done; \
51471 (cd $(TARGET_SUBDIR)/examples && \
51472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51474 "RANLIB=$${RANLIB}" \
51475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51476 clean) \
51477 || exit 1
51479 @endif target-examples
51481 .PHONY: maybe-distclean-target-examples distclean-target-examples
51482 maybe-distclean-target-examples:
51483 @if target-examples
51484 maybe-distclean-target-examples: distclean-target-examples
51486 distclean-target-examples:
51487 @: $(MAKE); $(unstage)
51488 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51489 r=`${PWD_COMMAND}`; export r; \
51490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51491 $(NORMAL_TARGET_EXPORTS) \
51492 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
51493 for flag in $(EXTRA_TARGET_FLAGS); do \
51494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51495 done; \
51496 (cd $(TARGET_SUBDIR)/examples && \
51497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51499 "RANLIB=$${RANLIB}" \
51500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51501 distclean) \
51502 || exit 1
51504 @endif target-examples
51506 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
51507 maybe-maintainer-clean-target-examples:
51508 @if target-examples
51509 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
51511 maintainer-clean-target-examples:
51512 @: $(MAKE); $(unstage)
51513 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
51514 r=`${PWD_COMMAND}`; export r; \
51515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51516 $(NORMAL_TARGET_EXPORTS) \
51517 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
51518 for flag in $(EXTRA_TARGET_FLAGS); do \
51519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51520 done; \
51521 (cd $(TARGET_SUBDIR)/examples && \
51522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51524 "RANLIB=$${RANLIB}" \
51525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51526 maintainer-clean) \
51527 || exit 1
51529 @endif target-examples
51535 .PHONY: configure-target-libffi maybe-configure-target-libffi
51536 maybe-configure-target-libffi:
51537 @if gcc-bootstrap
51538 configure-target-libffi: stage_current
51539 @endif gcc-bootstrap
51540 @if target-libffi
51541 maybe-configure-target-libffi: configure-target-libffi
51542 configure-target-libffi:
51543 @: $(MAKE); $(unstage)
51544 @r=`${PWD_COMMAND}`; export r; \
51545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51546 echo "Checking multilib configuration for libffi..."; \
51547 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
51548 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
51549 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
51550 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
51551 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
51552 else \
51553 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
51554 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
51555 fi; \
51556 else \
51557 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
51558 fi; \
51559 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
51560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
51561 $(NORMAL_TARGET_EXPORTS) \
51562 echo Configuring in $(TARGET_SUBDIR)/libffi; \
51563 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
51564 case $(srcdir) in \
51565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51566 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
51567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51568 esac; \
51569 srcdiroption="--srcdir=$${topdir}/libffi"; \
51570 libsrcdir="$$s/libffi"; \
51571 rm -f no-such-file || : ; \
51572 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
51573 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51574 --target=${target_alias} $${srcdiroption} \
51575 || exit 1
51576 @endif target-libffi
51582 .PHONY: all-target-libffi maybe-all-target-libffi
51583 maybe-all-target-libffi:
51584 @if gcc-bootstrap
51585 all-target-libffi: stage_current
51586 @endif gcc-bootstrap
51587 @if target-libffi
51588 TARGET-target-libffi=all
51589 maybe-all-target-libffi: all-target-libffi
51590 all-target-libffi: configure-target-libffi
51591 @: $(MAKE); $(unstage)
51592 @r=`${PWD_COMMAND}`; export r; \
51593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51594 $(NORMAL_TARGET_EXPORTS) \
51595 (cd $(TARGET_SUBDIR)/libffi && \
51596 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51597 $(TARGET-target-libffi))
51598 @endif target-libffi
51604 .PHONY: check-target-libffi maybe-check-target-libffi
51605 maybe-check-target-libffi:
51606 @if target-libffi
51607 maybe-check-target-libffi: check-target-libffi
51609 check-target-libffi:
51610 @: $(MAKE); $(unstage)
51611 @r=`${PWD_COMMAND}`; export r; \
51612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51613 $(NORMAL_TARGET_EXPORTS) \
51614 (cd $(TARGET_SUBDIR)/libffi && \
51615 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51617 @endif target-libffi
51619 .PHONY: install-target-libffi maybe-install-target-libffi
51620 maybe-install-target-libffi:
51621 @if target-libffi
51622 maybe-install-target-libffi: install-target-libffi
51624 install-target-libffi: installdirs
51625 @: $(MAKE); $(unstage)
51626 @r=`${PWD_COMMAND}`; export r; \
51627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51628 $(NORMAL_TARGET_EXPORTS) \
51629 (cd $(TARGET_SUBDIR)/libffi && \
51630 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51632 @endif target-libffi
51634 # Other targets (info, dvi, pdf, etc.)
51636 .PHONY: maybe-info-target-libffi info-target-libffi
51637 maybe-info-target-libffi:
51638 @if target-libffi
51639 maybe-info-target-libffi: info-target-libffi
51641 info-target-libffi: \
51642 configure-target-libffi
51643 @: $(MAKE); $(unstage)
51644 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51645 r=`${PWD_COMMAND}`; export r; \
51646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51647 $(NORMAL_TARGET_EXPORTS) \
51648 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
51649 for flag in $(EXTRA_TARGET_FLAGS); do \
51650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51651 done; \
51652 (cd $(TARGET_SUBDIR)/libffi && \
51653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51655 "RANLIB=$${RANLIB}" \
51656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51657 info) \
51658 || exit 1
51660 @endif target-libffi
51662 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
51663 maybe-dvi-target-libffi:
51664 @if target-libffi
51665 maybe-dvi-target-libffi: dvi-target-libffi
51667 dvi-target-libffi: \
51668 configure-target-libffi
51669 @: $(MAKE); $(unstage)
51670 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51671 r=`${PWD_COMMAND}`; export r; \
51672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51673 $(NORMAL_TARGET_EXPORTS) \
51674 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
51675 for flag in $(EXTRA_TARGET_FLAGS); do \
51676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51677 done; \
51678 (cd $(TARGET_SUBDIR)/libffi && \
51679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51681 "RANLIB=$${RANLIB}" \
51682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51683 dvi) \
51684 || exit 1
51686 @endif target-libffi
51688 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
51689 maybe-pdf-target-libffi:
51690 @if target-libffi
51691 maybe-pdf-target-libffi: pdf-target-libffi
51693 pdf-target-libffi: \
51694 configure-target-libffi
51695 @: $(MAKE); $(unstage)
51696 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51697 r=`${PWD_COMMAND}`; export r; \
51698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51699 $(NORMAL_TARGET_EXPORTS) \
51700 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
51701 for flag in $(EXTRA_TARGET_FLAGS); do \
51702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51703 done; \
51704 (cd $(TARGET_SUBDIR)/libffi && \
51705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51707 "RANLIB=$${RANLIB}" \
51708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51709 pdf) \
51710 || exit 1
51712 @endif target-libffi
51714 .PHONY: maybe-html-target-libffi html-target-libffi
51715 maybe-html-target-libffi:
51716 @if target-libffi
51717 maybe-html-target-libffi: html-target-libffi
51719 html-target-libffi: \
51720 configure-target-libffi
51721 @: $(MAKE); $(unstage)
51722 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51723 r=`${PWD_COMMAND}`; export r; \
51724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51725 $(NORMAL_TARGET_EXPORTS) \
51726 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
51727 for flag in $(EXTRA_TARGET_FLAGS); do \
51728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51729 done; \
51730 (cd $(TARGET_SUBDIR)/libffi && \
51731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51733 "RANLIB=$${RANLIB}" \
51734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51735 html) \
51736 || exit 1
51738 @endif target-libffi
51740 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
51741 maybe-TAGS-target-libffi:
51742 @if target-libffi
51743 maybe-TAGS-target-libffi: TAGS-target-libffi
51745 TAGS-target-libffi: \
51746 configure-target-libffi
51747 @: $(MAKE); $(unstage)
51748 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51749 r=`${PWD_COMMAND}`; export r; \
51750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51751 $(NORMAL_TARGET_EXPORTS) \
51752 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
51753 for flag in $(EXTRA_TARGET_FLAGS); do \
51754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51755 done; \
51756 (cd $(TARGET_SUBDIR)/libffi && \
51757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51759 "RANLIB=$${RANLIB}" \
51760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51761 TAGS) \
51762 || exit 1
51764 @endif target-libffi
51766 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
51767 maybe-install-info-target-libffi:
51768 @if target-libffi
51769 maybe-install-info-target-libffi: install-info-target-libffi
51771 install-info-target-libffi: \
51772 configure-target-libffi \
51773 info-target-libffi
51774 @: $(MAKE); $(unstage)
51775 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51776 r=`${PWD_COMMAND}`; export r; \
51777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51778 $(NORMAL_TARGET_EXPORTS) \
51779 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
51780 for flag in $(EXTRA_TARGET_FLAGS); do \
51781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51782 done; \
51783 (cd $(TARGET_SUBDIR)/libffi && \
51784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51786 "RANLIB=$${RANLIB}" \
51787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51788 install-info) \
51789 || exit 1
51791 @endif target-libffi
51793 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
51794 maybe-install-pdf-target-libffi:
51795 @if target-libffi
51796 maybe-install-pdf-target-libffi: install-pdf-target-libffi
51798 install-pdf-target-libffi: \
51799 configure-target-libffi \
51800 pdf-target-libffi
51801 @: $(MAKE); $(unstage)
51802 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51803 r=`${PWD_COMMAND}`; export r; \
51804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51805 $(NORMAL_TARGET_EXPORTS) \
51806 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
51807 for flag in $(EXTRA_TARGET_FLAGS); do \
51808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51809 done; \
51810 (cd $(TARGET_SUBDIR)/libffi && \
51811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51813 "RANLIB=$${RANLIB}" \
51814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51815 install-pdf) \
51816 || exit 1
51818 @endif target-libffi
51820 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
51821 maybe-install-html-target-libffi:
51822 @if target-libffi
51823 maybe-install-html-target-libffi: install-html-target-libffi
51825 install-html-target-libffi: \
51826 configure-target-libffi \
51827 html-target-libffi
51828 @: $(MAKE); $(unstage)
51829 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51830 r=`${PWD_COMMAND}`; export r; \
51831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51832 $(NORMAL_TARGET_EXPORTS) \
51833 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
51834 for flag in $(EXTRA_TARGET_FLAGS); do \
51835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51836 done; \
51837 (cd $(TARGET_SUBDIR)/libffi && \
51838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51840 "RANLIB=$${RANLIB}" \
51841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51842 install-html) \
51843 || exit 1
51845 @endif target-libffi
51847 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
51848 maybe-installcheck-target-libffi:
51849 @if target-libffi
51850 maybe-installcheck-target-libffi: installcheck-target-libffi
51852 installcheck-target-libffi: \
51853 configure-target-libffi
51854 @: $(MAKE); $(unstage)
51855 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51856 r=`${PWD_COMMAND}`; export r; \
51857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51858 $(NORMAL_TARGET_EXPORTS) \
51859 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
51860 for flag in $(EXTRA_TARGET_FLAGS); do \
51861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51862 done; \
51863 (cd $(TARGET_SUBDIR)/libffi && \
51864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51866 "RANLIB=$${RANLIB}" \
51867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51868 installcheck) \
51869 || exit 1
51871 @endif target-libffi
51873 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
51874 maybe-mostlyclean-target-libffi:
51875 @if target-libffi
51876 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
51878 mostlyclean-target-libffi:
51879 @: $(MAKE); $(unstage)
51880 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51881 r=`${PWD_COMMAND}`; export r; \
51882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51883 $(NORMAL_TARGET_EXPORTS) \
51884 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
51885 for flag in $(EXTRA_TARGET_FLAGS); do \
51886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51887 done; \
51888 (cd $(TARGET_SUBDIR)/libffi && \
51889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51891 "RANLIB=$${RANLIB}" \
51892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51893 mostlyclean) \
51894 || exit 1
51896 @endif target-libffi
51898 .PHONY: maybe-clean-target-libffi clean-target-libffi
51899 maybe-clean-target-libffi:
51900 @if target-libffi
51901 maybe-clean-target-libffi: clean-target-libffi
51903 clean-target-libffi:
51904 @: $(MAKE); $(unstage)
51905 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51906 r=`${PWD_COMMAND}`; export r; \
51907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51908 $(NORMAL_TARGET_EXPORTS) \
51909 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
51910 for flag in $(EXTRA_TARGET_FLAGS); do \
51911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51912 done; \
51913 (cd $(TARGET_SUBDIR)/libffi && \
51914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51916 "RANLIB=$${RANLIB}" \
51917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51918 clean) \
51919 || exit 1
51921 @endif target-libffi
51923 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
51924 maybe-distclean-target-libffi:
51925 @if target-libffi
51926 maybe-distclean-target-libffi: distclean-target-libffi
51928 distclean-target-libffi:
51929 @: $(MAKE); $(unstage)
51930 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51931 r=`${PWD_COMMAND}`; export r; \
51932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51933 $(NORMAL_TARGET_EXPORTS) \
51934 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
51935 for flag in $(EXTRA_TARGET_FLAGS); do \
51936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51937 done; \
51938 (cd $(TARGET_SUBDIR)/libffi && \
51939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51941 "RANLIB=$${RANLIB}" \
51942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51943 distclean) \
51944 || exit 1
51946 @endif target-libffi
51948 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
51949 maybe-maintainer-clean-target-libffi:
51950 @if target-libffi
51951 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
51953 maintainer-clean-target-libffi:
51954 @: $(MAKE); $(unstage)
51955 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
51956 r=`${PWD_COMMAND}`; export r; \
51957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51958 $(NORMAL_TARGET_EXPORTS) \
51959 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 maintainer-clean) \
51969 || exit 1
51971 @endif target-libffi
51977 .PHONY: configure-target-libjava maybe-configure-target-libjava
51978 maybe-configure-target-libjava:
51979 @if gcc-bootstrap
51980 configure-target-libjava: stage_current
51981 @endif gcc-bootstrap
51982 @if target-libjava
51983 maybe-configure-target-libjava: configure-target-libjava
51984 configure-target-libjava:
51985 @: $(MAKE); $(unstage)
51986 @r=`${PWD_COMMAND}`; export r; \
51987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51988 echo "Checking multilib configuration for libjava..."; \
51989 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
51990 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
51991 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
51992 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
51993 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
51994 else \
51995 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
51996 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
51997 fi; \
51998 else \
51999 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
52000 fi; \
52001 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
52002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
52003 $(RAW_CXX_TARGET_EXPORTS) \
52004 echo Configuring in $(TARGET_SUBDIR)/libjava; \
52005 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
52006 case $(srcdir) in \
52007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52008 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
52009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52010 esac; \
52011 srcdiroption="--srcdir=$${topdir}/libjava"; \
52012 libsrcdir="$$s/libjava"; \
52013 rm -f no-such-file || : ; \
52014 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52015 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52016 --target=${target_alias} $${srcdiroption} \
52017 || exit 1
52018 @endif target-libjava
52024 .PHONY: all-target-libjava maybe-all-target-libjava
52025 maybe-all-target-libjava:
52026 @if gcc-bootstrap
52027 all-target-libjava: stage_current
52028 @endif gcc-bootstrap
52029 @if target-libjava
52030 TARGET-target-libjava=all
52031 maybe-all-target-libjava: all-target-libjava
52032 all-target-libjava: configure-target-libjava
52033 @: $(MAKE); $(unstage)
52034 @r=`${PWD_COMMAND}`; export r; \
52035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52036 $(RAW_CXX_TARGET_EXPORTS) \
52037 (cd $(TARGET_SUBDIR)/libjava && \
52038 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
52039 $(TARGET-target-libjava))
52040 @endif target-libjava
52046 .PHONY: check-target-libjava maybe-check-target-libjava
52047 maybe-check-target-libjava:
52048 @if target-libjava
52049 maybe-check-target-libjava: check-target-libjava
52051 check-target-libjava:
52052 @: $(MAKE); $(unstage)
52053 @r=`${PWD_COMMAND}`; export r; \
52054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52055 $(RAW_CXX_TARGET_EXPORTS) \
52056 (cd $(TARGET_SUBDIR)/libjava && \
52057 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
52059 @endif target-libjava
52061 .PHONY: install-target-libjava maybe-install-target-libjava
52062 maybe-install-target-libjava:
52063 @if target-libjava
52064 maybe-install-target-libjava: install-target-libjava
52066 install-target-libjava: installdirs
52067 @: $(MAKE); $(unstage)
52068 @r=`${PWD_COMMAND}`; export r; \
52069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52070 $(RAW_CXX_TARGET_EXPORTS) \
52071 (cd $(TARGET_SUBDIR)/libjava && \
52072 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52074 @endif target-libjava
52076 # Other targets (info, dvi, pdf, etc.)
52078 .PHONY: maybe-info-target-libjava info-target-libjava
52079 maybe-info-target-libjava:
52080 @if target-libjava
52081 maybe-info-target-libjava: info-target-libjava
52083 info-target-libjava: \
52084 configure-target-libjava
52085 @: $(MAKE); $(unstage)
52086 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52087 r=`${PWD_COMMAND}`; export r; \
52088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52089 $(RAW_CXX_TARGET_EXPORTS) \
52090 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
52091 for flag in $(EXTRA_TARGET_FLAGS); do \
52092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52093 done; \
52094 (cd $(TARGET_SUBDIR)/libjava && \
52095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52097 "RANLIB=$${RANLIB}" \
52098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52099 info) \
52100 || exit 1
52102 @endif target-libjava
52104 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
52105 maybe-dvi-target-libjava:
52106 @if target-libjava
52107 maybe-dvi-target-libjava: dvi-target-libjava
52109 dvi-target-libjava: \
52110 configure-target-libjava
52111 @: $(MAKE); $(unstage)
52112 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52113 r=`${PWD_COMMAND}`; export r; \
52114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52115 $(RAW_CXX_TARGET_EXPORTS) \
52116 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
52117 for flag in $(EXTRA_TARGET_FLAGS); do \
52118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52119 done; \
52120 (cd $(TARGET_SUBDIR)/libjava && \
52121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52123 "RANLIB=$${RANLIB}" \
52124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52125 dvi) \
52126 || exit 1
52128 @endif target-libjava
52130 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
52131 maybe-pdf-target-libjava:
52132 @if target-libjava
52133 maybe-pdf-target-libjava: pdf-target-libjava
52135 pdf-target-libjava: \
52136 configure-target-libjava
52137 @: $(MAKE); $(unstage)
52138 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52139 r=`${PWD_COMMAND}`; export r; \
52140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52141 $(RAW_CXX_TARGET_EXPORTS) \
52142 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
52143 for flag in $(EXTRA_TARGET_FLAGS); do \
52144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52145 done; \
52146 (cd $(TARGET_SUBDIR)/libjava && \
52147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52149 "RANLIB=$${RANLIB}" \
52150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52151 pdf) \
52152 || exit 1
52154 @endif target-libjava
52156 .PHONY: maybe-html-target-libjava html-target-libjava
52157 maybe-html-target-libjava:
52158 @if target-libjava
52159 maybe-html-target-libjava: html-target-libjava
52161 html-target-libjava: \
52162 configure-target-libjava
52163 @: $(MAKE); $(unstage)
52164 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52165 r=`${PWD_COMMAND}`; export r; \
52166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52167 $(RAW_CXX_TARGET_EXPORTS) \
52168 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
52169 for flag in $(EXTRA_TARGET_FLAGS); do \
52170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52171 done; \
52172 (cd $(TARGET_SUBDIR)/libjava && \
52173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52175 "RANLIB=$${RANLIB}" \
52176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52177 html) \
52178 || exit 1
52180 @endif target-libjava
52182 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
52183 maybe-TAGS-target-libjava:
52184 @if target-libjava
52185 maybe-TAGS-target-libjava: TAGS-target-libjava
52187 TAGS-target-libjava: \
52188 configure-target-libjava
52189 @: $(MAKE); $(unstage)
52190 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52191 r=`${PWD_COMMAND}`; export r; \
52192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52193 $(RAW_CXX_TARGET_EXPORTS) \
52194 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
52195 for flag in $(EXTRA_TARGET_FLAGS); do \
52196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52197 done; \
52198 (cd $(TARGET_SUBDIR)/libjava && \
52199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52201 "RANLIB=$${RANLIB}" \
52202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52203 TAGS) \
52204 || exit 1
52206 @endif target-libjava
52208 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
52209 maybe-install-info-target-libjava:
52210 @if target-libjava
52211 maybe-install-info-target-libjava: install-info-target-libjava
52213 install-info-target-libjava: \
52214 configure-target-libjava \
52215 info-target-libjava
52216 @: $(MAKE); $(unstage)
52217 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52218 r=`${PWD_COMMAND}`; export r; \
52219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52220 $(RAW_CXX_TARGET_EXPORTS) \
52221 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
52222 for flag in $(EXTRA_TARGET_FLAGS); do \
52223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52224 done; \
52225 (cd $(TARGET_SUBDIR)/libjava && \
52226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52228 "RANLIB=$${RANLIB}" \
52229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52230 install-info) \
52231 || exit 1
52233 @endif target-libjava
52235 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
52236 maybe-install-pdf-target-libjava:
52237 @if target-libjava
52238 maybe-install-pdf-target-libjava: install-pdf-target-libjava
52240 install-pdf-target-libjava: \
52241 configure-target-libjava \
52242 pdf-target-libjava
52243 @: $(MAKE); $(unstage)
52244 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52245 r=`${PWD_COMMAND}`; export r; \
52246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52247 $(RAW_CXX_TARGET_EXPORTS) \
52248 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
52249 for flag in $(EXTRA_TARGET_FLAGS); do \
52250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52251 done; \
52252 (cd $(TARGET_SUBDIR)/libjava && \
52253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52255 "RANLIB=$${RANLIB}" \
52256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52257 install-pdf) \
52258 || exit 1
52260 @endif target-libjava
52262 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
52263 maybe-install-html-target-libjava:
52264 @if target-libjava
52265 maybe-install-html-target-libjava: install-html-target-libjava
52267 install-html-target-libjava: \
52268 configure-target-libjava \
52269 html-target-libjava
52270 @: $(MAKE); $(unstage)
52271 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52272 r=`${PWD_COMMAND}`; export r; \
52273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52274 $(RAW_CXX_TARGET_EXPORTS) \
52275 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
52276 for flag in $(EXTRA_TARGET_FLAGS); do \
52277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52278 done; \
52279 (cd $(TARGET_SUBDIR)/libjava && \
52280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52282 "RANLIB=$${RANLIB}" \
52283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52284 install-html) \
52285 || exit 1
52287 @endif target-libjava
52289 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
52290 maybe-installcheck-target-libjava:
52291 @if target-libjava
52292 maybe-installcheck-target-libjava: installcheck-target-libjava
52294 installcheck-target-libjava: \
52295 configure-target-libjava
52296 @: $(MAKE); $(unstage)
52297 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52298 r=`${PWD_COMMAND}`; export r; \
52299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52300 $(RAW_CXX_TARGET_EXPORTS) \
52301 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
52302 for flag in $(EXTRA_TARGET_FLAGS); do \
52303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52304 done; \
52305 (cd $(TARGET_SUBDIR)/libjava && \
52306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52308 "RANLIB=$${RANLIB}" \
52309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52310 installcheck) \
52311 || exit 1
52313 @endif target-libjava
52315 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
52316 maybe-mostlyclean-target-libjava:
52317 @if target-libjava
52318 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
52320 mostlyclean-target-libjava:
52321 @: $(MAKE); $(unstage)
52322 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52323 r=`${PWD_COMMAND}`; export r; \
52324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52325 $(RAW_CXX_TARGET_EXPORTS) \
52326 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
52327 for flag in $(EXTRA_TARGET_FLAGS); do \
52328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52329 done; \
52330 (cd $(TARGET_SUBDIR)/libjava && \
52331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52333 "RANLIB=$${RANLIB}" \
52334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52335 mostlyclean) \
52336 || exit 1
52338 @endif target-libjava
52340 .PHONY: maybe-clean-target-libjava clean-target-libjava
52341 maybe-clean-target-libjava:
52342 @if target-libjava
52343 maybe-clean-target-libjava: clean-target-libjava
52345 clean-target-libjava:
52346 @: $(MAKE); $(unstage)
52347 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52348 r=`${PWD_COMMAND}`; export r; \
52349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52350 $(RAW_CXX_TARGET_EXPORTS) \
52351 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
52352 for flag in $(EXTRA_TARGET_FLAGS); do \
52353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52354 done; \
52355 (cd $(TARGET_SUBDIR)/libjava && \
52356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52358 "RANLIB=$${RANLIB}" \
52359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52360 clean) \
52361 || exit 1
52363 @endif target-libjava
52365 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
52366 maybe-distclean-target-libjava:
52367 @if target-libjava
52368 maybe-distclean-target-libjava: distclean-target-libjava
52370 distclean-target-libjava:
52371 @: $(MAKE); $(unstage)
52372 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52373 r=`${PWD_COMMAND}`; export r; \
52374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52375 $(RAW_CXX_TARGET_EXPORTS) \
52376 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
52377 for flag in $(EXTRA_TARGET_FLAGS); do \
52378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52379 done; \
52380 (cd $(TARGET_SUBDIR)/libjava && \
52381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52383 "RANLIB=$${RANLIB}" \
52384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52385 distclean) \
52386 || exit 1
52388 @endif target-libjava
52390 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
52391 maybe-maintainer-clean-target-libjava:
52392 @if target-libjava
52393 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
52395 maintainer-clean-target-libjava:
52396 @: $(MAKE); $(unstage)
52397 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
52398 r=`${PWD_COMMAND}`; export r; \
52399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52400 $(RAW_CXX_TARGET_EXPORTS) \
52401 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
52402 for flag in $(EXTRA_TARGET_FLAGS); do \
52403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52404 done; \
52405 (cd $(TARGET_SUBDIR)/libjava && \
52406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52408 "RANLIB=$${RANLIB}" \
52409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52410 maintainer-clean) \
52411 || exit 1
52413 @endif target-libjava
52419 .PHONY: configure-target-zlib maybe-configure-target-zlib
52420 maybe-configure-target-zlib:
52421 @if gcc-bootstrap
52422 configure-target-zlib: stage_current
52423 @endif gcc-bootstrap
52424 @if target-zlib
52425 maybe-configure-target-zlib: configure-target-zlib
52426 configure-target-zlib:
52427 @: $(MAKE); $(unstage)
52428 @r=`${PWD_COMMAND}`; export r; \
52429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52430 echo "Checking multilib configuration for zlib..."; \
52431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
52432 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
52433 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
52434 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
52435 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
52436 else \
52437 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
52438 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
52439 fi; \
52440 else \
52441 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
52442 fi; \
52443 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
52444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
52445 $(NORMAL_TARGET_EXPORTS) \
52446 echo Configuring in $(TARGET_SUBDIR)/zlib; \
52447 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
52448 case $(srcdir) in \
52449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52450 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
52451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52452 esac; \
52453 srcdiroption="--srcdir=$${topdir}/zlib"; \
52454 libsrcdir="$$s/zlib"; \
52455 rm -f no-such-file || : ; \
52456 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52458 --target=${target_alias} $${srcdiroption} \
52459 || exit 1
52460 @endif target-zlib
52466 .PHONY: all-target-zlib maybe-all-target-zlib
52467 maybe-all-target-zlib:
52468 @if gcc-bootstrap
52469 all-target-zlib: stage_current
52470 @endif gcc-bootstrap
52471 @if target-zlib
52472 TARGET-target-zlib=all
52473 maybe-all-target-zlib: all-target-zlib
52474 all-target-zlib: configure-target-zlib
52475 @: $(MAKE); $(unstage)
52476 @r=`${PWD_COMMAND}`; export r; \
52477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52478 $(NORMAL_TARGET_EXPORTS) \
52479 (cd $(TARGET_SUBDIR)/zlib && \
52480 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52481 $(TARGET-target-zlib))
52482 @endif target-zlib
52488 .PHONY: check-target-zlib maybe-check-target-zlib
52489 maybe-check-target-zlib:
52490 @if target-zlib
52491 maybe-check-target-zlib: check-target-zlib
52493 check-target-zlib:
52494 @: $(MAKE); $(unstage)
52495 @r=`${PWD_COMMAND}`; export r; \
52496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52497 $(NORMAL_TARGET_EXPORTS) \
52498 (cd $(TARGET_SUBDIR)/zlib && \
52499 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52501 @endif target-zlib
52503 .PHONY: install-target-zlib maybe-install-target-zlib
52504 maybe-install-target-zlib:
52505 @if target-zlib
52506 maybe-install-target-zlib: install-target-zlib
52508 install-target-zlib: installdirs
52509 @: $(MAKE); $(unstage)
52510 @r=`${PWD_COMMAND}`; export r; \
52511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52512 $(NORMAL_TARGET_EXPORTS) \
52513 (cd $(TARGET_SUBDIR)/zlib && \
52514 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52516 @endif target-zlib
52518 # Other targets (info, dvi, pdf, etc.)
52520 .PHONY: maybe-info-target-zlib info-target-zlib
52521 maybe-info-target-zlib:
52522 @if target-zlib
52523 maybe-info-target-zlib: info-target-zlib
52525 info-target-zlib: \
52526 configure-target-zlib
52527 @: $(MAKE); $(unstage)
52528 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52529 r=`${PWD_COMMAND}`; export r; \
52530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52531 $(NORMAL_TARGET_EXPORTS) \
52532 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
52533 for flag in $(EXTRA_TARGET_FLAGS); do \
52534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52535 done; \
52536 (cd $(TARGET_SUBDIR)/zlib && \
52537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52539 "RANLIB=$${RANLIB}" \
52540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52541 info) \
52542 || exit 1
52544 @endif target-zlib
52546 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
52547 maybe-dvi-target-zlib:
52548 @if target-zlib
52549 maybe-dvi-target-zlib: dvi-target-zlib
52551 dvi-target-zlib: \
52552 configure-target-zlib
52553 @: $(MAKE); $(unstage)
52554 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52555 r=`${PWD_COMMAND}`; export r; \
52556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52557 $(NORMAL_TARGET_EXPORTS) \
52558 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
52559 for flag in $(EXTRA_TARGET_FLAGS); do \
52560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52561 done; \
52562 (cd $(TARGET_SUBDIR)/zlib && \
52563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52565 "RANLIB=$${RANLIB}" \
52566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52567 dvi) \
52568 || exit 1
52570 @endif target-zlib
52572 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
52573 maybe-pdf-target-zlib:
52574 @if target-zlib
52575 maybe-pdf-target-zlib: pdf-target-zlib
52577 pdf-target-zlib: \
52578 configure-target-zlib
52579 @: $(MAKE); $(unstage)
52580 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52581 r=`${PWD_COMMAND}`; export r; \
52582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52583 $(NORMAL_TARGET_EXPORTS) \
52584 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
52585 for flag in $(EXTRA_TARGET_FLAGS); do \
52586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52587 done; \
52588 (cd $(TARGET_SUBDIR)/zlib && \
52589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52591 "RANLIB=$${RANLIB}" \
52592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52593 pdf) \
52594 || exit 1
52596 @endif target-zlib
52598 .PHONY: maybe-html-target-zlib html-target-zlib
52599 maybe-html-target-zlib:
52600 @if target-zlib
52601 maybe-html-target-zlib: html-target-zlib
52603 html-target-zlib: \
52604 configure-target-zlib
52605 @: $(MAKE); $(unstage)
52606 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52607 r=`${PWD_COMMAND}`; export r; \
52608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52609 $(NORMAL_TARGET_EXPORTS) \
52610 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
52611 for flag in $(EXTRA_TARGET_FLAGS); do \
52612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52613 done; \
52614 (cd $(TARGET_SUBDIR)/zlib && \
52615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52617 "RANLIB=$${RANLIB}" \
52618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52619 html) \
52620 || exit 1
52622 @endif target-zlib
52624 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
52625 maybe-TAGS-target-zlib:
52626 @if target-zlib
52627 maybe-TAGS-target-zlib: TAGS-target-zlib
52629 TAGS-target-zlib: \
52630 configure-target-zlib
52631 @: $(MAKE); $(unstage)
52632 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52633 r=`${PWD_COMMAND}`; export r; \
52634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52635 $(NORMAL_TARGET_EXPORTS) \
52636 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
52637 for flag in $(EXTRA_TARGET_FLAGS); do \
52638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52639 done; \
52640 (cd $(TARGET_SUBDIR)/zlib && \
52641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52643 "RANLIB=$${RANLIB}" \
52644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52645 TAGS) \
52646 || exit 1
52648 @endif target-zlib
52650 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
52651 maybe-install-info-target-zlib:
52652 @if target-zlib
52653 maybe-install-info-target-zlib: install-info-target-zlib
52655 install-info-target-zlib: \
52656 configure-target-zlib \
52657 info-target-zlib
52658 @: $(MAKE); $(unstage)
52659 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52660 r=`${PWD_COMMAND}`; export r; \
52661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52662 $(NORMAL_TARGET_EXPORTS) \
52663 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
52664 for flag in $(EXTRA_TARGET_FLAGS); do \
52665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52666 done; \
52667 (cd $(TARGET_SUBDIR)/zlib && \
52668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52670 "RANLIB=$${RANLIB}" \
52671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52672 install-info) \
52673 || exit 1
52675 @endif target-zlib
52677 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
52678 maybe-install-pdf-target-zlib:
52679 @if target-zlib
52680 maybe-install-pdf-target-zlib: install-pdf-target-zlib
52682 install-pdf-target-zlib: \
52683 configure-target-zlib \
52684 pdf-target-zlib
52685 @: $(MAKE); $(unstage)
52686 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52687 r=`${PWD_COMMAND}`; export r; \
52688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52689 $(NORMAL_TARGET_EXPORTS) \
52690 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
52691 for flag in $(EXTRA_TARGET_FLAGS); do \
52692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52693 done; \
52694 (cd $(TARGET_SUBDIR)/zlib && \
52695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52697 "RANLIB=$${RANLIB}" \
52698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52699 install-pdf) \
52700 || exit 1
52702 @endif target-zlib
52704 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
52705 maybe-install-html-target-zlib:
52706 @if target-zlib
52707 maybe-install-html-target-zlib: install-html-target-zlib
52709 install-html-target-zlib: \
52710 configure-target-zlib \
52711 html-target-zlib
52712 @: $(MAKE); $(unstage)
52713 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52714 r=`${PWD_COMMAND}`; export r; \
52715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52716 $(NORMAL_TARGET_EXPORTS) \
52717 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
52718 for flag in $(EXTRA_TARGET_FLAGS); do \
52719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52720 done; \
52721 (cd $(TARGET_SUBDIR)/zlib && \
52722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52724 "RANLIB=$${RANLIB}" \
52725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52726 install-html) \
52727 || exit 1
52729 @endif target-zlib
52731 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
52732 maybe-installcheck-target-zlib:
52733 @if target-zlib
52734 maybe-installcheck-target-zlib: installcheck-target-zlib
52736 installcheck-target-zlib: \
52737 configure-target-zlib
52738 @: $(MAKE); $(unstage)
52739 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52740 r=`${PWD_COMMAND}`; export r; \
52741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52742 $(NORMAL_TARGET_EXPORTS) \
52743 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
52744 for flag in $(EXTRA_TARGET_FLAGS); do \
52745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52746 done; \
52747 (cd $(TARGET_SUBDIR)/zlib && \
52748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52750 "RANLIB=$${RANLIB}" \
52751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52752 installcheck) \
52753 || exit 1
52755 @endif target-zlib
52757 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
52758 maybe-mostlyclean-target-zlib:
52759 @if target-zlib
52760 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
52762 mostlyclean-target-zlib:
52763 @: $(MAKE); $(unstage)
52764 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52765 r=`${PWD_COMMAND}`; export r; \
52766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52767 $(NORMAL_TARGET_EXPORTS) \
52768 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
52769 for flag in $(EXTRA_TARGET_FLAGS); do \
52770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52771 done; \
52772 (cd $(TARGET_SUBDIR)/zlib && \
52773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52775 "RANLIB=$${RANLIB}" \
52776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52777 mostlyclean) \
52778 || exit 1
52780 @endif target-zlib
52782 .PHONY: maybe-clean-target-zlib clean-target-zlib
52783 maybe-clean-target-zlib:
52784 @if target-zlib
52785 maybe-clean-target-zlib: clean-target-zlib
52787 clean-target-zlib:
52788 @: $(MAKE); $(unstage)
52789 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52790 r=`${PWD_COMMAND}`; export r; \
52791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52792 $(NORMAL_TARGET_EXPORTS) \
52793 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
52794 for flag in $(EXTRA_TARGET_FLAGS); do \
52795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52796 done; \
52797 (cd $(TARGET_SUBDIR)/zlib && \
52798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52800 "RANLIB=$${RANLIB}" \
52801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52802 clean) \
52803 || exit 1
52805 @endif target-zlib
52807 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
52808 maybe-distclean-target-zlib:
52809 @if target-zlib
52810 maybe-distclean-target-zlib: distclean-target-zlib
52812 distclean-target-zlib:
52813 @: $(MAKE); $(unstage)
52814 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52815 r=`${PWD_COMMAND}`; export r; \
52816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52817 $(NORMAL_TARGET_EXPORTS) \
52818 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
52819 for flag in $(EXTRA_TARGET_FLAGS); do \
52820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52821 done; \
52822 (cd $(TARGET_SUBDIR)/zlib && \
52823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52825 "RANLIB=$${RANLIB}" \
52826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52827 distclean) \
52828 || exit 1
52830 @endif target-zlib
52832 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
52833 maybe-maintainer-clean-target-zlib:
52834 @if target-zlib
52835 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
52837 maintainer-clean-target-zlib:
52838 @: $(MAKE); $(unstage)
52839 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
52840 r=`${PWD_COMMAND}`; export r; \
52841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52842 $(NORMAL_TARGET_EXPORTS) \
52843 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
52844 for flag in $(EXTRA_TARGET_FLAGS); do \
52845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52846 done; \
52847 (cd $(TARGET_SUBDIR)/zlib && \
52848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52850 "RANLIB=$${RANLIB}" \
52851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52852 maintainer-clean) \
52853 || exit 1
52855 @endif target-zlib
52861 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
52862 maybe-configure-target-boehm-gc:
52863 @if gcc-bootstrap
52864 configure-target-boehm-gc: stage_current
52865 @endif gcc-bootstrap
52866 @if target-boehm-gc
52867 maybe-configure-target-boehm-gc: configure-target-boehm-gc
52868 configure-target-boehm-gc:
52869 @: $(MAKE); $(unstage)
52870 @r=`${PWD_COMMAND}`; export r; \
52871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52872 echo "Checking multilib configuration for boehm-gc..."; \
52873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
52874 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
52875 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
52876 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
52877 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
52878 else \
52879 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
52880 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
52881 fi; \
52882 else \
52883 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
52884 fi; \
52885 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
52886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
52887 $(NORMAL_TARGET_EXPORTS) \
52888 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
52889 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
52890 case $(srcdir) in \
52891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52892 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
52893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52894 esac; \
52895 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
52896 libsrcdir="$$s/boehm-gc"; \
52897 rm -f no-such-file || : ; \
52898 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
52899 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52900 --target=${target_alias} $${srcdiroption} \
52901 || exit 1
52902 @endif target-boehm-gc
52908 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
52909 maybe-all-target-boehm-gc:
52910 @if gcc-bootstrap
52911 all-target-boehm-gc: stage_current
52912 @endif gcc-bootstrap
52913 @if target-boehm-gc
52914 TARGET-target-boehm-gc=all
52915 maybe-all-target-boehm-gc: all-target-boehm-gc
52916 all-target-boehm-gc: configure-target-boehm-gc
52917 @: $(MAKE); $(unstage)
52918 @r=`${PWD_COMMAND}`; export r; \
52919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52920 $(NORMAL_TARGET_EXPORTS) \
52921 (cd $(TARGET_SUBDIR)/boehm-gc && \
52922 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52923 $(TARGET-target-boehm-gc))
52924 @endif target-boehm-gc
52930 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
52931 maybe-check-target-boehm-gc:
52932 @if target-boehm-gc
52933 maybe-check-target-boehm-gc: check-target-boehm-gc
52935 check-target-boehm-gc:
52936 @: $(MAKE); $(unstage)
52937 @r=`${PWD_COMMAND}`; export r; \
52938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52939 $(NORMAL_TARGET_EXPORTS) \
52940 (cd $(TARGET_SUBDIR)/boehm-gc && \
52941 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52943 @endif target-boehm-gc
52945 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
52946 maybe-install-target-boehm-gc:
52947 @if target-boehm-gc
52948 maybe-install-target-boehm-gc: install-target-boehm-gc
52950 install-target-boehm-gc: installdirs
52951 @: $(MAKE); $(unstage)
52952 @r=`${PWD_COMMAND}`; export r; \
52953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52954 $(NORMAL_TARGET_EXPORTS) \
52955 (cd $(TARGET_SUBDIR)/boehm-gc && \
52956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52958 @endif target-boehm-gc
52960 # Other targets (info, dvi, pdf, etc.)
52962 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
52963 maybe-info-target-boehm-gc:
52964 @if target-boehm-gc
52965 maybe-info-target-boehm-gc: info-target-boehm-gc
52967 info-target-boehm-gc: \
52968 configure-target-boehm-gc
52969 @: $(MAKE); $(unstage)
52970 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
52971 r=`${PWD_COMMAND}`; export r; \
52972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52973 $(NORMAL_TARGET_EXPORTS) \
52974 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
52975 for flag in $(EXTRA_TARGET_FLAGS); do \
52976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52977 done; \
52978 (cd $(TARGET_SUBDIR)/boehm-gc && \
52979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52981 "RANLIB=$${RANLIB}" \
52982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52983 info) \
52984 || exit 1
52986 @endif target-boehm-gc
52988 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
52989 maybe-dvi-target-boehm-gc:
52990 @if target-boehm-gc
52991 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
52993 dvi-target-boehm-gc: \
52994 configure-target-boehm-gc
52995 @: $(MAKE); $(unstage)
52996 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
52997 r=`${PWD_COMMAND}`; export r; \
52998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52999 $(NORMAL_TARGET_EXPORTS) \
53000 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
53001 for flag in $(EXTRA_TARGET_FLAGS); do \
53002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53003 done; \
53004 (cd $(TARGET_SUBDIR)/boehm-gc && \
53005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53007 "RANLIB=$${RANLIB}" \
53008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53009 dvi) \
53010 || exit 1
53012 @endif target-boehm-gc
53014 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
53015 maybe-pdf-target-boehm-gc:
53016 @if target-boehm-gc
53017 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
53019 pdf-target-boehm-gc: \
53020 configure-target-boehm-gc
53021 @: $(MAKE); $(unstage)
53022 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53023 r=`${PWD_COMMAND}`; export r; \
53024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53025 $(NORMAL_TARGET_EXPORTS) \
53026 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
53027 for flag in $(EXTRA_TARGET_FLAGS); do \
53028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53029 done; \
53030 (cd $(TARGET_SUBDIR)/boehm-gc && \
53031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53033 "RANLIB=$${RANLIB}" \
53034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53035 pdf) \
53036 || exit 1
53038 @endif target-boehm-gc
53040 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
53041 maybe-html-target-boehm-gc:
53042 @if target-boehm-gc
53043 maybe-html-target-boehm-gc: html-target-boehm-gc
53045 html-target-boehm-gc: \
53046 configure-target-boehm-gc
53047 @: $(MAKE); $(unstage)
53048 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53049 r=`${PWD_COMMAND}`; export r; \
53050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53051 $(NORMAL_TARGET_EXPORTS) \
53052 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
53053 for flag in $(EXTRA_TARGET_FLAGS); do \
53054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53055 done; \
53056 (cd $(TARGET_SUBDIR)/boehm-gc && \
53057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53059 "RANLIB=$${RANLIB}" \
53060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53061 html) \
53062 || exit 1
53064 @endif target-boehm-gc
53066 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
53067 maybe-TAGS-target-boehm-gc:
53068 @if target-boehm-gc
53069 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
53071 TAGS-target-boehm-gc: \
53072 configure-target-boehm-gc
53073 @: $(MAKE); $(unstage)
53074 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53075 r=`${PWD_COMMAND}`; export r; \
53076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53077 $(NORMAL_TARGET_EXPORTS) \
53078 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
53079 for flag in $(EXTRA_TARGET_FLAGS); do \
53080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53081 done; \
53082 (cd $(TARGET_SUBDIR)/boehm-gc && \
53083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53085 "RANLIB=$${RANLIB}" \
53086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53087 TAGS) \
53088 || exit 1
53090 @endif target-boehm-gc
53092 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
53093 maybe-install-info-target-boehm-gc:
53094 @if target-boehm-gc
53095 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
53097 install-info-target-boehm-gc: \
53098 configure-target-boehm-gc \
53099 info-target-boehm-gc
53100 @: $(MAKE); $(unstage)
53101 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53102 r=`${PWD_COMMAND}`; export r; \
53103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53104 $(NORMAL_TARGET_EXPORTS) \
53105 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
53106 for flag in $(EXTRA_TARGET_FLAGS); do \
53107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53108 done; \
53109 (cd $(TARGET_SUBDIR)/boehm-gc && \
53110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53112 "RANLIB=$${RANLIB}" \
53113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53114 install-info) \
53115 || exit 1
53117 @endif target-boehm-gc
53119 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
53120 maybe-install-pdf-target-boehm-gc:
53121 @if target-boehm-gc
53122 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
53124 install-pdf-target-boehm-gc: \
53125 configure-target-boehm-gc \
53126 pdf-target-boehm-gc
53127 @: $(MAKE); $(unstage)
53128 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53129 r=`${PWD_COMMAND}`; export r; \
53130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53131 $(NORMAL_TARGET_EXPORTS) \
53132 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
53133 for flag in $(EXTRA_TARGET_FLAGS); do \
53134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53135 done; \
53136 (cd $(TARGET_SUBDIR)/boehm-gc && \
53137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53139 "RANLIB=$${RANLIB}" \
53140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53141 install-pdf) \
53142 || exit 1
53144 @endif target-boehm-gc
53146 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
53147 maybe-install-html-target-boehm-gc:
53148 @if target-boehm-gc
53149 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
53151 install-html-target-boehm-gc: \
53152 configure-target-boehm-gc \
53153 html-target-boehm-gc
53154 @: $(MAKE); $(unstage)
53155 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53156 r=`${PWD_COMMAND}`; export r; \
53157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53158 $(NORMAL_TARGET_EXPORTS) \
53159 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
53160 for flag in $(EXTRA_TARGET_FLAGS); do \
53161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53162 done; \
53163 (cd $(TARGET_SUBDIR)/boehm-gc && \
53164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53166 "RANLIB=$${RANLIB}" \
53167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53168 install-html) \
53169 || exit 1
53171 @endif target-boehm-gc
53173 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
53174 maybe-installcheck-target-boehm-gc:
53175 @if target-boehm-gc
53176 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
53178 installcheck-target-boehm-gc: \
53179 configure-target-boehm-gc
53180 @: $(MAKE); $(unstage)
53181 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53182 r=`${PWD_COMMAND}`; export r; \
53183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53184 $(NORMAL_TARGET_EXPORTS) \
53185 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
53186 for flag in $(EXTRA_TARGET_FLAGS); do \
53187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53188 done; \
53189 (cd $(TARGET_SUBDIR)/boehm-gc && \
53190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53192 "RANLIB=$${RANLIB}" \
53193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53194 installcheck) \
53195 || exit 1
53197 @endif target-boehm-gc
53199 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
53200 maybe-mostlyclean-target-boehm-gc:
53201 @if target-boehm-gc
53202 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
53204 mostlyclean-target-boehm-gc:
53205 @: $(MAKE); $(unstage)
53206 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53207 r=`${PWD_COMMAND}`; export r; \
53208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53209 $(NORMAL_TARGET_EXPORTS) \
53210 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
53211 for flag in $(EXTRA_TARGET_FLAGS); do \
53212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53213 done; \
53214 (cd $(TARGET_SUBDIR)/boehm-gc && \
53215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53217 "RANLIB=$${RANLIB}" \
53218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53219 mostlyclean) \
53220 || exit 1
53222 @endif target-boehm-gc
53224 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
53225 maybe-clean-target-boehm-gc:
53226 @if target-boehm-gc
53227 maybe-clean-target-boehm-gc: clean-target-boehm-gc
53229 clean-target-boehm-gc:
53230 @: $(MAKE); $(unstage)
53231 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53232 r=`${PWD_COMMAND}`; export r; \
53233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53234 $(NORMAL_TARGET_EXPORTS) \
53235 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
53236 for flag in $(EXTRA_TARGET_FLAGS); do \
53237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53238 done; \
53239 (cd $(TARGET_SUBDIR)/boehm-gc && \
53240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53242 "RANLIB=$${RANLIB}" \
53243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53244 clean) \
53245 || exit 1
53247 @endif target-boehm-gc
53249 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
53250 maybe-distclean-target-boehm-gc:
53251 @if target-boehm-gc
53252 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
53254 distclean-target-boehm-gc:
53255 @: $(MAKE); $(unstage)
53256 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53257 r=`${PWD_COMMAND}`; export r; \
53258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53259 $(NORMAL_TARGET_EXPORTS) \
53260 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
53261 for flag in $(EXTRA_TARGET_FLAGS); do \
53262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53263 done; \
53264 (cd $(TARGET_SUBDIR)/boehm-gc && \
53265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53267 "RANLIB=$${RANLIB}" \
53268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53269 distclean) \
53270 || exit 1
53272 @endif target-boehm-gc
53274 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
53275 maybe-maintainer-clean-target-boehm-gc:
53276 @if target-boehm-gc
53277 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
53279 maintainer-clean-target-boehm-gc:
53280 @: $(MAKE); $(unstage)
53281 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
53282 r=`${PWD_COMMAND}`; export r; \
53283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53284 $(NORMAL_TARGET_EXPORTS) \
53285 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
53286 for flag in $(EXTRA_TARGET_FLAGS); do \
53287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53288 done; \
53289 (cd $(TARGET_SUBDIR)/boehm-gc && \
53290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53292 "RANLIB=$${RANLIB}" \
53293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53294 maintainer-clean) \
53295 || exit 1
53297 @endif target-boehm-gc
53303 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
53304 maybe-configure-target-qthreads:
53305 @if gcc-bootstrap
53306 configure-target-qthreads: stage_current
53307 @endif gcc-bootstrap
53308 @if target-qthreads
53309 maybe-configure-target-qthreads: configure-target-qthreads
53310 configure-target-qthreads:
53311 @: $(MAKE); $(unstage)
53312 @r=`${PWD_COMMAND}`; export r; \
53313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53314 echo "Checking multilib configuration for qthreads..."; \
53315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
53316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
53317 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
53318 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
53319 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
53320 else \
53321 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
53322 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
53323 fi; \
53324 else \
53325 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
53326 fi; \
53327 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
53328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
53329 $(NORMAL_TARGET_EXPORTS) \
53330 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
53331 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
53332 case $(srcdir) in \
53333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53334 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
53335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53336 esac; \
53337 srcdiroption="--srcdir=$${topdir}/qthreads"; \
53338 libsrcdir="$$s/qthreads"; \
53339 rm -f no-such-file || : ; \
53340 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53341 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53342 --target=${target_alias} $${srcdiroption} \
53343 || exit 1
53344 @endif target-qthreads
53350 .PHONY: all-target-qthreads maybe-all-target-qthreads
53351 maybe-all-target-qthreads:
53352 @if gcc-bootstrap
53353 all-target-qthreads: stage_current
53354 @endif gcc-bootstrap
53355 @if target-qthreads
53356 TARGET-target-qthreads=all
53357 maybe-all-target-qthreads: all-target-qthreads
53358 all-target-qthreads: configure-target-qthreads
53359 @: $(MAKE); $(unstage)
53360 @r=`${PWD_COMMAND}`; export r; \
53361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53362 $(NORMAL_TARGET_EXPORTS) \
53363 (cd $(TARGET_SUBDIR)/qthreads && \
53364 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53365 $(TARGET-target-qthreads))
53366 @endif target-qthreads
53372 .PHONY: check-target-qthreads maybe-check-target-qthreads
53373 maybe-check-target-qthreads:
53374 @if target-qthreads
53375 maybe-check-target-qthreads: check-target-qthreads
53377 check-target-qthreads:
53378 @: $(MAKE); $(unstage)
53379 @r=`${PWD_COMMAND}`; export r; \
53380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53381 $(NORMAL_TARGET_EXPORTS) \
53382 (cd $(TARGET_SUBDIR)/qthreads && \
53383 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53385 @endif target-qthreads
53387 .PHONY: install-target-qthreads maybe-install-target-qthreads
53388 maybe-install-target-qthreads:
53389 @if target-qthreads
53390 maybe-install-target-qthreads: install-target-qthreads
53392 install-target-qthreads: installdirs
53393 @: $(MAKE); $(unstage)
53394 @r=`${PWD_COMMAND}`; export r; \
53395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53396 $(NORMAL_TARGET_EXPORTS) \
53397 (cd $(TARGET_SUBDIR)/qthreads && \
53398 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53400 @endif target-qthreads
53402 # Other targets (info, dvi, pdf, etc.)
53404 .PHONY: maybe-info-target-qthreads info-target-qthreads
53405 maybe-info-target-qthreads:
53406 @if target-qthreads
53407 maybe-info-target-qthreads: info-target-qthreads
53409 info-target-qthreads: \
53410 configure-target-qthreads
53411 @: $(MAKE); $(unstage)
53412 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53413 r=`${PWD_COMMAND}`; export r; \
53414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53415 $(NORMAL_TARGET_EXPORTS) \
53416 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
53417 for flag in $(EXTRA_TARGET_FLAGS); do \
53418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53419 done; \
53420 (cd $(TARGET_SUBDIR)/qthreads && \
53421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53423 "RANLIB=$${RANLIB}" \
53424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53425 info) \
53426 || exit 1
53428 @endif target-qthreads
53430 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
53431 maybe-dvi-target-qthreads:
53432 @if target-qthreads
53433 maybe-dvi-target-qthreads: dvi-target-qthreads
53435 dvi-target-qthreads: \
53436 configure-target-qthreads
53437 @: $(MAKE); $(unstage)
53438 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53439 r=`${PWD_COMMAND}`; export r; \
53440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53441 $(NORMAL_TARGET_EXPORTS) \
53442 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
53443 for flag in $(EXTRA_TARGET_FLAGS); do \
53444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53445 done; \
53446 (cd $(TARGET_SUBDIR)/qthreads && \
53447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53449 "RANLIB=$${RANLIB}" \
53450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53451 dvi) \
53452 || exit 1
53454 @endif target-qthreads
53456 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
53457 maybe-pdf-target-qthreads:
53458 @if target-qthreads
53459 maybe-pdf-target-qthreads: pdf-target-qthreads
53461 pdf-target-qthreads: \
53462 configure-target-qthreads
53463 @: $(MAKE); $(unstage)
53464 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53465 r=`${PWD_COMMAND}`; export r; \
53466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53467 $(NORMAL_TARGET_EXPORTS) \
53468 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
53469 for flag in $(EXTRA_TARGET_FLAGS); do \
53470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53471 done; \
53472 (cd $(TARGET_SUBDIR)/qthreads && \
53473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53475 "RANLIB=$${RANLIB}" \
53476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53477 pdf) \
53478 || exit 1
53480 @endif target-qthreads
53482 .PHONY: maybe-html-target-qthreads html-target-qthreads
53483 maybe-html-target-qthreads:
53484 @if target-qthreads
53485 maybe-html-target-qthreads: html-target-qthreads
53487 html-target-qthreads: \
53488 configure-target-qthreads
53489 @: $(MAKE); $(unstage)
53490 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53491 r=`${PWD_COMMAND}`; export r; \
53492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53493 $(NORMAL_TARGET_EXPORTS) \
53494 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
53495 for flag in $(EXTRA_TARGET_FLAGS); do \
53496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53497 done; \
53498 (cd $(TARGET_SUBDIR)/qthreads && \
53499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53501 "RANLIB=$${RANLIB}" \
53502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53503 html) \
53504 || exit 1
53506 @endif target-qthreads
53508 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
53509 maybe-TAGS-target-qthreads:
53510 @if target-qthreads
53511 maybe-TAGS-target-qthreads: TAGS-target-qthreads
53513 TAGS-target-qthreads: \
53514 configure-target-qthreads
53515 @: $(MAKE); $(unstage)
53516 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53517 r=`${PWD_COMMAND}`; export r; \
53518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53519 $(NORMAL_TARGET_EXPORTS) \
53520 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
53521 for flag in $(EXTRA_TARGET_FLAGS); do \
53522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53523 done; \
53524 (cd $(TARGET_SUBDIR)/qthreads && \
53525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53527 "RANLIB=$${RANLIB}" \
53528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53529 TAGS) \
53530 || exit 1
53532 @endif target-qthreads
53534 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
53535 maybe-install-info-target-qthreads:
53536 @if target-qthreads
53537 maybe-install-info-target-qthreads: install-info-target-qthreads
53539 install-info-target-qthreads: \
53540 configure-target-qthreads \
53541 info-target-qthreads
53542 @: $(MAKE); $(unstage)
53543 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53544 r=`${PWD_COMMAND}`; export r; \
53545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53546 $(NORMAL_TARGET_EXPORTS) \
53547 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
53548 for flag in $(EXTRA_TARGET_FLAGS); do \
53549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53550 done; \
53551 (cd $(TARGET_SUBDIR)/qthreads && \
53552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53554 "RANLIB=$${RANLIB}" \
53555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53556 install-info) \
53557 || exit 1
53559 @endif target-qthreads
53561 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
53562 maybe-install-pdf-target-qthreads:
53563 @if target-qthreads
53564 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
53566 install-pdf-target-qthreads: \
53567 configure-target-qthreads \
53568 pdf-target-qthreads
53569 @: $(MAKE); $(unstage)
53570 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53571 r=`${PWD_COMMAND}`; export r; \
53572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53573 $(NORMAL_TARGET_EXPORTS) \
53574 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
53575 for flag in $(EXTRA_TARGET_FLAGS); do \
53576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53577 done; \
53578 (cd $(TARGET_SUBDIR)/qthreads && \
53579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53581 "RANLIB=$${RANLIB}" \
53582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53583 install-pdf) \
53584 || exit 1
53586 @endif target-qthreads
53588 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
53589 maybe-install-html-target-qthreads:
53590 @if target-qthreads
53591 maybe-install-html-target-qthreads: install-html-target-qthreads
53593 install-html-target-qthreads: \
53594 configure-target-qthreads \
53595 html-target-qthreads
53596 @: $(MAKE); $(unstage)
53597 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53598 r=`${PWD_COMMAND}`; export r; \
53599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53600 $(NORMAL_TARGET_EXPORTS) \
53601 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
53602 for flag in $(EXTRA_TARGET_FLAGS); do \
53603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53604 done; \
53605 (cd $(TARGET_SUBDIR)/qthreads && \
53606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53608 "RANLIB=$${RANLIB}" \
53609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53610 install-html) \
53611 || exit 1
53613 @endif target-qthreads
53615 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
53616 maybe-installcheck-target-qthreads:
53617 @if target-qthreads
53618 maybe-installcheck-target-qthreads: installcheck-target-qthreads
53620 installcheck-target-qthreads: \
53621 configure-target-qthreads
53622 @: $(MAKE); $(unstage)
53623 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53624 r=`${PWD_COMMAND}`; export r; \
53625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53626 $(NORMAL_TARGET_EXPORTS) \
53627 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
53628 for flag in $(EXTRA_TARGET_FLAGS); do \
53629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53630 done; \
53631 (cd $(TARGET_SUBDIR)/qthreads && \
53632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53634 "RANLIB=$${RANLIB}" \
53635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53636 installcheck) \
53637 || exit 1
53639 @endif target-qthreads
53641 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
53642 maybe-mostlyclean-target-qthreads:
53643 @if target-qthreads
53644 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
53646 mostlyclean-target-qthreads:
53647 @: $(MAKE); $(unstage)
53648 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53649 r=`${PWD_COMMAND}`; export r; \
53650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53651 $(NORMAL_TARGET_EXPORTS) \
53652 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
53653 for flag in $(EXTRA_TARGET_FLAGS); do \
53654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53655 done; \
53656 (cd $(TARGET_SUBDIR)/qthreads && \
53657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53659 "RANLIB=$${RANLIB}" \
53660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53661 mostlyclean) \
53662 || exit 1
53664 @endif target-qthreads
53666 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
53667 maybe-clean-target-qthreads:
53668 @if target-qthreads
53669 maybe-clean-target-qthreads: clean-target-qthreads
53671 clean-target-qthreads:
53672 @: $(MAKE); $(unstage)
53673 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53674 r=`${PWD_COMMAND}`; export r; \
53675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53676 $(NORMAL_TARGET_EXPORTS) \
53677 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
53678 for flag in $(EXTRA_TARGET_FLAGS); do \
53679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53680 done; \
53681 (cd $(TARGET_SUBDIR)/qthreads && \
53682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53684 "RANLIB=$${RANLIB}" \
53685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53686 clean) \
53687 || exit 1
53689 @endif target-qthreads
53691 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
53692 maybe-distclean-target-qthreads:
53693 @if target-qthreads
53694 maybe-distclean-target-qthreads: distclean-target-qthreads
53696 distclean-target-qthreads:
53697 @: $(MAKE); $(unstage)
53698 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53699 r=`${PWD_COMMAND}`; export r; \
53700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53701 $(NORMAL_TARGET_EXPORTS) \
53702 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
53703 for flag in $(EXTRA_TARGET_FLAGS); do \
53704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53705 done; \
53706 (cd $(TARGET_SUBDIR)/qthreads && \
53707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53709 "RANLIB=$${RANLIB}" \
53710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53711 distclean) \
53712 || exit 1
53714 @endif target-qthreads
53716 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
53717 maybe-maintainer-clean-target-qthreads:
53718 @if target-qthreads
53719 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
53721 maintainer-clean-target-qthreads:
53722 @: $(MAKE); $(unstage)
53723 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
53724 r=`${PWD_COMMAND}`; export r; \
53725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53726 $(NORMAL_TARGET_EXPORTS) \
53727 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
53728 for flag in $(EXTRA_TARGET_FLAGS); do \
53729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53730 done; \
53731 (cd $(TARGET_SUBDIR)/qthreads && \
53732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53734 "RANLIB=$${RANLIB}" \
53735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53736 maintainer-clean) \
53737 || exit 1
53739 @endif target-qthreads
53745 .PHONY: configure-target-rda maybe-configure-target-rda
53746 maybe-configure-target-rda:
53747 @if gcc-bootstrap
53748 configure-target-rda: stage_current
53749 @endif gcc-bootstrap
53750 @if target-rda
53751 maybe-configure-target-rda: configure-target-rda
53752 configure-target-rda:
53753 @: $(MAKE); $(unstage)
53754 @r=`${PWD_COMMAND}`; export r; \
53755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53756 echo "Checking multilib configuration for rda..."; \
53757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
53758 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
53759 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
53760 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
53761 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
53762 else \
53763 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
53764 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
53765 fi; \
53766 else \
53767 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
53768 fi; \
53769 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
53770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
53771 $(NORMAL_TARGET_EXPORTS) \
53772 echo Configuring in $(TARGET_SUBDIR)/rda; \
53773 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
53774 case $(srcdir) in \
53775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53776 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
53777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53778 esac; \
53779 srcdiroption="--srcdir=$${topdir}/rda"; \
53780 libsrcdir="$$s/rda"; \
53781 rm -f no-such-file || : ; \
53782 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
53783 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53784 --target=${target_alias} $${srcdiroption} \
53785 || exit 1
53786 @endif target-rda
53792 .PHONY: all-target-rda maybe-all-target-rda
53793 maybe-all-target-rda:
53794 @if gcc-bootstrap
53795 all-target-rda: stage_current
53796 @endif gcc-bootstrap
53797 @if target-rda
53798 TARGET-target-rda=all
53799 maybe-all-target-rda: all-target-rda
53800 all-target-rda: configure-target-rda
53801 @: $(MAKE); $(unstage)
53802 @r=`${PWD_COMMAND}`; export r; \
53803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53804 $(NORMAL_TARGET_EXPORTS) \
53805 (cd $(TARGET_SUBDIR)/rda && \
53806 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53807 $(TARGET-target-rda))
53808 @endif target-rda
53814 .PHONY: check-target-rda maybe-check-target-rda
53815 maybe-check-target-rda:
53816 @if target-rda
53817 maybe-check-target-rda: check-target-rda
53819 check-target-rda:
53820 @: $(MAKE); $(unstage)
53821 @r=`${PWD_COMMAND}`; export r; \
53822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53823 $(NORMAL_TARGET_EXPORTS) \
53824 (cd $(TARGET_SUBDIR)/rda && \
53825 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
53827 @endif target-rda
53829 .PHONY: install-target-rda maybe-install-target-rda
53830 maybe-install-target-rda:
53831 @if target-rda
53832 maybe-install-target-rda: install-target-rda
53834 install-target-rda: installdirs
53835 @: $(MAKE); $(unstage)
53836 @r=`${PWD_COMMAND}`; export r; \
53837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53838 $(NORMAL_TARGET_EXPORTS) \
53839 (cd $(TARGET_SUBDIR)/rda && \
53840 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
53842 @endif target-rda
53844 # Other targets (info, dvi, pdf, etc.)
53846 .PHONY: maybe-info-target-rda info-target-rda
53847 maybe-info-target-rda:
53848 @if target-rda
53849 maybe-info-target-rda: info-target-rda
53851 info-target-rda: \
53852 configure-target-rda
53853 @: $(MAKE); $(unstage)
53854 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53855 r=`${PWD_COMMAND}`; export r; \
53856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53857 $(NORMAL_TARGET_EXPORTS) \
53858 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
53859 for flag in $(EXTRA_TARGET_FLAGS); do \
53860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53861 done; \
53862 (cd $(TARGET_SUBDIR)/rda && \
53863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53865 "RANLIB=$${RANLIB}" \
53866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53867 info) \
53868 || exit 1
53870 @endif target-rda
53872 .PHONY: maybe-dvi-target-rda dvi-target-rda
53873 maybe-dvi-target-rda:
53874 @if target-rda
53875 maybe-dvi-target-rda: dvi-target-rda
53877 dvi-target-rda: \
53878 configure-target-rda
53879 @: $(MAKE); $(unstage)
53880 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53881 r=`${PWD_COMMAND}`; export r; \
53882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53883 $(NORMAL_TARGET_EXPORTS) \
53884 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
53885 for flag in $(EXTRA_TARGET_FLAGS); do \
53886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53887 done; \
53888 (cd $(TARGET_SUBDIR)/rda && \
53889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53891 "RANLIB=$${RANLIB}" \
53892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53893 dvi) \
53894 || exit 1
53896 @endif target-rda
53898 .PHONY: maybe-pdf-target-rda pdf-target-rda
53899 maybe-pdf-target-rda:
53900 @if target-rda
53901 maybe-pdf-target-rda: pdf-target-rda
53903 pdf-target-rda: \
53904 configure-target-rda
53905 @: $(MAKE); $(unstage)
53906 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53907 r=`${PWD_COMMAND}`; export r; \
53908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53909 $(NORMAL_TARGET_EXPORTS) \
53910 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
53911 for flag in $(EXTRA_TARGET_FLAGS); do \
53912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53913 done; \
53914 (cd $(TARGET_SUBDIR)/rda && \
53915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53917 "RANLIB=$${RANLIB}" \
53918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53919 pdf) \
53920 || exit 1
53922 @endif target-rda
53924 .PHONY: maybe-html-target-rda html-target-rda
53925 maybe-html-target-rda:
53926 @if target-rda
53927 maybe-html-target-rda: html-target-rda
53929 html-target-rda: \
53930 configure-target-rda
53931 @: $(MAKE); $(unstage)
53932 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53933 r=`${PWD_COMMAND}`; export r; \
53934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53935 $(NORMAL_TARGET_EXPORTS) \
53936 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
53937 for flag in $(EXTRA_TARGET_FLAGS); do \
53938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53939 done; \
53940 (cd $(TARGET_SUBDIR)/rda && \
53941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53943 "RANLIB=$${RANLIB}" \
53944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53945 html) \
53946 || exit 1
53948 @endif target-rda
53950 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
53951 maybe-TAGS-target-rda:
53952 @if target-rda
53953 maybe-TAGS-target-rda: TAGS-target-rda
53955 TAGS-target-rda: \
53956 configure-target-rda
53957 @: $(MAKE); $(unstage)
53958 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53959 r=`${PWD_COMMAND}`; export r; \
53960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53961 $(NORMAL_TARGET_EXPORTS) \
53962 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
53963 for flag in $(EXTRA_TARGET_FLAGS); do \
53964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53965 done; \
53966 (cd $(TARGET_SUBDIR)/rda && \
53967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53969 "RANLIB=$${RANLIB}" \
53970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53971 TAGS) \
53972 || exit 1
53974 @endif target-rda
53976 .PHONY: maybe-install-info-target-rda install-info-target-rda
53977 maybe-install-info-target-rda:
53978 @if target-rda
53979 maybe-install-info-target-rda: install-info-target-rda
53981 install-info-target-rda: \
53982 configure-target-rda \
53983 info-target-rda
53984 @: $(MAKE); $(unstage)
53985 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
53986 r=`${PWD_COMMAND}`; export r; \
53987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53988 $(NORMAL_TARGET_EXPORTS) \
53989 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
53990 for flag in $(EXTRA_TARGET_FLAGS); do \
53991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53992 done; \
53993 (cd $(TARGET_SUBDIR)/rda && \
53994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53996 "RANLIB=$${RANLIB}" \
53997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53998 install-info) \
53999 || exit 1
54001 @endif target-rda
54003 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
54004 maybe-install-pdf-target-rda:
54005 @if target-rda
54006 maybe-install-pdf-target-rda: install-pdf-target-rda
54008 install-pdf-target-rda: \
54009 configure-target-rda \
54010 pdf-target-rda
54011 @: $(MAKE); $(unstage)
54012 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54013 r=`${PWD_COMMAND}`; export r; \
54014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54015 $(NORMAL_TARGET_EXPORTS) \
54016 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
54017 for flag in $(EXTRA_TARGET_FLAGS); do \
54018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54019 done; \
54020 (cd $(TARGET_SUBDIR)/rda && \
54021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54023 "RANLIB=$${RANLIB}" \
54024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54025 install-pdf) \
54026 || exit 1
54028 @endif target-rda
54030 .PHONY: maybe-install-html-target-rda install-html-target-rda
54031 maybe-install-html-target-rda:
54032 @if target-rda
54033 maybe-install-html-target-rda: install-html-target-rda
54035 install-html-target-rda: \
54036 configure-target-rda \
54037 html-target-rda
54038 @: $(MAKE); $(unstage)
54039 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54040 r=`${PWD_COMMAND}`; export r; \
54041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54042 $(NORMAL_TARGET_EXPORTS) \
54043 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
54044 for flag in $(EXTRA_TARGET_FLAGS); do \
54045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54046 done; \
54047 (cd $(TARGET_SUBDIR)/rda && \
54048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54050 "RANLIB=$${RANLIB}" \
54051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54052 install-html) \
54053 || exit 1
54055 @endif target-rda
54057 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
54058 maybe-installcheck-target-rda:
54059 @if target-rda
54060 maybe-installcheck-target-rda: installcheck-target-rda
54062 installcheck-target-rda: \
54063 configure-target-rda
54064 @: $(MAKE); $(unstage)
54065 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54066 r=`${PWD_COMMAND}`; export r; \
54067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54068 $(NORMAL_TARGET_EXPORTS) \
54069 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
54070 for flag in $(EXTRA_TARGET_FLAGS); do \
54071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54072 done; \
54073 (cd $(TARGET_SUBDIR)/rda && \
54074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54076 "RANLIB=$${RANLIB}" \
54077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54078 installcheck) \
54079 || exit 1
54081 @endif target-rda
54083 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
54084 maybe-mostlyclean-target-rda:
54085 @if target-rda
54086 maybe-mostlyclean-target-rda: mostlyclean-target-rda
54088 mostlyclean-target-rda:
54089 @: $(MAKE); $(unstage)
54090 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54091 r=`${PWD_COMMAND}`; export r; \
54092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54093 $(NORMAL_TARGET_EXPORTS) \
54094 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
54095 for flag in $(EXTRA_TARGET_FLAGS); do \
54096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54097 done; \
54098 (cd $(TARGET_SUBDIR)/rda && \
54099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54101 "RANLIB=$${RANLIB}" \
54102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54103 mostlyclean) \
54104 || exit 1
54106 @endif target-rda
54108 .PHONY: maybe-clean-target-rda clean-target-rda
54109 maybe-clean-target-rda:
54110 @if target-rda
54111 maybe-clean-target-rda: clean-target-rda
54113 clean-target-rda:
54114 @: $(MAKE); $(unstage)
54115 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54116 r=`${PWD_COMMAND}`; export r; \
54117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54118 $(NORMAL_TARGET_EXPORTS) \
54119 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
54120 for flag in $(EXTRA_TARGET_FLAGS); do \
54121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54122 done; \
54123 (cd $(TARGET_SUBDIR)/rda && \
54124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54126 "RANLIB=$${RANLIB}" \
54127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54128 clean) \
54129 || exit 1
54131 @endif target-rda
54133 .PHONY: maybe-distclean-target-rda distclean-target-rda
54134 maybe-distclean-target-rda:
54135 @if target-rda
54136 maybe-distclean-target-rda: distclean-target-rda
54138 distclean-target-rda:
54139 @: $(MAKE); $(unstage)
54140 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54141 r=`${PWD_COMMAND}`; export r; \
54142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54143 $(NORMAL_TARGET_EXPORTS) \
54144 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 distclean) \
54154 || exit 1
54156 @endif target-rda
54158 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
54159 maybe-maintainer-clean-target-rda:
54160 @if target-rda
54161 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
54163 maintainer-clean-target-rda:
54164 @: $(MAKE); $(unstage)
54165 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
54166 r=`${PWD_COMMAND}`; export r; \
54167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54168 $(NORMAL_TARGET_EXPORTS) \
54169 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
54170 for flag in $(EXTRA_TARGET_FLAGS); do \
54171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54172 done; \
54173 (cd $(TARGET_SUBDIR)/rda && \
54174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54176 "RANLIB=$${RANLIB}" \
54177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54178 maintainer-clean) \
54179 || exit 1
54181 @endif target-rda
54187 .PHONY: configure-target-libada maybe-configure-target-libada
54188 maybe-configure-target-libada:
54189 @if gcc-bootstrap
54190 configure-target-libada: stage_current
54191 @endif gcc-bootstrap
54192 @if target-libada
54193 maybe-configure-target-libada: configure-target-libada
54194 configure-target-libada:
54195 @: $(MAKE); $(unstage)
54196 @r=`${PWD_COMMAND}`; export r; \
54197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54198 echo "Checking multilib configuration for libada..."; \
54199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
54200 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
54201 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
54202 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
54203 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
54204 else \
54205 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
54206 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
54207 fi; \
54208 else \
54209 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
54210 fi; \
54211 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
54212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
54213 $(NORMAL_TARGET_EXPORTS) \
54214 echo Configuring in $(TARGET_SUBDIR)/libada; \
54215 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
54216 case $(srcdir) in \
54217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54218 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
54219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54220 esac; \
54221 srcdiroption="--srcdir=$${topdir}/libada"; \
54222 libsrcdir="$$s/libada"; \
54223 rm -f no-such-file || : ; \
54224 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54225 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54226 --target=${target_alias} $${srcdiroption} \
54227 || exit 1
54228 @endif target-libada
54234 .PHONY: all-target-libada maybe-all-target-libada
54235 maybe-all-target-libada:
54236 @if gcc-bootstrap
54237 all-target-libada: stage_current
54238 @endif gcc-bootstrap
54239 @if target-libada
54240 TARGET-target-libada=all
54241 maybe-all-target-libada: all-target-libada
54242 all-target-libada: configure-target-libada
54243 @: $(MAKE); $(unstage)
54244 @r=`${PWD_COMMAND}`; export r; \
54245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54246 $(NORMAL_TARGET_EXPORTS) \
54247 (cd $(TARGET_SUBDIR)/libada && \
54248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54249 $(TARGET-target-libada))
54250 @endif target-libada
54256 .PHONY: check-target-libada maybe-check-target-libada
54257 maybe-check-target-libada:
54258 @if target-libada
54259 maybe-check-target-libada: check-target-libada
54261 check-target-libada:
54262 @: $(MAKE); $(unstage)
54263 @r=`${PWD_COMMAND}`; export r; \
54264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54265 $(NORMAL_TARGET_EXPORTS) \
54266 (cd $(TARGET_SUBDIR)/libada && \
54267 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54269 @endif target-libada
54271 .PHONY: install-target-libada maybe-install-target-libada
54272 maybe-install-target-libada:
54273 @if target-libada
54274 maybe-install-target-libada: install-target-libada
54276 install-target-libada: installdirs
54277 @: $(MAKE); $(unstage)
54278 @r=`${PWD_COMMAND}`; export r; \
54279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54280 $(NORMAL_TARGET_EXPORTS) \
54281 (cd $(TARGET_SUBDIR)/libada && \
54282 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54284 @endif target-libada
54286 # Other targets (info, dvi, pdf, etc.)
54288 .PHONY: maybe-info-target-libada info-target-libada
54289 maybe-info-target-libada:
54290 @if target-libada
54291 maybe-info-target-libada: info-target-libada
54293 info-target-libada: \
54294 configure-target-libada
54295 @: $(MAKE); $(unstage)
54296 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54297 r=`${PWD_COMMAND}`; export r; \
54298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54299 $(NORMAL_TARGET_EXPORTS) \
54300 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
54301 for flag in $(EXTRA_TARGET_FLAGS); do \
54302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54303 done; \
54304 (cd $(TARGET_SUBDIR)/libada && \
54305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54307 "RANLIB=$${RANLIB}" \
54308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54309 info) \
54310 || exit 1
54312 @endif target-libada
54314 .PHONY: maybe-dvi-target-libada dvi-target-libada
54315 maybe-dvi-target-libada:
54316 @if target-libada
54317 maybe-dvi-target-libada: dvi-target-libada
54319 dvi-target-libada: \
54320 configure-target-libada
54321 @: $(MAKE); $(unstage)
54322 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54323 r=`${PWD_COMMAND}`; export r; \
54324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54325 $(NORMAL_TARGET_EXPORTS) \
54326 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
54327 for flag in $(EXTRA_TARGET_FLAGS); do \
54328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54329 done; \
54330 (cd $(TARGET_SUBDIR)/libada && \
54331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54333 "RANLIB=$${RANLIB}" \
54334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54335 dvi) \
54336 || exit 1
54338 @endif target-libada
54340 .PHONY: maybe-pdf-target-libada pdf-target-libada
54341 maybe-pdf-target-libada:
54342 @if target-libada
54343 maybe-pdf-target-libada: pdf-target-libada
54345 pdf-target-libada: \
54346 configure-target-libada
54347 @: $(MAKE); $(unstage)
54348 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54349 r=`${PWD_COMMAND}`; export r; \
54350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54351 $(NORMAL_TARGET_EXPORTS) \
54352 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 pdf) \
54362 || exit 1
54364 @endif target-libada
54366 .PHONY: maybe-html-target-libada html-target-libada
54367 maybe-html-target-libada:
54368 @if target-libada
54369 maybe-html-target-libada: html-target-libada
54371 html-target-libada: \
54372 configure-target-libada
54373 @: $(MAKE); $(unstage)
54374 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54375 r=`${PWD_COMMAND}`; export r; \
54376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54377 $(NORMAL_TARGET_EXPORTS) \
54378 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
54379 for flag in $(EXTRA_TARGET_FLAGS); do \
54380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54381 done; \
54382 (cd $(TARGET_SUBDIR)/libada && \
54383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54385 "RANLIB=$${RANLIB}" \
54386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54387 html) \
54388 || exit 1
54390 @endif target-libada
54392 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
54393 maybe-TAGS-target-libada:
54394 @if target-libada
54395 maybe-TAGS-target-libada: TAGS-target-libada
54397 TAGS-target-libada: \
54398 configure-target-libada
54399 @: $(MAKE); $(unstage)
54400 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54401 r=`${PWD_COMMAND}`; export r; \
54402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54403 $(NORMAL_TARGET_EXPORTS) \
54404 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
54405 for flag in $(EXTRA_TARGET_FLAGS); do \
54406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54407 done; \
54408 (cd $(TARGET_SUBDIR)/libada && \
54409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54411 "RANLIB=$${RANLIB}" \
54412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54413 TAGS) \
54414 || exit 1
54416 @endif target-libada
54418 .PHONY: maybe-install-info-target-libada install-info-target-libada
54419 maybe-install-info-target-libada:
54420 @if target-libada
54421 maybe-install-info-target-libada: install-info-target-libada
54423 install-info-target-libada: \
54424 configure-target-libada \
54425 info-target-libada
54426 @: $(MAKE); $(unstage)
54427 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54428 r=`${PWD_COMMAND}`; export r; \
54429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54430 $(NORMAL_TARGET_EXPORTS) \
54431 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
54432 for flag in $(EXTRA_TARGET_FLAGS); do \
54433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54434 done; \
54435 (cd $(TARGET_SUBDIR)/libada && \
54436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54438 "RANLIB=$${RANLIB}" \
54439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54440 install-info) \
54441 || exit 1
54443 @endif target-libada
54445 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
54446 maybe-install-pdf-target-libada:
54447 @if target-libada
54448 maybe-install-pdf-target-libada: install-pdf-target-libada
54450 install-pdf-target-libada: \
54451 configure-target-libada \
54452 pdf-target-libada
54453 @: $(MAKE); $(unstage)
54454 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54455 r=`${PWD_COMMAND}`; export r; \
54456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54457 $(NORMAL_TARGET_EXPORTS) \
54458 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
54459 for flag in $(EXTRA_TARGET_FLAGS); do \
54460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54461 done; \
54462 (cd $(TARGET_SUBDIR)/libada && \
54463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54465 "RANLIB=$${RANLIB}" \
54466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54467 install-pdf) \
54468 || exit 1
54470 @endif target-libada
54472 .PHONY: maybe-install-html-target-libada install-html-target-libada
54473 maybe-install-html-target-libada:
54474 @if target-libada
54475 maybe-install-html-target-libada: install-html-target-libada
54477 install-html-target-libada: \
54478 configure-target-libada \
54479 html-target-libada
54480 @: $(MAKE); $(unstage)
54481 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54482 r=`${PWD_COMMAND}`; export r; \
54483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54484 $(NORMAL_TARGET_EXPORTS) \
54485 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
54486 for flag in $(EXTRA_TARGET_FLAGS); do \
54487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54488 done; \
54489 (cd $(TARGET_SUBDIR)/libada && \
54490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54492 "RANLIB=$${RANLIB}" \
54493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54494 install-html) \
54495 || exit 1
54497 @endif target-libada
54499 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
54500 maybe-installcheck-target-libada:
54501 @if target-libada
54502 maybe-installcheck-target-libada: installcheck-target-libada
54504 installcheck-target-libada: \
54505 configure-target-libada
54506 @: $(MAKE); $(unstage)
54507 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54508 r=`${PWD_COMMAND}`; export r; \
54509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54510 $(NORMAL_TARGET_EXPORTS) \
54511 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
54512 for flag in $(EXTRA_TARGET_FLAGS); do \
54513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54514 done; \
54515 (cd $(TARGET_SUBDIR)/libada && \
54516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54518 "RANLIB=$${RANLIB}" \
54519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54520 installcheck) \
54521 || exit 1
54523 @endif target-libada
54525 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
54526 maybe-mostlyclean-target-libada:
54527 @if target-libada
54528 maybe-mostlyclean-target-libada: mostlyclean-target-libada
54530 mostlyclean-target-libada:
54531 @: $(MAKE); $(unstage)
54532 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54533 r=`${PWD_COMMAND}`; export r; \
54534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54535 $(NORMAL_TARGET_EXPORTS) \
54536 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
54537 for flag in $(EXTRA_TARGET_FLAGS); do \
54538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54539 done; \
54540 (cd $(TARGET_SUBDIR)/libada && \
54541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54543 "RANLIB=$${RANLIB}" \
54544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54545 mostlyclean) \
54546 || exit 1
54548 @endif target-libada
54550 .PHONY: maybe-clean-target-libada clean-target-libada
54551 maybe-clean-target-libada:
54552 @if target-libada
54553 maybe-clean-target-libada: clean-target-libada
54555 clean-target-libada:
54556 @: $(MAKE); $(unstage)
54557 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54558 r=`${PWD_COMMAND}`; export r; \
54559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54560 $(NORMAL_TARGET_EXPORTS) \
54561 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
54562 for flag in $(EXTRA_TARGET_FLAGS); do \
54563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54564 done; \
54565 (cd $(TARGET_SUBDIR)/libada && \
54566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54568 "RANLIB=$${RANLIB}" \
54569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54570 clean) \
54571 || exit 1
54573 @endif target-libada
54575 .PHONY: maybe-distclean-target-libada distclean-target-libada
54576 maybe-distclean-target-libada:
54577 @if target-libada
54578 maybe-distclean-target-libada: distclean-target-libada
54580 distclean-target-libada:
54581 @: $(MAKE); $(unstage)
54582 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54583 r=`${PWD_COMMAND}`; export r; \
54584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54585 $(NORMAL_TARGET_EXPORTS) \
54586 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
54587 for flag in $(EXTRA_TARGET_FLAGS); do \
54588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54589 done; \
54590 (cd $(TARGET_SUBDIR)/libada && \
54591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54593 "RANLIB=$${RANLIB}" \
54594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54595 distclean) \
54596 || exit 1
54598 @endif target-libada
54600 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
54601 maybe-maintainer-clean-target-libada:
54602 @if target-libada
54603 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
54605 maintainer-clean-target-libada:
54606 @: $(MAKE); $(unstage)
54607 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
54608 r=`${PWD_COMMAND}`; export r; \
54609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54610 $(NORMAL_TARGET_EXPORTS) \
54611 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
54612 for flag in $(EXTRA_TARGET_FLAGS); do \
54613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54614 done; \
54615 (cd $(TARGET_SUBDIR)/libada && \
54616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54618 "RANLIB=$${RANLIB}" \
54619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54620 maintainer-clean) \
54621 || exit 1
54623 @endif target-libada
54629 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
54630 maybe-configure-target-libgomp:
54631 @if gcc-bootstrap
54632 configure-target-libgomp: stage_current
54633 @endif gcc-bootstrap
54634 @if target-libgomp
54635 maybe-configure-target-libgomp: configure-target-libgomp
54636 configure-target-libgomp:
54637 @r=`${PWD_COMMAND}`; export r; \
54638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54639 echo "Checking multilib configuration for libgomp..."; \
54640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54641 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54642 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54643 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54644 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54645 else \
54646 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54647 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54648 fi; \
54649 else \
54650 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54651 fi; \
54652 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54653 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54654 $(NORMAL_TARGET_EXPORTS) \
54655 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
54656 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
54657 case $(srcdir) in \
54658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54659 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54661 esac; \
54662 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54663 libsrcdir="$$s/libgomp"; \
54664 rm -f no-such-file || : ; \
54665 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
54666 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54667 --target=${target_alias} $${srcdiroption} \
54668 || exit 1
54669 @endif target-libgomp
54673 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
54674 maybe-configure-stage1-target-libgomp:
54675 @if target-libgomp-bootstrap
54676 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
54677 configure-stage1-target-libgomp:
54678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
54679 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54680 @r=`${PWD_COMMAND}`; export r; \
54681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54682 TFLAGS="$(STAGE1_TFLAGS)"; \
54683 echo "Checking multilib configuration for libgomp..."; \
54684 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54685 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54686 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54687 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54688 else \
54689 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54690 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54691 fi; \
54692 else \
54693 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54694 fi; \
54695 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54696 $(NORMAL_TARGET_EXPORTS) \
54697 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54698 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54699 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54700 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
54701 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54702 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54703 case $(srcdir) in \
54704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54705 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54707 esac; \
54708 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54709 libsrcdir="$$s/libgomp"; \
54710 $(SHELL) $${libsrcdir}/configure \
54711 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54712 --target=${target_alias} $${srcdiroption} \
54713 $(STAGE1_CONFIGURE_FLAGS)
54714 @endif target-libgomp-bootstrap
54716 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
54717 maybe-configure-stage2-target-libgomp:
54718 @if target-libgomp-bootstrap
54719 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
54720 configure-stage2-target-libgomp:
54721 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
54722 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54723 @r=`${PWD_COMMAND}`; export r; \
54724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54725 TFLAGS="$(STAGE2_TFLAGS)"; \
54726 echo "Checking multilib configuration for libgomp..."; \
54727 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54728 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54729 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54730 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54731 else \
54732 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54733 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54734 fi; \
54735 else \
54736 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54737 fi; \
54738 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54739 $(NORMAL_TARGET_EXPORTS) \
54741 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54742 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54743 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54744 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
54745 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54746 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54747 case $(srcdir) in \
54748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54749 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54751 esac; \
54752 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54753 libsrcdir="$$s/libgomp"; \
54754 $(SHELL) $${libsrcdir}/configure \
54755 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54756 --target=${target_alias} $${srcdiroption} \
54757 --with-build-libsubdir=$(HOST_SUBDIR) \
54758 $(STAGE2_CONFIGURE_FLAGS)
54759 @endif target-libgomp-bootstrap
54761 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
54762 maybe-configure-stage3-target-libgomp:
54763 @if target-libgomp-bootstrap
54764 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
54765 configure-stage3-target-libgomp:
54766 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
54767 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54768 @r=`${PWD_COMMAND}`; export r; \
54769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54770 TFLAGS="$(STAGE3_TFLAGS)"; \
54771 echo "Checking multilib configuration for libgomp..."; \
54772 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54773 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54774 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54775 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54776 else \
54777 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54778 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54779 fi; \
54780 else \
54781 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54782 fi; \
54783 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54784 $(NORMAL_TARGET_EXPORTS) \
54786 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54787 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54788 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54789 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
54790 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54791 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54792 case $(srcdir) in \
54793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54794 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54796 esac; \
54797 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54798 libsrcdir="$$s/libgomp"; \
54799 $(SHELL) $${libsrcdir}/configure \
54800 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54801 --target=${target_alias} $${srcdiroption} \
54802 --with-build-libsubdir=$(HOST_SUBDIR) \
54803 $(STAGE3_CONFIGURE_FLAGS)
54804 @endif target-libgomp-bootstrap
54806 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
54807 maybe-configure-stage4-target-libgomp:
54808 @if target-libgomp-bootstrap
54809 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
54810 configure-stage4-target-libgomp:
54811 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
54812 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54813 @r=`${PWD_COMMAND}`; export r; \
54814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54815 TFLAGS="$(STAGE4_TFLAGS)"; \
54816 echo "Checking multilib configuration for libgomp..."; \
54817 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54818 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54819 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54820 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54821 else \
54822 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54823 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54824 fi; \
54825 else \
54826 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54827 fi; \
54828 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54829 $(NORMAL_TARGET_EXPORTS) \
54831 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54832 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54833 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54834 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
54835 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54836 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54837 case $(srcdir) in \
54838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54839 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54841 esac; \
54842 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54843 libsrcdir="$$s/libgomp"; \
54844 $(SHELL) $${libsrcdir}/configure \
54845 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54846 --target=${target_alias} $${srcdiroption} \
54847 --with-build-libsubdir=$(HOST_SUBDIR) \
54848 $(STAGE4_CONFIGURE_FLAGS)
54849 @endif target-libgomp-bootstrap
54851 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
54852 maybe-configure-stageprofile-target-libgomp:
54853 @if target-libgomp-bootstrap
54854 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
54855 configure-stageprofile-target-libgomp:
54856 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
54857 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54858 @r=`${PWD_COMMAND}`; export r; \
54859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54860 TFLAGS="$(STAGEprofile_TFLAGS)"; \
54861 echo "Checking multilib configuration for libgomp..."; \
54862 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54863 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54864 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54865 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54866 else \
54867 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54868 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54869 fi; \
54870 else \
54871 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54872 fi; \
54873 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54874 $(NORMAL_TARGET_EXPORTS) \
54876 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54877 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54878 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54879 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
54880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54881 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54882 case $(srcdir) in \
54883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54884 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54886 esac; \
54887 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54888 libsrcdir="$$s/libgomp"; \
54889 $(SHELL) $${libsrcdir}/configure \
54890 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54891 --target=${target_alias} $${srcdiroption} \
54892 --with-build-libsubdir=$(HOST_SUBDIR) \
54893 $(STAGEprofile_CONFIGURE_FLAGS)
54894 @endif target-libgomp-bootstrap
54896 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
54897 maybe-configure-stagefeedback-target-libgomp:
54898 @if target-libgomp-bootstrap
54899 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
54900 configure-stagefeedback-target-libgomp:
54901 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
54902 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
54903 @r=`${PWD_COMMAND}`; export r; \
54904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54905 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54906 echo "Checking multilib configuration for libgomp..."; \
54907 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
54908 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54909 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
54910 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
54911 else \
54912 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
54913 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54914 fi; \
54915 else \
54916 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
54917 fi; \
54918 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
54919 $(NORMAL_TARGET_EXPORTS) \
54921 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
54922 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
54923 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
54924 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
54925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
54926 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
54927 case $(srcdir) in \
54928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54929 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
54930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54931 esac; \
54932 srcdiroption="--srcdir=$${topdir}/libgomp"; \
54933 libsrcdir="$$s/libgomp"; \
54934 $(SHELL) $${libsrcdir}/configure \
54935 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54936 --target=${target_alias} $${srcdiroption} \
54937 --with-build-libsubdir=$(HOST_SUBDIR) \
54938 $(STAGEfeedback_CONFIGURE_FLAGS)
54939 @endif target-libgomp-bootstrap
54945 .PHONY: all-target-libgomp maybe-all-target-libgomp
54946 maybe-all-target-libgomp:
54947 @if gcc-bootstrap
54948 all-target-libgomp: stage_current
54949 @endif gcc-bootstrap
54950 @if target-libgomp
54951 TARGET-target-libgomp=all
54952 maybe-all-target-libgomp: all-target-libgomp
54953 all-target-libgomp: configure-target-libgomp
54954 @r=`${PWD_COMMAND}`; export r; \
54955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54956 $(NORMAL_TARGET_EXPORTS) \
54957 (cd $(TARGET_SUBDIR)/libgomp && \
54958 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54959 $(TARGET-target-libgomp))
54960 @endif target-libgomp
54964 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
54965 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
54966 maybe-all-stage1-target-libgomp:
54967 maybe-clean-stage1-target-libgomp:
54968 @if target-libgomp-bootstrap
54969 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
54970 all-stage1: all-stage1-target-libgomp
54971 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
54972 all-stage1-target-libgomp: configure-stage1-target-libgomp
54973 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
54974 @r=`${PWD_COMMAND}`; export r; \
54975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54976 TFLAGS="$(STAGE1_TFLAGS)"; \
54977 $(NORMAL_TARGET_EXPORTS) \
54978 cd $(TARGET_SUBDIR)/libgomp && \
54979 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54980 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54981 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54982 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54986 $(EXTRA_TARGET_FLAGS) \
54987 TFLAGS="$(STAGE1_TFLAGS)" \
54988 $(TARGET-stage1-target-libgomp)
54990 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
54991 clean-stage1: clean-stage1-target-libgomp
54992 clean-stage1-target-libgomp:
54993 @if [ $(current_stage) = stage1 ]; then \
54994 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
54995 else \
54996 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
54997 $(MAKE) stage1-start; \
54998 fi; \
54999 cd $(TARGET_SUBDIR)/libgomp && \
55000 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55001 clean
55002 @endif target-libgomp-bootstrap
55005 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
55006 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
55007 maybe-all-stage2-target-libgomp:
55008 maybe-clean-stage2-target-libgomp:
55009 @if target-libgomp-bootstrap
55010 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
55011 all-stage2: all-stage2-target-libgomp
55012 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
55013 all-stage2-target-libgomp: configure-stage2-target-libgomp
55014 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
55015 @r=`${PWD_COMMAND}`; export r; \
55016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55017 TFLAGS="$(STAGE2_TFLAGS)"; \
55018 $(NORMAL_TARGET_EXPORTS) \
55020 cd $(TARGET_SUBDIR)/libgomp && \
55021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
55022 CFLAGS="$(CFLAGS_FOR_TARGET)" \
55023 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
55024 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
55025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
55026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
55027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
55028 $(EXTRA_TARGET_FLAGS) \
55029 TFLAGS="$(STAGE2_TFLAGS)" \
55030 $(TARGET-stage2-target-libgomp)
55032 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
55033 clean-stage2: clean-stage2-target-libgomp
55034 clean-stage2-target-libgomp:
55035 @if [ $(current_stage) = stage2 ]; then \
55036 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
55037 else \
55038 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
55039 $(MAKE) stage2-start; \
55040 fi; \
55041 cd $(TARGET_SUBDIR)/libgomp && \
55042 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55044 clean
55045 @endif target-libgomp-bootstrap
55048 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
55049 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
55050 maybe-all-stage3-target-libgomp:
55051 maybe-clean-stage3-target-libgomp:
55052 @if target-libgomp-bootstrap
55053 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
55054 all-stage3: all-stage3-target-libgomp
55055 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
55056 all-stage3-target-libgomp: configure-stage3-target-libgomp
55057 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
55058 @r=`${PWD_COMMAND}`; export r; \
55059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55060 TFLAGS="$(STAGE3_TFLAGS)"; \
55061 $(NORMAL_TARGET_EXPORTS) \
55063 cd $(TARGET_SUBDIR)/libgomp && \
55064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
55065 CFLAGS="$(CFLAGS_FOR_TARGET)" \
55066 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
55067 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
55068 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
55069 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
55070 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
55071 $(EXTRA_TARGET_FLAGS) \
55072 TFLAGS="$(STAGE3_TFLAGS)" \
55073 $(TARGET-stage3-target-libgomp)
55075 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
55076 clean-stage3: clean-stage3-target-libgomp
55077 clean-stage3-target-libgomp:
55078 @if [ $(current_stage) = stage3 ]; then \
55079 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
55080 else \
55081 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
55082 $(MAKE) stage3-start; \
55083 fi; \
55084 cd $(TARGET_SUBDIR)/libgomp && \
55085 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55087 clean
55088 @endif target-libgomp-bootstrap
55091 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
55092 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
55093 maybe-all-stage4-target-libgomp:
55094 maybe-clean-stage4-target-libgomp:
55095 @if target-libgomp-bootstrap
55096 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
55097 all-stage4: all-stage4-target-libgomp
55098 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
55099 all-stage4-target-libgomp: configure-stage4-target-libgomp
55100 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
55101 @r=`${PWD_COMMAND}`; export r; \
55102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55103 TFLAGS="$(STAGE4_TFLAGS)"; \
55104 $(NORMAL_TARGET_EXPORTS) \
55106 cd $(TARGET_SUBDIR)/libgomp && \
55107 $(MAKE) $(BASE_FLAGS_TO_PASS) \
55108 CFLAGS="$(CFLAGS_FOR_TARGET)" \
55109 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
55110 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
55111 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
55112 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
55113 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
55114 $(EXTRA_TARGET_FLAGS) \
55115 TFLAGS="$(STAGE4_TFLAGS)" \
55116 $(TARGET-stage4-target-libgomp)
55118 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
55119 clean-stage4: clean-stage4-target-libgomp
55120 clean-stage4-target-libgomp:
55121 @if [ $(current_stage) = stage4 ]; then \
55122 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
55123 else \
55124 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
55125 $(MAKE) stage4-start; \
55126 fi; \
55127 cd $(TARGET_SUBDIR)/libgomp && \
55128 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55130 clean
55131 @endif target-libgomp-bootstrap
55134 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
55135 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
55136 maybe-all-stageprofile-target-libgomp:
55137 maybe-clean-stageprofile-target-libgomp:
55138 @if target-libgomp-bootstrap
55139 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
55140 all-stageprofile: all-stageprofile-target-libgomp
55141 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
55142 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
55143 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
55144 @r=`${PWD_COMMAND}`; export r; \
55145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55146 TFLAGS="$(STAGEprofile_TFLAGS)"; \
55147 $(NORMAL_TARGET_EXPORTS) \
55149 cd $(TARGET_SUBDIR)/libgomp && \
55150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
55151 CFLAGS="$(CFLAGS_FOR_TARGET)" \
55152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
55153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
55154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
55155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
55156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
55157 $(EXTRA_TARGET_FLAGS) \
55158 TFLAGS="$(STAGEprofile_TFLAGS)" \
55159 $(TARGET-stageprofile-target-libgomp)
55161 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
55162 clean-stageprofile: clean-stageprofile-target-libgomp
55163 clean-stageprofile-target-libgomp:
55164 @if [ $(current_stage) = stageprofile ]; then \
55165 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
55166 else \
55167 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
55168 $(MAKE) stageprofile-start; \
55169 fi; \
55170 cd $(TARGET_SUBDIR)/libgomp && \
55171 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55173 clean
55174 @endif target-libgomp-bootstrap
55177 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
55178 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
55179 maybe-all-stagefeedback-target-libgomp:
55180 maybe-clean-stagefeedback-target-libgomp:
55181 @if target-libgomp-bootstrap
55182 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
55183 all-stagefeedback: all-stagefeedback-target-libgomp
55184 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
55185 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
55186 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
55187 @r=`${PWD_COMMAND}`; export r; \
55188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55189 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
55190 $(NORMAL_TARGET_EXPORTS) \
55192 cd $(TARGET_SUBDIR)/libgomp && \
55193 $(MAKE) $(BASE_FLAGS_TO_PASS) \
55194 CFLAGS="$(CFLAGS_FOR_TARGET)" \
55195 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
55196 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
55197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
55198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
55199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
55200 $(EXTRA_TARGET_FLAGS) \
55201 TFLAGS="$(STAGEfeedback_TFLAGS)" \
55202 $(TARGET-stagefeedback-target-libgomp)
55204 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
55205 clean-stagefeedback: clean-stagefeedback-target-libgomp
55206 clean-stagefeedback-target-libgomp:
55207 @if [ $(current_stage) = stagefeedback ]; then \
55208 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
55209 else \
55210 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
55211 $(MAKE) stagefeedback-start; \
55212 fi; \
55213 cd $(TARGET_SUBDIR)/libgomp && \
55214 $(MAKE) $(EXTRA_TARGET_FLAGS) \
55216 clean
55217 @endif target-libgomp-bootstrap
55224 .PHONY: check-target-libgomp maybe-check-target-libgomp
55225 maybe-check-target-libgomp:
55226 @if target-libgomp
55227 maybe-check-target-libgomp: check-target-libgomp
55229 check-target-libgomp:
55230 @: $(MAKE); $(unstage)
55231 @r=`${PWD_COMMAND}`; export r; \
55232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55233 $(NORMAL_TARGET_EXPORTS) \
55234 (cd $(TARGET_SUBDIR)/libgomp && \
55235 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55237 @endif target-libgomp
55239 .PHONY: install-target-libgomp maybe-install-target-libgomp
55240 maybe-install-target-libgomp:
55241 @if target-libgomp
55242 maybe-install-target-libgomp: install-target-libgomp
55244 install-target-libgomp: installdirs
55245 @: $(MAKE); $(unstage)
55246 @r=`${PWD_COMMAND}`; export r; \
55247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55248 $(NORMAL_TARGET_EXPORTS) \
55249 (cd $(TARGET_SUBDIR)/libgomp && \
55250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55252 @endif target-libgomp
55254 # Other targets (info, dvi, pdf, etc.)
55256 .PHONY: maybe-info-target-libgomp info-target-libgomp
55257 maybe-info-target-libgomp:
55258 @if target-libgomp
55259 maybe-info-target-libgomp: info-target-libgomp
55261 info-target-libgomp: \
55262 configure-target-libgomp
55263 @: $(MAKE); $(unstage)
55264 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55265 r=`${PWD_COMMAND}`; export r; \
55266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55267 $(NORMAL_TARGET_EXPORTS) \
55268 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
55269 for flag in $(EXTRA_TARGET_FLAGS); do \
55270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55271 done; \
55272 (cd $(TARGET_SUBDIR)/libgomp && \
55273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55275 "RANLIB=$${RANLIB}" \
55276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55277 info) \
55278 || exit 1
55280 @endif target-libgomp
55282 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
55283 maybe-dvi-target-libgomp:
55284 @if target-libgomp
55285 maybe-dvi-target-libgomp: dvi-target-libgomp
55287 dvi-target-libgomp: \
55288 configure-target-libgomp
55289 @: $(MAKE); $(unstage)
55290 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55291 r=`${PWD_COMMAND}`; export r; \
55292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55293 $(NORMAL_TARGET_EXPORTS) \
55294 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
55295 for flag in $(EXTRA_TARGET_FLAGS); do \
55296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55297 done; \
55298 (cd $(TARGET_SUBDIR)/libgomp && \
55299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55301 "RANLIB=$${RANLIB}" \
55302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55303 dvi) \
55304 || exit 1
55306 @endif target-libgomp
55308 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
55309 maybe-pdf-target-libgomp:
55310 @if target-libgomp
55311 maybe-pdf-target-libgomp: pdf-target-libgomp
55313 pdf-target-libgomp: \
55314 configure-target-libgomp
55315 @: $(MAKE); $(unstage)
55316 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55317 r=`${PWD_COMMAND}`; export r; \
55318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55319 $(NORMAL_TARGET_EXPORTS) \
55320 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
55321 for flag in $(EXTRA_TARGET_FLAGS); do \
55322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55323 done; \
55324 (cd $(TARGET_SUBDIR)/libgomp && \
55325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55327 "RANLIB=$${RANLIB}" \
55328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55329 pdf) \
55330 || exit 1
55332 @endif target-libgomp
55334 .PHONY: maybe-html-target-libgomp html-target-libgomp
55335 maybe-html-target-libgomp:
55336 @if target-libgomp
55337 maybe-html-target-libgomp: html-target-libgomp
55339 html-target-libgomp: \
55340 configure-target-libgomp
55341 @: $(MAKE); $(unstage)
55342 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55343 r=`${PWD_COMMAND}`; export r; \
55344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55345 $(NORMAL_TARGET_EXPORTS) \
55346 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
55347 for flag in $(EXTRA_TARGET_FLAGS); do \
55348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55349 done; \
55350 (cd $(TARGET_SUBDIR)/libgomp && \
55351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55353 "RANLIB=$${RANLIB}" \
55354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55355 html) \
55356 || exit 1
55358 @endif target-libgomp
55360 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
55361 maybe-TAGS-target-libgomp:
55362 @if target-libgomp
55363 maybe-TAGS-target-libgomp: TAGS-target-libgomp
55365 TAGS-target-libgomp: \
55366 configure-target-libgomp
55367 @: $(MAKE); $(unstage)
55368 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55369 r=`${PWD_COMMAND}`; export r; \
55370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55371 $(NORMAL_TARGET_EXPORTS) \
55372 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
55373 for flag in $(EXTRA_TARGET_FLAGS); do \
55374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55375 done; \
55376 (cd $(TARGET_SUBDIR)/libgomp && \
55377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55379 "RANLIB=$${RANLIB}" \
55380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55381 TAGS) \
55382 || exit 1
55384 @endif target-libgomp
55386 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
55387 maybe-install-info-target-libgomp:
55388 @if target-libgomp
55389 maybe-install-info-target-libgomp: install-info-target-libgomp
55391 install-info-target-libgomp: \
55392 configure-target-libgomp \
55393 info-target-libgomp
55394 @: $(MAKE); $(unstage)
55395 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55396 r=`${PWD_COMMAND}`; export r; \
55397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55398 $(NORMAL_TARGET_EXPORTS) \
55399 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
55400 for flag in $(EXTRA_TARGET_FLAGS); do \
55401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55402 done; \
55403 (cd $(TARGET_SUBDIR)/libgomp && \
55404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55406 "RANLIB=$${RANLIB}" \
55407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55408 install-info) \
55409 || exit 1
55411 @endif target-libgomp
55413 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
55414 maybe-install-pdf-target-libgomp:
55415 @if target-libgomp
55416 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
55418 install-pdf-target-libgomp: \
55419 configure-target-libgomp \
55420 pdf-target-libgomp
55421 @: $(MAKE); $(unstage)
55422 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55423 r=`${PWD_COMMAND}`; export r; \
55424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55425 $(NORMAL_TARGET_EXPORTS) \
55426 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
55427 for flag in $(EXTRA_TARGET_FLAGS); do \
55428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55429 done; \
55430 (cd $(TARGET_SUBDIR)/libgomp && \
55431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55433 "RANLIB=$${RANLIB}" \
55434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55435 install-pdf) \
55436 || exit 1
55438 @endif target-libgomp
55440 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
55441 maybe-install-html-target-libgomp:
55442 @if target-libgomp
55443 maybe-install-html-target-libgomp: install-html-target-libgomp
55445 install-html-target-libgomp: \
55446 configure-target-libgomp \
55447 html-target-libgomp
55448 @: $(MAKE); $(unstage)
55449 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55450 r=`${PWD_COMMAND}`; export r; \
55451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55452 $(NORMAL_TARGET_EXPORTS) \
55453 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
55454 for flag in $(EXTRA_TARGET_FLAGS); do \
55455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55456 done; \
55457 (cd $(TARGET_SUBDIR)/libgomp && \
55458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55460 "RANLIB=$${RANLIB}" \
55461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55462 install-html) \
55463 || exit 1
55465 @endif target-libgomp
55467 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
55468 maybe-installcheck-target-libgomp:
55469 @if target-libgomp
55470 maybe-installcheck-target-libgomp: installcheck-target-libgomp
55472 installcheck-target-libgomp: \
55473 configure-target-libgomp
55474 @: $(MAKE); $(unstage)
55475 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55476 r=`${PWD_COMMAND}`; export r; \
55477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55478 $(NORMAL_TARGET_EXPORTS) \
55479 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
55480 for flag in $(EXTRA_TARGET_FLAGS); do \
55481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55482 done; \
55483 (cd $(TARGET_SUBDIR)/libgomp && \
55484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55486 "RANLIB=$${RANLIB}" \
55487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55488 installcheck) \
55489 || exit 1
55491 @endif target-libgomp
55493 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
55494 maybe-mostlyclean-target-libgomp:
55495 @if target-libgomp
55496 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
55498 mostlyclean-target-libgomp:
55499 @: $(MAKE); $(unstage)
55500 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55501 r=`${PWD_COMMAND}`; export r; \
55502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55503 $(NORMAL_TARGET_EXPORTS) \
55504 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
55505 for flag in $(EXTRA_TARGET_FLAGS); do \
55506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55507 done; \
55508 (cd $(TARGET_SUBDIR)/libgomp && \
55509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55511 "RANLIB=$${RANLIB}" \
55512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55513 mostlyclean) \
55514 || exit 1
55516 @endif target-libgomp
55518 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
55519 maybe-clean-target-libgomp:
55520 @if target-libgomp
55521 maybe-clean-target-libgomp: clean-target-libgomp
55523 clean-target-libgomp:
55524 @: $(MAKE); $(unstage)
55525 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55526 r=`${PWD_COMMAND}`; export r; \
55527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55528 $(NORMAL_TARGET_EXPORTS) \
55529 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
55530 for flag in $(EXTRA_TARGET_FLAGS); do \
55531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55532 done; \
55533 (cd $(TARGET_SUBDIR)/libgomp && \
55534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55536 "RANLIB=$${RANLIB}" \
55537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55538 clean) \
55539 || exit 1
55541 @endif target-libgomp
55543 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
55544 maybe-distclean-target-libgomp:
55545 @if target-libgomp
55546 maybe-distclean-target-libgomp: distclean-target-libgomp
55548 distclean-target-libgomp:
55549 @: $(MAKE); $(unstage)
55550 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55551 r=`${PWD_COMMAND}`; export r; \
55552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55553 $(NORMAL_TARGET_EXPORTS) \
55554 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
55555 for flag in $(EXTRA_TARGET_FLAGS); do \
55556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55557 done; \
55558 (cd $(TARGET_SUBDIR)/libgomp && \
55559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55561 "RANLIB=$${RANLIB}" \
55562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55563 distclean) \
55564 || exit 1
55566 @endif target-libgomp
55568 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
55569 maybe-maintainer-clean-target-libgomp:
55570 @if target-libgomp
55571 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
55573 maintainer-clean-target-libgomp:
55574 @: $(MAKE); $(unstage)
55575 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
55576 r=`${PWD_COMMAND}`; export r; \
55577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55578 $(NORMAL_TARGET_EXPORTS) \
55579 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
55580 for flag in $(EXTRA_TARGET_FLAGS); do \
55581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55582 done; \
55583 (cd $(TARGET_SUBDIR)/libgomp && \
55584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55586 "RANLIB=$${RANLIB}" \
55587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55588 maintainer-clean) \
55589 || exit 1
55591 @endif target-libgomp
55595 # ----------
55596 # GCC module
55597 # ----------
55599 @if gcc-no-bootstrap
55600 .PHONY: cross
55601 cross: all-build all-gas all-ld
55602 @r=`${PWD_COMMAND}`; export r; \
55603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55604 $(HOST_EXPORTS) \
55605 echo "Building the C and C++ compiler"; \
55606 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
55607 @r=`${PWD_COMMAND}`; export r; \
55608 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
55609 echo "Building runtime libraries"; \
55610 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
55611 @endif gcc-no-bootstrap
55613 @if gcc
55615 .PHONY: check-gcc-c check-c
55616 check-gcc-c:
55617 r=`${PWD_COMMAND}`; export r; \
55618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55619 $(HOST_EXPORTS) \
55620 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
55621 check-c: check-gcc-c
55623 .PHONY: check-gcc-c++ check-c++
55624 check-gcc-c++:
55625 r=`${PWD_COMMAND}`; export r; \
55626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55627 $(HOST_EXPORTS) \
55628 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
55629 check-c++: check-gcc-c++ check-target-libstdc++-v3
55631 .PHONY: check-gcc-fortran check-fortran
55632 check-gcc-fortran:
55633 r=`${PWD_COMMAND}`; export r; \
55634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55635 $(HOST_EXPORTS) \
55636 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
55637 check-fortran: check-gcc-fortran check-target-libgfortran
55639 .PHONY: check-gcc-java check-java
55640 check-gcc-java:
55641 r=`${PWD_COMMAND}`; export r; \
55642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55643 $(HOST_EXPORTS) \
55644 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
55645 check-java: check-gcc-java check-target-libjava
55647 .PHONY: check-gcc-ada check-ada
55648 check-gcc-ada:
55649 r=`${PWD_COMMAND}`; export r; \
55650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55651 $(HOST_EXPORTS) \
55652 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
55653 check-ada: check-gcc-ada check-target-libada
55655 .PHONY: check-gcc-objc check-objc
55656 check-gcc-objc:
55657 r=`${PWD_COMMAND}`; export r; \
55658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55659 $(HOST_EXPORTS) \
55660 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
55661 check-objc: check-gcc-objc check-target-libobjc
55663 .PHONY: check-gcc-obj-c++ check-obj-c++
55664 check-gcc-obj-c++:
55665 r=`${PWD_COMMAND}`; export r; \
55666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55667 $(HOST_EXPORTS) \
55668 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
55669 check-obj-c++: check-gcc-obj-c++
55672 # Install the gcc headers files, but not the fixed include files,
55673 # which Cygnus is not allowed to distribute. This rule is very
55674 # dependent on the workings of the gcc Makefile.in.
55675 .PHONY: gcc-no-fixedincludes
55676 gcc-no-fixedincludes:
55677 @if [ -f ./gcc/Makefile ]; then \
55678 rm -rf gcc/tmp-include; \
55679 mv gcc/include gcc/tmp-include 2>/dev/null; \
55680 mkdir gcc/include; \
55681 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
55682 touch gcc/stmp-fixinc gcc/include/fixed; \
55683 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
55684 r=`${PWD_COMMAND}`; export r; \
55685 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
55686 $(HOST_EXPORTS) \
55687 (cd ./gcc && \
55688 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
55689 rm -rf gcc/include; \
55690 mv gcc/tmp-include gcc/include 2>/dev/null; \
55691 else true; fi
55692 @endif gcc
55694 # ---------------------
55695 # GCC bootstrap support
55696 # ---------------------
55698 # We track the current stage (the one in 'gcc') in the stage_current file.
55699 # stage_last instead tracks the stage that was built last. These targets
55700 # are dummy when toplevel bootstrap is not active.
55702 # While making host and target tools, symlinks to the final stage must be
55703 # there, so $(unstage) should be run at various points. To avoid excessive
55704 # recursive invocations of make, we "inline" them using a variable. These
55705 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
55706 # to avoid warnings from the GNU Make job server.
55708 unstage = :
55709 stage = :
55710 current_stage = ""
55712 @if gcc-bootstrap
55713 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
55714 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
55715 current_stage = "`cat stage_current 2> /dev/null`"
55716 @endif gcc-bootstrap
55718 .PHONY: unstage stage
55719 unstage:
55720 @: $(MAKE); $(unstage)
55721 stage:
55722 @: $(MAKE); $(stage)
55724 # Disable commands for lean bootstrap.
55725 LEAN = false
55727 # We name the build directories for the various stages "stage1-gcc",
55728 # "stage2-gcc","stage3-gcc", etc.
55730 # Since the 'compare' process will fail (on debugging information) if any
55731 # directory names are different, we need to link the gcc directory for
55732 # the previous stage to a constant name ('prev-gcc'), and to make the name of
55733 # the build directories constant as well. For the latter, we use naked names
55734 # like 'gcc', because the scripts in that directory assume it. We use
55735 # mv on platforms where symlinks to directories do not work or are not
55736 # reliable.
55738 # 'touch' doesn't work right on some platforms.
55739 STAMP = echo timestamp >
55741 # We only want to compare .o files, so set this!
55742 objext = .o
55745 .PHONY: stage1-start stage1-end
55747 stage1-start::
55748 @: $(MAKE); $(stage); \
55749 echo stage1 > stage_current ; \
55750 echo stage1 > stage_last; \
55751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55752 @if bfd
55753 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
55754 mkdir stage1-bfd; \
55755 mv stage1-bfd bfd
55756 @endif bfd
55757 @if opcodes
55758 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
55759 mkdir stage1-opcodes; \
55760 mv stage1-opcodes opcodes
55761 @endif opcodes
55762 @if binutils
55763 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
55764 mkdir stage1-binutils; \
55765 mv stage1-binutils binutils
55766 @endif binutils
55767 @if gas
55768 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
55769 mkdir stage1-gas; \
55770 mv stage1-gas gas
55771 @endif gas
55772 @if gcc
55773 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
55774 mkdir stage1-gcc; \
55775 mv stage1-gcc gcc
55776 @endif gcc
55777 @if gmp
55778 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
55779 mkdir stage1-gmp; \
55780 mv stage1-gmp gmp
55781 @endif gmp
55782 @if mpfr
55783 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
55784 mkdir stage1-mpfr; \
55785 mv stage1-mpfr mpfr
55786 @endif mpfr
55787 @if mpc
55788 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
55789 mkdir stage1-mpc; \
55790 mv stage1-mpc mpc
55791 @endif mpc
55792 @if ppl
55793 @cd $(HOST_SUBDIR); [ -d stage1-ppl ] || \
55794 mkdir stage1-ppl; \
55795 mv stage1-ppl ppl
55796 @endif ppl
55797 @if cloog
55798 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
55799 mkdir stage1-cloog; \
55800 mv stage1-cloog cloog
55801 @endif cloog
55802 @if libelf
55803 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
55804 mkdir stage1-libelf; \
55805 mv stage1-libelf libelf
55806 @endif libelf
55807 @if gold
55808 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
55809 mkdir stage1-gold; \
55810 mv stage1-gold gold
55811 @endif gold
55812 @if intl
55813 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
55814 mkdir stage1-intl; \
55815 mv stage1-intl intl
55816 @endif intl
55817 @if ld
55818 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
55819 mkdir stage1-ld; \
55820 mv stage1-ld ld
55821 @endif ld
55822 @if libcpp
55823 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
55824 mkdir stage1-libcpp; \
55825 mv stage1-libcpp libcpp
55826 @endif libcpp
55827 @if libdecnumber
55828 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
55829 mkdir stage1-libdecnumber; \
55830 mv stage1-libdecnumber libdecnumber
55831 @endif libdecnumber
55832 @if libiberty
55833 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
55834 mkdir stage1-libiberty; \
55835 mv stage1-libiberty libiberty
55836 @endif libiberty
55837 @if zlib
55838 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
55839 mkdir stage1-zlib; \
55840 mv stage1-zlib zlib
55841 @endif zlib
55842 @if lto-plugin
55843 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
55844 mkdir stage1-lto-plugin; \
55845 mv stage1-lto-plugin lto-plugin
55846 @endif lto-plugin
55847 @[ -d stage1-$(TARGET_SUBDIR) ] || \
55848 mkdir stage1-$(TARGET_SUBDIR); \
55849 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
55851 stage1-end::
55852 @if bfd
55853 @if test -d $(HOST_SUBDIR)/bfd ; then \
55854 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
55856 @endif bfd
55857 @if opcodes
55858 @if test -d $(HOST_SUBDIR)/opcodes ; then \
55859 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
55861 @endif opcodes
55862 @if binutils
55863 @if test -d $(HOST_SUBDIR)/binutils ; then \
55864 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
55866 @endif binutils
55867 @if gas
55868 @if test -d $(HOST_SUBDIR)/gas ; then \
55869 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
55871 @endif gas
55872 @if gcc
55873 @if test -d $(HOST_SUBDIR)/gcc ; then \
55874 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
55876 @endif gcc
55877 @if gmp
55878 @if test -d $(HOST_SUBDIR)/gmp ; then \
55879 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
55881 @endif gmp
55882 @if mpfr
55883 @if test -d $(HOST_SUBDIR)/mpfr ; then \
55884 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
55886 @endif mpfr
55887 @if mpc
55888 @if test -d $(HOST_SUBDIR)/mpc ; then \
55889 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
55891 @endif mpc
55892 @if ppl
55893 @if test -d $(HOST_SUBDIR)/ppl ; then \
55894 cd $(HOST_SUBDIR); mv ppl stage1-ppl ; \
55896 @endif ppl
55897 @if cloog
55898 @if test -d $(HOST_SUBDIR)/cloog ; then \
55899 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
55901 @endif cloog
55902 @if libelf
55903 @if test -d $(HOST_SUBDIR)/libelf ; then \
55904 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
55906 @endif libelf
55907 @if gold
55908 @if test -d $(HOST_SUBDIR)/gold ; then \
55909 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
55911 @endif gold
55912 @if intl
55913 @if test -d $(HOST_SUBDIR)/intl ; then \
55914 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
55916 @endif intl
55917 @if ld
55918 @if test -d $(HOST_SUBDIR)/ld ; then \
55919 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
55921 @endif ld
55922 @if libcpp
55923 @if test -d $(HOST_SUBDIR)/libcpp ; then \
55924 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
55926 @endif libcpp
55927 @if libdecnumber
55928 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
55929 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
55931 @endif libdecnumber
55932 @if libiberty
55933 @if test -d $(HOST_SUBDIR)/libiberty ; then \
55934 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
55936 @endif libiberty
55937 @if zlib
55938 @if test -d $(HOST_SUBDIR)/zlib ; then \
55939 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
55941 @endif zlib
55942 @if lto-plugin
55943 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
55944 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
55946 @endif lto-plugin
55947 @if test -d $(TARGET_SUBDIR) ; then \
55948 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
55950 rm -f stage_current
55952 # Bubble a bug fix through all the stages up to stage 1. They are
55953 # remade, but not reconfigured. The next stage (if any) will not be
55954 # reconfigured either.
55955 .PHONY: stage1-bubble
55956 stage1-bubble::
55957 @r=`${PWD_COMMAND}`; export r; \
55958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55959 if test -f stage1-lean ; then \
55960 echo Skipping rebuild of stage1 ; \
55961 else \
55962 $(MAKE) stage1-start; \
55963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
55966 .PHONY: all-stage1 clean-stage1
55967 do-clean: clean-stage1
55969 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55970 # only possibility, but now it conflicts with no-bootstrap rules
55971 @if gcc-bootstrap
55976 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55978 .PHONY: distclean-stage1
55979 distclean-stage1::
55980 @: $(MAKE); $(stage)
55981 @test "`cat stage_last`" != stage1 || rm -f stage_last
55982 rm -rf stage1-*
55985 @endif gcc-bootstrap
55988 .PHONY: stage2-start stage2-end
55990 stage2-start::
55991 @: $(MAKE); $(stage); \
55992 echo stage2 > stage_current ; \
55993 echo stage2 > stage_last; \
55994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55995 @if bfd
55996 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
55997 mkdir stage2-bfd; \
55998 mv stage2-bfd bfd ; \
55999 mv stage1-bfd prev-bfd || test -f stage1-lean
56000 @endif bfd
56001 @if opcodes
56002 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
56003 mkdir stage2-opcodes; \
56004 mv stage2-opcodes opcodes ; \
56005 mv stage1-opcodes prev-opcodes || test -f stage1-lean
56006 @endif opcodes
56007 @if binutils
56008 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
56009 mkdir stage2-binutils; \
56010 mv stage2-binutils binutils ; \
56011 mv stage1-binutils prev-binutils || test -f stage1-lean
56012 @endif binutils
56013 @if gas
56014 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
56015 mkdir stage2-gas; \
56016 mv stage2-gas gas ; \
56017 mv stage1-gas prev-gas || test -f stage1-lean
56018 @endif gas
56019 @if gcc
56020 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
56021 mkdir stage2-gcc; \
56022 mv stage2-gcc gcc ; \
56023 mv stage1-gcc prev-gcc || test -f stage1-lean
56024 @endif gcc
56025 @if gmp
56026 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
56027 mkdir stage2-gmp; \
56028 mv stage2-gmp gmp ; \
56029 mv stage1-gmp prev-gmp || test -f stage1-lean
56030 @endif gmp
56031 @if mpfr
56032 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
56033 mkdir stage2-mpfr; \
56034 mv stage2-mpfr mpfr ; \
56035 mv stage1-mpfr prev-mpfr || test -f stage1-lean
56036 @endif mpfr
56037 @if mpc
56038 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
56039 mkdir stage2-mpc; \
56040 mv stage2-mpc mpc ; \
56041 mv stage1-mpc prev-mpc || test -f stage1-lean
56042 @endif mpc
56043 @if ppl
56044 @cd $(HOST_SUBDIR); [ -d stage2-ppl ] || \
56045 mkdir stage2-ppl; \
56046 mv stage2-ppl ppl ; \
56047 mv stage1-ppl prev-ppl || test -f stage1-lean
56048 @endif ppl
56049 @if cloog
56050 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
56051 mkdir stage2-cloog; \
56052 mv stage2-cloog cloog ; \
56053 mv stage1-cloog prev-cloog || test -f stage1-lean
56054 @endif cloog
56055 @if libelf
56056 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
56057 mkdir stage2-libelf; \
56058 mv stage2-libelf libelf ; \
56059 mv stage1-libelf prev-libelf || test -f stage1-lean
56060 @endif libelf
56061 @if gold
56062 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
56063 mkdir stage2-gold; \
56064 mv stage2-gold gold ; \
56065 mv stage1-gold prev-gold || test -f stage1-lean
56066 @endif gold
56067 @if intl
56068 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
56069 mkdir stage2-intl; \
56070 mv stage2-intl intl ; \
56071 mv stage1-intl prev-intl || test -f stage1-lean
56072 @endif intl
56073 @if ld
56074 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
56075 mkdir stage2-ld; \
56076 mv stage2-ld ld ; \
56077 mv stage1-ld prev-ld || test -f stage1-lean
56078 @endif ld
56079 @if libcpp
56080 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
56081 mkdir stage2-libcpp; \
56082 mv stage2-libcpp libcpp ; \
56083 mv stage1-libcpp prev-libcpp || test -f stage1-lean
56084 @endif libcpp
56085 @if libdecnumber
56086 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
56087 mkdir stage2-libdecnumber; \
56088 mv stage2-libdecnumber libdecnumber ; \
56089 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
56090 @endif libdecnumber
56091 @if libiberty
56092 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
56093 mkdir stage2-libiberty; \
56094 mv stage2-libiberty libiberty ; \
56095 mv stage1-libiberty prev-libiberty || test -f stage1-lean
56096 @endif libiberty
56097 @if zlib
56098 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
56099 mkdir stage2-zlib; \
56100 mv stage2-zlib zlib ; \
56101 mv stage1-zlib prev-zlib || test -f stage1-lean
56102 @endif zlib
56103 @if lto-plugin
56104 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
56105 mkdir stage2-lto-plugin; \
56106 mv stage2-lto-plugin lto-plugin ; \
56107 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
56108 @endif lto-plugin
56109 @[ -d stage2-$(TARGET_SUBDIR) ] || \
56110 mkdir stage2-$(TARGET_SUBDIR); \
56111 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
56112 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
56114 stage2-end::
56115 @if bfd
56116 @if test -d $(HOST_SUBDIR)/bfd ; then \
56117 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
56118 mv prev-bfd stage1-bfd ; : ; \
56120 @endif bfd
56121 @if opcodes
56122 @if test -d $(HOST_SUBDIR)/opcodes ; then \
56123 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
56124 mv prev-opcodes stage1-opcodes ; : ; \
56126 @endif opcodes
56127 @if binutils
56128 @if test -d $(HOST_SUBDIR)/binutils ; then \
56129 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
56130 mv prev-binutils stage1-binutils ; : ; \
56132 @endif binutils
56133 @if gas
56134 @if test -d $(HOST_SUBDIR)/gas ; then \
56135 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
56136 mv prev-gas stage1-gas ; : ; \
56138 @endif gas
56139 @if gcc
56140 @if test -d $(HOST_SUBDIR)/gcc ; then \
56141 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
56142 mv prev-gcc stage1-gcc ; : ; \
56144 @endif gcc
56145 @if gmp
56146 @if test -d $(HOST_SUBDIR)/gmp ; then \
56147 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
56148 mv prev-gmp stage1-gmp ; : ; \
56150 @endif gmp
56151 @if mpfr
56152 @if test -d $(HOST_SUBDIR)/mpfr ; then \
56153 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
56154 mv prev-mpfr stage1-mpfr ; : ; \
56156 @endif mpfr
56157 @if mpc
56158 @if test -d $(HOST_SUBDIR)/mpc ; then \
56159 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
56160 mv prev-mpc stage1-mpc ; : ; \
56162 @endif mpc
56163 @if ppl
56164 @if test -d $(HOST_SUBDIR)/ppl ; then \
56165 cd $(HOST_SUBDIR); mv ppl stage2-ppl ; \
56166 mv prev-ppl stage1-ppl ; : ; \
56168 @endif ppl
56169 @if cloog
56170 @if test -d $(HOST_SUBDIR)/cloog ; then \
56171 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
56172 mv prev-cloog stage1-cloog ; : ; \
56174 @endif cloog
56175 @if libelf
56176 @if test -d $(HOST_SUBDIR)/libelf ; then \
56177 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
56178 mv prev-libelf stage1-libelf ; : ; \
56180 @endif libelf
56181 @if gold
56182 @if test -d $(HOST_SUBDIR)/gold ; then \
56183 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
56184 mv prev-gold stage1-gold ; : ; \
56186 @endif gold
56187 @if intl
56188 @if test -d $(HOST_SUBDIR)/intl ; then \
56189 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
56190 mv prev-intl stage1-intl ; : ; \
56192 @endif intl
56193 @if ld
56194 @if test -d $(HOST_SUBDIR)/ld ; then \
56195 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
56196 mv prev-ld stage1-ld ; : ; \
56198 @endif ld
56199 @if libcpp
56200 @if test -d $(HOST_SUBDIR)/libcpp ; then \
56201 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
56202 mv prev-libcpp stage1-libcpp ; : ; \
56204 @endif libcpp
56205 @if libdecnumber
56206 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
56207 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
56208 mv prev-libdecnumber stage1-libdecnumber ; : ; \
56210 @endif libdecnumber
56211 @if libiberty
56212 @if test -d $(HOST_SUBDIR)/libiberty ; then \
56213 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
56214 mv prev-libiberty stage1-libiberty ; : ; \
56216 @endif libiberty
56217 @if zlib
56218 @if test -d $(HOST_SUBDIR)/zlib ; then \
56219 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
56220 mv prev-zlib stage1-zlib ; : ; \
56222 @endif zlib
56223 @if lto-plugin
56224 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
56225 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
56226 mv prev-lto-plugin stage1-lto-plugin ; : ; \
56228 @endif lto-plugin
56229 @if test -d $(TARGET_SUBDIR) ; then \
56230 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
56231 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
56233 rm -f stage_current
56235 # Bubble a bug fix through all the stages up to stage 2. They are
56236 # remade, but not reconfigured. The next stage (if any) will not be
56237 # reconfigured either.
56238 .PHONY: stage2-bubble
56239 stage2-bubble:: stage1-bubble
56240 @r=`${PWD_COMMAND}`; export r; \
56241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56242 if test -f stage2-lean || test -f stage1-lean ; then \
56243 echo Skipping rebuild of stage2 ; \
56244 else \
56245 $(MAKE) stage2-start; \
56246 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
56249 .PHONY: all-stage2 clean-stage2
56250 do-clean: clean-stage2
56252 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56253 # only possibility, but now it conflicts with no-bootstrap rules
56254 @if gcc-bootstrap
56258 .PHONY: bootstrap2 bootstrap2-lean
56259 bootstrap2:
56260 echo stage2 > stage_final
56261 @r=`${PWD_COMMAND}`; export r; \
56262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56263 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
56264 @: $(MAKE); $(unstage)
56265 @r=`${PWD_COMMAND}`; export r; \
56266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56267 TFLAGS="$(STAGE2_TFLAGS)"; \
56268 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56270 bootstrap2-lean:
56271 echo stage2 > stage_final
56272 @r=`${PWD_COMMAND}`; export r; \
56273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56274 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
56275 @: $(MAKE); $(unstage)
56276 @r=`${PWD_COMMAND}`; export r; \
56277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56278 TFLAGS="$(STAGE2_TFLAGS)"; \
56279 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56282 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56283 distclean-stage1:: distclean-stage2
56284 .PHONY: distclean-stage2
56285 distclean-stage2::
56286 @: $(MAKE); $(stage)
56287 @test "`cat stage_last`" != stage2 || rm -f stage_last
56288 rm -rf stage2-*
56291 @endif gcc-bootstrap
56294 .PHONY: stage3-start stage3-end
56296 stage3-start::
56297 @: $(MAKE); $(stage); \
56298 echo stage3 > stage_current ; \
56299 echo stage3 > stage_last; \
56300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56301 @if bfd
56302 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
56303 mkdir stage3-bfd; \
56304 mv stage3-bfd bfd ; \
56305 mv stage2-bfd prev-bfd || test -f stage2-lean
56306 @endif bfd
56307 @if opcodes
56308 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
56309 mkdir stage3-opcodes; \
56310 mv stage3-opcodes opcodes ; \
56311 mv stage2-opcodes prev-opcodes || test -f stage2-lean
56312 @endif opcodes
56313 @if binutils
56314 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
56315 mkdir stage3-binutils; \
56316 mv stage3-binutils binutils ; \
56317 mv stage2-binutils prev-binutils || test -f stage2-lean
56318 @endif binutils
56319 @if gas
56320 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
56321 mkdir stage3-gas; \
56322 mv stage3-gas gas ; \
56323 mv stage2-gas prev-gas || test -f stage2-lean
56324 @endif gas
56325 @if gcc
56326 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
56327 mkdir stage3-gcc; \
56328 mv stage3-gcc gcc ; \
56329 mv stage2-gcc prev-gcc || test -f stage2-lean
56330 @endif gcc
56331 @if gmp
56332 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
56333 mkdir stage3-gmp; \
56334 mv stage3-gmp gmp ; \
56335 mv stage2-gmp prev-gmp || test -f stage2-lean
56336 @endif gmp
56337 @if mpfr
56338 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
56339 mkdir stage3-mpfr; \
56340 mv stage3-mpfr mpfr ; \
56341 mv stage2-mpfr prev-mpfr || test -f stage2-lean
56342 @endif mpfr
56343 @if mpc
56344 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
56345 mkdir stage3-mpc; \
56346 mv stage3-mpc mpc ; \
56347 mv stage2-mpc prev-mpc || test -f stage2-lean
56348 @endif mpc
56349 @if ppl
56350 @cd $(HOST_SUBDIR); [ -d stage3-ppl ] || \
56351 mkdir stage3-ppl; \
56352 mv stage3-ppl ppl ; \
56353 mv stage2-ppl prev-ppl || test -f stage2-lean
56354 @endif ppl
56355 @if cloog
56356 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
56357 mkdir stage3-cloog; \
56358 mv stage3-cloog cloog ; \
56359 mv stage2-cloog prev-cloog || test -f stage2-lean
56360 @endif cloog
56361 @if libelf
56362 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
56363 mkdir stage3-libelf; \
56364 mv stage3-libelf libelf ; \
56365 mv stage2-libelf prev-libelf || test -f stage2-lean
56366 @endif libelf
56367 @if gold
56368 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
56369 mkdir stage3-gold; \
56370 mv stage3-gold gold ; \
56371 mv stage2-gold prev-gold || test -f stage2-lean
56372 @endif gold
56373 @if intl
56374 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
56375 mkdir stage3-intl; \
56376 mv stage3-intl intl ; \
56377 mv stage2-intl prev-intl || test -f stage2-lean
56378 @endif intl
56379 @if ld
56380 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
56381 mkdir stage3-ld; \
56382 mv stage3-ld ld ; \
56383 mv stage2-ld prev-ld || test -f stage2-lean
56384 @endif ld
56385 @if libcpp
56386 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
56387 mkdir stage3-libcpp; \
56388 mv stage3-libcpp libcpp ; \
56389 mv stage2-libcpp prev-libcpp || test -f stage2-lean
56390 @endif libcpp
56391 @if libdecnumber
56392 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
56393 mkdir stage3-libdecnumber; \
56394 mv stage3-libdecnumber libdecnumber ; \
56395 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
56396 @endif libdecnumber
56397 @if libiberty
56398 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
56399 mkdir stage3-libiberty; \
56400 mv stage3-libiberty libiberty ; \
56401 mv stage2-libiberty prev-libiberty || test -f stage2-lean
56402 @endif libiberty
56403 @if zlib
56404 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
56405 mkdir stage3-zlib; \
56406 mv stage3-zlib zlib ; \
56407 mv stage2-zlib prev-zlib || test -f stage2-lean
56408 @endif zlib
56409 @if lto-plugin
56410 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
56411 mkdir stage3-lto-plugin; \
56412 mv stage3-lto-plugin lto-plugin ; \
56413 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
56414 @endif lto-plugin
56415 @[ -d stage3-$(TARGET_SUBDIR) ] || \
56416 mkdir stage3-$(TARGET_SUBDIR); \
56417 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
56418 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
56420 stage3-end::
56421 @if bfd
56422 @if test -d $(HOST_SUBDIR)/bfd ; then \
56423 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
56424 mv prev-bfd stage2-bfd ; : ; \
56426 @endif bfd
56427 @if opcodes
56428 @if test -d $(HOST_SUBDIR)/opcodes ; then \
56429 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
56430 mv prev-opcodes stage2-opcodes ; : ; \
56432 @endif opcodes
56433 @if binutils
56434 @if test -d $(HOST_SUBDIR)/binutils ; then \
56435 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
56436 mv prev-binutils stage2-binutils ; : ; \
56438 @endif binutils
56439 @if gas
56440 @if test -d $(HOST_SUBDIR)/gas ; then \
56441 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
56442 mv prev-gas stage2-gas ; : ; \
56444 @endif gas
56445 @if gcc
56446 @if test -d $(HOST_SUBDIR)/gcc ; then \
56447 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
56448 mv prev-gcc stage2-gcc ; : ; \
56450 @endif gcc
56451 @if gmp
56452 @if test -d $(HOST_SUBDIR)/gmp ; then \
56453 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
56454 mv prev-gmp stage2-gmp ; : ; \
56456 @endif gmp
56457 @if mpfr
56458 @if test -d $(HOST_SUBDIR)/mpfr ; then \
56459 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
56460 mv prev-mpfr stage2-mpfr ; : ; \
56462 @endif mpfr
56463 @if mpc
56464 @if test -d $(HOST_SUBDIR)/mpc ; then \
56465 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
56466 mv prev-mpc stage2-mpc ; : ; \
56468 @endif mpc
56469 @if ppl
56470 @if test -d $(HOST_SUBDIR)/ppl ; then \
56471 cd $(HOST_SUBDIR); mv ppl stage3-ppl ; \
56472 mv prev-ppl stage2-ppl ; : ; \
56474 @endif ppl
56475 @if cloog
56476 @if test -d $(HOST_SUBDIR)/cloog ; then \
56477 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
56478 mv prev-cloog stage2-cloog ; : ; \
56480 @endif cloog
56481 @if libelf
56482 @if test -d $(HOST_SUBDIR)/libelf ; then \
56483 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
56484 mv prev-libelf stage2-libelf ; : ; \
56486 @endif libelf
56487 @if gold
56488 @if test -d $(HOST_SUBDIR)/gold ; then \
56489 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
56490 mv prev-gold stage2-gold ; : ; \
56492 @endif gold
56493 @if intl
56494 @if test -d $(HOST_SUBDIR)/intl ; then \
56495 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
56496 mv prev-intl stage2-intl ; : ; \
56498 @endif intl
56499 @if ld
56500 @if test -d $(HOST_SUBDIR)/ld ; then \
56501 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
56502 mv prev-ld stage2-ld ; : ; \
56504 @endif ld
56505 @if libcpp
56506 @if test -d $(HOST_SUBDIR)/libcpp ; then \
56507 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
56508 mv prev-libcpp stage2-libcpp ; : ; \
56510 @endif libcpp
56511 @if libdecnumber
56512 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
56513 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
56514 mv prev-libdecnumber stage2-libdecnumber ; : ; \
56516 @endif libdecnumber
56517 @if libiberty
56518 @if test -d $(HOST_SUBDIR)/libiberty ; then \
56519 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
56520 mv prev-libiberty stage2-libiberty ; : ; \
56522 @endif libiberty
56523 @if zlib
56524 @if test -d $(HOST_SUBDIR)/zlib ; then \
56525 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
56526 mv prev-zlib stage2-zlib ; : ; \
56528 @endif zlib
56529 @if lto-plugin
56530 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
56531 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
56532 mv prev-lto-plugin stage2-lto-plugin ; : ; \
56534 @endif lto-plugin
56535 @if test -d $(TARGET_SUBDIR) ; then \
56536 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
56537 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
56539 rm -f stage_current
56541 # Bubble a bug fix through all the stages up to stage 3. They are
56542 # remade, but not reconfigured. The next stage (if any) will not be
56543 # reconfigured either.
56544 .PHONY: stage3-bubble
56545 stage3-bubble:: stage2-bubble
56546 @r=`${PWD_COMMAND}`; export r; \
56547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56548 if test -f stage3-lean || test -f stage2-lean ; then \
56549 echo Skipping rebuild of stage3 ; \
56550 else \
56551 $(MAKE) stage3-start; \
56552 if $(LEAN); then \
56553 rm -rf stage1-* ; \
56554 $(STAMP) stage1-lean ; \
56555 fi; \
56556 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
56558 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
56560 .PHONY: all-stage3 clean-stage3
56561 do-clean: clean-stage3
56563 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56564 # only possibility, but now it conflicts with no-bootstrap rules
56565 @if gcc-bootstrap
56567 compare:
56568 @r=`${PWD_COMMAND}`; export r; \
56569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56570 if test -f stage2-lean; then \
56571 echo Cannot compare object files as stage 2 was deleted. ; \
56572 exit 0 ; \
56573 fi; \
56574 : $(MAKE); $(stage); \
56575 rm -f .bad_compare ; \
56576 echo Comparing stages 2 and 3 ; \
56577 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
56578 files=`find stage3-* -name "*$(objext)" -print | \
56579 sed -n s,^stage$$sed-,,p` ; \
56580 for file in $${files} ; do \
56581 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
56582 if test ! -f $$f1; then continue; fi; \
56583 $(do-compare) > /dev/null 2>&1; \
56584 if test $$? -eq 1; then \
56585 case $$file in \
56586 @compare_exclusions@) \
56587 echo warning: $$file differs ;; \
56588 *) \
56589 echo $$file differs >> .bad_compare ;; \
56590 esac ; \
56591 fi ; \
56592 done ; \
56593 if [ -f .bad_compare ]; then \
56594 echo "Bootstrap comparison failure!"; \
56595 cat .bad_compare; \
56596 exit 1; \
56597 else \
56598 echo Comparison successful.; \
56599 fi ; \
56600 $(STAMP) compare
56601 if $(LEAN); then \
56602 rm -rf stage2-*; \
56603 $(STAMP) stage2-lean; \
56608 .PHONY: bootstrap bootstrap-lean
56609 bootstrap:
56610 echo stage3 > stage_final
56611 @r=`${PWD_COMMAND}`; export r; \
56612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56613 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
56614 @: $(MAKE); $(unstage)
56615 @r=`${PWD_COMMAND}`; export r; \
56616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56617 TFLAGS="$(STAGE3_TFLAGS)"; \
56618 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56620 bootstrap-lean:
56621 echo stage3 > stage_final
56622 @r=`${PWD_COMMAND}`; export r; \
56623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
56625 @: $(MAKE); $(unstage)
56626 @r=`${PWD_COMMAND}`; export r; \
56627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56628 TFLAGS="$(STAGE3_TFLAGS)"; \
56629 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56632 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56633 distclean-stage2:: distclean-stage3
56634 .PHONY: distclean-stage3
56635 distclean-stage3::
56636 @: $(MAKE); $(stage)
56637 @test "`cat stage_last`" != stage3 || rm -f stage_last
56638 rm -rf stage3-* compare
56641 .PHONY: cleanstrap
56642 cleanstrap: do-distclean local-clean
56643 echo stage3 > stage_final
56644 @r=`${PWD_COMMAND}`; export r; \
56645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
56647 @: $(MAKE); $(unstage)
56648 @r=`${PWD_COMMAND}`; export r; \
56649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56650 TFLAGS="$(STAGE3_TFLAGS)"; \
56651 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56653 @endif gcc-bootstrap
56656 .PHONY: stage4-start stage4-end
56658 stage4-start::
56659 @: $(MAKE); $(stage); \
56660 echo stage4 > stage_current ; \
56661 echo stage4 > stage_last; \
56662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
56663 @if bfd
56664 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
56665 mkdir stage4-bfd; \
56666 mv stage4-bfd bfd ; \
56667 mv stage3-bfd prev-bfd || test -f stage3-lean
56668 @endif bfd
56669 @if opcodes
56670 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
56671 mkdir stage4-opcodes; \
56672 mv stage4-opcodes opcodes ; \
56673 mv stage3-opcodes prev-opcodes || test -f stage3-lean
56674 @endif opcodes
56675 @if binutils
56676 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
56677 mkdir stage4-binutils; \
56678 mv stage4-binutils binutils ; \
56679 mv stage3-binutils prev-binutils || test -f stage3-lean
56680 @endif binutils
56681 @if gas
56682 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
56683 mkdir stage4-gas; \
56684 mv stage4-gas gas ; \
56685 mv stage3-gas prev-gas || test -f stage3-lean
56686 @endif gas
56687 @if gcc
56688 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
56689 mkdir stage4-gcc; \
56690 mv stage4-gcc gcc ; \
56691 mv stage3-gcc prev-gcc || test -f stage3-lean
56692 @endif gcc
56693 @if gmp
56694 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
56695 mkdir stage4-gmp; \
56696 mv stage4-gmp gmp ; \
56697 mv stage3-gmp prev-gmp || test -f stage3-lean
56698 @endif gmp
56699 @if mpfr
56700 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
56701 mkdir stage4-mpfr; \
56702 mv stage4-mpfr mpfr ; \
56703 mv stage3-mpfr prev-mpfr || test -f stage3-lean
56704 @endif mpfr
56705 @if mpc
56706 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
56707 mkdir stage4-mpc; \
56708 mv stage4-mpc mpc ; \
56709 mv stage3-mpc prev-mpc || test -f stage3-lean
56710 @endif mpc
56711 @if ppl
56712 @cd $(HOST_SUBDIR); [ -d stage4-ppl ] || \
56713 mkdir stage4-ppl; \
56714 mv stage4-ppl ppl ; \
56715 mv stage3-ppl prev-ppl || test -f stage3-lean
56716 @endif ppl
56717 @if cloog
56718 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
56719 mkdir stage4-cloog; \
56720 mv stage4-cloog cloog ; \
56721 mv stage3-cloog prev-cloog || test -f stage3-lean
56722 @endif cloog
56723 @if libelf
56724 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
56725 mkdir stage4-libelf; \
56726 mv stage4-libelf libelf ; \
56727 mv stage3-libelf prev-libelf || test -f stage3-lean
56728 @endif libelf
56729 @if gold
56730 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
56731 mkdir stage4-gold; \
56732 mv stage4-gold gold ; \
56733 mv stage3-gold prev-gold || test -f stage3-lean
56734 @endif gold
56735 @if intl
56736 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
56737 mkdir stage4-intl; \
56738 mv stage4-intl intl ; \
56739 mv stage3-intl prev-intl || test -f stage3-lean
56740 @endif intl
56741 @if ld
56742 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
56743 mkdir stage4-ld; \
56744 mv stage4-ld ld ; \
56745 mv stage3-ld prev-ld || test -f stage3-lean
56746 @endif ld
56747 @if libcpp
56748 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
56749 mkdir stage4-libcpp; \
56750 mv stage4-libcpp libcpp ; \
56751 mv stage3-libcpp prev-libcpp || test -f stage3-lean
56752 @endif libcpp
56753 @if libdecnumber
56754 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
56755 mkdir stage4-libdecnumber; \
56756 mv stage4-libdecnumber libdecnumber ; \
56757 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
56758 @endif libdecnumber
56759 @if libiberty
56760 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
56761 mkdir stage4-libiberty; \
56762 mv stage4-libiberty libiberty ; \
56763 mv stage3-libiberty prev-libiberty || test -f stage3-lean
56764 @endif libiberty
56765 @if zlib
56766 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
56767 mkdir stage4-zlib; \
56768 mv stage4-zlib zlib ; \
56769 mv stage3-zlib prev-zlib || test -f stage3-lean
56770 @endif zlib
56771 @if lto-plugin
56772 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
56773 mkdir stage4-lto-plugin; \
56774 mv stage4-lto-plugin lto-plugin ; \
56775 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
56776 @endif lto-plugin
56777 @[ -d stage4-$(TARGET_SUBDIR) ] || \
56778 mkdir stage4-$(TARGET_SUBDIR); \
56779 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
56780 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
56782 stage4-end::
56783 @if bfd
56784 @if test -d $(HOST_SUBDIR)/bfd ; then \
56785 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
56786 mv prev-bfd stage3-bfd ; : ; \
56788 @endif bfd
56789 @if opcodes
56790 @if test -d $(HOST_SUBDIR)/opcodes ; then \
56791 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
56792 mv prev-opcodes stage3-opcodes ; : ; \
56794 @endif opcodes
56795 @if binutils
56796 @if test -d $(HOST_SUBDIR)/binutils ; then \
56797 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
56798 mv prev-binutils stage3-binutils ; : ; \
56800 @endif binutils
56801 @if gas
56802 @if test -d $(HOST_SUBDIR)/gas ; then \
56803 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
56804 mv prev-gas stage3-gas ; : ; \
56806 @endif gas
56807 @if gcc
56808 @if test -d $(HOST_SUBDIR)/gcc ; then \
56809 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
56810 mv prev-gcc stage3-gcc ; : ; \
56812 @endif gcc
56813 @if gmp
56814 @if test -d $(HOST_SUBDIR)/gmp ; then \
56815 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
56816 mv prev-gmp stage3-gmp ; : ; \
56818 @endif gmp
56819 @if mpfr
56820 @if test -d $(HOST_SUBDIR)/mpfr ; then \
56821 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
56822 mv prev-mpfr stage3-mpfr ; : ; \
56824 @endif mpfr
56825 @if mpc
56826 @if test -d $(HOST_SUBDIR)/mpc ; then \
56827 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
56828 mv prev-mpc stage3-mpc ; : ; \
56830 @endif mpc
56831 @if ppl
56832 @if test -d $(HOST_SUBDIR)/ppl ; then \
56833 cd $(HOST_SUBDIR); mv ppl stage4-ppl ; \
56834 mv prev-ppl stage3-ppl ; : ; \
56836 @endif ppl
56837 @if cloog
56838 @if test -d $(HOST_SUBDIR)/cloog ; then \
56839 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
56840 mv prev-cloog stage3-cloog ; : ; \
56842 @endif cloog
56843 @if libelf
56844 @if test -d $(HOST_SUBDIR)/libelf ; then \
56845 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
56846 mv prev-libelf stage3-libelf ; : ; \
56848 @endif libelf
56849 @if gold
56850 @if test -d $(HOST_SUBDIR)/gold ; then \
56851 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
56852 mv prev-gold stage3-gold ; : ; \
56854 @endif gold
56855 @if intl
56856 @if test -d $(HOST_SUBDIR)/intl ; then \
56857 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
56858 mv prev-intl stage3-intl ; : ; \
56860 @endif intl
56861 @if ld
56862 @if test -d $(HOST_SUBDIR)/ld ; then \
56863 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
56864 mv prev-ld stage3-ld ; : ; \
56866 @endif ld
56867 @if libcpp
56868 @if test -d $(HOST_SUBDIR)/libcpp ; then \
56869 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
56870 mv prev-libcpp stage3-libcpp ; : ; \
56872 @endif libcpp
56873 @if libdecnumber
56874 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
56875 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
56876 mv prev-libdecnumber stage3-libdecnumber ; : ; \
56878 @endif libdecnumber
56879 @if libiberty
56880 @if test -d $(HOST_SUBDIR)/libiberty ; then \
56881 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
56882 mv prev-libiberty stage3-libiberty ; : ; \
56884 @endif libiberty
56885 @if zlib
56886 @if test -d $(HOST_SUBDIR)/zlib ; then \
56887 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
56888 mv prev-zlib stage3-zlib ; : ; \
56890 @endif zlib
56891 @if lto-plugin
56892 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
56893 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
56894 mv prev-lto-plugin stage3-lto-plugin ; : ; \
56896 @endif lto-plugin
56897 @if test -d $(TARGET_SUBDIR) ; then \
56898 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
56899 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
56901 rm -f stage_current
56903 # Bubble a bug fix through all the stages up to stage 4. They are
56904 # remade, but not reconfigured. The next stage (if any) will not be
56905 # reconfigured either.
56906 .PHONY: stage4-bubble
56907 stage4-bubble:: stage3-bubble
56908 @r=`${PWD_COMMAND}`; export r; \
56909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56910 if test -f stage4-lean || test -f stage3-lean ; then \
56911 echo Skipping rebuild of stage4 ; \
56912 else \
56913 $(MAKE) stage4-start; \
56914 if $(LEAN); then \
56915 rm -rf stage2-* ; \
56916 $(STAMP) stage2-lean ; \
56917 fi; \
56918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
56920 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
56922 .PHONY: all-stage4 clean-stage4
56923 do-clean: clean-stage4
56925 # FIXME: Will not need to be conditional when toplevel bootstrap is the
56926 # only possibility, but now it conflicts with no-bootstrap rules
56927 @if gcc-bootstrap
56929 compare3:
56930 @r=`${PWD_COMMAND}`; export r; \
56931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56932 if test -f stage3-lean; then \
56933 echo Cannot compare object files as stage 3 was deleted. ; \
56934 exit 0 ; \
56935 fi; \
56936 : $(MAKE); $(stage); \
56937 rm -f .bad_compare ; \
56938 echo Comparing stages 3 and 4 ; \
56939 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
56940 files=`find stage4-* -name "*$(objext)" -print | \
56941 sed -n s,^stage$$sed-,,p` ; \
56942 for file in $${files} ; do \
56943 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
56944 if test ! -f $$f1; then continue; fi; \
56945 $(do-compare3) > /dev/null 2>&1; \
56946 if test $$? -eq 1; then \
56947 case $$file in \
56948 @compare_exclusions@) \
56949 echo warning: $$file differs ;; \
56950 *) \
56951 echo $$file differs >> .bad_compare ;; \
56952 esac ; \
56953 fi ; \
56954 done ; \
56955 if [ -f .bad_compare ]; then \
56956 echo "Bootstrap comparison failure!"; \
56957 cat .bad_compare; \
56958 exit 1; \
56959 else \
56960 echo Comparison successful.; \
56961 fi ; \
56962 $(STAMP) compare3
56963 if $(LEAN); then \
56964 rm -rf stage3-*; \
56965 $(STAMP) stage3-lean; \
56970 .PHONY: bootstrap4 bootstrap4-lean
56971 bootstrap4:
56972 echo stage4 > stage_final
56973 @r=`${PWD_COMMAND}`; export r; \
56974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56975 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
56976 @: $(MAKE); $(unstage)
56977 @r=`${PWD_COMMAND}`; export r; \
56978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56979 TFLAGS="$(STAGE4_TFLAGS)"; \
56980 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56982 bootstrap4-lean:
56983 echo stage4 > stage_final
56984 @r=`${PWD_COMMAND}`; export r; \
56985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56986 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
56987 @: $(MAKE); $(unstage)
56988 @r=`${PWD_COMMAND}`; export r; \
56989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56990 TFLAGS="$(STAGE4_TFLAGS)"; \
56991 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
56994 # Rules to wipe a stage and all the following ones, also used for cleanstrap
56995 distclean-stage3:: distclean-stage4
56996 .PHONY: distclean-stage4
56997 distclean-stage4::
56998 @: $(MAKE); $(stage)
56999 @test "`cat stage_last`" != stage4 || rm -f stage_last
57000 rm -rf stage4-* compare3
57003 @endif gcc-bootstrap
57006 .PHONY: stageprofile-start stageprofile-end
57008 stageprofile-start::
57009 @: $(MAKE); $(stage); \
57010 echo stageprofile > stage_current ; \
57011 echo stageprofile > stage_last; \
57012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57013 @if bfd
57014 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
57015 mkdir stageprofile-bfd; \
57016 mv stageprofile-bfd bfd ; \
57017 mv stage1-bfd prev-bfd || test -f stage1-lean
57018 @endif bfd
57019 @if opcodes
57020 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
57021 mkdir stageprofile-opcodes; \
57022 mv stageprofile-opcodes opcodes ; \
57023 mv stage1-opcodes prev-opcodes || test -f stage1-lean
57024 @endif opcodes
57025 @if binutils
57026 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
57027 mkdir stageprofile-binutils; \
57028 mv stageprofile-binutils binutils ; \
57029 mv stage1-binutils prev-binutils || test -f stage1-lean
57030 @endif binutils
57031 @if gas
57032 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
57033 mkdir stageprofile-gas; \
57034 mv stageprofile-gas gas ; \
57035 mv stage1-gas prev-gas || test -f stage1-lean
57036 @endif gas
57037 @if gcc
57038 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
57039 mkdir stageprofile-gcc; \
57040 mv stageprofile-gcc gcc ; \
57041 mv stage1-gcc prev-gcc || test -f stage1-lean
57042 @endif gcc
57043 @if gmp
57044 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
57045 mkdir stageprofile-gmp; \
57046 mv stageprofile-gmp gmp ; \
57047 mv stage1-gmp prev-gmp || test -f stage1-lean
57048 @endif gmp
57049 @if mpfr
57050 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
57051 mkdir stageprofile-mpfr; \
57052 mv stageprofile-mpfr mpfr ; \
57053 mv stage1-mpfr prev-mpfr || test -f stage1-lean
57054 @endif mpfr
57055 @if mpc
57056 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
57057 mkdir stageprofile-mpc; \
57058 mv stageprofile-mpc mpc ; \
57059 mv stage1-mpc prev-mpc || test -f stage1-lean
57060 @endif mpc
57061 @if ppl
57062 @cd $(HOST_SUBDIR); [ -d stageprofile-ppl ] || \
57063 mkdir stageprofile-ppl; \
57064 mv stageprofile-ppl ppl ; \
57065 mv stage1-ppl prev-ppl || test -f stage1-lean
57066 @endif ppl
57067 @if cloog
57068 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
57069 mkdir stageprofile-cloog; \
57070 mv stageprofile-cloog cloog ; \
57071 mv stage1-cloog prev-cloog || test -f stage1-lean
57072 @endif cloog
57073 @if libelf
57074 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
57075 mkdir stageprofile-libelf; \
57076 mv stageprofile-libelf libelf ; \
57077 mv stage1-libelf prev-libelf || test -f stage1-lean
57078 @endif libelf
57079 @if gold
57080 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
57081 mkdir stageprofile-gold; \
57082 mv stageprofile-gold gold ; \
57083 mv stage1-gold prev-gold || test -f stage1-lean
57084 @endif gold
57085 @if intl
57086 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
57087 mkdir stageprofile-intl; \
57088 mv stageprofile-intl intl ; \
57089 mv stage1-intl prev-intl || test -f stage1-lean
57090 @endif intl
57091 @if ld
57092 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
57093 mkdir stageprofile-ld; \
57094 mv stageprofile-ld ld ; \
57095 mv stage1-ld prev-ld || test -f stage1-lean
57096 @endif ld
57097 @if libcpp
57098 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
57099 mkdir stageprofile-libcpp; \
57100 mv stageprofile-libcpp libcpp ; \
57101 mv stage1-libcpp prev-libcpp || test -f stage1-lean
57102 @endif libcpp
57103 @if libdecnumber
57104 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
57105 mkdir stageprofile-libdecnumber; \
57106 mv stageprofile-libdecnumber libdecnumber ; \
57107 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
57108 @endif libdecnumber
57109 @if libiberty
57110 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
57111 mkdir stageprofile-libiberty; \
57112 mv stageprofile-libiberty libiberty ; \
57113 mv stage1-libiberty prev-libiberty || test -f stage1-lean
57114 @endif libiberty
57115 @if zlib
57116 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
57117 mkdir stageprofile-zlib; \
57118 mv stageprofile-zlib zlib ; \
57119 mv stage1-zlib prev-zlib || test -f stage1-lean
57120 @endif zlib
57121 @if lto-plugin
57122 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
57123 mkdir stageprofile-lto-plugin; \
57124 mv stageprofile-lto-plugin lto-plugin ; \
57125 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
57126 @endif lto-plugin
57127 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
57128 mkdir stageprofile-$(TARGET_SUBDIR); \
57129 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
57130 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
57132 stageprofile-end::
57133 @if bfd
57134 @if test -d $(HOST_SUBDIR)/bfd ; then \
57135 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
57136 mv prev-bfd stage1-bfd ; : ; \
57138 @endif bfd
57139 @if opcodes
57140 @if test -d $(HOST_SUBDIR)/opcodes ; then \
57141 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
57142 mv prev-opcodes stage1-opcodes ; : ; \
57144 @endif opcodes
57145 @if binutils
57146 @if test -d $(HOST_SUBDIR)/binutils ; then \
57147 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
57148 mv prev-binutils stage1-binutils ; : ; \
57150 @endif binutils
57151 @if gas
57152 @if test -d $(HOST_SUBDIR)/gas ; then \
57153 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
57154 mv prev-gas stage1-gas ; : ; \
57156 @endif gas
57157 @if gcc
57158 @if test -d $(HOST_SUBDIR)/gcc ; then \
57159 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
57160 mv prev-gcc stage1-gcc ; : ; \
57162 @endif gcc
57163 @if gmp
57164 @if test -d $(HOST_SUBDIR)/gmp ; then \
57165 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
57166 mv prev-gmp stage1-gmp ; : ; \
57168 @endif gmp
57169 @if mpfr
57170 @if test -d $(HOST_SUBDIR)/mpfr ; then \
57171 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
57172 mv prev-mpfr stage1-mpfr ; : ; \
57174 @endif mpfr
57175 @if mpc
57176 @if test -d $(HOST_SUBDIR)/mpc ; then \
57177 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
57178 mv prev-mpc stage1-mpc ; : ; \
57180 @endif mpc
57181 @if ppl
57182 @if test -d $(HOST_SUBDIR)/ppl ; then \
57183 cd $(HOST_SUBDIR); mv ppl stageprofile-ppl ; \
57184 mv prev-ppl stage1-ppl ; : ; \
57186 @endif ppl
57187 @if cloog
57188 @if test -d $(HOST_SUBDIR)/cloog ; then \
57189 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
57190 mv prev-cloog stage1-cloog ; : ; \
57192 @endif cloog
57193 @if libelf
57194 @if test -d $(HOST_SUBDIR)/libelf ; then \
57195 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
57196 mv prev-libelf stage1-libelf ; : ; \
57198 @endif libelf
57199 @if gold
57200 @if test -d $(HOST_SUBDIR)/gold ; then \
57201 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
57202 mv prev-gold stage1-gold ; : ; \
57204 @endif gold
57205 @if intl
57206 @if test -d $(HOST_SUBDIR)/intl ; then \
57207 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
57208 mv prev-intl stage1-intl ; : ; \
57210 @endif intl
57211 @if ld
57212 @if test -d $(HOST_SUBDIR)/ld ; then \
57213 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
57214 mv prev-ld stage1-ld ; : ; \
57216 @endif ld
57217 @if libcpp
57218 @if test -d $(HOST_SUBDIR)/libcpp ; then \
57219 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
57220 mv prev-libcpp stage1-libcpp ; : ; \
57222 @endif libcpp
57223 @if libdecnumber
57224 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
57225 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
57226 mv prev-libdecnumber stage1-libdecnumber ; : ; \
57228 @endif libdecnumber
57229 @if libiberty
57230 @if test -d $(HOST_SUBDIR)/libiberty ; then \
57231 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
57232 mv prev-libiberty stage1-libiberty ; : ; \
57234 @endif libiberty
57235 @if zlib
57236 @if test -d $(HOST_SUBDIR)/zlib ; then \
57237 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
57238 mv prev-zlib stage1-zlib ; : ; \
57240 @endif zlib
57241 @if lto-plugin
57242 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
57243 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
57244 mv prev-lto-plugin stage1-lto-plugin ; : ; \
57246 @endif lto-plugin
57247 @if test -d $(TARGET_SUBDIR) ; then \
57248 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
57249 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
57251 rm -f stage_current
57253 # Bubble a bug fix through all the stages up to stage profile. They are
57254 # remade, but not reconfigured. The next stage (if any) will not be
57255 # reconfigured either.
57256 .PHONY: stageprofile-bubble
57257 stageprofile-bubble:: stage1-bubble
57258 @r=`${PWD_COMMAND}`; export r; \
57259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57260 if test -f stageprofile-lean || test -f stage1-lean ; then \
57261 echo Skipping rebuild of stageprofile ; \
57262 else \
57263 $(MAKE) stageprofile-start; \
57264 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
57267 .PHONY: all-stageprofile clean-stageprofile
57268 do-clean: clean-stageprofile
57270 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57271 # only possibility, but now it conflicts with no-bootstrap rules
57272 @if gcc-bootstrap
57277 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57278 distclean-stage1:: distclean-stageprofile
57279 .PHONY: distclean-stageprofile
57280 distclean-stageprofile::
57281 @: $(MAKE); $(stage)
57282 @test "`cat stage_last`" != stageprofile || rm -f stage_last
57283 rm -rf stageprofile-*
57286 @endif gcc-bootstrap
57289 .PHONY: stagefeedback-start stagefeedback-end
57291 stagefeedback-start::
57292 @: $(MAKE); $(stage); \
57293 echo stagefeedback > stage_current ; \
57294 echo stagefeedback > stage_last; \
57295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
57296 @if bfd
57297 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
57298 mkdir stagefeedback-bfd; \
57299 mv stagefeedback-bfd bfd ; \
57300 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
57301 @endif bfd
57302 @if opcodes
57303 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
57304 mkdir stagefeedback-opcodes; \
57305 mv stagefeedback-opcodes opcodes ; \
57306 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
57307 @endif opcodes
57308 @if binutils
57309 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
57310 mkdir stagefeedback-binutils; \
57311 mv stagefeedback-binutils binutils ; \
57312 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
57313 @endif binutils
57314 @if gas
57315 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
57316 mkdir stagefeedback-gas; \
57317 mv stagefeedback-gas gas ; \
57318 mv stageprofile-gas prev-gas || test -f stageprofile-lean
57319 @endif gas
57320 @if gcc
57321 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
57322 mkdir stagefeedback-gcc; \
57323 mv stagefeedback-gcc gcc ; \
57324 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
57325 @endif gcc
57326 @if gmp
57327 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
57328 mkdir stagefeedback-gmp; \
57329 mv stagefeedback-gmp gmp ; \
57330 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
57331 @endif gmp
57332 @if mpfr
57333 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
57334 mkdir stagefeedback-mpfr; \
57335 mv stagefeedback-mpfr mpfr ; \
57336 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
57337 @endif mpfr
57338 @if mpc
57339 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
57340 mkdir stagefeedback-mpc; \
57341 mv stagefeedback-mpc mpc ; \
57342 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
57343 @endif mpc
57344 @if ppl
57345 @cd $(HOST_SUBDIR); [ -d stagefeedback-ppl ] || \
57346 mkdir stagefeedback-ppl; \
57347 mv stagefeedback-ppl ppl ; \
57348 mv stageprofile-ppl prev-ppl || test -f stageprofile-lean
57349 @endif ppl
57350 @if cloog
57351 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
57352 mkdir stagefeedback-cloog; \
57353 mv stagefeedback-cloog cloog ; \
57354 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
57355 @endif cloog
57356 @if libelf
57357 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
57358 mkdir stagefeedback-libelf; \
57359 mv stagefeedback-libelf libelf ; \
57360 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
57361 @endif libelf
57362 @if gold
57363 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
57364 mkdir stagefeedback-gold; \
57365 mv stagefeedback-gold gold ; \
57366 mv stageprofile-gold prev-gold || test -f stageprofile-lean
57367 @endif gold
57368 @if intl
57369 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
57370 mkdir stagefeedback-intl; \
57371 mv stagefeedback-intl intl ; \
57372 mv stageprofile-intl prev-intl || test -f stageprofile-lean
57373 @endif intl
57374 @if ld
57375 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
57376 mkdir stagefeedback-ld; \
57377 mv stagefeedback-ld ld ; \
57378 mv stageprofile-ld prev-ld || test -f stageprofile-lean
57379 @endif ld
57380 @if libcpp
57381 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
57382 mkdir stagefeedback-libcpp; \
57383 mv stagefeedback-libcpp libcpp ; \
57384 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
57385 @endif libcpp
57386 @if libdecnumber
57387 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
57388 mkdir stagefeedback-libdecnumber; \
57389 mv stagefeedback-libdecnumber libdecnumber ; \
57390 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
57391 @endif libdecnumber
57392 @if libiberty
57393 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
57394 mkdir stagefeedback-libiberty; \
57395 mv stagefeedback-libiberty libiberty ; \
57396 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
57397 @endif libiberty
57398 @if zlib
57399 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
57400 mkdir stagefeedback-zlib; \
57401 mv stagefeedback-zlib zlib ; \
57402 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
57403 @endif zlib
57404 @if lto-plugin
57405 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
57406 mkdir stagefeedback-lto-plugin; \
57407 mv stagefeedback-lto-plugin lto-plugin ; \
57408 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
57409 @endif lto-plugin
57410 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
57411 mkdir stagefeedback-$(TARGET_SUBDIR); \
57412 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
57413 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
57415 stagefeedback-end::
57416 @if bfd
57417 @if test -d $(HOST_SUBDIR)/bfd ; then \
57418 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
57419 mv prev-bfd stageprofile-bfd ; : ; \
57421 @endif bfd
57422 @if opcodes
57423 @if test -d $(HOST_SUBDIR)/opcodes ; then \
57424 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
57425 mv prev-opcodes stageprofile-opcodes ; : ; \
57427 @endif opcodes
57428 @if binutils
57429 @if test -d $(HOST_SUBDIR)/binutils ; then \
57430 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
57431 mv prev-binutils stageprofile-binutils ; : ; \
57433 @endif binutils
57434 @if gas
57435 @if test -d $(HOST_SUBDIR)/gas ; then \
57436 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
57437 mv prev-gas stageprofile-gas ; : ; \
57439 @endif gas
57440 @if gcc
57441 @if test -d $(HOST_SUBDIR)/gcc ; then \
57442 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
57443 mv prev-gcc stageprofile-gcc ; : ; \
57445 @endif gcc
57446 @if gmp
57447 @if test -d $(HOST_SUBDIR)/gmp ; then \
57448 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
57449 mv prev-gmp stageprofile-gmp ; : ; \
57451 @endif gmp
57452 @if mpfr
57453 @if test -d $(HOST_SUBDIR)/mpfr ; then \
57454 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
57455 mv prev-mpfr stageprofile-mpfr ; : ; \
57457 @endif mpfr
57458 @if mpc
57459 @if test -d $(HOST_SUBDIR)/mpc ; then \
57460 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
57461 mv prev-mpc stageprofile-mpc ; : ; \
57463 @endif mpc
57464 @if ppl
57465 @if test -d $(HOST_SUBDIR)/ppl ; then \
57466 cd $(HOST_SUBDIR); mv ppl stagefeedback-ppl ; \
57467 mv prev-ppl stageprofile-ppl ; : ; \
57469 @endif ppl
57470 @if cloog
57471 @if test -d $(HOST_SUBDIR)/cloog ; then \
57472 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
57473 mv prev-cloog stageprofile-cloog ; : ; \
57475 @endif cloog
57476 @if libelf
57477 @if test -d $(HOST_SUBDIR)/libelf ; then \
57478 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
57479 mv prev-libelf stageprofile-libelf ; : ; \
57481 @endif libelf
57482 @if gold
57483 @if test -d $(HOST_SUBDIR)/gold ; then \
57484 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
57485 mv prev-gold stageprofile-gold ; : ; \
57487 @endif gold
57488 @if intl
57489 @if test -d $(HOST_SUBDIR)/intl ; then \
57490 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
57491 mv prev-intl stageprofile-intl ; : ; \
57493 @endif intl
57494 @if ld
57495 @if test -d $(HOST_SUBDIR)/ld ; then \
57496 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
57497 mv prev-ld stageprofile-ld ; : ; \
57499 @endif ld
57500 @if libcpp
57501 @if test -d $(HOST_SUBDIR)/libcpp ; then \
57502 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
57503 mv prev-libcpp stageprofile-libcpp ; : ; \
57505 @endif libcpp
57506 @if libdecnumber
57507 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
57508 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
57509 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
57511 @endif libdecnumber
57512 @if libiberty
57513 @if test -d $(HOST_SUBDIR)/libiberty ; then \
57514 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
57515 mv prev-libiberty stageprofile-libiberty ; : ; \
57517 @endif libiberty
57518 @if zlib
57519 @if test -d $(HOST_SUBDIR)/zlib ; then \
57520 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
57521 mv prev-zlib stageprofile-zlib ; : ; \
57523 @endif zlib
57524 @if lto-plugin
57525 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
57526 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
57527 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
57529 @endif lto-plugin
57530 @if test -d $(TARGET_SUBDIR) ; then \
57531 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
57532 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
57534 rm -f stage_current
57536 # Bubble a bug fix through all the stages up to stage feedback. They are
57537 # remade, but not reconfigured. The next stage (if any) will not be
57538 # reconfigured either.
57539 .PHONY: stagefeedback-bubble
57540 stagefeedback-bubble:: stageprofile-bubble
57541 @r=`${PWD_COMMAND}`; export r; \
57542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57543 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
57544 echo Skipping rebuild of stagefeedback ; \
57545 else \
57546 $(MAKE) stagefeedback-start; \
57547 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
57550 .PHONY: all-stagefeedback clean-stagefeedback
57551 do-clean: clean-stagefeedback
57553 # FIXME: Will not need to be conditional when toplevel bootstrap is the
57554 # only possibility, but now it conflicts with no-bootstrap rules
57555 @if gcc-bootstrap
57559 .PHONY: profiledbootstrap profiledbootstrap-lean
57560 profiledbootstrap:
57561 echo stagefeedback > stage_final
57562 @r=`${PWD_COMMAND}`; export r; \
57563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57564 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
57565 @: $(MAKE); $(unstage)
57566 @r=`${PWD_COMMAND}`; export r; \
57567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57568 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57569 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57571 profiledbootstrap-lean:
57572 echo stagefeedback > stage_final
57573 @r=`${PWD_COMMAND}`; export r; \
57574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57575 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
57576 @: $(MAKE); $(unstage)
57577 @r=`${PWD_COMMAND}`; export r; \
57578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57579 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57580 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
57583 # Rules to wipe a stage and all the following ones, also used for cleanstrap
57584 distclean-stageprofile:: distclean-stagefeedback
57585 .PHONY: distclean-stagefeedback
57586 distclean-stagefeedback::
57587 @: $(MAKE); $(stage)
57588 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
57589 rm -rf stagefeedback-*
57592 @endif gcc-bootstrap
57596 stageprofile-end::
57597 $(MAKE) distclean-stagefeedback
57599 stagefeedback-start::
57600 @r=`${PWD_COMMAND}`; export r; \
57601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57602 for i in prev-*; do \
57603 j=`echo $$i | sed s/^prev-//` ; \
57604 cd $$r/$$i && \
57605 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
57606 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
57607 done
57609 @if gcc-bootstrap
57610 do-distclean: distclean-stage1
57612 # Provide a GCC build when we're building target libraries. This does
57613 # not work as a dependency, just as the minimum necessary to avoid errors.
57614 stage_last:
57615 @r=`${PWD_COMMAND}`; export r; \
57616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57617 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
57619 # Same as unstage, but not phony and defaulting to stage1-start. We place
57620 # it in the dependency so that for example `make -j3 all-gcc' works.
57621 stage_current:
57622 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
57624 .PHONY: restrap
57625 restrap::
57626 @: $(MAKE); $(stage)
57627 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
57628 restrap:: all
57629 @endif gcc-bootstrap
57631 # --------------------------------------
57632 # Dependencies between different modules
57633 # --------------------------------------
57635 # Generic dependencies for target modules on host stuff, especially gcc
57636 @if gcc-bootstrap
57637 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
57638 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
57639 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
57640 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
57641 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
57642 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
57643 configure-target-libmudflap: stage_last
57644 configure-target-libssp: stage_last
57645 configure-target-newlib: stage_last
57646 configure-stage1-target-libgcc: maybe-all-stage1-gcc
57647 configure-stage2-target-libgcc: maybe-all-stage2-gcc
57648 configure-stage3-target-libgcc: maybe-all-stage3-gcc
57649 configure-stage4-target-libgcc: maybe-all-stage4-gcc
57650 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
57651 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
57652 configure-target-libgfortran: stage_last
57653 configure-target-libobjc: stage_last
57654 configure-target-libtermcap: stage_last
57655 configure-target-winsup: stage_last
57656 configure-target-libgloss: stage_last
57657 configure-target-libiberty: stage_last
57658 configure-target-gperf: stage_last
57659 configure-target-examples: stage_last
57660 configure-target-libffi: stage_last
57661 configure-target-libjava: stage_last
57662 configure-target-zlib: stage_last
57663 configure-target-boehm-gc: stage_last
57664 configure-target-qthreads: stage_last
57665 configure-target-rda: stage_last
57666 configure-target-libada: stage_last
57667 configure-stage1-target-libgomp: maybe-all-stage1-gcc
57668 configure-stage2-target-libgomp: maybe-all-stage2-gcc
57669 configure-stage3-target-libgomp: maybe-all-stage3-gcc
57670 configure-stage4-target-libgomp: maybe-all-stage4-gcc
57671 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
57672 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
57673 @endif gcc-bootstrap
57675 @if gcc-no-bootstrap
57676 configure-target-libstdc++-v3: maybe-all-gcc
57677 configure-target-libmudflap: maybe-all-gcc
57678 configure-target-libssp: maybe-all-gcc
57679 configure-target-newlib: maybe-all-gcc
57680 configure-target-libgcc: maybe-all-gcc
57681 configure-target-libgfortran: maybe-all-gcc
57682 configure-target-libobjc: maybe-all-gcc
57683 configure-target-libtermcap: maybe-all-gcc
57684 configure-target-winsup: maybe-all-gcc
57685 configure-target-libgloss: maybe-all-gcc
57686 configure-target-libiberty: maybe-all-gcc
57687 configure-target-gperf: maybe-all-gcc
57688 configure-target-examples: maybe-all-gcc
57689 configure-target-libffi: maybe-all-gcc
57690 configure-target-libjava: maybe-all-gcc
57691 configure-target-zlib: maybe-all-gcc
57692 configure-target-boehm-gc: maybe-all-gcc
57693 configure-target-qthreads: maybe-all-gcc
57694 configure-target-rda: maybe-all-gcc
57695 configure-target-libada: maybe-all-gcc
57696 configure-target-libgomp: maybe-all-gcc
57697 @endif gcc-no-bootstrap
57700 # There are two types of dependencies here: 'hard' dependencies, where one
57701 # module simply won't build without the other; and 'soft' dependencies, where
57702 # if the depended-on module is missing, the depending module will do without
57703 # or find a substitute somewhere (perhaps installed). Soft dependencies
57704 # are made here to depend on a 'maybe-' target. If you're not sure,
57705 # it's safer to use a soft dependency.
57712 # With all the machinery above in place, it is pretty easy to generate
57713 # dependencies. Host dependencies are a bit more complex because we have
57714 # to check for bootstrap/prebootstrap dependencies. To resolve
57715 # prebootstrap dependencies, prebootstrap modules are gathered in
57716 # a hash table.
57717 all-build-bison: maybe-all-build-texinfo
57718 all-build-byacc: maybe-all-build-texinfo
57719 all-build-flex: maybe-all-build-texinfo
57720 all-build-flex: maybe-all-build-bison
57721 all-build-flex: maybe-all-build-byacc
57722 all-build-flex: maybe-all-build-m4
57723 all-build-libiberty: maybe-all-build-texinfo
57724 all-build-m4: maybe-all-build-texinfo
57725 all-build-fixincludes: maybe-all-build-libiberty
57726 configure-gcc: maybe-configure-intl
57728 configure-stage1-gcc: maybe-configure-stage1-intl
57729 configure-stage2-gcc: maybe-configure-stage2-intl
57730 configure-stage3-gcc: maybe-configure-stage3-intl
57731 configure-stage4-gcc: maybe-configure-stage4-intl
57732 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
57733 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
57734 configure-gcc: maybe-all-binutils
57736 configure-stage1-gcc: maybe-all-stage1-binutils
57737 configure-stage2-gcc: maybe-all-stage2-binutils
57738 configure-stage3-gcc: maybe-all-stage3-binutils
57739 configure-stage4-gcc: maybe-all-stage4-binutils
57740 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
57741 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
57742 configure-gcc: maybe-all-gas
57744 configure-stage1-gcc: maybe-all-stage1-gas
57745 configure-stage2-gcc: maybe-all-stage2-gas
57746 configure-stage3-gcc: maybe-all-stage3-gas
57747 configure-stage4-gcc: maybe-all-stage4-gas
57748 configure-stageprofile-gcc: maybe-all-stageprofile-gas
57749 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
57750 configure-gcc: maybe-all-ld
57752 configure-stage1-gcc: maybe-all-stage1-ld
57753 configure-stage2-gcc: maybe-all-stage2-ld
57754 configure-stage3-gcc: maybe-all-stage3-ld
57755 configure-stage4-gcc: maybe-all-stage4-ld
57756 configure-stageprofile-gcc: maybe-all-stageprofile-ld
57757 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
57758 configure-gcc: maybe-all-gold
57760 configure-stage1-gcc: maybe-all-stage1-gold
57761 configure-stage2-gcc: maybe-all-stage2-gold
57762 configure-stage3-gcc: maybe-all-stage3-gold
57763 configure-stage4-gcc: maybe-all-stage4-gold
57764 configure-stageprofile-gcc: maybe-all-stageprofile-gold
57765 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
57766 configure-gcc: maybe-all-libelf
57768 configure-stage1-gcc: maybe-all-stage1-libelf
57769 configure-stage2-gcc: maybe-all-stage2-libelf
57770 configure-stage3-gcc: maybe-all-stage3-libelf
57771 configure-stage4-gcc: maybe-all-stage4-libelf
57772 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
57773 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
57774 all-gcc: all-libiberty
57776 all-stage1-gcc: all-stage1-libiberty
57777 all-stage2-gcc: all-stage2-libiberty
57778 all-stage3-gcc: all-stage3-libiberty
57779 all-stage4-gcc: all-stage4-libiberty
57780 all-stageprofile-gcc: all-stageprofile-libiberty
57781 all-stagefeedback-gcc: all-stagefeedback-libiberty
57782 all-gcc: maybe-all-gmp
57784 all-stage1-gcc: maybe-all-stage1-gmp
57785 all-stage2-gcc: maybe-all-stage2-gmp
57786 all-stage3-gcc: maybe-all-stage3-gmp
57787 all-stage4-gcc: maybe-all-stage4-gmp
57788 all-stageprofile-gcc: maybe-all-stageprofile-gmp
57789 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
57790 all-gcc: maybe-all-intl
57792 all-stage1-gcc: maybe-all-stage1-intl
57793 all-stage2-gcc: maybe-all-stage2-intl
57794 all-stage3-gcc: maybe-all-stage3-intl
57795 all-stage4-gcc: maybe-all-stage4-intl
57796 all-stageprofile-gcc: maybe-all-stageprofile-intl
57797 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
57798 all-gcc: maybe-all-mpfr
57800 all-stage1-gcc: maybe-all-stage1-mpfr
57801 all-stage2-gcc: maybe-all-stage2-mpfr
57802 all-stage3-gcc: maybe-all-stage3-mpfr
57803 all-stage4-gcc: maybe-all-stage4-mpfr
57804 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
57805 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
57806 all-gcc: maybe-all-mpc
57808 all-stage1-gcc: maybe-all-stage1-mpc
57809 all-stage2-gcc: maybe-all-stage2-mpc
57810 all-stage3-gcc: maybe-all-stage3-mpc
57811 all-stage4-gcc: maybe-all-stage4-mpc
57812 all-stageprofile-gcc: maybe-all-stageprofile-mpc
57813 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
57814 all-gcc: maybe-all-ppl
57816 all-stage1-gcc: maybe-all-stage1-ppl
57817 all-stage2-gcc: maybe-all-stage2-ppl
57818 all-stage3-gcc: maybe-all-stage3-ppl
57819 all-stage4-gcc: maybe-all-stage4-ppl
57820 all-stageprofile-gcc: maybe-all-stageprofile-ppl
57821 all-stagefeedback-gcc: maybe-all-stagefeedback-ppl
57822 all-gcc: maybe-all-cloog
57824 all-stage1-gcc: maybe-all-stage1-cloog
57825 all-stage2-gcc: maybe-all-stage2-cloog
57826 all-stage3-gcc: maybe-all-stage3-cloog
57827 all-stage4-gcc: maybe-all-stage4-cloog
57828 all-stageprofile-gcc: maybe-all-stageprofile-cloog
57829 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
57830 all-gcc: maybe-all-build-texinfo
57832 all-stage1-gcc: maybe-all-build-texinfo
57833 all-stage2-gcc: maybe-all-build-texinfo
57834 all-stage3-gcc: maybe-all-build-texinfo
57835 all-stage4-gcc: maybe-all-build-texinfo
57836 all-stageprofile-gcc: maybe-all-build-texinfo
57837 all-stagefeedback-gcc: maybe-all-build-texinfo
57838 all-gcc: maybe-all-build-bison
57840 all-stage1-gcc: maybe-all-build-bison
57841 all-stage2-gcc: maybe-all-build-bison
57842 all-stage3-gcc: maybe-all-build-bison
57843 all-stage4-gcc: maybe-all-build-bison
57844 all-stageprofile-gcc: maybe-all-build-bison
57845 all-stagefeedback-gcc: maybe-all-build-bison
57846 all-gcc: maybe-all-build-byacc
57848 all-stage1-gcc: maybe-all-build-byacc
57849 all-stage2-gcc: maybe-all-build-byacc
57850 all-stage3-gcc: maybe-all-build-byacc
57851 all-stage4-gcc: maybe-all-build-byacc
57852 all-stageprofile-gcc: maybe-all-build-byacc
57853 all-stagefeedback-gcc: maybe-all-build-byacc
57854 all-gcc: maybe-all-build-flex
57856 all-stage1-gcc: maybe-all-build-flex
57857 all-stage2-gcc: maybe-all-build-flex
57858 all-stage3-gcc: maybe-all-build-flex
57859 all-stage4-gcc: maybe-all-build-flex
57860 all-stageprofile-gcc: maybe-all-build-flex
57861 all-stagefeedback-gcc: maybe-all-build-flex
57862 all-gcc: maybe-all-build-libiberty
57864 all-stage1-gcc: maybe-all-build-libiberty
57865 all-stage2-gcc: maybe-all-build-libiberty
57866 all-stage3-gcc: maybe-all-build-libiberty
57867 all-stage4-gcc: maybe-all-build-libiberty
57868 all-stageprofile-gcc: maybe-all-build-libiberty
57869 all-stagefeedback-gcc: maybe-all-build-libiberty
57870 all-gcc: maybe-all-build-fixincludes
57872 all-stage1-gcc: maybe-all-build-fixincludes
57873 all-stage2-gcc: maybe-all-build-fixincludes
57874 all-stage3-gcc: maybe-all-build-fixincludes
57875 all-stage4-gcc: maybe-all-build-fixincludes
57876 all-stageprofile-gcc: maybe-all-build-fixincludes
57877 all-stagefeedback-gcc: maybe-all-build-fixincludes
57878 all-gcc: maybe-all-zlib
57880 all-stage1-gcc: maybe-all-stage1-zlib
57881 all-stage2-gcc: maybe-all-stage2-zlib
57882 all-stage3-gcc: maybe-all-stage3-zlib
57883 all-stage4-gcc: maybe-all-stage4-zlib
57884 all-stageprofile-gcc: maybe-all-stageprofile-zlib
57885 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
57886 all-gcc: all-libcpp
57888 all-stage1-gcc: all-stage1-libcpp
57889 all-stage2-gcc: all-stage2-libcpp
57890 all-stage3-gcc: all-stage3-libcpp
57891 all-stage4-gcc: all-stage4-libcpp
57892 all-stageprofile-gcc: all-stageprofile-libcpp
57893 all-stagefeedback-gcc: all-stagefeedback-libcpp
57894 all-gcc: all-libdecnumber
57896 all-stage1-gcc: all-stage1-libdecnumber
57897 all-stage2-gcc: all-stage2-libdecnumber
57898 all-stage3-gcc: all-stage3-libdecnumber
57899 all-stage4-gcc: all-stage4-libdecnumber
57900 all-stageprofile-gcc: all-stageprofile-libdecnumber
57901 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
57902 all-gcc: maybe-all-libiberty
57904 all-stage1-gcc: maybe-all-stage1-libiberty
57905 all-stage2-gcc: maybe-all-stage2-libiberty
57906 all-stage3-gcc: maybe-all-stage3-libiberty
57907 all-stage4-gcc: maybe-all-stage4-libiberty
57908 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
57909 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
57910 all-gcc: maybe-all-fixincludes
57911 install-gcc: maybe-install-fixincludes
57912 configure-libcpp: configure-libiberty
57914 configure-stage1-libcpp: configure-stage1-libiberty
57915 configure-stage2-libcpp: configure-stage2-libiberty
57916 configure-stage3-libcpp: configure-stage3-libiberty
57917 configure-stage4-libcpp: configure-stage4-libiberty
57918 configure-stageprofile-libcpp: configure-stageprofile-libiberty
57919 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
57920 configure-libcpp: maybe-configure-intl
57922 configure-stage1-libcpp: maybe-configure-stage1-intl
57923 configure-stage2-libcpp: maybe-configure-stage2-intl
57924 configure-stage3-libcpp: maybe-configure-stage3-intl
57925 configure-stage4-libcpp: maybe-configure-stage4-intl
57926 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
57927 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
57928 all-libcpp: all-libiberty
57930 all-stage1-libcpp: all-stage1-libiberty
57931 all-stage2-libcpp: all-stage2-libiberty
57932 all-stage3-libcpp: all-stage3-libiberty
57933 all-stage4-libcpp: all-stage4-libiberty
57934 all-stageprofile-libcpp: all-stageprofile-libiberty
57935 all-stagefeedback-libcpp: all-stagefeedback-libiberty
57936 all-libcpp: maybe-all-intl
57938 all-stage1-libcpp: maybe-all-stage1-intl
57939 all-stage2-libcpp: maybe-all-stage2-intl
57940 all-stage3-libcpp: maybe-all-stage3-intl
57941 all-stage4-libcpp: maybe-all-stage4-intl
57942 all-stageprofile-libcpp: maybe-all-stageprofile-intl
57943 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
57944 all-fixincludes: maybe-all-libiberty
57945 all-gnattools: maybe-all-target-libada
57946 all-lto-plugin: maybe-all-gcc
57948 all-stage1-lto-plugin: maybe-all-stage1-gcc
57949 all-stage2-lto-plugin: maybe-all-stage2-gcc
57950 all-stage3-lto-plugin: maybe-all-stage3-gcc
57951 all-stage4-lto-plugin: maybe-all-stage4-gcc
57952 all-stageprofile-lto-plugin: maybe-all-stageprofile-gcc
57953 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-gcc
57954 configure-mpfr: maybe-all-gmp
57956 configure-stage1-mpfr: maybe-all-stage1-gmp
57957 configure-stage2-mpfr: maybe-all-stage2-gmp
57958 configure-stage3-mpfr: maybe-all-stage3-gmp
57959 configure-stage4-mpfr: maybe-all-stage4-gmp
57960 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
57961 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
57962 configure-mpc: maybe-all-mpfr
57964 configure-stage1-mpc: maybe-all-stage1-mpfr
57965 configure-stage2-mpc: maybe-all-stage2-mpfr
57966 configure-stage3-mpc: maybe-all-stage3-mpfr
57967 configure-stage4-mpc: maybe-all-stage4-mpfr
57968 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
57969 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
57970 configure-ppl: maybe-all-gmp
57972 configure-stage1-ppl: maybe-all-stage1-gmp
57973 configure-stage2-ppl: maybe-all-stage2-gmp
57974 configure-stage3-ppl: maybe-all-stage3-gmp
57975 configure-stage4-ppl: maybe-all-stage4-gmp
57976 configure-stageprofile-ppl: maybe-all-stageprofile-gmp
57977 configure-stagefeedback-ppl: maybe-all-stagefeedback-gmp
57978 configure-ppl: maybe-all-mpfr
57980 configure-stage1-ppl: maybe-all-stage1-mpfr
57981 configure-stage2-ppl: maybe-all-stage2-mpfr
57982 configure-stage3-ppl: maybe-all-stage3-mpfr
57983 configure-stage4-ppl: maybe-all-stage4-mpfr
57984 configure-stageprofile-ppl: maybe-all-stageprofile-mpfr
57985 configure-stagefeedback-ppl: maybe-all-stagefeedback-mpfr
57986 configure-cloog: maybe-all-ppl
57988 configure-stage1-cloog: maybe-all-stage1-ppl
57989 configure-stage2-cloog: maybe-all-stage2-ppl
57990 configure-stage3-cloog: maybe-all-stage3-ppl
57991 configure-stage4-cloog: maybe-all-stage4-ppl
57992 configure-stageprofile-cloog: maybe-all-stageprofile-ppl
57993 configure-stagefeedback-cloog: maybe-all-stagefeedback-ppl
57994 configure-gdb: maybe-all-intl
57995 configure-gdb: maybe-configure-sim
57996 configure-gdb: maybe-all-bfd
57997 configure-gdb: maybe-all-libiconv
57998 all-gdb: maybe-all-libiberty
57999 all-gdb: maybe-all-libiconv
58000 all-gdb: maybe-all-opcodes
58001 all-gdb: maybe-all-readline
58002 all-gdb: maybe-all-build-bison
58003 all-gdb: maybe-all-build-byacc
58004 all-gdb: maybe-all-sim
58005 all-gdb: maybe-all-libdecnumber
58006 configure-libgui: maybe-configure-tcl
58007 configure-libgui: maybe-configure-tk
58008 all-libgui: maybe-all-tcl
58009 all-libgui: maybe-all-tk
58010 all-libgui: maybe-all-itcl
58011 configure-bfd: configure-libiberty
58013 configure-stage1-bfd: configure-stage1-libiberty
58014 configure-stage2-bfd: configure-stage2-libiberty
58015 configure-stage3-bfd: configure-stage3-libiberty
58016 configure-stage4-bfd: configure-stage4-libiberty
58017 configure-stageprofile-bfd: configure-stageprofile-libiberty
58018 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
58019 configure-bfd: maybe-configure-intl
58021 configure-stage1-bfd: maybe-configure-stage1-intl
58022 configure-stage2-bfd: maybe-configure-stage2-intl
58023 configure-stage3-bfd: maybe-configure-stage3-intl
58024 configure-stage4-bfd: maybe-configure-stage4-intl
58025 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
58026 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
58027 all-bfd: maybe-all-libiberty
58029 all-stage1-bfd: maybe-all-stage1-libiberty
58030 all-stage2-bfd: maybe-all-stage2-libiberty
58031 all-stage3-bfd: maybe-all-stage3-libiberty
58032 all-stage4-bfd: maybe-all-stage4-libiberty
58033 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
58034 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
58035 all-bfd: maybe-all-intl
58037 all-stage1-bfd: maybe-all-stage1-intl
58038 all-stage2-bfd: maybe-all-stage2-intl
58039 all-stage3-bfd: maybe-all-stage3-intl
58040 all-stage4-bfd: maybe-all-stage4-intl
58041 all-stageprofile-bfd: maybe-all-stageprofile-intl
58042 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
58043 configure-opcodes: configure-libiberty
58045 configure-stage1-opcodes: configure-stage1-libiberty
58046 configure-stage2-opcodes: configure-stage2-libiberty
58047 configure-stage3-opcodes: configure-stage3-libiberty
58048 configure-stage4-opcodes: configure-stage4-libiberty
58049 configure-stageprofile-opcodes: configure-stageprofile-libiberty
58050 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
58051 all-opcodes: maybe-all-libiberty
58053 all-stage1-opcodes: maybe-all-stage1-libiberty
58054 all-stage2-opcodes: maybe-all-stage2-libiberty
58055 all-stage3-opcodes: maybe-all-stage3-libiberty
58056 all-stage4-opcodes: maybe-all-stage4-libiberty
58057 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58058 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58059 configure-binutils: maybe-configure-intl
58061 configure-stage1-binutils: maybe-configure-stage1-intl
58062 configure-stage2-binutils: maybe-configure-stage2-intl
58063 configure-stage3-binutils: maybe-configure-stage3-intl
58064 configure-stage4-binutils: maybe-configure-stage4-intl
58065 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
58066 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
58067 all-binutils: maybe-all-libiberty
58069 all-stage1-binutils: maybe-all-stage1-libiberty
58070 all-stage2-binutils: maybe-all-stage2-libiberty
58071 all-stage3-binutils: maybe-all-stage3-libiberty
58072 all-stage4-binutils: maybe-all-stage4-libiberty
58073 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
58074 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
58075 all-binutils: maybe-all-opcodes
58077 all-stage1-binutils: maybe-all-stage1-opcodes
58078 all-stage2-binutils: maybe-all-stage2-opcodes
58079 all-stage3-binutils: maybe-all-stage3-opcodes
58080 all-stage4-binutils: maybe-all-stage4-opcodes
58081 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
58082 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
58083 all-binutils: maybe-all-bfd
58085 all-stage1-binutils: maybe-all-stage1-bfd
58086 all-stage2-binutils: maybe-all-stage2-bfd
58087 all-stage3-binutils: maybe-all-stage3-bfd
58088 all-stage4-binutils: maybe-all-stage4-bfd
58089 all-stageprofile-binutils: maybe-all-stageprofile-bfd
58090 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
58091 all-binutils: maybe-all-build-flex
58093 all-stage1-binutils: maybe-all-build-flex
58094 all-stage2-binutils: maybe-all-build-flex
58095 all-stage3-binutils: maybe-all-build-flex
58096 all-stage4-binutils: maybe-all-build-flex
58097 all-stageprofile-binutils: maybe-all-build-flex
58098 all-stagefeedback-binutils: maybe-all-build-flex
58099 all-binutils: maybe-all-build-bison
58101 all-stage1-binutils: maybe-all-build-bison
58102 all-stage2-binutils: maybe-all-build-bison
58103 all-stage3-binutils: maybe-all-build-bison
58104 all-stage4-binutils: maybe-all-build-bison
58105 all-stageprofile-binutils: maybe-all-build-bison
58106 all-stagefeedback-binutils: maybe-all-build-bison
58107 all-binutils: maybe-all-build-byacc
58109 all-stage1-binutils: maybe-all-build-byacc
58110 all-stage2-binutils: maybe-all-build-byacc
58111 all-stage3-binutils: maybe-all-build-byacc
58112 all-stage4-binutils: maybe-all-build-byacc
58113 all-stageprofile-binutils: maybe-all-build-byacc
58114 all-stagefeedback-binutils: maybe-all-build-byacc
58115 all-binutils: maybe-all-intl
58117 all-stage1-binutils: maybe-all-stage1-intl
58118 all-stage2-binutils: maybe-all-stage2-intl
58119 all-stage3-binutils: maybe-all-stage3-intl
58120 all-stage4-binutils: maybe-all-stage4-intl
58121 all-stageprofile-binutils: maybe-all-stageprofile-intl
58122 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
58123 install-binutils: maybe-install-opcodes
58124 install-opcodes: maybe-install-bfd
58125 configure-gas: maybe-configure-intl
58127 configure-stage1-gas: maybe-configure-stage1-intl
58128 configure-stage2-gas: maybe-configure-stage2-intl
58129 configure-stage3-gas: maybe-configure-stage3-intl
58130 configure-stage4-gas: maybe-configure-stage4-intl
58131 configure-stageprofile-gas: maybe-configure-stageprofile-intl
58132 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
58133 all-gas: maybe-all-libiberty
58135 all-stage1-gas: maybe-all-stage1-libiberty
58136 all-stage2-gas: maybe-all-stage2-libiberty
58137 all-stage3-gas: maybe-all-stage3-libiberty
58138 all-stage4-gas: maybe-all-stage4-libiberty
58139 all-stageprofile-gas: maybe-all-stageprofile-libiberty
58140 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
58141 all-gas: maybe-all-opcodes
58143 all-stage1-gas: maybe-all-stage1-opcodes
58144 all-stage2-gas: maybe-all-stage2-opcodes
58145 all-stage3-gas: maybe-all-stage3-opcodes
58146 all-stage4-gas: maybe-all-stage4-opcodes
58147 all-stageprofile-gas: maybe-all-stageprofile-opcodes
58148 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
58149 all-gas: maybe-all-bfd
58151 all-stage1-gas: maybe-all-stage1-bfd
58152 all-stage2-gas: maybe-all-stage2-bfd
58153 all-stage3-gas: maybe-all-stage3-bfd
58154 all-stage4-gas: maybe-all-stage4-bfd
58155 all-stageprofile-gas: maybe-all-stageprofile-bfd
58156 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
58157 all-gas: maybe-all-intl
58159 all-stage1-gas: maybe-all-stage1-intl
58160 all-stage2-gas: maybe-all-stage2-intl
58161 all-stage3-gas: maybe-all-stage3-intl
58162 all-stage4-gas: maybe-all-stage4-intl
58163 all-stageprofile-gas: maybe-all-stageprofile-intl
58164 all-stagefeedback-gas: maybe-all-stagefeedback-intl
58165 configure-gprof: maybe-configure-intl
58166 all-gprof: maybe-all-libiberty
58167 all-gprof: maybe-all-bfd
58168 all-gprof: maybe-all-opcodes
58169 all-gprof: maybe-all-intl
58170 configure-ld: maybe-configure-intl
58172 configure-stage1-ld: maybe-configure-stage1-intl
58173 configure-stage2-ld: maybe-configure-stage2-intl
58174 configure-stage3-ld: maybe-configure-stage3-intl
58175 configure-stage4-ld: maybe-configure-stage4-intl
58176 configure-stageprofile-ld: maybe-configure-stageprofile-intl
58177 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
58178 all-ld: maybe-all-libiberty
58180 all-stage1-ld: maybe-all-stage1-libiberty
58181 all-stage2-ld: maybe-all-stage2-libiberty
58182 all-stage3-ld: maybe-all-stage3-libiberty
58183 all-stage4-ld: maybe-all-stage4-libiberty
58184 all-stageprofile-ld: maybe-all-stageprofile-libiberty
58185 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
58186 all-ld: maybe-all-bfd
58188 all-stage1-ld: maybe-all-stage1-bfd
58189 all-stage2-ld: maybe-all-stage2-bfd
58190 all-stage3-ld: maybe-all-stage3-bfd
58191 all-stage4-ld: maybe-all-stage4-bfd
58192 all-stageprofile-ld: maybe-all-stageprofile-bfd
58193 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
58194 all-ld: maybe-all-opcodes
58196 all-stage1-ld: maybe-all-stage1-opcodes
58197 all-stage2-ld: maybe-all-stage2-opcodes
58198 all-stage3-ld: maybe-all-stage3-opcodes
58199 all-stage4-ld: maybe-all-stage4-opcodes
58200 all-stageprofile-ld: maybe-all-stageprofile-opcodes
58201 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
58202 all-ld: maybe-all-build-bison
58204 all-stage1-ld: maybe-all-build-bison
58205 all-stage2-ld: maybe-all-build-bison
58206 all-stage3-ld: maybe-all-build-bison
58207 all-stage4-ld: maybe-all-build-bison
58208 all-stageprofile-ld: maybe-all-build-bison
58209 all-stagefeedback-ld: maybe-all-build-bison
58210 all-ld: maybe-all-build-byacc
58212 all-stage1-ld: maybe-all-build-byacc
58213 all-stage2-ld: maybe-all-build-byacc
58214 all-stage3-ld: maybe-all-build-byacc
58215 all-stage4-ld: maybe-all-build-byacc
58216 all-stageprofile-ld: maybe-all-build-byacc
58217 all-stagefeedback-ld: maybe-all-build-byacc
58218 all-ld: maybe-all-build-flex
58220 all-stage1-ld: maybe-all-build-flex
58221 all-stage2-ld: maybe-all-build-flex
58222 all-stage3-ld: maybe-all-build-flex
58223 all-stage4-ld: maybe-all-build-flex
58224 all-stageprofile-ld: maybe-all-build-flex
58225 all-stagefeedback-ld: maybe-all-build-flex
58226 all-ld: maybe-all-intl
58228 all-stage1-ld: maybe-all-stage1-intl
58229 all-stage2-ld: maybe-all-stage2-intl
58230 all-stage3-ld: maybe-all-stage3-intl
58231 all-stage4-ld: maybe-all-stage4-intl
58232 all-stageprofile-ld: maybe-all-stageprofile-intl
58233 all-stagefeedback-ld: maybe-all-stagefeedback-intl
58234 install-ld: maybe-install-gold
58235 configure-gold: maybe-configure-intl
58237 configure-stage1-gold: maybe-configure-stage1-intl
58238 configure-stage2-gold: maybe-configure-stage2-intl
58239 configure-stage3-gold: maybe-configure-stage3-intl
58240 configure-stage4-gold: maybe-configure-stage4-intl
58241 configure-stageprofile-gold: maybe-configure-stageprofile-intl
58242 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
58243 all-gold: maybe-all-libiberty
58245 all-stage1-gold: maybe-all-stage1-libiberty
58246 all-stage2-gold: maybe-all-stage2-libiberty
58247 all-stage3-gold: maybe-all-stage3-libiberty
58248 all-stage4-gold: maybe-all-stage4-libiberty
58249 all-stageprofile-gold: maybe-all-stageprofile-libiberty
58250 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
58251 all-gold: maybe-all-intl
58253 all-stage1-gold: maybe-all-stage1-intl
58254 all-stage2-gold: maybe-all-stage2-intl
58255 all-stage3-gold: maybe-all-stage3-intl
58256 all-stage4-gold: maybe-all-stage4-intl
58257 all-stageprofile-gold: maybe-all-stageprofile-intl
58258 all-stagefeedback-gold: maybe-all-stagefeedback-intl
58259 all-gold: maybe-all-bfd
58261 all-stage1-gold: maybe-all-stage1-bfd
58262 all-stage2-gold: maybe-all-stage2-bfd
58263 all-stage3-gold: maybe-all-stage3-bfd
58264 all-stage4-gold: maybe-all-stage4-bfd
58265 all-stageprofile-gold: maybe-all-stageprofile-bfd
58266 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
58267 all-gold: maybe-all-build-bison
58269 all-stage1-gold: maybe-all-build-bison
58270 all-stage2-gold: maybe-all-build-bison
58271 all-stage3-gold: maybe-all-build-bison
58272 all-stage4-gold: maybe-all-build-bison
58273 all-stageprofile-gold: maybe-all-build-bison
58274 all-stagefeedback-gold: maybe-all-build-bison
58275 all-gold: maybe-all-build-byacc
58277 all-stage1-gold: maybe-all-build-byacc
58278 all-stage2-gold: maybe-all-build-byacc
58279 all-stage3-gold: maybe-all-build-byacc
58280 all-stage4-gold: maybe-all-build-byacc
58281 all-stageprofile-gold: maybe-all-build-byacc
58282 all-stagefeedback-gold: maybe-all-build-byacc
58283 check-gold: maybe-all-binutils
58285 check-stage1-gold: maybe-all-stage1-binutils
58286 check-stage2-gold: maybe-all-stage2-binutils
58287 check-stage3-gold: maybe-all-stage3-binutils
58288 check-stage4-gold: maybe-all-stage4-binutils
58289 check-stageprofile-gold: maybe-all-stageprofile-binutils
58290 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
58291 check-gold: maybe-all-gas
58293 check-stage1-gold: maybe-all-stage1-gas
58294 check-stage2-gold: maybe-all-stage2-gas
58295 check-stage3-gold: maybe-all-stage3-gas
58296 check-stage4-gold: maybe-all-stage4-gas
58297 check-stageprofile-gold: maybe-all-stageprofile-gas
58298 check-stagefeedback-gold: maybe-all-stagefeedback-gas
58299 configure-opcodes: maybe-configure-intl
58301 configure-stage1-opcodes: maybe-configure-stage1-intl
58302 configure-stage2-opcodes: maybe-configure-stage2-intl
58303 configure-stage3-opcodes: maybe-configure-stage3-intl
58304 configure-stage4-opcodes: maybe-configure-stage4-intl
58305 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
58306 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
58307 all-opcodes: maybe-all-bfd
58309 all-stage1-opcodes: maybe-all-stage1-bfd
58310 all-stage2-opcodes: maybe-all-stage2-bfd
58311 all-stage3-opcodes: maybe-all-stage3-bfd
58312 all-stage4-opcodes: maybe-all-stage4-bfd
58313 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
58314 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
58315 all-opcodes: maybe-all-libiberty
58317 all-stage1-opcodes: maybe-all-stage1-libiberty
58318 all-stage2-opcodes: maybe-all-stage2-libiberty
58319 all-stage3-opcodes: maybe-all-stage3-libiberty
58320 all-stage4-opcodes: maybe-all-stage4-libiberty
58321 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
58322 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
58323 all-opcodes: maybe-all-intl
58325 all-stage1-opcodes: maybe-all-stage1-intl
58326 all-stage2-opcodes: maybe-all-stage2-intl
58327 all-stage3-opcodes: maybe-all-stage3-intl
58328 all-stage4-opcodes: maybe-all-stage4-intl
58329 all-stageprofile-opcodes: maybe-all-stageprofile-intl
58330 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
58331 all-dejagnu: maybe-all-tcl
58332 all-dejagnu: maybe-all-expect
58333 all-dejagnu: maybe-all-tk
58334 configure-expect: maybe-configure-tcl
58335 configure-expect: maybe-configure-tk
58336 all-expect: maybe-all-tcl
58337 all-expect: maybe-all-tk
58338 configure-itcl: maybe-configure-tcl
58339 configure-itcl: maybe-configure-tk
58340 all-itcl: maybe-all-tcl
58341 all-itcl: maybe-all-tk
58342 install-itcl: maybe-install-tcl
58343 configure-tk: maybe-configure-tcl
58344 all-tk: maybe-all-tcl
58345 all-sid: maybe-all-libiberty
58346 all-sid: maybe-all-bfd
58347 all-sid: maybe-all-opcodes
58348 all-sid: maybe-all-tcl
58349 all-sid: maybe-all-tk
58350 install-sid: maybe-install-tcl
58351 install-sid: maybe-install-tk
58352 configure-sim: maybe-configure-intl
58353 all-sim: maybe-all-intl
58354 all-sim: maybe-all-libiberty
58355 all-sim: maybe-all-bfd
58356 all-sim: maybe-all-opcodes
58357 all-sim: maybe-all-readline
58358 all-sim: maybe-configure-gdb
58359 all-fastjar: maybe-all-zlib
58360 all-fastjar: maybe-all-build-texinfo
58361 all-fastjar: maybe-all-libiberty
58362 all-autoconf: maybe-all-m4
58363 all-autoconf: maybe-all-build-texinfo
58364 all-automake: maybe-all-m4
58365 all-automake: maybe-all-build-texinfo
58366 all-automake: maybe-all-autoconf
58367 all-bison: maybe-all-intl
58368 all-bison: maybe-all-build-texinfo
58369 all-diff: maybe-all-intl
58370 all-diff: maybe-all-build-texinfo
58371 all-fileutils: maybe-all-intl
58372 all-fileutils: maybe-all-build-texinfo
58373 all-flex: maybe-all-build-bison
58374 all-flex: maybe-all-build-byacc
58375 all-flex: maybe-all-intl
58376 all-flex: maybe-all-m4
58377 all-flex: maybe-all-build-texinfo
58378 all-gzip: maybe-all-intl
58379 all-gzip: maybe-all-zlib
58380 all-gzip: maybe-all-build-texinfo
58381 all-hello: maybe-all-intl
58382 all-hello: maybe-all-build-texinfo
58383 all-m4: maybe-all-intl
58384 all-m4: maybe-all-build-texinfo
58385 all-make: maybe-all-intl
58386 all-make: maybe-all-build-texinfo
58387 all-patch: maybe-all-build-texinfo
58388 all-make: maybe-all-build-texinfo
58389 all-prms: maybe-all-libiberty
58390 all-recode: maybe-all-build-texinfo
58391 all-sed: maybe-all-build-texinfo
58392 all-send-pr: maybe-all-prms
58393 all-tar: maybe-all-build-texinfo
58394 all-uudecode: maybe-all-build-texinfo
58395 configure-target-boehm-gc: maybe-configure-target-qthreads
58396 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
58397 configure-target-fastjar: maybe-configure-target-zlib
58398 all-target-fastjar: maybe-all-target-zlib
58399 all-target-fastjar: maybe-all-target-libiberty
58400 configure-target-libjava: maybe-configure-target-zlib
58401 configure-target-libjava: maybe-configure-target-boehm-gc
58402 configure-target-libjava: maybe-configure-target-qthreads
58403 configure-target-libjava: maybe-configure-target-libffi
58404 all-target-libjava: maybe-all-fastjar
58405 all-target-libjava: maybe-all-target-zlib
58406 all-target-libjava: maybe-all-target-boehm-gc
58407 all-target-libjava: maybe-all-target-qthreads
58408 all-target-libjava: maybe-all-target-libffi
58409 configure-target-libobjc: maybe-configure-target-boehm-gc
58410 all-target-libobjc: maybe-all-target-libiberty
58411 all-target-libobjc: maybe-all-target-boehm-gc
58412 all-target-libstdc++-v3: maybe-all-target-libiberty
58413 configure-target-libstdc++-v3: maybe-configure-target-libgomp
58415 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58416 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58417 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58418 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58419 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58420 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58421 all-target-libstdc++-v3: maybe-configure-target-libgomp
58423 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
58424 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
58425 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
58426 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
58427 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
58428 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
58429 all-target-libgloss: maybe-all-target-newlib
58430 all-target-winsup: maybe-all-target-libiberty
58431 all-target-winsup: maybe-all-target-libtermcap
58432 configure-target-libiberty: maybe-all-binutils
58433 configure-target-libiberty: maybe-all-ld
58434 configure-target-newlib: maybe-all-binutils
58435 configure-target-newlib: maybe-all-ld
58438 # Dependencies for target modules on other target modules are
58439 # described by lang_env_dependencies; the defaults apply to anything
58440 # not mentioned there.
58443 @if gcc-bootstrap
58444 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
58445 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
58446 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
58447 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
58448 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
58449 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
58450 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
58451 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
58452 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
58453 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
58454 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
58455 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
58456 @endif gcc-bootstrap
58458 @if gcc-no-bootstrap
58459 configure-target-libstdc++-v3: maybe-all-target-libgcc
58460 configure-target-libmudflap: maybe-all-target-libgcc
58461 configure-target-libssp: maybe-all-target-libgcc
58462 configure-target-newlib: maybe-all-target-libgcc
58463 configure-target-libgfortran: maybe-all-target-libgcc
58464 configure-target-libobjc: maybe-all-target-libgcc
58465 configure-target-libtermcap: maybe-all-target-libgcc
58466 configure-target-winsup: maybe-all-target-libgcc
58467 configure-target-libgloss: maybe-all-target-libgcc
58468 configure-target-libiberty: maybe-all-target-libgcc
58469 configure-target-gperf: maybe-all-target-libgcc
58470 configure-target-examples: maybe-all-target-libgcc
58471 configure-target-libffi: maybe-all-target-libgcc
58472 configure-target-libjava: maybe-all-target-libgcc
58473 configure-target-zlib: maybe-all-target-libgcc
58474 configure-target-boehm-gc: maybe-all-target-libgcc
58475 configure-target-qthreads: maybe-all-target-libgcc
58476 configure-target-rda: maybe-all-target-libgcc
58477 configure-target-libada: maybe-all-target-libgcc
58478 configure-target-libgomp: maybe-all-target-libgcc
58479 @endif gcc-no-bootstrap
58482 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
58484 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
58486 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
58490 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
58492 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
58494 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
58496 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
58500 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
58501 configure-target-gperf: maybe-all-target-libstdc++-v3
58503 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
58505 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
58507 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
58508 configure-target-libjava: maybe-all-target-libstdc++-v3
58510 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
58512 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
58514 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
58516 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
58518 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
58520 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
58523 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
58524 GDB_TK = @GDB_TK@
58525 INSTALL_GDB_TK = @INSTALL_GDB_TK@
58526 configure-gdb: $(CONFIGURE_GDB_TK)
58527 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
58528 install-gdb: $(INSTALL_GDB_TK)
58530 # Serialization dependencies. Host configures don't work well in parallel to
58531 # each other, due to contention over config.cache. Target configures and
58532 # build configures are similar.
58533 @serialization_dependencies@
58535 # --------------------------------
58536 # Regenerating top level configury
58537 # --------------------------------
58539 # Rebuilding Makefile.in, using autogen.
58540 AUTOGEN = autogen
58541 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
58542 cd $(srcdir) && $(AUTOGEN) Makefile.def
58544 # Rebuilding Makefile.
58545 Makefile: $(srcdir)/Makefile.in config.status
58546 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
58548 config.status: configure
58549 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
58551 # Rebuilding configure.
58552 AUTOCONF = autoconf
58553 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
58554 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
58555 cd $(srcdir) && $(AUTOCONF)
58557 # ------------------------------
58558 # Special directives to GNU Make
58559 # ------------------------------
58561 # Don't pass command-line variables to submakes.
58562 .NOEXPORT:
58563 MAKEOVERRIDES=
58565 # end of Makefile.in